1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b9693960-3d3f-5d55-c801-9101bd0fde37")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,912953,992486,e=>{"use strict";var t=e.i(89500),n=e.i(561205),r=e.i(185173);function i(e){let n=(0,r.getComputedStyle)(e),i=parseFloat(n.width)||0,o=parseFloat(n.height)||0,a=(0,r.isHTMLElement)(e),s=a?e.offsetWidth:i,u=a?e.offsetHeight:o,l=(0,t.round)(i)!==s||(0,t.round)(o)!==u;return l&&(i=s,o=u),{width:i,height:o,$:l}}function o(e){return(0,r.isElement)(e)?e:e.contextElement}function a(e){let n=o(e);if(!(0,r.isHTMLElement)(n))return(0,t.createCoords)(1);let a=n.getBoundingClientRect(),{width:s,height:u,$:l}=i(n),c=(l?(0,t.round)(a.width):a.width)/s,f=(l?(0,t.round)(a.height):a.height)/u;return c&&Number.isFinite(c)||(c=1),f&&Number.isFinite(f)||(f=1),{x:c,y:f}}let s=(0,t.createCoords)(0);function u(e){let t=(0,r.getWindow)(e);return(0,r.isWebKit)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:s}function l(e,n,i,s){var l;void 0===n&&(n=!1),void 0===i&&(i=!1);let c=e.getBoundingClientRect(),f=o(e),h=(0,t.createCoords)(1);n&&(s?(0,r.isElement)(s)&&(h=a(s)):h=a(e));let d=(void 0===(l=i)&&(l=!1),s&&(!l||s===(0,r.getWindow)(f))&&l)?u(f):(0,t.createCoords)(0),v=(c.left+d.x)/h.x,_=(c.top+d.y)/h.y,p=c.width/h.x,g=c.height/h.y;if(f){let e=(0,r.getWindow)(f),t=s&&(0,r.isElement)(s)?(0,r.getWindow)(s):s,n=e,i=(0,r.getFrameElement)(n);for(;i&&s&&t!==n;){let e=a(i),t=i.getBoundingClientRect(),o=(0,r.getComputedStyle)(i),s=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,u=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;v*=e.x,_*=e.y,p*=e.x,g*=e.y,v+=s,_+=u,n=(0,r.getWindow)(i),i=(0,r.getFrameElement)(n)}}return(0,t.rectToClientRect)({width:p,height:g,x:v,y:_})}function c(e,t){let n=(0,r.getNodeScroll)(e).scrollLeft;return t?t.left+n:l((0,r.getDocumentElement)(e)).left+n}function f(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-c(e,n),y:n.top+t.scrollTop}}function h(e,n,i){var o;let s;if("viewport"===n)s=function(e,t){let n=(0,r.getWindow)(e),i=(0,r.getDocumentElement)(e),o=n.visualViewport,a=i.clientWidth,s=i.clientHeight,u=0,l=0;if(o){a=o.width,s=o.height;let e=(0,r.isWebKit)();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,l=o.offsetTop)}let f=c(i);if(f<=0){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r);o<=25&&(a-=o)}else f<=25&&(a+=f);return{width:a,height:s,x:u,y:l}}(e,i);else if("document"===n){let n,i,a,u,l,f,h;o=(0,r.getDocumentElement)(e),n=(0,r.getDocumentElement)(o),i=(0,r.getNodeScroll)(o),a=o.ownerDocument.body,u=(0,t.max)(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),l=(0,t.max)(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight),f=-i.scrollLeft+c(o),h=-i.scrollTop,"rtl"===(0,r.getComputedStyle)(a).direction&&(f+=(0,t.max)(n.clientWidth,a.clientWidth)-u),s={width:u,height:l,x:f,y:h}}else if((0,r.isElement)(n)){let e,o,u,c,f,h;o=(e=l(n,!0,"fixed"===i)).top+n.clientTop,u=e.left+n.clientLeft,c=(0,r.isHTMLElement)(n)?a(n):(0,t.createCoords)(1),f=n.clientWidth*c.x,h=n.clientHeight*c.y,s={width:f,height:h,x:u*c.x,y:o*c.y}}else{let t=u(e);s={x:n.x-t.x,y:n.y-t.y,width:n.width,height:n.height}}return(0,t.rectToClientRect)(s)}function d(e){return"static"===(0,r.getComputedStyle)(e).position}function v(e,t){if(!(0,r.isHTMLElement)(e)||"fixed"===(0,r.getComputedStyle)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,r.getDocumentElement)(e)===n&&(n=n.ownerDocument.body),n}function _(e,t){let n=(0,r.getWindow)(e);if((0,r.isTopLayer)(e))return n;if(!(0,r.isHTMLElement)(e)){let t=(0,r.getParentNode)(e);for(;t&&!(0,r.isLastTraversableNode)(t);){if((0,r.isElement)(t)&&!d(t))return t;t=(0,r.getParentNode)(t)}return n}let i=v(e,t);for(;i&&(0,r.isTableElement)(i)&&d(i);)i=v(i,t);return i&&(0,r.isLastTraversableNode)(i)&&d(i)&&!(0,r.isContainingBlock)(i)?n:i||(0,r.getContainingBlock)(e)||n}let p=async function(e){let n=this.getOffsetParent||_,i=this.getDimensions,o=await i(e.floating);return{reference:function(e,n,i){let o=(0,r.isHTMLElement)(n),a=(0,r.getDocumentElement)(n),s="fixed"===i,u=l(e,!0,s,n),h={scrollLeft:0,scrollTop:0},d=(0,t.createCoords)(0);if(o||!o&&!s)if(("body"!==(0,r.getNodeName)(n)||(0,r.isOverflowElement)(a))&&(h=(0,r.getNodeScroll)(n)),o){let e=l(n,!0,s,n);d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}else a&&(d.x=c(a));s&&!o&&a&&(d.x=c(a));let v=!a||o||s?(0,t.createCoords)(0):f(a,h);return{x:u.left+h.scrollLeft-d.x-v.x,y:u.top+h.scrollTop-d.y-v.y,width:u.width,height:u.height}}(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},g={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:n,rect:i,offsetParent:o,strategy:s}=e,u="fixed"===s,c=(0,r.getDocumentElement)(o),h=!!n&&(0,r.isTopLayer)(n.floating);if(o===c||h&&u)return i;let d={scrollLeft:0,scrollTop:0},v=(0,t.createCoords)(1),_=(0,t.createCoords)(0),p=(0,r.isHTMLElement)(o);if((p||!p&&!u)&&(("body"!==(0,r.getNodeName)(o)||(0,r.isOverflowElement)(c))&&(d=(0,r.getNodeScroll)(o)),p)){let e=l(o);v=a(o),_.x=e.x+o.clientLeft,_.y=e.y+o.clientTop}let g=!c||p||u?(0,t.createCoords)(0):f(c,d);return{width:i.width*v.x,height:i.height*v.y,x:i.x*v.x-d.scrollLeft*v.x+_.x+g.x,y:i.y*v.y-d.scrollTop*v.y+_.y+g.y}},getDocumentElement:r.getDocumentElement,getClippingRect:function(e){let{element:n,boundary:i,rootBoundary:o,strategy:a}=e,s=[..."clippingAncestors"===i?(0,r.isTopLayer)(n)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=(0,r.getOverflowAncestors)(e,[],!1).filter(e=>(0,r.isElement)(e)&&"body"!==(0,r.getNodeName)(e)),o=null,a="fixed"===(0,r.getComputedStyle)(e).position,s=a?(0,r.getParentNode)(e):e;for(;(0,r.isElement)(s)&&!(0,r.isLastTraversableNode)(s);){let t=(0,r.getComputedStyle)(s),n=(0,r.isContainingBlock)(s);n||"fixed"!==t.position||(o=null),(a?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||(0,r.isOverflowElement)(s)&&!n&&function e(t,n){let i=(0,r.getParentNode)(t);return!(i===n||!(0,r.isElement)(i)||(0,r.isLastTraversableNode)(i))&&("fixed"===(0,r.getComputedStyle)(i).position||e(i,n))}(e,s)))?o=t:i=i.filter(e=>e!==s),s=(0,r.getParentNode)(s)}return t.set(e,i),i}(n,this._c):[].concat(i),o],u=h(n,s[0],a),l=u.top,c=u.right,f=u.bottom,d=u.left;for(let e=1;e<s.length;e++){let r=h(n,s[e],a);l=(0,t.max)(r.top,l),c=(0,t.min)(r.right,c),f=(0,t.min)(r.bottom,f),d=(0,t.max)(r.left,d)}return{width:c-d,height:f-l,x:d,y:l}},getOffsetParent:_,getElementRects:p,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=i(e);return{width:t,height:n}},getScale:a,isElement:r.isElement,isRTL:function(e){return"rtl"===(0,r.getComputedStyle)(e).direction}};function b(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}n.detectOverflow;let m=n.offset,y=n.autoPlacement,w=n.shift,O=n.flip,x=n.size,S=n.hide,A=n.arrow,k=n.inline,E=n.limitShift,P=(e,t,r)=>{let i=new Map,o={platform:g,...r},a={...o.platform,_c:i};
2return(0,n.computePosition)(e,t,{...o,platform:a})};e.s(["arrow",0,A,"autoPlacement",0,y,"autoUpdate",0,function(e,n,i,a){let s;void 0===a&&(a={});let{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:h="function"==typeof IntersectionObserver,animationFrame:d=!1}=a,v=o(e),_=u||c?[...v?(0,r.getOverflowAncestors)(v):[],...n?(0,r.getOverflowAncestors)(n):[]]:[];_.forEach(e=>{u&&e.addEventListener("scroll",i,{passive:!0}),c&&e.addEventListener("resize",i)});let p=v&&h?function(e,n){let i,o=null,a=(0,r.getDocumentElement)(e);function s(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}return!function r(u,l){void 0===u&&(u=!1),void 0===l&&(l=1),s();let c=e.getBoundingClientRect(),{left:f,top:h,width:d,height:v}=c;if(u||n(),!d||!v)return;let _={rootMargin:-(0,t.floor)(h)+"px "+-(0,t.floor)(a.clientWidth-(f+d))+"px "+-(0,t.floor)(a.clientHeight-(h+v))+"px "+-(0,t.floor)(f)+"px",threshold:(0,t.max)(0,(0,t.min)(1,l))||1},p=!0;function g(t){let n=t[0].intersectionRatio;if(n!==l){if(!p)return r();n?r(!1,n):i=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==n||b(c,e.getBoundingClientRect())||r(),p=!1}try{o=new IntersectionObserver(g,{..._,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(g,_)}o.observe(e)}(!0),s}(v,i):null,g=-1,m=null;f&&(m=new ResizeObserver(e=>{let[t]=e;t&&t.target===v&&m&&n&&(m.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(n)})),i()}),v&&!d&&m.observe(v),n&&m.observe(n));let y=d?l(e):null;return d&&function t(){let n=l(e);y&&!b(y,n)&&i(),y=n,s=requestAnimationFrame(t)}(),i(),()=>{var e;_.forEach(e=>{u&&e.removeEventListener("scroll",i),c&&e.removeEventListener("resize",i)}),null==p||p(),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(s)}},"computePosition",0,P,"flip",0,O,"hide",0,S,"inline",0,k,"limitShift",0,E,"offset",0,m,"shift",0,w,"size",0,x],992486);var T=e.i(389959),j=e.i(971131),R="u">typeof document?T.useLayoutEffect:function(){};function C(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!C(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!C(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function L(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function M(e,t){let n=L(e);return Math.round(t*n)/n}function D(e){let t=T.useRef(e);return R(()=>{t.current=e}),t}e.s(["arrow",0,(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?A({element:n.current,padding:r}).fn(t):{}:n?A({element:n,padding:r}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}},"flip",0,(e,t)=>{let n=O(e);return{name:n.name,fn:n.fn,options:[e,t]}},"hide",0,(e,t)=>{let n=S(e);return{name:n.name,fn:n.fn,options:[e,t]}},"limitShift",0,(e,t)=>({fn:E(e).fn,options:[e,t]}),"offset",0,(e,t)=>{let n=m(e);return{name:n.name,fn:n.fn,options:[e,t]}},"shift",0,(e,t)=>{let n=w(e);return{name:n.name,fn:n.fn,options:[e,t]}},"size",0,(e,t)=>{let n=x(e);return{name:n.name,fn:n.fn,options:[e,t]}},"useFloating",0,function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=e,[c,f]=T.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,d]=T.useState(r);C(h,r)||d(r);let[v,_]=T.useState(null),[p,g]=T.useState(null),b=T.useCallback(e=>{e!==O.current&&(O.current=e,_(e))},[]),m=T.useCallback(e=>{e!==x.current&&(x.current=e,g(e))},[]),y=o||v,w=a||p,O=T.useRef(null),x=T.useRef(null),S=T.useRef(c),A=null!=u,k=D(u),E=D(i),N=D(l),V=T.useCallback(()=>{if(!O.current||!x.current)return;let e={placement:t,strategy:n,middleware:h};E.current&&(e.platform=E.current),P(O.current,x.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};B.current&&!C(S.current,t)&&(S.current=t,j.flushSync(()=>{f(t)}))})},[h,t,n,E,N]);R(()=>{!1===l&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[l]);let B=T.useRef(!1);R(()=>(B.current=!0,()=>
2{B.current=!1}),[]),R(()=>{if(y&&(O.current=y),w&&(x.current=w),y&&w){if(k.current)return k.current(y,w,V);V()}},[y,w,V,k,A]);let I=T.useMemo(()=>({reference:O,floating:x,setReference:b,setFloating:m}),[b,m]),U=T.useMemo(()=>({reference:y,floating:w}),[y,w]),K=T.useMemo(()=>{let e={position:n,left:0,top:0};if(!U.floating)return e;let t=M(U.floating,c.x),r=M(U.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...L(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,U.floating,c.x,c.y]);return T.useMemo(()=>({...c,update:V,refs:I,elements:U,floatingStyles:K}),[c,V,I,U,K])}],912953)},185173,e=>{"use strict";let t;function n(){return"u">typeof window}function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function s(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function u(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function l(e){return!(!n()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function f(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let h=/transform|translate|scale|rotate|perspective|filter/,d=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;function _(e){let t=s(e)?b(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!p()&&(v(t.backdropFilter)||v(t.filter))||h.test(t.willChange||"")||d.test(t.contain||"")}function p(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function g(e){return/^(html|body|#document)$/.test(r(e))}function b(e){return i(e).getComputedStyle(e)}function m(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||l(e)&&e.host||o(e);return l(t)?t.host:t}function y(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,b,"getContainingBlock",0,function(e){let t=m(e);for(;u(t)&&!g(t);){if(_(t))return t;if(f(t))break;t=m(t)}return null},"getDocumentElement",0,o,"getFrameElement",0,y,"getNodeName",0,r,"getNodeScroll",0,function(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"getOverflowAncestors",0,function e(t,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=m(t);return g(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&c(n)?n:e(n)}(t),s=a===(null==(o=t.ownerDocument)?void 0:o.body),l=i(a);if(!s)return n.concat(a,e(a,[],r));{let t=y(l);return n.concat(l,l.visualViewport||[],c(a)?a:[],t&&r?e(t):[])}},"getParentNode",0,m,"getWindow",0,i,"isContainingBlock",0,_,"isElement",0,s,"isHTMLElement",0,u,"isLastTraversableNode",0,g,"isNode",0,a,"isOverflowElement",0,c,"isShadowRoot",0,l,"isTableElement",0,function(e){return/^(table|td|th)$/.test(r(e))},"isTopLayer",0,f,"isWebKit",0,p])},89500,561205,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,a=Math.floor,s={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t,n){return i(e,r(t,n))}function l(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function d(e){return"y"===e?"height":"width"}function v(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function _(e){return h(v(e))}function p(e,t,n){void 0===n&&(n=!1);let r=f(e),i=_(e),o=d(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=S(a)),[a,S(a)]}function g(e){let t=S(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let m=["left","right"],y=["right","left"],w=["top","bottom"],O=["bottom","top"];function x(e,t,n,r){let i=f(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?y:m;return t?m:y;case"left":case"right":return t?w:O;default:return[]}}(c(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(b)))),o}function S(e){let t=c(e);return s[t]+e.slice(t.length)}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function k(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function E(e,t,n){let r,{reference:i,floating:o}=e,a=v(t),s=_(t),u=d(s),l=c(t),h="y"===a,p=i.x+i.width/2-o.width/2,g=i.y+i.height/2-o.height/2,b=i[u]/2-o[u]/2;switch(l){case"top":r={x:p,y:i.y-o.height};break;case"bottom":r={x:p,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:g};break;case"left":r={x:i.x-o.width,y:g};break;default:r={x:i.x,y:i.y}}switch(f(t)){case"start":r[s]-=b*(n&&h?-1:1);break;case"end":r[s]+=b*(n&&h?-1:1)}return r}async function P(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:d=!1,padding:v=0}=l(t,e),_=A(v),p=s[d?"floating"===h?"reference":"floating":h],g=k(await o.getClippingRect
2({element:null==(n=await (null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:u})),b="floating"===h?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,m=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await (null==o.isElement?void 0:o.isElement(m))&&await (null==o.getScale?void 0:o.getScale(m))||{x:1,y:1},w=k(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:m,strategy:u}):b);return{top:(g.top-w.top+_.top)/y.y,bottom:(w.bottom-g.bottom+_.bottom)/y.y,left:(g.left-w.left+_.left)/y.x,right:(w.right-g.right+_.right)/y.x}}e.s(["clamp",0,u,"createCoords",0,e=>({x:e,y:e}),"evaluate",0,l,"floor",0,a,"getAlignment",0,f,"getAlignmentAxis",0,_,"getAlignmentSides",0,p,"getAxisLength",0,d,"getExpandedPlacements",0,g,"getOppositeAlignmentPlacement",0,b,"getOppositeAxis",0,h,"getOppositeAxisPlacements",0,x,"getOppositePlacement",0,S,"getPaddingObject",0,A,"getSide",0,c,"getSideAxis",0,v,"max",0,i,"min",0,r,"placements",0,n,"rectToClientRect",0,k,"round",0,o,"sides",0,t],89500);let T=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:P},u=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=E(l,r,u),h=r,d=0,v={};for(let n=0;n<o.length;n++){let _=o[n];if(!_)continue;let{name:p,fn:g}=_,{x:b,y:m,data:y,reset:w}=await g({x:c,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:v,rects:l,platform:s,elements:{reference:e,floating:t}});c=null!=b?b:c,f=null!=m?m:f,v[p]={...v[p],...y},w&&d<50&&(d++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(l=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:f}=E(l,h,u)),n=-1)}return{x:c,y:f,placement:h,strategy:i,middlewareData:v}};function j(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return t.some(t=>e[t]>=0)}function C(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-n}}let L=new Set(["left","top"]);async function M(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=c(n),s=f(n),u="y"===v(n),h=L.has(a)?-1:1,d=o&&u?-1:1,_=l(t,e),{mainAxis:p,crossAxis:g,alignmentAxis:b}="number"==typeof _?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:_.mainAxis||0,crossAxis:_.crossAxis||0,alignmentAxis:_.alignmentAxis};return s&&"number"==typeof b&&(g="end"===s?-1*b:b),u?{x:g*d,y:p*h}:{x:p*h,y:g*d}}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:o,rects:a,platform:s,elements:c,middlewareData:h}=t,{element:v,padding:p=0}=l(e,t)||{};if(null==v)return{};let g=A(p),b={x:n,y:i},m=_(o),y=d(m),w=await s.getDimensions(v),O="y"===m,x=O?"clientHeight":"clientWidth",S=a.reference[y]+a.reference[m]-b[m]-a.floating[y],k=b[m]-a.reference[m],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(v)),P=E?E[x]:0;P&&await (null==s.isElement?void 0:s.isElement(E))||(P=c.floating[x]||a.floating[y]);let T=P/2-w[y]/2-1,j=r(g[O?"top":"left"],T),R=r(g[O?"bottom":"right"],T),C=P-w[y]-R,L=P/2-w[y]/2+(S/2-k/2),M=u(j,L,C),D=!h.arrow&&null!=f(o)&&L!==M&&a.reference[y]/2-(L<j?j:R)-w[y]/2<0,N=D?L<j?L-j:L-C:0;return{[m]:b[m]+N,data:{[m]:M,centerOffset:L-M-N,...D&&{alignmentOffset:N}},reset:D}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,o,a;let{rects:s,middlewareData:u,placement:h,platform:d,elements:v}=t,{crossAxis:_=!1,alignment:g,allowedPlacements:m=n,autoAlignment:y=!0,...w}=l(e,t),O=void 0!==g||m===n?((a=g||null)?[...m.filter(e=>f(e)===a),...m.filter(e=>f(e)!==a)]:m.filter(e=>c(e)===e)).filter(e=>!a||f(e)===a||!!y&&b(e)!==e):m,x=await d.detectOverflow(t,w),S=(null==(r=u.autoPlacement)?void 0:r.index)||0,A=O[S];if(null==A)return{};let k=p(A,s,await (null==d.isRTL?void 0:d.isRTL(v.floating)));if(h!==A)return{reset:{placement:O[0]}};let E=[x[c(A)],x[k[0]],x[k[1]]],P=[...(null==(i=u.autoPlacement)?void 0:i.overflows)||[],{placement:A,overflows:E}],T=O[S+1];if(T)return{data:{index:S+1,overflows:P},reset:{placement:T}};let j=P.map(e=>{let t=f(e.placement);return[e.placement,t&&_?e.overflows.slice(0,2).reduce((e,t)=>
2e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),R=(null==(o=j.filter(e=>e[2].slice(0,f(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||j[0][0];return R!==h?{data:{index:S+1,overflows:P},reset:{placement:R}}:{}}}},"computePosition",0,T,"detectOverflow",0,P,"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let{placement:s,middlewareData:u,rects:f,initialPlacement:h,platform:d,elements:_}=t,{mainAxis:b=!0,crossAxis:m=!0,fallbackPlacements:y,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:A=!0,...k}=l(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let E=c(s),P=v(h),T=c(h)===h,j=await (null==d.isRTL?void 0:d.isRTL(_.floating)),R=y||(T||!A?[S(h)]:g(h)),C="none"!==O;!y&&C&&R.push(...x(h,A,O,j));let L=[h,...R],M=await d.detectOverflow(t,k),D=[],N=(null==(r=u.flip)?void 0:r.overflows)||[];if(b&&D.push(M[E]),m){let e=p(s,f,j);D.push(M[e[0]],M[e[1]])}if(N=[...N,{placement:s,overflows:D}],!D.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=L[e];if(t&&("alignment"!==m||P===v(t)||N.every(e=>v(e.placement)!==P||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(o=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(w){case"bestFit":{let e=null==(a=N.filter(e=>{if(C){let t=v(e.placement);return t===P||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=h}if(s!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=l(e,t);switch(i){case"referenceHidden":{let e=j(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:R(e)}}}case"escaped":{let e=j(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:R(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:a,platform:s,strategy:u}=t,{padding:f=2,x:h,y:d}=l(e,t),_=Array.from(await (null==s.getClientRects?void 0:s.getClientRects(o.reference))||[]),p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>k(C(e)))}(_),g=k(C(_)),b=A(f),m=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=h&&null!=d)return p.find(e=>h>e.left-b.left&&h<e.right+b.right&&d>
2e.top-b.top&&d<e.bottom+b.bottom)||g;if(p.length>=2){if("y"===v(n)){let e=p[0],t=p[p.length-1],r="top"===c(n),i=e.top,o=t.bottom,a=r?e.left:t.left,s=r?e.right:t.right;return{top:i,bottom:o,left:a,right:s,width:s-a,height:o-i,x:a,y:i}}let e="left"===c(n),t=i(...p.map(e=>e.right)),o=r(...p.map(e=>e.left)),a=p.filter(n=>e?n.left===o:n.right===t),s=a[0].top,u=a[a.length-1].bottom;return{top:s,bottom:u,left:o,right:t,width:t-o,height:u-s,x:o,y:s}}return g}},floating:o.floating,strategy:u});return a.reference.x!==m.reference.x||a.reference.y!==m.reference.y||a.reference.width!==m.reference.width||a.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:f=!0}=l(e,t),d={x:n,y:r},_=v(i),p=h(_),g=d[p],b=d[_],m=l(s,t),y="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+y.mainAxis,n=o.reference[p]+o.reference[e]-y.mainAxis;g<t?g=t:g>n&&(g=n)}if(f){var w,O;let e="y"===p?"width":"height",t=L.has(c(i)),n=o.reference[_]-o.floating[e]+(t&&(null==(w=a.offset)?void 0:w[_])||0)+(t?0:y.crossAxis),r=o.reference[_]+o.reference[e]+(t?0:(null==(O=a.offset)?void 0:O[_])||0)-(t?y.crossAxis:0);b<n?b=n:b>r&&(b=r)}return{[p]:g,[_]:b}}}},"offset",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,u=await M(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:a}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=l(e,t),_={x:n,y:r},p=await o.detectOverflow(t,d),g=v(c(i)),b=h(g),m=_[b],y=_[g];if(a){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",n=m+p[e],r=m-p[t];m=u(n,m,r)}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=y+p[e],r=y-p[t];y=u(n,y,r)}let w=f.fn({...t,[b]:m,[g]:y});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[b]:a,[g]:s}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let a,s,{placement:u,rects:h,platform:d,elements:_}=t,{apply:p=()=>{},...g}=l(e,t),b=await d.detectOverflow(t,g),m=c(u),y=f(u),w="y"===v(u),{width:O,height:x}=h.floating;"top"===m||"bottom"===m?(a=m,s=y===(await (null==d.isRTL?void 0:d.isRTL(_.floating))?"start":"end")?"left":"right"):(s=m,a="end"===y?"top":"bottom");let S=x-b.top-b.bottom,A=O-b.left-b.right,k=r(x-b[a],S),E=r(O-b[s],A),P=!t.middlewareData.shift,T=k,j=E;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(j=A),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(T=S),P&&!y){let e=i(b.left,0),t=i(b.right,0),n=i(b.top,0),r=i(b.bottom,0);w?j=O-2*(0!==e||0!==t?e+t:i(b.left,b.right)):T=x-2*(0!==n||0!==r?n+r:i(b.top,b.bottom))}await p({...t,availableWidth:j,availableHeight:T});let R=await d.getDimensions(_.floating);return O!==R.width||x!==R.height?{reset:{rects:!0}}:{}}}}],561205)},310282,e=>{"use strict";function t(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)}function n(){return"u">typeof globalThis?globalThis:"u">typeof window?window:e.g}var r,i,o,a,s,u,l,c,f,h,d,v=Object.assign,_=Object.getOwnPropertyDescriptor,p=Object.defineProperty,g=Object.prototype,b=[];Object.freeze(b);var m={};Object.freeze(m);var y="u">typeof Proxy,w=Object.toString();function O(){y||t("Proxy not available")}function x(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var S=function(){};function A(e){return"function"==typeof e}function k(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function E(e){return null!==e&&"object"==typeof e}function P(e){if(!E(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()===w}function T(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function j(e,t,n){p(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}
2function R(e,t,n){p(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function C(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return E(e)&&!0===e[n]}}function L(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function M(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var D=void 0!==Object.getOwnPropertySymbols,N="u">typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:D?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function V(e){return null===e?null:"object"==typeof e?""+e:e}function B(e,t){return g.hasOwnProperty.call(e,t)}var I=Object.getOwnPropertyDescriptors||function(e){var t={};return N(e).forEach(function(n){t[n]=_(e,n)}),t};function U(e,t,n){return n?e|=t:e&=~t,e}function K(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 W(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||!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:t+""}(r.key),r)}}function H(e,t,n){return t&&W(e.prototype,t),n&&W(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function G(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e){if(e){if("string"==typeof e)return K(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?K(e,void 0):void 0}}(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.")}function F(){return(F=Object.assign.bind()).apply(null,arguments)}function q(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,z(e,t)}function z(e,t){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var X=Symbol("mobx-stored-annotations");function Y(e){return Object.assign(function(t,n){if(J(n))return e.decorate_20223_(t,n);$(t,n,e)},e)}function $(e,t,n){B(e,X)||j(e,X,F({},e[X])),"override"!==n.annotationType_&&(e[X][t]=n)}function J(e){return"object"==typeof e&&"string"==typeof e.kind}var Q=Symbol("mobx administration"),Z=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=f.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;
2return 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 tc(this)},t.reportChanged=function(){tu(),tf(this),tl()},t.toString=function(){return this.name_},H(e,[{key:"isBeingObserved",get:function(){return!!(this.flags_&e.isBeingObservedMask_)},set:function(t){this.flags_=U(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return!!(this.flags_&e.isPendingUnobservationMask_)},set:function(t){this.flags_=U(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();Z.isBeingObservedMask_=1,Z.isPendingUnobservationMask_=2,Z.diffValueMask_=4;var ee=C("Atom",Z);function et(e,t,n){void 0===t&&(t=S),void 0===n&&(n=S);var r=new Z(e);return t!==S&&tR("onBO",r,t,void 0),n!==S&&tj(r,n),r}var en=function(e,t){return nE(e,t)},er=function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t};function ei(e,t,n){if(tK(e))return e;if(Array.isArray(e))return eV.array(e,{name:n});if(P(e))return eV.object(e,void 0,{name:n});if(L(e))return eV.map(e,{name:n});if(M(e))return eV.set(e,{name:n});if("function"==typeof e&&!tE(e)&&!tU(e))if(T(e))return tB(e);else return tk(n,e);return e}function eo(e){return e}function ea(e,t){return{annotationType_:e,options_:t,make_:es,extend_:eu,decorate_20223_:el}}function es(e,t,n,r){if(null!=(i=this.options_)&&i.bound)return+(null!==this.extend_(e,t,n,!1));if(r===e.target_)return 2*(null!==this.extend_(e,t,n,!1));if(tE(n.value))return 1;var i,o=ec(e,this,t,n,!1);return p(r,t,o),2}function eu(e,t,n,r){var i=ec(e,this,t,n);return e.defineProperty_(t,i,r)}function el(e,n){var r,i=n.kind,o=n.name,a=n.addInitializer,s=this,u=function(e){var t,n,r,i;return eq(null!=(t=null==(n=s.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==i?function(e){var t,n=e;return tE(n)||(n=u(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(tE(e)||(e=u(e)),null!=(r=this.options_)&&r.bound&&a(function(){var e=this[o].bind(this);e.isMobxAction=!0,this[o]=e}),e):void t("Cannot apply '"+s.annotationType_+"' to '"+String(o)+"' (kind: "+i+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ec(e,t,n,r,i){void 0===i&&(i=to.safeDescriptors),t.annotationType_,r.value;var o,a,s,u,l,c,f,h,d=r.value;return null!=(o=t.options_)&&o.bound&&(d=d.bind(null!=(h=e.proxy_)?h:e.target_)),{value:eq(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),d,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ef(e,t){return{annotationType_:e,options_:t,make_:eh,extend_:ed,decorate_20223_:ev}}function eh(e,t,n,r){if(r===e.target_)return 2*(null!==this.extend_(e,t,n,!1));if(null!=(i=this.options_)&&i.bound&&(!B(e.target_,t)||!tU(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(tU(n.value))return 1;var i,o=e_(e,this,t,n,!1,!1);return p(r,t,o),2}function ed(e,t,n,r){var i,o=e_(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ev(e,t){var n,r=t.name,i=t.addInitializer;return tU(e)||(e=tB(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this[r].bind(this);e.isMobXFlow=!0,this[r]=e}),e}function e_(e,t,n,r,i,o){void 0===o&&(o=to.safeDescriptors),t.annotationType_,r.value;var a,s=r.value;return tU(s)||(s=tB(s)),i&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ep(e,t){return{annotationType_:e,options_:t,make_:eg,extend_:eb,decorate_20223_:em}}function eg(e,t,n){return+(null!==this.extend_(e,t,n,!1))}function eb(e,t,n,r){var i,o;return i=this,o=n,i.annotationType_,o.get,e.defineComputedProperty_(t,F({},this.options_,{get:n.get,set:n.set}),r)}function em(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=nc(this)[Q],i=F({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new eQ(i))}),function(){return this[Q].getObservablePropValue_(r)}}function ey(e,t){return{annotationType_:e,options_:t,make_:ew,extend_:eO,decorate_20223_:ex}}
2function ew(e,t,n){return+(null!==this.extend_(e,t,n,!1))}function eO(e,t,n,r){var i,o,a;return a=this,a.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:ei,r)}function ex(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=nc(e)[Q],u=new eJ(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:ei,"ObservableObject."+i.toString(),!1);s.values_.set(i,u),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[Q].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[Q].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var eS=eA();function eA(e){return{annotationType_:"true",options_:e,make_:ek,extend_:eE,decorate_20223_:eP}}function ek(e,t,n,r){if(n.get)return eK.make_(e,t,n,r);if(n.set){var i,o,a,s,u,l=tE(n.set)?n.set:eq(t.toString(),n.set);return r===e.target_?2*(null!==e.defineProperty_(t,{configurable:!to.safeDescriptors||e.isPlainObject_,set:l})):(p(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return T(n.value)?(null!=(s=this.options_)&&s.autoBind?tB.bound:tB).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?tk.bound:tk).make_(e,t,n,r);var c=(null==(i=this.options_)?void 0:i.deep)===!1?eV.ref:eV;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),c.make_(e,t,n,r)}function eE(e,t,n,r){var i,o,a;return n.get?eK.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!to.safeDescriptors||e.isPlainObject_,set:eq(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),((null==(o=this.options_)?void 0:o.deep)===!1?eV.ref:eV).extend_(e,t,n,r))}function eP(e,n){t("'"+this.annotationType_+"' cannot be used as a decorator")}var eT={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(eT);var ej=ey("observable"),eR=ey("observable.ref",{enhancer:eo}),eC=ey("observable.shallow",{enhancer:function(e,t,n){return null==e||nd(e)||t6(e)||nt(e)||no(e)?e:Array.isArray(e)?eV.array(e,{name:n,deep:!1}):P(e)?eV.object(e,void 0,{name:n,deep:!1}):L(e)?eV.map(e,{name:n,deep:!1}):M(e)?eV.set(e,{name:n,deep:!1}):void 0}}),eL=ey("observable.struct",{enhancer:function(e,t){return nE(e,t)?t:e}}),eM=Y(ej);function eD(e){var t,n,r;return!0===e.deep?ei:!1===e.deep?eo:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:ei}function eN(e,t,n){return J(t)?ej.decorate_20223_(e,t):k(t)?void $(e,t,ej):tK(e)?e:P(e)?eV.object(e,t,n):Array.isArray(e)?eV.array(e,t):L(e)?eV.map(e,t):M(e)?eV.set(e,t):"object"==typeof e&&null!==e?e:eV.box(e,t)}v(eN,eM);var eV=v(eN,{box:function(e,t){var n=t||eT;return new eJ(e,eD(n),n.name,!0,n.equals)},array:function(e,t){var n=t||eT;return(!1===to.useProxies||!1===n.proxy?function(e,t,n){return new ny(e,t,n)}:function(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),O(),nA(function(){var i=new t0(n,t,r,!1);R(i.values_,Q,i);var o=new Proxy(i.values_,tZ);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})})(e,eD(n),n.name)},map:function(e,t){var n=t||eT;return new ne(e,eD(n),n.name)},set:function(e,t){var n=t||eT;return new ni(e,eD(n),n.name)},object:function(e,t,n){return nA(function(){var r,i,o,a;return tL(!1===to.useProxies||(null==n?void 0:n.proxy)===!1?nc({},n):(r={},i=n,O(),null!=(a=(o=(r=nc(r,i))[Q]).proxy_)?a:o.proxy_=new Proxy(r,tH)),e,t)})},ref:Y(eR),shallow:Y(eC),deep:eM,struct:Y(eL)}),eB="computed",eI=ep(eB),eU=ep("computed.struct",{equals:en}),eK=function(e,t){if(J(t))return eI.decorate_20223_(e,t);if(k(t))return $(e,t,eI);if(P(e))return Y(ep(eB,e));var n=P(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new eQ(n)};Object.assign(eK,eI),eK.struct=Y(eU);var eW=0,eH=1,eG=null!=(l=null==(c=_(function(){},"name"))?void 0:c.configurable)&&l,eF={value:"action",configurable:!0,writable:!1,enumerable:!1};function eq(e,t,n,r){function i(){return ez(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},eG&&(eF.value=e,p(i,"name",eF)),i}function ez(e,n,r,i,o){var a,s,u,l,c,f,h=(a=n,s=to.trackingDerivation,u=!a||
2!s,tu(),l=to.allowStateChanges,u&&(e6(),l=eY(!0)),eW=(c={runAsAction_:u,prevDerivation_:s,prevAllowStateChanges_:l,prevAllowStateReads_:e7(!0),notifySpy_:!1,startTime_:0,actionId_:eH++,parentActionId_:eW}).actionId_,c);try{return r.apply(i,o)}catch(e){throw h.error_=e,e}finally{eW!==(f=h).actionId_&&t(30),eW=f.parentActionId_,void 0!==f.error_&&(to.suppressReactionErrors=!0),e$(f.prevAllowStateChanges_),te(f.prevAllowStateReads_),tl(),f.runAsAction_&&e4(f.prevDerivation_),to.suppressReactionErrors=!1}}function eX(e,t){var n=eY(e);try{return t()}finally{e$(n)}}function eY(e){var t=to.allowStateChanges;return to.allowStateChanges=e,t}function e$(e){to.allowStateChanges=e}var eJ=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=er),(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=o,a.value_=n(t,void 0,r),a}q(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))!==to.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(e3(this),tG(this)){var t=tq(this,{object:this,type:tQ,newValue:e});if(!t)return to.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?to.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),tz(this)&&tY(this,{type:tQ,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return tF(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:tQ,newValue:this.value_,oldValue:void 0}),tX(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 V(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Z),eQ=function(){function e(e){this.dependenciesState_=f.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=f.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new e0(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=h.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||t(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=eq("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?en:er),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var n=e.prototype;return n.onBecomeStale_=function(){var e;e=this,e.lowestObserverState_===f.UP_TO_DATE_&&(e.lowestObserverState_=f.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===f.UP_TO_DATE_&&(e.dependenciesState_=f.POSSIBLY_STALE_,e.onBecomeStale_())}))}
2,n.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},n.get=function(){if(this.isComputing&&t(32,this.name_,this.derivation),0!==to.inBatch||0!==this.observers_.size||this.keepAlive_){if(tc(this),e2(this)){var e,n=to.trackingContext;this.keepAlive_&&!n&&(to.trackingContext=this),this.trackAndCompute()&&(e=this,e.lowestObserverState_!==f.STALE_&&(e.lowestObserverState_=f.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===f.POSSIBLY_STALE_?t.dependenciesState_=f.STALE_:t.dependenciesState_===f.UP_TO_DATE_&&(e.lowestObserverState_=f.UP_TO_DATE_)}))),to.trackingContext=n}}else e2(this)&&(this.warnAboutUntrackedRead_(),tu(),this.value_=this.computeValue_(!1),tl());var r=this.value_;if(e1(r))throw r.cause;return r},n.set=function(e){if(this.setter_){this.isRunningSetter&&t(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else t(34,this.name_)},n.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===f.NOT_TRACKING_,n=this.computeValue_(!0),r=t||e1(e)||e1(n)||!this.equals_(e,n);return r&&(this.value_=n),r},n.computeValue_=function(e){this.isComputing=!0;var t,n=eY(!1);if(e)t=e5(this,this.derivation,this.scope_);else if(!0===to.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new e0(e)}return e$(n),this.isComputing=!1,t},n.suspend_=function(){this.keepAlive_||(e9(this),this.value_=void 0)},n.observe_=function(e,t){var n=this,r=!0,i=void 0;return function(e,t){void 0===t&&(t=m);var n,r,i,o,a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var u=tT(t),l=!1;a=new th(s,function(){l||(l=!0,u(function(){l=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}else a=new th(s,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}(function(){var o=n.get();if(!r||t){var a=e6();e({observableKind:"computed",debugObjectName:n.name_,type:tQ,object:n,newValue:o,oldValue:i}),e4(a)}r=!1,i=o})},n.warnAboutUntrackedRead_=function(){},n.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},n.valueOf=function(){return V(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},H(e,[{key:"isComputing",get:function(){return!!(this.flags_&e.isComputingMask_)},set:function(t){this.flags_=U(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return!!(this.flags_&e.isRunningSetterMask_)},set:function(t){this.flags_=U(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return!!(this.flags_&e.isBeingObservedMask_)},set:function(t){this.flags_=U(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return!!(this.flags_&e.isPendingUnobservationMask_)},set:function(t){this.flags_=U(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();eQ.isComputingMask_=1,eQ.isRunningSetterMask_=2,eQ.isBeingObservedMask_=4,eQ.isPendingUnobservationMask_=8,eQ.diffValueMask_=16;var eZ=C("ComputedValue",eQ);(r=f||(f={}))[r.NOT_TRACKING_=-1]="NOT_TRACKING_",r[r.UP_TO_DATE_=0]="UP_TO_DATE_",r[r.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",r[r.STALE_=2]="STALE_",(i=h||(h={}))[i.NONE=0]="NONE",i[i.LOG=1]="LOG",i[i.BREAK=2]="BREAK";var e0=function(e){this.cause=void 0,this.cause=e};function e1(e){return e instanceof e0}function e2(e){switch(e.dependenciesState_){case f.UP_TO_DATE_:return!1;case f.NOT_TRACKING_:case f.STALE_:return!0;case f.POSSIBLY_STALE_:for(var t=e7(!0),n=e6(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(eZ(a)){if(to.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return e4(n),te(t),!0}if(e.dependenciesState_===f.STALE_)return e4(n),te(t),!0}}return tt(e),e4(n),te(t),!1}}function e3(e){}function e5(e,t,n){var r,i=e7(!0);tt(e),e.newObserving_=Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++to.runId;var o=to.trackingDerivation;if(to.trackingDerivation=e,to.inBatch++,!0===to.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new e0(e)}return to.inBatch--,to.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=f.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];0===u.diffValue&&ta(u,e),u.diffValue=0}for(;i--;){var l,c,h=n[i];1===h.diffValue&&(h.diffValue=0,l=h,c=e,l.observers_.add(c),l.lowestObserverState_>c.dependenciesState_&&(l.lowestObserverState_=c.dependenciesState_))}
2r!==f.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),te(i),r}function e9(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)ta(t[n],e);e.dependenciesState_=f.NOT_TRACKING_}function e8(e){var t=e6();try{return e()}finally{e4(t)}}function e6(){var e=to.trackingDerivation;return to.trackingDerivation=null,e}function e4(e){to.trackingDerivation=e}function e7(e){var t=to.allowStateReads;return to.allowStateReads=e,t}function te(e){to.allowStateReads=e}function tt(e){if(e.dependenciesState_!==f.UP_TO_DATE_){e.dependenciesState_=f.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=f.UP_TO_DATE_}}var tn=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},tr=!0,ti=!1,to=((o=n()).__mobxInstanceCount>0&&!o.__mobxGlobals&&(tr=!1),o.__mobxGlobals&&o.__mobxGlobals.version!==new tn().version&&(tr=!1),tr)?o.__mobxGlobals?(o.__mobxInstanceCount+=1,o.__mobxGlobals.UNCHANGED||(o.__mobxGlobals.UNCHANGED={}),o.__mobxGlobals):(o.__mobxInstanceCount=1,o.__mobxGlobals=new tn):(setTimeout(function(){ti||t(35)},1),new tn);function ta(e,t){e.observers_.delete(t),0===e.observers_.size&&ts(e)}function ts(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,to.pendingUnobservations.push(e))}function tu(){to.inBatch++}function tl(){if(0==--to.inBatch){tv();for(var e=to.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 eQ&&n.suspend_())}to.pendingUnobservations=[]}}function tc(e){var t=to.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&to.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&to.inBatch>0&&ts(e),!1)}function tf(e){e.lowestObserverState_!==f.STALE_&&(e.lowestObserverState_=f.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===f.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=f.STALE_}))}var th=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_=f.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=h.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,to.pendingReactions.push(this),tv())},t.runReaction_=function(){if(!this.isDisposed){tu(),this.isScheduled=!1;var e=to.trackingContext;if(to.trackingContext=this,e2(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}to.trackingContext=e,tl()}},t.track=function(e){if(!this.isDisposed){tu(),this.isRunning=!0;var t=to.trackingContext;to.trackingContext=this;var n=e5(this,e,void 0);to.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&e9(this),e1(n)&&this.reportExceptionInDerivation_(n.cause),tl()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(to.disableErrorBoundaries)throw e;to.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),to.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},t.dispose=function(){!this.isDisposed&&(this.isDisposed=!0,this.isRunning||(tu(),e9(this),tl()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[Q]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},H(e,[{key:"isDisposed",get:function(){return!!(this.flags_&e.isDisposedMask_)},set:function(t){this.flags_=U(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return!!(this.flags_&e.isScheduledMask_)},set:function(t){this.flags_=U(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return!!(this.flags_&e.isTrackPendingMask_)},set:function(t){this.flags_=U(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return!!(this.flags_&e.isRunningMask_)},set:function(t){this.flags_=U(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return+!!(this.flags_&e.diffValueMask_)},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();th.isDisposedMask_=1,th.isScheduledMask_=2,th.isTrackPendingMask_=4,th.isRunningMask_=8,th.diffValueMask_=16;var td=function(e){return e()};function tv(){to.inBatch>0||to.isRunningReactions||td(t_)}function t_(){to.isRunningReactions=!0;for(var e=to.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,i=n.length;r<i;r++)n[r].runReaction_()}to.isRunningReactions=!1}var tp=C("Reaction",th),tg="action",tb="autoAction",tm="<unnamed action>",ty=ea(tg),tw=ea("action.bound",{bound:!0}),tO=ea(tb,{autoAction:!0}
2),tx=ea("autoAction.bound",{autoAction:!0,bound:!0});function tS(e){return function(t,n){return A(t)?eq(t.name||tm,t,e):A(n)?eq(t,n,e):J(n)?(e?tO:ty).decorate_20223_(t,n):k(n)?$(t,n,e?tO:ty):k(t)?Y(ea(e?tb:tg,{name:t,autoAction:e})):void 0}}var tA=tS(!1);Object.assign(tA,ty);var tk=tS(!0);function tE(e){return A(e)&&!0===e.isMobxAction}Object.assign(tk,tO),tA.bound=Y(tw),tk.bound=Y(tx);var tP=function(e){return e()};function tT(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:tP}function tj(e,t,n){return tR("onBUO",e,t,n)}function tR(e,t,n,r){var i="function"==typeof r?nx(t,n):nx(t),o=A(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var tC="always";function tL(e,t,n,r){var i=I(t);return nA(function(){var t=nc(e,r)[Q];N(i).forEach(function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])})}),e}var tM=0;function tD(){this.message="FLOW_CANCELLED"}tD.prototype=Object.create(Error.prototype);var tN=ef("flow"),tV=ef("flow.bound",{bound:!0}),tB=Object.assign(function(e,t){if(J(t))return tN.decorate_20223_(e,t);if(k(t))return $(e,t,tN);var n=e.name||"<unnamed flow>",r=function(){var t,r=arguments,i=++tM,o=tA(n+" - runid: "+i+" - 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=tA(n+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return r(e)}c(t)}function l(e){var t;a=void 0;try{t=tA(n+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return r(e)}c(t)}function c(t){return A(null==t?void 0:t.then)?void t.then(c,r):t.done?e(t.value):(a=Promise.resolve(t.value)).then(u,l)}t=r,u(void 0)});return s.cancel=tA(n+" - runid: "+i+" - cancel",function(){try{a&&tI(a);var e=o.return(void 0),n=Promise.resolve(e.value);n.then(S,S),tI(n),t(new tD)}catch(e){t(e)}}),s};return r.isMobXFlow=!0,r},tN);function tI(e){A(e.cancel)&&e.cancel()}function tU(e){return(null==e?void 0:e.isMobXFlow)===!0}function tK(e){return!!e&&(nd(e)||!!e[Q]||ee(e)||tp(e)||eZ(e))}function tW(e,t){void 0===t&&(t=void 0),tu();try{return e.apply(t)}finally{tl()}}tB.bound=Y(tV);var tH={has:function(e,t){return e[Q].has_(t)},get:function(e,t){return e[Q].get_(t)},set:function(e,t,n){var r;return!!k(t)&&(null==(r=e[Q].set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!k(t)&&(null==(n=e[Q].delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=e[Q].defineProperty_(t,n))||r},ownKeys:function(e){return e[Q].ownKeys_()},preventExtensions:function(e){t(13)}};function tG(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function tF(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),x(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tq(e,n){var r=e6();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((n=i[o](n))&&!n.type&&t(14),n);o++);return n}finally{e4(r)}}function tz(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function tX(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),x(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function tY(e,t){var n=e6(),r=e.changeListeners_;if(r){r=r.slice();for(var i=0,o=r.length;i<o;i++)r[i](t);e4(n)}}var t$=Symbol("mobx-keys"),tJ="splice",tQ="update",tZ={get:function(e,t){var n=e[Q];return t===Q?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?B(t1,t)?t1[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[Q];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){t(15)}},t0=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 Z(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},n.intercept_=function(e){return tF(this,e)},n.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}),tX(this,e)},n.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},n.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&t("Out of range: "+e);var n=this.values_.length;if(e!==n)if(e>n){for(var r=Array(e-n),i=0;i<e-n;i++)r[i]=void 0;this.spliceWithArray_(n,0,r)}else this.spliceWithArray_(e,n-e)}
2,n.updateArrayLength_=function(e,n){e!==this.lastKnownLength_&&t(16),this.lastKnownLength_+=n,this.legacyMode_&&n>0&&nO(e+n+1)},n.spliceWithArray_=function(e,t,n){var r=this;e3(this.atom_);var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1==arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=b),tG(this)){var o=tq(this,{object:this.proxy_,type:tJ,index:e,removedCount:t,added:n});if(!o)return b;t=o.removedCount,n=o.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_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return(0!==t||0!==n.length)&&this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},n.spliceItemsIntoValues_=function(e,t,n){if(n.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,t].concat(n))}var i=this.values_.slice(e,e+t),o=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<o.length;s++)this.values_[e+n.length+s]=o[s];return i},n.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=tz(this),o=i||r?{observableKind:"array",object:this.proxy_,type:tQ,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&tY(this,o)},n.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=tz(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:tJ,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&tY(this,o)},n.get_=function(e){return this.legacyMode_&&e>=this.values_.length?void console.warn("[mobx] Out of bounds read: "+e):(this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]))},n.set_=function(e,n){var r=this.values_;if(this.legacyMode_&&e>r.length&&t(17,e,r.length),e<r.length){e3(this.atom_);var i=r[e];if(tG(this)){var o=tq(this,{type:tQ,object:this.proxy_,index:e,newValue:n});if(!o)return;n=o.newValue}(n=this.enhancer_(n,i))!==i&&(r[e]=n,this.notifyArrayChildUpdate_(e,n,i))}else{for(var a=Array(e+1-r.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=n,this.spliceWithArray_(r.length,0,a)}},e}(),t1={clear:function(){return this.splice(0)},replace:function(e){var t=this[Q];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),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[Q];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[Q].spliceWithArray_(e,t,n)},push:function(){for(var e=this[Q],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[Q].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Q],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 to.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){to.trackingDerivation&&t(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Q],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function t2(e,t){"function"==typeof Array.prototype[e]&&(t1[e]=t(e))}function t3(e){return function(){var t=this[Q];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function t5(e){return function(t,n){var r=this,i=this[Q];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function t9(e){return function(){var t=this,n=this[Q];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}t2("at",t3),t2("concat",t3),t2("flat",t3),t2("includes",t3),t2("indexOf",t3),t2("join",t3),t2("lastIndexOf",t3),t2("slice",t3),t2("toString",t3),t2("toLocaleStr
2ing",t3),t2("toSorted",t3),t2("toSpliced",t3),t2("with",t3),t2("every",t5),t2("filter",t5),t2("find",t5),t2("findIndex",t5),t2("findLast",t5),t2("findLastIndex",t5),t2("flatMap",t5),t2("forEach",t5),t2("map",t5),t2("some",t5),t2("toReversed",t5),t2("reduce",t9),t2("reduceRight",t9);var t8=C("ObservableArrayAdministration",t0);function t6(e){return E(e)&&t8(e[Q])}var t4={},t7="delete",ne=function(){function e(e,n,r){var i=this;void 0===n&&(n=ei),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Q]=t4,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_=n,this.name_=r,A(Map)||t(18),nA(function(){i.keysAtom_=et("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)})}var n=e.prototype;return n.has_=function(e){return this.data_.has(e)},n.has=function(e){var t=this;if(!to.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new eJ(this.has_(e),eo,"ObservableMap.key?",!1);this.hasMap_.set(e,r),tj(r,function(){return t.hasMap_.delete(e)})}return n.get()},n.set=function(e,t){var n=this.has_(e);if(tG(this)){var r=tq(this,{type:n?tQ:"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},n.delete=function(e){var t=this;if(e3(this.keysAtom_),tG(this)&&!tq(this,{type:t7,object:this,name:e}))return!1;if(this.has_(e)){var n=tz(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:t7,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tW(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&&tY(this,r),!0}return!1},n.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==to.UNCHANGED){var r=tz(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:tQ,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&tY(this,i)}},n.addValue_=function(e,t){var n=this;e3(this.keysAtom_),tW(function(){var r,i=new eJ(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=tz(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:t}:null;r&&tY(this,i)},n.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},n.values=function(){var e=this,t=this.keys();return nn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},n.entries=function(){var e=this,t=this.keys();return nn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},n[Symbol.iterator]=function(){return this.entries()},n.forEach=function(e,t){for(var n,r=G(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},n.merge=function(e){var n=this;return nt(e)&&(e=new Map(e)),tW(function(){P(e)?(function(e){var t=Object.keys(e);if(!D)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return g.propertyIsEnumerable.call(e,t)})):t})(e).forEach(function(t){return n.set(t,e[t])}):Array.isArray(e)?e.forEach(function(e){var t=e[0],r=e[1];return n.set(t,r)}):L(e)?(null!==Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(e)))&&t(19,e),e.forEach(function(e,t){return n.set(t,e)})):null!=e&&t(20,e)}),this},n.clear=function(){var e=this;tW(function(){e8(function(){for(var t,n=G(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},n.replace=function(e){var n=this;return tW(function(){for(var r,i=function(e){if(L(e)||nt(e))return e;if(Array.isArray(e))return new Map(e);if(!P(e))return t(21,e);var n=new Map;for(var r in e)n.set(r,e[r]);return n}(e),o=new Map,a=!1,s=G(n.data_.keys());!(r=s()).done;){var u=r.value;if(!i.has(u))if(n.delete(u))a=!0;else{var l=n.data_.get(u);o.set(u,l)}}for(var c,f=G(i.entries());!(c=f()).done;){var h=c.value,d=h[0],v=h[1],_=n.data_.has(d);if(n.set(d,v),n.data_.has(d)){var p=n.data_.get(d);
2o.set(d,p),_||(a=!0)}}if(!a)if(n.data_.size!==o.size)n.keysAtom_.reportChanged();else for(var g=n.data_.keys(),b=o.keys(),m=g.next(),y=b.next();!m.done;){if(m.value!==y.value){n.keysAtom_.reportChanged();break}m=g.next(),y=b.next()}n.data_=o}),this},n.toString=function(){return"[object ObservableMap]"},n.toJSON=function(){return Array.from(this)},n.observe_=function(e,t){return tX(this,e)},n.intercept_=function(e){return tF(this,e)},H(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),nt=C("ObservableMap",ne);function nn(e){return e[Symbol.toStringTag]="MapIterator",nj(e)}var nr={},ni=function(){function e(e,n,r){var i=this;void 0===n&&(n=ei),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[Q]=nr,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_=r,A(Set)||t(22),this.enhancer_=function(e,t){return n(e,t,r)},nA(function(){i.atom_=et(i.name_),e&&i.replace(e)})}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.clear=function(){var e=this;tW(function(){e8(function(){for(var t,n=G(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})}
2,n.forEach=function(e,t){for(var n,r=G(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},n.add=function(e){var t=this;if(e3(this.atom_),tG(this)){var n=tq(this,{type:"add",object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){tW(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=tz(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;r&&tY(this,i)}return this},n.delete=function(e){var t=this;if(tG(this)&&!tq(this,{type:t7,object:this,oldValue:e}))return!1;if(this.has(e)){var n=tz(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:t7,object:this,oldValue:e}:null;return tW(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&tY(this,r),!0}return!1},n.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},n.entries=function(){var e=this.values();return na({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},n.keys=function(){return this.values()},n.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return na({next:function(){var n=t.next(),r=n.value,i=n.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(r),done:i}}})},n.intersection=function(e){return M(e)&&!no(e)?e.intersection(this):new Set(this).intersection(e)},n.union=function(e){return M(e)&&!no(e)?e.union(this):new Set(this).union(e)},n.difference=function(e){return new Set(this).difference(e)},n.symmetricDifference=function(e){return M(e)&&!no(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},n.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},n.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},n.isDisjointFrom=function(e){return M(e)&&!no(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},n.replace=function(e){var n=this;return no(e)&&(e=new Set(e)),tW(function(){Array.isArray(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):M(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):null!=e&&t("Cannot initialize set from "+e)}),this},n.observe_=function(e,t){return tX(this,e)},n.intercept_=function(e){return tF(this,e)},n.toJSON=function(){return Array.from(this)},n.toString=function(){return"[object ObservableSet]"},n[Symbol.iterator]=function(){return this.values()},H(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),no=C("ObservableSet",ni);function na(e){return e[Symbol.toStringTag]="SetIterator",nj(e)}var ns=Object.create(null),nu="remove",nl=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 Z("ObservableObject.keys"),this.isPlainObject_=P(this.target_)}var n=e.prototype;return n.getObservablePropValue_=function(e){return this.values_.get(e).get()},n.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof eQ)return n.set(t),!0;if(tG(this)){var r=tq(this,{type:tQ,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==to.UNCHANGED){var i=tz(this),o=i?{type:tQ,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&tY(this,o)}return!0},n.get_=function(e){return to.trackingDerivation&&!B(this.target_,e)&&this.has_(e),this.target_[e]},n.set_=function(e,t,n){return(void 0===n&&(n=!1),B(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)},n.has_=function(e){if(!to.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new eJ(e in this.target_,eo,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},n.make_=function(e,n){if(!0===n&&(n=this.defaultAnnotation_),!1!==n){if(n_(this,n,e),!(e in this.target_)){var r;if(null!=(r=this.target_[X])&&r[e])return;t(1,n.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==g;){var o=_(i,e);if(o){var a=n.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}nv(this,n,e)}},n.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);n_(this,n,e);var i=n.extend_(this,e,t,r);return i&&nv(this,n,e),i},n.defineProperty_=function(e,t,n){void 0===n&&(n=!1),e3(this.keysAtom_);try{tu();var r=this.delete_(e);if(!r)return r;if(tG(this)){var i=tq(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=F({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else p(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{tl()}return!0},n.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),e3(this.keysAtom_);try{tu();var i=this.delete_(e);if(!i)return i;if(tG(this)){var o=tq(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:t});if(!o)return null;t=o.newValue}var a=nh(e),s={configurable:!to.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else p(this.target_,e,s);var u=new eJ(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{tl()}return!0},n.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),e3(this.keysAtom_);try{tu();var r=this.delete_(e);if(!r)return r;if(tG(this)&&!tq(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 i=nh(e),o={configurable:!to.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else p(this.target_,e,o);this.values_.set(e,new eQ(t)),this.notifyPropertyAddition_(e,void 0)}finally{tl()}return!0},n.delete_=function(e,t){if(void 0===t&&(t=!1),e3(this.keysAtom_),!B(this.target_,e))return!0;
2if(tG(this)&&!tq(this,{object:this.proxy_||this.target_,name:e,type:nu}))return null;try{tu();var n,r,i=tz(this),o=this.values_.get(e),a=void 0;if(!o&&(i||0)&&(a=null==(r=_(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof eJ&&(a=o.value_),tf(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i||0){var s={type:nu,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&tY(this,s)}}finally{tl()}return!0},n.observe_=function(e,t){return tX(this,e)},n.intercept_=function(e){return tF(this,e)},n.notifyPropertyAddition_=function(e,t){var n,r=tz(this);if(r){var i=r?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&tY(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},n.ownKeys_=function(){return this.keysAtom_.reportObserved(),N(this.target_)},n.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function nc(e,t){if(B(e,Q))return e;var n,r,i=null!=(r=null==t?void 0:t.name)?r:"ObservableObject",o=new nl(e,new Map,String(i),t?null!=(n=t.defaultDecorator)?n:eA(t):void 0);return j(e,Q,o),e}var nf=C("ObservableObjectAdministration",nl);function nh(e){return ns[e]||(ns[e]={get:function(){return this[Q].getObservablePropValue_(e)},set:function(t){return this[Q].setObservablePropValue_(e,t)}})}function nd(e){return!!E(e)&&nf(e[Q])}function nv(e,t,n){var r;null==(r=e.target_[X])||delete r[n]}function n_(e,t,n){}var np=nw(0),ng=(a=!1,Object.defineProperty(s={},"0",{set:function(){a=!0}}),Object.create(s)["0"]=1,!1===a),nb=0,nm=function(){};u=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(nm.prototype,u):void 0!==nm.prototype.__proto__?nm.prototype.__proto__=u:nm.prototype=u;var ny=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,nA(function(){var e=new t0(r,n,i,!0);e.proxy_=o,R(o,Q,e),t&&t.length&&o.spliceWithArray(0,0,t),ng&&Object.defineProperty(o,"0",np)}),o}q(t,e);var n=t.prototype;return n.concat=function(){this[Q].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 t6(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return nj({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},H(t,[{key:"length",get:function(){return this[Q].getArrayLength_()},set:function(e){this[Q].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(nm);function nw(e){return{enumerable:!1,configurable:!0,get:function(){return this[Q].get_(e)},set:function(t){this[Q].set_(e,t)}}}function nO(e){if(e>nb){for(var t,n=nb;n<e+100;n++)t=n,p(ny.prototype,""+t,nw(t));nb=e}}function nx(e,n){if("object"==typeof e&&null!==e){if(t6(e))return void 0!==n&&t(23),e[Q].atom_;if(no(e))return e.atom_;if(nt(e)){if(void 0===n)return e.keysAtom_;var r=e.data_.get(n)||e.hasMap_.get(n);return r||t(25,n,nS(e)),r}if(nd(e)){if(!n)return t(26);var i=e[Q].values_.get(n);return i||t(27,n,nS(e)),i}if(ee(e)||eZ(e)||tp(e))return e}else if(A(e)&&tp(e[Q]))return e[Q];t(28)}function nS(e,n){var r;if(void 0!==n)r=nx(e,n);else{if(tE(e))return e.name;r=nd(e)||nt(e)||no(e)?function e(n,r){return(n||t(29),void 0!==r)?e(nx(n,r)):ee(n)||eZ(n)||tp(n)||nt(n)||no(n)?n:n[Q]?n[Q]:void t(24,n)}(e):nx(e)}return r.name_}function nA(e){var t=e6(),n=eY(!0);tu();try{return e()}finally{tl(),e$(n),e4(t)}}Object.entries(t1).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&j(ny.prototype,t,n)}),nO(1e3);var nk=g.toString;function nE(e,t,n){return void 0===n&&(n=-1),function e(t,n,r,i,o){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=nk.call(t);if(s!==nk.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"u">typeof Symbol&&Symbol.valueOf.call(t)===Symbol.valueOf.call(n);case"[object Map]":case"[object Set]":r>=0&&r++}t=nP(t),n=nP(n);var u="[object Array]"===s;if(!u){if("object"!=typeof t||"object"!=typeof n)return!1;var l=t.constructor,c=n.constructor;if(l!==c&&!(A(l)&&l instanceof l&&A(c)&&c instanceof c)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var f=(i=i||[]).length;f--;)if(i[f]===t)return o[f]===n;if(i.push(t),o.push(n),u){if((f=t.length)!==n.length)return!1;for(;f--;)if(!e(t[f],n[f],r-1,i,o))return!1}else{var h=Object.keys(t),d=h.length;if(Object.keys(n).length!==d)return!1;for(var v=0;v<d;v++){var _=h[v];if(!(B(n,_)&&e(t[_],n[_],r-1,i,o)))return!1}}return i.pop(),o.pop(),!0}(e,t,n)}function nP(e){return t6(e)?e.slice():L(e)||nt(e)||M(e)||no(e)?Array.from(e.entries()):e}var nT=(null==(d=n().Iterator)?void 0:d.prototype)||{};function nj(e){return e[Symbol.iterator]=nR,Object.assign(Object.create(nT),e)}function nR(){return this}["Symbol","Map","Set"].forEach(function(e){void 0===n()[e]&&t("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:nS},$mobx:Q}),e.s(["Reaction",0,th,"_allowStateChanges",0,eX,"_getGlobalState",0,function(){return to},"action",0,tA,"computed",0,eK,"configure",0,function(e){!0===e.isolateGlobalState&&function(){if((to.pendingReactions.length||to.inBatch||to.isRunningReactions)&&t(36),ti=!0,tr){var e=n();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),to=new tn}}();var r,i,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(to.useProxies=o===tC||"never"!==o&&"u">typeof Proxy),"ifavailable"===o&&(to.verifyProxies=!0),void 0!==a){var s=a===tC?tC:"observed"===a;to.enforceActions=s,to.allowStateChanges=!0!==s&&s!==tC}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(to[t]=!!e[t])}),to.allowStateReads=!to.observableRequiresReaction,e.reactionScheduler&&(r=e.reactionScheduler,i=td,td=function(e){return r(function(){return i(e)})})},"getDependencyTree",0,function(e,t){return function e(t){var n={name:t.name_};return t.observing_&&t.observing_.length>0&&(n.dependencies=Array.from(new Set(t.observing_)).map(e)),n}(nx(e,t))},"isObservableArray",0,t6,"isObservableMap",0,nt,"isObservableObject",0,nd,"makeAutoObservable",0,function(e,t,n){return P(e)?tL(e,e,t,n):(nA(function(){var r=nc(e,n)[Q];if(!e[t$]){var i=Object.getPrototypeOf(e),o=new Set([].concat(N(e),N(i)));o.delete("constructor"),o.delete(Q),j(i,t$,o)}e[t$].forEach(function(e){return r.make_(e,!t||!(e in t)||t[e])})}),e)},"makeObservable",0,function(e,t,n){return nA(function(){var r=nc(e,n)[Q];null!=t||(B(e,X)||j(e,X,F({},e[X])),t=e[X]),N(t).forEach(function(e){return r.make_(e,t[e])})}),e},"observable",0,eV,"reaction",0,function(e,t,n){void 0===n&&(n=m);var r,i,o,a,s,u,l=null!=(o=n.name)?o:"Reaction",c=tA(l,n.onError?(r=n.onError,i=t,function(){try{return i.apply(this,arguments)}catch(e){r.call(this,e)}}):t),f=!n.scheduler&&!n.delay,h=tT(n),d=!0,v=!1,_=n.compareStructural?en:n.equals||er,p=new th(l,function(){d||f?g():v||(v=!0,h(g))},n.onError,n.requiresObservable);function g(){if(v=!1,!p.isDisposed){var t=!1,r=u;p.track(function(){var n=eX(!1,function(){return e(p)});t=d||!_(u,n),u=n}),d&&n.fireImmediately?c(u,r,p):!d&&t&&c(u,r,p),d=!1}}return null!=(a=n)&&null!=(a=a.signal)&&a.aborted||p.schedule_(),p.getDisposer_(null==(s=n)?void 0:s.signal)},"runInAction",0,function(e){return ez(e.name||tm,!1,e,this,void 0)},"untracked",0,e8])}]); 3 4//# debugId=b9693960-3d3f-5d55-c801-9101bd0fde37 5//# sourceMappingURL=2usvjem1t6ro9.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.