MosswartOverlord/static/assets/react-yfL0ty4i.js
Erik a5bd659876 feat(v2): remove old dashboard, add vitae + resizable windows
- Removed old Recharts dashboard view entirely (no more viewMode
  toggle, DashboardView lazy import, Ctrl+D shortcut)
- Recharts chunk eliminated from build — bundle size reduced
- Player Dashboard window: added Vitae column (red when > 0%)
- ALL windows now resizable: drag bottom-right corner handle
  (min 300×200px). Subtle diagonal line grip indicator.
- Sidebar: removed 📊 Dashboard toggle link, removed broken
  /quest-status.html external link (replaced by 📜 Quests window)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:33:07 +02:00

17 lines
12 KiB
JavaScript

function ue(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var I={exports:{}},n={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var K;function te(){if(K)return n;K=1;var p=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),m=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),i=Symbol.for("react.suspense"),t=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),C=Symbol.iterator;function A(e){return e===null||typeof e!="object"?null:(e=C&&e[C]||e["@@iterator"],typeof e=="function"?e:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,k={};function O(e,r,o){this.props=e,this.context=r,this.refs=k,this.updater=o||U}O.prototype.isReactComponent={},O.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function b(){}b.prototype=O.prototype;function H(e,r,o){this.props=e,this.context=r,this.refs=k,this.updater=o||U}var N=H.prototype=new b;N.constructor=H,Y(N,O.prototype),N.isPureReactComponent=!0;var q=Array.isArray;function D(){}var a={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function L(e,r,o){var u=o.ref;return{$$typeof:p,type:e,key:r,ref:u!==void 0?u:null,props:o}}function Q(e,r){return L(e.type,r,e.props)}function j(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function Z(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return r[o]})}var G=/\/+/g;function M(e,r){return typeof e=="object"&&e!==null&&e.key!=null?Z(""+e.key):r.toString(36)}function J(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(D,D):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function S(e,r,o,u,s){var f=typeof e;(f==="undefined"||f==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(f){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case p:case R:l=!0;break;case c:return l=e._init,S(l(e._payload),r,o,u,s)}}if(l)return s=s(e),l=u===""?"."+M(e,0):u,q(s)?(o="",l!=null&&(o=l.replace(G,"$&/")+"/"),S(s,r,o,"",function(ee){return ee})):s!=null&&(j(s)&&(s=Q(s,o+(s.key==null||e&&e.key===s.key?"":(""+s.key).replace(G,"$&/")+"/")+l)),r.push(s)),1;l=0;var d=u===""?".":u+":";if(q(e))for(var g=0;g<e.length;g++)u=e[g],f=d+M(u,g),l+=S(u,r,o,f,s);else if(g=A(e),typeof g=="function")for(e=g.call(e),g=0;!(u=e.next()).done;)u=u.value,f=d+M(u,g++),l+=S(u,r,o,f,s);else if(f==="object"){if(typeof e.then=="function")return S(J(e),r,o,u,s);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return l}function h(e,r,o){if(e==null)return e;var u=[],s=0;return S(e,u,"","",function(f){return r.call(o,f,s++)}),u}function V(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var z=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},F={map:h,forEach:function(e,r,o){h(e,function(){r.apply(this,arguments)},o)},count:function(e){var r=0;return h(e,function(){r++}),r},toArray:function(e){return h(e,function(r){return r})||[]},only:function(e){if(!j(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};return n.Activity=v,n.Children=F,n.Component=O,n.Fragment=E,n.Profiler=P,n.PureComponent=H,n.StrictMode=y,n.Suspense=i,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,n.__COMPILER_RUNTIME={__proto__:null,c:function(e){return a.H.useMemoCache(e)}},n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.cloneElement=function(e,r,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var u=Y({},e.props),s=e.key;if(r!=null)for(f in r.key!==void 0&&(s=""+r.key),r)!x.call(r,f)||f==="key"||f==="__self"||f==="__source"||f==="ref"&&r.ref===void 0||(u[f]=r[f]);var f=arguments.length-2;if(f===1)u.children=o;else if(1<f){for(var l=Array(f),d=0;d<f;d++)l[d]=arguments[d+2];u.children=l}return L(e.type,s,u)},n.createContext=function(e){return e={$$typeof:m,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:w,_context:e},e},n.createElement=function(e,r,o){var u,s={},f=null;if(r!=null)for(u in r.key!==void 0&&(f=""+r.key),r)x.call(r,u)&&u!=="key"&&u!=="__self"&&u!=="__source"&&(s[u]=r[u]);var l=arguments.length-2;if(l===1)s.children=o;else if(1<l){for(var d=Array(l),g=0;g<l;g++)d[g]=arguments[g+2];s.children=d}if(e&&e.defaultProps)for(u in l=e.defaultProps,l)s[u]===void 0&&(s[u]=l[u]);return L(e,f,s)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:T,render:e}},n.isValidElement=j,n.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:V}},n.memo=function(e,r){return{$$typeof:t,type:e,compare:r===void 0?null:r}},n.startTransition=function(e){var r=a.T,o={};a.T=o;try{var u=e(),s=a.S;s!==null&&s(o,u),typeof u=="object"&&u!==null&&typeof u.then=="function"&&u.then(D,z)}catch(f){z(f)}finally{r!==null&&o.types!==null&&(r.types=o.types),a.T=r}},n.unstable_useCacheRefresh=function(){return a.H.useCacheRefresh()},n.use=function(e){return a.H.use(e)},n.useActionState=function(e,r,o){return a.H.useActionState(e,r,o)},n.useCallback=function(e,r){return a.H.useCallback(e,r)},n.useContext=function(e){return a.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,r){return a.H.useDeferredValue(e,r)},n.useEffect=function(e,r){return a.H.useEffect(e,r)},n.useEffectEvent=function(e){return a.H.useEffectEvent(e)},n.useId=function(){return a.H.useId()},n.useImperativeHandle=function(e,r,o){return a.H.useImperativeHandle(e,r,o)},n.useInsertionEffect=function(e,r){return a.H.useInsertionEffect(e,r)},n.useLayoutEffect=function(e,r){return a.H.useLayoutEffect(e,r)},n.useMemo=function(e,r){return a.H.useMemo(e,r)},n.useOptimistic=function(e,r){return a.H.useOptimistic(e,r)},n.useReducer=function(e,r,o){return a.H.useReducer(e,r,o)},n.useRef=function(e){return a.H.useRef(e)},n.useState=function(e){return a.H.useState(e)},n.useSyncExternalStore=function(e,r,o){return a.H.useSyncExternalStore(e,r,o)},n.useTransition=function(){return a.H.useTransition()},n.version="19.2.5",n}var B;function re(){return B||(B=1,I.exports=te()),I.exports}var $={exports:{}},_={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var W;function ne(){if(W)return _;W=1;var p=re();function R(i){var t="https://react.dev/errors/"+i;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)t+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+i+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function E(){}var y={d:{f:E,r:function(){throw Error(R(522))},D:E,C:E,L:E,m:E,X:E,S:E,M:E},p:0,findDOMNode:null},P=Symbol.for("react.portal");function w(i,t,c){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:P,key:v==null?null:""+v,children:i,containerInfo:t,implementation:c}}var m=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function T(i,t){if(i==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}return _.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,_.createPortal=function(i,t){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(R(299));return w(i,t,null,c)},_.flushSync=function(i){var t=m.T,c=y.p;try{if(m.T=null,y.p=2,i)return i()}finally{m.T=t,y.p=c,y.d.f()}},_.preconnect=function(i,t){typeof i=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,y.d.C(i,t))},_.prefetchDNS=function(i){typeof i=="string"&&y.d.D(i)},_.preinit=function(i,t){if(typeof i=="string"&&t&&typeof t.as=="string"){var c=t.as,v=T(c,t.crossOrigin),C=typeof t.integrity=="string"?t.integrity:void 0,A=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;c==="style"?y.d.S(i,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:v,integrity:C,fetchPriority:A}):c==="script"&&y.d.X(i,{crossOrigin:v,integrity:C,fetchPriority:A,nonce:typeof t.nonce=="string"?t.nonce:void 0})}},_.preinitModule=function(i,t){if(typeof i=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var c=T(t.as,t.crossOrigin);y.d.M(i,{crossOrigin:c,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&y.d.M(i)},_.preload=function(i,t){if(typeof i=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var c=t.as,v=T(c,t.crossOrigin);y.d.L(i,c,{crossOrigin:v,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}},_.preloadModule=function(i,t){if(typeof i=="string")if(t){var c=T(t.as,t.crossOrigin);y.d.m(i,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:c,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else y.d.m(i)},_.requestFormReset=function(i){y.d.r(i)},_.unstable_batchedUpdates=function(i,t){return i(t)},_.useFormState=function(i,t,c){return m.H.useFormState(i,t,c)},_.useFormStatus=function(){return m.H.useHostTransitionStatus()},_.version="19.2.5",_}var X;function oe(){if(X)return $.exports;X=1;function p(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p)}catch(R){console.error(R)}}return p(),$.exports=ne(),$.exports}export{oe as a,ue as g,re as r};