@bryntum/engine-thin-trial 7.3.0 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- function _ena(){const R=['propagateAsync','set','SOURCE_POINT','create','addField','run','name','isEntity','self','12909ezzpjd','830Obplaq','getIdentifierTemplateClass','forEachFieldIdentifier','new','1668692MsJOOU','addIdentifier','$buildProposed','createFieldIdentifier','ignoreEdgesFlow','enterGraph','sync','equality','129704xmjYxy','buildProposedValue','hasOwnProperty','constructor','5170705hxmLgN','resolve','activeTransaction','Attempt\x20to\x20read\x20a\x20missing\x20field\x20','calculateSelf','$skeleton','createMethodAccessorsFor','commit','20774hAZhUk','14ktrvhi','$entityName','write','activeStack','133683lChGtW','calculation','29124mqtvIv','$writes','fromThisCall','autoCommitMode','$calculations','graph','DATA','Helper\x20methods\x20can\x20not\x20yield\x20effects\x20during\x20computation','lazy','propagate','defineProperty','prototype','put','writeToGraph','assign','context','createPropertyAccessorsFor','3AkaPBE','forEachField','read','proposedValueIsBuilt','get','432NdIXLX','commitAsync','1622514MInjcB','$entity','85mbIIyz','.$.'];_ena=function(){return R;};return _ena();}(function(a,b){const c=a();function l(a,b){return _enb(a-0x29e,b);}while(!![]){try{const d=parseInt(l(0x3c3,0x3cc))/0x1*(-parseInt(l(0x3a2,0x388))/0x2)+parseInt(l(0x3ba,0x3cb))/0x3*(parseInt(l(0x3d3,0x3e5))/0x4)+-parseInt(l(0x3df,0x3ca))/0x5+parseInt(l(0x3c1,0x3bf))/0x6*(-parseInt(l(0x3a3,0x384))/0x7)+parseInt(l(0x3db,0x3f5))/0x8*(-parseInt(l(0x3bf,0x3aa))/0x9)+-parseInt(l(0x3cf,0x3b7))/0xa*(-parseInt(l(0x3a7,0x39f))/0xb)+parseInt(l(0x3a9,0x38c))/0xc*(parseInt(l(0x3ce,0x3bb))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x926e9));import{CommitZero}from'../chrono/Graph.js';import{Identifier}from'../chrono/Identifier.js';import{Mixin}from'../class/Mixin.js';import{DEBUG,debug,SourceLinePoint}from'../environment/Debug.js';import{runGeneratorSyncWithEffect}from'../primitives/Calculation.js';import{EntityMeta}from'../schema/EntityMeta.js';import{Field}from'../schema/Field.js';import{defineProperty,uppercaseFirst}from'../util/Helpers.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x101;let f=c[d];return f;};return _enb(a,b);}import{MinimalEntityIdentifier}from'./Identifier.js';const isEntityMarker=Symbol(_enm(0x27d,0x25c));class Entity extends Mixin([],a=>{class b extends a{[isEntityMarker](){}get[n(-0x36,-0x38)](){function o(a,b){return n(b,a-0x442);}return createEntityOnPrototype(this[o(0x426,0x41b)][o(0x3fc,0x3e5)]);}get['$'](){const c={};this['$entity'][p(0x354,0x34f)]((d,e)=>{c[e]=this['createFieldIdentifier'](d);});function p(a,b){return n(b,a-0x393);}if(DEBUG){const d=new Proxy(c,{'get'(e,f,g){if(!e[f])debug(new Error(q(0x59,0x75)+String(f)+'\x20on\x20'+e));e[f][q(0x6b,0x5a)]=SourceLinePoint[q(0x3c,0x3e)]();function q(a,b){return p(b- -0x306,a);}return e[f];}});return defineProperty(this,'$',d);}else{return defineProperty(this,'$',c);}}get['$$'](){function r(a,b){return n(b,a-0x473);}return defineProperty(this,'$$',MinimalEntityIdentifier[r(0x44b,0x429)]({'name':this[r(0x41d,0x405)],'entity':this['$entity'],'calculation':this[r(0x45c,0x452)],'context':this,'self':this}));}get[n(-0x63,-0x56)](){function s(a,b){return n(a,b-0x32d);}return this[s(0x318,0x311)][s(0x2ec,0x2fe)]||this[s(0x2e6,0x2f5)]['name'];}*['calculateSelf'](){return this;}[n(-0x42,-0x24)](c){const d=c[t(0x29c,0x2a8)];const e=this['$entity'];const f=this[t(0x2a1,0x2bb)];const g=e[t(0x28b,0x27c)];if(!g[d])g[d]=f[t(0x2a0,0x2ad)](this,c);const h=new g[d]();function t(a,b){return n(a,b-0x2d7);}h[t(0x296,0x295)]=this;h[t(0x28b,0x2aa)]=this;h['name']=this['$$'][t(0x29f,0x2a8)]+t(0x2af,0x2a1)+c['name'];return h;}[n(-0x47,-0x29)](c){function u(a,b){return n(b,a-0x4b4);}this[u(0x47c,0x490)]['forEachField']((d,e)=>c(this['$'][e],e,d));}[n(0x1,-0x22)](c){function v(a,b){return n(b,a-0x1d);}if(this['graph'])throw new Error('Already\x20entered\x20replica');this['graph']=c;c[v(-0x9,-0x13)](this['$$']);this['$entity'][v(-0x22,-0x34)]((d,e)=>{const f=this['$'][e];c[w(-0x217,-0x22d)](f,f[w(-0x260,-0x252)]);function w(a,b){return v(b- -0x224,a);}f[w(-0x23e,-0x252)]=void 0x0;});}['leaveGraph'](c){const d=this[x(0x2dc,0x2d5)];function x(a,b){return n(b,a-0x328);}const e=c||d;if(!e)return;this[x(0x2f0,0x301)][x(0x2e9,0x2dd)]((f,g)=>e['removeIdentifier'](this['$'][g]));e['removeIdentifier'](this['$$']);if(e===d)this[x(0x2dc,0x2d1)]=void 0x0;}[n(-0x3f,-0x48)](c){return this['commit'](c);}[n(-0x54,-0x59)](c){const d=this[y(-0x193,-0x1ae)];function y(a,b){return n(a,b- -0x162);}if(!d)return CommitZero;return d[y(-0x1d9,-0x1bb)](c);}async[n(-0x3b,-0x35)](){return this['commitAsync']();}async[n(-0x5b,-0x3a)](c){const d=this[z(-0x1db,-0x1f6)];if(!d)return Promise[z(-0x1ad,-0x1c4)](CommitZero);function z(a,b){return n(a,b- -0x1aa);}return d[z(-0x1e7,-0x1e4)](c);}static get[n(-0x24,-0x38)](){function A(a,b){return n(b,a-0x24f);}return ensureEntityOnPrototype(this[A(0x209,0x1fe)]);}static[n(-0x39,-0x2a)](c,d){const e=d[B(-0x176,-0x172)];const f={'name':c['$$']['name']+'.$.'+e,'field':d};if(d[B(-0x163,-0x160)](B(-0x171,-0x164)))f[B(-0x17a,-0x164)]=d[B(-0x144,-0x164)];if(d[B(-0x177,-0x160)]('lazy'))f[B(-0x179,-0x18c)]=d[B(-0x1aa,-0x18c)];if(d[B(-0x180,-0x160)](B(-0x14d,-0x163)))f['equality']=d['equality'];if(d[B(-0x171,-0x160)]('ignoreEdgesFlow'))f['ignoreEdgesFlow']=d[B(-0x178,-0x166)];const g=c[B(-0x17d,-0x190)]&&c[c[B(-0x1a0,-0x190)][e]];if(g)f[B(-0x196,-0x195)]=g;const h=c[B(-0x18f,-0x193)]&&c[c[B(-0x17c,-0x193)][e]];if(h)f[B(-0x17b,-0x198)]=h;const i=c['$buildProposed']&&c[c[B(-0x149,-0x168)][e]];if(i){f[B(-0x178,-0x161)]=i;f[B(-0x185,-0x180)]=!![];}const j=d['getIdentifierClass'](g)[B(-0x180,-0x16b)](f);const k=function(){};k[B(-0x187,-0x189)]=j;function B(a,b){return n(a,b- -0x143);}return k;}[n(-0x21,-0x30)](c,...d){const e=i=>{if(i instanceof Identifier)return this[C(-0x142,-0x149)][C(-0x156,-0x13b)](i);function C(a,b){return _enb(b- -0x259,a);}throw new Error(C(-0x13f,-0x147));};const f=this[D(0x2e8,0x2fb)][D(0x31b,0x332)];const g=f[D(0x2e0,0x2d2)];f[D(0x2e0,0x2cc)]=[];const h=runGeneratorSyncWithEffect(e,this[c],d,this);f['activeStack']=g;function D(a,b){return n(b,a-0x334);}return h;}static[n(-0x2a,-0x41)](c){const d=c;const e=this[E(-0x27c,-0x25c)];function E(a,b){return n(b,a- -0x236);}Object[E(-0x27d,-0x271)](e,d,{'get':function(){function F(a,b){return E(a-0x6a0,b);}return this['$'][d]['getFromGraph'](this[F(0x41e,0x401)]);},'set':function(f){function G(a,b){return E(a-0x62e,b);}this['$'][d][G(0x3b4,0x3b5)](this['graph'],f);}});}static[n(-0x50,-0x5a)](c){function H(a,b){return n(a,b- -0xa6);}const d=c;const e=this['prototype'];const f=H(-0xe3,-0xe2)+uppercaseFirst(d);const g=H(-0xee,-0xda)+uppercaseFirst(d);const h=H(-0xc8,-0xeb)+uppercaseFirst(d);if(!(f in e)){e[f]=function(){function I(a,b){return H(b,a- -0x164);}return this['$'][d]['getFromGraph'](this[I(-0x256,-0x263)]);};}if(!(g in e)){e[g]=function(i,...j){function J(a,b){return H(a,b- -0x1a4);}this['$'][d]['writeToGraph'](this[J(-0x28c,-0x296)],i,...j);return this[J(-0x278,-0x296)]?this[J(-0x28e,-0x296)][J(-0x295,-0x298)]==='sync'?this['graph'][J(-0x2ad,-0x2a3)]():this[J(-0x28c,-0x296)][J(-0x2a5,-0x284)]():Promise[J(-0x275,-0x264)](CommitZero);};}if(!(h in e)){e[h]=function(i,...j){function K(a,b){return H(b,a-0x55e);}this['$'][d][K(0x474,0x461)](this['graph'],i,...j);};}}}function n(a,b){return _enm(b- -0x2ab,a);}return b;}){}const createEntityOnPrototype=a=>{let b=Object['getPrototypeOf'](a);function L(a,b){return _enm(a-0xb8,b);}return defineProperty(a,L(0x32b,0x31f),EntityMeta[L(0x33b,0x323)]({'parentEntity':b[L(0x346,0x363)](isEntityMarker)?null:b[L(0x32b,0x320)],'name':a['constructor'][L(0x334,0x338)]}));};const ensureEntityOnPrototype=a=>{if(!a[M(0xd6,0xdd)](M(0xbb,0xaa)))createEntityOnPrototype(a);function M(a,b){return _enm(a- -0x1b8,b);}return a['$entity'];};const generic_field=(a,b=Field)=>{return function(c,d){const e=ensureEntityOnPrototype(c);function N(a,b){return _enb(b-0x256,a);}const f=e[N(0x396,0x381)](b['new'](Object[N(0x34c,0x36f)](a||{},{'name':d})));const g=c['constructor'];g[N(0x388,0x371)](d);g[N(0x352,0x358)](d);};};const field=generic_field;const calculate=function(a){return function(b,c,d){ensureEntityOnPrototype(b);let e;if(!b['$calculations']){e=b['$calculations']={};}else{if(!b[O(0x142,0x14e)](O(0x12b,0x11e))){e=b[O(0x100,0x11e)]=Object['create'](b[O(0x12b,0x11e)]);}else e=b['$calculations'];}function O(a,b){return _enb(b-0xf,a);}e[a]=c;};};const write=function(a){return function(b,c,d){ensureEntityOnPrototype(b);let e;function P(a,b){return _enb(b- -0x15d,a);}if(!b[P(-0x41,-0x51)]){e=b[P(-0x72,-0x51)]={};}else{if(!b[P(-0x3a,-0x1e)](P(-0x40,-0x51))){e=b[P(-0x4c,-0x51)]=Object[P(-0x54,-0x33)](b[P(-0x32,-0x51)]);}else e=b[P(-0x5b,-0x51)];}e[a]=c;};};function _enm(a,b){return _enb(a-0x14f,b);}const build_proposed=function(a){return function(b,c,d){ensureEntityOnPrototype(b);let e;if(!b[Q(-0x1c8,-0x1b1)]){e=b[Q(-0x1c8,-0x1b1)]={};}else{if(!b['hasOwnProperty']('$buildProposed')){e=b[Q(-0x1c8,-0x1c8)]=Object['create'](b[Q(-0x1c8,-0x1b3)]);}else e=b[Q(-0x1c8,-0x1de)];}function Q(a,b){return _enb(a- -0x2ff,b);}e[a]=c;};};export{Entity,build_proposed,calculate,createEntityOnPrototype,ensureEntityOnPrototype,field,generic_field,write};
1
+ (function(a,b){function l(a,b){return _enb(b-0x348,a);}const c=a();while(!![]){try{const d=parseInt(l(0x42a,0x42e))/0x1*(-parseInt(l(0x455,0x43c))/0x2)+parseInt(l(0x45e,0x43e))/0x3*(parseInt(l(0x431,0x426))/0x4)+parseInt(l(0x416,0x409))/0x5*(-parseInt(l(0x41e,0x40d))/0x6)+-parseInt(l(0x3f5,0x40c))/0x7+parseInt(l(0x410,0x41a))/0x8*(parseInt(l(0x42e,0x42b))/0x9)+-parseInt(l(0x41b,0x40a))/0xa*(-parseInt(l(0x43d,0x422))/0xb)+-parseInt(l(0x40f,0x404))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x613c7));import{CommitZero}from'../chrono/Graph.js';function _ena(){const U=['activeStack','self','5136444RTJeAf','commit','removeIdentifier','writeToGraph','DATA','1745AxZtff','30HutRJE','fromThisCall','3623480ZTLDVW','5778lHOGbb','defineProperty','create','put','lazy','Already\x20entered\x20replica','calculateSelf','$entity','propagateAsync','propagate','new','getPrototypeOf','isEntity','56WxjtNs','constructor','\x20on\x20','context','equality','commitAsync','$writes','createMethodAccessorsFor','1874268pXEyrD','write','assign','calculation','9172GpoJOn','addIdentifier','sync','Helper\x20methods\x20can\x20not\x20yield\x20effects\x20during\x20computation','run','848457zzXqki','Attempt\x20to\x20read\x20a\x20missing\x20field\x20','autoCommitMode','16057fKQTat','getIdentifierClass','$entityName','graph','createPropertyAccessorsFor','resolve','hasOwnProperty','.$.','getFromGraph','cacheValue','forEachField','set','buildProposedValue','ignoreEdgesFlow','26tqPsHN','leaveGraph','939yxlrTD','proposedValueIsBuilt','name','createFieldIdentifier','prototype','$skeleton','$calculations','$buildProposed','activeTransaction'];_ena=function(){return U;};return _ena();}import{TombStone}from'../chrono/Quark.js';import{Identifier}from'../chrono/Identifier.js';import{Mixin}from'../class/Mixin.js';import{DEBUG,debug,SourceLinePoint}from'../environment/Debug.js';import{runGeneratorSyncWithEffect}from'../primitives/Calculation.js';import{EntityMeta}from'../schema/EntityMeta.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xb7;let f=c[d];return f;};return _enb(a,b);}function _enm(a,b){return _enb(b- -0x1e1,a);}import{Field}from'../schema/Field.js';import{defineProperty,uppercaseFirst}from'../util/Helpers.js';import{MinimalEntityIdentifier}from'./Identifier.js';const isEntityMarker=Symbol(_enm(-0x130,-0x110));class Entity extends Mixin([],a=>{function n(a,b){return _enm(a,b-0x465);}class b extends a{[isEntityMarker](){}get[n(0x344,0x350)](){function o(a,b){return n(a,b- -0x37);}return createEntityOnPrototype(this['constructor'][o(0x336,0x347)]);}get['$'](){const c={};this['$entity'][p(0x202,0x1f7)]((d,e)=>{function q(a,b){return p(a,b- -0x24a);}c[e]=this[q(-0x56,-0x4a)](d);});function p(a,b){return n(a,b- -0x17d);}if(DEBUG){const d=new Proxy(c,{'get'(e,f,g){if(!e[f])debug(new Error(r(0x3fa,0x3db)+String(f)+r(0x3ea,0x3fc)+e));function r(a,b){return p(b,a-0x20f);}e[f]['SOURCE_POINT']=SourceLinePoint[r(0x3d9,0x3fc)]();return e[f];}});return defineProperty(this,'$',d);}else{return defineProperty(this,'$',c);}}get['$$'](){function s(a,b){return n(a,b- -0x180);}return defineProperty(this,'$$',MinimalEntityIdentifier[s(0x1bb,0x1d3)]({'name':this[s(0x1d4,0x1ec)],'entity':this[s(0x1c4,0x1d0)],'calculation':this[s(0x1d8,0x1cf)],'context':this,'self':this}));}get['$entityName'](){function t(a,b){return n(b,a- -0x5fe);}return this['constructor'][t(-0x282,-0x2a0)]||this[t(-0x2ae,-0x28e)]['name'];}*[n(0x36f,0x34f)](){return this;}['createFieldIdentifier'](c){const d=c[u(0x85,0x6b)];const e=this['$entity'];const f=this[u(0x60,0x6f)];function u(a,b){return n(b,a- -0x2f7);}const g=e[u(0x88,0xa4)];if(!g[d])g[d]=f['getIdentifierTemplateClass'](this,c);const h=new g[d]();h[u(0x62,0x4c)]=this;h[u(0x48,0x42)]=this;h[u(0x85,0xa4)]=this['$$'][u(0x85,0x97)]+u(0x7a,0x7f)+c[u(0x85,0x79)];return h;}['forEachFieldIdentifier'](c){function v(a,b){return n(a,b- -0x11c);}this['$entity'][v(0x252,0x258)]((d,e)=>c(this['$'][e],e,d));}['enterGraph'](c){if(this[w(0x29,0x1f)])throw new Error(w(0xa,0x4));this[w(0x29,0x44)]=c;c[w(0x1f,0x0)](this['$$']);function w(a,b){return n(b,a- -0x344);}this[w(0xc,0x11)][w(0x30,0x45)]((d,e)=>{const f=this['$'][e];function x(a,b){return w(a-0x48f,b);}const g=f[x(0x48f,0x483)];c['addIdentifier'](f,g===TombStone?void 0x0:g);f['DATA']=void 0x0;});}[n(0x37f,0x379)](c){const d=this['graph'];const e=c||d;if(!e)return;function y(a,b){return n(b,a- -0x577);}this[y(-0x227,-0x205)][y(-0x203,-0x1ed)]((f,g)=>e[y(-0x235,-0x228)](this['$'][g]));e[y(-0x235,-0x246)](this['$$']);if(e===d)this[y(-0x20a,-0x21f)]=void 0x0;}[n(0x344,0x352)](c){function z(a,b){return n(b,a- -0x247);}return this[z(0xfa,0x10f)](c);}['commit'](c){const d=this[A(0x42,0x29)];if(!d)return CommitZero;function A(a,b){return n(b,a- -0x32b);}return d['commit'](c);}async[n(0x360,0x351)](){function B(a,b){return n(a,b- -0x1a9);}return this[B(0x19e,0x1b2)]();}async[n(0x35a,0x35b)](c){const d=this[C(0x174,0x172)];if(!d)return Promise[C(0x193,0x174)](CommitZero);function C(a,b){return n(a,b- -0x1fb);}return d[C(0x169,0x160)](c);}static get[n(0x345,0x350)](){function D(a,b){return n(b,a- -0x612);}return ensureEntityOnPrototype(this[D(-0x294,-0x274)]);}static['getIdentifierTemplateClass'](c,d){function E(a,b){return n(b,a- -0x47c);}const e=d[E(-0x100,-0x121)];const f={'name':c['$$'][E(-0x100,-0xf7)]+'.$.'+e,'field':d};if(d[E(-0x10c,-0x11a)]('sync'))f[E(-0x118,-0x11c)]=d['sync'];if(d['hasOwnProperty'](E(-0x12f,-0x110)))f[E(-0x12f,-0x12b)]=d['lazy'];if(d['hasOwnProperty'](E(-0x122,-0x109)))f[E(-0x122,-0x10c)]=d[E(-0x122,-0x101)];if(d[E(-0x10c,-0x10b)]('ignoreEdgesFlow'))f[E(-0x105,-0xeb)]=d['ignoreEdgesFlow'];if(d['hasOwnProperty'](E(-0x109,-0xe7)))f[E(-0x109,-0x129)]=d[E(-0x109,-0xfd)];const g=c[E(-0x141,-0x162)]&&c[c[E(-0x141,-0x160)][e]];if(g)f[E(-0x11b,-0x120)]=g;const h=c['$writes']&&c[c['$writes'][e]];if(h)f[E(-0x11d,-0x11d)]=h;const i=c['$buildProposed']&&c[c[E(-0x140,-0x13a)][e]];if(i){f[E(-0x106,-0x124)]=i;f[E(-0x101,-0xe6)]=!![];}const j=d[E(-0x111,-0x100)](g)[E(-0x129,-0x13d)](f);const k=function(){};k[E(-0xfe,-0xf5)]=j;return k;}[n(0x35d,0x366)](c,...d){const e=i=>{if(i instanceof Identifier)return this[F(-0x26e,-0x28d)]['read'](i);function F(a,b){return _enb(b- -0x376,a);}throw new Error(F(-0x277,-0x295));};const f=this[G(0x12e,0x126)][G(0xe8,0xf6)];const g=f[G(0xed,0xf7)];f[G(0xea,0xf7)]=[];const h=runGeneratorSyncWithEffect(e,this[c],d,this);f[G(0x118,0xf7)]=g;function G(a,b){return n(a,b- -0x247);}return h;}static['createPropertyAccessorsFor'](c){const d=c;const e=this['prototype'];function H(a,b){return n(b,a- -0x2f3);}Object[H(0x57,0x48)](e,d,{'get':function(){function I(a,b){return H(b- -0x36d,a);}return this['$'][d][I(-0x2fc,-0x2ee)](this[I(-0x2db,-0x2f3)]);},'set':function(f){function J(a,b){return H(a- -0x31c,b);}this['$'][d][J(-0x2cc,-0x2e7)](this[J(-0x2a2,-0x287)],f);}});}static[n(0x357,0x35d)](c){const d=c;const e=this[K(-0x281,-0x29a)];const f='get'+uppercaseFirst(d);const g=K(-0x290,-0x2a3)+uppercaseFirst(d);const h=K(-0x2c0,-0x2cc)+uppercaseFirst(d);if(!(f in e)){e[f]=function(){function L(a,b){return K(b,a-0x508);}return this['$'][d][L(0x262,0x275)](this[L(0x25d,0x251)]);};}function K(a,b){return n(a,b- -0x618);}if(!(g in e)){e[g]=function(i,...j){function M(a,b){return K(b,a-0x5bd);}this['$'][d]['writeToGraph'](this['graph'],i,...j);return this[M(0x312,0x30b)]?this['graph'][M(0x30e,0x2f9)]===M(0x309,0x317)?this[M(0x312,0x30b)][M(0x2e6,0x2cb)]():this[M(0x312,0x2f4)][M(0x300,0x2de)]():Promise['resolve'](CommitZero);};}if(!(h in e)){e[h]=function(i,...j){function N(a,b){return K(b,a-0x455);}this['$'][d][N(0x180,0x181)](this[N(0x1aa,0x1a8)],i,...j);};}}}return b;}){}const createEntityOnPrototype=a=>{let b=Object[O(0x1b6,0x1ae)](a);function O(a,b){return _enm(b,a-0x2c7);}return defineProperty(a,O(0x1b2,0x1c8),EntityMeta[O(0x1b5,0x197)]({'parentEntity':b[O(0x1d2,0x1b9)](isEntityMarker)?null:b[O(0x1b2,0x1a1)],'name':a[O(0x1b9,0x1ab)][O(0x1de,0x1d8)]}));};const ensureEntityOnPrototype=a=>{function P(a,b){return _enm(a,b- -0x1e3);}if(!a[P(-0x2dc,-0x2d8)]('$entity'))createEntityOnPrototype(a);return a[P(-0x2f4,-0x2f8)];};const generic_field=(a,b=Field)=>{return function(c,d){const e=ensureEntityOnPrototype(c);function Q(a,b){return _enb(b- -0x8e,a);}const f=e['addField'](b['new'](Object[Q(0x5b,0x4e)](a||{},{'name':d})));const g=c[Q(0x63,0x45)];g[Q(0x52,0x5c)](d);g['createMethodAccessorsFor'](d);};};const field=generic_field;const calculate=function(a){return function(b,c,d){ensureEntityOnPrototype(b);let e;if(!b[R(-0x2e1,-0x2dd)]){e=b[R(-0x2e1,-0x2f5)]={};}else{if(!b['hasOwnProperty']('$calculations')){e=b['$calculations']=Object[R(-0x2d1,-0x2c5)](b['$calculations']);}else e=b[R(-0x2e1,-0x2f6)];}function R(a,b){return _enb(a- -0x398,b);}e[a]=c;};};const write=function(a){return function(b,c,d){function S(a,b){return _enb(a-0x2ba,b);}ensureEntityOnPrototype(b);let e;if(!b[S(0x392,0x39b)]){e=b['$writes']={};}else{if(!b[S(0x3a6,0x3b9)](S(0x392,0x37f))){e=b['$writes']=Object[S(0x381,0x369)](b[S(0x392,0x390)]);}else e=b['$writes'];}e[a]=c;};};const build_proposed=function(a){return function(b,c,d){ensureEntityOnPrototype(b);let e;if(!b[T(-0x1ea,-0x1ce)]){e=b[T(-0x1be,-0x1ce)]={};}else{if(!b[T(-0x192,-0x19a)](T(-0x1da,-0x1ce))){e=b[T(-0x1c2,-0x1ce)]=Object[T(-0x1cd,-0x1bf)](b[T(-0x1c0,-0x1ce)]);}else e=b[T(-0x1b8,-0x1ce)];}function T(a,b){return _enb(b- -0x286,a);}e[a]=c;};};export{Entity,build_proposed,calculate,createEntityOnPrototype,ensureEntityOnPrototype,field,generic_field,write};
@@ -1 +1 @@
1
- function _ena(){const p=['read','3822660GxNCWF','readPrevious','719SsMFKg','readCurrentOrProposedOrPrevious','mix','Entity\x20identifier\x20[','writeToGraph','activeTransaction','726rNwQsL','get','name','getFromGraph','getValue','entity','readProposedOrPrevious','toString','ProposedOrPrevious','field','Previous','226125SjbplB','write','getLatestStableEntryFor','3352OgNjsE','118307XRpgVZ','48aYwPoH','264CaMYDc','998760BwhyeA','self','8263638Bvxjyv','leaveGraph','Current','316000lBEEpg','readMode','DATA'];_ena=function(){return p;};return _ena();}(function(a,b){function f(a,b){return _enb(b- -0x3cf,a);}const c=a();while(!![]){try{const d=parseInt(f(-0x1d4,-0x1e3))/0x1*(-parseInt(f(-0x1bf,-0x1cf))/0x2)+parseInt(f(-0x1dc,-0x1d2))/0x3*(-parseInt(f(-0x1bb,-0x1cd))/0x4)+-parseInt(f(-0x1d2,-0x1cb))/0x5+-parseInt(f(-0x1ee,-0x1e5))/0x6+-parseInt(f(-0x1e0,-0x1ce))/0x7*(-parseInt(f(-0x1bc,-0x1cc))/0x8)+parseInt(f(-0x1f6,-0x1ec))/0x9+-parseInt(f(-0x1e4,-0x1e9))/0xa*(-parseInt(f(-0x1d3,-0x1dd))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x962c5));function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1e2;let f=c[d];return f;};return _enb(a,b);}import{CalculatedValueGen,CalculatedValueSync,Identifier,Variable}from'../chrono/Identifier.js';import{Mixin}from'../class/Mixin.js';function _enh(a,b){return _enb(a-0x341,b);}import{ReadMode}from'./Replica.js';class FieldIdentifier extends Mixin([Identifier],a=>class b extends a{constructor(){super(...arguments);this[g(-0x1de,-0x1d9)]=void 0x0;function g(a,b){return _enb(a- -0x3d9,b);}this[g(-0x1f7,-0x1ee)]=void 0x0;this[g(-0x1f1,-0x1f8)]=void 0x0;}[_enh(0x536,0x537)](c){function i(a,b){return _enh(a- -0x71e,b);}if(c){if(c[i(-0x1f6,-0x1f7)]===ReadMode[i(-0x1f8,-0x1eb)])return c[i(-0x1ea,-0x1f7)](this);if(c['readMode']===ReadMode[i(-0x1e1,-0x1e9)])return c[i(-0x1ec,-0x1fc)][i(-0x1f2,-0x202)](this);if(c[i(-0x1f6,-0x204)]===ReadMode[i(-0x1e3,-0x1d6)])c[i(-0x1ec,-0x1f4)][i(-0x1e5,-0x1e1)](this);return c[i(-0x1ec,-0x1ea)][i(-0x1f0,-0x1fd)](this);}else return this[i(-0x1f5,-0x1f7)];}['readFromGraph'](c){function j(a,b){return _enh(b- -0x541,a);}if(c)return c[j(-0x7,-0x17)](this);else return this[j(-0x1f,-0x18)];}[_enh(0x531,0x52d)](c,d,...e){function k(a,b){return _enh(a- -0x519,b);}if(c)c[k(0x26,0x1e)](this,d,...e);else this[k(0x10,0x16)]=d;}['leaveGraph'](c){const d=c['activeTransaction'][l(0x5d0,0x5e1)](this);if(d)this['DATA']=d[l(0x5c7,0x5d0)]();function l(a,b){return _enh(a-0x90,b);}super[l(0x5b5,0x5a5)](c);}[_enh(0x53a,0x530)](){function m(a,b){return _enh(b- -0x51b,a);}return this[m(0x27,0x1a)];}}){}class MinimalFieldIdentifierSync extends FieldIdentifier[_enh(0x52f,0x538)](CalculatedValueSync){}class MinimalFieldIdentifierGen extends FieldIdentifier[_enh(0x52f,0x53a)](CalculatedValueGen){}class MinimalFieldVariable extends FieldIdentifier[_enh(0x52f,0x536)](Variable){}class EntityIdentifier extends Mixin([Identifier],a=>class b extends a{constructor(){super(...arguments);function n(a,b){return _enh(b- -0x1c9,a);}this[n(0x37d,0x36f)]=void 0x0;this[n(0x35d,0x35a)]=void 0x0;}['equality'](){return![];}[_enh(0x53a,0x52e)](){function o(a,b){return _enh(a- -0x390,b);}return o(0x1a0,0x1a0)+this[o(0x193,0x187)]+']';}}){}class MinimalEntityIdentifier extends EntityIdentifier['mix'](CalculatedValueGen){}export{EntityIdentifier,FieldIdentifier,MinimalEntityIdentifier,MinimalFieldIdentifierGen,MinimalFieldIdentifierSync,MinimalFieldVariable};
1
+ (function(a,b){const c=a();function g(a,b){return _enb(a- -0x6c,b);}while(!![]){try{const d=parseInt(g(0x172,0x167))/0x1*(-parseInt(g(0x165,0x167))/0x2)+parseInt(g(0x16e,0x166))/0x3*(-parseInt(g(0x175,0x174))/0x4)+-parseInt(g(0x16c,0x164))/0x5+parseInt(g(0x176,0x182))/0x6+parseInt(g(0x171,0x172))/0x7+parseInt(g(0x177,0x170))/0x8+-parseInt(g(0x15f,0x16d))/0x9*(-parseInt(g(0x173,0x172))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x8c6e7));import{CalculatedValueGen,CalculatedValueSync,Identifier,Variable}from'../chrono/Identifier.js';import{Mixin}from'../class/Mixin.js';import{ReadMode}from'./Replica.js';function _ena(){const q=['110pdSakD','readPrevious','559208UscjPP','1770012jLztAk','3812496LZsyLv','writeToGraph','DATA','self','isCommitting','getLatestStableEntryFor','ProposedOrPrevious','Current','get','toString','1017981VTRjWF','leaveGraph','readMode','readFromGraph','getFromGraph','equality','2294MEWtqS','readCurrentOrProposedOrPrevious','hasPendingAutoCommit','mix','entity','name','write','2867210GVRZRd','readProposedOrPrevious','3aXApSw','activeTransaction','read','1853901DNkfkU','865aQiWsH'];_ena=function(){return q;};return _ena();}class FieldIdentifier extends Mixin([Identifier],a=>class b extends a{constructor(){super(...arguments);this['field']=void 0x0;this[h(0x2a1,0x2ab)]=void 0x0;this[h(0x299,0x2aa)]=void 0x0;function h(a,b){return _enb(b-0xc5,a);}this['cacheValue']=![];}[_eni(-0x214,-0x208)](c){let d;if(c){const {cacheValue:e}=this,f=c['dirty']&&(c[j(-0x10a,-0x100)]()||c[j(-0xf6,-0xe7)]);if(!e||!f){switch(c[j(-0x110,-0x106)]){case ReadMode[j(-0xf3,-0xf0)]:d=c[j(-0xf2,-0xf9)](this);break;case ReadMode['Previous']:d=c['activeTransaction'][j(-0xfd,-0xfa)](this);break;case ReadMode[j(-0xf4,-0x105)]:d=c[j(-0x102,-0xf3)][j(-0x104,-0xfe)](this);break;default:d=c[j(-0x102,-0x10b)][j(-0x10b,-0x119)](this);}}if(e){if(!f){this['DATA']=d;}d=this[j(-0xf8,-0x108)];}}else{d=this[j(-0xf8,-0xf1)];}function j(a,b){return _eni(b,a-0xfa);}return d;}[_eni(-0x1fd,-0x209)](c){function k(a,b){return _eni(a,b-0x61);}if(c)return c[k(-0x19a,-0x19a)](this);else return this[k(-0x187,-0x191)];}[_eni(-0x1e9,-0x1f3)](c,d,...e){function l(a,b){return _eni(a,b-0x1d8);}if(c)c[l(-0x1e,-0x28)](this,d,...e);else this[l(-0x18,-0x1a)]=d;}[_eni(-0x1fc,-0x20b)](c){const d=c[m(-0xa4,-0xa5)][m(-0x97,-0xa3)](this);function m(a,b){return _eni(b,a-0x158);}if(d)this[m(-0x9a,-0x8d)]=d['getValue']();super['leaveGraph'](c);}[_eni(-0x1ef,-0x1eb)](){function n(a,b){return _eni(a,b-0x13f);}return this[n(-0xd1,-0xc2)];}}){}class MinimalFieldIdentifierSync extends FieldIdentifier[_eni(-0x200,-0x203)](CalculatedValueSync){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1cb;let f=c[d];return f;};return _enb(a,b);}class MinimalFieldIdentifierGen extends FieldIdentifier[_eni(-0x1f7,-0x203)](CalculatedValueGen){}class MinimalFieldVariable extends FieldIdentifier[_eni(-0x1fe,-0x203)](Variable){}class EntityIdentifier extends Mixin([Identifier],a=>class b extends a{constructor(){function o(a,b){return _eni(a,b-0x204);}super(...arguments);this[o(0x8,0x2)]=void 0x0;this[o(0x14,0x13)]=void 0x0;}[_eni(-0x211,-0x207)](){return![];}[_eni(-0x1ef,-0x1eb)](){function p(a,b){return _eni(b,a-0x64a);}return'Entity\x20identifier\x20['+this[p(0x459,0x463)]+']';}}){}class MinimalEntityIdentifier extends EntityIdentifier['mix'](CalculatedValueGen){}function _eni(a,b){return _enb(b- -0x3d7,a);}export{EntityIdentifier,FieldIdentifier,MinimalEntityIdentifier,MinimalFieldIdentifierGen,MinimalFieldIdentifierSync,MinimalFieldVariable};
@@ -1 +1 @@
1
- (function(a,b){function f(a,b){return _enb(b-0xf0,a);}var c=a();while(!![]){try{var d=parseInt(f(0x162,0x165))/0x1+parseInt(f(0x15f,0x15e))/0x2+-parseInt(f(0x15e,0x162))/0x3*(parseInt(f(0x166,0x160))/0x4)+-parseInt(f(0x16d,0x166))/0x5*(parseInt(f(0x15b,0x15a))/0x6)+-parseInt(f(0x163,0x15f))/0x7*(parseInt(f(0x166,0x167))/0x8)+parseInt(f(0x161,0x15b))/0x9+parseInt(f(0x161,0x163))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x816f5));import{Meta}from'../chrono/Identifier.js';import{MinimalFieldIdentifierGen,MinimalFieldIdentifierSync,MinimalFieldVariable}from'../replica/Identifier.js';function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x6a;var f=c[d];return f;};return _enb(a,b);}import{isGeneratorFunction}from'../util/Helpers.js';class Field extends Meta{constructor(){super(...arguments);function g(a,b){return _enb(a- -0x13a,b);}this[g(-0xc9,-0xce)]=!![];this[g(-0xc6,-0xc5)]=![];}[_enh(-0x12f,-0x12a)](a){if(this[i(-0x1a7,-0x1a6)])return this[i(-0x1a7,-0x1ae)];function i(a,b){return _enh(b,a- -0x7e);}if(!a)return MinimalFieldVariable;return isGeneratorFunction(a)?MinimalFieldIdentifierGen:MinimalFieldIdentifierSync;}}function _ena(){var j=['246xmatRQ','699624nZDxTT','getIdentifierClass','identifierCls','1086994vcBLTg','3178YNXrOv','3263944wwWPXO','persistent','3KlIcKW','7537820XJABDl','ignoreEdgesFlow','1016645YGgHRF','13835MFoqjm','16424mJwYov'];_ena=function(){return j;};return _ena();}function _enh(a,b){return _enb(b- -0x196,a);}export{Field};
1
+ (function(a,b){function f(a,b){return _enb(b- -0xb8,a);}var c=a();while(!![]){try{var d=-parseInt(f(0xba,0xb8))/0x1*(-parseInt(f(0xbc,0xb7))/0x2)+parseInt(f(0xad,0xad))/0x3*(parseInt(f(0xb0,0xb0))/0x4)+-parseInt(f(0xb4,0xb4))/0x5+-parseInt(f(0xa9,0xae))/0x6*(parseInt(f(0xbb,0xb5))/0x7)+parseInt(f(0xad,0xb1))/0x8+parseInt(f(0xbf,0xb9))/0x9+-parseInt(f(0xb7,0xb2))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x27660));import{Meta}from'../chrono/Identifier.js';import{MinimalFieldIdentifierGen,MinimalFieldIdentifierSync,MinimalFieldVariable}from'../replica/Identifier.js';function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x165;var f=c[d];return f;};return _enb(a,b);}function _ena(){var i=['cacheValue','1443980kEXJQu','14KXQBah','identifierCls','2LzPGLz','243036kYxCxi','2623887HWtGpv','ignoreEdgesFlow','647607yawENS','837084vIYpfU','persistent','4uzuQGE','345432sJcscn','644270ueYpkT'];_ena=function(){return i;};return _ena();}import{isGeneratorFunction}from'../util/Helpers.js';class Field extends Meta{constructor(){super(...arguments);function g(a,b){return _enb(b-0x2f6,a);}this[g(0x45b,0x45d)]=!![];this[g(0x46c,0x468)]=![];this[g(0x460,0x461)]=![];}['getIdentifierClass'](a){function h(a,b){return _enb(b- -0x12b,a);}if(this['identifierCls'])return this[h(0x42,0x43)];if(!a)return MinimalFieldVariable;return isGeneratorFunction(a)?MinimalFieldIdentifierGen:MinimalFieldIdentifierSync;}}export{Field};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function l(a,b){return _enb(b-0x2db,a);}while(!![]){try{const d=parseInt(l(0x489,0x49d))/0x1*(parseInt(l(0x4d2,0x4d9))/0x2)+parseInt(l(0x4ea,0x4ce))/0x3+parseInt(l(0x4eb,0x4c9))/0x4+parseInt(l(0x4a3,0x4b8))/0x5+-parseInt(l(0x4b3,0x497))/0x6+parseInt(l(0x4d7,0x4c6))/0x7*(parseInt(l(0x49b,0x4b3))/0x8)+-parseInt(l(0x49b,0x4a1))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x86be0));var __decorate=function(a,b,e,f){var g=arguments[m(-0x106,-0xe7)],h=g<0x3?b:f===null?f=Object[m(-0xf6,-0xe5)](b,e):f,j;function m(a,b){return _enb(a- -0x2ea,b);}if(typeof Reflect===m(-0xf4,-0xff)&&typeof Reflect[m(-0xf5,-0xee)]===m(-0xf9,-0x103))h=Reflect['decorate'](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x123,-0x10a)](b,e,h),h;};import{TombStone}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Quark.js';import{isInstanceOf,Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{Entity,generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{FieldIdentifier,MinimalFieldIdentifierGen,MinimalFieldIdentifierSync,MinimalFieldVariable}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Identifier.js';import{ReferenceField,ReferenceIdentifier}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Reference.js';function _ena(){const F=['fields','converter','graph','level','parentEvent','buildProposedValue','58QFgGnO','serialize','writeToGraph','IsChronoModelSymbol','mix','set','push','1359216NIISTb','getIdentifierClass','$entity','name','activeTransaction','hasOwnProperty','24709BObVVJ','project','failedResolutionReferences','hasBucket','20487078rXoKsP','defineProperty','getActiveEntry','DATA','ignore','assign','concat','context','get','equality','updateParentEvent','candidate','inSetting','write','dateFormat','defaultParseFormat','prototype','forEach','16NqTiky','convert','proposedValue','identifier','self','3100290gusJNz','identifierCls','setValue','getFieldDefinition','getTime','addToBucket','modelFieldConfig','length','readCurrentOrProposedOrPrevious','quarkClass','resolve','isCommitting','isDelayingCalculation','call','753767BVpDOa','sync','parse','3763200XNXCVK','field','isBase','function','getFromGraph','1686003lchdNq','getOwnPropertyDescriptor','decorate','object','delete'];_ena=function(){return F;};return _ena();}import{ReferenceBucketField,ReferenceBucketIdentifier}from'@bryntum/engine-thin/lib/ChronoGraph/replica/ReferenceBucket.js';import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Field}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Field.js';import{isGeneratorFunction,prototypeValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';function _enp(a,b){return _enb(b- -0xa,a);}import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';import{QuarkSync}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Identifier.js';const isSerializableEqual=function(a,b){function n(a,b){return _enb(a- -0x2ff,b);}return a===b||(b?.[n(-0x10f,-0x132)]?this[n(-0x100,-0x10d)](b):b)===(a?.[n(-0x10f,-0xf1)]?this[n(-0x100,-0x124)](a):a);};class ModelField extends Field{constructor(){function o(a,b){return _enb(b- -0x320,a);}super(...arguments);this[o(-0x11a,-0x13d)]={};}[_enp(0x1b4,0x1b3)](a){function q(a,b){return _enp(b,a- -0x15);}if(this[q(0x1bf,0x1e1)])return this[q(0x1bf,0x1c5)];if(!a)return MinimalChronoModelFieldVariable;return isGeneratorFunction(a)?MinimalChronoModelFieldIdentifierGen:MinimalChronoModelFieldIdentifierSync;}}class ModelReferenceField extends ReferenceField[_enp(0x212,0x1f8)](ModelField){constructor(){super(...arguments);this['identifierCls']=ChronoModelReferenceFieldIdentifier;}}class ModelBucketField extends ReferenceBucketField['mix'](Field){constructor(){super(...arguments);function r(a,b){return _enp(b,a- -0x24d);}this[r(-0x79,-0x86)]=ChronoModelReferenceBucketFieldIdentifier;}}const IsChronoModelSymbol=Symbol(_enp(0x1f7,0x1f7));class ChronoModelFieldIdentifier extends Mixin([FieldIdentifier],a=>{const b=a[s(0x3ae,0x3bd)];class c extends a{[IsChronoModelSymbol](){}[s(0x3f7,0x3d9)](d){function t(a,b){return s(b,a- -0x576);}if(d){if(d['readMode']===ReadMode['CurrentOrProposedOrPrevious']){const e=d[t(-0x1a7,-0x1af)]&&this[t(-0x194,-0x1b7)]>(d[t(-0x1cf,-0x1ad)][t(-0x1c7,-0x1d9)]()?.[t(-0x194,-0x1b6)]??Number['MAX_SAFE_INTEGER']);if(this['sync']&&!this[t(-0x1c2,-0x1a3)][t(-0x1cc,-0x1bc)][t(-0x1a6,-0x1b7)]&&!e)return d[t(-0x1c1,-0x1a9)](this);return d[t(-0x1cf,-0x1b1)][t(-0x1aa,-0x1cd)](this);}return b[t(-0x19d,-0x17a)]['call'](this,d);}else return this[t(-0x1c6,-0x1b0)];}[s(0x3de,0x3e7)](d,e,...f){function u(a,b){return s(a,b-0x1e8);}if(d){b['writeToGraph'][u(0x5bc,0x5b9)](this,d,e,...f);}else{this[u(0x5b3,0x598)]=e;if(!this[u(0x5d0,0x5ab)][u(0x58b,0x5a1)]&&!this['self']['isConstructing']&&!this['field'][u(0x5a0,0x599)]){this[u(0x5b1,0x5ab)][u(0x5bb,0x5d2)](this[u(0x5db,0x5be)][u(0x5ac,0x58e)],e,![],![],!![]);}}}['write'](d,e,f,g,...h){function v(a,b){return s(b,a- -0x9d);}g=d[v(0x323,0x32d)](g);b[v(0x31d,0x33f)][v(0x334,0x33e)](this,d,e,f,g,...h);}[s(0x3c3,0x3c0)](d){function w(a,b){return s(a,b- -0x251);}const e=this[w(0x171,0x185)];const f=this[w(0x17e,0x172)][w(0x191,0x176)](e[w(0x15e,0x155)]);if(f?.[w(0x16d,0x16f)]){d=f[w(0x193,0x16f)](d,this[w(0x165,0x163)]['data'],this[w(0x16b,0x163)]);}else if(e[w(0x191,0x18f)]){d=e['converter'](d,e);}return d;}[s(0x3a2,0x3b6)](d,e){function x(a,b){return s(b,a- -0x177);}if(d instanceof Date&&e instanceof Date)return d['getTime']()===e[x(0x251,0x242)]();return d===e;}}function s(a,b){return _enp(a,b-0x1f1);}__decorate([prototypeValue(![])],c[s(0x3ac,0x3bd)],s(0x3e7,0x3d3),void 0x0);return c;}){}class ChronoModelReferenceFieldQuark extends Mixin([QuarkSync],a=>{const b=a['prototype'];class c extends a{['setValue'](d){function y(a,b){return _enb(a-0x1c2,b);}b[y(0x3a1,0x38b)][y(0x3ac,0x3a0)](this,d);if(d!==TombStone)this['identifier'][y(0x38b,0x39a)]=d;}}return c;}){}class ChronoModelReferenceFieldIdentifier extends ReferenceIdentifier['mix'](ChronoModelFieldIdentifier['mix'](MinimalFieldIdentifierSync)){[_enp(0x20b,0x1f3)](a,b,c){function z(a,b){return _enp(b,a-0x155);}const d=b;const e=d[z(0x325,0x345)];if(e===null||e===void 0x0){c[z(0x31c,0x30d)][z(0x30f,0x31a)][z(0x342,0x328)](d['identifier']);return null;}if(isInstanceOf(e,Entity)&&e[z(0x345,0x327)]){if(a['hasBucket']())a['getBucket'](e)[z(0x32d,0x347)](c,a[z(0x327,0x317)]);c[z(0x31c,0x315)]['failedResolutionReferences'][z(0x342,0x345)](d[z(0x326,0x307)]);if(a[z(0x33a,0x34c)][z(0x30a,0x32b)]===z(0x347,0x32e)){a[z(0x327,0x339)][z(0x31b,0x31d)](e,a[z(0x314,0x328)]);}return e;}const f=a[z(0x332,0x319)](e);if(isInstanceOf(f,Entity)&&f[z(0x345,0x363)]){if(a[z(0x310,0x304)]())a['getBucket'](f)[z(0x32d,0x31a)](c,a['self']);c['candidate'][z(0x30f,0x311)][z(0x342,0x323)](d['identifier']);return f;}else{c['candidate'][z(0x30f,0x2fb)][z(0x34e,0x35c)](d[z(0x326,0x303)],e);return null;}}}__decorate([prototypeValue(!![])],ChronoModelReferenceFieldIdentifier['prototype'],_enp(0x1f0,0x1e2),void 0x0);function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1bc;let f=c[d];return f;};return _enb(a,b);}__decorate([prototypeValue(ChronoModelReferenceFieldQuark)],ChronoModelReferenceFieldIdentifier['prototype'],_enp(0x1c5,0x1dc),void 0x0);class ChronoModelReferenceBucketFieldIdentifier extends ReferenceBucketIdentifier[_enp(0x20a,0x1f8)](ChronoModelFieldIdentifier['mix'](MinimalFieldIdentifierSync)){}__decorate([prototypeValue(!![])],ChronoModelReferenceBucketFieldIdentifier['prototype'],_enp(0x1be,0x1e2),void 0x0);class MinimalChronoModelFieldIdentifierSync extends ChronoModelFieldIdentifier[_enp(0x1ee,0x1f8)](MinimalFieldIdentifierSync){}class MinimalChronoModelFieldIdentifierGen extends ChronoModelFieldIdentifier[_enp(0x21a,0x1f8)](MinimalFieldIdentifierGen){}class MinimalChronoModelFieldVariable extends ChronoModelFieldIdentifier[_enp(0x20b,0x1f8)](MinimalFieldVariable){}const model_field=function(a={},b={},c=ModelField){return function(d,e){const f=generic_field({'modelFieldConfig':a,...b},c);f(d,e);injectStaticFieldsProperty(d['constructor']);};};const injectStaticFieldsProperty=a=>{function A(a,b){return _enp(a,b-0x156);}if(!a[A(0x2ea,0x30d)]('fieldsInjected')){let b=[];if(a[A(0x2ee,0x30d)](A(0x356,0x344))){b=a[A(0x329,0x344)];}Object['defineProperty'](a,A(0x358,0x344),{'get':function(){function B(a,b){return A(a,b-0x219);}return b[B(0x547,0x531)](getDecoratedModelFields(this));}});a['fieldsInjected']=!![];}};const getDecoratedModelFields=a=>{function C(a,b){return _enp(b,a-0x1bf);}const b=a[C(0x38b,0x39a)];const c=[];if(b[C(0x376,0x36f)](C(0x373,0x370))){b[C(0x373,0x371)]['ownFields'][C(0x38c,0x3a6)](d=>{function D(a,b){return C(a-0x87,b);}if(d instanceof ModelField){const e=d['modelFieldConfig']||{};if(!e['convert']&&d[D(0x435,0x457)]&&d[D(0x435,0x43c)]!==dateConverter){e[D(0x415,0x3fe)]=d[D(0x435,0x435)];}c[D(0x440,0x444)](Object[D(0x407,0x40d)](e,{'$chrono':d,'name':d[D(0x3fb,0x3d7)]}));}});}return c;};const dateConverter=(a,b)=>{if(a===null){return null;}if(!(a instanceof Date)){a=_enc[E(0x20,0x14)](a,b[E(0x7,0xa)]?.['format']||b['modelFieldConfig']?.[E(-0xb,-0x5)]||_enc[E(-0x6,-0x4)]);}function E(a,b){return _enp(a,b- -0x1cf);}return a||void 0x0;};export{ChronoModelFieldIdentifier,ChronoModelReferenceBucketFieldIdentifier,ChronoModelReferenceFieldIdentifier,ChronoModelReferenceFieldQuark,IsChronoModelSymbol,MinimalChronoModelFieldIdentifierGen,MinimalChronoModelFieldIdentifierSync,MinimalChronoModelFieldVariable,ModelBucketField,ModelField,ModelReferenceField,dateConverter,getDecoratedModelFields,injectStaticFieldsProperty,isSerializableEqual,model_field};
1
+ (function(a,b){const c=a();function l(a,b){return _enb(a- -0x3d0,b);}while(!![]){try{const d=-parseInt(l(-0x1ba,-0x1b1))/0x1*(parseInt(l(-0x1ca,-0x1b6))/0x2)+-parseInt(l(-0x1aa,-0x1a1))/0x3*(-parseInt(l(-0x1b8,-0x1c8))/0x4)+-parseInt(l(-0x1e5,-0x1ed))/0x5+parseInt(l(-0x1de,-0x1ff))/0x6*(parseInt(l(-0x1bf,-0x1b1))/0x7)+-parseInt(l(-0x1cc,-0x1af))/0x8+-parseInt(l(-0x1b1,-0x1af))/0x9+parseInt(l(-0x1d1,-0x1f4))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xf17a3));var __decorate=function(a,b,e,f){var g=arguments[m(-0x49,-0x40)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;function m(a,b){return _enb(b- -0x24e,a);}if(typeof Reflect==='object'&&typeof Reflect['decorate']===m(-0x23,-0x2a))h=Reflect[m(-0x44,-0x61)](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x80,-0x67)](b,e,h),h;};import{TombStone}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Quark.js';import{isInstanceOf,Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enp(a,b){return _enb(a-0x38e,b);}import{Entity,generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{FieldIdentifier,MinimalFieldIdentifierGen,MinimalFieldIdentifierSync,MinimalFieldVariable}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Identifier.js';import{ReferenceField,ReferenceIdentifier}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Reference.js';function _ena(){const F=['failedResolutionReferences','2MPsJQl','parentEvent','modelFieldConfig','DATA','mix','field','identifier','inSetting','length','self','hasPendingAutoCommit','63xuuZfq','isBase','dateFormat','isCommitting','write','1455917RhIKyk','hasBucket','1244ZQAGxA','convert','set','getBucket','delete','quarkClass','identifierCls','3608901HzxKWp','name','format','IsChronoModelSymbol','activeTransaction','function','serialize','1893bprLbD','getIdentifierClass','call','forEach','ignore','graph','proposedValue','context','defineProperty','converter','readMode','getTime','1986935IVRkKu','isDelayingCalculation','decorate','updateParentEvent','sync','getFieldDefinition','defaultParseFormat','204954FiDPBA','project','buildProposedValue','addToBucket','level','ownFields','candidate','fields','fieldsInjected','resolve','push','readCurrentOrProposedOrPrevious','hasOwnProperty','40228570sXIdKs','writeToGraph','equality','getFromGraph','prototype','10265160rxZsnx'];_ena=function(){return F;};return _ena();}import{ReferenceBucketField,ReferenceBucketIdentifier}from'@bryntum/engine-thin/lib/ChronoGraph/replica/ReferenceBucket.js';import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Field}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Field.js';import{isGeneratorFunction,prototypeValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';import{QuarkSync}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Identifier.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1e7;let f=c[d];return f;};return _enb(a,b);}const isSerializableEqual=function(a,b){function n(a,b){return _enb(a-0x2ac,b);}return a===b||(b?.[n(0x4be,0x4a6)]?this[n(0x4d1,0x4e1)](b):b)===(a?.[n(0x4be,0x4d5)]?this[n(0x4d1,0x4cf)](a):a);};class ModelField extends Field{constructor(){function o(a,b){return _enb(a- -0xe3,b);}super(...arguments);this[o(0x125,0x13c)]={};}[_enp(0x5b5,0x59a)](a){if(this[q(0x1fd,0x208)])return this[q(0x1fd,0x21e)];if(!a)return MinimalChronoModelFieldVariable;function q(a,b){return _enp(a- -0x3af,b);}return isGeneratorFunction(a)?MinimalChronoModelFieldIdentifierGen:MinimalChronoModelFieldIdentifierSync;}}class ModelReferenceField extends ReferenceField[_enp(0x598,0x5ad)](ModelField){constructor(){function r(a,b){return _enp(a-0x4,b);}super(...arguments);this[r(0x5b0,0x5a8)]=ChronoModelReferenceFieldIdentifier;}}class ModelBucketField extends ReferenceBucketField[_enp(0x598,0x57d)](Field){constructor(){super(...arguments);function s(a,b){return _enp(b- -0x4ce,a);}this[s(0xce,0xde)]=ChronoModelReferenceBucketFieldIdentifier;}}const IsChronoModelSymbol=Symbol(_enp(0x5b0,0x58e));class ChronoModelFieldIdentifier extends Mixin([FieldIdentifier],a=>{const b=a['prototype'];function t(a,b){return _enp(a- -0x11e,b);}class c extends a{[IsChronoModelSymbol](){}[t(0x472,0x490)](d){let e;function u(a,b){return t(b- -0x451,a);}if(d){if(d[u(0xf,0x8)]===ReadMode['CurrentOrProposedOrPrevious']){const {cacheValue:f}=this,g=d['dirty']&&(d[u(0xb,0x2f)]()||d[u(0x2f,0x33)]);if(!f||!g){const h=d[u(0x1b,0x33)]&&this[u(0x2e,0x15)]>(d[u(0x64,0x42)]['getActiveEntry']()?.[u(-0x9,0x15)]??Number['MAX_SAFE_INTEGER']);if(this['sync']&&!this['context'][u(0x2,0x12)][u(0x1b,0xb)]&&!h){e=d['get'](this);}else{e=d[u(0x3a,0x42)][u(0x29,0x1c)](this);}}if(f){if(g){e=this[u(0x15,0x28)];}else{this[u(0x24,0x28)]=e;}}}else{e=b[u(0x37,0x21)][u(0x3e,0x47)](this,d);}}else{e=this[u(0x14,0x28)];}return e;}['writeToGraph'](d,e,...f){function v(a,b){return t(a- -0x23c,b);}if(d){b[v(0x234,0x236)][v(0x25c,0x26e)](this,d,e,...f);}else{this[v(0x23d,0x228)]=e;if(!this[v(0x243,0x24c)][v(0x241,0x241)]&&!this[v(0x243,0x220)]['isConstructing']&&!this['field'][v(0x25e,0x244)]){this[v(0x243,0x24e)][v(0x24e,0x269)](this[v(0x23f,0x23b)][v(0x254,0x250)],e,![],![],!![]);}}}[t(0x485,0x481)](d,e,f,g,...h){g=d['convert'](g);function w(a,b){return t(a- -0x57e,b);}b[w(-0xf9,-0xde)][w(-0xe6,-0xfe)](this,d,e,f,g,...h);}[t(0x489,0x488)](d){function x(a,b){return t(a- -0x553,b);}const e=this[x(-0xd8,-0xd4)];const f=this['self'][x(-0xf3,-0xd6)](e[x(-0xc3,-0xdb)]);if(f?.[x(-0xca,-0xb2)]){d=f[x(-0xca,-0xe6)](d,this[x(-0xb6,-0xc8)]['data'],this[x(-0xb6,-0xa2)]);}else if(e['converter']){d=e[x(-0xfb,-0x100)](d,e);}return d;}[t(0x471,0x482)](d,e){if(d instanceof Date&&e instanceof Date)return d[y(0x563,0x579)]()===e[y(0x564,0x579)]();function y(a,b){return t(b-0x11f,a);}return d===e;}}__decorate([prototypeValue(![])],c[t(0x473,0x480)],t(0x45f,0x454),void 0x0);return c;}){}class ChronoModelReferenceFieldQuark extends Mixin([QuarkSync],a=>{const b=a[z(0x313,0x2f4)];class c extends a{['setValue'](d){b['setValue']['call'](this,d);if(d!==TombStone)this['identifier']['DATA']=d;}}function z(a,b){return _enp(a- -0x27e,b);}return c;}){}class ChronoModelReferenceFieldIdentifier extends ReferenceIdentifier[_enp(0x598,0x577)](ChronoModelFieldIdentifier['mix'](MinimalFieldIdentifierSync)){[_enp(0x582,0x56d)](a,b,c){const d=b;function A(a,b){return _enp(a- -0x436,b);}const e=d[A(0x184,0x177)];if(e===null||e===void 0x0){c[A(0x150,0x143)]['failedResolutionReferences'][A(0x174,0x16f)](d['identifier']);return null;}if(isInstanceOf(e,Entity)&&e[A(0x183,0x18a)]){if(a[A(0x16f,0x157)]())a[A(0x173,0x16b)](e)[A(0x14d,0x139)](c,a['self']);c[A(0x150,0x144)][A(0x15d,0x159)]['delete'](d[A(0x164,0x175)]);if(a[A(0x163,0x182)][A(0x178,0x17b)]===A(0x15f,0x13f)){a['self'][A(0x146,0x12b)](e,a[A(0x161,0x172)]);}return e;}const f=a[A(0x153,0x16f)](e);if(isInstanceOf(f,Entity)&&f[A(0x183,0x160)]){if(a[A(0x16f,0x165)]())a['getBucket'](f)['addToBucket'](c,a[A(0x167,0x171)]);c[A(0x150,0x141)][A(0x15d,0x142)][A(0x174,0x18d)](d['identifier']);return f;}else{c[A(0x150,0x133)][A(0x15d,0x15a)]['set'](d[A(0x164,0x148)],e);return null;}}}__decorate([prototypeValue(!![])],ChronoModelReferenceFieldIdentifier[_enp(0x591,0x580)],_enp(0x57d,0x566),void 0x0);__decorate([prototypeValue(ChronoModelReferenceFieldQuark)],ChronoModelReferenceFieldIdentifier[_enp(0x591,0x58e)],_enp(0x5ab,0x5a1),void 0x0);class ChronoModelReferenceBucketFieldIdentifier extends ReferenceBucketIdentifier['mix'](ChronoModelFieldIdentifier['mix'](MinimalFieldIdentifierSync)){}__decorate([prototypeValue(!![])],ChronoModelReferenceBucketFieldIdentifier['prototype'],_enp(0x57d,0x58c),void 0x0);class MinimalChronoModelFieldIdentifierSync extends ChronoModelFieldIdentifier[_enp(0x598,0x5aa)](MinimalFieldIdentifierSync){}class MinimalChronoModelFieldIdentifierGen extends ChronoModelFieldIdentifier['mix'](MinimalFieldIdentifierGen){}class MinimalChronoModelFieldVariable extends ChronoModelFieldIdentifier[_enp(0x598,0x581)](MinimalFieldVariable){}const model_field=function(a={},b={},c=ModelField){return function(d,e){const f=generic_field({'modelFieldConfig':a,...b},c);f(d,e);injectStaticFieldsProperty(d['constructor']);};};const injectStaticFieldsProperty=a=>{function B(a,b){return _enp(a- -0x38f,b);}if(!a[B(0x1fd,0x1e5)](B(0x1f9,0x215))){let b=[];if(a[B(0x1fd,0x1ee)](B(0x1f8,0x1dd))){b=a[B(0x1f8,0x219)];}Object[B(0x1e6,0x1cb)](a,'fields',{'get':function(){return b['concat'](getDecoratedModelFields(this));}});a[B(0x1f9,0x20c)]=!![];}};const getDecoratedModelFields=a=>{const b=a[C(0x26a,0x288)];function C(a,b){return _enp(b- -0x309,a);}const c=[];if(b[C(0x287,0x283)]('$entity')){b['$entity'][C(0x259,0x27c)][C(0x29e,0x2ae)](d=>{function D(a,b){return C(b,a-0x2ee);}if(d instanceof ModelField){const e=d[D(0x57b,0x564)]||{};if(!e[D(0x58c,0x5ad)]&&d['converter']&&d[D(0x55b,0x541)]!==dateConverter){e[D(0x58c,0x57a)]=d[D(0x55b,0x575)];}c[D(0x56f,0x559)](Object['assign'](e,{'$chrono':d,'name':d[D(0x593,0x586)]}));}});}return c;};const dateConverter=(a,b)=>{function E(a,b){return _enp(a- -0x4b6,b);}if(a===null){return null;}if(!(a instanceof Date)){a=_enc['parse'](a,b[E(0xe0,0xc8)]?.[E(0xf9,0x10f)]||b['modelFieldConfig']?.[E(0xeb,0xf0)]||_enc[E(0xc9,0xba)]);}return a||void 0x0;};export{ChronoModelFieldIdentifier,ChronoModelReferenceBucketFieldIdentifier,ChronoModelReferenceFieldIdentifier,ChronoModelReferenceFieldQuark,IsChronoModelSymbol,MinimalChronoModelFieldIdentifierGen,MinimalChronoModelFieldIdentifierSync,MinimalChronoModelFieldVariable,ModelBucketField,ModelField,ModelReferenceField,dateConverter,getDecoratedModelFields,injectStaticFieldsProperty,isSerializableEqual,model_field};
@@ -1 +1 @@
1
- (function(a,b){function l(a,b){return _enb(a-0x120,b);}const c=a();while(!![]){try{const d=parseInt(l(0x300,0x2f5))/0x1+-parseInt(l(0x314,0x313))/0x2+parseInt(l(0x2f3,0x309))/0x3+parseInt(l(0x30c,0x2fd))/0x4*(parseInt(l(0x2dc,0x2be))/0x5)+-parseInt(l(0x2eb,0x2e9))/0x6+-parseInt(l(0x2ec,0x2dc))/0x7+parseInt(l(0x308,0x31e))/0x8*(-parseInt(l(0x2e3,0x2f1))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x980ed));var __decorate=function(a,b,e,f){function m(a,b){return _enb(a-0x1f5,b);}var g=arguments[m(0x3c6,0x3bf)],h=g<0x3?b:f===null?f=Object[m(0x3b3,0x3a1)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[m(0x3b2,0x3a5)]==='function')h=Reflect[m(0x3b2,0x3a2)](a,b,e,f);else for(var k=a[m(0x3c6,0x3af)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};function _ena(){const C=['_lateSchedule','213236nARIMz','calculateProjectedDuration','latePreSchedule','isConstrained','calculateLateEndDate','totalSlack','prototype','onEmptyEffectiveInterval','410028RRxQJj','Backward','boolean','doCalculateEffectiveEndDateInterval','85hJKlKv','decorate','getOwnPropertyDescriptor','lateStartDate','endDate','constructor','event','34551fshwwf','earlySchedule','direction','resolved','slackUnit','_earlySchedule','unlink','pickDirectionSchedule','2637156DQEiqm','6198759AjNvKS','earlyPreSchedule','leaveGraph','normalizeUnit','phase','length','phase2','2359392uudfOP','enterGraph','bwcConflictPostpone','startDate','return','pickOpposite','Day','date','scheduleMixinClass','lateSchedule','Forward','calculateCritical','_earlyPreSchedule','479384SiUvPv','_latePreSchedule','calculateTotalSlack','phase1','calculateLateStartDate','isConstrainedAlongDirection','`true`\x20if\x20this\x20task\x20is\x20critical\x20and\x20if\x20the\x20task\x20is\x20delayed,\x20the\x20whole\x20project\x20will\x20be\x20delayed.\x20It\x20is\x20a\x20calculated\x20field\x20and\x20can\x20NEVER\x20be\x20set/modified','number','40MPCytq','getProject','lateEndDate'];_ena=function(){return C;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1bc;let f=c[d];return f;};return _enb(a,b);}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{Direction,TimeUnit}from'../../../scheduling/Types.js';import{HasChildrenMixin}from'../scheduler_basic/HasChildrenMixin.js';import{ConstrainedByDependenciesEventMixin}from'../scheduler_pro/ConstrainedByDependenciesEventMixin.js';import{ConstrainedLateScheduleMixin}from'./ConstrainedLateScheduleMixin.js';class ConstrainedLateEventMixin extends Mixin([ConstrainedByDependenciesEventMixin,HasChildrenMixin],a=>{const b=a[n(0x1c4,0x1dd)];class c extends a{get[n(0x1a8,0x1b8)](){function o(a,b){return n(a,b-0x174);}if(this[o(0x351,0x33e)]!==void 0x0)return this[o(0x320,0x33e)];const d=this[o(0x339,0x320)]['scheduleMixinClass'];const e=new d({'id':o(0x310,0x32c)},null,null,![],!![]);e[o(0x321,0x321)]=this;e['phase']=o(0x340,0x342);return this[o(0x32d,0x33e)]=e;}get[n(0x19f,0x1af)](){function p(a,b){return n(b,a-0xf3);}if(this[p(0x2a6,0x2a8)]!==void 0x0)return this[p(0x2a6,0x28d)];const d=super[p(0x2a2,0x29c)];d[p(0x2ae,0x2a6)]='phase2';return this[p(0x2a6,0x2a1)]=d;}get[n(0x1ce,0x1d9)](){if(this[q(0xc2,0xce)]!==void 0x0)return this[q(0xba,0xce)];const d=this[q(0xbd,0xae)][q(0xbd,0xc8)];const e=new d({'id':q(0xda,0xdb)},null,null,![],!![]);e[q(0xb7,0xaf)]=this;function q(a,b){return n(a,b- -0xfe);}e[q(0xac,0xb2)]=Direction[q(0xfa,0xe2)];e['phase']=q(0xd4,0xd0);return this[q(0xd7,0xce)]=e;}get[n(0x1d4,0x1c7)](){if(this['_lateSchedule']!==void 0x0)return this[r(0x4b0,0x4c6)];const d=this[r(0x480,0x49c)]['scheduleMixinClass'];const e=new d({'id':r(0x4bb,0x4b7)},null,null,![],!![]);e[r(0x49c,0x49d)]=this;function r(a,b){return n(a,b-0x2f0);}e[r(0x496,0x4a0)]=Direction[r(0x4bc,0x4d0)];e[r(0x49a,0x4ab)]=r(0x4ab,0x4ad);return this[r(0x4c2,0x4c6)]=e;}[n(0x1aa,0x1bf)](d){super['enterGraph'](d);this[s(0x3ae,0x39f)][s(0x3b3,0x3a6)](d);function s(a,b){return n(a,b-0x1e7);}this[s(0x3c4,0x3c0)][s(0x39c,0x3a6)](d);this[s(0x3b5,0x3ae)][s(0x3aa,0x3a6)](d);}[n(0x19e,0x1b9)](d){this[t(0x3bd,0x3bb)][t(0x3af,0x3c5)](d);function t(a,b){return n(b,a-0x1f6);}this[t(0x3cf,0x3bb)]['leaveGraph'](d);this[t(0x3ae,0x3a8)]['leaveGraph'](d);super['leaveGraph'](d);}[n(0x1bb,0x1b4)](...d){this['lateSchedule']['unlink'](...d);this[u(0x2fc,0x30c)][u(0x2fa,0x2e7)](...d);this['earlyPreSchedule'][u(0x2d6,0x2e7)](...d);function u(a,b){return n(a,b-0x133);}super['unlink'](...d);}*[n(0x1cd,0x1cf)](){function v(a,b){return n(b,a-0x27e);}return yield this[v(0x445,0x450)]['$'][v(0x43f,0x453)];}*[n(0x1d9,0x1db)](){function w(a,b){return n(b,a-0xe0);}return yield this[w(0x2a7,0x292)]['$'][w(0x28b,0x285)];}*[n(0x1b7,0x1cd)](){function x(a,b){return n(b,a-0x30f);}const d=yield this[x(0x4be,0x4c1)]['$'][x(0x4d0,0x4b3)];const e=yield this[x(0x4d6,0x4c8)]['$']['startDate'];const f=yield this[x(0x4be,0x4ae)]['$']['endDate'];const g=yield this['lateSchedule']['$'][x(0x4ba,0x4a7)];const h=yield this['$'][x(0x4c1,0x4c7)];let i;if(d&&e){i=yield*this[x(0x4e7,0x4e4)](d,e,h,void 0x0,!![]);}if(f&&g){const j=yield*this[x(0x4e7,0x504)](f,g,h,void 0x0,!![]);if(j<i)i=j;}return i;}*[n(0x1e4,0x1c9)](){function y(a,b){return n(a,b- -0x108);}const d=yield this['$'][y(0xda,0xd4)];return typeof d===y(0xd9,0xca)&&d<=0x0;}*[n(0x1db,0x1d0)](d){function z(a,b){return n(b,a-0x36b);}return yield*this['pickDirectionSchedule'](d)[z(0x545,0x543)]();}[n(0x1b2,0x1b5)](d){function A(a,b){return n(a,b- -0x20c);}return d===Direction[A(-0x61,-0x44)]?this['earlySchedule']:this[A(-0x36,-0x45)];}*[n(0x1f9,0x1de)](d,e){function B(a,b){return n(b,a- -0xdd);}if(!(yield*e['isFirstPass']())){const f=this[B(0xf7,0xfd)]();if(!f[B(0xe3,0xe5)]||f['ignoreConstraintsOnConflictDuringSecondPass']){const g=d==='start'?yield*e['doCalculateEffectiveStartDateInterval'](!![],!![]):yield*e[B(0x105,0x11f)](!![],!![]);if(!g['isIntervalEmpty']()){return{'kind':B(0xd4,0xee),'value':g};}}return{'kind':B(0xe5,0x103),'value':yield e[B(0xe6,0xf8)](this)['$'][d==='start'?'startDate':B(0xce,0xd0)]};}return yield*super[B(0x101,0x10f)](d,e);}}c['scheduleMixinClass']=Mixin([a['scheduleMixinClass'],ConstrainedLateScheduleMixin],d=>d);function n(a,b){return _enb(b- -0x15,a);}__decorate([model_field({'type':n(0x1d1,0x1c5),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c['prototype'],n(0x1a4,0x1aa),void 0x0);__decorate([model_field({'type':n(0x1ae,0x1c5),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x1da,0x1dd)],n(0x1d1,0x1d5),void 0x0);__decorate([model_field({'type':n(0x1b6,0x1d2),'persist':![],'calculated':!![]},{'lazy':!![],'persistent':![]})],c[n(0x1f8,0x1dd)],n(0x1f1,0x1dc),void 0x0);__decorate([model_field({'type':'string','defaultValue':TimeUnit[n(0x1d4,0x1c4)],'persist':![]},{'lazy':!![],'converter':_enc[n(0x1be,0x1ba)],'persistent':![]})],c[n(0x1c8,0x1dd)],n(0x1a1,0x1b2),void 0x0);__decorate([model_field({'type':n(0x1de,0x1e1),'defaultValue':![],'persist':![],'calculated':!![],'description':n(0x1d0,0x1d1)},{'persistent':![],'lazy':!![]})],c['prototype'],'critical',void 0x0);__decorate([calculate(n(0x1b1,0x1aa))],c['prototype'],n(0x1d6,0x1cf),null);__decorate([calculate(n(0x1c0,0x1d5))],c[n(0x1da,0x1dd)],n(0x1f1,0x1db),null);__decorate([calculate('totalSlack')],c['prototype'],'calculateTotalSlack',null);__decorate([calculate('critical')],c[n(0x1f3,0x1dd)],'calculateCritical',null);return c;}){}export{ConstrainedLateEventMixin};
1
+ (function(a,b){const c=a();function l(a,b){return _enb(a- -0x10f,b);}while(!![]){try{const d=parseInt(l(0x4d,0x39))/0x1*(-parseInt(l(0x2d,0xd))/0x2)+parseInt(l(0x5d,0x67))/0x3+-parseInt(l(0x46,0x54))/0x4*(-parseInt(l(0x4b,0x3e))/0x5)+parseInt(l(0x54,0x39))/0x6*(parseInt(l(0x5e,0x6e))/0x7)+-parseInt(l(0x6c,0x8a))/0x8+-parseInt(l(0x3b,0x3a))/0x9+parseInt(l(0x67,0x50))/0xa*(parseInt(l(0x53,0x58))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xcd90d));function _ena(){const B=['4152897mvZnxK','2801253xJBALv','pickOpposite','defineProperty','calculateTotalSlack','Day','leaveGraph','unlink','isIntervalEmpty','totalSlack','3359980AiyeKZ','number','prototype','calculateLateEndDate','endDate','358760fWcPfh','length','278SqaZxo','getProject','critical','startDate','event','isConstrainedAlongDirection','isFirstPass','Backward','resolved','phase2','normalizeUnit','calculateCritical','scheduleMixinClass','lateEndDate','11161944VEPuKF','ignoreConstraintsOnConflictDuringSecondPass','earlyPreSchedule','lateSchedule','doCalculateEffectiveEndDateInterval','getOwnPropertyDescriptor','Forward','phase','decorate','enterGraph','date','4lTCwHh','earlySchedule','bwcConflictPostpone','calculateLateStartDate','phase1','1550635TvyPvj','function','10359hcrJxU','calculateProjectedDuration','onEmptyEffectiveInterval','start','constructor','slackUnit','22vdFbtF','18BZxBLC','return','doCalculateEffectiveStartDateInterval','_earlySchedule','latePreSchedule','string','boolean','_earlyPreSchedule','direction'];_ena=function(){return B;};return _ena();}var __decorate=function(a,b,e,f){var g=arguments[m(0x14a,0x153)],h=g<0x3?b:f===null?f=Object[m(0x108,0x126)](b,e):f,j;function m(a,b){return _enb(b- -0x29,a);}if(typeof Reflect==='object'&&typeof Reflect[m(0x129,0x129)]===m(0x11d,0x132))h=Reflect[m(0x114,0x129)](a,b,e,f);else for(var k=a[m(0x13c,0x153)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(0x12d,0x146)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{Direction,TimeUnit}from'../../../scheduling/Types.js';import{HasChildrenMixin}from'../scheduler_basic/HasChildrenMixin.js';import{ConstrainedByDependenciesEventMixin}from'../scheduler_pro/ConstrainedByDependenciesEventMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x13c;let f=c[d];return f;};return _enb(a,b);}import{ConstrainedLateScheduleMixin}from'./ConstrainedLateScheduleMixin.js';class ConstrainedLateEventMixin extends Mixin([ConstrainedByDependenciesEventMixin,HasChildrenMixin],a=>{class b extends a{get[n(0x71,0x7b)](){if(this[o(0xf3,0x108)]!==void 0x0)return this[o(0xed,0x108)];const c=this[o(0xee,0xfe)][o(0xfd,0xe6)];const d=new c({'id':o(0xe3,0xea)},null,null,![],!![]);function o(a,b){return n(b-0x79,a);}d[o(0xe2,0xde)]=this;d[o(0xe7,0xef)]=o(0x10e,0xf7);return this['_earlyPreSchedule']=d;}get[n(0x7b,0x97)](){function p(a,b){return n(b-0x31e,a);}if(this[p(0x3c7,0x3a9)]!==void 0x0)return this[p(0x3b9,0x3a9)];const c=super[p(0x39a,0x399)];c[p(0x3a9,0x394)]=p(0x39c,0x388);return this[p(0x388,0x3a9)]=c;}get[n(0x8c,0x79)](){if(this['_latePreSchedule']!==void 0x0)return this['_latePreSchedule'];function q(a,b){return n(a-0x25b,b);}const c=this['constructor'][q(0x2c8,0x2e1)];const d=new c({'id':q(0x2e7,0x2d9)},null,null,![],!![]);d[q(0x2c0,0x2a3)]=this;d['direction']=Direction[q(0x2c3,0x2df)];d[q(0x2d1,0x2ba)]=q(0x2d9,0x2da);return this['_latePreSchedule']=d;}get[n(0x72,0x54)](){if(this['_lateSchedule']!==void 0x0)return this['_lateSchedule'];const c=this[r(0x199,0x1a1)][r(0x176,0x189)];const d=new c({'id':r(0x17f,0x18e)},null,null,![],!![]);function r(a,b){return n(b-0x11c,a);}d[r(0x192,0x181)]=this;d[r(0x1c9,0x1ac)]=Direction[r(0x179,0x184)];d[r(0x1a1,0x192)]=r(0x172,0x186);return this['_lateSchedule']=d;}[n(0x78,0x6e)](c){super[s(-0x6b,-0x7f)](c);this[s(-0x72,-0x82)][s(-0x6b,-0x8a)](c);function s(a,b){return n(a- -0xe3,b);}this[s(-0x57,-0x59)]['enterGraph'](c);this[s(-0x71,-0x54)][s(-0x6b,-0x5a)](c);}[n(0x97,0xb0)](c){this['lateSchedule'][t(0x205,0x20f)](c);this[t(0x1fa,0x1f1)][t(0x205,0x207)](c);this[t(0x1df,0x1fb)][t(0x205,0x1eb)](c);function t(a,b){return n(a-0x16e,b);}super[t(0x205,0x1f3)](c);}[n(0x98,0xa5)](...c){function u(a,b){return n(a-0x252,b);}this[u(0x2c4,0x2bf)]['unlink'](...c);this['latePreSchedule'][u(0x2ea,0x2dc)](...c);this[u(0x2c3,0x2d4)][u(0x2ea,0x2f1)](...c);super[u(0x2ea,0x2f6)](...c);}*[n(0x7d,0x95)](){function v(a,b){return n(b-0x21b,a);}return yield this[v(0x282,0x28d)]['$']['startDate'];}*[n(0x9e,0x8b)](){function w(a,b){return n(b- -0x28c,a);}return yield this[w(-0x205,-0x21a)]['$'][w(-0x1ec,-0x1ed)];}*[n(0x95,0x80)](){const c=yield this[x(-0x255,-0x250)]['$'][x(-0x26c,-0x24c)];const d=yield this[x(-0x25e,-0x24e)]['$'][x(-0x26c,-0x26a)];const e=yield this[x(-0x255,-0x23d)]['$'][x(-0x231,-0x238)];const f=yield this[x(-0x25e,-0x26a)]['$']['endDate'];const g=yield this['$'][x(-0x24a,-0x234)];function x(a,b){return n(a- -0x2d0,b);}let h;if(c&&d){h=yield*this[x(-0x24e,-0x23c)](c,d,g,void 0x0,!![]);}if(e&&f){const i=yield*this['calculateProjectedDuration'](e,f,g,void 0x0,!![]);if(i<h)h=i;}return h;}*[n(0x6c,0x73)](){function y(a,b){return n(a- -0x248,b);}const c=yield this['$'][y(-0x1ae,-0x1a7)];return typeof c===y(-0x1ac,-0x1a7)&&c<=0x0;}*[n(0x66,0x58)](c){return yield*this['pickDirectionSchedule'](c)['isConstrained']();}['pickDirectionSchedule'](c){function z(a,b){return n(b-0x278,a);}return c===Direction[z(0x2fe,0x2ed)]?this[z(0x2ee,0x2f3)]:this[z(0x2e4,0x2ea)];}*[n(0x83,0x91)](c,d){if(!(yield*d[A(-0x1ad,-0x1c7)]())){const e=this[A(-0x1d0,-0x1cc)]();if(!e[A(-0x1a8,-0x1b2)]||e[A(-0x1a7,-0x1be)]){const f=c===A(-0x1a5,-0x1aa)?yield*d[A(-0x1be,-0x1a4)](!![],!![]):yield*d[A(-0x1bd,-0x1bb)](!![],!![]);if(!f[A(-0x18f,-0x195)]()){return{'kind':A(-0x1d0,-0x1c5),'value':f};}}return{'kind':A(-0x195,-0x1a5),'value':yield d[A(-0x1ac,-0x19b)](this)['$'][c===A(-0x1a1,-0x1aa)?A(-0x1c4,-0x1ca):'endDate']};}function A(a,b){return n(b- -0x22e,a);}return yield*super['onEmptyEffectiveInterval'](c,d);}}b[n(0x6d,0x86)]=Mixin([a['scheduleMixinClass'],ConstrainedLateScheduleMixin],c=>c);function n(a,b){return _enb(a- -0xdb,b);}__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![],'cacheValue':!![]})],b['prototype'],'lateStartDate',void 0x0);__decorate([model_field({'type':n(0x79,0x95),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![],'cacheValue':!![]})],b['prototype'],n(0x6e,0x63),void 0x0);__decorate([model_field({'type':n(0x9c,0xaf),'persist':![],'calculated':!![]},{'lazy':!![],'persistent':![],'cacheValue':!![]})],b[n(0x9d,0x9d)],n(0x9a,0x86),void 0x0);__decorate([model_field({'type':n(0x8d,0x7d),'defaultValue':TimeUnit[n(0x96,0xa7)],'persist':![]},{'lazy':!![],'converter':_enc[n(0x6b,0x54)],'persistent':![]})],b['prototype'],n(0x86,0x8f),void 0x0);__decorate([model_field({'type':n(0x8e,0x89),'defaultValue':![],'persist':![],'calculated':!![],'description':'`true`\x20if\x20this\x20task\x20is\x20critical\x20and\x20if\x20the\x20task\x20is\x20delayed,\x20the\x20whole\x20project\x20will\x20be\x20delayed.\x20It\x20is\x20a\x20calculated\x20field\x20and\x20can\x20NEVER\x20be\x20set/modified'},{'persistent':![],'lazy':!![],'cacheValue':!![]})],b[n(0x9d,0x81)],n(0x63,0x7a),void 0x0);__decorate([calculate('lateStartDate')],b['prototype'],n(0x7d,0x92),null);__decorate([calculate(n(0x6e,0x7f))],b[n(0x9d,0x83)],n(0x9e,0xb0),null);__decorate([calculate(n(0x9a,0x80))],b['prototype'],'calculateTotalSlack',null);__decorate([calculate(n(0x63,0x79))],b['prototype'],n(0x6c,0x73),null);return b;}){}export{ConstrainedLateEventMixin};
@@ -1 +1 @@
1
- (function(a,b){function u(a,b){return _enb(a-0x31a,b);}const c=a();while(!![]){try{const d=-parseInt(u(0x430,0x425))/0x1*(-parseInt(u(0x436,0x42d))/0x2)+parseInt(u(0x429,0x421))/0x3*(parseInt(u(0x42d,0x43b))/0x4)+-parseInt(u(0x426,0x421))/0x5+parseInt(u(0x42b,0x431))/0x6*(-parseInt(u(0x43d,0x42d))/0x7)+-parseInt(u(0x42e,0x42f))/0x8+-parseInt(u(0x446,0x449))/0x9+parseInt(u(0x42f,0x423))/0xa*(parseInt(u(0x43c,0x446))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x4f9b0));var __decorate=function(a,b,e,f){function v(a,b){return _enb(b-0xb7,a);}var g=arguments[v(0x1b8,0x1c9)],h=g<0x3?b:f===null?f=Object[v(0x1cd,0x1d4)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[v(0x1ca,0x1c5)]==='function')h=Reflect[v(0x1d6,0x1c5)](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[v(0x1ec,0x1e0)](b,e,h),h;};function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x10c;let f=c[d];return f;};return _enb(a,b);}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';function _ena(){const z=['concat','maxCriticalPathsCount','5449356abnJst','critical','643760oMEdcP','push','decorate','1455nJipKR','shift','1981218TRSuZz','length','892GwTxRQ','1578616LNwwVY','2440TxrtBL','75JVPnpg','getTime','active','reverse','endDate','getEventCriticalPredecessors','3834iLvwSf','getOwnPropertyDescriptor','prototype','inactive','fromEvent','number','60225isFXiv','7KxVqRA','event','childEvents','get','calculateCriticalPaths','incomingDeps','defineProperty'];_ena=function(){return z;};return _ena();}import{model_field}from'../../../chrono/ModelFieldAtom.js';import{HasChildrenMixin}from'../scheduler_basic/HasChildrenMixin.js';class HasCriticalPathsMixin extends Mixin([HasChildrenMixin],a=>{class b extends a{*['getEventCriticalPredecessors'](c,d){if(d['has'](c))return d[w(-0x216,-0x222)](c);const e=[];const f=yield c['$'][w(-0x214,-0x224)];const {parent:g}=c;for(const h of f){const i=yield h['$'][w(-0x21c,-0x22a)];if(i&&(yield h['$'][w(-0x224,-0x219)])&&!(yield i['$']['inactive'])&&(yield i['$'][w(-0x20f,-0x208)])){e[w(-0x22f,-0x232)]({'event':i,'dependency':h});}}if(g){e[w(-0x22f,-0x220)](...yield*this['getEventCriticalPredecessors'](g,d));}function w(a,b){return _enb(a- -0x33c,b);}d['set'](c,e);return e;}*[x(0x2e8,0x2ed)](){const c=[],d=[],e=yield this['$'][y(-0x27b,-0x270)],f=[...e],g=yield this['$'][y(-0x289,-0x27b)],h=yield this['$'][y(-0x274,-0x26a)];let j;while(j=f[y(-0x279,-0x285)]()){const m=yield j['$']['childEvents'],n=yield j['$'][y(-0x270,-0x268)],o=!(yield j['$'][y(-0x283,-0x276)]),p=yield j['$'][y(-0x276,-0x27b)];if(o&&p&&p[y(-0x27b,-0x27e)]()-g[y(-0x28b,-0x27e)]()===0x0&&n){d[y(-0x28a,-0x288)]([{'event':j}]);}f[y(-0x288,-0x288)](...m);}let k;const l=new Map();while(k=d[y(-0x28a,-0x285)]()){let q=k[y(-0x277,-0x283)]-0x1,r;while(r=k[q]){const s=l['has'](r[y(-0x265,-0x271)])?l[y(-0x267,-0x26f)](r[y(-0x260,-0x271)]):yield*this[y(-0x286,-0x27a)](r[y(-0x27b,-0x271)],l);if(s[y(-0x289,-0x283)]){for(let t=0x1;t<s[y(-0x275,-0x283)];t++){d['push'](k[y(-0x268,-0x26b)](s[t]));}k['push'](s[0x0]);q++;}else{q=-0x1;}}c['push'](k[y(-0x27b,-0x27c)]());if(c[y(-0x280,-0x283)]===h)break;}function y(a,b){return x(a,b- -0x55b);}return c;}}function x(a,b){return _enb(b-0x1c6,a);}__decorate([field({'lazy':!![]})],b[x(0x2f5,0x2e4)],'criticalPaths',void 0x0);__decorate([model_field({'type':x(0x2ea,0x2e7),'persist':![],'defaultValue':0x2710})],b[x(0x2e9,0x2e4)],x(0x2e6,0x2f1),void 0x0);__decorate([calculate('criticalPaths')],b[x(0x2f2,0x2e4)],x(0x2e8,0x2ed),null);return b;}){}export{HasCriticalPathsMixin};
1
+ (function(a,b){function u(a,b){return _enb(a-0x1d1,b);}const c=a();while(!![]){try{const d=-parseInt(u(0x264,0x26e))/0x1+-parseInt(u(0x266,0x25d))/0x2*(parseInt(u(0x25f,0x25a))/0x3)+parseInt(u(0x246,0x259))/0x4*(parseInt(u(0x254,0x265))/0x5)+parseInt(u(0x256,0x257))/0x6*(-parseInt(u(0x251,0x24b))/0x7)+parseInt(u(0x25d,0x26c))/0x8*(parseInt(u(0x259,0x24c))/0x9)+parseInt(u(0x26a,0x274))/0xa+-parseInt(u(0x25a,0x24b))/0xb*(-parseInt(u(0x268,0x26b))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x750d1));var __decorate=function(a,b,e,f){var g=arguments[v(-0x146,-0x152)],h=g<0x3?b:f===null?f=Object[v(-0x15a,-0x15b)](b,e):f,j;function v(a,b){return _enb(b- -0x1d8,a);}if(typeof Reflect===v(-0x148,-0x144)&&typeof Reflect[v(-0x155,-0x162)]===v(-0x160,-0x15d))h=Reflect[v(-0x158,-0x162)](a,b,e,f);else for(var k=a[v(-0x149,-0x152)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[v(-0x137,-0x149)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x75;let f=c[d];return f;};return _enb(a,b);}function _ena(){const z=['length','push','908316kGpiqz','11uoFRyc','reverse','set','32ZNccxO','prototype','485175qCsjDz','defineProperty','getEventCriticalPredecessors','critical','childEvents','953568kmgqPh','object','4BipvNj','maxCriticalPathsCount','12751716HYLCSa','getTime','506340UJLUbT','52eCBTdD','decorate','inactive','criticalPaths','get','calculateCriticalPaths','function','event','getOwnPropertyDescriptor','number','endDate','91DHCKRj','concat','fromEvent','133505bLDwwT','has','49674OBYIya'];_ena=function(){return z;};return _ena();}import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{model_field}from'../../../chrono/ModelFieldAtom.js';import{HasChildrenMixin}from'../scheduler_basic/HasChildrenMixin.js';class HasCriticalPathsMixin extends Mixin([HasChildrenMixin],a=>{class b extends a{*[w(0xef,0xdf)](c,d){function x(a,b){return w(a,b- -0x3fb);}if(d[x(-0x329,-0x328)](c))return d[x(-0x343,-0x333)](c);const e=[];const f=yield c['$']['incomingDeps'];const {parent:g}=c;for(const h of f){const i=yield h['$'][x(-0x31f,-0x32a)];if(i&&(yield h['$']['active'])&&!(yield i['$'][x(-0x33c,-0x335)])&&(yield i['$'][x(-0x329,-0x31b)])){e[x(-0x325,-0x325)]({'event':i,'dependency':h});}}if(g){e[x(-0x317,-0x325)](...yield*this[x(-0x31c,-0x31c)](g,d));}d[x(-0x311,-0x321)](c,e);return e;}*[w(0xd0,0xc9)](){const c=[],d=[],e=yield this['$'][y(0x7e,0x7d)],f=[...e],g=yield this['$'][y(0x73,0x6a)],h=yield this['$'][y(0x7e,0x81)];let j;while(j=f['shift']()){const m=yield j['$'][y(0x6b,0x7d)],n=yield j['$'][y(0x79,0x7c)],o=!(yield j['$'][y(0x62,0x62)]),p=yield j['$'][y(0x7b,0x6a)];if(o&&p&&p[y(0x8e,0x83)]()-g[y(0x82,0x83)]()===0x0&&n){d[y(0x84,0x72)]([{'event':j}]);}f[y(0x63,0x72)](...m);}function y(a,b){return w(a,b- -0x64);}let k;const l=new Map();while(k=d['shift']()){let q=k[y(0x79,0x71)]-0x1,r;while(r=k[q]){const s=l[y(0x71,0x6f)](r[y(0x5b,0x67)])?l['get'](r['event']):yield*this[y(0x69,0x7b)](r[y(0x71,0x67)],l);if(s['length']){for(let t=0x1;t<s['length'];t++){d['push'](k[y(0x74,0x6c)](s[t]));}k[y(0x80,0x72)](s[0x0]);q++;}else{q=-0x1;}}c[y(0x64,0x72)](k[y(0x74,0x75)]());if(c[y(0x7d,0x71)]===h)break;}return c;}}__decorate([field({'lazy':!![],'cacheValue':!![]})],b[w(0xce,0xdc)],w(0xbe,0xc7),void 0x0);__decorate([model_field({'type':w(0xd5,0xcd),'persist':![],'defaultValue':0x2710})],b['prototype'],'maxCriticalPathsCount',void 0x0);__decorate([calculate(w(0xcb,0xc7))],b['prototype'],'calculateCriticalPaths',null);function w(a,b){return _enb(b-0x4f,a);}return b;}){}export{HasCriticalPathsMixin};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function o(a,b){return _enb(b- -0x84,a);}while(!![]){try{const d=-parseInt(o(-0x23,0x1d))/0x1*(parseInt(o(0x144,0x104))/0x2)+-parseInt(o(0x91,0x53))/0x3+-parseInt(o(0x186,0x109))/0x4*(-parseInt(o(0xa4,0x56))/0x5)+-parseInt(o(0x127,0x10a))/0x6+parseInt(o(0x4a,0x68))/0x7*(parseInt(o(-0x35,0x41))/0x8)+parseInt(o(0x60,0x38))/0x9+parseInt(o(0xc5,0xdc))/0xa*(parseInt(o(-0x49,0x2d))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2cd92));var __decorate=function(a,b,e,f){var g=arguments[p(0x34e,0x348)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===p(0x34b,0x30d)&&typeof Reflect[p(0x2e9,0x2a3)]==='function')h=Reflect[p(0x2e9,0x2d2)](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function p(a,b){return _enb(a-0x1f7,b);}return g>0x3&&h&&Object[p(0x2e5,0x285)](b,e,h),h;};import{MixinAny}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Schema}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Schema.js';import{delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import _end from'@bryntum/core-thin/lib/data/Store.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x9f;let f=c[d];return f;};return _enb(a,b);}import _ene from'@bryntum/core-thin/lib/helper/IdHelper.js';function _ena(){const av=['delayedCalculationPromise','acceptChanges','loadInlineData','calendarsData','removeRejectedRecordsAdd','construct','direction','repopulateOnDataset','unlinkStoreRecords','enable','defaultCalendar','onSTMRestoringStop','disable','startTransaction','prototype','unScheduleAutoCommit','children','redo','joinRecordsToProject','repopulateReplica','subEventsIterable','push','keys','replica','addEntities','setProject','project','hasStore','getDefaultResourceModelClass','isDestroyed','storePopulation','usingSyncDataOnLoad','setDependencyStore','skipNonWorkingTimeWhenSchedulingManually','getDefaultDependencyModelClass','commitAsync','autoRecord','trigger','isPending','totalCount','%cInitializing\x20project','repopulateStore','appendChild','assignmentStoreClass','dirty','calendar','includeEvent','delayable','await','addIndex','log','has','stopTransaction','rootNode','rejectedWith','dataStores','addEntity','from','isChainedFromProject','resources','resetStmQueue','hasDataInStores','addStore','_stmRestoringInProgress','undo','getGraph','resourceModelClass','_stmAutoRecord','onCommitInitialization','removeIndex','_enableProgressNotifications','remove','eventModelClass','dependencies','hasPendingAutoCommit','queue','destroy','writeFailedResolutionInfo','getDefaultCalendarManagerStoreClass','resumeChangeTracking','tasks','onPropagationProgressNotification','dependencyStoreChange','object','disabled','deferUntilRepopulationIfNeeded','length','Forward','suspendChangeTracking','storage','_stmDisabled','enableProgressNotifications','resourceStoreClass','stateRestoringDone','Populating\x20project','191970mOztZL','reject','excludeEvent','query','syncDataOnLoad','event','delayEnteringReplica','applyConfigs','suspendFilterOnUpdate','calendarManagerStore','forEachStore','getDefaultCalendarModelClass','setCalendarManagerStore','dependencyStore','calculateProject','removeStore','setStm','eventStoreChange','now','setAssignmentStore','addEvent','delete','removeEvent','hasSubEvents','Default','getEventStore','detachListeners','generateId','getReplicaConfig','eventStoreClass','stmClass','isCommitting','events','boolean','assign','clear','timeEnd','isRepopulatingStores','then','get','482rdJsVm','commitLoad','version','data','entries','4380wHSfic','998178ElaFhB','baseRevision','delayCalculation','onCommitRejection','call','assignments','activeTransaction','resumeFilterOnUpdate','isLoadingInlineData','revisionsEnabled','_isCommittingAfterStmRestore','dependencyModelClass','forEach','handleSTMRestoringStop','repopulateStores','ion','stm','beginBatch','time','isDelayingCalculation','previous','tasksData','getDefaultAssignmentModelClass','847ZohXom','values','unspecifiedTimeIsWorking','calendarManagerStoreChange','string','isRestoringData','cycleEffectClass','transaction','graph','hasChangesInStores','resourceStore','isWritingPreviousData','eventsData','removeEvents','set','resetUndoRedoQueuesAfterLoad','77SZRDLu','doDestroy','load','failedResolutionReferences','getDefaultEventModelClass','unjoinRecordsFromProject','dependencyStoreClass','new','scheduleDelayedCalculation','getDefaultAssignmentStoreClass','getType','2249775BTdGVQ','recordsUnlinked','defaultConfig','invalidateIndices','assignmentStore','warn','ProjectModelQueue','invalidateTemporaryIndices','hasChanges','47912msDqzL','isRepopulating','getById','setEventStore','unlink','eventStore','getCalendarConsumers','refresh','onSTMRestoringStart','sort','assignmentModelClass','removeTemporaryIndices','isRecording','assignmentStoreChange','ignoreInitialCommitComputationCycles','getDefaultCycleEffectClass','applyProjectResponse','ignore','698643hDijun','DEBUG','storeClass','745INBDjy','rejectTransaction','isEngineReady','resource','calendarModelClass','traverse','onCommitFinalization','enterReplica','initializeStm','getDefaultResourceStoreClass','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','some','assignmentsData','detachStore','tree','setupTemporaryIndices','internalDelayCalculation','createReplica','280iCqwLx','removalOrder','defineProperty','CurrentOrProposedOrPrevious','calendars','add','decorate','calendarManagerStoreClass','resourcesData','getDefaultDependencyStoreClass','_queue','setResourceStore','unlinkCalendarConsumers','attachStore','rejectStmTransaction','isShadow','tryPropagateWithChangesQueued','getStm','dependenciesData','assignmentsForRemoval','isInitialCommitPerformed'];_ena=function(){return av;};return _ena();}import _enf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import{IsChronoModelSymbol,model_field,ModelBucketField}from'../../../chrono/ModelFieldAtom.js';import{CycleEffect,EngineReplica}from'../../../chrono/Replica.js';import{DurationConverterMixin}from'../../../scheduling/DurationConverterMixin.js';import{Direction,ProjectType}from'../../../scheduling/Types.js';import _eng from'../../../util/Queue.js';import{ChronoAssignmentStoreMixin}from'../../store/ChronoAssignmentStoreMixin.js';import{ChronoCalendarManagerStoreMixin}from'../../store/ChronoCalendarManagerStoreMixin.js';import{ChronoDependencyStoreMixin}from'../../store/ChronoDependencyStoreMixin.js';import{ChronoEventStoreMixin}from'../../store/ChronoEventStoreMixin.js';import{ChronoResourceStoreMixin}from'../../store/ChronoResourceStoreMixin.js';import{BaseAssignmentMixin}from'./BaseAssignmentMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';import{BaseDependencyMixin}from'./BaseDependencyMixin.js';import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseResourceMixin}from'./BaseResourceMixin.js';import{ChronoAbstractProjectMixin}from'./ChronoAbstractProjectMixin.js';import{CanCombineCalendarsMixin,HasCalendarMixin}from'./HasCalendarMixin.js';import{SchedulerBasicEvent}from'./SchedulerBasicEvent.js';import{HasChildrenMixin}from'./HasChildrenMixin.js';class SchedulerBasicProjectMixin extends MixinAny([ChronoAbstractProjectMixin,BaseEventMixin,HasChildrenMixin,HasCalendarMixin,DurationConverterMixin,CanCombineCalendarsMixin],a=>{const b=a[q(-0xce,-0x6a)];class c extends a{[q(-0xd7,-0xf6)](d={}){d[r(-0x1ee,-0x183)]=d[r(-0x1ee,-0x214)]!==![];d[r(-0x222,-0x1d8)]=d[r(-0x222,-0x284)]||d[r(-0x1ee,-0x1c1)]!==![];this['_queue']=new _eng(_ene[r(-0x203,-0x194)](r(-0x2bc,-0x32e)));if(!('expanded'in d)){d['expanded']=!![];}if(d['delayCalculation']){this[r(-0x218,-0x243)]=!![];}if(!(r(-0x25c,-0x1de)in d)){d[r(-0x25c,-0x284)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d['events'];delete d['dependencies'];delete d['resources'];delete d[r(-0x1eb,-0x20b)];delete d[r(-0x28e,-0x2b6)];b[r(-0x278,-0x29c)][r(-0x1ec,-0x231)](this,d);this[r(-0x1e2,-0x23b)]=new Set();this[r(-0x2ab,-0x2bb)]=r(-0x2ab,-0x317)in d?d[r(-0x2ab,-0x27c)]:![];if(this[r(-0x2ab,-0x263)]){console[r(-0x2bd,-0x319)](r(-0x29a,-0x29c));}if(!this[r(-0x235,-0x284)])this[r(-0x235,-0x1b8)]=this[r(-0x2c9,-0x28b)]();if(!this[r(-0x201,-0x22b)])this[r(-0x201,-0x1dd)]=this['getDefaultEventStoreClass']();if(!this[r(-0x1e5,-0x215)])this[r(-0x1e5,-0x1ba)]=this[r(-0x25b,-0x1e5)]();if(!this[r(-0x2c7,-0x2ea)])this[r(-0x2c7,-0x28d)]=this[r(-0x289,-0x2d1)]();if(!this[r(-0x23b,-0x25c)])this['resourceModelClass']=this[r(-0x261,-0x209)]();function r(a,b){return q(a- -0x1a1,b);}if(!this[r(-0x221,-0x25a)])this['resourceStoreClass']=this[r(-0x29b,-0x257)]();if(!this[r(-0x2af,-0x2fa)])this[r(-0x2af,-0x32c)]=this[r(-0x2de,-0x360)]();if(!this['assignmentStoreClass'])this[r(-0x252,-0x214)]=this[r(-0x2c4,-0x274)]();if(!this[r(-0x2a0,-0x2e1)])this[r(-0x2a0,-0x321)]=this['getDefaultCalendarModelClass']();if(!this[r(-0x28b,-0x2ee)])this['calendarManagerStoreClass']=this[r(-0x22f,-0x26b)]();if(!this[r(-0x2d7,-0x2e1)])this[r(-0x2d7,-0x33d)]=this[r(-0x2aa,-0x258)]();this['initializeStm']();this[r(-0x273,-0x256)]=new this['calendarModelClass']({'name':r(-0x206,-0x1ed),'unspecifiedTimeIsWorking':this[r(-0x2db,-0x32d)]});this[r(-0x273,-0x29f)][r(-0x263,-0x1fe)]=this;if(!this['delayEnteringReplica'])this[r(-0x29d,-0x299)](![]);this[r(-0x212,-0x273)](this[r(-0x215,-0x25c)]);this[r(-0x2b6,-0x32b)](this[r(-0x2b4,-0x240)]);this[r(-0x25d,-0x1eb)](this['dependencyStore']);this['setResourceStore'](this['resourceStore']);this[r(-0x20b,-0x26e)](this[r(-0x2be,-0x302)]);const j=Boolean(this[r(-0x27a,-0x29a)]||this[r(-0x2d1,-0x2b4)]||this[r(-0x280,-0x299)]||this[r(-0x28a,-0x226)]||this[r(-0x298,-0x224)]||i||e||f||g||h);if(j){this[r(-0x27b,-0x2de)]({'calendarsData':this[r(-0x27a,-0x23b)],'eventsData':this[r(-0x2d1,-0x31d)],'dependenciesData':this[r(-0x280,-0x2ad)],'resourcesData':this[r(-0x28a,-0x2fa)],'assignmentsData':this[r(-0x298,-0x21a)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(-0x27a,-0x2ea)];delete this[r(-0x2d1,-0x309)];delete this[r(-0x280,-0x241)];delete this[r(-0x28a,-0x2ea)];delete this[r(-0x298,-0x218)];}else{if(this[r(-0x1ee,-0x1f1)]&&this[r(-0x240,-0x26c)])this['scheduleDelayedCalculation']();}}get[q(-0xa5,-0x46)](){function s(a,b){return q(b-0x49,a);}return[this[s(-0x51,-0x2b)],this[s(-0xbc,-0xe9)],this['eventStore'],this[s(0x28,-0x27)],this['assignmentStore']];}get[q(-0x9f,-0x3a)](){function t(a,b){return q(a- -0x7d,b);}return this[t(-0x122,-0xfe)][t(-0x175,-0x1c3)](d=>d[t(-0x132,-0x19d)]>0x0);}get[q(-0x133,-0xda)](){function u(a,b){return q(a-0xdc,b);}return this[u(0x37,-0x3b)]['some'](d=>d[u(-0x3d,-0x87)]);}['enterReplica'](d){const e=this;if(!e[v(-0x1fe,-0x22b)]){e['replica']=e[v(-0x25e,-0x258)]();e[v(-0x25d,-0x22b)]['addEntity'](e);e[v(-0x1e1,-0x22b)][v(-0x277,-0x20a)](e[v(-0x25f,-0x238)]);e[v(-0x23b,-0x21d)]('graphReady');}function v(a,b){return q(b- -0x166,a);}if(d&&!e[v(-0x1d1,-0x1be)]){e[v(-0x1fd,-0x20b)]['forEach'](f=>{if(f[w(0xbe,0xdc)]){return;}function w(a,b){return v(a,b-0x2e4);}f[w(0x111,0x13b)](g=>{function x(a,b){return w(a,b-0x90);}!g[x(0x14f,0xda)]&&g['joinProject']();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(-0xa0,-0x61)](){function y(a,b){return q(a-0x65,b);}const d=this['stm'][y(-0x23,-0x7c)];this[y(0x26,0x31)][y(-0x6b,-0x4d)]();this[y(0x26,0x16)]['resetQueue']();if(!d){this[y(0x26,0x91)]['enable']();}}[q(-0x12b,-0xe3)](){function z(a,b){return q(b-0xbf,a);}const d=this;d[z(0x8d,0x1a)][z(0x76,0x7c)](e=>e?.[z(0xa5,0x2f)]());d[z(-0x46,-0x13)]?.[z(-0x19,0x2f)]();d[z(-0x50,-0x6)]?.['clear']();d[z(0xa,0x80)]?.['destroy']();b[z(-0x91,-0x6c)][z(0x96,0x74)](this);}[q(-0x61,-0xde)](){function A(a,b){return q(b-0x1a5,a);}return{'project':this,'schema':Schema[A(0x2a,0x80)](),'enableProgressNotifications':this[A(0x147,0x124)],'silenceInitialCommit':this['silenceInitialCommit'],'preventSilencingOnIssueResolve':this['preventSilencingOnIssueResolve'],'ignoreInitialCommitComputationCycles':this['ignoreInitialCommitComputationCycles'],'cycleEffectClass':this[A(0xeb,0x6f)],'onWriteDuringCommit':A(0xfd,0x9e),'readMode':ReadMode[A(0xe5,0xb7)]};}['createReplica'](){function B(a,b){return q(b-0x48e,a);}return EngineReplica['new'](this[B(0x42b,0x42d)]());}*[q(-0x66,-0x8)](){const d=this[C(0x46,0x97)]();if(d['isChainedFromProject']){return![];}function C(a,b){return q(a-0xaa,b);}return d['count']>0x0;}*[q(-0xc8,-0x14a)](){const d=this[D(0xf2,0x140)]();if(d[D(0xb4,0x61)]){return[];}function D(a,b){return q(a-0x156,b);}return d['getRange']();}[q(-0x122,-0x17d)](){return ProjectType['SchedulerBasic'];}get[q(-0x81,-0x83)](){function E(a,b){return q(b-0xe3,a);}return this[E(0x85,0x4d)];}set['enableProgressNotifications'](d){this['_enableProgressNotifications']=d;function F(a,b){return q(b-0x355,a);}if(this[F(0x2d0,0x290)])this['replica'][F(0x2f6,0x2d4)]=d;}[q(-0x109,-0x125)](){return CycleEffect;}[q(-0x128,-0x117)](){return SchedulerBasicEvent;}['getDefaultEventStoreClass'](){return ChronoEventStoreMixin;}[q(-0xba,-0xef)](){return BaseDependencyMixin;}['getDefaultDependencyStoreClass'](){return ChronoDependencyStoreMixin;}[q(-0xc0,-0x10b)](){return BaseResourceMixin;}[q(-0xfa,-0x16e)](){return ChronoResourceStoreMixin;}['getDefaultAssignmentModelClass'](){return BaseAssignmentMixin;}['getDefaultAssignmentStoreClass'](){return ChronoAssignmentStoreMixin;}[q(-0x72,-0xc5)](){return BaseCalendarMixin;}[q(-0x8e,-0xf4)](){return ChronoCalendarManagerStoreMixin;}[q(-0xbd,-0x107)](){function G(a,b){return q(a-0x3dc,b);}return[this[G(0x2c9,0x315)],this[G(0x2aa,0x2b3)],this[G(0x36c,0x373)],this['assignmentStore']][G(0x2e4,0x298)](d=>d['syncDataOnLoad']);}async[q(-0xda,-0x12a)](d){const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this['dataPropertyDeprecation']?.(d||{});if(!this[H(0x1e3,0x166)]){j?.[H(0x12d,0x176)]();}else{while(j?.[H(0x20f,0x1e5)]){await this[H(0x1a6,0x18a)]();}}if(j?.['enableProgressNotifications']&&!this[H(0x25e,0x1f6)]){await delay(0x0);await this['commitAsync']();j[H(0x1f1,0x1b8)]({'total':0x0,'remaining':0x0,'phase':H(0x184,0x185)});await delay(0x32);}this[H(0x199,0x166)]=![];this['isLoadingInlineData']=!![];if(globalThis[H(0xc7,0x13e)]){console[H(0x1d1,0x199)](H(0x116,0x18f),'font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em');console[H(0x18e,0x206)]('Time\x20to\x20visible');console['time'](H(0x20f,0x1c5));}if(this[H(0x273,0x1f6)]&&!this[H(0x177,0x167)]&&!this['usingSyncDataOnLoad']()){this[H(0x18e,0x11f)]();}if(d[H(0x1d2,0x156)]||d[H(0x118,0x16a)]){this[H(0x129,0x190)](e);e[H(0x205,0x1f1)]=d[H(0x1d1,0x156)]||d['calendarsData'];}if(d[H(0x1d3,0x1e6)]||d[H(0x212,0x1b7)]||d[H(0xb1,0x113)]||d[H(0xc4,0x105)]){this[H(0x157,0x190)](f);f[H(0x20c,0x1f1)]=d['events']||d[H(0x173,0x1b7)]||d[H(0x138,0x113)]||d[H(0xae,0x105)];}if(d[H(0x1b0,0x1b0)]||d[H(0xef,0x164)]){this[H(0x1ab,0x190)](g);g['data']=d[H(0x218,0x1b0)]||d[H(0x120,0x164)];}if(d[H(0x1c0,0x1a2)]||d[H(0x134,0x15a)]){this[H(0x123,0x190)](i);i['data']=d['resources']||d['resourcesData'];}if(d[H(0x1ac,0x1f9)]||d[H(0x193,0x14c)]){this[H(0x13c,0x190)](h);h[H(0x195,0x1f1)]=d[H(0x1e2,0x1f9)]||d[H(0x15b,0x14c)];}if(d[H(0x115,0x181)]){if(this[H(0x21b,0x1cc)]&&this[H(0x168,0x1a4)]){this[H(0x281,0x203)]({'recordsUnlinked':()=>{function I(a,b){return H(a,b- -0x1ae);}this[I(-0x70,0x11)]();this['applyProjectResponse'](d[I(0x3c,-0x2d)]);this[I(0x36,0x8)]();},'once':!![]});}else{this[H(0xfa,0x13b)](d[H(0x14f,0x181)]);}}if(globalThis['DEBUG'])console[H(0x253,0x1ea)](H(0x1b8,0x1c5));const k=await this[H(0x222,0x1ef)]();function H(a,b){return q(b-0x243,a);}this[H(0x195,0x1fc)]=![];return k;}[q(-0xf4,-0x135)](){const {storage:d}=this['assignmentStore']||{};function J(a,b){return q(b-0x300,a);}if(d){d[J(0x206,0x255)]({'property':J(0x275,0x288),'unique':![]});d['addIndex']({'property':J(0x235,0x200),'unique':![]});}}[q(-0x11a,-0xb2)](){function K(a,b){return q(b-0x135,a);}this[K(0x5d,0x18)]?.[K(0x113,0xb2)]?.[K(-0x4b,0x17)]();}[q(-0x10d,-0x179)](){const {storage:d}=this[L(-0x4f,-0xb4)];function L(a,b){return q(b-0x69,a);}d[L(-0x53,-0x2e)](L(0x4a,-0xf));d['removeIndex'](L(-0x5d,-0x97));}async[q(-0xf3,-0xd9)](d){function M(a,b){return q(a-0x3f5,b);}const e=this;e[M(0x37e,0x3a2)]=!![];e[M(0x301,0x2b8)]();await delay(0x0);if(e[M(0x336,0x3b8)]){d();return;}e[M(0x33e,0x2e8)]('delayCalculationStart');e[M(0x33e,0x390)](M(0x2e4,0x28a),{'isCalculated':![]});await delay(0x0);if(e[M(0x336,0x362)]){d();return;}e[M(0x37e,0x394)]=![];e[M(0x350,0x388)][M(0x3b2,0x370)](g=>g[M(0x380,0x3ba)]());if(e['isRepopulatingStores']){e[M(0x32c,0x324)][M(0x38a,0x3d8)]();}else{e[M(0x33e,0x30b)](M(0x2d5,0x32e));e[M(0x2f9,0x341)](!![]);}const f=await e[M(0x330,0x2e6)][M(0x33c,0x308)]();if(e[M(0x336,0x2f1)]){d();return;}e[M(0x350,0x377)][M(0x3b2,0x417)](g=>g[M(0x3ad,0x3e4)]());d(f);e[M(0x319,0x33d)]=null;e[M(0x33e,0x2c1)]('delayCalculationEnd');e[M(0x2e8,0x352)]();}[q(-0x124,-0x151)](){if(this[N(-0x119,-0x14c)]){return this[N(-0x119,-0xb8)];}function N(a,b){return q(a- -0x3d,b);}if(this[N(-0x8a,-0x101)]!==![]){return this[N(-0x119,-0x13a)]=new Promise(d=>this['internalDelayCalculation'](d)[N(-0x94,-0x5b)]());}}async[q(-0x54,0x2b)](){function O(a,b){return q(a-0x257,b);}const d=await this[O(0x19e,0x1df)]();if(!this[O(0x198,0x1d4)])this['trigger'](O(0x12d,0x121));return d;}[q(-0xfb,-0x115)](){const d=this[P(0x34a,0x33a)]||_enc;if(!(this['stm']instanceof _enc))this[P(0x3a6,0x35a)]=d[P(0x274,0x274)]({'disabled':!![]},this['stm']);function P(a,b){return q(b-0x399,a);}this['setStm'](this[P(0x37f,0x35a)]);if(this[P(0x1f0,0x26c)]){this[P(0x2e5,0x359)]({'load':this[P(0x2d3,0x2f9)],'thisObj':this});}this[P(0x3a8,0x359)]({'beforeCommit':this['onCommitInitialization'],'commitFinalized':this['onCommitFinalization'],'commitRejected':this['onCommitRejection'],'thisObj':this});}['removeRejectedRecordsAdd']({transactionResult:d,silenceCommit:e}){const f=new Map();for(const h of d[Q(0x4eb,0x4c2)][Q(0x401,0x3f8)]()){const i=h['identifier'];const {field:j}=i;if(h[Q(0x45a,0x45e)]()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i['self'];const l=k['firstStore'];if(l&&!h[Q(0x501,0x579)]&&!d[Q(0x407,0x3b5)]['getLatestStableEntryFor'](k['$$'])?.[Q(0x501,0x522)]){if(!f['has'](l)){f[Q(0x40e,0x3be)](l,new Set([k]));}else if(!f[Q(0x4e6,0x55f)](l)[Q(0x493,0x422)](k)){f[Q(0x4e6,0x564)](l)[Q(0x450,0x400)](k);}}}this[Q(0x4b8,0x4b5)]?.();function Q(a,b){return q(a-0x53c,b);}const g=Array[Q(0x499,0x4d2)](f[Q(0x476,0x4e7)]())[Q(0x42d,0x402)]((m,n)=>m[Q(0x44c,0x464)]-n[Q(0x44c,0x438)]);g[Q(0x4f9,0x4f9)](m=>m[Q(0x4a7,0x4e9)](f['get'](m)));this[Q(0x4af,0x48f)]?.(e);if(e){this[Q(0x497,0x4c1)][Q(0x4f9,0x4db)](m=>m[Q(0x461,0x41e)]());}}[q(-0x4c,0x2c)](d){function R(a,b){return q(a-0x431,b);}if(this[R(0x3af,0x412)]){this[R(0x36c,0x3d6)][R(0x300,0x348)]++;this[R(0x2fa,0x31c)]=!![];this[R(0x359,0x338)](d);this['isRestoringData']=![];this['replica']['isWritingPreviousData']--;}else{this[R(0x34e,0x39d)]();}}[q(-0x98,-0x59)](){function S(a,b){return q(b-0x296,a);}const {stm:d}=this;this['_stmDisabled']=d[S(0x1ef,0x20e)];if(d[S(0x15b,0x18a)]&&d['autoRecord']){this[S(0x191,0x1fd)]=!![];d[S(0x213,0x1de)]=![];}}[q(-0xfd,-0xe6)](){function T(a,b){return q(a- -0x84,b);}if(this[T(-0x11d,-0xa5)]){this[T(-0xc3,-0xe8)][T(-0x13c,-0x141)]=!![];this[T(-0x11d,-0x13d)]=![];}}async['undo'](){function U(a,b){return q(b-0x174,a);}await this[U(0x1a6,0x135)][U(0x89,0xd8)]();if(this[U(0xc1,0x12f)]){await this['await'](U(0x100,0xf5),![]);}}async[q(-0xcb,-0xe7)](){function V(a,b){return q(a-0x1ea,b);}await this['stm']['redo']();if(this[V(0x1a5,0x1c9)]){await this[V(0x13e,0xd4)](V(0x16b,0x184),![]);}}[q(-0x110,-0x117)]({source:d}){function W(a,b){return q(a-0x22c,b);}if(this[W(0x167,0x121)])this[W(0x167,0x14b)][W(0xfb,0xdc)]++;}async['handleSTMRestoringStop'](d){if(this[X(0x11c,0x9f)])this[X(0x5d,0x9f)][X(0x28,0x33)]--;this[X(0x80,0xc7)]=!![];d[X(0x114,0x94)]();this[X(0x1a0,0x11f)]=!![];await this[X(0x65,0xab)]();function X(a,b){return q(b-0x164,a);}this[X(0xb8,0x11f)]=![];this[X(0x133,0xc7)]=![];if(!this[X(0xe8,0xa5)]){d[X(0x37,0x91)]();this['trigger'](X(0x154,0xe5));}}async[q(-0xd1,-0x9e)]({source:d}){function Y(a,b){return q(b-0x221,a);}if(d[Y(0x17b,0x1db)]){await this[Y(0x1fb,0x190)](()=>this[Y(0x250,0x1df)](d));}else{await this['handleSTMRestoringStop'](d);}}[q(-0x87,-0x4f)](d,e,f){function Z(a,b){return q(a- -0x7e,b);}if(this[Z(-0xd6,-0xec)]){this[Z(-0xe1,-0xe2)](d);this[Z(-0xbe,-0x116)]({'name':d,'repopulateReplica':{'fn':async()=>{function a0(a,b){return Z(b- -0x123,a);}await this[a0(-0x1e8,-0x25a)]();if(!this['isDestroyed']){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(-0x58,-0xb2)](){function a1(a,b){return q(a- -0xa1,b);}return this[a1(-0x1b8,-0x194)]||Boolean(this[a1(-0xe2,-0x7d)]?.['size']);}[q(-0xb3,-0x52)](d){const e=this;function a2(a,b){return q(a-0xd0,b);}if(e[a2(-0x5,-0x1a)]&&d[a2(0x1b,-0x1b)]&&!d[a2(0x57,0xe)]){e[a2(0xb,-0x65)]?.[a2(0x87,0x77)]['stop']();if(!e[a2(0x8f,0xee)])e[a2(0x8f,0xfd)]=new Set();e[a2(0x8f,0xb1)][a2(-0x1c,0x1b)](d);e['repopulateReplica']();}}['repopulateReplica'](){const d=this;if(d[a3(0xbd,0x109)]){return;}const {replica:e,calendarManagerStore:f}=d;if(e){d[a3(0x24,0x6c)](e,!![]);}d[a3(0xf6,0xc9)](a3(-0x4,0x60));e?.[a3(0xfa,0x126)]();const g=d['replica']=d[a3(0x2c,0x8e)]();g[a3(0x76,0xbc)]([d,d[a3(0x78,0xae)]]);const h=new Map();for(const i of d['dataStores']){h['set'](i,i[a3(0xde,0xb6)](d,!![]));}if(h[a3(0x10c,0x12a)](f)<f['totalCount']){d[a3(0x110,0x10c)][a3(0x80,0xb6)](d,!![]);}if(e){g['activeTransaction'][a3(0x150,0xf1)](e[a3(0x14a,0x132)][a3(0xb7,0x57)]);}d['repopulateStores'][a3(0x171,0x126)]();function a3(a,b){return q(b-0x180,a);}d['trigger']('repopulateReplica');}['beforeCommitAsync'](){function a4(a,b){return q(b-0x4af,a);}if(this[a4(0x3e0,0x3e6)][a4(0x471,0x3f9)]&&!this[a4(0x463,0x473)]){this[a4(0x425,0x3e6)][a4(0x4c4,0x444)]();return this[a4(0x3d6,0x3ea)][a4(0x3e7,0x3f6)]();}return null;}[q(-0x114,-0xd4)](d,e=![]){if(e){this[a5(-0xad,-0x97)](d);}function a5(a,b){return q(b-0x3d,a);}this['defaultCalendar'][a5(-0x78,-0xd7)](d);super[a5(-0x60,-0xd7)](d);this['replica']=null;}[q(-0xd4,-0x138)](d,e){d=d||this[a6(0xc1,0xdc)];function a6(a,b){return q(b-0x210,a);}e=e||this[a6(0x13a,0x16b)];e[a6(0x246,0x1cd)](f=>{if(f[a7(0xbe,0x66)]){return;}function a7(a,b){return a6(b,a- -0xb0);}if(!this[a7(0x11f,0xdf)][a7(0xb7,0xd9)](f)||f[a7(0xe7,0x159)]){f[a7(0x62,0xf)](g=>{g['unlink'](d);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(-0x9b,-0xac)](){function a8(a,b){return q(a-0x3bb,b);}return this[a8(0x2f6,0x353)];}async['addEvents'](d){this['eventStore']['add'](d);function a9(a,b){return q(a-0x5b,b);}return this[a9(-0x5e,-0x36)]();}async[q(-0x69,-0xa0)](d){this[aa(0xd,0x2e)]['add'](d);function aa(a,b){return q(b-0x141,a);}return this[aa(0xcd,0x88)]();}[q(-0xae,-0x43)](d){function ab(a,b){return q(a-0x365,b);}this['eventStore'][ab(0x279,0x2b1)](d);}async[q(-0x12f,-0xc0)](d){this[ac(-0x5d,-0xc0)]['remove'](d);function ac(a,b){return q(a-0xb6,b);}return this[ac(-0x3,-0x48)]();}[q(-0x7b,-0x5f)](d){function ad(a,b){return q(b-0x134,a);}this['eventStore'][ad(0xbb,0x9f)](d);}async[q(-0x67,-0x10)](d){function ae(a,b){return q(b- -0x8b,a);}this[ae(-0x1ec,-0x19e)][ae(-0x13d,-0x120)](d);return this[ae(-0x115,-0x144)]();}[q(-0xe0,-0x139)](){function af(a,b){return q(b-0x1a1,a);}return this[af(0x1b7,0x162)];}[q(-0x6d,-0xd8)](d){function ag(a,b){return q(a- -0x40,b);}this[ag(-0x7f,-0x2a)]=d;this[ag(-0x7f,-0x4)][ag(-0x80,-0x2a)]({'restoringStart':this['onSTMRestoringStart'],'restoringStop':this[ag(-0x111,-0x13c)],'thisObj':this});}[q(-0x6f,-0x2b)](){return this;}*['calculateEffectiveDataOrVisualCalendar'](d){function ah(a,b){return q(b-0xf9,a);}let e=yield this['$'][ah(-0xd,0x4a)];if(e){yield e['$'][ah(0x7b,0xa6)];}else{e=this['defaultCalendar'];}return e;}[q(-0x115,-0xeb)](d){function ai(a,b){return q(b-0x539,a);}const e=this['eventStore'];if(e&&this['stm'][ai(0x4cf,0x478)](e)){this[ai(0x47a,0x4fa)][ai(0x4c9,0x4cb)](e);e['unjoinRecordsFromProject'](this);this[ai(0x458,0x443)](e);const f=e['assignmentsForRemoval'];f[ai(0x539,0x4f6)](g=>{function aj(a,b){return ai(b,a- -0x382);}const h=g[aj(0x13f,0x116)];if(h){const i=d[aj(0xa1,0xf4)](h['id']);if(i){g[aj(0x13f,0x157)]=i;f[aj(0x14f,0x1c1)](g);}}});e['afterEventRemoval']();}if(!d||!(d instanceof _end)){const g=d?.['storeClass']||this[ai(0x4e8,0x4d9)];this[ai(0x469,0x426)]=new g(_enf[ai(0x47a,0x4de)]({'modelClass':this[ai(0x49d,0x4a5)],'project':this,'stm':this[ai(0x559,0x4fa)]},d||{}));}else{this['eventStore']=d;if(d[ai(0x480,0x497)]){d['project']=this;}else{d['setProject'](this);this['stm'][ai(0x4c2,0x49b)](d);if(d[ai(0x3e4,0x444)]&&d[ai(0x4f8,0x492)]!==this){this[ai(0x4e6,0x487)](d['rootNode'][ai(0x491,0x46d)]||[]);d[ai(0x43e,0x492)]=this;}else{d[ai(0x4cf,0x46f)](this);}}}this[ai(0x46e,0x455)](this[ai(0x3f4,0x426)]);this[ai(0x4ff,0x482)](ai(0x4c1,0x4cd),{'store':this[ai(0x3b2,0x426)]});}[q(-0xbc,-0xce)](d){const e=this['dependencyStore'];function ak(a,b){return q(b-0xda,a);}if(e&&this['stm'][ak(-0xa,0x19)](e)){this[ak(0x94,0x9b)]['removeStore'](e);this[ak(0x12,-0x1c)](e);}if(!d||!(d instanceof _end)){const f=d?.[ak(-0x4e,-0x2a)]||this[ak(0x3,-0x4c)];this[ak(0xcd,0x6a)]=new f(_enf['assign']({'modelClass':this[ak(0x2a,0x96)],'project':this,'stm':this[ak(0xf2,0x9b)]},d||{}));}else{this['dependencyStore']=d;if(d[ak(-0x1a,0x38)]){d[ak(0x59,0x18)]=this;}else{d[ak(-0x38,0x17)](this);this['stm'][ak(-0x30,0x3c)](d);d[ak(0x4d,0x10)](this);}}this[ak(0x6f,-0xa)](this[ak(0xc,0x6a)]);this[ak(0x55,0x23)](ak(0xcf,0x50),{'store':this[ak(0x67,0x6a)]});}[q(-0xe6,-0x85)](d){const e=this[al(0x2cd,0x303)];if(e&&this[al(0x3c0,0x3d7)][al(0x33e,0x2c4)](e)){this[al(0x3c0,0x37d)][al(0x391,0x30f)](e);e[al(0x2d8,0x34b)](this);this[al(0x309,0x345)](e);const f=e[al(0x321,0x2ed)];f[al(0x3bc,0x40c)](g=>{function am(a,b){return al(a- -0x3df,b);}const h=g[am(-0xe0,-0x115)];if(h){const i=d[am(-0xf6,-0x171)](h['id']);if(i){g[am(-0xe0,-0x8d)]=i;f[am(-0x48,-0xb4)](g);}}});e['afterResourceRemoval']();}function al(a,b){return q(a-0x3ff,b);}if(!d||!(d instanceof _end)){const g=d?.[al(0x2fb,0x379)]||this['resourceStoreClass'];this['resourceStore']=new g(_enf[al(0x3a4,0x3d9)]({'modelClass':this[al(0x365,0x373)],'project':this,'stm':this[al(0x3c0,0x3c2)]},d||{}));}else{this[al(0x2cd,0x259)]=d;if(d[al(0x35d,0x36c)]){d[al(0x33d,0x35f)]=this;}else{d[al(0x33c,0x3aa)](this);this[al(0x3c0,0x425)][al(0x361,0x33c)](d);d['joinRecordsToProject'](this);}}this['attachStore'](this['resourceStore']);this[al(0x348,0x36e)]('resourceStoreChange',{'store':this[al(0x2cd,0x2d9)]});}['setAssignmentStore'](d){const e=this['assignmentStore'];if(e&&this['stm']['hasStore'](e)){this['stm'][an(-0xd,0x1a)](e);e[an(-0xc6,-0x104)](this);this[an(-0x95,-0xa2)](e);}function an(a,b){return q(a-0x61,b);}if(!d||!(d instanceof _end)){const f=d?.['storeClass']||this[an(-0x50,-0x82)];this[an(-0xbc,-0x123)]=new f(_enf[an(0x6,0x80)]({'modelClass':this['assignmentModelClass'],'project':this,'stm':this['stm']},d||{}));}else{this[an(-0xbc,-0x11c)]=d;if(d[an(-0x41,-0x61)]){d['project']=this;}else{d['setProject'](this);this[an(0x22,-0x13)]['addStore'](d);d['joinRecordsToProject'](this);}}this[an(0x25,-0x22)]&&this[an(-0x93,-0x88)]();this[an(-0x83,-0xb8)](this[an(-0xbc,-0xf3)]);this[an(-0x56,-0x54)](an(-0xaa,-0x72),{'store':this[an(-0xbc,-0x63)]});}['setCalendarManagerStore'](d){const e=this[ao(-0x299,-0x27d)];function ao(a,b){return q(b- -0x209,a);}if(e&&this[ao(-0x2b7,-0x248)][ao(-0x2ee,-0x2ca)](e)){this[ao(-0x292,-0x248)][ao(-0x276,-0x277)](e);this[ao(-0x371,-0x2ff)](e);}if(!d||!(d instanceof _end)){const f=d?.[ao(-0x351,-0x30d)]||this['calendarManagerStoreClass'];this[ao(-0x2f5,-0x27d)]=new f(_enf[ao(-0x2e5,-0x264)]({'modelClass':this[ao(-0x314,-0x308)],'project':this,'stm':this['stm']},d||{}));}else{this['calendarManagerStore']=d;if(d){if(d[ao(-0x2b6,-0x2ab)]){d['project']=this;}else{d['setProject'](this);this[ao(-0x248,-0x248)][ao(-0x318,-0x2a7)](d);d['joinRecordsToProject'](this);}}}this[ao(-0x31e,-0x2ed)](this[ao(-0x2a6,-0x27d)]);this[ao(-0x2c1,-0x2c0)](ao(-0x2ce,-0x342),{'store':this[ao(-0x278,-0x27d)]});}async['isValidDependency'](...d){return!![];}['rejectStmTransaction'](d){d=d||this['stm'];function ap(a,b){return q(b-0x40e,a);}if(d['transaction']){if(d[ap(0x2e8,0x2d9)][ap(0x30d,0x388)]){d[ap(0x41b,0x39b)](e=>e[ap(0x3b5,0x3d0)]());d[ap(0x329,0x30c)]();d[ap(0x39c,0x39b)](e=>e['endBatch']());}else{d['stopTransaction']();}}}async['tryPropagateWithChanges'](d){const f=this[aq(0x3bf,0x35d)],g=f[aq(0x2b3,0x314)],h=f[aq(0x2f1,0x2e4)];if(g){f[aq(0x271,0x2c9)]();}else{if(h){f['autoRecord']=![];}if(f[aq(0x2a8,0x290)]){f[aq(0x320,0x2f4)]();}}f[aq(0x2f5,0x2cd)]();d();let i=!![];try{const j=await this[aq(0x309,0x2e3)]();i=!j[aq(0x295,0x2f6)];}catch(k){if(!/cycle/i['test'](k))throw k;i=![];}if(i){f[aq(0x31d,0x2f4)]();if(g){f['resetQueue']();}}else{this[aq(0x29e,0x2d7)][aq(0x2db,0x320)]();this['rejectStmTransaction'](f);}f['disabled']=g;function aq(a,b){return q(b-0x39c,a);}f[aq(0x278,0x2e4)]=h;return i;}async[q(-0xe1,-0xab)](d){return this['queue'](()=>this['tryPropagateWithChanges'](d));}[q(-0x91,-0x95)](d,e){const f=this;function ar(a,b){return q(b-0x68,a);}return f[ar(-0x1f,-0x7f)][ar(-0x93,-0x29)](async function g(){return d();},e);}[q(-0x101,-0x104)](){const {replica:d}=this;function as(a,b){return q(b-0x4ad,a);}return this[as(0x3dc,0x436)]||!this['isRepopulatingStores']&&(d?!(d[as(0x3c5,0x3fd)]&&(d[as(0x426,0x41b)]()||d[as(0x4c6,0x44f)])):!![]);}[q(-0x112,-0x153)](d){const e=[];function at(a,b){return q(a-0x582,b);}if(this[at(0x4d3,0x4d0)]===d)e[at(0x4bb,0x44c)](this);e[at(0x4bb,0x49f)](...this[at(0x46f,0x47a)][at(0x508,0x54e)](f=>f['calendar']===d,!![]));e[at(0x4bb,0x43a)](...this[at(0x450,0x442)]['query'](f=>f['calendar']===d,!![]));if(d['children']?.['length']){for(const f of d['children']){e['push'](...this[at(0x470,0x453)](f));}}return e;}[q(-0xe5,-0x63)](d){function au(a,b){return q(b-0x13d,a);}const e=this[au(0x5a,0x2b)](d);for(const f of e){f[au(0xf,0x8e)]=null;}}static get[q(-0x11f,-0x13e)](){return{'assignmentsData':null,'calendarsData':null,'dependenciesData':null,'eventsData':null,'resourcesData':null,'eventStore':null,'resourceStore':null,'assignmentStore':null,'dependencyStore':null,'calendarManagerStore':null,'eventModelClass':null,'resourceModelClass':null,'assignmentModelClass':null,'dependencyModelClass':null,'calendarModelClass':null,'repopulateOnDataset':!![]};}static get[q(-0xad,-0xbb)](){return{'repopulateReplica':0xa};}}function q(a,b){return _enb(a- -0x1dd,b);}c[q(-0x76,-0xcf)]=!![];__decorate([model_field({'type':q(-0x5c,-0xb7),'defaultValue':!![]})],c[q(-0xce,-0x5f)],q(-0x13a,-0x141),void 0x0);__decorate([model_field({'type':q(-0x5c,-0x3e),'defaultValue':![]})],c['prototype'],'skipNonWorkingTimeWhenSchedulingManually',void 0x0);__decorate([model_field({'type':'boolean','defaultValue':![]})],c[q(-0xce,-0x5a)],'skipNonWorkingTimeInDurationWhenSchedulingManually',void 0x0);__decorate([model_field({'type':q(-0x138,-0x13a),'defaultValue':Direction[q(-0x85,-0xb4)]},{'sync':!![]})],c[q(-0xce,-0xc2)],q(-0xd6,-0x99),void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
1
+ (function(a,b){const c=a();function o(a,b){return _enb(a- -0x32d,b);}while(!![]){try{const d=parseInt(o(-0xfd,-0x115))/0x1+parseInt(o(-0x100,-0xe1))/0x2*(-parseInt(o(-0xf7,-0x105))/0x3)+-parseInt(o(-0xe7,-0xda))/0x4+-parseInt(o(-0xad,-0x126))/0x5+parseInt(o(-0xb9,-0x5d))/0x6*(parseInt(o(-0x106,-0x11e))/0x7)+-parseInt(o(-0x160,-0x14b))/0x8*(-parseInt(o(-0x161,-0x1d7))/0x9)+parseInt(o(-0x14f,-0xf1))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xca936));var __decorate=function(a,b,e,f){var g=arguments[p(0x27,0x34)],h=g<0x3?b:f===null?f=Object[p(0x0,0x4d)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect['decorate']===p(0x1a,0x7c))h=Reflect[p(-0x6a,-0x19)](a,b,e,f);else for(var k=a[p(0x27,0x60)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function p(a,b){return _enb(a- -0x26f,b);}return g>0x3&&h&&Object[p(-0xbe,-0xe3)](b,e,h),h;};import{MixinAny}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Schema}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Schema.js';import{delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import _end from'@bryntum/core-thin/lib/data/Store.js';import _ene from'@bryntum/core-thin/lib/helper/IdHelper.js';import _enf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import{IsChronoModelSymbol,model_field,ModelBucketField}from'../../../chrono/ModelFieldAtom.js';import{CycleEffect,EngineReplica}from'../../../chrono/Replica.js';import{DurationConverterMixin}from'../../../scheduling/DurationConverterMixin.js';import{Direction,ProjectType}from'../../../scheduling/Types.js';import _eng from'../../../util/Queue.js';import{ChronoAssignmentStoreMixin}from'../../store/ChronoAssignmentStoreMixin.js';import{ChronoCalendarManagerStoreMixin}from'../../store/ChronoCalendarManagerStoreMixin.js';import{ChronoDependencyStoreMixin}from'../../store/ChronoDependencyStoreMixin.js';import{ChronoEventStoreMixin}from'../../store/ChronoEventStoreMixin.js';import{ChronoResourceStoreMixin}from'../../store/ChronoResourceStoreMixin.js';import{BaseAssignmentMixin}from'./BaseAssignmentMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';import{BaseDependencyMixin}from'./BaseDependencyMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1af;let f=c[d];return f;};return _enb(a,b);}import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseResourceMixin}from'./BaseResourceMixin.js';import{ChronoAbstractProjectMixin}from'./ChronoAbstractProjectMixin.js';import{CanCombineCalendarsMixin,HasCalendarMixin}from'./HasCalendarMixin.js';import{SchedulerBasicEvent}from'./SchedulerBasicEvent.js';import{HasChildrenMixin}from'./HasChildrenMixin.js';function _ena(){const aw=['count','getDefaultCalendarModelClass','resources','delete','await','some','_stmAutoRecord','isChainedFromProject','skipNonWorkingTimeWhenSchedulingManually','hasChangesInStores','ignoreInitialCommitComputationCycles','resource','onCommitFinalization','getDefaultEventStoreClass','%cInitializing\x20project','2584168kBxcgr','setEventStore','defaultCalendar','getRange','transaction','rootNode','doDestroy','load','children','SchedulerBasic','reject','query','assign','getReplicaConfig','redo','onSTMRestoringStart','entries','clear','enableProgressNotifications','calendarManagerStoreChange','assignmentsData','tasks','removeStore','log','applyProjectResponse','construct','trigger','remove','subEventsIterable','resourceStore','project','Forward','isRestoringData','expanded','dependencyStore','isWritingPreviousData','ion','addIndex','assignmentModelClass','removeEvent','initializeStm','getOwnPropertyDescriptor','calculateProject','unspecifiedTimeIsWorking','resourcesData','onCommitInitialization','6tjChxc','excludeEvent','silenceInitialCommit','stateRestoringDone','skipNonWorkingTimeInDurationWhenSchedulingManually','_stmRestoringInProgress','autoRecord','deferUntilRepopulationIfNeeded','removeRejectedRecordsAdd','previous','call','assignmentStore','4785285mdIcbM','writeFailedResolutionInfo','isRepopulating','resetQueue','removeTemporaryIndices','cycleEffectClass','warn','event','beforeCommitAsync','function','push','removeIndex','dependencies','unjoinRecordsFromProject','dirty','detachStore','calendarModelClass','disable','getDefaultDependencyStoreClass','dependenciesData','enterReplica','addEvents','length','stm','hasPendingAutoCommit','assignmentStoreChange','forEach','version','unScheduleAutoCommit','font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em','isLoadingInlineData','Populating\x20project','delayable','delayEnteringReplica','eventStoreClass','eventStoreChange','addStore','getDefaultCycleEffectClass','calendarsData','assignmentsForRemoval','size','direction','dependencyStoreClass','data','stmClass','removalOrder','getById','queue','_enableProgressNotifications','eventModelClass','ProjectModelQueue','resetUndoRedoQueuesAfterLoad','_isCommittingAfterStmRestore','beginBatch','joinRecordsToProject','defineProperty','dependencyModelClass','afterEventRemoval','has','resumeFilterOnUpdate','getDefaultResourceStoreClass','enable','get','self','storage','resourceStoreChange','commitAsync','CurrentOrProposedOrPrevious','loadInlineData','delayedCalculationPromise','keys','endBatch','calendarManagerStore','repopulateReplica','repopulateOnDataset','resourceModelClass','failedResolutionReferences','getStm','setProject','setResourceStore','createReplica','_queue','2097xQndzC','1392CgFuKo','getDefaultResourceModelClass','setupTemporaryIndices','onCommitRejection','test','eventStore','new','internalDelayCalculation','resetStmQueue','addEntity','isCommitting','delayCalculation','getGraph','unlinkCalendarConsumers','undo','tasksData','isRepopulatingStores','9526830tJeXsN','graphReady','isRecording','tree','storePopulation','_stmDisabled','boolean','unlink','invalidateTemporaryIndices','time','detachListeners','isShadow','prototype','getDefaultAssignmentModelClass','getDefaultEventModelClass','applyConfigs','usingSyncDataOnLoad','includeEvent','getEventStore','calendars','firstStore','events','forEachStore','values','onPropagationProgressNotification','assignmentStoreClass','getDefaultCalendarManagerStoreClass','DEBUG','isDestroyed','getCalendarConsumers','onSTMRestoringStop','totalCount','repopulateStores','isDelayingCalculation','isInitialCommitPerformed','getDefaultAssignmentStoreClass','getDefaultDependencyModelClass','getLatestStableEntryFor','isPending','decorate','repopulateStore','recordsUnlinked','scheduleDelayedCalculation','setDependencyStore','stop','resourceStoreClass','refresh','dataStores','tryPropagateWithChanges','addEntities','rejectStmTransaction','delayCalculationEnd','stopTransaction','destroy','add','suspendChangeTracking','preventSilencingOnIssueResolve','storeClass','from','setStm','disabled','setAssignmentStore','unlinkStoreRecords','assignments','rejectTransaction','timeEnd','eventsData','attachStore','calendar','replica','isEngineReady','hasDataInStores','isValidDependency','11575669lEaGSc','activeTransaction','graph','resumeChangeTracking','handleSTMRestoringStop','syncDataOnLoad','12174HexSyl','hasStore','calendarManagerStoreClass','1240750xLzRQc','rejectedWith','set','hasSubEvents','joinProject','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','717NCGnJi'];_ena=function(){return aw;};return _ena();}class SchedulerBasicProjectMixin extends MixinAny([ChronoAbstractProjectMixin,BaseEventMixin,HasChildrenMixin,HasCalendarMixin,DurationConverterMixin,CanCombineCalendarsMixin],a=>{const b=a[q(0x2bd,0x264)];class c extends a{[q(0x332,0x2c1)](d={}){d[r(-0x215,-0x1e9)]=d[r(-0x180,-0x1e9)]!==![];d[r(-0x1b9,-0x169)]=d[r(-0x122,-0x169)]||d[r(-0x1fd,-0x1e9)]!==![];this[r(-0x1a6,-0x1f6)]=new _eng(_ene['generateId'](r(-0x138,-0x10f)));if(!(r(-0x1dc,-0x15a)in d)){d['expanded']=!![];}if(d['delayCalculation']){this[r(-0x145,-0x120)]=!![];}if(!(r(-0x1fc,-0x182)in d)){d[r(-0x139,-0x182)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d[r(-0x244,-0x1ce)];delete d[r(-0x133,-0x135)];delete d[r(-0x124,-0x188)];delete d['assignments'];delete d[r(-0x163,-0x1d0)];b[r(-0x154,-0x162)][r(-0x15f,-0x143)](this,d);this[r(-0x165,-0x1c3)]=new Set();this[r(-0x18b,-0x180)]='ignoreInitialCommitComputationCycles'in d?d['ignoreInitialCommitComputationCycles']:![];if(this['ignoreInitialCommitComputationCycles']){console[r(-0x15b,-0x13b)](r(-0x20a,-0x18c));}if(!this[r(-0x9d,-0x110)])this[r(-0x93,-0x110)]=this[r(-0x189,-0x1d5)]();if(!this[r(-0x127,-0x11f)])this[r(-0x133,-0x11f)]=this[r(-0x18e,-0x17d)]();if(!this[r(-0x262,-0x20f)])this[r(-0x235,-0x20f)]=this[r(-0x18f,-0x1bf)]();function r(a,b){return q(b- -0x494,a);}if(!this[r(-0xc4,-0x117)])this[r(-0x17a,-0x117)]=this[r(-0x144,-0x12f)]();if(!this['resourceModelClass'])this[r(-0x1de,-0x1fc)]=this[r(-0x211,-0x1f3)]();if(!this[r(-0x15a,-0x1b6)])this[r(-0x196,-0x1b6)]=this[r(-0x1b9,-0x20b)]();if(!this['assignmentModelClass'])this[r(-0x194,-0x155)]=this['getDefaultAssignmentModelClass']();if(!this[r(-0x216,-0x1ca)])this[r(-0x16a,-0x1ca)]=this[r(-0x1a6,-0x1c0)]();if(!this[r(-0xb1,-0x131)])this['calendarModelClass']=this[r(-0x114,-0x189)]();if(!this[r(-0x12a,-0x192)])this[r(-0x16a,-0x192)]=this[r(-0x209,-0x1c9)]();if(!this[r(-0x11b,-0x13c)])this['cycleEffectClass']=this[r(-0xd3,-0x11c)]();this[r(-0x1b4,-0x153)]();this[r(-0x177,-0x179)]=new this['calendarModelClass']({'name':'Default','unspecifiedTimeIsWorking':this[r(-0x17d,-0x150)]});this[r(-0x12c,-0x179)]['project']=this;if(!this[r(-0x18d,-0x120)])this['enterReplica'](![]);this['setCalendarManagerStore'](this[r(-0x17d,-0x1ff)]);this[r(-0x1c6,-0x17a)](this['eventStore']);this[r(-0x17f,-0x1b8)](this[r(-0x124,-0x159)]);this[r(-0x25f,-0x1f8)](this[r(-0x13b,-0x15e)]);this['setAssignmentStore'](this[r(-0x14d,-0x142)]);const j=Boolean(this[r(-0x100,-0x11b)]||this[r(-0x1ef,-0x1a1)]||this['dependenciesData']||this[r(-0x12f,-0x14f)]||this[r(-0x1a0,-0x167)]||i||e||f||g||h);if(j){this[r(-0x214,-0x203)]({'calendarsData':this[r(-0x11f,-0x11b)],'eventsData':this['eventsData'],'dependenciesData':this[r(-0x106,-0x12e)],'resourcesData':this['resourcesData'],'assignmentsData':this[r(-0x11f,-0x167)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(-0x182,-0x11b)];delete this[r(-0x154,-0x1a1)];delete this[r(-0xb2,-0x12e)];delete this[r(-0x1c4,-0x14f)];delete this[r(-0x13a,-0x167)];}else{if(this[r(-0x20c,-0x1e9)]&&this[r(-0x219,-0x19c)])this[r(-0x19c,-0x1b9)]();}}get[q(0x2e0,0x267)](){function s(a,b){return q(b-0x2f7,a);}return[this[s(0x5ed,0x58c)],this[s(0x643,0x62d)],this[s(0x554,0x59c)],this['dependencyStore'],this['assignmentStore']];}get[q(0x2f8,0x278)](){function t(a,b){return q(b-0x1d6,a);}return this[t(0x516,0x4b6)][t(0x52a,0x4e5)](d=>d[t(0x46e,0x4a6)]>0x0);}get[q(0x313,0x374)](){function u(a,b){return q(a- -0x186,b);}return this[u(0x15a,0x12f)][u(0x189,0x1c9)](d=>d['hasChanges']);}[q(0x367,0x377)](d){const e=this;function v(a,b){return q(a- -0x2d,b);}if(!e[v(0x2c9,0x255)]){e[v(0x2c9,0x299)]=e[v(0x270,0x2a7)]();e[v(0x2c9,0x255)][v(0x27c,0x2a6)](e);e[v(0x2c9,0x345)]['addEntity'](e[v(0x2ee,0x28b)]);e['trigger'](v(0x285,0x2d5));}if(d&&!e[v(0x283,0x2ac)]){e[v(0x2b3,0x2ce)]['forEach'](f=>{if(f[w(0x5cb,0x580)]){return;}function w(a,b){return v(a-0x2e7,b);}f[w(0x627,0x667)](g=>{function x(a,b){return w(a- -0x71f,b);}!g[x(-0x169,-0x18a)]&&g[x(-0x15e,-0x126)]();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(0x2a8,0x288)](){const d=this[y(0x1a3,0x153)][y(0x126,0x163)];this[y(0x1a3,0x184)][y(0x19d,0x12e)]();function y(a,b){return q(a- -0x1c7,b);}this[y(0x1a3,0x190)]['resetQueue']();if(!d){this[y(0x1a3,0x126)]['enable']();}}[q(0x31f,0x2d5)](){const d=this;d[z(-0x172,-0x15b)][z(-0xe5,-0x15d)](e=>e?.['destroy']());d['defaultCalendar']?.[z(-0x16c,-0x126)]();d[z(-0x15c,-0x17d)]?.[z(-0x128,-0x147)]();d[z(-0xe8,-0xf0)]?.[z(-0x16c,-0x100)]();function z(a,b){return q(a- -0x452,b);}b[z(-0x133,-0xdf)]['call'](this);}[q(0x326,0x2d8)](){function A(a,b){return q(b- -0x1c6,a);}return{'project':this,'schema':Schema[A(0xae,0xe0)](),'enableProgressNotifications':this[A(0x1da,0x165)],'silenceInitialCommit':this[A(0x14d,0x183)],'preventSilencingOnIssueResolve':this[A(0xe2,0x123)],'ignoreInitialCommitComputationCycles':this[A(0x113,0x14e)],'cycleEffectClass':this[A(0x15c,0x192)],'onWriteDuringCommit':'ignore','readMode':ReadMode[A(0x84,0xca)]};}[q(0x29d,0x299)](){function B(a,b){return q(b-0x1e1,a);}return EngineReplica[B(0x445,0x487)](this[B(0x4be,0x507)]());}*[q(0x306,0x2b4)](){const d=this['getEventStore']();if(d[C(0x457,0x40f)]){return![];}function C(a,b){return q(b-0xfe,a);}return d[C(0x3d3,0x408)]>0x0;}*[q(0x335,0x3af)](){const d=this[D(0x4ee,0x484)]();if(d[D(0x53c,0x528)]){return[];}function D(a,b){return q(a-0x22b,b);}return d[D(0x547,0x52e)]();}['getType'](){function E(a,b){return q(a- -0x29d,b);}return ProjectType[E(0x85,0xc5)];}get[q(0x32b,0x2d6)](){function F(a,b){return q(a- -0x157,b);}return this[F(0x22c,0x26a)];}set[q(0x32b,0x2b6)](d){function G(a,b){return q(b- -0x324,a);}this[G(0x6e,0x5f)]=d;if(this[G(-0x89,-0x2e)])this['replica'][G(0x64,0x7)]=d;}[q(0x378,0x32f)](){return CycleEffect;}[q(0x2bf,0x25c)](){return SchedulerBasicEvent;}['getDefaultEventStoreClass'](){return ChronoEventStoreMixin;}[q(0x2d5,0x26a)](){return BaseDependencyMixin;}['getDefaultDependencyStoreClass'](){return ChronoDependencyStoreMixin;}['getDefaultResourceModelClass'](){return BaseResourceMixin;}[q(0x289,0x271)](){return ChronoResourceStoreMixin;}[q(0x2be,0x2b9)](){return BaseAssignmentMixin;}[q(0x2d4,0x2e9)](){return ChronoAssignmentStoreMixin;}[q(0x30b,0x310)](){return BaseCalendarMixin;}[q(0x2cb,0x2a1)](){return ChronoCalendarManagerStoreMixin;}[q(0x2c1,0x323)](){function H(a,b){return q(a- -0x20c,b);}return[this[H(0x99,0xe5)],this[H(0x12a,0xdb)],this[H(0x12f,0xce)],this[H(0x146,0x165)]][H(0x103,0x8a)](d=>d['syncDataOnLoad']);}async['loadInlineData'](d){const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this['dataPropertyDeprecation']?.(d||{});if(!this[I(0x237,0x245)]){j?.[I(0x2de,0x2e1)]();}else{while(j?.[I(0x287,0x21c)]){await this[I(0x200,0x201)]();}}if(j?.[I(0x2e3,0x29d)]&&!this[I(0x227,0x21d)]){await delay(0x0);await this[I(0x25a,0x201)]();j[I(0x201,0x23b)]({'total':0x0,'remaining':0x0,'phase':I(0x1d2,0x227)});await delay(0x32);}this['isInitialCommitPerformed']=![];this[I(0x301,0x2e3)]=!![];if(globalThis[I(0x1ff,0x23e)]){console[I(0x255,0x2a2)](I(0x25f,0x28a),I(0x30d,0x2e2));console['time']('Time\x20to\x20visible');console[I(0x2af,0x22c)]('Populating\x20project');}if(this[I(0x200,0x21d)]&&!this[I(0x1ad,0x204)]&&!this['usingSyncDataOnLoad']()){this[I(0x2b6,0x24d)]();}if(d[I(0x22b,0x236)]||d[I(0x27f,0x2eb)]){this[I(0x267,0x24b)](e);e[I(0x32e,0x2f0)]=d[I(0x23d,0x236)]||d[I(0x2ea,0x2eb)];}if(d['events']||d[I(0x2f0,0x2a0)]||d[I(0x1e8,0x265)]||d[I(0x1a1,0x221)]){this['repopulateStore'](f);f[I(0x2a3,0x2f0)]=d[I(0x216,0x238)]||d[I(0x306,0x2a0)]||d[I(0x2bc,0x265)]||d[I(0x277,0x221)];}if(d['dependencies']||d['dependenciesData']){this[I(0x219,0x24b)](g);g[I(0x367,0x2f0)]=d[I(0x2b5,0x2d1)]||d['dependenciesData'];}if(d[I(0x25c,0x27e)]||d[I(0x24d,0x2b7)]){this[I(0x275,0x24b)](i);i['data']=d[I(0x24b,0x27e)]||d['resourcesData'];}if(d['assignments']||d[I(0x2e4,0x29f)]){this[I(0x252,0x24b)](h);h['data']=d[I(0x1ec,0x262)]||d[I(0x2b6,0x29f)];}if(d[I(0x280,0x2a9)]){if(this[I(0x325,0x2e6)]&&this[I(0x2b4,0x26a)]){this['ion']({'recordsUnlinked':()=>{this[J(0x313,0x38e)]();function J(a,b){return I(b,a-0xb9);}this[J(0x35c,0x3a7)](d[J(0x362,0x3cc)]);this[J(0x328,0x392)]();},'once':!![]});}else{this[I(0x2f0,0x2a3)](d[I(0x265,0x2a9)]);}}if(globalThis[I(0x2ab,0x23e)])console[I(0x25d,0x264)](I(0x295,0x2e4));const k=await this['commitLoad']();this[I(0x2d3,0x2e3)]=![];function I(a,b){return q(b- -0x8e,a);}return k;}[q(0x2a2,0x2b1)](){const {storage:d}=this['assignmentStore']||{};function K(a,b){return q(b- -0xb5,a);}if(d){d[K(0x231,0x289)]({'property':K(0x29f,0x2a5),'unique':![]});d['addIndex']({'property':K(0x262,0x260),'unique':![]});}}[q(0x2b9,0x335)](){function L(a,b){return q(b- -0x12c,a);}this['assignmentStore']?.[L(0x119,0x161)]?.['invalidateIndices']();}[q(0x357,0x2e3)](){function M(a,b){return q(a- -0x142,b);}const {storage:d}=this[M(0x210,0x18e)];d[M(0x21c,0x1a5)](M(0x218,0x240));d[M(0x21c,0x1d4)](M(0x1d3,0x208));}async[q(0x2a7,0x288)](d){const e=this;e['delayEnteringReplica']=!![];e[N(0x51c,0x547)]();await delay(0x0);if(e[N(0x547,0x53e)]){d();return;}e['trigger']('delayCalculationStart');e[N(0x5ad,0x5ae)](N(0x559,0x538),{'isCalculated':![]});await delay(0x0);if(e[N(0x547,0x59a)]){d();return;}e[N(0x5ee,0x66c)]=![];e[N(0x55a,0x4f4)]['forEach'](g=>g['suspendFilterOnUpdate']());if(e['isRepopulatingStores']){e['repopulateReplica']['now']();}else{e['trigger'](N(0x554,0x53f));e[N(0x5e1,0x646)](!![]);}const f=await e[N(0x570,0x5af)][N(0x509,0x4e5)]();if(e[N(0x547,0x538)]){d();return;}e[N(0x55a,0x4dd)][N(0x5e7,0x5a3)](g=>g[N(0x502,0x57b)]());d(f);e[N(0x50c,0x58c)]=null;function N(a,b){return q(a-0x27a,b);}e[N(0x5ad,0x583)](N(0x55e,0x566));e[N(0x5d1,0x5f5)]();}[q(0x2db,0x2ce)](){if(this[O(-0x290,-0x21c)]){return this['delayedCalculationPromise'];}function O(a,b){return q(b- -0x4ae,a);}if(this[O(-0x207,-0x203)]!==![]){return this[O(-0x19b,-0x21c)]=new Promise(d=>this[O(-0x185,-0x207)](d)['then']());}}async['commitLoad'](){function P(a,b){return q(a-0xf4,b);}const d=await this['commitAsync']();if(!this[P(0x3c1,0x360)])this[P(0x427,0x483)](P(0x414,0x420));return d;}['initializeStm'](){const d=this[Q(-0xa7,-0x2b)]||_enc;if(!(this[Q(-0xbc,-0x8a)]instanceof _enc))this[Q(-0xbc,-0x9c)]=d[Q(-0x180,-0x13d)]({'disabled':!![]},this[Q(-0xbc,-0x46)]);this['setStm'](this[Q(-0xbc,-0x83)]);if(this[Q(-0xa0,-0x32)]){this[Q(-0xe9,-0xfa)]({'load':this[Q(-0x17e,-0x125)],'thisObj':this});}function Q(a,b){return q(a- -0x426,b);}this[Q(-0xe9,-0x13d)]({'beforeCommit':this[Q(-0xe0,-0xf0)],'commitFinalized':this[Q(-0x110,-0x186)],'commitRejected':this[Q(-0x183,-0x198)],'thisObj':this});}[q(0x34f,0x371)]({transactionResult:d,silenceCommit:e}){const f=new Map();for(const h of d[R(0x291,0x227)][R(0x176,0x1c6)]()){const i=h['identifier'];const {field:j}=i;if(h[R(0x22c,0x1ba)]()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i[R(0x1f2,0x18a)];const l=k[R(0x1f0,0x1c3)];if(l&&!h[R(0x22a,0x24e)]&&!d[R(0x1d6,0x21b)][R(0x1f4,0x1d4)](k['$$'])?.[R(0x1fd,0x24e)]){if(!f[R(0x1be,0x185)](l)){f[R(0x1dd,0x203)](l,new Set([k]));}else if(!f[R(0x1e2,0x189)](l)['has'](k)){f[R(0x1e5,0x189)](l)[R(0x1b2,0x1e5)](k);}}}this[R(0x17e,0x1e6)]?.();const g=Array[R(0x1ca,0x1e9)](f[R(0x1b8,0x191)]())['sort']((m,n)=>m[R(0x2f5,0x27e)]-n[R(0x255,0x27e)]);function R(a,b){return q(b- -0x102,a);}g[R(0x2ee,0x26b)](m=>m['remove'](f['get'](m)));this['resumeChangeTracking']?.(e);if(e){this[R(0x19e,0x1de)]['forEach'](m=>m['acceptChanges']());}}[q(0x2a3,0x2a5)](d){function S(a,b){return q(b-0x125,a);}if(this[S(0x452,0x3db)]){this[S(0x3eb,0x41b)][S(0x43e,0x461)]++;this[S(0x3f3,0x45e)]=!![];this[S(0x4df,0x474)](d);this[S(0x4cf,0x45e)]=![];this[S(0x3a2,0x41b)][S(0x467,0x461)]--;}else{this[S(0x45f,0x408)]();}}[q(0x346,0x2e3)](){function T(a,b){return q(a-0x4d,b);}const {stm:d}=this;this[T(0x303,0x305)]=d[T(0x33a,0x2e2)];if(d[T(0x300,0x2ff)]&&d[T(0x39a,0x3f2)]){this[T(0x35d,0x2fa)]=!![];d[T(0x39a,0x370)]=![];}}['onCommitFinalization'](){function U(a,b){return q(a-0x2ee,b);}if(this['_stmAutoRecord']){this[U(0x658,0x647)][U(0x63b,0x5f0)]=!![];this[U(0x5fe,0x5c9)]=![];}}async[q(0x2ae,0x285)](){await this[V(0x411,0x3b7)][V(0x355,0x36e)]();function V(a,b){return q(a-0xa7,b);}if(this[V(0x42e,0x471)]){await this['await'](V(0x3f1,0x442),![]);}}async[q(0x327,0x38d)](){function W(a,b){return q(a- -0x167,b);}await this['stm'][W(0x1c0,0x1fe)]();if(this[W(0x220,0x244)]){await this[W(0x1a7,0x222)](W(0x1e3,0x258),![]);}}[q(0x328,0x37f)]({source:d}){function X(a,b){return q(a-0x125,b);}if(this[X(0x41b,0x478)])this[X(0x41b,0x497)][X(0x461,0x4a4)]++;}async[q(0x2fe,0x37f)](d){if(this[Y(-0xfe,-0x14c)])this['replica'][Y(-0x172,-0x106)]--;this['_stmRestoringInProgress']=!![];d[Y(-0xb6,-0xde)]();this[Y(-0xfe,-0xbb)]=!![];function Y(a,b){return q(b- -0x442,a);}await this[Y(-0x1e7,-0x1b3)]();this[Y(-0xc1,-0xbb)]=![];this[Y(-0xdc,-0xf6)]=![];if(!this['isDestroyed']){d[Y(-0x156,-0x1b8)]();this['trigger']('stateRestoringDone');}}async[q(0x2cf,0x2cd)]({source:d}){function Z(a,b){return q(a- -0x300,b);}await this[Z(-0x2,0x4a)](d);}[q(0x34e,0x2eb)](d,e,f){function a0(a,b){return q(a- -0x22e,b);}if(this['isRepopulatingStores']){this[a0(0x8d,0x9f)](d);this[a0(0x10f,0x105)]({'name':d,'repopulateReplica':{'fn':async()=>{await this[a1(0x243,0x294)]();function a1(a,b){return a0(a-0x1e2,b);}if(!this[a1(0x281,0x2b5)]){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(0x2b0,0x248)](){function a2(a,b){return q(a-0x1c4,b);}return this[a2(0x519,0x521)]||Boolean(this[a2(0x495,0x4d0)]?.[a2(0x53f,0x537)]);}[q(0x2d9,0x2c6)](d){function a3(a,b){return q(b- -0x2d3,a);}const e=this;if(e[a3(-0x16,-0x3c)]&&d[a3(-0x20,-0x3)]&&!d[a3(0x78,0x2c)]){e[a3(-0x38,0x23)]?.[a3(-0x3,0x28)][a3(0x4f,0xa)]();if(!e[a3(0x7f,-0x2)])e[a3(0x11,-0x2)]=new Set();e['repopulateStores']['add'](d);e[a3(-0x6a,-0x3d)]();}}['repopulateReplica'](){const d=this;if(d[a4(0x221,0x20f)]){return;}const {replica:e,calendarManagerStore:f}=d;if(e){d[a4(0x165,0x165)](e,!![]);}d[a4(0x1e0,0x223)](a4(0x187,0x1fb));e?.[a4(0x1d7,0x206)]();const g=d['replica']=d['createReplica']();g[a4(0x18f,0x12d)]([d,d['defaultCalendar']]);const h=new Map();for(const i of d[a4(0x18d,0x195)]){h['set'](i,i[a4(0x130,0x1b1)](d,!![]));}if(h[a4(0x138,0x12d)](f)<f[a4(0x17d,0x1b7)]){d[a4(0x142,0x15d)][a4(0x130,0x188)](d,!![]);}function a4(a,b){return q(a- -0x153,b);}if(e){g[a4(0x1a8,0x208)][a4(0x201,0x1ff)](e['baseRevision'][a4(0x146,0x16e)]);}d[a4(0x17e,0x112)][a4(0x1d7,0x17c)]();d['trigger'](a4(0x143,0x18b));}[q(0x35b,0x3c8)](){if(this[a5(0x229,0x25d)][a5(0x277,0x29e)]&&!this['isDelayingCalculation']){this[a5(0x275,0x25d)]['now']();return this[a5(0x2ab,0x2bd)][a5(0x28a,0x256)]();}function a5(a,b){return q(b- -0x39,a);}return null;}[q(0x2b8,0x2b9)](d,e=![]){if(e){this[a6(-0xf5,-0x176)](d);}this[a6(-0xe4,-0x14a)]['unlink'](d);function a6(a,b){return q(b- -0x465,a);}super[a6(-0x149,-0x1ad)](d);this[a6(-0x192,-0x16f)]=null;}['unlinkStoreRecords'](d,e){function a7(a,b){return q(b- -0x12a,a);}d=d||this[a7(0x21e,0x1d2)];e=e||this[a7(0x1b3,0x1b6)];e[a7(0x223,0x243)](f=>{if(f[a8(0x31e,0x37f)]){return;}function a8(a,b){return a7(a,b-0x198);}if(!this[a8(0x340,0x33f)][a8(0x350,0x2f5)](f)||f[a8(0x3a0,0x36d)]){f['traverse'](g=>{function a9(a,b){return a8(a,b-0x16);}g[a9(0x3be,0x33c)](d);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(0x2ac,0x278)](){return this['replica'];}async[q(0x368,0x39b)](d){this[aa(-0x12f,-0x106)][aa(-0xeb,-0xc4)](d);function aa(a,b){return q(b- -0x3ab,a);}return this[aa(-0xb9,-0x11c)]();}async['addEvent'](d){this['eventStore']['add'](d);function ab(a,b){return q(a- -0x2ab,b);}return this[ab(-0x1c,-0x62)]();}[q(0x2c2,0x279)](d){function ac(a,b){return q(a- -0xd7,b);}this['eventStore'][ac(0x210,0x20b)](d);}async['removeEvents'](d){function ad(a,b){return q(a- -0x3cd,b);}this[ad(-0x128,-0xaa)][ad(-0x99,-0xc2)](d);return this['commitAsync']();}[q(0x348,0x2de)](d){function ae(a,b){return q(b-0x210,a);}this[ae(0x45c,0x4b5)][ae(0x4fc,0x544)](d);}async[q(0x340,0x316)](d){this[af(0x439,0x422)]['remove'](d);function af(a,b){return q(b-0x17d,a);}return this[af(0x42d,0x40c)]();}[q(0x29a,0x22e)](){return this['stm'];}[q(0x2ec,0x320)](d){function ag(a,b){return q(b-0x16f,a);}this[ag(0x471,0x4d9)]=d;this['stm'][ag(0x450,0x4ac)]({'restoringStart':this[ag(0x456,0x497)],'restoringStop':this[ag(0x471,0x43e)],'thisObj':this});}[q(0x343,0x2d5)](){return this;}*['calculateEffectiveDataOrVisualCalendar'](d){let e=yield this['$'][ah(0x350,0x3ba)];if(e){yield e['$'][ah(0x458,0x433)];}else{e=this['defaultCalendar'];}function ah(a,b){return q(b-0xc5,a);}return e;}[q(0x31a,0x2a6)](d){const e=this[ai(0x502,0x47f)];if(e&&this[ai(0x5c7,0x5ab)][ai(0x55e,0x526)](e)){this[ai(0x5c7,0x56c)][ai(0x58c,0x582)](e);e[ai(0x5bd,0x5bc)](this);this[ai(0x5bf,0x554)](e);const f=e[ai(0x5d7,0x5e5)];f[ai(0x5ca,0x64b)](g=>{function aj(a,b){return ai(a- -0x345,b);}const h=g[aj(0x272,0x2e7)];if(h){const i=d[aj(0x299,0x2bf)](h['id']);if(i){g[aj(0x272,0x2c2)]=i;f[aj(0x225,0x203)](g);}}});e[ai(0x4e3,0x494)]();}function ai(a,b){return q(a-0x25d,b);}if(!d||!(d instanceof _end)){const g=d?.[ai(0x547,0x5b3)]||this['eventStoreClass'];this[ai(0x502,0x4fc)]=new g(_enf['assign']({'modelClass':this[ai(0x5e1,0x5e2)],'project':this,'stm':this['stm']},d||{}));}else{this[ai(0x502,0x532)]=d;if(d['isChainedFromProject']){d[ai(0x594,0x5f6)]=this;}else{d['setProject'](this);this[ai(0x5c7,0x566)]['addStore'](d);if(d[ai(0x511,0x4ee)]&&d[ai(0x57b,0x563)]!==this){this['appendChild'](d[ai(0x57b,0x53c)]['children']||[]);d[ai(0x57b,0x566)]=this;}else{d[ai(0x4e0,0x46d)](this);}}}this[ai(0x551,0x4df)](this[ai(0x502,0x548)]);this[ai(0x590,0x5f4)](ai(0x5d3,0x567),{'store':this['eventStore']});}[q(0x2dc,0x32d)](d){const e=this['dependencyStore'];if(e&&this[ak(0x209,0x197)][ak(0x1a0,0x1be)](e)){this['stm'][ak(0x1ce,0x232)](e);this[ak(0x201,0x259)](e);}function ak(a,b){return q(a- -0x161,b);}if(!d||!(d instanceof _end)){const f=d?.[ak(0x189,0x17e)]||this[ak(0x21c,0x1f3)];this[ak(0x1da,0x203)]=new f(_enf['assign']({'modelClass':this[ak(0x124,0xf2)],'project':this,'stm':this['stm']},d||{}));}else{this[ak(0x1da,0x17d)]=d;if(d[ak(0x1b0,0x137)]){d['project']=this;}else{d['setProject'](this);this[ak(0x209,0x1c2)][ak(0x216,0x281)](d);d[ak(0x122,0x170)](this);}}this[ak(0x193,0x196)](this['dependencyStore']);this[ak(0x1d2,0x1f5)]('dependencyStoreChange',{'store':this[ak(0x1da,0x213)]});}[q(0x29c,0x24c)](d){const e=this['resourceStore'];if(e&&this['stm'][al(0x57a,0x54d)](e)){this[al(0x5b5,0x5b6)][al(0x51c,0x57b)](e);e[al(0x5ac,0x5ac)](this);this[al(0x572,0x5ae)](e);const f=e['assignmentsForRemoval'];f[al(0x605,0x5b9)](g=>{function am(a,b){return al(a,b- -0x196);}const h=g[am(0x3e8,0x3cb)];if(h){const i=d[am(0x3fd,0x437)](h['id']);if(i){g[am(0x39d,0x3cb)]=i;f[am(0x415,0x3c3)](g);}}});e['afterResourceRemoval']();}if(!d||!(d instanceof _end)){const g=d?.[al(0x569,0x536)]||this[al(0x4ce,0x52a)];this[al(0x51e,0x582)]=new g(_enf[al(0x592,0x571)]({'modelClass':this[al(0x51e,0x4e4)],'project':this,'stm':this[al(0x58e,0x5b6)]},d||{}));}else{this[al(0x51a,0x582)]=d;if(d['isChainedFromProject']){d['project']=this;}else{d[al(0x4a7,0x4e7)](this);this[al(0x534,0x5b6)][al(0x5ff,0x5c3)](d);d[al(0x497,0x4cf)](this);}}this[al(0x4ef,0x540)](this[al(0x502,0x582)]);function al(a,b){return q(b-0x24c,a);}this[al(0x5d7,0x57f)](al(0x46a,0x4da),{'store':this[al(0x57c,0x582)]});}[q(0x2ee,0x2e6)](d){const e=this[an(-0x188,-0x15d)];if(e&&this[an(-0x10f,-0x145)][an(-0x207,-0x1ae)](e)){this[an(-0x1b3,-0x145)][an(-0x164,-0x180)](e);e['unjoinRecordsFromProject'](this);this[an(-0x1b4,-0x14d)](e);}if(!d||!(d instanceof _end)){const f=d?.[an(-0x147,-0x1c5)]||this[an(-0x1f4,-0x1e5)];this[an(-0x175,-0x15d)]=new f(_enf[an(-0x202,-0x18a)]({'modelClass':this[an(-0x1c2,-0x170)],'project':this,'stm':this[an(-0x1a2,-0x145)]},d||{}));}else{this[an(-0xe8,-0x15d)]=d;if(d[an(-0x204,-0x19e)]){d[an(-0x1b4,-0x178)]=this;}else{d['setProject'](this);this['stm'][an(-0xff,-0x138)](d);d[an(-0x20b,-0x22c)](this);}}function an(a,b){return q(b- -0x4af,a);}this[an(-0x1d2,-0x1dd)]&&this['setupTemporaryIndices']();this['attachStore'](this[an(-0xf9,-0x15d)]);this[an(-0x11e,-0x17c)](an(-0xf1,-0x143),{'store':this[an(-0x107,-0x15d)]});}['setCalendarManagerStore'](d){const e=this[ao(-0x15b,-0x159)];if(e&&this[ao(-0xa3,-0x84)]['hasStore'](e)){this[ao(-0x19,-0x84)][ao(-0x117,-0xbf)](e);this[ao(-0xf9,-0x8c)](e);}function ao(a,b){return q(b- -0x3ee,a);}if(!d||!(d instanceof _end)){const f=d?.[ao(-0x15c,-0x104)]||this[ao(-0xc3,-0xec)];this[ao(-0x157,-0x159)]=new f(_enf[ao(-0x9b,-0xc9)]({'modelClass':this['calendarModelClass'],'project':this,'stm':this[ao(-0xc5,-0x84)]},d||{}));}else{this[ao(-0x1ae,-0x159)]=d;if(d){if(d[ao(-0xd8,-0xdd)]){d[ao(-0xeb,-0xb7)]=this;}else{d[ao(-0xf5,-0x153)](this);this[ao(-0x6d,-0x84)][ao(-0x1,-0x77)](d);d['joinRecordsToProject'](this);}}}this['attachStore'](this['calendarManagerStore']);this[ao(-0x93,-0xbb)](ao(-0xf8,-0xc2),{'store':this[ao(-0x15d,-0x159)]});}async[q(0x2f9,0x36d)](...d){return!![];}[q(0x2e3,0x26f)](d){d=d||this[ap(0x1c1,0x1a8)];function ap(a,b){return q(b- -0x1c2,a);}if(d['transaction']){if(d[ap(0x1d5,0x15b)][ap(0x145,0x1a7)]){d[ap(0x157,0x105)](e=>e[ap(0x56,0xc0)]());d[ap(0x190,0x12f)]();d[ap(0xa3,0x105)](e=>e[ap(0x12c,0xd2)]());}else{d[ap(0x108,0x123)]();}}}async[q(0x2e1,0x284)](d){const f=this['stm'],g=f[aq(0x558,0x5d2)],h=f[aq(0x689,0x632)];if(g){f[aq(0x5b5,0x56f)]();}else{if(h){f[aq(0x692,0x632)]=![];}if(f[aq(0x5b6,0x598)]){f[aq(0x590,0x5ca)]();}}function aq(a,b){return q(b-0x2e5,a);}f['startTransaction']();d();let i=!![];try{const j=await this[aq(0x532,0x574)]();i=!j[aq(0x60a,0x5e9)];}catch(k){if(!/cycle/i[aq(0x5ac,0x589)](k))throw k;i=![];}if(i){f[aq(0x5ee,0x5ca)]();if(g){f[aq(0x5f3,0x63b)]();}}else{this['replica'][aq(0x5d5,0x608)]();this['rejectStmTransaction'](f);}f[aq(0x5c8,0x5d2)]=g;f[aq(0x617,0x632)]=h;return i;}async['tryPropagateWithChangesQueued'](d){function ar(a,b){return q(a-0x221,b);}return this[ar(0x5a3,0x55a)](()=>this[ar(0x502,0x4e0)](d));}[q(0x382,0x38c)](d,e){function as(a,b){return q(b- -0x36b,a);}const f=this;return f[as(-0x81,-0xcd)]['queue'](async function g(){return d();},e);}[q(0x2f7,0x300)](){const {replica:d}=this;function at(a,b){return q(b-0x2ab,a);}return this[at(0x5e8,0x61f)]||!this[at(0x4ee,0x55b)]&&(d?!(d[at(0x5eb,0x60c)]&&(d[at(0x5c2,0x616)]()||d[at(0x5a8,0x555)])):!![]);}[q(0x2ce,0x34d)](d){const e=[];if(this['calendar']===d)e[au(-0xe2,-0x144)](this);e[au(-0x121,-0x144)](...this[au(-0x1ef,-0x1fc)][au(-0x114,-0x17d)](f=>f[au(-0x171,-0x1ac)]===d,!![]));function au(a,b){return q(b- -0x4a1,a);}e[au(-0x171,-0x144)](...this[au(-0x159,-0x16b)][au(-0x1c4,-0x17d)](f=>f['calendar']===d,!![]));if(d[au(-0x1d4,-0x180)]?.[au(-0x18e,-0x138)]){for(const f of d[au(-0x1a1,-0x180)]){e[au(-0xec,-0x144)](...this[au(-0x1a2,-0x1d3)](f));}}return e;}[q(0x2ad,0x2aa)](d){const e=this[av(0x396,0x356)](d);function av(a,b){return q(b-0x88,a);}for(const f of e){f[av(0x3da,0x37d)]=null;}}static get['defaultConfig'](){return{'assignmentsData':null,'calendarsData':null,'dependenciesData':null,'eventsData':null,'resourcesData':null,'eventStore':null,'resourceStore':null,'assignmentStore':null,'dependencyStore':null,'calendarManagerStore':null,'eventModelClass':null,'resourceModelClass':null,'assignmentModelClass':null,'dependencyModelClass':null,'calendarModelClass':null,'repopulateOnDataset':!![]};}static get[q(0x373,0x3d3)](){return{'repopulateReplica':0xa};}}c[q(0x2c0,0x253)]=!![];__decorate([model_field({'type':q(0x2b7,0x282),'defaultValue':!![]})],c[q(0x2bd,0x32f)],q(0x344,0x2d7),void 0x0);function q(a,b){return _enb(a-0xd3,b);}__decorate([model_field({'type':'boolean','defaultValue':![]})],c['prototype'],q(0x312,0x316),void 0x0);__decorate([model_field({'type':q(0x2b7,0x274),'defaultValue':![]})],c[q(0x2bd,0x23f)],q(0x34b,0x39a),void 0x0);__decorate([model_field({'type':'string','defaultValue':Direction[q(0x338,0x35d)]},{'sync':!![]})],c[q(0x2bd,0x249)],q(0x37c,0x3eb),void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
@@ -1 +1 @@
1
- (function(a,b){function l(a,b){return _enb(b-0x329,a);}const c=a();while(!![]){try{const d=-parseInt(l(0x4c5,0x4d1))/0x1*(parseInt(l(0x4fe,0x4fe))/0x2)+-parseInt(l(0x4fe,0x4f1))/0x3*(-parseInt(l(0x4cd,0x4c4))/0x4)+parseInt(l(0x4e2,0x4d8))/0x5*(-parseInt(l(0x4fd,0x4f8))/0x6)+-parseInt(l(0x4b8,0x4d4))/0x7+-parseInt(l(0x4c9,0x4e8))/0x8*(-parseInt(l(0x4c9,0x4c0))/0x9)+-parseInt(l(0x4ed,0x4fc))/0xa+parseInt(l(0x4f4,0x4d2))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xd7e80));function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x194;let f=c[d];return f;};return _enb(a,b);}var __decorate=function(a,b,e,f){function m(a,b){return _enb(a-0x3ae,b);}var g=arguments[m(0x55c,0x57b)],h=g<0x3?b:f===null?f=Object[m(0x56c,0x586)](b,e):f,j;if(typeof Reflect===m(0x555,0x55a)&&typeof Reflect[m(0x577,0x564)]===m(0x562,0x54f))h=Reflect['decorate'](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(0x563,0x581)](b,e,h),h;};import{Reject}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConflictEffect}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';import{HasSubEventsMixin}from'../scheduler_basic/HasSubEventsMixin.js';import{ConstrainedScheduleMixin}from'./ConstrainedScheduleMixin.js';import{HasPercentDoneMixin}from'./HasPercentDoneMixin.js';class ConstrainedEarlyEventMixin extends Mixin([HasSubEventsMixin,HasPercentDoneMixin],a=>{const b=a['prototype'];class c extends a{get[n(0x290,0x27d)](){function o(a,b){return n(b,a-0x4e);}return this[o(0x2b4,0x2b7)];}get['earlySchedule'](){if(this[p(0x1fc,0x20f)]!==void 0x0)return this[p(0x216,0x20f)];const d=new this[(p(0x227,0x233))]['scheduleMixinClass']({'id':p(0x1fd,0x210)},null,null,![],!![]);d[p(0x21c,0x226)]=this;function p(a,b){return n(a,b- -0x56);}return this[p(0x1f6,0x20f)]=d;}[n(0x25f,0x27a)](d){function q(a,b){return n(b,a- -0x440);}super['enterGraph'](d);this[q(-0x1da,-0x1de)][q(-0x1c6,-0x1ab)](d);}[n(0x29a,0x286)](d){this[r(0x395,0x395)][r(0x3b5,0x3d0)](d);function r(a,b){return n(b,a-0x12f);}super[r(0x3b5,0x3a6)](d);}['unlink'](...d){function s(a,b){return n(b,a- -0x311);}this[s(-0xab,-0x8a)][s(-0xb6,-0xae)](...d);super[s(-0xb6,-0xc6)](...d);}*[n(0x279,0x25f)](){function t(a,b){return n(a,b- -0xec);}return yield this[t(0x18d,0x17a)]['$'][t(0x1a9,0x1a3)];}*['calculateEarlyEndDate'](){function u(a,b){return n(b,a- -0x443);}return yield this[u(-0x1dd,-0x1f9)]['$'][u(-0x1bc,-0x1b5)];}*[n(0x27a,0x298)](){return[];}*[n(0x295,0x293)](){return[];}*['calculateEarlyStartDateConstraintIntervals'](){return[];}*[n(0x24d,0x268)](){return[];}*[n(0x26e,0x25a)](){return[];}*[n(0x292,0x282)](){return[];}*['shouldRollupChildEarlyStartDate'](d){return!![];}*['shouldRollupChildEarlyEndDate'](d){return!![];}*['shouldRollupChildLateStartDate'](d){return!![];}*[n(0x283,0x264)](d){return!![];}*[n(0x288,0x274)](){function v(a,b){return n(a,b- -0x384);}const d=yield this['$'][v(-0x135,-0x12d)];let e;const f=yield*this[v(-0x10c,-0x123)]();if(!f&&!(yield this['$'][v(-0xf6,-0x100)])&&(yield*this[v(-0xe2,-0xf2)](d[v(-0xff,-0xf4)]))){if(yield*this[v(-0x10f,-0xf7)]()){return yield*this[v(-0x11f,-0x116)]();}e=yield this[v(-0x13d,-0x124)](d[v(-0xd6,-0xf4)])['$']['startDate'];}return e||(yield*b[v(-0x10f,-0x110)][v(-0x11a,-0x109)](this));}*[n(0x29d,0x299)](){const d=yield this['$'][w(-0x113,-0x114)];let e;const f=yield*this[w(-0x109,-0x115)]();if(!f&&!(yield this['$'][w(-0xe6,-0xd0)])&&(yield*this['isConstrainedAlongDirection'](d[w(-0xda,-0xf3)]))){if(yield*this[w(-0xdd,-0xf2)]()){return yield*this[w(-0xfc,-0xea)]();}e=yield this[w(-0x10a,-0xf0)](d[w(-0xda,-0xf4)])['$'][w(-0xdb,-0xee)];}function w(a,b){return n(b,a- -0x36a);}return e||(yield*b['calculateStartDateProposed']['call'](this));}*[n(0x288,0x288)](){const d=yield this['$'][x(-0x16a,-0x186)];let e;function x(a,b){return n(a,b- -0x3dd);}const f=yield*this[x(-0x192,-0x17c)]();if(!f&&!(yield this['$'][x(-0x17a,-0x159)])&&(yield*this['isConstrainedAlongDirection'](d[x(-0x16f,-0x14d)]))){if(yield*this[x(-0x143,-0x150)]()){return yield*this[x(-0x171,-0x15f)]();}e=yield this[x(-0x19a,-0x17d)](d['direction'])['$'][x(-0x168,-0x156)];}return e||(yield*b['calculateEndDatePure'][x(-0x169,-0x162)](this));}*[n(0x279,0x283)](){const d=yield this['$'][y(0x516,0x523)];let e;const f=yield*this[y(0x520,0x51d)]();function y(a,b){return n(b,a-0x2bf);}if(!f&&!(yield this['$'][y(0x543,0x53c)])&&(yield*this[y(0x551,0x54d)](d[y(0x54f,0x56f)]))){if(yield*this[y(0x54c,0x54e)]()){return yield*this[y(0x53d,0x541)]();}e=yield this[y(0x51f,0x50f)](d[y(0x54f,0x56c)])['$'][y(0x546,0x551)];}return e||(yield*b[y(0x542,0x54b)][y(0x53a,0x521)](this));}*[n(0x290,0x292)](d){function z(a,b){return n(b,a- -0x4a6);}return yield*this[z(-0x240,-0x25a)][z(-0x210,-0x200)]();}[n(0x279,0x260)](d){function A(a,b){return n(a,b- -0x210);}return this[A(0x35,0x56)];}*[n(0x286,0x285)](d,e){function B(a,b){return n(b,a- -0x1d5);}const f=d==='start'?yield*e[B(0x92,0xab)](!![]):yield*e[B(0xb7,0xbe)](!![]);return ConflictEffect[B(0x83,0x6a)]({'intervals':[...f[B(0x89,0x71)]],'sourceSchedule':e});}*['onEmptyEffectiveInterval'](d,e){const f=yield*this[C(0xdb,0xfa)](d,e);function C(a,b){return n(b,a- -0x1aa);}if((yield f)===EffectResolutionResult[C(0xc9,0xc7)]){yield Reject(f);return{'kind':C(0xc2,0xd9)};}else{return{'kind':C(0xb2,0xbb),'value':null};}}*['onNonEmptyEffectiveInterval'](d,e){}*[n(0x2a8,0x28e)](d){function D(a,b){return n(b,a- -0x3ba);}const e=this;const f=yield*this[D(-0x14b,-0x161)]();if(f==null){return null;}return function*(g){function E(a,b){return D(a-0x2de,b);}return yield*e[E(0x1b8,0x1ce)](g,d,f);};}*['shouldSkipNonWorkingTime'](){let d=yield*super['shouldSkipNonWorkingTime']();if(d){const e=yield*this['calculateEffectiveDuration']();d=e>0x0;}return d;}}c[n(0x293,0x275)]=ConstrainedScheduleMixin;__decorate([model_field({'type':n(0x240,0x262),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c['prototype'],n(0x249,0x263),void 0x0);__decorate([model_field({'type':n(0x249,0x262),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c['prototype'],n(0x28c,0x279),void 0x0);function n(a,b){return _enb(b-0xc2,a);}__decorate([field()],c[n(0x254,0x272)],n(0x271,0x256),void 0x0);__decorate([field()],c[n(0x255,0x272)],n(0x29a,0x27f),void 0x0);__decorate([calculate(n(0x25c,0x263))],c['prototype'],n(0x269,0x25f),null);__decorate([calculate(n(0x277,0x279))],c['prototype'],n(0x25f,0x278),null);__decorate([calculate('startDateConstraintIntervals')],c[n(0x25c,0x272)],'calculateStartDateConstraintIntervals',null);__decorate([calculate(n(0x294,0x27f))],c['prototype'],n(0x2af,0x293),null);return c;}){}export{ConstrainedEarlyEventMixin};function _ena(){const F=['enterGraph','call','event','earlyPreSchedule','calculateMaxChildrenEndDate','endDateConstraintIntervals','getOwnPropertyDescriptor','768qdKYMU','calculateLateEndDateConstraintIntervals','calculateEndDateProposed','unscheduled','createConflictEffect','leaveGraph','endDate','calculateEndDatePure','constructor','6MDvmWG','decorate','doCalculateEffectiveEndDateInterval','hasSubEvents','getDateShifter','startDate','direction','23526VcmFiB','isConstrainedAlongDirection','calculateEndDateConstraintIntervals','calculateProjectedXDateWithDuration','280420sqefoR','isConstrained','2gAjtcg','calculateStartDateConstraintIntervals','calculateStartDateProposed','startDateConstraintIntervals','effectiveDirection','new','10296prUIpa','calculateLateStartDateConstraintIntervals','unlink','return','1187144tPaFLh','intersectionOf','calculateEarlyStartDate','pickDirectionSchedule','isManuallyScheduled','date','earlyStartDate','shouldRollupChildLateEndDate','_earlySchedule','earlySchedule','doCalculateEffectiveStartDateInterval','calculateEarlyEndDateConstraintIntervals','object','1574791fCSqvG','33204875lfZUBo','resume','5542341mgzZYa','calculateMinChildrenStartDate','calculateEffectiveDuration','length','565ClbDOd','prototype','Cancel','calculateStartDatePure','scheduleMixinClass','function','defineProperty','calculateEarlyEndDate','earlyEndDate'];_ena=function(){return F;};return _ena();}
1
+ (function(a,b){function l(a,b){return _enb(b-0x110,a);}const c=a();while(!![]){try{const d=-parseInt(l(0x28b,0x26e))/0x1+parseInt(l(0x26b,0x251))/0x2+-parseInt(l(0x24c,0x244))/0x3*(parseInt(l(0x22c,0x243))/0x4)+-parseInt(l(0x256,0x256))/0x5*(parseInt(l(0x251,0x26a))/0x6)+parseInt(l(0x231,0x24b))/0x7+-parseInt(l(0x256,0x23f))/0x8+-parseInt(l(0x264,0x268))/0x9*(-parseInt(l(0x24e,0x23b))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x5dd06));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[m(0x31d,0x336)](b,e):f,j;function m(a,b){return _enb(a-0x1d5,b);}if(typeof Reflect===m(0x31f,0x32f)&&typeof Reflect[m(0x30d,0x307)]==='function')h=Reflect[m(0x30d,0x315)](a,b,e,f);else for(var k=a[m(0x314,0x2fa)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(0x30a,0x326)](b,e,h),h;};import{Reject}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x123;let f=c[d];return f;};return _enb(a,b);}import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConflictEffect}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';function _ena(){const F=['calculateProjectedXDateWithDuration','266650EbAuKq','isConstrainedAlongDirection','calculateEndDateProposed','calculateEarlyStartDate','leaveGraph','965065ybNjdE','earlyEndDate','getOwnPropertyDescriptor','calculateStartDatePure','object','event','pickDirectionSchedule','shouldSkipNonWorkingTime','unscheduled','startDate','calculateEarlyEndDateConstraintIntervals','endDate','shouldRollupChildEarlyEndDate','shouldRollupChildLateEndDate','earlyStartDate','calculateEndDatePure','earlySchedule','_earlySchedule','153JinMxm','call','18MQIltq','calculateEndDateConstraintIntervals','calculateStartDateConstraintIntervals','createConflictEffect','43926DIVRlj','intersectionOf','calculateEarlyStartDateConstraintIntervals','onNonEmptyEffectiveInterval','doCalculateEffectiveEndDateInterval','date','unlink','prototype','hasSubEvents','scheduleMixinClass','calculateMaxChildrenEndDate','calculateEffectiveDuration','671380BzXxZI','isManuallyScheduled','isConstrained','constructor','4920968efMUJY','effectiveDirection','enterGraph','calculateStartDateProposed','418904OACUZU','12OKpYOl','defineProperty','startDateConstraintIntervals','calculateMinChildrenStartDate','decorate','calculateLateEndDateConstraintIntervals','shouldRollupChildLateStartDate','5366067KlIWdJ','direction','endDateConstraintIntervals','doCalculateEffectiveStartDateInterval','length'];_ena=function(){return F;};return _ena();}import{HasSubEventsMixin}from'../scheduler_basic/HasSubEventsMixin.js';import{ConstrainedScheduleMixin}from'./ConstrainedScheduleMixin.js';import{HasPercentDoneMixin}from'./HasPercentDoneMixin.js';class ConstrainedEarlyEventMixin extends Mixin([HasSubEventsMixin,HasPercentDoneMixin],a=>{const b=a[n(0x36,0x42)];class c extends a{get['earlyPreSchedule'](){function o(a,b){return n(b-0xba,a);}return this[o(0x130,0x120)];}get[n(0x66,0x5e)](){if(this[p(0x411,0x409)]!==void 0x0)return this[p(0x411,0x411)];function p(a,b){return n(a-0x3aa,b);}const d=new this[(p(0x3e8,0x3ed))][(p(0x3e2,0x3f9))]({'id':p(0x410,0x3fa)},null,null,![],!![]);d[p(0x405,0x3e9)]=this;return this['_earlySchedule']=d;}[n(0x41,0x2a)](d){super[q(0x10e,0x125)](d);function q(a,b){return n(b-0xe4,a);}this['earlySchedule'][q(0x11c,0x125)](d);}[n(0x55,0x3d)](d){function r(a,b){return n(b-0x45e,a);}this[r(0x4b5,0x4c4)][r(0x49e,0x4b3)](d);super[r(0x4bc,0x4b3)](d);}['unlink'](...d){this['earlySchedule']['unlink'](...d);function s(a,b){return n(b- -0x1d4,a);}super[s(-0x1bc,-0x19f)](...d);}*[n(0x54,0x45)](){function t(a,b){return n(b- -0xb2,a);}return yield this[t(-0x2c,-0x4c)]['$'][t(-0x52,-0x53)];}*['calculateEarlyEndDate'](){function u(a,b){return n(b- -0xb0,a);}return yield this[u(-0x2d,-0x4a)]['$'][u(-0x6b,-0x4f)];}*[n(0x6c,0x7b)](){return[];}*[n(0x6b,0x66)](){return[];}*[n(0x70,0x59)](){return[];}*[n(0x60,0x41)](){return[];}*['calculateLateStartDateConstraintIntervals'](){return[];}*[n(0x49,0x2a)](){return[];}*['shouldRollupChildEarlyStartDate'](d){return!![];}*[n(0x62,0x56)](d){return!![];}*[n(0x4a,0x32)](d){return!![];}*[n(0x63,0x74)](d){return!![];}*[n(0x59,0x3a)](){const d=yield this['$'][v(0x113,0x107)];function v(a,b){return n(b-0xc7,a);}let e;const f=yield*this[v(0xf5,0x103)]();if(!f&&!(yield this['$'][v(0x125,0x125)])&&(yield*this[v(0x11a,0x119)](d[v(0x115,0x113)]))){if(yield*this[v(0x117,0xfe)]()){return yield*this['calculateMinChildrenStartDate']();}e=yield this['pickDirectionSchedule'](d[v(0xff,0x113)])['$'][v(0x13d,0x126)];}return e||(yield*b['calculateStartDatePure'][v(0x131,0x130)](this));}*[n(0x42,0x5c)](){const d=yield this['$']['effectiveDirection'];let e;const f=yield*this[w(0x4e1,0x4f9)]();if(!f&&!(yield this['$'][w(0x530,0x51b)])&&(yield*this[w(0x51d,0x50f)](d[w(0x50a,0x509)]))){if(yield*this[w(0x4e8,0x4f4)]()){return yield*this[w(0x51a,0x504)]();}e=yield this[w(0x52d,0x519)](d[w(0x521,0x509)])['$']['startDate'];}function w(a,b){return n(b-0x4bd,a);}return e||(yield*b['calculateStartDateProposed']['call'](this));}*[n(0x65,0x76)](){const d=yield this['$']['effectiveDirection'];let e;const f=yield*this[x(0x3bd,0x39f)]();function x(a,b){return n(a-0x381,b);}if(!f&&!(yield this['$'][x(0x3df,0x3e5)])&&(yield*this[x(0x3d3,0x3ea)](d[x(0x3cd,0x3cf)]))){if(yield*this[x(0x3b8,0x3c8)]()){return yield*this[x(0x3ba,0x3aa)]();}e=yield this[x(0x3dd,0x3f7)](d['direction'])['$'][x(0x3e2,0x3cc)];}return e||(yield*b[x(0x3e6,0x3d7)][x(0x3ea,0x401)](this));}*[n(0x53,0x39)](){function y(a,b){return n(b-0x3c9,a);}const d=yield this['$'][y(0x3f1,0x409)];let e;const f=yield*this[y(0x41d,0x405)]();if(!f&&!(yield this['$']['unscheduled'])&&(yield*this[y(0x3ff,0x41b)](d['direction']))){if(yield*this[y(0x409,0x400)]()){return yield*this['calculateMaxChildrenEndDate']();}e=yield this[y(0x430,0x425)](d[y(0x41a,0x415)])['$'][y(0x441,0x42a)];}return e||(yield*b[y(0x411,0x41c)]['call'](this));}*[n(0x52,0x3b)](d){function z(a,b){return n(a- -0x25,b);}return yield*this[z(0x41,0x2e)][z(0x18,0x11)]();}[n(0x5c,0x58)](d){function A(a,b){return n(a-0x33f,b);}return this[A(0x3a5,0x3c2)];}*['createConflictEffect'](d,e){const f=d==='start'?yield*e[B(-0x103,-0xea)](!![]):yield*e[B(-0x11e,-0x134)](!![]);function B(a,b){return n(a- -0x151,b);}return ConflictEffect['new']({'intervals':[...f[B(-0xe2,-0xe9)]],'sourceSchedule':e});}*['onEmptyEffectiveInterval'](d,e){function C(a,b){return n(b-0x397,a);}const f=yield*this[C(0x400,0x404)](d,e);if((yield f)===EffectResolutionResult['Cancel']){yield Reject(f);return{'kind':'resume'};}else{return{'kind':'return','value':null};}}*[n(0x71,0x67)](d,e){}*['getDateShifter'](d){const e=this;const f=yield*this['calculateEffectiveDuration']();if(f==null){return null;}return function*(g){function D(a,b){return _enb(b-0x250,a);}return yield*e[D(0x37c,0x390)](g,d,f);};}*[n(0x5d,0x78)](){function E(a,b){return n(a- -0x189,b);}let d=yield*super[E(-0x12c,-0x139)]();if(d){const e=yield*this[E(-0x14f,-0x157)]();d=e>0x0;}return d;}}c[n(0x38,0x25)]=ConstrainedScheduleMixin;__decorate([model_field({'type':n(0x34,0x2f),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![],'cacheValue':!![]})],c[n(0x36,0x4e)],n(0x64,0x5f),void 0x0);__decorate([model_field({'type':n(0x34,0x31),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![],'cacheValue':!![]})],c[n(0x36,0x43)],n(0x57,0x42),void 0x0);__decorate([field()],c[n(0x36,0x2e)],n(0x46,0x52),void 0x0);__decorate([field()],c['prototype'],n(0x4d,0x6b),void 0x0);function n(a,b){return _enb(a- -0xf0,b);}__decorate([calculate(n(0x64,0x84))],c['prototype'],n(0x54,0x4f),null);__decorate([calculate('earlyEndDate')],c[n(0x36,0x29)],'calculateEarlyEndDate',null);__decorate([calculate(n(0x46,0x35))],c[n(0x36,0x35)],n(0x6c,0x7d),null);__decorate([calculate(n(0x4d,0x4a))],c[n(0x36,0x38)],n(0x6b,0x7e),null);return c;}){}export{ConstrainedEarlyEventMixin};