@kangtae49/just-layout 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -7583,7 +7583,7 @@ let Vf = class {
7583
7583
  getNodeByWinId = (t, e) => {
7584
7584
  if (t === null) return null;
7585
7585
  if (t.type === "stack")
7586
- return $e.includes(t.tabs, e) ? t : null;
7586
+ return $e.includes(t.tabs, e) ? (console.log("includes ok:", t.tabs, e), t) : (console.log("includes nok:", t.tabs, e), null);
7587
7587
  {
7588
7588
  const n = this.getNodeByWinId(t.first, e);
7589
7589
  if (n != null)
package/dist/index.umd.js CHANGED
@@ -64,7 +64,7 @@ __p += '`),ke&&(z+=`' +
64
64
  function print() { __p += __j.call(arguments, '') }
65
65
  `:`;
66
66
  `)+z+`return __p
67
- }`;var Ne=Ky(function(){return We(m,fe+"return "+z).apply(t,_)});if(Ne.source=z,zl(Ne))throw Ne;return Ne}function sR(i){return ze(i).toLowerCase()}function uR(i){return ze(i).toUpperCase()}function cR(i,a,u){if(i=ze(i),i&&(u||a===t))return ob(i);if(!i||!(a=un(a)))return i;var l=Yn(i),h=Yn(a),m=ab(l,h),_=sb(l,h)+1;return Xr(l,m,_).join("")}function fR(i,a,u){if(i=ze(i),i&&(u||a===t))return i.slice(0,cb(i)+1);if(!i||!(a=un(a)))return i;var l=Yn(i),h=sb(l,Yn(a))+1;return Xr(l,0,h).join("")}function lR(i,a,u){if(i=ze(i),i&&(u||a===t))return i.replace(Or,"");if(!i||!(a=un(a)))return i;var l=Yn(i),h=ab(l,Yn(a));return Xr(l,h).join("")}function dR(i,a){var u=we,l=ce;if(ot(a)){var h="separator"in a?a.separator:h;u="length"in a?xe(a.length):u,l="omission"in a?un(a.omission):l}i=ze(i);var m=i.length;if(eo(i)){var _=Yn(i);m=_.length}if(u>=m)return i;var E=u-to(l);if(E<1)return l;var D=_?Xr(_,0,E).join(""):i.slice(0,E);if(h===t)return D+l;if(_&&(E+=D.length-E),Hl(h)){if(i.slice(E).search(h)){var $,V=D;for(h.global||(h=sl(h.source,ze(Tm.exec(h))+"g")),h.lastIndex=0;$=h.exec(V);)var z=$.index;D=D.slice(0,z===t?E:z)}}else if(i.indexOf(un(h),E)!=E){var re=D.lastIndexOf(h);re>-1&&(D=D.slice(0,re))}return D+l}function hR(i){return i=ze(i),i&&X.test(i)?i.replace(K,WN):i}var pR=uo(function(i,a,u){return i+(u?" ":"")+a.toUpperCase()}),Yl=Xb("toUpperCase");function Jy(i,a,u){return i=ze(i),a=u?t:a,a===t?BN(i)?HN(i):xN(i):i.match(a)||[]}var Ky=De(function(i,a){try{return an(i,t,a)}catch(u){return zl(u)?u:new Oe(u)}}),vR=xr(function(i,a){return Nn(a,function(u){u=sr(u),Ar(i,u,Wl(i[u],i))}),i});function gR(i){var a=i==null?0:i.length,u=ve();return i=a?rt(i,function(l){if(typeof l[1]!="function")throw new Dn(c);return[u(l[0]),l[1]]}):[],De(function(l){for(var h=-1;++h<a;){var m=i[h];if(an(m[0],this,l))return an(m[1],this,l)}})}function mR(i){return WD(Pn(i,b))}function Jl(i){return function(){return i}}function bR(i,a){return i==null||i!==i?a:i}var yR=Qb(),_R=Qb(!0);function Ht(i){return i}function Kl(i){return Nb(typeof i=="function"?i:Pn(i,b))}function wR(i){return Cb(Pn(i,b))}function SR(i,a){return Pb(i,Pn(a,b))}var OR=De(function(i,a){return function(u){return ca(u,i,a)}}),ER=De(function(i,a){return function(u){return ca(i,u,a)}});function Xl(i,a,u){var l=Ot(a),h=Js(a,l);u==null&&!(ot(a)&&(h.length||!l.length))&&(u=a,a=i,i=this,h=Js(a,Ot(a)));var m=!(ot(u)&&"chain"in u)||!!u.chain,_=Dr(i);return Nn(h,function(E){var D=a[E];i[E]=D,_&&(i.prototype[E]=function(){var $=this.__chain__;if(m||$){var V=i(this.__wrapped__),z=V.__actions__=Wt(this.__actions__);return z.push({func:D,args:arguments,thisArg:i}),V.__chain__=$,V}return D.apply(i,Hr([this.value()],arguments))})}),i}function IR(){return Dt._===this&&(Dt._=XN),this}function Zl(){}function AR(i){return i=xe(i),De(function(a){return Mb(a,i)})}var TR=Nl(rt),xR=Nl(eb),NR=Nl(el);function Xy(i){return kl(i)?tl(sr(i)):oC(i)}function DR(i){return function(a){return i==null?t:Oi(i,a)}}var CR=ty(),PR=ty(!0);function Ql(){return[]}function ed(){return!1}function MR(){return{}}function RR(){return""}function LR(){return!0}function kR(i,a){if(i=xe(i),i<1||i>ue)return[];var u=Le,l=Mt(i,Le);a=ve(a),i-=Le;for(var h=il(l,a);++u<i;)a(u);return h}function BR(i){return Ie(i)?rt(i,sr):cn(i)?[i]:Wt(my(ze(i)))}function jR(i){var a=++JN;return ze(i)+a}var FR=tu(function(i,a){return i+a},0),$R=Dl("ceil"),VR=tu(function(i,a){return i/a},1),WR=Dl("floor");function UR(i){return i&&i.length?Ys(i,Ht,vl):t}function zR(i,a){return i&&i.length?Ys(i,ve(a,2),vl):t}function HR(i){return rb(i,Ht)}function qR(i,a){return rb(i,ve(a,2))}function GR(i){return i&&i.length?Ys(i,Ht,yl):t}function YR(i,a){return i&&i.length?Ys(i,ve(a,2),yl):t}var JR=tu(function(i,a){return i*a},1),KR=Dl("round"),XR=tu(function(i,a){return i-a},0);function ZR(i){return i&&i.length?rl(i,Ht):0}function QR(i,a){return i&&i.length?rl(i,ve(a,2)):0}return g.after=wM,g.ary=xy,g.assign=u2,g.assignIn=Wy,g.assignInWith=pu,g.assignWith=c2,g.at=f2,g.before=Ny,g.bind=Wl,g.bindAll=vR,g.bindKey=Dy,g.castArray=MM,g.chain=Iy,g.chunk=WC,g.compact=UC,g.concat=zC,g.cond=gR,g.conforms=mR,g.constant=Jl,g.countBy=ZP,g.create=l2,g.curry=Cy,g.curryRight=Py,g.debounce=My,g.defaults=d2,g.defaultsDeep=h2,g.defer=SM,g.delay=OM,g.difference=HC,g.differenceBy=qC,g.differenceWith=GC,g.drop=YC,g.dropRight=JC,g.dropRightWhile=KC,g.dropWhile=XC,g.fill=ZC,g.filter=eM,g.flatMap=rM,g.flatMapDeep=iM,g.flatMapDepth=oM,g.flatten=wy,g.flattenDeep=QC,g.flattenDepth=eP,g.flip=EM,g.flow=yR,g.flowRight=_R,g.fromPairs=tP,g.functions=_2,g.functionsIn=w2,g.groupBy=aM,g.initial=rP,g.intersection=iP,g.intersectionBy=oP,g.intersectionWith=aP,g.invert=O2,g.invertBy=E2,g.invokeMap=uM,g.iteratee=Kl,g.keyBy=cM,g.keys=Ot,g.keysIn=zt,g.map=uu,g.mapKeys=A2,g.mapValues=T2,g.matches=wR,g.matchesProperty=SR,g.memoize=fu,g.merge=x2,g.mergeWith=Uy,g.method=OR,g.methodOf=ER,g.mixin=Xl,g.negate=lu,g.nthArg=AR,g.omit=N2,g.omitBy=D2,g.once=IM,g.orderBy=fM,g.over=TR,g.overArgs=AM,g.overEvery=xR,g.overSome=NR,g.partial=Ul,g.partialRight=Ry,g.partition=lM,g.pick=C2,g.pickBy=zy,g.property=Xy,g.propertyOf=DR,g.pull=fP,g.pullAll=Oy,g.pullAllBy=lP,g.pullAllWith=dP,g.pullAt=hP,g.range=CR,g.rangeRight=PR,g.rearg=TM,g.reject=pM,g.remove=pP,g.rest=xM,g.reverse=$l,g.sampleSize=gM,g.set=M2,g.setWith=R2,g.shuffle=mM,g.slice=vP,g.sortBy=_M,g.sortedUniq=SP,g.sortedUniqBy=OP,g.split=rR,g.spread=NM,g.tail=EP,g.take=IP,g.takeRight=AP,g.takeRightWhile=TP,g.takeWhile=xP,g.tap=UP,g.throttle=DM,g.thru=su,g.toArray=Fy,g.toPairs=Hy,g.toPairsIn=qy,g.toPath=BR,g.toPlainObject=Vy,g.transform=L2,g.unary=CM,g.union=NP,g.unionBy=DP,g.unionWith=CP,g.uniq=PP,g.uniqBy=MP,g.uniqWith=RP,g.unset=k2,g.unzip=Vl,g.unzipWith=Ey,g.update=B2,g.updateWith=j2,g.values=lo,g.valuesIn=F2,g.without=LP,g.words=Jy,g.wrap=PM,g.xor=kP,g.xorBy=BP,g.xorWith=jP,g.zip=FP,g.zipObject=$P,g.zipObjectDeep=VP,g.zipWith=WP,g.entries=Hy,g.entriesIn=qy,g.extend=Wy,g.extendWith=pu,Xl(g,g),g.add=FR,g.attempt=Ky,g.camelCase=U2,g.capitalize=Gy,g.ceil=$R,g.clamp=$2,g.clone=RM,g.cloneDeep=kM,g.cloneDeepWith=BM,g.cloneWith=LM,g.conformsTo=jM,g.deburr=Yy,g.defaultTo=bR,g.divide=VR,g.endsWith=z2,g.eq=Kn,g.escape=H2,g.escapeRegExp=q2,g.every=QP,g.find=tM,g.findIndex=yy,g.findKey=p2,g.findLast=nM,g.findLastIndex=_y,g.findLastKey=v2,g.floor=WR,g.forEach=Ay,g.forEachRight=Ty,g.forIn=g2,g.forInRight=m2,g.forOwn=b2,g.forOwnRight=y2,g.get=ql,g.gt=FM,g.gte=$M,g.has=S2,g.hasIn=Gl,g.head=Sy,g.identity=Ht,g.includes=sM,g.indexOf=nP,g.inRange=V2,g.invoke=I2,g.isArguments=Ai,g.isArray=Ie,g.isArrayBuffer=VM,g.isArrayLike=Ut,g.isArrayLikeObject=lt,g.isBoolean=WM,g.isBuffer=Zr,g.isDate=UM,g.isElement=zM,g.isEmpty=HM,g.isEqual=qM,g.isEqualWith=GM,g.isError=zl,g.isFinite=YM,g.isFunction=Dr,g.isInteger=Ly,g.isLength=du,g.isMap=ky,g.isMatch=JM,g.isMatchWith=KM,g.isNaN=XM,g.isNative=ZM,g.isNil=e2,g.isNull=QM,g.isNumber=By,g.isObject=ot,g.isObjectLike=st,g.isPlainObject=va,g.isRegExp=Hl,g.isSafeInteger=t2,g.isSet=jy,g.isString=hu,g.isSymbol=cn,g.isTypedArray=fo,g.isUndefined=n2,g.isWeakMap=r2,g.isWeakSet=i2,g.join=sP,g.kebabCase=G2,g.last=Rn,g.lastIndexOf=uP,g.lowerCase=Y2,g.lowerFirst=J2,g.lt=o2,g.lte=a2,g.max=UR,g.maxBy=zR,g.mean=HR,g.meanBy=qR,g.min=GR,g.minBy=YR,g.stubArray=Ql,g.stubFalse=ed,g.stubObject=MR,g.stubString=RR,g.stubTrue=LR,g.multiply=JR,g.nth=cP,g.noConflict=IR,g.noop=Zl,g.now=cu,g.pad=K2,g.padEnd=X2,g.padStart=Z2,g.parseInt=Q2,g.random=W2,g.reduce=dM,g.reduceRight=hM,g.repeat=eR,g.replace=tR,g.result=P2,g.round=KR,g.runInContext=T,g.sample=vM,g.size=bM,g.snakeCase=nR,g.some=yM,g.sortedIndex=gP,g.sortedIndexBy=mP,g.sortedIndexOf=bP,g.sortedLastIndex=yP,g.sortedLastIndexBy=_P,g.sortedLastIndexOf=wP,g.startCase=iR,g.startsWith=oR,g.subtract=XR,g.sum=ZR,g.sumBy=QR,g.template=aR,g.times=kR,g.toFinite=Cr,g.toInteger=xe,g.toLength=$y,g.toLower=sR,g.toNumber=Ln,g.toSafeInteger=s2,g.toString=ze,g.toUpper=uR,g.trim=cR,g.trimEnd=fR,g.trimStart=lR,g.truncate=dR,g.unescape=hR,g.uniqueId=jR,g.upperCase=pR,g.upperFirst=Yl,g.each=Ay,g.eachRight=Ty,g.first=Sy,Xl(g,(function(){var i={};return or(g,function(a,u){Ue.call(g.prototype,u)||(i[u]=a)}),i})(),{chain:!1}),g.VERSION=r,Nn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){g[i].placeholder=g}),Nn(["drop","take"],function(i,a){Re.prototype[i]=function(u){u=u===t?1:wt(xe(u),0);var l=this.__filtered__&&!a?new Re(this):this.clone();return l.__filtered__?l.__takeCount__=Mt(u,l.__takeCount__):l.__views__.push({size:Mt(u,Le),type:i+(l.__dir__<0?"Right":"")}),l},Re.prototype[i+"Right"]=function(u){return this.reverse()[i](u).reverse()}}),Nn(["filter","map","takeWhile"],function(i,a){var u=a+1,l=u==ct||u==ft;Re.prototype[i]=function(h){var m=this.clone();return m.__iteratees__.push({iteratee:ve(h,3),type:u}),m.__filtered__=m.__filtered__||l,m}}),Nn(["head","last"],function(i,a){var u="take"+(a?"Right":"");Re.prototype[i]=function(){return this[u](1).value()[0]}}),Nn(["initial","tail"],function(i,a){var u="drop"+(a?"":"Right");Re.prototype[i]=function(){return this.__filtered__?new Re(this):this[u](1)}}),Re.prototype.compact=function(){return this.filter(Ht)},Re.prototype.find=function(i){return this.filter(i).head()},Re.prototype.findLast=function(i){return this.reverse().find(i)},Re.prototype.invokeMap=De(function(i,a){return typeof i=="function"?new Re(this):this.map(function(u){return ca(u,i,a)})}),Re.prototype.reject=function(i){return this.filter(lu(ve(i)))},Re.prototype.slice=function(i,a){i=xe(i);var u=this;return u.__filtered__&&(i>0||a<0)?new Re(u):(i<0?u=u.takeRight(-i):i&&(u=u.drop(i)),a!==t&&(a=xe(a),u=a<0?u.dropRight(-a):u.take(a-i)),u)},Re.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Re.prototype.toArray=function(){return this.take(Le)},or(Re.prototype,function(i,a){var u=/^(?:filter|find|map|reject)|While$/.test(a),l=/^(?:head|last)$/.test(a),h=g[l?"take"+(a=="last"?"Right":""):a],m=l||/^find/.test(a);h&&(g.prototype[a]=function(){var _=this.__wrapped__,E=l?[1]:arguments,D=_ instanceof Re,$=E[0],V=D||Ie(_),z=function(Pe){var ke=h.apply(g,Hr([Pe],E));return l&&re?ke[0]:ke};V&&u&&typeof $=="function"&&$.length!=1&&(D=V=!1);var re=this.__chain__,fe=!!this.__actions__.length,ge=m&&!re,Ne=D&&!fe;if(!m&&V){_=Ne?_:new Re(this);var me=i.apply(_,E);return me.__actions__.push({func:su,args:[z],thisArg:t}),new Cn(me,re)}return ge&&Ne?i.apply(this,E):(me=this.thru(z),ge?l?me.value()[0]:me.value():me)})}),Nn(["pop","push","shift","sort","splice","unshift"],function(i){var a=Ms[i],u=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",l=/^(?:pop|shift)$/.test(i);g.prototype[i]=function(){var h=arguments;if(l&&!this.__chain__){var m=this.value();return a.apply(Ie(m)?m:[],h)}return this[u](function(_){return a.apply(Ie(_)?_:[],h)})}}),or(Re.prototype,function(i,a){var u=g[a];if(u){var l=u.name+"";Ue.call(oo,l)||(oo[l]=[]),oo[l].push({name:a,func:u})}}),oo[eu(t,x).name]=[{name:"wrapper",func:t}],Re.prototype.clone=hD,Re.prototype.reverse=pD,Re.prototype.value=vD,g.prototype.at=zP,g.prototype.chain=HP,g.prototype.commit=qP,g.prototype.next=GP,g.prototype.plant=JP,g.prototype.reverse=KP,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=XP,g.prototype.first=g.prototype.head,na&&(g.prototype[na]=YP),g}),no=qN();bi?((bi.exports=no)._=no,Kf._=no):Dt._=no}).call(i0)})(Oo,Oo.exports)),Oo.exports}var xi=o0();function eh(n){return JSON.stringify(Bu(n))}function Bu(n){return Array.isArray(n)?n.map(Bu):n&&typeof n=="object"?Object.fromEntries(Object.entries(n).sort((e,t)=>e[0].localeCompare(t[0])).map(([e,t])=>[e,Bu(t)])):n}class $e{static toString(e){const t=eh(e);if(t==null)throw new Error("buildWinId: stringify error");return t}static getParamString(e,t){return e.params?.[t]?.toString()}static getParam(e,t){return e.params?.[t]}static isEquals(e,t){return xi.isEqual(e,t)}static indexOf(e,t){return e.map($e.toString).indexOf($e.toString(t))}static includes(e,t){return e.map($e.toString).includes($e.toString(t))}static withoutDup(e){const{params:t,viewId:r,title:o}=e;return{params:t,viewId:r,title:o}}static replaceDup(e){const{params:t,viewId:r,title:o}=e;return{params:t,viewId:r,title:o,dupId:`${new Date().getTime()}`}}}var Ta={exports:{}},th;function a0(){return th||(th=1,(function(n,e){Object.defineProperty(e,"__esModule",{value:!0});function t(L){return typeof L=="object"&&!("toString"in L)?Object.prototype.toString.call(L).slice(8,-1):L}var r=typeof process=="object"&&process.env.NODE_ENV==="production";function o(L,F){if(!L)throw r?new Error("Invariant failed"):new Error(F())}e.invariant=o;var s=Object.prototype.hasOwnProperty,c=Array.prototype.splice,f=Object.prototype.toString;function d(L){return f.call(L).slice(8,-1)}var p=Object.assign||(function(L,F){return v(F).forEach(function(ae){s.call(F,ae)&&(L[ae]=F[ae])}),L}),v=typeof Object.getOwnPropertySymbols=="function"?function(L){return Object.keys(L).concat(Object.getOwnPropertySymbols(L))}:function(L){return Object.keys(L)};function b(L){return Array.isArray(L)?p(L.constructor(L.length),L):d(L)==="Map"?new Map(L):d(L)==="Set"?new Set(L):L&&typeof L=="object"?p(Object.create(Object.getPrototypeOf(L)),L):L}var w=(function(){function L(){this.commands=p({},y),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(F,ae){return F===ae},this.update.newContext=function(){return new L().update}}return Object.defineProperty(L.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(F){this.update.isEquals=F},enumerable:!0,configurable:!0}),L.prototype.extend=function(F,ae){this.commands[F]=ae},L.prototype.update=function(F,ae){var we=this,ce=typeof ae=="function"?{$apply:ae}:ae;Array.isArray(F)&&Array.isArray(ce)||o(!Array.isArray(ce),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),o(typeof ce=="object"&&ce!==null,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the "+("following commands: "+Object.keys(we.commands).join(", ")+".")});var Se=F;return v(ce).forEach(function(he){if(s.call(we.commands,he)){var ct=F===Se;Se=we.commands[he](ce[he],Se,ce,F),ct&&we.isEquals(Se,F)&&(Se=F)}else{var ht=d(F)==="Map"?we.update(F.get(he),ce[he]):we.update(F[he],ce[he]),ft=d(Se)==="Map"?Se.get(he):Se[he];(!we.isEquals(ht,ft)||typeof ht>"u"&&!s.call(F,he))&&(Se===F&&(Se=b(F)),d(Se)==="Map"?Se.set(he,ht):Se[he]=ht)}}),Se},L})();e.Context=w;var y={$push:function(L,F,ae){return S(F,ae,"$push"),L.length?F.concat(L):F},$unshift:function(L,F,ae){return S(F,ae,"$unshift"),L.length?L.concat(F):F},$splice:function(L,F,ae,we){return x(F,ae),L.forEach(function(ce){k(ce),F===we&&ce.length&&(F=b(we)),c.apply(F,ce)}),F},$set:function(L,F,ae){return oe(ae),L},$toggle:function(L,F){A(L,"$toggle");var ae=L.length?b(F):F;return L.forEach(function(we){ae[we]=!F[we]}),ae},$unset:function(L,F,ae,we){return A(L,"$unset"),L.forEach(function(ce){Object.hasOwnProperty.call(F,ce)&&(F===we&&(F=b(we)),delete F[ce])}),F},$add:function(L,F,ae,we){return ye(F,"$add"),A(L,"$add"),d(F)==="Map"?L.forEach(function(ce){var Se=ce[0],he=ce[1];F===we&&F.get(Se)!==he&&(F=b(we)),F.set(Se,he)}):L.forEach(function(ce){F===we&&!F.has(ce)&&(F=b(we)),F.add(ce)}),F},$remove:function(L,F,ae,we){return ye(F,"$remove"),A(L,"$remove"),L.forEach(function(ce){F===we&&F.has(ce)&&(F=b(we)),F.delete(ce)}),F},$merge:function(L,F,ae,we){return q(F,L),v(L).forEach(function(ce){L[ce]!==F[ce]&&(F===we&&(F=b(we)),F[ce]=L[ce])}),F},$apply:function(L,F){return G(L),L(F)}},O=new w;e.isEquals=O.update.isEquals,e.extend=O.extend,e.default=O.update,e.default.default=n.exports=p(e.default,e);function S(L,F,ae){o(Array.isArray(L),function(){return"update(): expected target of "+t(ae)+" to be an array; got "+t(L)+"."}),A(F[ae],ae)}function A(L,F){o(Array.isArray(L),function(){return"update(): expected spec of "+t(F)+" to be an array; got "+t(L)+". Did you forget to wrap your parameter in an array?"})}function x(L,F){o(Array.isArray(L),function(){return"Expected $splice target to be an array; got "+t(L)}),k(F.$splice)}function k(L){o(Array.isArray(L),function(){return"update(): expected spec of $splice to be an array of arrays; got "+t(L)+". Did you forget to wrap your parameters in an array?"})}function G(L){o(typeof L=="function",function(){return"update(): expected spec of $apply to be a function; got "+t(L)+"."})}function oe(L){o(Object.keys(L).length===1,function(){return"Cannot have more than one key in an object with $set"})}function q(L,F){o(F&&typeof F=="object",function(){return"update(): $merge expects a spec of type 'object'; got "+t(F)}),o(L&&typeof L=="object",function(){return"update(): $merge expects a target of type 'object'; got "+t(L)})}function ye(L,F){var ae=d(L);o(ae==="Map"||ae==="Set",function(){return"update(): "+t(F)+" expects a target of type Set or Map; got "+t(ae)})}})(Ta,Ta.exports)),Ta.exports}var s0=a0();const u0=po(s0);var c0=Object.getOwnPropertyDescriptor,f0=(n,e,t,r)=>{for(var o=r>1?void 0:r?c0(e,t):e,s=n.length-1,c;s>=0;s--)(c=n[s])&&(o=c(o)||o);return o};Fe.JustLayoutService=class{insertWinIdToStack=(e,t)=>{if(e==null)return e;const r=this.getNodeByBranch(e,t.branch);if(r.type!=="stack")return e;const s=r.tabs,c=t.index>=0?xi.clamp(t.index,0,s.length):s.length;return this.updateNodeOfBranch(e,t.branch,{$set:{...r,type:"stack",tabs:[...s.slice(0,c),t.justId,...s.slice(c)],active:t.justId}})};insertWinIdToSplit=(e,t)=>{if(e==null)return e;const r=this.getNodeByBranch(e,t.branch),o=t.pos==="first"?"second":"first";return this.updateNodeOfBranch(e,t.branch,{$set:{type:"split-percentage",direction:t.direction,[o]:{...r,name:void 0},[t.pos]:{type:"stack",tabs:[t.justId],active:t.justId,name:void 0},size:t.size??50,dndAccept:r.dndAccept,name:r.name,hideTitle:r.hideTitle}})};removeWinId=(e,t)=>{if(e==null)return null;const r=this.getNodeByWinId(e,t);if(r?.type!=="stack")return e;const o=r.active?$e.indexOf(r.tabs,r.active):0,s=r.tabs.filter(f=>!$e.isEquals(f,t));let c;return r.active!==null&&$e.includes(s,r.active)?c=r.active:c=s.length>0&&r.active!==null?s[xi.clamp(o-1,0,s.length-1)]:null,this.updateNodeOfWinId(e,t,{$set:{...r,tabs:s,active:c}})};removeAllTabs=(e,t)=>{if(e==null)return null;const r=this.getNodeByBranch(e,t);return r==null||r.type!=="stack"?e:this.updateNodeOfBranch(e,t,{$set:{...r,tabs:[],active:null}})};activeWinId=(e,t)=>{if(e==null)return null;const r=this.getNodeByWinId(e,t);return r==null?e:this.updateNodeOfWinId(e,t,{$set:{...r,active:t}})};getActiveWinIds=e=>{const t=(r,o)=>{if(r===null)return o;if(r.type==="stack")return r.active!==null?[...o,r.active]:o;{const s=t(r.first,o);return t(r.second,s)}};return t(e,[])};removeEmpty=e=>{if(e==null)return e;const t=this.findEmptyBranch(e,null,[]);if(t===null)return e;if(t.length===0)return null;const r=t[t.length-1],o=t.slice(0,-1),s=r==="first"?"second":"first",c=this.getNodeByBranch(e,o),f=this.getNodeByBranch(e,[...o,s]);return this.updateNodeOfBranch(e,o,{$set:{...f,dndAccept:c.dndAccept,name:c.name,hideTitle:c.hideTitle}})};findEmptyBranch=(e,t,r)=>{if(e===null)return null;if(e.type==="stack"){const o=t!=null&&t.type!="stack"&&(!!t.first.name||!!t.second.name);if(e.tabs.length===0&&!o)return r}else{const o=this.findEmptyBranch(e.first,e,[...r,"first"]);if(o!=null)return o;const s=this.findEmptyBranch(e.second,e,[...r,"second"]);if(s!=null)return s}return null};moveWinIdToStack=(e,t)=>{const r=this.removeWinId(e,t.justId);return this.insertWinIdToStack(r,t)};moveWinIdToSplit=(e,t)=>{const r=this.removeWinId(e,t.justId);return this.insertWinIdToSplit(r,t)};getBranch=(e,t,r)=>{if(e===null)return null;if(e.type==="stack")return $e.includes(e.tabs,t)?r:null;{const o=this.getBranch(e.first,t,[...r,"first"]);if(o!=null)return o;const s=this.getBranch(e.second,t,[...r,"second"]);return s??null}};getBranchByWinId=(e,t)=>this.getBranch(e,t,[]);getNodeInfoByNodeName=(e,t,r)=>{if(e===null)return null;if(e.name==t)return{node:e,branch:[...r]};if(e.type!="stack"){const o=this.getNodeInfoByNodeName(e.first,t,[...r,"first"]);if(o!=null)return o;const s=this.getNodeInfoByNodeName(e.second,t,[...r,"second"]);if(s!=null)return s}return null};getTabNodeInfoByNodeName=(e,t,r)=>{if(e===null)return null;const o=this.getNodeInfoByNodeName(e,t,r);if(o==null)return null;if(o.node.type==="stack")return o;{const s=this.getTabNodeInfo(o.node,[]);if(s!=null)return{node:s.node,branch:[...o.branch,...s.branch]}}return null};getNodeByWinId=(e,t)=>{if(e===null)return null;if(e.type==="stack")return $e.includes(e.tabs,t)?e:null;{const r=this.getNodeByWinId(e.first,t);if(r!=null)return r;const o=this.getNodeByWinId(e.second,t);return o??null}};getTabBranch=(e,t)=>{if(e===null)return null;if(e.type==="stack")return t;{let r;e.type==="split-pixels"?r=e.primary==="first"?"second":"first":r=e.direction==="row"?"second":"first";const o=this.getTabBranch(e[r],[...t,r]);if(o!=null)return o}return null};getTabNodeInfo=(e,t)=>{if(e===null)return null;if(e.type==="stack")return{node:e,branch:t};{let r;e.type==="split-pixels"?r=e.primary==="first"?"second":"first":r=e.direction==="row"?"second":"first";const o=this.getTabNodeInfo(e[r],[...t,r]);if(o!=null)return o}return null};addTabWin=(e,t,r,o)=>{if(e===null)return null;const s=this.getNodeByBranch(e,t);if(s.type!=="stack")return e;const c=o<0?s.tabs.length:xi.clamp(o,0,s.tabs.length);return this.updateNodeOfBranch(e,t,{$merge:{tabs:[...s.tabs.slice(0,c),r,...s.tabs.slice(c)],active:r}})};queryWinIdsByViewId=(e,t,r)=>{if(e===null)return r;if(e.type==="stack")return[...r,...e.tabs.filter(o=>o.viewId===t)];{const o=this.queryWinIdsByViewId(e.first,t,r);return this.queryWinIdsByViewId(e.second,t,[...r,...o])}};queryDupWinIdsByWinId=(e,t,r)=>{if(e===null)return r;if(e.type==="stack"){const o=$e.withoutDup(t),s=e.tabs.filter(c=>{const f=$e.withoutDup(c);return $e.isEquals(o,f)});return[...r,...s]}else{const o=this.queryDupWinIdsByWinId(e.first,t,r);return this.queryDupWinIdsByWinId(e.second,t,[...r,...o])}};queryWinIdsByStack=(e,t)=>{if(e===null)return[];const r=this.getNodeByBranch(e,t);return r.type!=="stack"?[]:r.tabs};getNodeByBranch=(e,t)=>t.reduce((r,o)=>r?.[o],e);updateNodeOfBranch=(e,t,r)=>{const o=this.buildSpecFromUpdateSpec(t,r);return this.updateNode(e,o)};updateNodeOfWinId=(e,t,r)=>{const o=this.getBranchByWinId(e,t);if(o==null)return e;const s=this.buildSpecFromUpdateSpec(o,r);return this.updateNode(e,s)};hasWinId=(e,t)=>this.getNodeByWinId(e,t)!=null;updateNode=(e,t)=>e==null?null:u0(e,t);buildSpecFromUpdateSpec=(e,t)=>e.length>0?xi.set({},e,t):t;getNodeAtBranch=(e,t)=>t.length>0?xi.get(e,t,null):e;getBranchRightTop=e=>{if(e==null)return[];let t=e;const r=[];for(;t.type!=="stack";)t.direction==="row"?(r.push("second"),t=t.second):t.direction==="column"&&(r.push("first"),t=t.first);return r};updateSplitSize=(e,t,r)=>{const o=this.buildSpecFromUpdateSpec(t,{$merge:{size:r}});return this.updateNode(e,o)}},Fe.JustLayoutService=f0([gd()],Fe.JustLayoutService);var l0={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},d0=process.env.NODE_ENV!=="production"?l0:{};function ie(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];if(process.env.NODE_ENV!=="production"){var o=typeof n=="string"?n:d0[n];throw typeof o=="function"&&(o=o.apply(null,t)),new Error("[MobX] "+o)}throw new Error(typeof n=="number"?"[MobX] minified error nr: "+n+(t.length?" "+t.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+n)}var h0={};function xa(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:h0}var nh=Object.assign,Na=Object.getOwnPropertyDescriptor,Qn=Object.defineProperty,Eo=Object.prototype,Da=[];Object.freeze(Da);var rh={};Object.freeze(rh);var p0=typeof Proxy<"u",v0=Object.toString();function ih(){p0||ie(process.env.NODE_ENV!=="production"?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function Io(n){process.env.NODE_ENV!=="production"&&H.verifyProxies&&ie("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+n)}function Bn(){return++H.mobxGuid}function ju(n){var e=!1;return function(){if(!e)return e=!0,n.apply(this,arguments)}}var Ni=function(){};function gt(n){return typeof n=="function"}function oi(n){var e=typeof n;switch(e){case"string":case"symbol":case"number":return!0}return!1}function Ca(n){return n!==null&&typeof n=="object"}function Jt(n){if(!Ca(n))return!1;var e=Object.getPrototypeOf(n);if(e==null)return!0;var t=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t.toString()===v0}function oh(n){var e=n?.constructor;return e?e.name==="GeneratorFunction"||e.displayName==="GeneratorFunction":!1}function Ao(n,e,t){Qn(n,e,{enumerable:!1,writable:!0,configurable:!0,value:t})}function ah(n,e,t){Qn(n,e,{enumerable:!1,writable:!1,configurable:!0,value:t})}function kr(n,e){var t="isMobX"+n;return e.prototype[t]=!0,function(r){return Ca(r)&&r[t]===!0}}function Di(n){return n!=null&&Object.prototype.toString.call(n)==="[object Map]"}function g0(n){var e=Object.getPrototypeOf(n),t=Object.getPrototypeOf(e),r=Object.getPrototypeOf(t);return r===null}function cr(n){return n!=null&&Object.prototype.toString.call(n)==="[object Set]"}var sh=typeof Object.getOwnPropertySymbols<"u";function m0(n){var e=Object.keys(n);if(!sh)return e;var t=Object.getOwnPropertySymbols(n);return t.length?[].concat(e,t.filter(function(r){return Eo.propertyIsEnumerable.call(n,r)})):e}var Ci=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:sh?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames;function Fu(n){return typeof n=="string"?n:typeof n=="symbol"?n.toString():new String(n).toString()}function uh(n){return n===null?null:typeof n=="object"?""+n:n}function vn(n,e){return Eo.hasOwnProperty.call(n,e)}var b0=Object.getOwnPropertyDescriptors||function(e){var t={};return Ci(e).forEach(function(r){t[r]=Na(e,r)}),t};function Kt(n,e){return!!(n&e)}function Xt(n,e,t){return t?n|=e:n&=~e,n}function ch(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function y0(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,w0(r.key),r)}}function Pi(n,e,t){return e&&y0(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function Mi(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=S0(n))||e){t&&(n=t);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
67
+ }`;var Ne=Ky(function(){return We(m,fe+"return "+z).apply(t,_)});if(Ne.source=z,zl(Ne))throw Ne;return Ne}function sR(i){return ze(i).toLowerCase()}function uR(i){return ze(i).toUpperCase()}function cR(i,a,u){if(i=ze(i),i&&(u||a===t))return ob(i);if(!i||!(a=un(a)))return i;var l=Yn(i),h=Yn(a),m=ab(l,h),_=sb(l,h)+1;return Xr(l,m,_).join("")}function fR(i,a,u){if(i=ze(i),i&&(u||a===t))return i.slice(0,cb(i)+1);if(!i||!(a=un(a)))return i;var l=Yn(i),h=sb(l,Yn(a))+1;return Xr(l,0,h).join("")}function lR(i,a,u){if(i=ze(i),i&&(u||a===t))return i.replace(Or,"");if(!i||!(a=un(a)))return i;var l=Yn(i),h=ab(l,Yn(a));return Xr(l,h).join("")}function dR(i,a){var u=we,l=ce;if(ot(a)){var h="separator"in a?a.separator:h;u="length"in a?xe(a.length):u,l="omission"in a?un(a.omission):l}i=ze(i);var m=i.length;if(eo(i)){var _=Yn(i);m=_.length}if(u>=m)return i;var E=u-to(l);if(E<1)return l;var D=_?Xr(_,0,E).join(""):i.slice(0,E);if(h===t)return D+l;if(_&&(E+=D.length-E),Hl(h)){if(i.slice(E).search(h)){var $,V=D;for(h.global||(h=sl(h.source,ze(Tm.exec(h))+"g")),h.lastIndex=0;$=h.exec(V);)var z=$.index;D=D.slice(0,z===t?E:z)}}else if(i.indexOf(un(h),E)!=E){var re=D.lastIndexOf(h);re>-1&&(D=D.slice(0,re))}return D+l}function hR(i){return i=ze(i),i&&X.test(i)?i.replace(K,WN):i}var pR=uo(function(i,a,u){return i+(u?" ":"")+a.toUpperCase()}),Yl=Xb("toUpperCase");function Jy(i,a,u){return i=ze(i),a=u?t:a,a===t?BN(i)?HN(i):xN(i):i.match(a)||[]}var Ky=De(function(i,a){try{return an(i,t,a)}catch(u){return zl(u)?u:new Oe(u)}}),vR=xr(function(i,a){return Nn(a,function(u){u=sr(u),Ar(i,u,Wl(i[u],i))}),i});function gR(i){var a=i==null?0:i.length,u=ve();return i=a?rt(i,function(l){if(typeof l[1]!="function")throw new Dn(c);return[u(l[0]),l[1]]}):[],De(function(l){for(var h=-1;++h<a;){var m=i[h];if(an(m[0],this,l))return an(m[1],this,l)}})}function mR(i){return WD(Pn(i,b))}function Jl(i){return function(){return i}}function bR(i,a){return i==null||i!==i?a:i}var yR=Qb(),_R=Qb(!0);function Ht(i){return i}function Kl(i){return Nb(typeof i=="function"?i:Pn(i,b))}function wR(i){return Cb(Pn(i,b))}function SR(i,a){return Pb(i,Pn(a,b))}var OR=De(function(i,a){return function(u){return ca(u,i,a)}}),ER=De(function(i,a){return function(u){return ca(i,u,a)}});function Xl(i,a,u){var l=Ot(a),h=Js(a,l);u==null&&!(ot(a)&&(h.length||!l.length))&&(u=a,a=i,i=this,h=Js(a,Ot(a)));var m=!(ot(u)&&"chain"in u)||!!u.chain,_=Dr(i);return Nn(h,function(E){var D=a[E];i[E]=D,_&&(i.prototype[E]=function(){var $=this.__chain__;if(m||$){var V=i(this.__wrapped__),z=V.__actions__=Wt(this.__actions__);return z.push({func:D,args:arguments,thisArg:i}),V.__chain__=$,V}return D.apply(i,Hr([this.value()],arguments))})}),i}function IR(){return Dt._===this&&(Dt._=XN),this}function Zl(){}function AR(i){return i=xe(i),De(function(a){return Mb(a,i)})}var TR=Nl(rt),xR=Nl(eb),NR=Nl(el);function Xy(i){return kl(i)?tl(sr(i)):oC(i)}function DR(i){return function(a){return i==null?t:Oi(i,a)}}var CR=ty(),PR=ty(!0);function Ql(){return[]}function ed(){return!1}function MR(){return{}}function RR(){return""}function LR(){return!0}function kR(i,a){if(i=xe(i),i<1||i>ue)return[];var u=Le,l=Mt(i,Le);a=ve(a),i-=Le;for(var h=il(l,a);++u<i;)a(u);return h}function BR(i){return Ie(i)?rt(i,sr):cn(i)?[i]:Wt(my(ze(i)))}function jR(i){var a=++JN;return ze(i)+a}var FR=tu(function(i,a){return i+a},0),$R=Dl("ceil"),VR=tu(function(i,a){return i/a},1),WR=Dl("floor");function UR(i){return i&&i.length?Ys(i,Ht,vl):t}function zR(i,a){return i&&i.length?Ys(i,ve(a,2),vl):t}function HR(i){return rb(i,Ht)}function qR(i,a){return rb(i,ve(a,2))}function GR(i){return i&&i.length?Ys(i,Ht,yl):t}function YR(i,a){return i&&i.length?Ys(i,ve(a,2),yl):t}var JR=tu(function(i,a){return i*a},1),KR=Dl("round"),XR=tu(function(i,a){return i-a},0);function ZR(i){return i&&i.length?rl(i,Ht):0}function QR(i,a){return i&&i.length?rl(i,ve(a,2)):0}return g.after=wM,g.ary=xy,g.assign=u2,g.assignIn=Wy,g.assignInWith=pu,g.assignWith=c2,g.at=f2,g.before=Ny,g.bind=Wl,g.bindAll=vR,g.bindKey=Dy,g.castArray=MM,g.chain=Iy,g.chunk=WC,g.compact=UC,g.concat=zC,g.cond=gR,g.conforms=mR,g.constant=Jl,g.countBy=ZP,g.create=l2,g.curry=Cy,g.curryRight=Py,g.debounce=My,g.defaults=d2,g.defaultsDeep=h2,g.defer=SM,g.delay=OM,g.difference=HC,g.differenceBy=qC,g.differenceWith=GC,g.drop=YC,g.dropRight=JC,g.dropRightWhile=KC,g.dropWhile=XC,g.fill=ZC,g.filter=eM,g.flatMap=rM,g.flatMapDeep=iM,g.flatMapDepth=oM,g.flatten=wy,g.flattenDeep=QC,g.flattenDepth=eP,g.flip=EM,g.flow=yR,g.flowRight=_R,g.fromPairs=tP,g.functions=_2,g.functionsIn=w2,g.groupBy=aM,g.initial=rP,g.intersection=iP,g.intersectionBy=oP,g.intersectionWith=aP,g.invert=O2,g.invertBy=E2,g.invokeMap=uM,g.iteratee=Kl,g.keyBy=cM,g.keys=Ot,g.keysIn=zt,g.map=uu,g.mapKeys=A2,g.mapValues=T2,g.matches=wR,g.matchesProperty=SR,g.memoize=fu,g.merge=x2,g.mergeWith=Uy,g.method=OR,g.methodOf=ER,g.mixin=Xl,g.negate=lu,g.nthArg=AR,g.omit=N2,g.omitBy=D2,g.once=IM,g.orderBy=fM,g.over=TR,g.overArgs=AM,g.overEvery=xR,g.overSome=NR,g.partial=Ul,g.partialRight=Ry,g.partition=lM,g.pick=C2,g.pickBy=zy,g.property=Xy,g.propertyOf=DR,g.pull=fP,g.pullAll=Oy,g.pullAllBy=lP,g.pullAllWith=dP,g.pullAt=hP,g.range=CR,g.rangeRight=PR,g.rearg=TM,g.reject=pM,g.remove=pP,g.rest=xM,g.reverse=$l,g.sampleSize=gM,g.set=M2,g.setWith=R2,g.shuffle=mM,g.slice=vP,g.sortBy=_M,g.sortedUniq=SP,g.sortedUniqBy=OP,g.split=rR,g.spread=NM,g.tail=EP,g.take=IP,g.takeRight=AP,g.takeRightWhile=TP,g.takeWhile=xP,g.tap=UP,g.throttle=DM,g.thru=su,g.toArray=Fy,g.toPairs=Hy,g.toPairsIn=qy,g.toPath=BR,g.toPlainObject=Vy,g.transform=L2,g.unary=CM,g.union=NP,g.unionBy=DP,g.unionWith=CP,g.uniq=PP,g.uniqBy=MP,g.uniqWith=RP,g.unset=k2,g.unzip=Vl,g.unzipWith=Ey,g.update=B2,g.updateWith=j2,g.values=lo,g.valuesIn=F2,g.without=LP,g.words=Jy,g.wrap=PM,g.xor=kP,g.xorBy=BP,g.xorWith=jP,g.zip=FP,g.zipObject=$P,g.zipObjectDeep=VP,g.zipWith=WP,g.entries=Hy,g.entriesIn=qy,g.extend=Wy,g.extendWith=pu,Xl(g,g),g.add=FR,g.attempt=Ky,g.camelCase=U2,g.capitalize=Gy,g.ceil=$R,g.clamp=$2,g.clone=RM,g.cloneDeep=kM,g.cloneDeepWith=BM,g.cloneWith=LM,g.conformsTo=jM,g.deburr=Yy,g.defaultTo=bR,g.divide=VR,g.endsWith=z2,g.eq=Kn,g.escape=H2,g.escapeRegExp=q2,g.every=QP,g.find=tM,g.findIndex=yy,g.findKey=p2,g.findLast=nM,g.findLastIndex=_y,g.findLastKey=v2,g.floor=WR,g.forEach=Ay,g.forEachRight=Ty,g.forIn=g2,g.forInRight=m2,g.forOwn=b2,g.forOwnRight=y2,g.get=ql,g.gt=FM,g.gte=$M,g.has=S2,g.hasIn=Gl,g.head=Sy,g.identity=Ht,g.includes=sM,g.indexOf=nP,g.inRange=V2,g.invoke=I2,g.isArguments=Ai,g.isArray=Ie,g.isArrayBuffer=VM,g.isArrayLike=Ut,g.isArrayLikeObject=lt,g.isBoolean=WM,g.isBuffer=Zr,g.isDate=UM,g.isElement=zM,g.isEmpty=HM,g.isEqual=qM,g.isEqualWith=GM,g.isError=zl,g.isFinite=YM,g.isFunction=Dr,g.isInteger=Ly,g.isLength=du,g.isMap=ky,g.isMatch=JM,g.isMatchWith=KM,g.isNaN=XM,g.isNative=ZM,g.isNil=e2,g.isNull=QM,g.isNumber=By,g.isObject=ot,g.isObjectLike=st,g.isPlainObject=va,g.isRegExp=Hl,g.isSafeInteger=t2,g.isSet=jy,g.isString=hu,g.isSymbol=cn,g.isTypedArray=fo,g.isUndefined=n2,g.isWeakMap=r2,g.isWeakSet=i2,g.join=sP,g.kebabCase=G2,g.last=Rn,g.lastIndexOf=uP,g.lowerCase=Y2,g.lowerFirst=J2,g.lt=o2,g.lte=a2,g.max=UR,g.maxBy=zR,g.mean=HR,g.meanBy=qR,g.min=GR,g.minBy=YR,g.stubArray=Ql,g.stubFalse=ed,g.stubObject=MR,g.stubString=RR,g.stubTrue=LR,g.multiply=JR,g.nth=cP,g.noConflict=IR,g.noop=Zl,g.now=cu,g.pad=K2,g.padEnd=X2,g.padStart=Z2,g.parseInt=Q2,g.random=W2,g.reduce=dM,g.reduceRight=hM,g.repeat=eR,g.replace=tR,g.result=P2,g.round=KR,g.runInContext=T,g.sample=vM,g.size=bM,g.snakeCase=nR,g.some=yM,g.sortedIndex=gP,g.sortedIndexBy=mP,g.sortedIndexOf=bP,g.sortedLastIndex=yP,g.sortedLastIndexBy=_P,g.sortedLastIndexOf=wP,g.startCase=iR,g.startsWith=oR,g.subtract=XR,g.sum=ZR,g.sumBy=QR,g.template=aR,g.times=kR,g.toFinite=Cr,g.toInteger=xe,g.toLength=$y,g.toLower=sR,g.toNumber=Ln,g.toSafeInteger=s2,g.toString=ze,g.toUpper=uR,g.trim=cR,g.trimEnd=fR,g.trimStart=lR,g.truncate=dR,g.unescape=hR,g.uniqueId=jR,g.upperCase=pR,g.upperFirst=Yl,g.each=Ay,g.eachRight=Ty,g.first=Sy,Xl(g,(function(){var i={};return or(g,function(a,u){Ue.call(g.prototype,u)||(i[u]=a)}),i})(),{chain:!1}),g.VERSION=r,Nn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){g[i].placeholder=g}),Nn(["drop","take"],function(i,a){Re.prototype[i]=function(u){u=u===t?1:wt(xe(u),0);var l=this.__filtered__&&!a?new Re(this):this.clone();return l.__filtered__?l.__takeCount__=Mt(u,l.__takeCount__):l.__views__.push({size:Mt(u,Le),type:i+(l.__dir__<0?"Right":"")}),l},Re.prototype[i+"Right"]=function(u){return this.reverse()[i](u).reverse()}}),Nn(["filter","map","takeWhile"],function(i,a){var u=a+1,l=u==ct||u==ft;Re.prototype[i]=function(h){var m=this.clone();return m.__iteratees__.push({iteratee:ve(h,3),type:u}),m.__filtered__=m.__filtered__||l,m}}),Nn(["head","last"],function(i,a){var u="take"+(a?"Right":"");Re.prototype[i]=function(){return this[u](1).value()[0]}}),Nn(["initial","tail"],function(i,a){var u="drop"+(a?"":"Right");Re.prototype[i]=function(){return this.__filtered__?new Re(this):this[u](1)}}),Re.prototype.compact=function(){return this.filter(Ht)},Re.prototype.find=function(i){return this.filter(i).head()},Re.prototype.findLast=function(i){return this.reverse().find(i)},Re.prototype.invokeMap=De(function(i,a){return typeof i=="function"?new Re(this):this.map(function(u){return ca(u,i,a)})}),Re.prototype.reject=function(i){return this.filter(lu(ve(i)))},Re.prototype.slice=function(i,a){i=xe(i);var u=this;return u.__filtered__&&(i>0||a<0)?new Re(u):(i<0?u=u.takeRight(-i):i&&(u=u.drop(i)),a!==t&&(a=xe(a),u=a<0?u.dropRight(-a):u.take(a-i)),u)},Re.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Re.prototype.toArray=function(){return this.take(Le)},or(Re.prototype,function(i,a){var u=/^(?:filter|find|map|reject)|While$/.test(a),l=/^(?:head|last)$/.test(a),h=g[l?"take"+(a=="last"?"Right":""):a],m=l||/^find/.test(a);h&&(g.prototype[a]=function(){var _=this.__wrapped__,E=l?[1]:arguments,D=_ instanceof Re,$=E[0],V=D||Ie(_),z=function(Pe){var ke=h.apply(g,Hr([Pe],E));return l&&re?ke[0]:ke};V&&u&&typeof $=="function"&&$.length!=1&&(D=V=!1);var re=this.__chain__,fe=!!this.__actions__.length,ge=m&&!re,Ne=D&&!fe;if(!m&&V){_=Ne?_:new Re(this);var me=i.apply(_,E);return me.__actions__.push({func:su,args:[z],thisArg:t}),new Cn(me,re)}return ge&&Ne?i.apply(this,E):(me=this.thru(z),ge?l?me.value()[0]:me.value():me)})}),Nn(["pop","push","shift","sort","splice","unshift"],function(i){var a=Ms[i],u=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",l=/^(?:pop|shift)$/.test(i);g.prototype[i]=function(){var h=arguments;if(l&&!this.__chain__){var m=this.value();return a.apply(Ie(m)?m:[],h)}return this[u](function(_){return a.apply(Ie(_)?_:[],h)})}}),or(Re.prototype,function(i,a){var u=g[a];if(u){var l=u.name+"";Ue.call(oo,l)||(oo[l]=[]),oo[l].push({name:a,func:u})}}),oo[eu(t,x).name]=[{name:"wrapper",func:t}],Re.prototype.clone=hD,Re.prototype.reverse=pD,Re.prototype.value=vD,g.prototype.at=zP,g.prototype.chain=HP,g.prototype.commit=qP,g.prototype.next=GP,g.prototype.plant=JP,g.prototype.reverse=KP,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=XP,g.prototype.first=g.prototype.head,na&&(g.prototype[na]=YP),g}),no=qN();bi?((bi.exports=no)._=no,Kf._=no):Dt._=no}).call(i0)})(Oo,Oo.exports)),Oo.exports}var xi=o0();function eh(n){return JSON.stringify(Bu(n))}function Bu(n){return Array.isArray(n)?n.map(Bu):n&&typeof n=="object"?Object.fromEntries(Object.entries(n).sort((e,t)=>e[0].localeCompare(t[0])).map(([e,t])=>[e,Bu(t)])):n}class $e{static toString(e){const t=eh(e);if(t==null)throw new Error("buildWinId: stringify error");return t}static getParamString(e,t){return e.params?.[t]?.toString()}static getParam(e,t){return e.params?.[t]}static isEquals(e,t){return xi.isEqual(e,t)}static indexOf(e,t){return e.map($e.toString).indexOf($e.toString(t))}static includes(e,t){return e.map($e.toString).includes($e.toString(t))}static withoutDup(e){const{params:t,viewId:r,title:o}=e;return{params:t,viewId:r,title:o}}static replaceDup(e){const{params:t,viewId:r,title:o}=e;return{params:t,viewId:r,title:o,dupId:`${new Date().getTime()}`}}}var Ta={exports:{}},th;function a0(){return th||(th=1,(function(n,e){Object.defineProperty(e,"__esModule",{value:!0});function t(L){return typeof L=="object"&&!("toString"in L)?Object.prototype.toString.call(L).slice(8,-1):L}var r=typeof process=="object"&&process.env.NODE_ENV==="production";function o(L,F){if(!L)throw r?new Error("Invariant failed"):new Error(F())}e.invariant=o;var s=Object.prototype.hasOwnProperty,c=Array.prototype.splice,f=Object.prototype.toString;function d(L){return f.call(L).slice(8,-1)}var p=Object.assign||(function(L,F){return v(F).forEach(function(ae){s.call(F,ae)&&(L[ae]=F[ae])}),L}),v=typeof Object.getOwnPropertySymbols=="function"?function(L){return Object.keys(L).concat(Object.getOwnPropertySymbols(L))}:function(L){return Object.keys(L)};function b(L){return Array.isArray(L)?p(L.constructor(L.length),L):d(L)==="Map"?new Map(L):d(L)==="Set"?new Set(L):L&&typeof L=="object"?p(Object.create(Object.getPrototypeOf(L)),L):L}var w=(function(){function L(){this.commands=p({},y),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(F,ae){return F===ae},this.update.newContext=function(){return new L().update}}return Object.defineProperty(L.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(F){this.update.isEquals=F},enumerable:!0,configurable:!0}),L.prototype.extend=function(F,ae){this.commands[F]=ae},L.prototype.update=function(F,ae){var we=this,ce=typeof ae=="function"?{$apply:ae}:ae;Array.isArray(F)&&Array.isArray(ce)||o(!Array.isArray(ce),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),o(typeof ce=="object"&&ce!==null,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the "+("following commands: "+Object.keys(we.commands).join(", ")+".")});var Se=F;return v(ce).forEach(function(he){if(s.call(we.commands,he)){var ct=F===Se;Se=we.commands[he](ce[he],Se,ce,F),ct&&we.isEquals(Se,F)&&(Se=F)}else{var ht=d(F)==="Map"?we.update(F.get(he),ce[he]):we.update(F[he],ce[he]),ft=d(Se)==="Map"?Se.get(he):Se[he];(!we.isEquals(ht,ft)||typeof ht>"u"&&!s.call(F,he))&&(Se===F&&(Se=b(F)),d(Se)==="Map"?Se.set(he,ht):Se[he]=ht)}}),Se},L})();e.Context=w;var y={$push:function(L,F,ae){return S(F,ae,"$push"),L.length?F.concat(L):F},$unshift:function(L,F,ae){return S(F,ae,"$unshift"),L.length?L.concat(F):F},$splice:function(L,F,ae,we){return x(F,ae),L.forEach(function(ce){k(ce),F===we&&ce.length&&(F=b(we)),c.apply(F,ce)}),F},$set:function(L,F,ae){return oe(ae),L},$toggle:function(L,F){A(L,"$toggle");var ae=L.length?b(F):F;return L.forEach(function(we){ae[we]=!F[we]}),ae},$unset:function(L,F,ae,we){return A(L,"$unset"),L.forEach(function(ce){Object.hasOwnProperty.call(F,ce)&&(F===we&&(F=b(we)),delete F[ce])}),F},$add:function(L,F,ae,we){return ye(F,"$add"),A(L,"$add"),d(F)==="Map"?L.forEach(function(ce){var Se=ce[0],he=ce[1];F===we&&F.get(Se)!==he&&(F=b(we)),F.set(Se,he)}):L.forEach(function(ce){F===we&&!F.has(ce)&&(F=b(we)),F.add(ce)}),F},$remove:function(L,F,ae,we){return ye(F,"$remove"),A(L,"$remove"),L.forEach(function(ce){F===we&&F.has(ce)&&(F=b(we)),F.delete(ce)}),F},$merge:function(L,F,ae,we){return q(F,L),v(L).forEach(function(ce){L[ce]!==F[ce]&&(F===we&&(F=b(we)),F[ce]=L[ce])}),F},$apply:function(L,F){return G(L),L(F)}},O=new w;e.isEquals=O.update.isEquals,e.extend=O.extend,e.default=O.update,e.default.default=n.exports=p(e.default,e);function S(L,F,ae){o(Array.isArray(L),function(){return"update(): expected target of "+t(ae)+" to be an array; got "+t(L)+"."}),A(F[ae],ae)}function A(L,F){o(Array.isArray(L),function(){return"update(): expected spec of "+t(F)+" to be an array; got "+t(L)+". Did you forget to wrap your parameter in an array?"})}function x(L,F){o(Array.isArray(L),function(){return"Expected $splice target to be an array; got "+t(L)}),k(F.$splice)}function k(L){o(Array.isArray(L),function(){return"update(): expected spec of $splice to be an array of arrays; got "+t(L)+". Did you forget to wrap your parameters in an array?"})}function G(L){o(typeof L=="function",function(){return"update(): expected spec of $apply to be a function; got "+t(L)+"."})}function oe(L){o(Object.keys(L).length===1,function(){return"Cannot have more than one key in an object with $set"})}function q(L,F){o(F&&typeof F=="object",function(){return"update(): $merge expects a spec of type 'object'; got "+t(F)}),o(L&&typeof L=="object",function(){return"update(): $merge expects a target of type 'object'; got "+t(L)})}function ye(L,F){var ae=d(L);o(ae==="Map"||ae==="Set",function(){return"update(): "+t(F)+" expects a target of type Set or Map; got "+t(ae)})}})(Ta,Ta.exports)),Ta.exports}var s0=a0();const u0=po(s0);var c0=Object.getOwnPropertyDescriptor,f0=(n,e,t,r)=>{for(var o=r>1?void 0:r?c0(e,t):e,s=n.length-1,c;s>=0;s--)(c=n[s])&&(o=c(o)||o);return o};Fe.JustLayoutService=class{insertWinIdToStack=(e,t)=>{if(e==null)return e;const r=this.getNodeByBranch(e,t.branch);if(r.type!=="stack")return e;const s=r.tabs,c=t.index>=0?xi.clamp(t.index,0,s.length):s.length;return this.updateNodeOfBranch(e,t.branch,{$set:{...r,type:"stack",tabs:[...s.slice(0,c),t.justId,...s.slice(c)],active:t.justId}})};insertWinIdToSplit=(e,t)=>{if(e==null)return e;const r=this.getNodeByBranch(e,t.branch),o=t.pos==="first"?"second":"first";return this.updateNodeOfBranch(e,t.branch,{$set:{type:"split-percentage",direction:t.direction,[o]:{...r,name:void 0},[t.pos]:{type:"stack",tabs:[t.justId],active:t.justId,name:void 0},size:t.size??50,dndAccept:r.dndAccept,name:r.name,hideTitle:r.hideTitle}})};removeWinId=(e,t)=>{if(e==null)return null;const r=this.getNodeByWinId(e,t);if(r?.type!=="stack")return e;const o=r.active?$e.indexOf(r.tabs,r.active):0,s=r.tabs.filter(f=>!$e.isEquals(f,t));let c;return r.active!==null&&$e.includes(s,r.active)?c=r.active:c=s.length>0&&r.active!==null?s[xi.clamp(o-1,0,s.length-1)]:null,this.updateNodeOfWinId(e,t,{$set:{...r,tabs:s,active:c}})};removeAllTabs=(e,t)=>{if(e==null)return null;const r=this.getNodeByBranch(e,t);return r==null||r.type!=="stack"?e:this.updateNodeOfBranch(e,t,{$set:{...r,tabs:[],active:null}})};activeWinId=(e,t)=>{if(e==null)return null;const r=this.getNodeByWinId(e,t);return r==null?e:this.updateNodeOfWinId(e,t,{$set:{...r,active:t}})};getActiveWinIds=e=>{const t=(r,o)=>{if(r===null)return o;if(r.type==="stack")return r.active!==null?[...o,r.active]:o;{const s=t(r.first,o);return t(r.second,s)}};return t(e,[])};removeEmpty=e=>{if(e==null)return e;const t=this.findEmptyBranch(e,null,[]);if(t===null)return e;if(t.length===0)return null;const r=t[t.length-1],o=t.slice(0,-1),s=r==="first"?"second":"first",c=this.getNodeByBranch(e,o),f=this.getNodeByBranch(e,[...o,s]);return this.updateNodeOfBranch(e,o,{$set:{...f,dndAccept:c.dndAccept,name:c.name,hideTitle:c.hideTitle}})};findEmptyBranch=(e,t,r)=>{if(e===null)return null;if(e.type==="stack"){const o=t!=null&&t.type!="stack"&&(!!t.first.name||!!t.second.name);if(e.tabs.length===0&&!o)return r}else{const o=this.findEmptyBranch(e.first,e,[...r,"first"]);if(o!=null)return o;const s=this.findEmptyBranch(e.second,e,[...r,"second"]);if(s!=null)return s}return null};moveWinIdToStack=(e,t)=>{const r=this.removeWinId(e,t.justId);return this.insertWinIdToStack(r,t)};moveWinIdToSplit=(e,t)=>{const r=this.removeWinId(e,t.justId);return this.insertWinIdToSplit(r,t)};getBranch=(e,t,r)=>{if(e===null)return null;if(e.type==="stack")return $e.includes(e.tabs,t)?r:null;{const o=this.getBranch(e.first,t,[...r,"first"]);if(o!=null)return o;const s=this.getBranch(e.second,t,[...r,"second"]);return s??null}};getBranchByWinId=(e,t)=>this.getBranch(e,t,[]);getNodeInfoByNodeName=(e,t,r)=>{if(e===null)return null;if(e.name==t)return{node:e,branch:[...r]};if(e.type!="stack"){const o=this.getNodeInfoByNodeName(e.first,t,[...r,"first"]);if(o!=null)return o;const s=this.getNodeInfoByNodeName(e.second,t,[...r,"second"]);if(s!=null)return s}return null};getTabNodeInfoByNodeName=(e,t,r)=>{if(e===null)return null;const o=this.getNodeInfoByNodeName(e,t,r);if(o==null)return null;if(o.node.type==="stack")return o;{const s=this.getTabNodeInfo(o.node,[]);if(s!=null)return{node:s.node,branch:[...o.branch,...s.branch]}}return null};getNodeByWinId=(e,t)=>{if(e===null)return null;if(e.type==="stack")return $e.includes(e.tabs,t)?(console.log("includes ok:",e.tabs,t),e):(console.log("includes nok:",e.tabs,t),null);{const r=this.getNodeByWinId(e.first,t);if(r!=null)return r;const o=this.getNodeByWinId(e.second,t);return o??null}};getTabBranch=(e,t)=>{if(e===null)return null;if(e.type==="stack")return t;{let r;e.type==="split-pixels"?r=e.primary==="first"?"second":"first":r=e.direction==="row"?"second":"first";const o=this.getTabBranch(e[r],[...t,r]);if(o!=null)return o}return null};getTabNodeInfo=(e,t)=>{if(e===null)return null;if(e.type==="stack")return{node:e,branch:t};{let r;e.type==="split-pixels"?r=e.primary==="first"?"second":"first":r=e.direction==="row"?"second":"first";const o=this.getTabNodeInfo(e[r],[...t,r]);if(o!=null)return o}return null};addTabWin=(e,t,r,o)=>{if(e===null)return null;const s=this.getNodeByBranch(e,t);if(s.type!=="stack")return e;const c=o<0?s.tabs.length:xi.clamp(o,0,s.tabs.length);return this.updateNodeOfBranch(e,t,{$merge:{tabs:[...s.tabs.slice(0,c),r,...s.tabs.slice(c)],active:r}})};queryWinIdsByViewId=(e,t,r)=>{if(e===null)return r;if(e.type==="stack")return[...r,...e.tabs.filter(o=>o.viewId===t)];{const o=this.queryWinIdsByViewId(e.first,t,r);return this.queryWinIdsByViewId(e.second,t,[...r,...o])}};queryDupWinIdsByWinId=(e,t,r)=>{if(e===null)return r;if(e.type==="stack"){const o=$e.withoutDup(t),s=e.tabs.filter(c=>{const f=$e.withoutDup(c);return $e.isEquals(o,f)});return[...r,...s]}else{const o=this.queryDupWinIdsByWinId(e.first,t,r);return this.queryDupWinIdsByWinId(e.second,t,[...r,...o])}};queryWinIdsByStack=(e,t)=>{if(e===null)return[];const r=this.getNodeByBranch(e,t);return r.type!=="stack"?[]:r.tabs};getNodeByBranch=(e,t)=>t.reduce((r,o)=>r?.[o],e);updateNodeOfBranch=(e,t,r)=>{const o=this.buildSpecFromUpdateSpec(t,r);return this.updateNode(e,o)};updateNodeOfWinId=(e,t,r)=>{const o=this.getBranchByWinId(e,t);if(o==null)return e;const s=this.buildSpecFromUpdateSpec(o,r);return this.updateNode(e,s)};hasWinId=(e,t)=>this.getNodeByWinId(e,t)!=null;updateNode=(e,t)=>e==null?null:u0(e,t);buildSpecFromUpdateSpec=(e,t)=>e.length>0?xi.set({},e,t):t;getNodeAtBranch=(e,t)=>t.length>0?xi.get(e,t,null):e;getBranchRightTop=e=>{if(e==null)return[];let t=e;const r=[];for(;t.type!=="stack";)t.direction==="row"?(r.push("second"),t=t.second):t.direction==="column"&&(r.push("first"),t=t.first);return r};updateSplitSize=(e,t,r)=>{const o=this.buildSpecFromUpdateSpec(t,{$merge:{size:r}});return this.updateNode(e,o)}},Fe.JustLayoutService=f0([gd()],Fe.JustLayoutService);var l0={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},d0=process.env.NODE_ENV!=="production"?l0:{};function ie(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];if(process.env.NODE_ENV!=="production"){var o=typeof n=="string"?n:d0[n];throw typeof o=="function"&&(o=o.apply(null,t)),new Error("[MobX] "+o)}throw new Error(typeof n=="number"?"[MobX] minified error nr: "+n+(t.length?" "+t.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+n)}var h0={};function xa(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:h0}var nh=Object.assign,Na=Object.getOwnPropertyDescriptor,Qn=Object.defineProperty,Eo=Object.prototype,Da=[];Object.freeze(Da);var rh={};Object.freeze(rh);var p0=typeof Proxy<"u",v0=Object.toString();function ih(){p0||ie(process.env.NODE_ENV!=="production"?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function Io(n){process.env.NODE_ENV!=="production"&&H.verifyProxies&&ie("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+n)}function Bn(){return++H.mobxGuid}function ju(n){var e=!1;return function(){if(!e)return e=!0,n.apply(this,arguments)}}var Ni=function(){};function gt(n){return typeof n=="function"}function oi(n){var e=typeof n;switch(e){case"string":case"symbol":case"number":return!0}return!1}function Ca(n){return n!==null&&typeof n=="object"}function Jt(n){if(!Ca(n))return!1;var e=Object.getPrototypeOf(n);if(e==null)return!0;var t=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t.toString()===v0}function oh(n){var e=n?.constructor;return e?e.name==="GeneratorFunction"||e.displayName==="GeneratorFunction":!1}function Ao(n,e,t){Qn(n,e,{enumerable:!1,writable:!0,configurable:!0,value:t})}function ah(n,e,t){Qn(n,e,{enumerable:!1,writable:!1,configurable:!0,value:t})}function kr(n,e){var t="isMobX"+n;return e.prototype[t]=!0,function(r){return Ca(r)&&r[t]===!0}}function Di(n){return n!=null&&Object.prototype.toString.call(n)==="[object Map]"}function g0(n){var e=Object.getPrototypeOf(n),t=Object.getPrototypeOf(e),r=Object.getPrototypeOf(t);return r===null}function cr(n){return n!=null&&Object.prototype.toString.call(n)==="[object Set]"}var sh=typeof Object.getOwnPropertySymbols<"u";function m0(n){var e=Object.keys(n);if(!sh)return e;var t=Object.getOwnPropertySymbols(n);return t.length?[].concat(e,t.filter(function(r){return Eo.propertyIsEnumerable.call(n,r)})):e}var Ci=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:sh?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames;function Fu(n){return typeof n=="string"?n:typeof n=="symbol"?n.toString():new String(n).toString()}function uh(n){return n===null?null:typeof n=="object"?""+n:n}function vn(n,e){return Eo.hasOwnProperty.call(n,e)}var b0=Object.getOwnPropertyDescriptors||function(e){var t={};return Ci(e).forEach(function(r){t[r]=Na(e,r)}),t};function Kt(n,e){return!!(n&e)}function Xt(n,e,t){return t?n|=e:n&=~e,n}function ch(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function y0(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,w0(r.key),r)}}function Pi(n,e,t){return e&&y0(n.prototype,e),Object.defineProperty(n,"prototype",{writable:!1}),n}function Mi(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=S0(n))||e){t&&(n=t);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
68
68
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fr(){return fr=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},fr.apply(null,arguments)}function fh(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,$u(n,e)}function $u(n,e){return $u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},$u(n,e)}function _0(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function w0(n){var e=_0(n,"string");return typeof e=="symbol"?e:e+""}function S0(n,e){if(n){if(typeof n=="string")return ch(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ch(n,e):void 0}}var Ft=Symbol("mobx-stored-annotations");function er(n){function e(t,r){if(xo(r))return n.decorate_20223_(t,r);To(t,r,n)}return Object.assign(e,n)}function To(n,e,t){if(vn(n,Ft)||Ao(n,Ft,fr({},n[Ft])),process.env.NODE_ENV!=="production"&&La(t)&&!vn(n[Ft],e)){var r=n.constructor.name+".prototype."+e.toString();ie("'"+r+"' is decorated with 'override', but no such decorated member was found on prototype.")}O0(n,t,e),La(t)||(n[Ft][e]=t)}function O0(n,e,t){if(process.env.NODE_ENV!=="production"&&!La(e)&&vn(n[Ft],t)){var r=n.constructor.name+".prototype."+t.toString(),o=n[Ft][t].annotationType_,s=e.annotationType_;ie("Cannot apply '@"+s+"' to '"+r+"':"+(`
69
69
  The field is already decorated with '@`+o+"'.")+`
70
70
  Re-decorating fields is not allowed.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kangtae49/just-layout",
3
3
  "private": false,
4
- "version": "0.0.11",
4
+ "version": "0.0.13",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -17,6 +17,10 @@
17
17
  },
18
18
  "./style.css": "./dist/just-layout.css"
19
19
  },
20
+ "peerDependencies": {
21
+ "mobx": "^6.15.0",
22
+ "mobx-react-lite": "^4.1.1"
23
+ },
20
24
  "dependencies": {
21
25
  "@fortawesome/free-solid-svg-icons": "^7.1.0",
22
26
  "@fortawesome/react-fontawesome": "^3.1.1",
@@ -25,7 +29,6 @@
25
29
  "immutability-helper": "^3.1.1",
26
30
  "inversify": "^7.11.0",
27
31
  "lodash": "^4.17.23",
28
- "mobx-react-lite": "^4.1.1",
29
32
  "react": "^19.2.0",
30
33
  "react-dnd": "^16.0.1",
31
34
  "react-dnd-html5-backend": "^16.0.1",