(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{19756:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},78831:function(e,t,n){"use strict";n.d(t,{HK:function(){return a},gP:function(){return u}});var r=n(67294);let o={prefix:String(Math.round(1e10*Math.random())),current:0},i=r.createContext(o);function a(e){let t=(0,r.useContext)(i),n=(0,r.useMemo)(()=>({prefix:t===o?"":`${t.prefix}-${++t.current}`,current:0}),[t]);return r.createElement(i.Provider,{value:n},e.children)}let s=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function u(e){let t=(0,r.useContext)(i);return t!==o||s||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,r.useMemo)(()=>e||`react-aria${t.prefix}-${++t.current}`,[e])}},32092:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){return(0,r.useState)(null)}},92029:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=(0,r.useRef)(e);return(0,r.useEffect)(function(){t.current=e},[e]),t}},78146:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(92029);function i(e){var t=(0,o.Z)(e);return(0,r.useCallback)(function(){return t.current&&t.current.apply(t,arguments)},[t])}},99585:function(e,t,n){"use strict";var r=n(67294),o=void 0!==n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,i="undefined"!=typeof document;t.Z=i||o?r.useLayoutEffect:r.useEffect},35654:function(e,t,n){"use strict";var r=n(67294),o=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};t.Z=function(e,t){return(0,r.useMemo)(function(){var n,r;return n=o(e),r=o(t),function(e){n&&n(e),r&&r(e)}},[e,t])}},6454:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){var e=(0,r.useRef)(!0),t=(0,r.useRef)(function(){return e.current});return(0,r.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),t.current}},88833:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=(0,r.useRef)(null);return(0,r.useEffect)(function(){t.current=e}),t.current}},76852:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t,n=((t=(0,r.useRef)(e)).current=e,t);(0,r.useEffect)(function(){return function(){return n.current()}},[])}},52747:function(e,t,n){"use strict";function r(e){return`data-rr-ui-${e}`}function o(e){return`rrUi${e}`}n.d(t,{$F:function(){return o},PB:function(){return r}})},78756:function(e,t,n){"use strict";n.d(t,{sD:function(){return l}});var r=n(35654),o=n(78146),i=n(99585),a=n(67294),s=n(77514),u=n(85893);function c({children:e,in:t,onExited:n,onEntered:s,transition:u}){let[c,l]=(0,a.useState)(!t);t&&c&&l(!1);let f=function({in:e,onTransition:t}){let n=(0,a.useRef)(null),r=(0,a.useRef)(!0),s=(0,o.Z)(t);return(0,i.Z)(()=>{if(!n.current)return;let t=!1;return s({in:e,element:n.current,initial:r.current,isStale:()=>t}),()=>{t=!0}},[e,s]),(0,i.Z)(()=>(r.current=!1,()=>{r.current=!0}),[]),n}({in:!!t,onTransition:e=>{Promise.resolve(u(e)).then(()=>{e.isStale()||(e.in?null==s||s(e.element,e.initial):(l(!0),null==n||n(e.element)))},t=>{throw e.in||l(!0),t})}}),d=(0,r.Z)(f,e.ref);return c&&!t?null:(0,a.cloneElement)(e,{ref:d})}function l(e,t,n){return e?(0,u.jsx)(e,Object.assign({},n)):t?(0,u.jsx)(c,Object.assign({},n,{transition:t})):(0,u.jsx)(s.Z,Object.assign({},n))}},16664:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return x}});var o=n(67216);function i(e){void 0===e&&(e=(0,o.Z)());try{var t=e.activeElement;if(!t||!t.nodeName)return null;return t}catch(t){return e.body}}var a=n(90424),s=n(23004),u=n(72950),c=n(67294),l=n(73935),f=n(6454),d=n(76852),p=n(88833),h=n(78146),v=n(88083),g=n(54194),m=n(12963),y=n(78756),b=n(85893);let _=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"],O=(0,c.forwardRef)((e,t)=>{let{show:n=!1,role:o="dialog",className:O,style:x,children:w,backdrop:S=!0,keyboard:j=!0,onBackdropClick:k,onEscapeKeyDown:E,transition:P,runTransition:C,backdropTransition:A,runBackdropTransition:N,autoFocus:R=!0,enforceFocus:T=!0,restoreFocus:L=!0,restoreFocusOptions:D,renderDialog:M,renderBackdrop:I=e=>(0,b.jsx)("div",Object.assign({},e)),manager:B,container:Z,onShow:V,onHide:F=()=>{},onExit:U,onExited:K,onExiting:H,onEnter:$,onEntering:G,onEntered:z}=e,q=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,_),W=(0,g.Z)(Z),J=function(e){let t=(0,m.Z)(),n=e||(r||(r=new v.Z({ownerDocument:null==t?void 0:t.document})),r),o=(0,c.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>n.add(o.current),remove:()=>n.remove(o.current),isTopModal:()=>n.isTopModal(o.current),setDialogRef:(0,c.useCallback)(e=>{o.current.dialog=e},[]),setBackdropRef:(0,c.useCallback)(e=>{o.current.backdrop=e},[])})}(B),Y=(0,f.Z)(),X=(0,p.Z)(n),[Q,ee]=(0,c.useState)(!n),et=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,()=>J,[J]),s.Z&&!X&&n&&(et.current=i()),n&&Q&&ee(!1);let en=(0,h.Z)(()=>{if(J.add(),eu.current=(0,u.Z)(document,"keydown",ea),es.current=(0,u.Z)(document,"focus",()=>setTimeout(eo),!0),V&&V(),R){let e=i(document);J.dialog&&e&&!(0,a.Z)(J.dialog,e)&&(et.current=e,J.dialog.focus())}}),er=(0,h.Z)(()=>{if(J.remove(),null==eu.current||eu.current(),null==es.current||es.current(),L){var e;null==(e=et.current)||null==e.focus||e.focus(D),et.current=null}});(0,c.useEffect)(()=>{n&&W&&en()},[n,W,en]),(0,c.useEffect)(()=>{Q&&er()},[Q,er]),(0,d.Z)(()=>{er()});let eo=(0,h.Z)(()=>{if(!T||!Y()||!J.isTopModal())return;let e=i();J.dialog&&e&&!(0,a.Z)(J.dialog,e)&&J.dialog.focus()}),ei=(0,h.Z)(e=>{e.target===e.currentTarget&&(null==k||k(e),!0===S&&F())}),ea=(0,h.Z)(e=>{j&&27===e.keyCode&&J.isTopModal()&&(null==E||E(e),e.defaultPrevented||F())}),es=(0,c.useRef)(),eu=(0,c.useRef)();if(!W)return null;let ec=Object.assign({role:o,ref:J.setDialogRef,"aria-modal":"dialog"===o||void 0},q,{style:x,className:O,tabIndex:-1}),el=M?M(ec):(0,b.jsx)("div",Object.assign({},ec,{children:c.cloneElement(w,{role:"document"})}));el=(0,y.sD)(P,C,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:U,onExiting:H,onExited:(...e)=>{ee(!0),null==K||K(...e)},onEnter:$,onEntering:G,onEntered:z,children:el});let ef=null;return S&&(ef=I({ref:J.setBackdropRef,onClick:ei}),ef=(0,y.sD)(A,N,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ef})),(0,b.jsx)(b.Fragment,{children:l.createPortal((0,b.jsxs)(b.Fragment,{children:[ef,el]}),W)})});O.displayName="Modal";var x=Object.assign(O,{Manager:v.Z})},88083:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(91505),o=n(52747);let i=(0,o.PB)("modal-open");var a=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){let t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){let t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();e.style={overflow:o.style.overflow,[n]:o.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt((0,r.Z)(o,n)||"0",10)+e.scrollBarWidth}px`),o.setAttribute(i,""),(0,r.Z)(o,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){let t=this.getElement();t.removeAttribute(i),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return -1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){let t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}},77514:function(e,t,n){"use strict";var r=n(78146),o=n(35654),i=n(67294);t.Z=function({children:e,in:t,onExited:n,mountOnEnter:a,unmountOnExit:s}){let u=(0,i.useRef)(null),c=(0,i.useRef)(t),l=(0,r.Z)(n);(0,i.useEffect)(()=>{t?c.current=!0:l(u.current)},[t,l]);let f=(0,o.Z)(u,e.ref),d=(0,i.cloneElement)(e,{ref:f});return t?d:s||!c.current&&a?null:d}},54194:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(67216),o=n(23004),i=n(67294),a=n(12963);let s=(e,t)=>o.Z?null==e?(t||(0,r.Z)()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect))?e:null:null;function u(e,t){let n=(0,a.Z)(),[r,o]=(0,i.useState)(()=>s(e,null==n?void 0:n.document));if(!r){let t=s(e);t&&o(t)}return(0,i.useEffect)(()=>{t&&r&&t(r)},[t,r]),(0,i.useEffect)(()=>{let t=s(e);t!==r&&o(t)},[e,r]),r}},12963:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294),o=n(23004);let i=(0,r.createContext)(o.Z?window:void 0);function a(){return(0,r.useContext)(i)}i.Provider},25656:function(e,t,n){"use strict";var r,o,i,a=n(67294);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.Z=function(e){return a.createElement("svg",s({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.813 3.875a1.687 1.687 0 0 0-1.688-1.688H3.875a1.687 1.687 0 0 0-1.688 1.688V9.5a.563.563 0 1 0 1.126 0V3.875a.563.563 0 0 1 .562-.563h11.25a.562.562 0 0 1 .563.563v11.25a.562.562 0 0 1-.563.563h-4.5a.562.562 0 1 0 0 1.124h4.5a1.687 1.687 0 0 0 1.688-1.687V3.875Z",fill:"#2D3CB4"})),o||(o=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.563 7.25a.563.563 0 0 1 .562-.563h5.625a.562.562 0 0 1 .563.563v5.625a.562.562 0 1 1-1.126 0V7.812H6.125a.563.563 0 0 1-.563-.562Z",fill:"#2D3CB4"})),i||(i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.148 6.852a.561.561 0 0 1 0 .796l-9 9a.563.563 0 0 1-.796-.796l9-9a.563.563 0 0 1 .796 0Z",fill:"#2D3CB4"})))}},94184:function(e,t){var n;/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},9351:function(e,t,n){"use strict";var r=n(23004),o=!1,i=!1;try{var a={get passive(){return o=!0},get once(){return i=o=!0}};r.Z&&(window.addEventListener("test",a,a),window.removeEventListener("test",a,!0))}catch(e){}t.ZP=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!i){var a=r.once,s=r.capture,u=n;!i&&a&&(u=n.__once||function e(r){this.removeEventListener(t,e,s),n.call(this,r)},n.__once=u),e.addEventListener(t,u,o?r:s)}e.addEventListener(t,n,r)}},23004:function(e,t){"use strict";t.Z=!!("undefined"!=typeof window&&window.document&&window.document.createElement)},90424:function(e,t,n){"use strict";function r(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}n.d(t,{Z:function(){return r}})},91505:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(67216),o=/([A-Z])/g,i=/^ms-/;function a(e){return e.replace(o,"-$1").toLowerCase().replace(i,"-ms-")}var s=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,u=function(e,t){var n,o="",i="";if("string"==typeof t)return e.style.getPropertyValue(a(t))||((n=(0,r.Z)(e))&&n.defaultView||window).getComputedStyle(e,void 0).getPropertyValue(a(t));Object.keys(t).forEach(function(n){var r=t[n];r||0===r?n&&s.test(n)?i+=n+"("+r+") ":o+=a(n)+": "+r+";":e.style.removeProperty(a(n))}),i&&(o+="transform: "+i+";"),e.style.cssText+=";"+o}},11132:function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:function(){return r}})},72950:function(e,t,n){"use strict";var r=n(9351),o=n(30099);t.Z=function(e,t,n,i){return(0,r.ZP)(e,t,n,i),function(){(0,o.Z)(e,t,n,i)}}},67216:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},60930:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=Function.prototype.bind.call(Function.prototype.call,[].slice);function o(e,t){return r(e.querySelectorAll(t))}},30099:function(e,t){"use strict";t.Z=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)}},94305:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(91505),o=n(72950);function i(e,t,n,i){null==n&&(s=-1===(a=(0,r.Z)(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(a)*s||0);var a,s,u,c,l,f,d,p=(u=n,void 0===(c=i)&&(c=5),l=!1,f=setTimeout(function(){l||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)},u+c),d=(0,o.Z)(e,"transitionend",function(){l=!0},{once:!0}),function(){clearTimeout(f),d()}),h=(0,o.Z)(e,"transitionend",t);return function(){p(),h()}}},71217:function(e,t,n){"use strict";n.d(t,{DT:function(){return b},Pi:function(){return E}});var r,o,i,a,s=n(68949),u=n(67294);if(!u.useState)throw Error("mobx-react-lite requires React with Hooks support");if(!s.rC)throw Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var c=n(73935);function l(e){return(0,s.Gf)(e)}var f="undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry;function d(e){return{reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+p}}var p=1e4,h=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=f?(r=new Map,o=1,i=new f(function(e){var t=r.get(e);t&&(t.reaction.dispose(),r.delete(e))}),{addReactionToTrack:function(e,t,n){var a=o++;return i.register(n,a,e),e.current=d(t),e.current.finalizationRegistryCleanupToken=a,r.set(a,e.current),e.current},recordReactionAsCommitted:function(e){i.unregister(e),e.current&&e.current.finalizationRegistryCleanupToken&&r.delete(e.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}):function(){var e,t=new Set;function n(){void 0===e&&(e=setTimeout(r,1e4))}function r(){e=void 0;var r=Date.now();t.forEach(function(e){var n=e.current;n&&r>=n.cleanAt&&(n.reaction.dispose(),e.current=null,t.delete(e))}),t.size>0&&n()}return{addReactionToTrack:function(e,r,o){return e.current=d(r),t.add(e),n(),e.current},recordReactionAsCommitted:function(e){t.delete(e)},forceCleanupTimerToRunNowForTests:function(){e&&(clearTimeout(e),r())},resetCleanupScheduleForTests:function(){var n,r;if(t.size>0){try{for(var o=h(t),i=o.next();!i.done;i=o.next()){var a=i.value,s=a.current;s&&(s.reaction.dispose(),a.current=null)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}t.clear()}e&&(clearTimeout(e),e=void 0)}}}(),g=v.addReactionToTrack,m=v.recordReactionAsCommitted;v.resetCleanupScheduleForTests,v.forceCleanupTimerToRunNowForTests;var y=!1;function b(e){y=e}var _=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function O(e){return"observer".concat(e)}var x=function(){};function w(){return new x}var S="function"==typeof Symbol&&Symbol.for,j=S?Symbol.for("react.forward_ref"):"function"==typeof u.forwardRef&&(0,u.forwardRef)(function(e){return null}).$$typeof,k=S?Symbol.for("react.memo"):"function"==typeof u.memo&&(0,u.memo)(function(e){return null}).$$typeof;function E(e,t){if(k&&e.$$typeof===k)throw Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(y)return e;var n,r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,o=e,i=e.displayName||e.name;if(j&&e.$$typeof===j&&(r=!0,"function"!=typeof(o=e.render)))throw Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a=function(e,t){return function(e,t){if(void 0===t&&(t="observed"),y)return e();var n,r,o=_(u.useState(w),1)[0],i=_(u.useState(),2)[1],a=function(){return i([])},c=u.useRef(null);if(!c.current)var f=g(c,new s.le(O(t),function(){f.mounted?a():f.changedBeforeMount=!0}),o);var d=c.current.reaction;if(u.useDebugValue(d,l),u.useEffect(function(){return m(c),c.current?(c.current.mounted=!0,c.current.changedBeforeMount&&(c.current.changedBeforeMount=!1,a())):(c.current={reaction:new s.le(O(t),function(){a()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},a()),function(){c.current.reaction.dispose(),c.current=null}},[]),d.track(function(){try{n=e()}catch(e){r=e}}),r)throw r;return n}(function(){return o(e,t)},i)};return""!==i&&(a.displayName=i),e.contextTypes&&(a.contextTypes=e.contextTypes),r&&(a=(0,u.forwardRef)(a)),function(e,t){Object.keys(e).forEach(function(n){P[n]||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}(e,a=(0,u.memo)(a)),a}var P={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(a=c.unstable_batchedUpdates)||(a=function(e){e()}),(0,s.jQ)({reactionScheduler:a})},68949:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.d(t,{Gf:function(){return tA},LO:function(){return eM},ZN:function(){return tF},aD:function(){return tO},fl:function(){return tI},jQ:function(){return tP},ky:function(){return tX},le:function(){return tc},rC:function(){return tJ}});var o,i,a,s,u,c,l,f,d,p,h,v,g,m,y={};function b(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:y}var _=Object.assign,O=Object.getOwnPropertyDescriptor,x=Object.defineProperty,w=Object.prototype,S=[];Object.freeze(S);var j={};Object.freeze(j);var k="undefined"!=typeof Proxy,E=Object.toString();function P(){k||r("Proxy not available")}function C(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var A=function(){};function N(e){return"function"==typeof e}function R(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function T(e){return null!==e&&"object"==typeof e}function L(e){if(!T(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===E}function D(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function M(e,t,n){x(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function I(e,t,n){x(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function B(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return T(e)&&!0===e[n]}}function Z(e){return e instanceof Map}function V(e){return e instanceof Set}var F=void 0!==Object.getOwnPropertySymbols,U="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:F?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function K(e){return null===e?null:"object"==typeof e?""+e:e}function H(e,t){return w.hasOwnProperty.call(e,t)}var $=Object.getOwnPropertyDescriptors||function(e){var t={};return U(e).forEach(function(n){t[n]=O(e,n)}),t};function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r.key),r)}}function z(e,t,n){return t&&G(e.prototype,t),n&&G(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function W(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,J(e,t)}function J(e,t){return(J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Q(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var ee=Symbol("mobx-stored-annotations");function et(e){return Object.assign(function(t,n){en(t,n,e)},e)}function en(e,t,n){H(e,ee)||M(e,ee,q({},e[ee])),"override"===n.annotationType_||(e[ee][t]=n)}var er=Symbol("mobx administration"),eo=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=d.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return ts(this)},t.reportChanged=function(){ti(),tu(this),ta()},t.toString=function(){return this.name_},e}(),ei=B("Atom",eo);function ea(e,t,n){void 0===t&&(t=A),void 0===n&&(n=A);var r=new eo(e);return t!==A&&tk("onBO",r,t,void 0),n!==A&&tj(r,n),r}var es={structural:function(e,t){return nS(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function eu(e,t,n){return tZ(e)?e:Array.isArray(e)?eM.array(e,{name:n}):L(e)?eM.object(e,void 0,{name:n}):Z(e)?eM.map(e,{name:n}):V(e)?eM.set(e,{name:n}):"function"!=typeof e||tw(e)||tB(e)?e:D(e)?tD(e):tx(n,e)}function ec(e){return e}function el(e,t){return{annotationType_:e,options_:t,make_:ef,extend_:ed}}function ef(e,t,n,r){if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(tw(n.value))return 1;var o,i=ep(e,this,t,n,!1);return x(r,t,i),2}function ed(e,t,n,r){var o=ep(e,this,t,n);return e.defineProperty_(t,o,r)}function ep(e,t,n,r,o){void 0===o&&(o=tn.safeDescriptors),t.annotationType_,r.value;var i,a,s,u,c,l,f,d,p=r.value;return null!=(i=t.options_)&&i.bound&&(p=p.bind(null!=(d=e.proxy_)?d:e.target_)),{value:e$(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),p,null!=(u=null==(c=t.options_)?void 0:c.autoAction)&&u,null!=(l=t.options_)&&l.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function eh(e,t){return{annotationType_:e,options_:t,make_:ev,extend_:eg}}function ev(e,t,n,r){if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!H(e.target_,t)||!tB(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tB(n.value))return 1;var o,i=em(e,this,t,n,!1,!1);return x(r,t,i),2}function eg(e,t,n,r){var o,i=em(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function em(e,t,n,r,o,i){void 0===i&&(i=tn.safeDescriptors),t.annotationType_,r.value;var a,s=r.value;return tB(s)||(s=tD(s)),o&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0),{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ey(e,t){return{annotationType_:e,options_:t,make_:eb,extend_:e_}}function eb(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function e_(e,t,n,r){return this.annotationType_,n.get,e.defineComputedProperty_(t,q({},this.options_,{get:n.get,set:n.set}),r)}function eO(e,t){return{annotationType_:e,options_:t,make_:ex,extend_:ew}}function ex(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ew(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:eu,r)}var eS=ej();function ej(e){return{annotationType_:"true",options_:e,make_:ek,extend_:eE}}function ek(e,t,n,r){if(n.get)return eV.make_(e,t,n,r);if(n.set){var o,i,a,s,u,c=e$(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!tn.safeDescriptors||e.isPlainObject_,set:c})?0:2:(x(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value)return D(n.value)?(null!=(s=this.options_)&&s.autoBind?tD.bound:tD).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?tx.bound:tx).make_(e,t,n,r);var l=(null==(o=this.options_)?void 0:o.deep)===!1?eM.ref:eM;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),l.make_(e,t,n,r)}function eE(e,t,n,r){var o,i,a;return n.get?eV.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!tn.safeDescriptors||e.isPlainObject_,set:e$(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(i=this.options_)?void 0:i.deep)===!1?eM.ref:eM).extend_(e,t,n,r))}var eP={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eP);var eC=eO("observable"),eA=eO("observable.ref",{enhancer:ec}),eN=eO("observable.shallow",{enhancer:function(e,t,n){return null==e||np(e)||t5(e)||nr(e)||na(e)?e:Array.isArray(e)?eM.array(e,{name:n,deep:!1}):L(e)?eM.object(e,void 0,{name:n,deep:!1}):Z(e)?eM.map(e,{name:n,deep:!1}):V(e)?eM.set(e,{name:n,deep:!1}):void 0}}),eR=eO("observable.struct",{enhancer:function(e,t){return nS(e,t)?t:e}}),eT=et(eC);function eL(e){var t,n,r;return!0===e.deep?eu:!1===e.deep?ec:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:eu}function eD(e,t,n){if(R(t)){en(e,t,eC);return}return tZ(e)?e:L(e)?eM.object(e,t,n):Array.isArray(e)?eM.array(e,t):Z(e)?eM.map(e,t):V(e)?eM.set(e,t):"object"==typeof e&&null!==e?e:eM.box(e,t)}_(eD,eT);var eM=_(eD,{box:function(e,t){var n=t||eP;return new eq(e,eL(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eP;return(!1===tn.useProxies||!1===n.proxy?function(e,t,n){return new ny(e,t,n)}:function(e,t,n,r){void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),P();var o=new t2(n,t,r,!1);I(o.values_,er,o);var i=new Proxy(o.values_,t1);if(o.proxy_=i,e&&e.length){var a=eG(!0);o.spliceWithArray_(0,0,e),ez(a)}return i})(e,eL(n),n.name)},map:function(e,t){var n=t||eP;return new nn(e,eL(n),n.name)},set:function(e,t){var n=t||eP;return new ni(e,eL(n),n.name)},object:function(e,t,n){var r,o,i;return tC(!1===tn.useProxies||(null==n?void 0:n.proxy)===!1?nl({},n):(r={},P(),null!=(i=(o=(r=nl(r,n))[er]).proxy_)?i:o.proxy_=new Proxy(r,tK)),e,t)},ref:et(eA),shallow:et(eN),deep:eT,struct:et(eR)}),eI="computed",eB=ey(eI),eZ=ey("computed.struct",{equals:es.structural}),eV=function(e,t){if(R(t))return en(e,t,eB);if(L(e))return et(ey(eI,e));var n=L(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new eJ(n)};Object.assign(eV,eB),eV.struct=et(eZ);var eF=0,eU=1,eK=null!=(u=null==(c=O(function(){},"name"))?void 0:c.configurable)&&u,eH={value:"action",configurable:!0,writable:!1,enumerable:!1};function e$(e,t,n,o){function i(){return function(e,t,n,o,i){var a,s,u,c,l=(a=tn.trackingDerivation,s=!t||!a,ti(),u=tn.allowStateChanges,s&&(e3(),u=eG(!0)),eF=(c={runAsAction_:s,prevDerivation_:a,prevAllowStateChanges_:u,prevAllowStateReads_:e9(!0),notifySpy_:!1,startTime_:0,actionId_:eU++,parentActionId_:eF}).actionId_,c);try{return n.apply(o,i)}catch(e){throw l.error_=e,e}finally{eF!==l.actionId_&&r(30),eF=l.parentActionId_,void 0!==l.error_&&(tn.suppressReactionErrors=!0),ez(l.prevAllowStateChanges_),e7(l.prevAllowStateReads_),ta(),l.runAsAction_&&e6(l.prevDerivation_),tn.suppressReactionErrors=!1}}(0,n,t,o||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,eK&&(eH.value=e,x(i,"name",eH)),i}function eG(e){var t=tn.allowStateChanges;return tn.allowStateChanges=e,t}function ez(e){tn.allowStateChanges=e}l=Symbol.toPrimitive;var eq=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=es.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}W(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==tn.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(tH(this)){var t=tG(this,{object:this,type:t0,newValue:e});if(!t)return tn.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?tn.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tz(this)&&tW(this,{type:t0,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return t$(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:t0,newValue:this.value_,oldValue:void 0}),tq(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return K(this.get())},n[l]=function(){return this.valueOf()},t}(eo),eW=B("ObservableValue",eq);f=Symbol.toPrimitive;var eJ=function(){function e(e){this.dependenciesState_=d.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=d.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new eX(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=p.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=e$("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?es.structural:es.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){this.lowestObserverState_===d.UP_TO_DATE_&&(this.lowestObserverState_=d.POSSIBLY_STALE_,this.observers_.forEach(function(e){e.dependenciesState_===d.UP_TO_DATE_&&(e.dependenciesState_=d.POSSIBLY_STALE_,e.onBecomeStale_())}))},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==tn.inBatch||0!==this.observers_.size||this.keepAlive_){if(ts(this),e0(this)){var e,t=tn.trackingContext;this.keepAlive_&&!t&&(tn.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==d.STALE_&&(e.lowestObserverState_=d.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===d.POSSIBLY_STALE_?t.dependenciesState_=d.STALE_:t.dependenciesState_===d.UP_TO_DATE_&&(e.lowestObserverState_=d.UP_TO_DATE_)}))),tn.trackingContext=t}}else e0(this)&&(this.warnAboutUntrackedRead_(),ti(),this.value_=this.computeValue_(!1),ta());var n=this.value_;if(eQ(n))throw n.cause;return n},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===d.NOT_TRACKING_,n=this.computeValue_(!0),r=t||eQ(e)||eQ(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=eG(!1);if(e)t=e1(this,this.derivation,this.scope_);else if(!0===tn.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new eX(e)}return ez(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(e2(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){void 0===t&&(t=j);var n,r,o,i=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var a,s=(a=t).scheduler?a.scheduler:a.delay?function(e){return setTimeout(e,a.delay)}:tS,u=!1;o=new tc(i,function(){u||(u=!0,s(function(){u=!1,o.isDisposed_||o.track(c)}))},t.onError,t.requiresObservable)}else o=new tc(i,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(o)}return o.schedule_(),o.getDisposer_()}(function(){var i=n.get();if(!r||t){var a=e3();e({observableKind:"computed",debugObjectName:n.name_,type:t0,object:n,newValue:i,oldValue:o}),e6(a)}r=!1,o=i})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return K(this.get())},t[f]=function(){return this.valueOf()},e}(),eY=B("ComputedValue",eJ);(o=d||(d={}))[o.NOT_TRACKING_=-1]="NOT_TRACKING_",o[o.UP_TO_DATE_=0]="UP_TO_DATE_",o[o.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",o[o.STALE_=2]="STALE_",(i=p||(p={}))[i.NONE=0]="NONE",i[i.LOG=1]="LOG",i[i.BREAK=2]="BREAK";var eX=function(e){this.cause=void 0,this.cause=e};function eQ(e){return e instanceof eX}function e0(e){switch(e.dependenciesState_){case d.UP_TO_DATE_:return!1;case d.NOT_TRACKING_:case d.STALE_:return!0;case d.POSSIBLY_STALE_:for(var t=e9(!0),n=e3(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(eY(a)){if(tn.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return e6(n),e7(t),!0}if(e.dependenciesState_===d.STALE_)return e6(n),e7(t),!0}}return e4(e),e6(n),e7(t),!1}}function e1(e,t,n){var r,o=e9(!0);e4(e),e.newObserving_=Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++tn.runId;var i=tn.trackingDerivation;if(tn.trackingDerivation=e,tn.inBatch++,!0===tn.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new eX(e)}return tn.inBatch--,tn.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=d.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var u=t[i];0===u.diffValue_&&tr(u,e),u.diffValue_=0}for(;o--;){var c=n[o];1===c.diffValue_&&(c.diffValue_=0,c.observers_.add(e),c.lowestObserverState_>e.dependenciesState_&&(c.lowestObserverState_=e.dependenciesState_))}r!==d.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),e7(o),r}function e2(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)tr(t[n],e);e.dependenciesState_=d.NOT_TRACKING_}function e8(e){var t=e3();try{return e()}finally{e6(t)}}function e3(){var e=tn.trackingDerivation;return tn.trackingDerivation=null,e}function e6(e){tn.trackingDerivation=e}function e9(e){var t=tn.allowStateReads;return tn.allowStateReads=e,t}function e7(e){tn.allowStateReads=e}function e4(e){if(e.dependenciesState_!==d.UP_TO_DATE_){e.dependenciesState_=d.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=d.UP_TO_DATE_}}var e5=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},te=!0,tt=!1,tn=((a=b()).__mobxInstanceCount>0&&!a.__mobxGlobals&&(te=!1),a.__mobxGlobals&&a.__mobxGlobals.version!==new e5().version&&(te=!1),te)?a.__mobxGlobals?(a.__mobxInstanceCount+=1,a.__mobxGlobals.UNCHANGED||(a.__mobxGlobals.UNCHANGED={}),a.__mobxGlobals):(a.__mobxInstanceCount=1,a.__mobxGlobals=new e5):(setTimeout(function(){tt||r(35)},1),new e5);function tr(e,t){e.observers_.delete(t),0===e.observers_.size&&to(e)}function to(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,tn.pendingUnobservations.push(e))}function ti(){tn.inBatch++}function ta(){if(0==--tn.inBatch){tf();for(var e=tn.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof eJ&&n.suspend_())}tn.pendingUnobservations=[]}}function ts(e){var t=tn.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&tn.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&tn.inBatch>0&&to(e),!1)}function tu(e){e.lowestObserverState_!==d.STALE_&&(e.lowestObserverState_=d.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===d.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=d.STALE_}))}var tc=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=d.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=p.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,tn.pendingReactions.push(this),tf())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){ti(),this.isScheduled_=!1;var e=tn.trackingContext;if(tn.trackingContext=this,e0(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}tn.trackingContext=e,ta()}},t.track=function(e){if(!this.isDisposed_){ti(),this.isRunning_=!0;var t=tn.trackingContext;tn.trackingContext=this;var n=e1(this,e,void 0);tn.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&e2(this),eQ(n)&&this.reportExceptionInDerivation_(n.cause),ta()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(tn.disableErrorBoundaries)throw e;tn.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),tn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(ti(),e2(this),ta()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[er]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){r("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];"boolean"==typeof n[n.length-1]&&(e=n.pop());var i=function(e){switch(e.length){case 0:return tn.trackingDerivation;case 1:return nO(e[0]);case 2:return nO(e[0],e[1])}}(n);if(!i)return r("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===p.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled"),i.isTracing_=e?p.BREAK:p.LOG}(this,e)},e}(),tl=function(e){return e()};function tf(){tn.inBatch>0||tn.isRunningReactions||tl(td)}function td(){tn.isRunningReactions=!0;for(var e=tn.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}tn.isRunningReactions=!1}var tp=B("Reaction",tc),th="action",tv="autoAction",tg=el(th),tm=el("action.bound",{bound:!0}),ty=el(tv,{autoAction:!0}),tb=el("autoAction.bound",{autoAction:!0,bound:!0});function t_(e){return function(t,n){return N(t)?e$(t.name||"<unnamed action>",t,e):N(n)?e$(t,n,e):R(n)?en(t,n,e?ty:tg):R(t)?et(el(e?tv:th,{name:t,autoAction:e})):void 0}}var tO=t_(!1);Object.assign(tO,tg);var tx=t_(!0);function tw(e){return N(e)&&!0===e.isMobxAction}Object.assign(tx,ty),tO.bound=et(tm),tx.bound=et(tb);var tS=function(e){return e()};function tj(e,t,n){return tk("onBUO",e,t,n)}function tk(e,t,n,r){var o="function"==typeof r?nO(t,n):nO(t),i=N(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var tE="always";function tP(e){!0===e.isolateGlobalState&&function(){if((tn.pendingReactions.length||tn.inBatch||tn.isRunningReactions)&&r(36),tt=!0,te){var e=b();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),tn=new e5}}();var t,n,o=e.useProxies,i=e.enforceActions;if(void 0!==o&&(tn.useProxies=o===tE||"never"!==o&&"undefined"!=typeof Proxy),"ifavailable"===o&&(tn.verifyProxies=!0),void 0!==i){var a=i===tE?tE:"observed"===i;tn.enforceActions=a,tn.allowStateChanges=!0!==a&&a!==tE}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(tn[t]=!!e[t])}),tn.allowStateReads=!tn.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=tl,tl=function(e){return t(function(){return n(e)})})}function tC(e,t,n,r){var o=$(t),i=nl(e,r)[er];ti();try{U(o).forEach(function(e){i.extend_(e,o[e],!n||!(e in n)||n[e])})}finally{ta()}return e}function tA(e,t){return function e(t){var n,r={name:t.name_};return t.observing_&&t.observing_.length>0&&(r.dependencies=(n=t.observing_,Array.from(new Set(n))).map(e)),r}(nO(e,t))}var tN=0;function tR(){this.message="FLOW_CANCELLED"}tR.prototype=Object.create(Error.prototype);var tT=eh("flow"),tL=eh("flow.bound",{bound:!0}),tD=Object.assign(function(e,t){if(R(t))return en(e,t,tT);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,o=++tN,i=tO(n+" - runid: "+o+" - init",e).apply(this,r),a=void 0,s=new Promise(function(e,r){var s=0;function u(e){var t;a=void 0;try{t=tO(n+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return r(e)}l(t)}function c(e){var t;a=void 0;try{t=tO(n+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return r(e)}l(t)}function l(t){if(N(null==t?void 0:t.then)){t.then(l,r);return}return t.done?e(t.value):(a=Promise.resolve(t.value)).then(u,c)}t=r,u(void 0)});return s.cancel=tO(n+" - runid: "+o+" - cancel",function(){try{a&&tM(a);var e=i.return(void 0),n=Promise.resolve(e.value);n.then(A,A),tM(n),t(new tR)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tT);function tM(e){N(e.cancel)&&e.cancel()}function tI(e){return e}function tB(e){return(null==e?void 0:e.isMobXFlow)===!0}function tZ(e){var t;return!!e&&(void 0!==t?!!np(e)&&e[er].values_.has(t):np(e)||!!e[er]||ei(e)||tp(e)||eY(e))}function tV(e,t,n){return e.set(t,n),n}function tF(e,t){return function e(t,n){if(null==t||"object"!=typeof t||t instanceof Date||!tZ(t))return t;if(eW(t)||eY(t))return e(t.get(),n);if(n.has(t))return n.get(t);if(t5(t)){var o=tV(n,t,Array(t.length));return t.forEach(function(t,r){o[r]=e(t,n)}),o}if(na(t)){var i=tV(n,t,new Set);return t.forEach(function(t){i.add(e(t,n))}),i}if(nr(t)){var a=tV(n,t,new Map);return t.forEach(function(t,r){a.set(r,e(t,n))}),a}var s=tV(n,t,{});return(function(e){if(np(e))return e[er].ownKeys_();r(38)})(t).forEach(function(r){w.propertyIsEnumerable.call(t,r)&&(s[r]=e(t[r],n))}),s}(e,new Map)}function tU(e,t){void 0===t&&(t=void 0),ti();try{return e.apply(t)}finally{ta()}}tD.bound=et(tL);var tK={has:function(e,t){return e[er].has_(t)},get:function(e,t){return e[er].get_(t)},set:function(e,t,n){var r;return!!R(t)&&(null==(r=e[er].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!R(t)&&(null==(n=e[er].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[er].defineProperty_(t,n))||r},ownKeys:function(e){return e[er].ownKeys_()},preventExtensions:function(e){r(13)}};function tH(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function t$(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),C(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tG(e,t){var n=e3();try{for(var o=[].concat(e.interceptors_||[]),i=0,a=o.length;i<a&&((t=o[i](t))&&!t.type&&r(14),t);i++);return t}finally{e6(n)}}function tz(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function tq(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),C(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tW(e,t){var n=e3(),r=e.changeListeners_;if(r){r=r.slice();for(var o=0,i=r.length;o<i;o++)r[o](t);e6(n)}}function tJ(e,t,n){var r=nl(e,n)[er];ti();try{null!=t||(H(e,ee)||M(e,ee,q({},e[ee])),t=e[ee]),U(t).forEach(function(e){return r.make_(e,t[e])})}finally{ta()}return e}var tY=Symbol("mobx-keys");function tX(e,t,n){if(L(e))return tC(e,e,t,n);var r=nl(e,n)[er];if(!e[tY]){var o=Object.getPrototypeOf(e),i=new Set([].concat(U(e),U(o)));i.delete("constructor"),i.delete(er),M(o,tY,i)}ti();try{e[tY].forEach(function(e){return r.make_(e,!t||!(e in t)||t[e])})}finally{ta()}return e}var tQ="splice",t0="update",t1={get:function(e,t){var n=e[er];return t===er?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?H(t8,t)?t8[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[er];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},t2=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new eo(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return t$(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),tq(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t){if(e>t){for(var n=Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)}},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&n_(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1==arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=S),tH(this)){var i=tG(this,{object:this.proxy_,type:tQ,index:e,removedCount:t,added:n});if(!i)return S;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=tz(this),i=o||r?{observableKind:"array",object:this.proxy_,type:t0,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&tW(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=tz(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:tQ,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&tW(this,i)},t.get_=function(e){if(this.legacyMode_&&e>=this.values_.length){console.warn("[mobx] Out of bounds read: "+e);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var o=n[e];if(tH(this)){var i=tG(this,{type:t0,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}(),t8={clear:function(){return this.splice(0)},replace:function(e){var t=this[er];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[er];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[er].spliceWithArray_(e,t,n)},push:function(){for(var e=this[er],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[er].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[er],t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return tn.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){tn.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[er],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function t3(e,t){"function"==typeof Array.prototype[e]&&(t8[e]=t(e))}function t6(e){return function(){var t=this[er];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t9(e){return function(t,n){var r=this,o=this[er];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return t.call(n,e,o,r)})}}function t7(e){return function(){var t=this,n=this[er];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}t3("concat",t6),t3("flat",t6),t3("includes",t6),t3("indexOf",t6),t3("join",t6),t3("lastIndexOf",t6),t3("slice",t6),t3("toString",t6),t3("toLocaleString",t6),t3("every",t9),t3("filter",t9),t3("find",t9),t3("findIndex",t9),t3("flatMap",t9),t3("forEach",t9),t3("map",t9),t3("some",t9),t3("reduce",t7),t3("reduceRight",t7);var t4=B("ObservableArrayAdministration",t2);function t5(e){return T(e)&&t4(e[er])}var ne={},nt="delete";h=Symbol.iterator,v=Symbol.toStringTag;var nn=function(){function e(e,t,n){var o=this;void 0===t&&(t=eu),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[er]=ne,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,N(Map)||r(18),this.keysAtom_=ea("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,function(e,t){var n=eG(e);try{return t()}finally{ez(n)}}(!0,function(){o.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!tn.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new eq(this.has_(e),ec,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tj(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(tH(this)){var r=tG(this,{type:n?t0:"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,tH(this)&&!tG(this,{type:nt,object:this,name:e}))return!1;if(this.has_(e)){var n=tz(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:nt,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tU(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),n&&tW(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==tn.UNCHANGED){var r=tz(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:t0,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tW(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tU(function(){var r,o=new eq(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tz(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tW(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return nk({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return nk({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[h]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=Q(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return nr(e)&&(e=new Map(e)),tU(function(){L(e)?(function(e){var t=Object.keys(e);if(!F)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return w.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):Z(e)?(e.constructor!==Map&&r(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&r(20,e)}),this},t.clear=function(){var e=this;tU(function(){e8(function(){for(var t,n=Q(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return tU(function(){for(var n,o=function(e){if(Z(e)||nr(e))return e;if(Array.isArray(e))return new Map(e);if(!L(e))return r(21,e);var t=new Map;for(var n in e)t.set(n,e[n]);return t}(e),i=new Map,a=!1,s=Q(t.data_.keys());!(n=s()).done;){var u=n.value;if(!o.has(u)){if(t.delete(u))a=!0;else{var c=t.data_.get(u);i.set(u,c)}}}for(var l,f=Q(o.entries());!(l=f()).done;){var d=l.value,p=d[0],h=d[1],v=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var g=t.data_.get(p);i.set(p,g),v||(a=!0)}}if(!a){if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var m=t.data_.keys(),y=i.keys(),b=m.next(),_=y.next();!b.done;){if(b.value!==_.value){t.keysAtom_.reportChanged();break}b=m.next(),_=y.next()}}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return tq(this,e)},t.intercept_=function(e){return t$(this,e)},z(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:v,get:function(){return"Map"}}]),e}(),nr=B("ObservableMap",nn),no={};g=Symbol.iterator,m=Symbol.toStringTag;var ni=function(){function e(e,t,n){void 0===t&&(t=eu),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[er]=no,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,N(Set)||r(22),this.atom_=ea(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tU(function(){e8(function(){for(var t,n=Q(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=Q(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,tH(this)&&!tG(this,{type:"add",object:this,newValue:e}))return this;if(!this.has(e)){tU(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var n=tz(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;n&&tW(this,r)}return this},t.delete=function(e){var t=this;if(tH(this)&&!tG(this,{type:nt,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tz(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:nt,object:this,oldValue:e}:null;return tU(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tW(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return nk({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return nk({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return na(e)&&(e=new Set(e)),tU(function(){Array.isArray(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):V(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&r("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return tq(this,e)},t.intercept_=function(e){return t$(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[g]=function(){return this.values()},z(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:m,get:function(){return"Set"}}]),e}(),na=B("ObservableSet",ni),ns=Object.create(null),nu="remove",nc=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=eS),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new eo("ObservableObject.keys"),this.isPlainObject_=L(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof eJ)return n.set(t),!0;if(tH(this)){var r=tG(this,{type:t0,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==tn.UNCHANGED){var o=tz(this),i=o?{type:t0,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&tW(this,i)}return!0},t.get_=function(e){return tn.trackingDerivation&&!H(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return(void 0===n&&(n=!1),H(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!tn.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new eq(e in this.target_,ec,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[ee])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==w;){var i=O(o,e);if(i){var a=t.make_(this,e,i,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}nh(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&nh(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1);try{ti();var r=this.delete_(e);if(!r)return r;if(tH(this)){var o=tG(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=q({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else x(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{ta()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1);try{ti();var o=this.delete_(e);if(!o)return o;if(tH(this)){var i=tG(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!i)return null;t=i.newValue}var a=nd(e),s={configurable:!tn.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else x(this.target_,e,s);var u=new eq(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{ta()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1);try{ti();var r=this.delete_(e);if(!r)return r;if(tH(this)&&!tG(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=nd(e),i={configurable:!tn.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else x(this.target_,e,i);this.values_.set(e,new eJ(t)),this.notifyPropertyAddition_(e,void 0)}finally{ta()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),!H(this.target_,e))return!0;if(tH(this)&&!tG(this,{object:this.proxy_||this.target_,name:e,type:nu}))return null;try{ti();var n,r,o,i=tz(this),a=this.values_.get(e),s=void 0;if(!a&&i&&(s=null==(o=O(this.target_,e))?void 0:o.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof eq&&(s=a.value_),tu(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var u={type:nu,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&tW(this,u)}}finally{ta()}return!0},t.observe_=function(e,t){return tq(this,e)},t.intercept_=function(e){return t$(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,o=tz(this);if(o){var i=o?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&tW(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),U(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function nl(e,t){if(H(e,er))return e;var n,r,o=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",i=new nc(e,new Map,String(o),t?null!=(n=t.defaultDecorator)?n:ej(t):void 0);return M(e,er,i),e}var nf=B("ObservableObjectAdministration",nc);function nd(e){return ns[e]||(ns[e]={get:function(){return this[er].getObservablePropValue_(e)},set:function(t){return this[er].setObservablePropValue_(e,t)}})}function np(e){return!!T(e)&&nf(e[er])}function nh(e,t,n){var r;null==(r=e.target_[ee])||delete r[n]}var nv=nb(0),ng=0,nm=function(){};s=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(nm.prototype,s):void 0!==nm.prototype.__proto__?nm.prototype.__proto__=s:nm.prototype=s;var ny=function(e,t,n){function r(t,n,r,o){void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this;var i,a=new t2(r,n,o,!0);if(a.proxy_=Y(i),I(Y(i),er,a),t&&t.length){var s=eG(!0);i.spliceWithArray(0,0,t),ez(s)}return Object.defineProperty(Y(i),"0",nv),i}W(r,e);var o=r.prototype;return o.concat=function(){this[er].atom_.reportObserved();for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return t5(e)?e.slice():e}))},o[n]=function(){var e=this,t=0;return nk({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},z(r,[{key:"length",get:function(){return this[er].getArrayLength_()},set:function(e){this[er].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(nm,Symbol.toStringTag,Symbol.iterator);function nb(e){return{enumerable:!1,configurable:!0,get:function(){return this[er].get_(e)},set:function(t){this[er].set_(e,t)}}}function n_(e){if(e>ng){for(var t,n=ng;n<e+100;n++)t=n,x(ny.prototype,""+t,nb(t));ng=e}}function nO(e,t){if("object"==typeof e&&null!==e){if(t5(e))return void 0!==t&&r(23),e[er].atom_;if(na(e))return e.atom_;if(nr(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,nx(e)),n}if(np(e)){if(!t)return r(26);var o=e[er].values_.get(t);return o||r(27,t,nx(e)),o}if(ei(e)||eY(e)||tp(e))return e}else if(N(e)&&tp(e[er]))return e[er];r(28)}function nx(e,t){var n;if(void 0!==t)n=nO(e,t);else{if(tw(e))return e.name;n=np(e)||nr(e)||na(e)?function e(t,n){return(t||r(29),void 0!==n)?e(nO(t,n)):ei(t)||eY(t)||tp(t)||nr(t)||na(t)?t:t[er]?t[er]:void r(24,t)}(e):nO(e)}return n.name_}Object.entries(t8).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&M(ny.prototype,t,n)}),n_(1e3);var nw=w.toString;function nS(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,o,i){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof n)return!1;var s=nw.call(t);if(s!==nw.call(n))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":if(+t!=+t)return+n!=+n;return 0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=nj(t),n=nj(n);var u="[object Array]"===s;if(!u){if("object"!=typeof t||"object"!=typeof n)return!1;var c=t.constructor,l=n.constructor;if(c!==l&&!(N(c)&&c instanceof c&&N(l)&&l instanceof l)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),i=i||[];for(var f=(o=o||[]).length;f--;)if(o[f]===t)return i[f]===n;if(o.push(t),i.push(n),u){if((f=t.length)!==n.length)return!1;for(;f--;)if(!e(t[f],n[f],r-1,o,i))return!1}else{var d,p=Object.keys(t);if(f=p.length,Object.keys(n).length!==f)return!1;for(;f--;)if(!(H(n,d=p[f])&&e(t[d],n[d],r-1,o,i)))return!1}return o.pop(),i.pop(),!0}(e,t,n)}function nj(e){return t5(e)?e.slice():Z(e)||nr(e)||V(e)||na(e)?Array.from(e.entries()):e}function nk(e){return e[Symbol.iterator]=nE,e}function nE(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===b()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:nx},$mobx:er})},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(91381)}])},19253:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(26250),i=n(38907),a=n(25656),s=n(64938),u=n.n(s);let c={Tertiary:u().tertiaryButton,Primary:u().primaryButton,Secondary:u().secondaryButton,SecondarySpecial:u().secondarySpecialButton},l={small:u().smallButton,medium:u().mediumButton,large:u().largeButton};t.Z=e=>{let{buttonType:t="Tertiary",size:n="medium",label:s,path:f,active:d,noFluidOnMobile:p,disabled:h,className:v,transparentBackground:g,onClick:m,"data-testid":y,...b}=e,_=h||!f?"#":f,O=e=>{if(h){e.preventDefault();return}m&&m(e)},x=b.type===i.$2.Asset||b.type===i.$2.External,w=()=>(0,r.jsxs)("div",{className:u().buttonContent,children:[(0,r.jsx)("div",{children:s}),x&&(0,r.jsx)("div",{"data-testid":"external-link-icon",className:u().externalIcon,children:(0,r.jsx)(a.Z,{})})]}),S="".concat(c[t]," ").concat(u().button," ").concat(g?u().darkerTransparentBackground:""," ").concat(l[n]," ").concat(h?u().disabled:"","  ").concat(d?u().active:""," ").concat(p?"":u().mobileFluid," ").concat(v||"");return f?(0,r.jsx)(o.e,{...b,path:_,onClick:O,className:S,"data-testid":y,"data-button":!0,children:(0,r.jsx)(w,{})}):(0,r.jsx)("button",{type:"button",onClick:O,className:S,"data-testid":y,children:(0,r.jsx)(w,{})})}},69102:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(19253);t.Z=e=>(0,r.jsx)(o.Z,{...e,buttonType:"Secondary"})},26250:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(85893),o=n(41664),i=n.n(o),a=n(38907),s=n(97654);let u=e=>{let{children:t,path:n,type:o,...u}=e,c=(0,s.c)();(o===a.$2.External||o===a.$2.Asset)&&(void 0===u.target&&(u.target="_blank"),void 0===u.rel&&(u.rel="noopener noreferrer"));let l=n;if(l.startsWith("http://tel:")&&(l=l.replace("http://tel:","tel:")),l.startsWith("#")){let e=c.asVirtualPath.split("#")[0];l="".concat(e).concat(l)}return(0,r.jsx)(i(),{...u,href:l,children:t})}},14784:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(6212),i=n(33627),a=n.n(i);t.Z=e=>{let{children:t,className:n,...i}=e,s="".concat(a().modalBody," ").concat(n||"");return(0,r.jsx)(o.Z.Body,{...i,className:s,children:t})}},59327:function(e,t,n){"use strict";var r=n(85893),o=n(6212);n(67294);var i=n(94478),a=n.n(i),s=n(72917);t.Z=e=>{let{children:t,className:n,...i}=e,u="".concat(a().modalFooter," ").concat(n||"");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{}),(0,r.jsx)(o.Z.Footer,{...i,className:u,children:t})]})}},46537:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(6212),i=n(37876),a=n.n(i),s=n(72917);t.Z=e=>{let{title:t,className:n,...i}=e,u="".concat(a().modalHeader," ").concat(n||"");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Z.Header,{...i,className:u,children:(0,r.jsx)("h3",{className:"m-0",children:t})}),(0,r.jsx)(s.Z,{})]})}},72917:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(88264),i=n.n(o),a=n(8911);t.Z=()=>(0,r.jsx)(a.Z,{className:i().separator})},3642:function(e,t,n){"use strict";var r=n(85893),o=n(67294),i=n(6212),a=n(10682),s=n(34051),u=n(31555),c=n(20647),l=n.n(c);t.Z=e=>{let{children:t,show:n,handleClose:c,className:f,blurBackDrop:d}=e,[p,h]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{h(!1)},[]),(0,o.useEffect)(()=>{if(d)return document.body.classList.contains("ma-modal-blur")||document.body.classList.add("ma-modal-blur"),()=>{document.body.classList.contains("ma-modal-blur")&&document.body.classList.remove("ma-modal-blur")}},[d]),(0,r.jsx)(r.Fragment,{children:!p&&(0,r.jsx)(i.Z,{show:n,onHide:c,className:"".concat(l().modal," ").concat(f||""),centered:!0,children:(0,r.jsx)(a.Z,{className:"".concat(l().container),children:(0,r.jsx)(s.Z,{children:(0,r.jsx)(u.Z,{children:(0,r.jsx)("div",{className:l().wrapper,children:t})})})})})})}},8911:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(23718),i=n.n(o);t.Z=e=>{var t;return(0,r.jsx)("div",{...e,className:"".concat(i().separator," ").concat(null!==(t=e.className)&&void 0!==t?t:"")})}},69176:function(e,t,n){"use strict";var r=n(85893);n(67294);var o=n(32489),i=n.n(o),a=n(69102),s=n(3642),u=n(46537),c=n(59327),l=n(14784);t.Z=e=>{let{show:t,handlePrimaryAction:n,handleSecondaryAction:o,handleClose:f,cancelPath:d,cancelText:p,confirmText:h,children:v,title:g,blurBackDrop:m,isDeclarationModal:y}=e;return(0,r.jsxs)(s.Z,{show:t,handleClose:f,className:i().modal,blurBackDrop:m,children:[(0,r.jsx)(u.Z,{title:g,closeButton:!!f}),(0,r.jsx)(l.Z,{children:v}),(!!o||!!n)&&(0,r.jsxs)(c.Z,{className:y?i().declarationModal:void 0,children:[(0,r.jsx)(a.Z,{className:i().button,label:p,onClick:o,path:d}),(0,r.jsx)(a.Z,{className:i().button,label:h,onClick:n})]})]})}},53458:function(e,t,n){"use strict";n.d(t,{CZ:function(){return a},R9:function(){return o},uN:function(){return i}});var r=n(67294);let o=(0,r.createContext)(null),i=()=>{let[e,t]=(0,r.useState)(""),[n,o]=(0,r.useState)(!1),[i,a]=(0,r.useState)(!1),s=(0,r.useCallback)(e=>{t(t=>"string"==typeof e?e:t)},[]);return{acceptedStatusDeclaration:e,showWholesaleFunds:n,showDeclarationModalForToggle:i,setAcceptedStatusDeclaration:s,setShowWholesaleFunds:o,setShowDeclarationModalForToggle:a}},a=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("InvestorStatusContext has not been initialized with useInvestorStatusState in a parent container.");return e}},45953:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(67294);let o=()=>{let e=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),(0,r.useCallback)(()=>e.current,[])}},97654:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(11163),o=n(67294),i=n(78388);let a=()=>{let e=(0,r.useRouter)(),t=e.asPath,n=(0,o.useMemo)(()=>(0,i.uy)(t),[t]);return{router:e,asVirtualPath:n,nextJSDefaultLocale:e.defaultLocale}}},57281:function(e,t,n){"use strict";n.d(t,{UQ:function(){return i},cw:function(){return r},kg:function(){return o}});let r=172800,o="wholesale",i="individual"},38907:function(e,t,n){"use strict";var r,o,i,a;n.d(t,{$2:function(){return r},$v:function(){return s},Gy:function(){return o}}),(i=r||(r={})).Page="page",i.Asset="asset",i.Internal="internal",i.External="external",(a=o||(o={})).HomePage="homepage",a.InfoPage="text_info",a.ArticlePage="article",a.FundPage="fund",a.SubsidiaryPage="subsidiary",a.ResourcesPage="resources",a.ContactUsPage="contact_us",a.ComplaintsPage="complaints",a.ServiceSectionLandingPage="service_section",a.InsightsAndNewsPage="insights_and_news",a.AssetClassPage="page_asset_class",a.SivPage="siv_page",a.ShareholderPage="shareholder_page",a.CorporatePage="corporate",a.TeamsPage="teams_page",a.LDFPage="ldf_page",a.GrowthPage="growth";let s=1},20573:function(e,t,n){"use strict";let r;n.d(t,{i:function(){return c}});var o=n(50172),i=n(45746),a=n(34155);let s=e=>{let t=(0,i.Er)(),n={};if(!t)return{};for(let o of t.locales){var r;let t=u(e,o);n[t]||(n[t]=[]),null===(r=n[t])||void 0===r||r.push(o)}return n},u=(e,t)=>e==o.$Z.global?"us"===t?o.ny.us:o.ny.australia:e.toString(),c=()=>{var e;if(r)return r;let t="ebWJORDpPI6aMJsk2TCdT";if(!t)throw Error("Build Id could not be retrieved. Check your Next/js or webpack configuration and make sure to define CONFIG_BUILD_ID.");let n="ldf".trim(),i=Object.values(o.$Z).find(e=>e===n);if(!i)throw Error("NEXT_PUBLIC_MA_REGION value [".concat("ldf","] is invalid."));let c="production".trim(),l=Object.values(o.ZL).find(e=>e===c);if(!l)throw Error("NEXT_PUBLIC_MA_ENV value [".concat("production","] is invalid."));let f=null!==(e=a.env.NEXT_PUBLIC_URL_JP)&&void 0!==e?e:"",d=s(i);return r={buildId:t,region:i,environment:l,getCurrentCollection:e=>u(i,e),kontentPreviewKey:a.env.KONTENT_PREVIEW_KEY||"",publicConfig:{urlCurrentSite:"https://ldfaustralia.com",urlAustralia:"https://mafinancial.com",urlUs:"https://mafinancial.com",urlSg:"https://mafinancial.com.sg",urlJp:f,urlHongKong:"https://mafinancial.com.hk",urlChina:"https://www.mafinancial.com.cn",urlLdf:"https://ldfaustralia.com",urldf:"https://dfaustralia.com",useAudienceDeclaration:!1,kontentProjectId:"d145ed4a-0a6b-02dd-07d4-7cf3349731e4",gtmKey:{default:"",collections:{us:a.env.NEXT_PUBLIC_GTM_KEY_COLLECTION_US||""}}},collectionLocalesMap:d}}},50172:function(e,t,n){"use strict";var r,o,i,a,s,u;n.d(t,{$Z:function(){return r},ZL:function(){return i},ny:function(){return o}}),(a=r||(r={})).global="global",a.sg="sg",a.japan="japan",a.china="china",a.hongkong="hongkong",a.ldf="ldf",a.df="df",(s=o||(o={})).australia="australia",s.sg="sg",s.china="china",s.hongkong="hongkong",s.ldf="ldf",s.df="df",s.us="us",s.japan="japan",s.default="default",(u=i||(i={})).local="local",u.preview="preview",u.production="production"},78388:function(e,t,n){"use strict";n.d(t,{Z2:function(){return l},ky:function(){return u},gO:function(){return c},s_:function(){return d},uy:function(){return f}});var r=n(78879),o=n(45746),i=n(17673),a=n(38907);let s=e=>e&&"/"!==e&&e.endsWith("/")?e.slice(0,-1):e,u=e=>{let t=(0,o.Er)(),n=e.locales||[(0,r.A)()];(null==t?void 0:t.actualDefaultLocale)!==(null==t?void 0:t.nextJSDefaultLocale)&&(n=n.filter(e=>e!==(null==t?void 0:t.nextJSDefaultLocale)));let i=e.locale||(0,r.A)();i=n.includes(i)?i:n[0]||(0,r.A)();let a=e.defaultLocale||(0,r.A)();return{locales:n,locale:i,actualDefaultLocale:a=n.includes(a)?a:n[0]||(0,r.A)(),localesDefined:n.length>1}},c=(e,t,n)=>{let r=!!t&&t!==n.nextJSDefaultLocale,o=r?[t,...e]:[...e],i="/".concat(o.join("/"));return i},l=e=>{let{siteUrl:t,virtualPath:n,locale:o,nextJSDefaultLocale:u}=e,l=c(n.toLowerCase().split("/").filter(e=>e),o,{nextJSDefaultLocale:u||(0,r.A)()})||"",[f,d]=l.split("?"),p=(0,i.parse)(d||""),h=f;return void 0!==p.page&&p.page!=="".concat(a.$v)&&(h="".concat(h,"?page=").concat(p.page)),s("".concat(t).concat(h))},f=e=>{if(!e||0>e.indexOf("/"))return e;let t=e.split("#"),n=t[0].split("?"),r=(0,i.parse)(n[1]||""),o=n[0].split("/").filter(e=>!!e),a=o.findIndex(e=>"route-template"===e.toLowerCase());a>=0&&o.splice(a,2),o.length>1&&"page"===o[o.length-2]&&(void 0===r.page&&(r.page=o[o.length-1]),o.splice(o.length-2,2));let s="/".concat(o.join("/")),u=(0,i.stringify)(r);return u.length>1&&(s=[s,u].join("?")),t.length>1&&(s=[s,...t.slice(1)].join("#")),s},d=e=>!!e.props},45746:function(e,t,n){"use strict";n.d(t,{Er:function(){return o},Y7:function(){return i}});var r=n(95015);let o=()=>{let e=r.i18n,t=r.additionalI18n;if(!e)return;let n=e.defaultLocale,o=(null==t?void 0:t.actualDefaultLocale)||e.defaultLocale,i=e.locales;return o!==n&&(i=i.filter(e=>e!==n)),{nextJSDefaultLocale:n,actualDefaultLocale:o,locales:i}},i=e=>"us"===e?"en-US":"en"===e?"en-AU":e},12413:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function i(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function f(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return u(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{yn:function(){return eh},Gg:function(){return ev}});var m={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},y=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(t,n)}return s(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||m,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,g(g({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}()),b=function(){function e(){o(this,e),this.observers={}}return s(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(function(e){return e!==t})}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function _(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function O(e){return null==e?"":""+e}function x(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function w(e,t,n){var r=x(e,t,Object);r.obj[r.k]=n}function S(e,t){var n=x(e,t),r=n.obj,o=n.k;if(r)return r[o]}function j(e,t,n){var r=S(e,n);return void 0!==r?r:S(t,n)}function k(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function P(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return E[e]}):e}var C="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,A=[" ",",","?","!",";"];function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var T=function(e){l(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=d(r);if(t){var o=d(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return f(this,e)});function r(e){var t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,r),t=n.call(this),C&&b.call(u(t)),t.data=e||{},t.options=i,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return s(r,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=S(this.data,a);return s||!i||"string"!=typeof n?s:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var o=n.split(r),i=t,a=0;a<o.length;++a){if(!i||"string"==typeof i[o[a]]&&a+1<o.length)return;if(void 0===i[o[a]]){for(var s=2,u=o.slice(a,a+s).join(r),c=i[u];void 0===c&&o.length>a+s;)s++,c=i[u=o.slice(a,a+s).join(r)];if(void 0===c)return;if(null===c)return null;if(n.endsWith(u)){if("string"==typeof c)return c;if(u&&"string"==typeof c[u])return c[u]}var l=o.slice(a+s).join(r);if(l)return e(c,l,r);return}i=i[o[a]]}return i}}(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),w(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)("string"==typeof n[o]||"[object Array]"===Object.prototype.toString.apply(n[o]))&&this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);var s=S(this.data,a)||{};r?function e(t,n,r){for(var o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(s,n,o):s=R(R({},s),n),w(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?R(R({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(b),L={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}};function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var I={},B=function(e){l(i,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=d(i);if(t){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function i(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,i),t=n.call(this),C&&b.call(u(t)),!function(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,u(t)),t.options=r,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=y.create("translator"),t}return s(i,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=A.filter(function(e){return 0>t.indexOf(e)&&0>n.indexOf(e)});if(0===r.length)return!0;var o=new RegExp("(".concat(r.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r);if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,n){var o=this;if("object"!==r(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,u=this.extractFromKey(e[e.length-1],t),c=u.key,l=u.namespaces,f=l[l.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return a?(v.res="".concat(f).concat(h).concat(c),v):"".concat(f).concat(h).concat(c)}return a?(v.res=c,v):c}var v=this.resolve(e,t),g=v&&v.res,m=v&&v.usedKey||c,y=v&&v.exactUsedKey||c,b=Object.prototype.toString.apply(g),_=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g;if(O&&g&&x&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(b)&&!("string"==typeof _&&"[object Array]"===b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,g,M(M({},t),{},{ns:l})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return a?(v.res=w,v):w}if(s){var S="[object Array]"===b,j=S?[]:{},k=S?y:m;for(var E in g)if(Object.prototype.hasOwnProperty.call(g,E)){var P="".concat(k).concat(s).concat(E);j[E]=this.translate(P,M(M({},t),{joinArrays:!1,ns:l})),j[E]===P&&(j[E]=g[E])}g=j}}else if(O&&"string"==typeof _&&"[object Array]"===b)(g=g.join(_))&&(g=this.extendTranslation(g,e,t,n));else{var C=!1,A=!1,N=void 0!==t.count&&"string"!=typeof t.count,R=i.hasDefaultValue(t),T=N?this.pluralResolver.getSuffix(d,t.count,t):"",L=t["defaultValue".concat(T)]||t.defaultValue;!this.isValidLookup(g)&&R&&(C=!0,g=L),this.isValidLookup(g)||(A=!0,g=c);var D=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&A?void 0:g,I=R&&L!==g&&this.options.updateMissing;if(A||C||I){if(this.logger.log(I?"updateKey":"missingKey",d,f,c,I?L:g),s){var B=this.resolve(c,M(M({},t),{},{keySeparator:!1}));B&&B.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Z=[],V=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&V&&V[0])for(var F=0;F<V.length;F++)Z.push(V[F]);else"all"===this.options.saveMissingTo?Z=this.languageUtils.toResolveHierarchy(t.lng||this.language):Z.push(t.lng||this.language);var U=function(e,n,r){var i=R&&r!==g?r:D;o.options.missingKeyHandler?o.options.missingKeyHandler(e,f,n,i,I,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,f,n,i,I,t),o.emit("missingKey",e,f,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?Z.forEach(function(e){o.pluralResolver.getSuffixes(e,t).forEach(function(n){U([e],c+n,t["defaultValue".concat(n)]||L)})}):U(Z,c,L))}g=this.extendTranslation(g,e,t,v,n),A&&g===c&&this.options.appendNamespaceToMissingKey&&(g="".concat(f,":").concat(c)),(A||C)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(f,":").concat(c):c,C?g:void 0):this.options.parseMissingKeyHandler(g))}return a?(v.res=g,v):g}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,M(M({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(M(M({},n),{interpolation:M(M({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);a=u&&u.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=M(M({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var l=e.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=L.handle(d,e,t,this.options&&this.options.postProcessPassResolved?M({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=f&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach(function(e){a.isValidLookup(t)||(i=e,!I["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(I["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,u=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,c,n,e,s);else{f&&(l=a.pluralResolver.getSuffix(n,s.count,s));var l,h="".concat(a.options.pluralSeparator,"zero");if(f&&(u.push(c+l),d&&u.push(c+h)),p){var v="".concat(c).concat(a.options.contextSeparator).concat(s.context);u.push(v),f&&(u.push(v+l),d&&u.push(v+h))}}for(;i=u.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),i}(b);function Z(e){return e.charAt(0).toUpperCase()+e.slice(1)}var V=function(){function e(t){o(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=y.create("languageUtils")}return s(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Z(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Z(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Z(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);(!n.options.supportedLngs||n.isSupportedCode(r))&&(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){0>o.indexOf(e)&&i(n.formatLanguageCode(e))}),o}}]),e}(),F=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],U={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},K=["v1","v2","v3"],H={zero:0,one:1,two:2,few:3,many:4,other:5},$=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=t,this.options=r,this.logger=y.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},F.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:U[e.fc]}})}),n)}return s(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(function(e,t){return H[e]-H[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):r.numbers.map(function(r){return t.getSuffix(e,r,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!K.includes(this.options.compatibilityJSON)}}]),e}();function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=y.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return s(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:P,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?k(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?k(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?k(t.nestingPrefix):t.nestingPrefixEscaped||k("$t("),this.nestingSuffix=t.nestingSuffix?k(t.nestingSuffix):t.nestingSuffixEscaped||k(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(0>e.indexOf(s.formatSeparator)){var o=j(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,z(z(z({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(j(t,u,a),c,n,z(z(z({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach(function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=l(n))){if("function"==typeof f){var u=f(e,o,r);i="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))i="";else if(d){i=o[0];continue}else s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=O(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),d?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o=z(z({},t),o))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var u=[];(o=(o=z({},a)).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;var c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=l.shift(),u=l,c=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=O(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=u.reduce(function(e,t){return i.format(e,t,a.lng,z(z({},a),{},{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Y(e){var t={};return function(n,r,o){var i=r+JSON.stringify(o),a=t[i];return a||(a=e(r,o),t[i]=a),a(n)}}var X=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=y.create("formatter"),this.options=t,this.formats={number:Y(function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}}),currency:Y(function(e,t){var n=new Intl.NumberFormat(e,J(J({},t),{},{style:"currency"}));return function(e){return n.format(e)}}),datetime:Y(function(e,t){var n=new Intl.DateTimeFormat(e,J({},t));return function(e){return n.format(e)}}),relativetime:Y(function(e,t){var n=new Intl.RelativeTimeFormat(e,J({},t));return function(e){return n.format(e,t.range||"day")}}),list:Y(function(e,t){var n=new Intl.ListFormat(e,J({},t));return function(e){return n.format(e)}})},this.init(t)}return s(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=Y(t)}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce(function(e,t){var i=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&0>o.indexOf(":")?n.currency||(n.currency=o.trim()):"relativetime"===t&&0>o.indexOf(":")?n.range||(n.range=o.trim()):o.split(";").forEach(function(e){if(e){var t,r=function(e){if(Array.isArray(e))return e}(t=e.split(":"))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}}(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.")}(),o=r[0],i=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[o.trim()]||(n[o.trim()]=i),"false"===i&&(n[o.trim()]=!1),"true"===i&&(n[o.trim()]=!0),isNaN(i)||(n[o.trim()]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}}(t),a=i.formatName,s=i.formatOptions;if(o.formats[a]){var u=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=c.locale||c.lng||r.locale||r.lng||n;u=o.formats[a](e,l,J(J(J({},s),r),c))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(a)),e},e)}}]),e}();function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var et=function(e){l(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=d(r);if(t){var o=d(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return f(this,e)});function r(e,t,i){var a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o(this,r),a=n.call(this),C&&b.call(u(a)),a.backend=e,a.store=t,a.services=i,a.languageUtils=i.languageUtils,a.options=s,a.logger=y.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(i,s.backend,s),a}return s(r,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},u={};return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===u[t]&&(u[t]=!0)))}),r||(s[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,s,u,c;(u=(s=x(n.loaded,[o],Object)).obj)[c=s.k]=u[c]||[],r&&(u[c]=u[c].concat(i)),r||u[c].push(i),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach(function(t){void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a});return}this.readingCalls++;var s=function(s,u){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(s&&u&&o<r.maxRetries){setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a)},i);return}a(s,u)},u=this.backend[n].bind(this.backend);if(2===u.length){try{var c=u(e,t);c&&"function"==typeof c.then?c.then(function(e){return s(null,e)}).catch(s):s(null,c)}catch(e){s(e)}return}return u(e,t,s)}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){var s,u=ee(ee({},i),{},{isUpdate:o}),c=this.backend.create.bind(this.backend);if(c.length<6)try{(s=5===c.length?c(e,t,n,r,u):c(e,t,n,r))&&"function"==typeof s.then?s.then(function(e){return a(null,e)}).catch(a):a(null,s)}catch(e){a(e)}else c(e,t,n,r,a,u)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),r}(b);function en(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function er(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eo(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ea(){}var es=function(e){l(i,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=d(i);if(t){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(o(this,i),e=n.call(this),C&&b.call(u(e)),e.options=er(t),e.services={},e.logger=y,e.modules={external:[]},!function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(u(e)),r&&!e.isInitialized&&!t.isClone){if(!e.options.initImmediate)return e.init(t,r),f(e,u(e));setTimeout(function(){e.init(t,r)},0)}return e}return s(i,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var r=en();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=ei(ei(ei({},r),this.options),er(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ei(ei({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?y.init(o(this.modules.logger),this.options):y.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=X);var i,a=new V(this.options);this.store=new T(this.options.resources,this.options);var s=this.services;s.logger=y,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new $(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(s.formatter=o(i),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new q(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new et(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new B(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.format=this.options.interpolation.format,n||(n=ea),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&"dev"!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var c=_(),l=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ea,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>i.indexOf(e)&&i.push(e)})};o?a(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(i,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),r(e)})}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=_();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ea),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&L.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=_();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})},a=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||o(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,function(e){i(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var o=this,i=function e(t,i){if("object"!==r(i)){for(var a,s,u=arguments.length,c=Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];a=o.options.overloadTranslationOptionHandler([t,i].concat(c))}else a=ei({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var f=o.options.keySeparator||".";return s=a.keyPrefix&&Array.isArray(t)?t.map(function(e){return"".concat(a.keyPrefix).concat(f).concat(e)}):a.keyPrefix?"".concat(a.keyPrefix).concat(f).concat(t):t,o.t(s,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!o||a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=_();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=_();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return 0>r.indexOf(e)});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new V(en())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ea,r=ei(ei(ei({},this.options),t),{isClone:!0}),o=new i(r);return(void 0!==t.debug||void 0!==t.prefix)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(function(t){o[t]=e[t]}),o.services=ei({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new B(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))}),o.init(r,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),i}(b);p(es,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new es(e,t)});var eu=es.createInstance();eu.createInstance=es.createInstance,eu.createInstance,eu.dir,eu.init,eu.loadResources,eu.reloadResources,eu.use,eu.changeLanguage,eu.getFixedT,eu.t,eu.exists,eu.setDefaultNamespace,eu.hasLoadedNamespace,eu.loadNamespaces,eu.loadLanguages;var ec=JSON.parse('{"common":{"maFinancialGroupSite":"MA Financial Group website","readMore":"Read more","visitSite":"Visit site","exploreMore":"Explore more","discoverMore":"Discover more","downloadAllAsZip":"Download all (ZIP file)","pageMenu":{"jumpto":"Jump to"},"disclaimers":"Disclaimers"},"navigation":{"generalMenus":{"close":"Close","menu":"Menu","back":"Back"},"featuredPage":{"header":"Featured","actionLabel":"Read more"},"audience":{"individual":"Individual investor","wholesale":"Wholesale investor"}},"previewBadge":{"preview":"Preview","showLive":"Show live"},"article":{"share":"Share article","disclaimers":"Disclaimers","relatedArticles":"Related articles","author":"Author","published":"Published","readArticle":"Read more","publishedRelated":"Published on","toolTip":"Link copied!","exploreArticles":"Explore Articles About MA"},"fund":{"disclaimers":"Disclaimers"},"audienceDeclarationModal":{"title":"Are you a Professional investor?","body":"Please note that the below option is only for the use by persons who are considered a “professional investor” (as defined under the Securities and Futures Ordinance of Hong Kong (Cap. 571)). <br/><br/>If you confirm that you are a “professional investor” you are certifying you are a “professional investor” for the purposes of the Securities and Futures Ordinance of Hong Kong (Cap. 571). <br/><br/>If you are <strong>not</strong> a professional investor, you will be redirected to our global website.","cancel":"Go to global site","confirm":"Confirm"},"geoRedirectPopover":{"title":"Welcome to Australia, this content has been created with the Australian audience in mind.","body":"Please note that some of the materials, information and services on this site may <strong> not be relevant or applicable to your location. </strong> To proceed and access the Australian site, click \'Continue.\'","cancel":"Go to {{region}} site","continue":"Continue"},"geoTooltip":{"title":"Welcome to {{region}}!","body":"You can change the language or country here."},"investorStatusModal":{"wholesale":"Wholesale investor","individual":"Individual investor"},"wholesaleDeclarationModal":{"cancel":"Cancel","confirm":"Confirm"},"insights":{"exploreArticles":"Explore articles","featuredArticles":"Featured articles","filterBy":"Filter by:","moreArticles":"More articles","allTopics":"All topics"},"richText":{"gotToFund":"Go to Fund"},"shareholder":{"codeHeading":"ASX code","shareCode":"ASX:MAF","sharePrice":"Share price","changeDollar":"Change ($)","changePercentage":"Change (%)","volume":"Volume","marketCap":"Market cap","noAnnouncements":"No announcements were found","asxAnnouncements":"ASX Announcements","annualReports":"Annual reports","reportsAndPresentations":"Results and Presentations"},"error":{"404":{"code":"404","message":"This page could not be found."}}}'),el=JSON.parse('{"common":{"maFinancialGroupSite":"MA Financial Group 网站","readMore":"了解更多","visitSite":"访问网站","exploreMore":"探索更多","discoverMore":"了解更多","downloadAllAsZip":"下载全部 (ZIP文件)","disclaimers":"免责声明","pageMenu":{"jumpto":"跳至"}},"navigation":{"generalMenus":{"close":"关闭","menu":" menu","back":"返回"},"featuredPage":{"header":"推荐阅读","actionLabel":"了解更多"},"audience":{"individual":"个人投资者","wholesale":"批发类投资者"}},"previewBadge":{"preview":"预览","showLive":"现场显示"},"article":{"share":"分享文章","disclaimers":"免责声明","relatedArticles":"相关文章","author":"作者","published":"发布","readArticle":"阅读文章","publishedRelated":"发布于","toolTip":"链接已复制！","exploreArticles":"浏览更多MA资讯"},"fund":{"disclaimers":"免责声明"},"audienceDeclarationModal":{"title":"您是专业投资者吗?","body":"请注意，以下选项仅供被视为香港证券及期货条例 (第571章) 下的“专业投资者”使用。<br/><br/>如果确认您是“专业投资者”，则您证明您是香港证券及期货条例 (第571章) 下的“专业投资者”。<br/><br/>如果您不是专业投资者，您将转至我们的全球网站。","cancel":"转至全球网站","confirm":"确认"},"geoRedirectPopover":{"title":"欢迎来到澳大利亚站点","body":"请注意，此站点上的材料、信息和服务可能与您所在的位置不相关或不适用。<strong> 如果您要继续访问澳大利亚站点，请点击\'继续\'。</strong>","cancel":"转到{{region}}站点","continue":"继续"},"geoTooltip":{"title":"欢迎来到{{region}}","body":"您可以在这里更改语言或国家。"},"investorStatusModal":{"wholesale":"批发类","individual":"个人"},"wholesaleDeclarationModal":{"cancel":"取消","confirm":"确认"},"insights":{"exploreArticles":"所有文章","featuredArticles":"推荐文章","filterBy":"筛选","moreArticles":"更多文章","allTopics":"所有主题"},"richText":{"gotToFund":"转到基金"},"shareholder":{"codeHeading":"ASX 代码","shareCode":"ASX:MAF","sharePrice":"股票价格","changeDollar":"变化 ($)","changePercentage":"变化 (%)","volume":"交易量","marketCap":"市值","noAnnouncements":"没有找到公告","asxAnnouncements":"ASX 公告","annualReports":"年度报告","reportsAndPresentations":"材料"},"error":{"404":{"code":"404","message":"此页面无法找到。"}}}'),ef=JSON.parse('{"common":{"maFinancialGroupSite":"MA Financial Group 網站","readMore":"了解更多","visitSite":"訪問網站","exploreMore":"探索更多","discoverMore":"了解更多","downloadAllAsZip":"下載全部 (ZIP文件)","disclaimers":"免責聲明","pageMenu":{"jumpto":"跳至"}},"navigation":{"generalMenus":{"close":"關閉","menu":" menu","back":"返回"},"featuredPage":{"header":"推薦閱讀","actionLabel":"了解更多"},"audience":{"individual":"個人投資者","wholesale":"專業投資者"}},"previewBadge":{"preview":"預覽","showLive":"現場顯示"},"article":{"share":"分享文章","disclaimers":"免責聲明","relatedArticles":"相關文章","author":"作者","published":"發布","readArticle":"了解更多","publishedRelated":"發布於","toolTip":"鏈接已複製！","exploreArticles":"瀏覽更多 MA資訊"},"fund":{"disclaimers":"免責聲明"},"audienceDeclarationModal":{"title":"您是專業投資者嗎?","body":"請注意，以下選項僅供被視為香港證券及期貨條例 (第571章) 下的“專業投資者”使用。<br/><br/>如果確認您是“專業投資者”，則證明您是香港證券及期貨條例 (第571章) 下的“專業投資者”。<br/><br/>如果您不是專業投資者，您將被轉到到我們的全球網站。","cancel":"轉到全球網站","confirm":"確認"},"geoRedirectPopover":{"title":"歡迎來到澳洲網站。","body":"請注意，此網站上的一些資訊和服務可能與您的所在位置不相關或不適用。<strong> 要繼續並訪問澳洲站點，請點擊\'繼續\'。</strong>","cancel":"轉到{{region}}網站","continue":"繼續"},"geoTooltip":{"title":"歡迎來到{{region}}","body":"您可以在這裡更改語言或國家。"},"investorStatusModal":{"wholesale":"專業投資者","individual":"個人投資者"},"wholesaleDeclarationModal":{"cancel":"取消","confirm":"確認"},"insights":{"exploreArticles":"所有文章","featuredArticles":"推薦文章","filterBy":"按...篩選","moreArticles":"更多文章","allTopics":"所有主題"},"richText":{"gotToFund":"轉到基金"},"shareholder":{"codeHeading":"ASX 代碼","shareCode":"ASX:MAF","sharePrice":"股價","changeDollar":"變動 (美金)","changePercentage":"變動 (%)","volume":"成交量","marketCap":"市值","noAnnouncements":"沒有找到公告","asxAnnouncements":"ASX 公告","annualReports":"年度報告","reportsAndPresentations":"報告與資料"},"error":{"404":{"code":"404","message":"找不到此頁面。"}}}'),ed=n(78879);let ep={resources:{us:ec,en:ec,"zh-CN":el,"zh-Hant":ef,"en-HK":ec,"en-SG":ec,"en-JP":ec},fallbackLng:(0,ed.A)(),interpolation:{escapeValue:!1},react:{transSupportBasicHtmlNodes:!0,transKeepBasicHtmlNodesFor:["br","strong"]}},eh=e=>{let{locale:t,namespaces:n}=e,r=eu.createInstance();return r.init({...ep,ns:n,lng:t}),r},ev=e=>{let{locale:t,namespaces:n}=e;return eh({locale:t,namespaces:n})}},78879:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});let r=()=>"en"},95015:function(e){"use strict";e.exports={i18n:{defaultLocale:"en",locales:["en"],localeDetection:!1},additionalI18n:void 0}},49783:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return u},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return l}});let o="refresh",i="navigate",a="restore",s="server-patch",u="prefetch",c="fast-refresh",l="server-action";(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let r=n(14005);function o(e,t,o,i){{let a=n(69128).normalizeLocalePath,s=n(66919).detectDomainLocale,u=t||a(e,o).detectedLocale,c=s(i,void 0,u);if(c){let t="http"+(c.http?"":"s")+"://",n=u===c.defaultLocale?"":"/"+u;return""+t+c.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});let r=n(10260),o=r._(n(67294)),i=n(56722),a=n(84812),s=n(47822),u=n(99938),c=n(25017),l=n(95734),f=n(18503),d=n(87549),p=n(80358),h=n(81417),v=n(49783),g=new Set;function m(e,t,n,r,o,i){if(!i&&!(0,a.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(g.has(i))return;g.add(i)}let s=i?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(s).catch(e=>{})}function y(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r;let{href:s,as:g,children:b,prefetch:_=null,passHref:O,replace:x,shallow:w,scroll:S,locale:j,onClick:k,onMouseEnter:E,onTouchStart:P,legacyBehavior:C=!1,...A}=e;n=b,C&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let N=o.default.useContext(l.RouterContext),R=o.default.useContext(f.AppRouterContext),T=null!=N?N:R,L=!N,D=!1!==_,M=null===_?v.PrefetchKind.AUTO:v.PrefetchKind.FULL,{href:I,as:B}=o.default.useMemo(()=>{if(!N){let e=y(s);return{href:e,as:g?y(g):e}}let[e,t]=(0,i.resolveHref)(N,s,!0);return{href:e,as:g?(0,i.resolveHref)(N,g):t||e}},[N,s,g]),Z=o.default.useRef(I),V=o.default.useRef(B);C&&(r=o.default.Children.only(n));let F=C?r&&"object"==typeof r&&r.ref:t,[U,K,H]=(0,d.useIntersection)({rootMargin:"200px"}),$=o.default.useCallback(e=>{(V.current!==B||Z.current!==I)&&(H(),V.current=B,Z.current=I),U(e),F&&("function"==typeof F?F(e):"object"==typeof F&&(F.current=e))},[B,F,I,H,U]);o.default.useEffect(()=>{T&&K&&D&&m(T,I,B,{locale:j},{kind:M},L)},[B,I,K,j,D,null==N?void 0:N.locale,T,L,M]);let G={ref:$,onClick(e){C||"function"!=typeof k||k(e),C&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),T&&!e.defaultPrevented&&function(e,t,n,r,i,s,u,c,l,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!l&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let h=()=>{let e=null==u||u;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:c,scroll:e}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!f,scroll:e})};l?o.default.startTransition(h):h()}(e,T,I,B,x,w,S,j,L,D)},onMouseEnter(e){C||"function"!=typeof E||E(e),C&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),T&&(D||!L)&&m(T,I,B,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:M},L)},onTouchStart(e){C||"function"!=typeof P||P(e),C&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),T&&(D||!L)&&m(T,I,B,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:M},L)}};if((0,u.isAbsoluteUrl)(B))G.href=B;else if(!C||O||"a"===r.type&&!("href"in r.props)){let e=void 0!==j?j:null==N?void 0:N.locale,t=(null==N?void 0:N.isLocaleDomain)&&(0,p.getDomainLocale)(B,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales);G.href=t||(0,h.addBasePath)((0,c.addLocale)(B,e,null==N?void 0:N.defaultLocale))}return C?o.default.cloneElement(r,G):o.default.createElement("a",{...A,...G},n)}),_=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(86694).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let r=n(67294),o=n(80517),i="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let{rootRef:t,rootMargin:n,disabled:u}=e,c=u||!i,[l,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);(0,r.useEffect)(()=>{if(i){if(c||l)return;let e=d.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},s.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!l){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,n,t,l,d.current]);let h=(0,r.useCallback)(()=>{f(!1)},[]);return[p,l,h]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},11221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return a},default:function(){return s}});let r=n(10260),o=(n(67294),r._(n(80177)));function i(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=o.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37747:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let r=n(10260),o=r._(n(67294)),i=o.default.createContext(null)},80177:function(e,t,n){"use strict";/**
@copyright (c) 2017-present James Kyle <me@thejameskyle.com>
 MIT License
 Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let r=n(10260),o=r._(n(67294)),i=n(37747),a=[],s=[],u=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function a(){if(!r){let t=new l(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!u){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return a()})}function c(e,t){!function(){a();let e=o.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let s=o.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),o.default.useMemo(()=>{var t;return s.loading||s.error?o.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?o.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>a(),c.displayName="LoadableComponent",o.default.forwardRef(c)}(c,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),f.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(u=!0,t());d(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=f.preloadReady;let p=f},91381:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return er}});var r,o=n(85893);n(76136),n(9034),n(19417),n(19321);var i=n(78831).HK,a=n(11163),s=n(67294),u=n(12413),c=n(1922),l=n(78879),f=e=>{(0,s.useEffect)(()=>{document.documentElement.lang=e;let t=new MutationObserver(()=>{document.documentElement.lang!==e&&(document.documentElement.lang=e)});return t.observe(document.documentElement,{attributeFilter:["lang"]}),()=>{t.disconnect()}},[e])},d=n(45746),p=e=>{let{children:t}=e,{locale:n}=(0,a.useRouter)(),r=n||(0,l.A)(),i=(0,s.useMemo)(()=>(0,u.yn)({locale:r}),[r]);return f((0,d.Y7)(r)),(0,o.jsx)(c.a3,{i18n:i,children:t})},h=n(20573),v=n(5152),g=n.n(v),m=function(){return(m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=!1;function _(){var e,t,n,r=(0,s.useState)(O),o=r[0],i=r[1],a=(t=(e=(0,s.useState)(!1))[0],n=e[1],(0,s.useEffect)(function(){x()&&n(!0)},[]),t);return(0,s.useEffect)(function(){if(a)return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)};function e(){i(O())}},[a]),a?o:null}function O(){return x()?window.innerHeight:null}function x(){return"undefined"!=typeof window&&"undefined"!=typeof document}(0,s.forwardRef)(function(e,t){var n=e.style,r=y(e,["style"]),o=_();!b&&(null==n?void 0:n.height)&&(b=!0,console.warn("<Div100vh /> overrides the height property of the style prop"));var i=m(m({},n),{height:o?o+"px":"100vh"});return s.createElement("div",m({ref:t,style:i},r))}).displayName="Div100vh";var w=n(45953),S=()=>{let e=(0,w.t)(),[t,n]=(0,s.useState)("100vw");return(0,s.useEffect)(()=>{let t=()=>{let t=document.documentElement.clientWidth;e()&&n(t.toString())};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t},j=n(97654);let k=async()=>{let{buildId:e}=(0,h.i)(),t=new XMLHttpRequest;return t.open("HEAD","/_next/static/".concat(e,"/_buildManifest.js"),!0),t.setRequestHeader("Pragma","no-cache"),t.setRequestHeader("Cache-Control","no-cache"),t.setRequestHeader("If-Modified-Since","Thu, 01 Jun 1970 00:00:00 GMT"),new Promise(e=>{t.onload=()=>{4===t.readyState&&(t.status>=200&&t.status<400?e(!0):e(!1))},t.onerror=()=>{e(void 0)},t.send(null)})},E=e=>{let{queryInterval:t}=e,[n,r]=(0,s.useState)(!0),o=(0,w.t)();return(0,s.useEffect)(()=>{let e=async()=>{try{let e=await k();o()&&r(e)}catch(e){}},n=setInterval(e,t);return()=>{clearInterval(n)}},[o,t]),n},P=()=>{window.location.reload()},C=()=>{let e=(0,a.useRouter)(),t=E({queryInterval:3e4}),n=(0,s.useRef)(t);(0,s.useEffect)(()=>{n.current=t},[t]);let r=(0,s.useCallback)(()=>{n.current||void 0===n.current||P()},[]);(0,s.useEffect)(()=>(e.events.on("routeChangeComplete",r),()=>{e.events.off("routeChangeComplete",r)}),[r,e.events])},A=g()(()=>Promise.all([n.e(725),n.e(4294),n.e(9331),n.e(12),n.e(263),n.e(1216),n.e(367)]).then(n.bind(n,38930)),{loadableGenerated:{webpack:()=>[38930]},ssr:!0}),N=g()(()=>Promise.all([n.e(725),n.e(12),n.e(1216),n.e(596)]).then(n.bind(n,12841)),{loadableGenerated:{webpack:()=>[12841]},ssr:!0}),R=()=>{C();let e=_(),t=S(),n=(0,j.c)(),{router:r,asVirtualPath:o}=n,{asPath:i}=r;return(0,s.useEffect)(()=>{i&&i!==o&&r.replace({query:r.query,pathname:r.pathname},o,{shallow:!0,scroll:!1}).catch(()=>{})},[i,o,r]),(0,s.useEffect)(()=>{e&&(window.document.body.style.setProperty("--vh","".concat(e,"px")),window.document.body.style.setProperty("height","".concat(e,"px"))),t&&(window.document.body.style.setProperty("--vw","".concat(t,"px")),window.document.body.style.setProperty("width","".concat(t,"px")))},[t,e]),null};var T=e=>{let{region:t,hideNavigation:n,children:r}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(R,{}),"ldf"===t||"df"===t?(0,o.jsx)(N,{children:r}):(0,o.jsx)(A,{hideNavigation:n,children:r})]})},L=n(53458),D=n(65885),M=n(29347),I=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),B=function(e){function t(t){var n=e.call(this,t)||this;return t.cookies?n.cookies=t.cookies:n.cookies=new D.Z,n}return I(t,e),t.prototype.render=function(){return s.createElement(M.zt,{value:this.cookies},this.props.children)},t}(s.Component);let Z=g()(async()=>(await Promise.all([n.e(3662),n.e(725),n.e(5476),n.e(8837),n.e(8255)]).then(n.bind(n,32320))).InvestorStatusToggleModal,{loadableGenerated:{webpack:()=>[32320]},ssr:!0}),V=e=>{let{children:t}=e,n=(0,L.uN)();return(0,o.jsx)(B,{children:(0,o.jsxs)(L.R9.Provider,{value:n,children:[t,n.showDeclarationModalForToggle&&(0,o.jsx)(Z,{})]})})};var F=n(71217),U=n(68949),K=n(9008),H=n.n(K),$=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("link",{rel:"icon",href:"/favicon-16x16.png",sizes:"16x16"}),(0,o.jsx)("link",{rel:"icon",href:"/favicon-32x32.png",sizes:"32x32"}),(0,o.jsx)("link",{rel:"icon",href:"/favicon-192x192.png",sizes:"192x192"}),(0,o.jsx)("link",{rel:"icon",href:"/favicon-512x512.png",sizes:"512x512"}),(0,o.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}),(0,o.jsx)("meta",{name:"msapplication-config",content:"/browserconfig.xml"}),(0,o.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"})]}),G=n(4298),z=n.n(G);let q=e=>e?"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','".concat(e,"');"):"";var W=()=>{let{locale:e}=(0,a.useRouter)(),{publicConfig:t,getCurrentCollection:n}=(0,h.i)(),r=t.gtmKey.default;if(e){var i,s;let o=n(e),a=null===(s=t.gtmKey)||void 0===s?void 0:null===(i=s.collections)||void 0===i?void 0:i[o];a&&(r=a)}let u=q(r);return(0,o.jsx)(o.Fragment,{children:u&&(0,o.jsx)(z(),{id:"google-gtm",strategy:"afterInteractive","data-testid":"google-gtm",children:u})})},J=n(69176),Y=n(450),X=n.n(Y),Q=n(10708),ee=n(57281),et=()=>{let[e,t]=(0,s.useState)(!1),[n,r]=(0,Q.Z)(["acceptedAudienceDeclaration"]),{publicConfig:o}=(0,h.i)();(0,s.useEffect)(()=>{let e="true"===n.acceptedAudienceDeclaration;t(e)},[n.acceptedAudienceDeclaration,t]);let i=(0,s.useCallback)(()=>{r("acceptedAudienceDeclaration","true",{secure:!0,sameSite:"strict",maxAge:ee.cw,path:"/"}),t(!0)},[t,r]);return{showAudienceDeclaration:o.useAudienceDeclaration&&!e,acceptAudienceDeclaration:i}},en=()=>{let{t:e}=(0,c.$G)("investorStatusModal"),{publicConfig:t}=(0,h.i)(),{showAudienceDeclaration:n,acceptAudienceDeclaration:r}=et();return(0,o.jsx)(J.Z,{show:n,handlePrimaryAction:()=>r(),cancelPath:t.urlAustralia,cancelText:e("audienceDeclarationModal:cancel"),confirmText:e("audienceDeclarationModal:confirm"),title:e("audienceDeclarationModal:title"),children:(0,o.jsx)("div",{"data-testid":"audience-declaration-modal-body",className:X().body,children:(0,o.jsx)(c.cC,{t:e,i18nKey:"audienceDeclarationModal:body"})})})};(0,F.DT)(!1),(0,U.jQ)({enforceActions:"always",computedRequiresReaction:!0,observableRequiresReaction:!0});var er=e=>{let{Component:t,pageProps:n}=e,r=(0,h.i)(),a=n.hideNavigation||!1;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(W,{}),(0,o.jsx)(i,{children:(0,o.jsxs)(p,{children:[(0,o.jsxs)(H(),{children:[(0,o.jsx)("meta",{name:"viewport",content:"minimum-scale=1, initial-scale=1, width=device-width"}),(0,o.jsx)($,{})]}),(0,o.jsx)(V,{children:(0,o.jsxs)(T,{region:r.region,hideNavigation:a,children:[(0,o.jsx)(t,{...n}),(0,o.jsx)(en,{})]})})]})})]})}},19417:function(){},9034:function(){},76136:function(){},19321:function(){},64938:function(e){e.exports={tertiaryButton:"u7TZng1",mediumButton:"__4suSZOQ",primaryButton:"a6Bqlae",secondaryButton:"ptKjqA4",secondarySpecialButton:"__7_1Edm1",button:"WNtD3jA",buttonContent:"_eB_i94",externalIcon:"rYY6Yif",disabled:"YRN7Vi9",active:"OCTJG2b",mobileFluid:"__7DqfhwE",largeButton:"G1Y6_36",smallButton:"OC8Ku2q",darkerTransparentBackground:"m0t6oxH"}},33627:function(e){e.exports={modalBody:"PO3VZgQ"}},94478:function(e){e.exports={modalFooter:"JvcsbeA"}},37876:function(e){e.exports={modalHeader:"el_4ldl"}},88264:function(e){e.exports={separator:"YHFmM3U"}},20647:function(e){e.exports={modal:"kGZZXBu",wrapper:"ymico8r",container:"dxpqDEb"}},23718:function(e){e.exports={separator:"rqC8arS"}},450:function(e){e.exports={body:"Y1CaB4_"}},32489:function(e){e.exports={modal:"NQRBZn7",button:"azaNDQy",modalFooter:"lPwPp_T",declarationModal:"Uu_SFOH"}},5152:function(e,t,n){e.exports=n(11221)},9008:function(e,t,n){e.exports=n(34605)},41664:function(e,t,n){e.exports=n(82994)},11163:function(e,t,n){e.exports=n(38355)},4298:function(e,t,n){e.exports=n(67616)},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],c=!1,l=-1;function f(){c&&r&&(c=!1,r.length?u=r.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(r=u,u=[];++l<t;)r&&r[l].run();l=-1,t=u.length}r=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},92703:function(e,t,n){"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62587:function(e){"use strict";e.exports=function(e,t,n,r){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var i=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var u=0;u<s;++u){var c,l,f,d,p=e[u].replace(i,"%20"),h=p.indexOf(n);(h>=0?(c=p.substr(0,h),l=p.substr(h+1)):(c=p,l=""),f=decodeURIComponent(c),d=decodeURIComponent(l),Object.prototype.hasOwnProperty.call(o,f))?Array.isArray(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o}},12361:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,o){return(n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e)?Object.keys(e).map(function(o){var i=encodeURIComponent(t(o))+r;return Array.isArray(e[o])?e[o].map(function(e){return i+encodeURIComponent(t(e))}).join(n):i+encodeURIComponent(t(e[o]))}).join(n):o?encodeURIComponent(t(o))+r+encodeURIComponent(t(e)):""}},17673:function(e,t,n){"use strict";t.decode=t.parse=n(62587),t.encode=t.stringify=n(12361)},76695:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(67294),o=n(78146),i=n(45697),a=n.n(i),s=n(94184),u=n.n(s),c=n(85893);let l={"aria-label":a().string,onClick:a().func,variant:a().oneOf(["white"])},f=r.forwardRef(({className:e,variant:t,...n},r)=>(0,c.jsx)("button",{ref:r,type:"button",className:u()("btn-close",t&&`btn-close-${t}`,e),...n}));f.displayName="CloseButton",f.propTypes=l,f.defaultProps={"aria-label":"Close"};var d=n(36467);let p=r.forwardRef(({closeLabel:e,closeVariant:t,closeButton:n,onHide:i,children:a,...s},u)=>{let l=(0,r.useContext)(d.Z),p=(0,o.Z)(()=>{null==l||l.onHide(),null==i||i()});return(0,c.jsxs)("div",{ref:u,...s,children:[a,n&&(0,c.jsx)(f,{"aria-label":e,variant:t,onClick:p})]})});p.defaultProps={closeLabel:"Close",closeButton:!1};var h=p},47030:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return d},t:function(){return f}});var o=n(11132),i=n(91505),a=n(60930);function s(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var u=n(88083);let c={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class l extends u.Z{adjustAndStore(e,t,n){let r=t.style[e];t.dataset[e]=r,(0,i.Z)(t,{[e]:`${parseFloat((0,i.Z)(t,e))+n}px`})}restore(e,t){let n=t.dataset[e];void 0!==n&&(delete t.dataset[e],(0,i.Z)(t,{[e]:n}))}setContainerStyle(e){var t;super.setContainerStyle(e);let n=this.getElement();if(t="modal-open",n.classList?n.classList.add(t):(0,o.Z)(n,t)||("string"==typeof n.className?n.className=n.className+" "+t:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+t)),!e.scrollBarWidth)return;let r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";(0,a.Z)(n,c.FIXED_CONTENT).forEach(t=>this.adjustAndStore(r,t,e.scrollBarWidth)),(0,a.Z)(n,c.STICKY_CONTENT).forEach(t=>this.adjustAndStore(i,t,-e.scrollBarWidth)),(0,a.Z)(n,c.NAVBAR_TOGGLER).forEach(t=>this.adjustAndStore(i,t,e.scrollBarWidth))}removeContainerStyle(e){var t;super.removeContainerStyle(e);let n=this.getElement();t="modal-open",n.classList?n.classList.remove(t):"string"==typeof n.className?n.className=s(n.className,t):n.setAttribute("class",s(n.className&&n.className.baseVal||"",t));let r=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";(0,a.Z)(n,c.FIXED_CONTENT).forEach(e=>this.restore(r,e)),(0,a.Z)(n,c.STICKY_CONTENT).forEach(e=>this.restore(o,e)),(0,a.Z)(n,c.NAVBAR_TOGGLER).forEach(e=>this.restore(o,e))}}function f(e){return r||(r=new l(e)),r}var d=l},31555:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(67294),a=n(76792),s=n(85893);let u=i.forwardRef((e,t)=>{let[{className:n,...r},{as:i="div",bsPrefix:u,spans:c}]=function({as:e,bsPrefix:t,className:n,...r}){t=(0,a.vE)(t,"col");let i=(0,a.pi)(),s=(0,a.zG)(),u=[],c=[];return i.forEach(e=>{let n,o,i;let a=r[e];delete r[e],"object"==typeof a&&null!=a?{span:n,offset:o,order:i}=a:n=a;let l=e!==s?`-${e}`:"";n&&u.push(!0===n?`${t}${l}`:`${t}${l}-${n}`),null!=i&&c.push(`order${l}-${i}`),null!=o&&c.push(`offset${l}-${o}`)}),[{...r,className:o()(n,...u,...c)},{as:e,bsPrefix:t,spans:u}]}(e);return(0,s.jsx)(i,{...r,ref:t,className:o()(n,!c.length&&u)})});u.displayName="Col",t.Z=u},10682:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(67294),a=n(76792),s=n(85893);let u=i.forwardRef(({bsPrefix:e,fluid:t,as:n="div",className:r,...i},u)=>{let c=(0,a.vE)(e,"container"),l="string"==typeof t?`-${t}`:"-fluid";return(0,s.jsx)(n,{ref:u,...i,className:o()(r,t?`${c}${l}`:c)})});u.displayName="Container",u.defaultProps={fluid:!1},t.Z=u},41068:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(67294),a=n(6988),s=n(93825),u=n(34509),c=n(9337),l=n(85893);let f={[a.d0]:"show",[a.cn]:"show"},d=i.forwardRef(({className:e,children:t,transitionClasses:n={},...r},a)=>{let d=(0,i.useCallback)((e,t)=>{(0,u.Z)(e),null==r.onEnter||r.onEnter(e,t)},[r]);return(0,l.jsx)(c.Z,{ref:a,addEndListener:s.Z,...r,onEnter:d,childRef:t.ref,children:(r,a)=>i.cloneElement(t,{...a,className:o()("fade",e,t.props.className,f[r],n[r])})})});d.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},d.displayName="Fade",t.Z=d},6212:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r,o=n(94184),i=n.n(o),a=n(9351),s=n(23004),u=n(67216),c=n(30099);function l(e){if((!r&&0!==r||e)&&s.Z){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),r=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return r}var f=n(32092),d=n(78146),p=n(35654),h=n(76852),v=n(94305),g=n(67294),m=n(16664),y=n(47030),b=n(41068),_=n(66611),O=(0,_.Z)("modal-body"),x=n(36467),w=n(76792),S=n(85893);let j=g.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:o,fullscreen:a,children:s,scrollable:u,...c},l)=>{e=(0,w.vE)(e,"modal");let f=`${e}-dialog`,d="string"==typeof a?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,S.jsx)("div",{...c,ref:l,className:i()(f,t,o&&`${e}-${o}`,r&&`${f}-centered`,u&&`${f}-scrollable`,a&&d),children:(0,S.jsx)("div",{className:i()(`${e}-content`,n),children:s})})});j.displayName="ModalDialog";var k=(0,_.Z)("modal-footer"),E=n(76695);let P=g.forwardRef(({bsPrefix:e,className:t,...n},r)=>(e=(0,w.vE)(e,"modal-header"),(0,S.jsx)(E.Z,{ref:r,...n,className:i()(t,e)})));P.displayName="ModalHeader",P.defaultProps={closeLabel:"Close",closeButton:!1};var C=n(39602);let A=(0,C.Z)("h4");var N=(0,_.Z)("modal-title",{Component:A});function R(e){return(0,S.jsx)(b.Z,{...e,timeout:null})}function T(e){return(0,S.jsx)(b.Z,{...e,timeout:null})}let L=g.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:o,children:b,dialogAs:_,"aria-labelledby":O,"aria-describedby":j,"aria-label":k,show:E,animation:P,backdrop:C,keyboard:A,onEscapeKeyDown:N,onShow:L,onHide:D,container:M,autoFocus:I,enforceFocus:B,restoreFocus:Z,restoreFocusOptions:V,onEntered:F,onExit:U,onExiting:K,onEnter:H,onEntering:$,onExited:G,backdropClassName:z,manager:q,...W},J)=>{let[Y,X]=(0,g.useState)({}),[Q,ee]=(0,g.useState)(!1),et=(0,g.useRef)(!1),en=(0,g.useRef)(!1),er=(0,g.useRef)(null),[eo,ei]=(0,f.Z)(),ea=(0,p.Z)(J,ei),es=(0,d.Z)(D),eu=(0,w.SC)();e=(0,w.vE)(e,"modal");let ec=(0,g.useMemo)(()=>({onHide:es}),[es]);function el(){return q||(0,y.t)({isRTL:eu})}function ef(e){if(!s.Z)return;let t=el().getScrollbarWidth()>0,n=e.scrollHeight>(0,u.Z)(e).documentElement.clientHeight;X({paddingRight:t&&!n?l():void 0,paddingLeft:!t&&n?l():void 0})}let ed=(0,d.Z)(()=>{eo&&ef(eo.dialog)});(0,h.Z)(()=>{(0,c.Z)(window,"resize",ed),null==er.current||er.current()});let ep=()=>{et.current=!0},eh=e=>{et.current&&eo&&e.target===eo.dialog&&(en.current=!0),et.current=!1},ev=()=>{ee(!0),er.current=(0,v.Z)(eo.dialog,()=>{ee(!1)})},eg=e=>{e.target===e.currentTarget&&ev()},em=e=>{if("static"===C){eg(e);return}if(en.current||e.target!==e.currentTarget){en.current=!1;return}null==D||D()},ey=(0,g.useCallback)(t=>(0,S.jsx)("div",{...t,className:i()(`${e}-backdrop`,z,!P&&"show")}),[P,z,e]),eb={...n,...Y};return eb.display="block",(0,S.jsx)(x.Z.Provider,{value:ec,children:(0,S.jsx)(m.Z,{show:E,ref:ea,backdrop:C,container:M,keyboard:!0,autoFocus:I,enforceFocus:B,restoreFocus:Z,restoreFocusOptions:V,onEscapeKeyDown:e=>{A?null==N||N(e):(e.preventDefault(),"static"===C&&ev())},onShow:L,onHide:D,onEnter:(e,t)=>{e&&ef(e),null==H||H(e,t)},onEntering:(e,t)=>{null==$||$(e,t),(0,a.ZP)(window,"resize",ed)},onEntered:F,onExit:e=>{null==er.current||er.current(),null==U||U(e)},onExiting:K,onExited:e=>{e&&(e.style.display=""),null==G||G(e),(0,c.Z)(window,"resize",ed)},manager:el(),transition:P?R:void 0,backdropTransition:P?T:void 0,renderBackdrop:ey,renderDialog:n=>(0,S.jsx)("div",{role:"dialog",...n,style:eb,className:i()(t,e,Q&&`${e}-static`,!P&&"show"),onClick:C?em:void 0,onMouseUp:eh,"aria-label":k,"aria-labelledby":O,"aria-describedby":j,children:(0,S.jsx)(_,{...W,onMouseDown:ep,className:r,contentClassName:o,children:b})})})})});L.displayName="Modal",L.defaultProps={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:j};var D=Object.assign(L,{Body:O,Header:P,Title:N,Footer:k,Dialog:j,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},36467:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext({onHide(){}});t.Z=o},34051:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(67294),a=n(76792),s=n(85893);let u=i.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{let u=(0,a.vE)(e,"row"),c=(0,a.pi)(),l=(0,a.zG)(),f=`${u}-cols`,d=[];return c.forEach(e=>{let t;let n=r[e];delete r[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n;let o=e!==l?`-${e}`:"";null!=t&&d.push(`${f}${o}-${t}`)}),(0,s.jsx)(n,{ref:i,...r,className:o()(t,u,...d)})});u.displayName="Row",t.Z=u},76792:function(e,t,n){"use strict";n.d(t,{SC:function(){return l},pi:function(){return u},vE:function(){return s},zG:function(){return c}});var r=n(67294);n(85893);let o=r.createContext({prefixes:{},breakpoints:["xxl","xl","lg","md","sm","xs"],minBreakpoint:"xs"}),{Consumer:i,Provider:a}=o;function s(e,t){let{prefixes:n}=(0,r.useContext)(o);return e||n[t]||t}function u(){let{breakpoints:e}=(0,r.useContext)(o);return e}function c(){let{minBreakpoint:e}=(0,r.useContext)(o);return e}function l(){let{dir:e}=(0,r.useContext)(o);return"rtl"===e}},9337:function(e,t,n){"use strict";var r=n(67294),o=n(6988),i=n(35654),a=n(8285),s=n(85893);let u=r.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:u,onExiting:c,onExited:l,addEndListener:f,children:d,childRef:p,...h},v)=>{let g=(0,r.useRef)(null),m=(0,i.Z)(g,p),y=e=>{m((0,a.Z)(e))},b=e=>t=>{e&&g.current&&e(g.current,t)},_=(0,r.useCallback)(b(e),[e]),O=(0,r.useCallback)(b(t),[t]),x=(0,r.useCallback)(b(n),[n]),w=(0,r.useCallback)(b(u),[u]),S=(0,r.useCallback)(b(c),[c]),j=(0,r.useCallback)(b(l),[l]),k=(0,r.useCallback)(b(f),[f]);return(0,s.jsx)(o.ZP,{ref:v,...h,onEnter:_,onEntered:x,onEntering:O,onExit:w,onExited:j,onExiting:S,addEndListener:k,nodeRef:g,children:"function"==typeof d?(e,t)=>d(e,{...t,ref:y}):r.cloneElement(d,{ref:y})})});t.Z=u},66611:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(94184),o=n.n(r),i=/-(.)/g,a=n(67294),s=n(76792),u=n(85893);let c=e=>e[0].toUpperCase()+e.replace(i,function(e,t){return t.toUpperCase()}).slice(1);function l(e,{displayName:t=c(e),Component:n,defaultProps:r}={}){let i=a.forwardRef(({className:t,bsPrefix:r,as:i=n||"div",...a},c)=>{let l=(0,s.vE)(r,e);return(0,u.jsx)(i,{ref:c,className:o()(t,l),...a})});return i.defaultProps=r,i.displayName=t,i}},39602:function(e,t,n){"use strict";var r=n(67294),o=n(94184),i=n.n(o),a=n(85893);t.Z=e=>r.forwardRef((t,n)=>(0,a.jsx)("div",{...t,ref:n,className:i()(t.className,e)}))},8285:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e&&"setState"in e?r.findDOMNode(e):null!=e?e:null}},93825:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(91505),o=n(94305);function i(e,t){let n=(0,r.Z)(e,t)||"",o=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*o}function a(e,t){let n=i(e,"transitionDuration"),r=i(e,"transitionDelay"),a=(0,o.Z)(e,n=>{n.target===e&&(a(),t(n))},n+r)}},34509:function(e,t,n){"use strict";function r(e){e.offsetHeight}n.d(t,{Z:function(){return r}})},29347:function(e,t,n){"use strict";n.d(t,{zt:function(){return a},ZP:function(){return s}});var r=n(67294),o=n(65885).Z,i=r.createContext(new o),a=i.Provider;i.Consumer;var s=i},10708:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(29347);function i(e){var t=(0,r.useContext)(o.ZP);if(!t)throw Error("Missing <CookiesProvider>");var n=t.getAll(),i=(0,r.useState)(n),a=i[0],s=i[1],u=(0,r.useRef)(a);return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,r.useLayoutEffect)(function(){function n(){var n=t.getAll();(function(e,t,n){if(!e)return!0;for(var r=0;r<e.length;r++){var o=e[r];if(t[o]!==n[o])return!0}return!1})(e||null,n,u.current)&&s(n),u.current=n}return t.addChangeListener(n),function(){t.removeChangeListener(n)}},[t]),[a,(0,r.useMemo)(function(){return t.set.bind(t)},[t]),(0,r.useMemo)(function(){return t.remove.bind(t)},[t])]}},6988:function(e,t,n){"use strict";n.d(t,{cn:function(){return f},d0:function(){return l},Wj:function(){return c},Ix:function(){return d},ZP:function(){return v}});var r=n(19756),o=n(67294),i=n(73935),a={disabled:!1},s=o.createContext(null),u="unmounted",c="exited",l="entering",f="entered",d="exiting",p=function(e){function t(t,n){r=e.call(this,t,n)||this;var r,o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=c,r.appearStatus=l):o=f:o=t.unmountOnExit||t.mountOnEnter?u:c,r.state={status:o},r.nextCallback=null,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:c}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(t=l):(n===l||n===f)&&(t=d)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){if(this.cancelNextCallback(),t===l){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);n&&n.scrollTop}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[i.findDOMNode(this),r],s=o[0],u=o[1],c=this.getTimeouts(),d=r?c.appear:c.enter;if(!e&&!n||a.disabled){this.safeSetState({status:f},function(){t.props.onEntered(s)});return}this.props.onEnter(s,u),this.safeSetState({status:l},function(){t.props.onEntering(s,u),t.onTransitionEnd(d,function(){t.safeSetState({status:f},function(){t.props.onEntered(s,u)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:i.findDOMNode(this);if(!t||a.disabled){this.safeSetState({status:c},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:d},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:c},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(s.Provider,{value:null},"function"==typeof n?n(e,i):o.cloneElement(o.Children.only(n),i))},t}(o.Component);function h(){}p.contextType=s,p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},p.UNMOUNTED=u,p.EXITED=c,p.ENTERING=l,p.ENTERED=f,p.EXITING=d;var v=p},65885:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(38087);function o(e,t){void 0===t&&(t={});var n,r=e&&"j"===e[0]&&":"===e[1]?e.substr(2):e;if(void 0===(n=t.doNotParse)&&(n=!r||"{"!==r[0]&&"["!==r[0]&&'"'!==r[0]),!n)try{return JSON.parse(r)}catch(e){}return e}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?r.Q(e,t):"object"==typeof e&&null!==e?e:{},new Promise(function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=r.Q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),o(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=o(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var o;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=i(i({},this.cookies),((o={})[e]=t,o)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.q(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=i(i({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=i({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.q(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}()},38087:function(e,t){"use strict";/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.Q=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},o=e.split(";"),i=(t||{}).decode||n,a=0;a<o.length;a++){var s=o[a],u=s.indexOf("=");if(!(u<0)){var c=s.substring(0,u).trim();if(void 0==r[c]){var l=s.substring(u+1,s.length).trim();'"'===l[0]&&(l=l.slice(1,-1)),r[c]=function(e,t){try{return t(e)}catch(t){return e}}(l,i)}}}return r},t.q=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw TypeError("argument val is invalid");var u=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");u+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(u+="; HttpOnly"),i.secure&&(u+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var n=decodeURIComponent,r=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},71739:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},1922:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{a3:function(){return K},cC:function(){return I},$G:function(){return U}});var s,u=n(67294),c=n(71739),l=n.n(c),f=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function d(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(l()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(f),i=null;null!==(i=o.exec(e));)if(i[0].trim()){if(i[1]){var a=i[1].trim(),s=[a,""];a.indexOf("=")>-1&&(s=a.split("=")),t.attrs[s[0]]=s[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1))}return t}var p=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,h=/^\s*$/,v=Object.create(null),g={parse:function(e,t){t||(t={}),t.components||(t.components=v);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");r.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(p,function(s,u){if(a){if(s!=="</"+n.name+">")return;a=!1}var c,l="/"!==s.charAt(1),f=s.startsWith("<!--"),p=u+s.length,v=e.charAt(p);if(f){var g=d(s);return i<0?r.push(g):(c=o[i]).children.push(g),r}if(l&&(i++,"tag"===(n=d(s)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!v||"<"===v||n.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===i&&r.push(n),(c=o[i-1])&&c.children.push(n),o[i]=n),(!l||n.voidElement)&&(i>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(n=-1==--i?r:o[i]),!a&&"<"!==v&&v)){c=-1===i?r:o[i].children;var m=e.indexOf("<",p),y=e.slice(p,-1===m?void 0:m);h.test(y)&&(y=" "),(m>-1&&i+c.length>=0||" "!==y)&&c.push({type:"text",content:y})}}),r},stringify:function(e){return e.reduce(function(e,t){return e+function e(t,n){switch(n.type){case"text":return t+n.content;case"tag":return t+="<"+n.name+(n.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(n.attrs):"")+(n.voidElement?"/>":">"),n.voidElement?t:t+n.children.reduce(e,"")+"</"+n.name+">";case"comment":return t+"<!--"+n.comment+"-->"}}("",t)},"")}};function m(){if(console&&console.warn){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var y={};function b(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&y[t[0]]||("string"==typeof t[0]&&(y[t[0]]=new Date),m.apply(void 0,t))}function _(e,t,n){e.loadNamespaces(t,function(){e.isInitialized?n():e.on("initialized",function t(){setTimeout(function(){e.off("initialized",t)},0),n()})})}var O=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,x={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},w=function(e){return x[e]},S={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(O,w)}},j=["format"],k=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function A(e){return e?e.props?e.props.children:e.children:[]}function N(e){return Array.isArray(e)?e:[e]}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}var T=(0,u.createContext)(),L=function(){var e,t;function n(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),this.usedNamespaces={}}return e=[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach(function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}],R(n.prototype,e),t&&R(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(),D=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function I(e){var t=e.children,n=e.count,o=e.parent,c=e.i18nKey,l=e.context,f=e.tOptions,d=e.values,p=e.defaults,h=e.components,v=e.ns,y=e.i18n,_=e.t,O=e.shouldUnescape,x=a(e,D),w=(0,u.useContext)(T)||{},E=w.i18n,R=w.defaultNS,L=y||E||s,I=_||L&&L.t.bind(L);return function(e){var t=e.children,n=e.count,o=e.parent,i=e.i18nKey,c=e.context,l=e.tOptions,f=void 0===l?{}:l,d=e.values,p=e.defaults,h=e.components,v=e.ns,y=e.i18n,_=e.t,O=e.shouldUnescape,x=a(e,k),w=y||s;if(!w)return b("You will need to pass in an i18next instance by using i18nextReactModule"),t;var E=_||w.t.bind(w)||function(e){return e};c&&(f.context=c);var R=P(P({},S),w.options&&w.options.react),T=v||E.ns||w.options&&w.options.defaultNS;T="string"==typeof T?[T]:T||["translation"];var L=p||function e(t,n){if(!t)return"";var o="",i=N(t),s=n.transSupportBasicHtmlNodes&&n.transKeepBasicHtmlNodesFor?n.transKeepBasicHtmlNodesFor:[];return i.forEach(function(t,i){if("string"==typeof t)o+="".concat(t);else if((0,u.isValidElement)(t)){var c=Object.keys(t.props).length,l=s.indexOf(t.type)>-1,f=t.props.children;if(!f&&l&&0===c)o+="<".concat(t.type,"/>");else if(f||l&&0===c){if(t.props.i18nIsDynamicList)o+="<".concat(i,"></").concat(i,">");else if(l&&1===c&&"string"==typeof f)o+="<".concat(t.type,">").concat(f,"</").concat(t.type,">");else{var d=e(f,n);o+="<".concat(i,">").concat(d,"</").concat(i,">")}}else o+="<".concat(i,"></").concat(i,">")}else if(null===t)m("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===r(t)){var p=t.format,h=Object.keys(a(t,j));if(1===h.length){var v=p?"".concat(h[0],", ").concat(p):h[0];o+="{{".concat(v,"}}")}else m("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else m("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)}),o}(t,R)||R.transEmptyNodeValue||i,D=R.hashTransKey,M=i||(D?D(L):L),I=d?f.interpolation:{interpolation:P(P({},f.interpolation),{},{prefix:"#$?",suffix:"?$#"})},B=P(P(P(P({},f),{},{count:n},d),I),{},{defaultValue:L,ns:T}),Z=function(e,t,n,o,i,a){if(""===t)return[];var s=o.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(s.join("|")).test(t);if(!e&&!c)return[t];var l={};!function e(t){N(t).forEach(function(t){"string"==typeof t||(C(t)?e(A(t)):"object"!==r(t)||(0,u.isValidElement)(t)||Object.assign(l,t))})}(e);var f=g.parse("<0>".concat(t,"</0>")),d=P(P({},l),i);function p(e,t,n){var r=A(e),o=v(r,t.children,n);return"[object Array]"===Object.prototype.toString.call(r)&&r.every(function(e){return(0,u.isValidElement)(e)})&&0===o.length?r:o}function h(e,t,n,r,o){e.dummy&&(e.children=t),n.push((0,u.cloneElement)(e,P(P({},e.props),{},{key:r}),o?void 0:t))}function v(t,i,l){var f=N(t);return N(i).reduce(function(t,i,g){var m=i.children&&i.children[0]&&i.children[0].content&&n.services.interpolator.interpolate(i.children[0].content,d,n.language);if("tag"===i.type){var y,b,_,O=f[parseInt(i.name,10)];!O&&1===l.length&&l[0][i.name]&&(O=l[0][i.name]),O||(O={});var x=0!==Object.keys(i.attrs).length?(y={props:i.attrs},(_=P({},b=O)).props=Object.assign(y.props,b.props),_):O,w=(0,u.isValidElement)(x),S=w&&C(i,!0)&&!i.voidElement,j=c&&"object"===r(x)&&x.dummy&&!w,k="object"===r(e)&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof x){var E=n.services.interpolator.interpolate(x,d,n.language);t.push(E)}else if(C(x)||S){var A=p(x,i,l);h(x,A,t,g)}else if(j){var N=v(f,i.children,l);t.push((0,u.cloneElement)(x,P(P({},x.props),{},{key:g}),N))}else if(Number.isNaN(parseFloat(i.name))){if(k){var R=p(x,i,l);h(x,R,t,g,i.voidElement)}else if(o.transSupportBasicHtmlNodes&&s.indexOf(i.name)>-1){if(i.voidElement)t.push((0,u.createElement)(i.name,{key:"".concat(i.name,"-").concat(g)}));else{var T=v(f,i.children,l);t.push((0,u.createElement)(i.name,{key:"".concat(i.name,"-").concat(g)},T))}}else if(i.voidElement)t.push("<".concat(i.name," />"));else{var L=v(f,i.children,l);t.push("<".concat(i.name,">").concat(L,"</").concat(i.name,">"))}}else if("object"!==r(x)||w)1===i.children.length&&m?t.push((0,u.cloneElement)(x,P(P({},x.props),{},{key:g}),m)):t.push((0,u.cloneElement)(x,P(P({},x.props),{},{key:g})));else{var D=i.children[0]?m:null;D&&t.push(D)}}else if("text"===i.type){var M=o.transWrapTextNodes,I=a?o.unescape(n.services.interpolator.interpolate(i.content,d,n.language)):n.services.interpolator.interpolate(i.content,d,n.language);M?t.push((0,u.createElement)(M,{key:"".concat(i.name,"-").concat(g)},I)):t.push(I)}return t},[])}return A(v([{dummy:!0,children:e||[]}],f,N(e||[]))[0])}(h||t,M?E(M,B):L,w,R,B,O),V=void 0!==o?o:R.defaultTransParent;return V?(0,u.createElement)(V,x,Z):Z}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({children:t,count:n,parent:o,i18nKey:c,context:l,tOptions:void 0===f?{}:f,values:d,defaults:p,components:h,ns:v||I&&I.ns||R||L&&L.options&&L.options.defaultNS,i18n:L,t:_,shouldUnescape:O},x))}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var F=function(e,t){var n=(0,u.useRef)();return(0,u.useEffect)(function(){n.current=t?n.current:e},[e,t]),n.current};function U(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.i18n,o=(0,u.useContext)(T)||{},i=o.i18n,a=o.defaultNS,c=r||i||s;if(c&&!c.reportNamespaces&&(c.reportNamespaces=new L),!c){b("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},f=[l,{},!1];return f.t=l,f.i18n={},f.ready=!1,f}c.options.react&&void 0!==c.options.react.wait&&b("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=V(V(V({},S),c.options.react),n),p=d.useSuspense,h=d.keyPrefix,v=e||a||c.options&&c.options.defaultNS;v="string"==typeof v?[v]:v||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(v);var g=(c.isInitialized||c.initializedStoreOnce)&&v.every(function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};return(!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!a(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!o||a(i,e)))}(e,t,n):(b("i18n.languages were undefined or empty",t.languages),!0)}(e,c,d)});function m(){return c.getFixedT(null,"fallback"===d.nsMode?v:v[0],h)}var y=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(m))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,2)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),O=y[0],x=y[1],w=v.join(),j=F(w),k=(0,u.useRef)(!0);(0,u.useEffect)(function(){var e=d.bindI18n,t=d.bindI18nStore;function n(){k.current&&x(m)}return k.current=!0,g||p||_(c,v,function(){k.current&&x(m)}),g&&j&&j!==w&&k.current&&x(m),e&&c&&c.on(e,n),t&&c&&c.store.on(t,n),function(){k.current=!1,e&&c&&e.split(" ").forEach(function(e){return c.off(e,n)}),t&&c&&t.split(" ").forEach(function(e){return c.store.off(e,n)})}},[c,w]);var E=(0,u.useRef)(!0);(0,u.useEffect)(function(){k.current&&!E.current&&x(m),E.current=!1},[c,h]);var P=[O,c,g];if(P.t=O,P.i18n=c,P.ready=g,g||!g&&!p)return P;throw new Promise(function(e){_(c,v,function(){e()})})}function K(e){var t=e.i18n,n=e.defaultNS,r=e.children,o=(0,u.useMemo)(function(){return{i18n:t,defaultNS:n}},[t,n]);return(0,u.createElement)(T.Provider,{value:o},r)}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(38355)}),_N_E=e.O()}]);