@bryntum/engine-thin-trial 7.1.2 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,12 @@
1
+ <br>
2
+ <br>
3
+
1
4
  <p align="center">
2
- <a href="https://bryntum.com/" rel="noopener" target="_blank"><img width="350" src="https://bryntum.com/resources/bryntum_logo_blue.svg" alt="Bryntum logo"></a>
5
+ <a href="https://bryntum.com/" rel="noopener" target="_blank"><img height="50" src="https://bryntum.com/resources/bryntum_logo_blue.svg" alt="Bryntum logo"></a>
3
6
  </p>
4
7
 
8
+ <br>
9
+
5
10
  # Bryntum Engine Thin (Trial)
6
11
 
7
12
  Bryntum Scheduling Engine. It integrates smoothly with React, Vue, Angular, or plain vanilla JS.
@@ -1 +1 @@
1
- (function(a,b){const c=a();function A(a,b){return _enb(a-0x324,b);}while(!![]){try{const d=parseInt(A(0x4a2,0x488))/0x1*(-parseInt(A(0x48c,0x455))/0x2)+-parseInt(A(0x49a,0x4b1))/0x3+-parseInt(A(0x498,0x4be))/0x4*(-parseInt(A(0x4b2,0x4d8))/0x5)+-parseInt(A(0x4b4,0x4b6))/0x6*(-parseInt(A(0x463,0x44b))/0x7)+-parseInt(A(0x455,0x42b))/0x8*(parseInt(A(0x4c7,0x48b))/0x9)+-parseInt(A(0x484,0x468))/0xa*(parseInt(A(0x4d5,0x4cd))/0xb)+parseInt(A(0x4ab,0x4e1))/0xc*(parseInt(A(0x45c,0x44d))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x5981b));var __decorate=function(a,b,e,f){var g=arguments[B(0x46,0x4f)],h=g<0x3?b:f===null?f=Object[B(0x6e,0xa0)](b,e):f,j;function B(a,b){return _enb(b- -0xeb,a);}if(typeof Reflect===B(0xa4,0x64)&&typeof Reflect[B(0x88,0x6d)]==='function')h=Reflect[B(0x32,0x6d)](a,b,e,f);else for(var k=a[B(0x4e,0x4f)]-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[B(0x23,0x4c)](b,e,h),h;};import{Reject,RejectSymbol}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{TombStone}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Quark.js';import{Revision}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Revision.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x12b;let f=c[d];return f;};return _enb(a,b);}import{Transaction}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Transaction.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{Replica}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{prototypeValue,delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/Base.js';import _end from'@bryntum/core-thin/lib/localization/Localizable.js';import{EmptyCalendarSymbol}from'../quark/model/scheduler_basic/BaseCalendarMixin.js';import{format}from'../util/Functions.js';import{ConflictSymbol}from'./Conflict.js';import{IsChronoModelSymbol,ModelBucketField}from'./ModelFieldAtom.js';function _enC(a,b){return _enb(a- -0x2d0,b);}import{EffectResolutionResult,SchedulingIssueEffect,SchedulingIssueEffectResolution}from'./SchedulingIssueEffect.js';const CycleSymbol=Symbol(_enC(-0x174,-0x13c));class EngineRevision extends Revision{constructor(){super(...arguments);function D(a,b){return _enC(a-0x213,b);}this[D(0xdd,0x9f)]=new Map();this['proposedTimePhasedWrites']=[];}}function _ena(){const a7=['silenceInitialCommit','write','matchDependencyBySourceAndTargetEvent','isCommitting','batchChanges','getShortDescription','transactionChainEntries','calendarManagerStore','async','9713bRwCbC','context','entries','assignmentStore','RemoveDependencyCycleEffectResolution','autoCommit','Cancel','transactionClass','join','ignoreBag','toEvent','baseRevision','24GtwAZx','getDependencies','candidateClass','clear','self','forEach','defineProperty','2364635UemIMX','effect','length','dirty','isWritingData','afterChronoFieldSet','markSelfDependent','7vRzpbg','suspendAutoCommit','commitAsync','graph','isDestroyed','_onComputationCycle','DEBUG','_events','ignoreRecordChanges','proposedTimePhasedWrites','event','new','initialize','commitFinalized','ongoing','call','object','enableProgressNotifications','beforeChronoFieldSet','resourceStore','Time\x20to\x20visible','refresh','onComputationCycle','getEvents','finalizeCommitHook','decorate','beginBatch','isInitialCommitPerformed','hasEntryWithProposedValue','CycleSymbol','ignore','acceptChanges','getResolutions','10vyNmfR','values','hasVariableEntry','project','selfDependedMarked','dataReady','rejectedWith','removeDependencyCycleEffectResolutionClass','2nIYUVL','cancelBatch','type','_dependencies','autoCommitMode','Finalize\x20propagation','L{descriptionTpl}','fromEvent','addIdentifier','candidate','cycle','beforeCommit','4BuRkre','slice','1844694eiMBCE','delayCalculation','meta','progress','writeFailedResolutionInfo','suspendChangeTracking','isInitialCommit','hasLoadedDataToCommit','20647jdNJnB','isWritingPreviousData','commitRejected','getDependencyForSourceAndTargetEvents','startProgressNotificationsAfterMs','$name','beforeCommitAsync','ignoreInitialCommitComputationCycles','activeTransaction','36WFtKet','push','onComputationCycleHandlerSync','walkContext','getOwnPropertyDescriptor','cycleEffectClass','transaction','1601705YRIToP','emitProgressNotificationsEveryMs','1375230OgsZih','_resolutions','has','endBatch','hasChangesInStores','onComputationCycleHandler','get','onCycleSchedulingIssue','getValue','getDescription','failedResolutionReferences','CycleEffectDescription','timeEnd','\x22\x20->\x20\x22','isShadow','prototype','trigger','size','eventStore','276552eSJuPN','resumeChangeTracking','add','_descriptionBuilderClass','name'];_ena=function(){return a7;};return _ena();}class EngineTransaction extends Transaction{constructor(){function E(a,b){return _enC(b-0xe0,a);}super(...arguments);this[E(-0x97,-0xbd)]=EngineRevision;}[_enC(-0x185,-0x158)](a){function F(a,b){return _enC(b-0x282,a);}if(a[F(0xf1,0xf4)][F(0x156,0x115)]?.[F(0x131,0x129)]){a[F(0x10d,0x134)]=0x0;a[F(0x14e,0x141)]=0x64;}super[F(0x10b,0xfd)](a);this['candidate'][F(0x17a,0x14c)]=new Map(this['baseRevision'][F(0x119,0x14c)]);}[_enC(-0x192,-0x1c6)](){if(this[G(0x56,0x26)])return;function G(a,b){return _enC(a-0x1c2,b);}super[G(0x30,0x1f)]();this[G(0x34,0x3)]['isWritingPreviousData']++;this[G(0x22,0x5a)][G(0x3a,0xb)][G(0x28,-0x10)](([a,b])=>{const c=this[H(-0x40,0x2)][H(-0x5a,-0x1b)](a);function H(a,b){return G(b- -0xa3,a);}if(!c||!c['hasProposedValue']()){this['write'](a,b);}});this['graph'][G(0x71,0x6f)]--;}[_enC(-0x156,-0x178)](a){function I(a,b){return _enC(a-0x1bf,b);}a[I(0x25,0x4c)]((b,c)=>{function J(a,b){return I(b-0x1a4,a);}if(c[J(0x202,0x245)][J(0x1b2,0x1d5)]){this[J(0x224,0x23c)](c,b);}});}[_enC(-0x160,-0x149)](a,b,...c){const d=this[K(-0x5d,-0x9d)][K(-0x34,-0x3d)];if(d[K(-0x2d,0xb)]>0x0){this[K(-0x54,-0x71)](d);d['clear']();}function K(a,b){return _enC(a-0x102,b);}return super[K(-0x5e,-0x7e)](a,b,...c);}}class EngineReplica extends Mixin([Replica],a=>{function M(a,b){return _enC(b- -0x98,a);}const b=a['prototype'];class c extends a{constructor(){super(...arguments);this[L(0x4ce,0x48e)]=EngineRevision[L(0x4e8,0x4bb)]();this[L(0x4ca,0x49f)]=EngineTransaction;function L(a,b){return _enb(a-0x39e,b);}this[L(0x50a,0x512)]=L(0x54e,0x542);this[L(0x4f3,0x51b)]=L(0x4d7,0x4c0);this[L(0x52a,0x52d)]=CycleEffect;this[L(0x546,0x552)]=!![];this[L(0x523,0x53b)]=![];this[L(0x54c,0x58d)]=new Set();}get[M(-0x206,-0x22d)](){function N(a,b){return M(b,a-0x1cb);}const d=this['activeTransaction'];return d[N(0x16,0x54)][N(0x4,0x46)]>0x0&&(d[N(-0x3b,-0x2c)]||d[N(-0x42,-0x3c)]);}['onPropagationProgressNotification'](d){function O(a,b){return M(a,b-0x103);}if(this['enableProgressNotifications']&&this[O(-0xc1,-0x102)])this[O(-0xec,-0x102)][O(-0xfa,-0xc5)]?.(O(-0xf2,-0xec),d);}async[M(-0x22a,-0x227)](d){if(!this['project']||this['project'][P(0x3e,0x68)])return;if(this[P(0x80,0xab)][P(0xd3,0xd8)][P(0xde,0xc6)]===0x0&&!this[P(0x47,0x88)][P(0xe3,0xb9)]&&!this['isInitialCommit']){if(this[P(0xd2,0xd0)]){return this[P(0x5b,0x72)];}else{this[P(0x88,0x88)][P(0x44,0x7f)]=!![];this['isInitialCommit']=![];return{'rejectedWith':null};}}this[P(0x99,0x88)]['trigger'](P(0xb1,0x98));if(this[P(0x77,0xa1)]&&this[P(0x94,0xaa)]){this[P(0x68,0x69)]=this[P(0x3f,0x69)]||this['onComputationCycle'];this[P(0x78,0x7a)]=P(0x49,0x82);}function P(a,b){return M(a,b-0x28d);}const e=this[P(0xcb,0x88)][P(0x6a,0xa9)]();if(e)return e;return b[P(0x3f,0x66)][P(0x38,0x73)](this,d);}get['isInitialCommit'](){function Q(a,b){return M(b,a- -0x70);}return this['project']['isInitialCommit']||super['isInitialCommit']&&!this[Q(-0x275,-0x2ba)][Q(-0x27e,-0x24f)];}set[M(-0x1c8,-0x1ec)](d){function R(a,b){return M(a,b-0x66a);}super[R(0x439,0x47e)]=d;}[M(-0x1c6,-0x1bf)](d,e,...f){function S(a,b){return M(b,a-0x61a);}const g=d['field']?.[S(0x459,0x451)];const h=d['self'];if(g&&h&&this===h[S(0x3f4,0x41a)]){const i=h[S(0x403,0x3ce)]?.(g,e);b[S(0x45b,0x46b)][S(0x400,0x408)](this,d,e,...f);h[S(0x3ef,0x41c)]?.(g,e,i);}else{b['write'][S(0x400,0x3c1)](this,d,e,...f);}}async['finalizeCommitAsync'](d){const {project:e}=this;if(!e||e['isDestroyed'])return;e[T(-0x1cb,-0x1b9)]('finalizeCommit');const {entries:f,transaction:g}=d;const h=new Set();if(globalThis[T(-0x226,-0x1ed)])console['timeEnd'](T(-0x218,-0x240));const {isInitialCommit:i,silenceInitialCommit:j}=this;if(!f[T(-0x1ca,-0x1fd)]&&!e[T(-0x1ee,-0x22c)]){e[T(-0x1cb,-0x1de)](T(-0x21f,-0x211),{'isInitialCommit':i,'transactionResult':d});return;}const k=e[T(-0x214,-0x233)](i)===!![];if(k){for(const m of f[T(-0x20a,-0x1cd)]()){this[T(-0x1bd,-0x1d8)][T(-0x1c6,-0x206)](m);}return;}const l=i&&j;function T(a,b){return M(b,a- -0x3);}if(i){e['isInitialCommitPerformed']=!![];if(this[T(-0x1e6,-0x1dc)])this['onComputationCycle']=this['_onComputationCycle'];}e[T(-0x22f,-0x257)]=!![];e[T(-0x1ee,-0x1ad)]=![];if(this[T(-0x21b,-0x1da)]){e[T(-0x1cb,-0x1e4)](T(-0x1f2,-0x1c5),{'total':f[T(-0x1ca,-0x1d0)],'remaining':0x0,'phase':'finalizing'});}if(g[T(-0x205,-0x22a)]){e['trigger']('commitRejected',{'transactionResult':d,'isInitialCommit':i,'silenceCommit':l});}e[T(-0x1cb,-0x191)](T(-0x217,-0x257),{'isInitialCommit':i,'isCalculated':!![]});await delay(0x0);if(!e[T(-0x228,-0x222)]){if(!d['transaction'][T(-0x205,-0x1ee)]){e[T(-0x1f0,-0x1b8)]?.();if(globalThis['DEBUG'])console['time'](T(-0x1fe,-0x1c3));const n=new Set();const o=this[T(-0x1bd,-0x1d4)][T(-0x1ca,-0x1ce)]?this['transactionChainEntries']:f[T(-0x20a,-0x1e1)]();for(const q of o){const r=q['identifier'];const s=q[T(-0x1d3,-0x1d6)]();const {field:t}=r;if(q[T(-0x1cd,-0x19d)]()||!r[IsChronoModelSymbol]||s===TombStone||t instanceof ModelBucketField||t[T(-0x20e,-0x217)])continue;const u=r[T(-0x236,-0x274)];const v=u['firstStore'];if(!n['has'](u)){u[T(-0x212,-0x1e3)](!![]);n[T(-0x1c6,-0x1e1)](u);}if(v?.[T(-0x1b5,-0x193)]&&!h[T(-0x1d9,-0x205)](v)){v[T(-0x22b,-0x239)]();h[T(-0x1c6,-0x1c5)](v);}u[T(-0x1f3,-0x222)]['batchChanges'][t[T(-0x1c4,-0x1bd)]]=s;}let p=![];for(const w of n){if(!w['triggerBeforeUpdate']({...w[T(-0x1f3,-0x1f3)][T(-0x1bf,-0x195)]})){p=!![];break;}}if(p){for(const x of n){x[T(-0x202,-0x1c7)]();}d[T(-0x1de,-0x201)]['reject']();e[T(-0x1cb,-0x18d)](T(-0x1eb,-0x228),{'transactionResult':d,'isInitialCommit':i,'silenceCommit':l});e['trigger']('refresh',{'isInitialCommit':i,'isCalculated':!![]});}else{for(const y of n){y[T(-0x23d,-0x236)]=l||e[T(-0x224,-0x239)];y['generation']++;y[T(-0x1d8,-0x1fb)](l,!![],!![]);y[T(-0x23d,-0x234)]=![];}}e[T(-0x224,-0x24f)]=![];if(globalThis['DEBUG'])console[T(-0x1cf,-0x1f7)](T(-0x1fe,-0x22e));e[T(-0x22f,-0x240)]=![];if(!p){e[T(-0x1cb,-0x1de)](T(-0x206,-0x1d3),{'records':n,'isInitialCommit':i});}e[T(-0x1c7,-0x1cf)]?.(l);h[T(-0x235,-0x20e)](z=>z['resumeAutoCommit']());if(l){e[T(-0x1c9,-0x1c9)][T(-0x20d,-0x212)]();e['dependencyStore'][T(-0x20d,-0x1ed)]();e[T(-0x219,-0x22d)]['acceptChanges']();e[T(-0x1b7,-0x1bf)][T(-0x20d,-0x1d5)]();e[T(-0x1bc,-0x1d0)][T(-0x20d,-0x243)]();e['acceptChanges']();}}else{e[T(-0x22f,-0x24d)]=![];}this['transactionChainEntries'][T(-0x237,-0x200)]();e['trigger'](T(-0x21f,-0x22d),{'isInitialCommit':i,'transactionResult':d});}}*['onComputationCycleHandler'](d){function U(a,b){return M(b,a-0x1f);}if(this[U(-0x1f4,-0x232)]==='effect'){const e=this[U(-0x1e6,-0x1e1)]['cycleEffectClass'][U(-0x1ff,-0x1c6)]({'cycle':d});if((yield e)===EffectResolutionResult[U(-0x21e,-0x1f0)]){yield Reject(e);}}else{return yield*super[U(-0x1b4,-0x1d7)](d);}}[M(-0x1ca,-0x1df)](d,e){function V(a,b){return M(b,a-0x1e5);}if(this[V(-0x2e,0x11)]==='effect'){const f=this['project'][V(0x9,-0x2a)][V(-0x39,-0x76)]({'cycle':d});throw f;}else{return super['onComputationCycleHandlerSync'](d,e);}}async[CycleSymbol](d,e){function W(a,b){return M(a,b-0x685);}return this[W(0x43a,0x480)][W(0x4c5,0x4b4)](d,e);}async[EmptyCalendarSymbol](d,e){e[X(0x48a,0x46a)]['startNewEpoch']();function X(a,b){return M(a,b-0x648);}return this['project']['onEmptyCalendarSchedulingIssue'](d,e);}async[ConflictSymbol](d,e){e[Y(-0x228,-0x21a)]['startNewEpoch']();function Y(a,b){return M(b,a- -0x4a);}return this[Y(-0x24f,-0x20c)]['onConflictSchedulingIssue'](d,e);}[RejectSymbol](d,e){return super[RejectSymbol](d,e);}}return c;}){}class RemoveDependencyCycleEffectResolution extends _end(SchedulingIssueEffectResolution){[_enC(-0x137,-0x126)](){function Z(a,b){return _enC(b- -0x27,a);}return this['L'](Z(-0x155,-0x189));}['resolve'](a){a['remove']();}}RemoveDependencyCycleEffectResolution[_enC(-0x14d,-0x163)]=_enC(-0x11b,-0x132);class CycleEffectDescription extends _end(_enc){static['getDescription'](a){function a0(a,b){return _enC(a-0x5d3,b);}return format(this['L'](a0(0x471,0x4ad)),this['getShortDescription'](a));}static[_enC(-0x123,-0x12f)](a){const b=a[a1(0x20d,0x20a)]()[a1(0x22c,0x230)]();function a1(a,b){return _enC(a-0x387,b);}b[a1(0x23f,0x265)](b[0x0]);return'\x22'+b['map'](c=>c[a1(0x25e,0x26c)]||'#'+c['id'])[a1(0x1e4,0x204)](a1(0x254,0x21a))+'\x22';}}CycleEffectDescription['$name']=_enC(-0x135,-0x100);class CycleEffect extends SchedulingIssueEffect{constructor(){super(...arguments);this['handler']=CycleSymbol;}get['isCycleEffect'](){return!![];}[_enC(-0x17a,-0x1ba)](){function a2(a,b){return _enC(b-0x571,a);}if(!this[a2(0x414,0x3e7)]){const a=new Set();this[a2(0x424,0x413)][a2(0x454,0x413)][a2(0x39b,0x3d7)](({context:b})=>a[a2(0x401,0x446)](b[a2(0x3ae,0x3ea)]??b));this['_events']=[...a];}return this[a2(0x3b6,0x3e7)];}[_enC(-0x126,-0x10a)](a,b,c){function a3(a,b){return _enC(b-0x60,a);}return a[a3(-0xec,-0x101)]===b&&a[a3(-0x14f,-0x141)]===c;}[_enC(-0x14f,-0x15d)](a,b){const c=this[a4(0xb3,0xe0)]();const d=c[0x0][a4(0xc0,0xee)];function a4(a,b){return _enC(a-0x22d,b);}const e=d['getDependencyStore']();return e['find'](f=>this[a4(0x107,0xf4)](f,a,b));}[_enC(-0x19e,-0x19d)](){function a5(a,b){return _enC(a-0xf4,b);}if(!this[a5(-0x71,-0x81)]){const a=new Set();const b=this['getEvents']();const c=b['length'];let d=b[0x0],e;if(c===0x1){if(e=this[a5(-0x5b,-0x3d)](d,d)){a[a5(-0x37,-0x3b)](e);}}else{for(const f of b){for(const g of b){if(e=this[a5(-0x5b,-0x3f)](f,g)){a[a5(-0x37,-0x10)](e);}if(e=this[a5(-0x5b,-0x79)](g,f)){a[a5(-0x37,-0x59)](e);}}}}this[a5(-0x71,-0x78)]=[...a];}return this[a5(-0x71,-0x42)];}[_enC(-0x171,-0x148)](){if(!this[a6(-0x123,-0x110)]){this[a6(-0x123,-0x131)]=[this[a6(-0x14d,-0x156)]['new']()];}function a6(a,b){return _enC(a-0x1c,b);}return this[a6(-0x123,-0x11b)];}}__decorate([prototypeValue(_enC(-0x15e,-0x18a))],CycleEffect[_enC(-0x131,-0x114)],_enC(-0x166,-0x152),void 0x0);__decorate([prototypeValue(CycleEffectDescription)],CycleEffect[_enC(-0x131,-0x174)],_enC(-0x12a,-0xf8),void 0x0);__decorate([prototypeValue(RemoveDependencyCycleEffectResolution)],CycleEffect[_enC(-0x131,-0x111)],_enC(-0x169,-0x188),void 0x0);export{CycleEffect,CycleEffectDescription,CycleSymbol,EngineReplica,EngineRevision,EngineTransaction,RemoveDependencyCycleEffectResolution};
1
+ (function(a,b){function B(a,b){return _enb(a-0x3cf,b);}const c=a();while(!![]){try{const d=parseInt(B(0x5ee,0x600))/0x1+-parseInt(B(0x5ef,0x61a))/0x2+parseInt(B(0x610,0x5cc))/0x3*(-parseInt(B(0x620,0x64d))/0x4)+-parseInt(B(0x605,0x627))/0x5+parseInt(B(0x5e1,0x614))/0x6+-parseInt(B(0x626,0x62f))/0x7+parseInt(B(0x614,0x5d1))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x862fa));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[C(-0x90,-0x74)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[C(-0xbd,-0xe5)]===C(-0x95,-0x89))h=Reflect['decorate'](a,b,e,f);else for(var k=a[C(-0x83,-0x76)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function C(a,b){return _enb(a- -0x2be,b);}return g>0x3&&h&&Object[C(-0x7c,-0x88)](b,e,h),h;};import{Reject,RejectSymbol}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{TombStone}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Quark.js';import{Revision}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Revision.js';import{Transaction}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Transaction.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{Replica}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{prototypeValue,delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/Base.js';import _end from'@bryntum/core-thin/lib/localization/Localizable.js';import{EmptyCalendarSymbol}from'../quark/model/scheduler_basic/BaseCalendarMixin.js';function _enD(a,b){return _enb(a-0x15a,b);}import{format}from'../util/Functions.js';function _ena(){const a7=['enableProgressNotifications','CycleSymbol','onComputationCycleHandler','hasLoadedDataToCommit','Finalize\x20propagation','call','proposedTimePhasedWrites','isDestroyed','getEvents','resourceStore','Cancel','commitRejected','acceptChanges','timeEnd','finalizeCommitAsync','transactionClass','getDependencyStore','commitFinalized','trigger','removeDependencyCycleEffectResolutionClass','ignoreBag','reject','markSelfDependent','resumeAutoCommit','preventSilencingOnIssueResolve','clear','write','\x22\x20->\x20\x22','async','getValue','decorate','CycleEffectDescription','hasChangesInStores','fromEvent','transactionChainEntries','startProgressNotificationsAfterMs','hasResolvedSchedulingIssue','size','isCycleEffect','generation','map','hasEntryWithProposedValue','activeTransaction','dataReady','effect','calendarManagerStore','matchDependencyBySourceAndTargetEvent','4704402NnOZIO','slice','$name','_onComputationCycle','endBatch','beforeCommitAsync','addIdentifier','ignoreRecordChanges','initialize','getShortDescription','resumeChangeTracking','Time\x20to\x20visible','beginBatch','984338zqTetA','1601074YjKGdS','delayCalculation','onCycleSchedulingIssue','beforeCommit','progress','triggerBeforeUpdate','isWritingPreviousData','suspendAutoCommit','new','function','dependencyStore','_dependencies','DEBUG','_events','getOwnPropertyDescriptor','L{descriptionTpl}','baseRevision','finalizeCommit','onEmptyCalendarSchedulingIssue','cycleEffectClass','isInitialCommit','toEvent','4646785GJyWZO','entries','assignmentStore','autoCommit','cycle','length','event','dirty','writeFailedResolutionInfo','has','transaction','9yBsEQG','defineProperty','onComputationCycleHandlerSync','suspendChangeTracking','13954584ZiXWwL','hasProposedValue','meta','failedResolutionReferences','find','onConflictSchedulingIssue','onComputationCycle','add','isInitialCommitPerformed','cancelBatch','ignoreInitialCommitComputationCycles','prototype','1056604nHsmbP','onPropagationProgressNotification','isCommitting','commitAsync','rejectedWith','identifier','3085285jvNrBm','self','isWritingData','context','_resolutions','values','ignore','join','project','getDependencyForSourceAndTargetEvents','forEach','getDependencies','firstStore','handler','silenceInitialCommit','graph','autoCommitMode','name','_descriptionBuilderClass','getDescription','hasVariableEntry','walkContext','getResolutions'];_ena=function(){return a7;};return _ena();}import{ConflictSymbol}from'./Conflict.js';import{IsChronoModelSymbol,ModelBucketField}from'./ModelFieldAtom.js';import{EffectResolutionResult,SchedulingIssueEffect,SchedulingIssueEffectResolution}from'./SchedulingIssueEffect.js';const CycleSymbol=Symbol(_enD(0x33e,0x32f));class EngineRevision extends Revision{constructor(){super(...arguments);function E(a,b){return _enD(a-0xc3,b);}this[E(0x465,0x463)]=new Map();this['proposedTimePhasedWrites']=[];}}class EngineTransaction extends Transaction{constructor(){super(...arguments);this['candidateClass']=EngineRevision;this['hasResolvedSchedulingIssue']=![];}[_enD(0x374,0x3ac)](a){function F(a,b){return _enD(a-0xf7,b);}if(a[F(0x4b7,0x4c6)][F(0x4b0,0x4cc)]?.[F(0x472,0x472)]){a[F(0x457,0x462)]=0x0;a['emitProgressNotificationsEveryMs']=0x64;}super[F(0x46b,0x43e)](a);this['candidate'][F(0x499,0x45d)]=new Map(this[F(0x481,0x478)][F(0x499,0x4d2)]);}[_enD(0x353,0x374)](){if(this['selfDependedMarked'])return;super['markSelfDependent']();this[G(0x3ec,0x42c)][G(0x3ac,0x3be)]++;function G(a,b){return _enD(a-0x2c,b);}this[G(0x3b6,0x38a)][G(0x36f,0x38d)][G(0x3e7,0x3a1)](([a,b])=>{const c=this['entries']['get'](a);function H(a,b){return G(b- -0x180,a);}if(!c||!c[H(0x243,0x24c)]()){this[H(0x1d5,0x203)](a,b);}});this['graph'][G(0x3ac,0x38f)]--;}[_enD(0x398,0x3da)](a){a['forEach']((b,c)=>{function I(a,b){return _enb(b-0x9b,a);}if(c[I(0x304,0x2f5)][I(0x2d0,0x301)]){this[I(0x2a3,0x298)](c,b);}});}['addIdentifier'](a,b,...c){function J(a,b){return _enD(b-0x51,a);}const d=this['candidate'][J(0x3e3,0x3f3)];if(d[J(0x3b9,0x3b3)]>0x0){this[J(0x40a,0x3e9)](d);d[J(0x3b3,0x3a7)]();}return super[J(0x39b,0x3c3)](a,b,...c);}}class EngineReplica extends Mixin([Replica],a=>{const b=a[K(0x248,0x22b)];class c extends a{constructor(){super(...arguments);this['baseRevision']=EngineRevision[L(0x57c,0x57d)]();this[L(0x546,0x53c)]=EngineTransaction;this[L(0x5bb,0x5eb)]=L(0x553,0x55f);this['onComputationCycle']=L(0x563,0x599);this[L(0x587,0x581)]=CycleEffect;this[L(0x5b9,0x593)]=!![];this[L(0x54f,0x536)]=!![];this[L(0x5a3,0x5c6)]=![];function L(a,b){return K(a-0x35c,b);}this[L(0x559,0x528)]=new Set();}get[K(0x235,0x234)](){const d=this[M(0x1a,0x57)];function M(a,b){return K(a- -0x1eb,b);}return d[M(0x44,0x3a)][M(0x15,0xb)]>0x0&&(d[M(0x78,0xa7)]||d[M(0x19,-0x17)]);}[K(0x24a,0x20f)](d){function N(a,b){return K(b-0x5a,a);}if(this[N(0x205,0x235)]&&this['project'])this[N(0x28e,0x2b1)][N(0x282,0x247)]?.(N(0x237,0x276),d);}async['commitAsync'](d){function O(a,b){return K(b-0x1dd,a);}if(!this[O(0x40e,0x434)]||this[O(0x3fe,0x434)][O(0x3e7,0x3bf)])return;if(this[O(0x3aa,0x3e2)][O(0x3fb,0x40c)][O(0x3e1,0x3dd)]===0x0&&!this[O(0x3f3,0x434)][O(0x418,0x3d8)]&&!this['isInitialCommit']){if(this[O(0x40e,0x428)]){return this['ongoing'];}else{this['project'][O(0x436,0x422)]=!![];this[O(0x3e4,0x409)]=![];return{'rejectedWith':null};}}this[O(0x44d,0x434)][O(0x406,0x3ca)](O(0x41c,0x3f8));if(this[O(0x3c3,0x409)]&&this[O(0x444,0x424)]){this[O(0x3fb,0x3ea)]=this[O(0x3dc,0x3ea)]||this[O(0x455,0x420)];this['onComputationCycle']=O(0x465,0x432);}const e=this[O(0x422,0x434)][O(0x3bf,0x3ec)]();if(e)return e;return b[O(0x465,0x429)]['call'](this,d);}get[K(0x22c,0x210)](){function P(a,b){return K(a-0x1fc,b);}return this[P(0x453,0x43f)][P(0x428,0x3fe)]||super[P(0x428,0x417)]&&!this[P(0x453,0x47f)]['isInitialCommitPerformed'];}set[K(0x22c,0x254)](d){function Q(a,b){return K(b-0x1f,a);}super[Q(0x290,0x24b)]=d;}[K(0x1f5,0x1f9)](d,e,...f){function R(a,b){return K(b-0xa9,a);}const g=d['field']?.['name'];const h=d[R(0x33a,0x2f9)];if(g&&h&&this===h[R(0x329,0x307)]){const i=h['beforeChronoFieldSet']?.(g,e);b[R(0x2be,0x29e)][R(0x264,0x289)](this,d,e,...f);h['afterChronoFieldSet']?.(g,e,i);}else{b[R(0x299,0x29e)][R(0x2b3,0x289)](this,d,e,...f);}}async[K(0x1e9,0x22a)](d){const {project:e}=this;if(!e||e[S(0x3e1,0x415)])return;e[S(0x429,0x420)](S(0x46d,0x45c));const {entries:f}=d,g=d[S(0x432,0x46b)],h=new Set();if(globalThis[S(0x499,0x457)])console[S(0x407,0x41b)](S(0x450,0x448));const {isInitialCommit:i,silenceInitialCommit:j,preventSilencingOnIssueResolve:k}=this;if(!f['size']&&!e[S(0x444,0x411)]){e['trigger'](S(0x3dc,0x41f),{'isInitialCommit':i,'transactionResult':d});return;}const l=e['finalizeCommitHook'](i)===!![];if(l){for(const n of f[S(0x48b,0x487)]()){this[S(0x43e,0x430)]['add'](n);}return;}const m=i&&j&&!(k&&g[S(0x416,0x432)]);if(i){e[S(0x467,0x478)]=!![];if(this[S(0x452,0x47a)])this[S(0x49c,0x476)]=this[S(0x46d,0x440)];}e['isWritingData']=!![];e[S(0x3d5,0x411)]=![];if(this[S(0x3fc,0x40e)]){e[S(0x3fc,0x420)](S(0x436,0x44f),{'total':f[S(0x415,0x433)],'remaining':0x0,'phase':'finalizing'});}if(g[S(0x4ae,0x480)]){e[S(0x401,0x420)](S(0x45a,0x419),{'transactionResult':d,'isInitialCommit':i,'silenceCommit':m});}e[S(0x40c,0x420)]('refresh',{'isInitialCommit':i,'isCalculated':!![]});function S(a,b){return K(b-0x233,a);}await delay(0x0);if(!e[S(0x40c,0x415)]){if(!d['transaction']['rejectedWith']){e[S(0x44e,0x46f)]?.();if(globalThis[S(0x472,0x457)])console['time'](S(0x420,0x412));const o=new Set();const p=this[S(0x43a,0x430)]['size']?this[S(0x439,0x430)]:f[S(0x483,0x487)]();for(const r of p){const s=r[S(0x48c,0x481)];const t=r[S(0x468,0x42b)]();const {field:u}=s;if(r['isShadow']()||!s[IsChronoModelSymbol]||t===TombStone||u instanceof ModelBucketField||u[S(0x479,0x488)])continue;const v=s[S(0x4a3,0x483)];const w=v[S(0x459,0x48e)];if(!o['has'](v)){v[S(0x481,0x449)](!![]);o[S(0x435,0x477)](v);}if(w?.[S(0x43e,0x464)]&&!h[S(0x463,0x46a)](w)){w[S(0x47e,0x452)]();h[S(0x486,0x477)](w);}v[S(0x474,0x472)]['batchChanges'][u[S(0x4be,0x493)]]=t;}let q=![];for(const x of o){if(!x[S(0x477,0x450)]({...x[S(0x43f,0x472)]['batchChanges']})){q=!![];break;}}if(q){for(const y of o){y[S(0x47d,0x479)]();}d[S(0x49b,0x46b)][S(0x453,0x423)]();e[S(0x444,0x420)](S(0x40f,0x419),{'transactionResult':d,'isInitialCommit':i,'silenceCommit':m});e['trigger']('refresh',{'isInitialCommit':i,'isCalculated':!![]});}else{for(const z of o){z['ignoreBag']=m||e[S(0x41e,0x444)];z[S(0x46f,0x435)]++;z[S(0x402,0x441)](m,!![],!![]);z[S(0x462,0x422)]=![];}}e[S(0x41a,0x444)]=![];if(globalThis[S(0x489,0x457)])console[S(0x3e6,0x41b)](S(0x3d6,0x412));e[S(0x4bf,0x484)]=![];if(!q){e[S(0x3e0,0x420)](S(0x3f9,0x439),{'records':o,'isInitialCommit':i});}e[S(0x450,0x447)]?.(m);h[S(0x455,0x48c)](A=>A[S(0x43a,0x425)]());if(m){e['eventStore'][S(0x403,0x41a)]();e[S(0x44b,0x455)][S(0x3f1,0x41a)]();e[S(0x43a,0x417)][S(0x41c,0x41a)]();e[S(0x4a2,0x463)][S(0x427,0x41a)]();e[S(0x412,0x43b)][S(0x415,0x41a)]();e[S(0x427,0x41a)]();}}else{e[S(0x4b0,0x484)]=![];}this[S(0x412,0x430)][S(0x44c,0x427)]();e[S(0x45f,0x420)]('commitFinalized',{'isInitialCommit':i,'transactionResult':d});}}*[K(0x1dd,0x1c0)](d){function T(a,b){return K(a-0x167,b);}if(this[T(0x3aa,0x3eb)]===T(0x36e,0x329)){const e=this[T(0x3be,0x3e2)][T(0x392,0x3c4)][T(0x387,0x3c5)]({'cycle':d});if((yield e)===EffectResolutionResult[T(0x34c,0x333)]){yield Reject(e);}}else{return yield*super[T(0x344,0x372)](d);}}[K(0x23b,0x27c)](d,e){function U(a,b){return K(b-0x10f,a);}if(this['onComputationCycle']==='effect'){const f=this['project'][U(0x31b,0x33a)][U(0x358,0x32f)]({'cycle':d});throw f;}else{return super['onComputationCycleHandlerSync'](d,e);}}async[CycleSymbol](d,e){function V(a,b){return K(b- -0x356,a);}return this[V(-0x12b,-0xff)][V(-0x172,-0x13c)](d,e);}async[EmptyCalendarSymbol](d,e){e['walkContext']['startNewEpoch']();function W(a,b){return K(a- -0x16d,b);}return this[W(0xea,0xcb)][W(0xbd,0x7e)](d,e);}async[ConflictSymbol](d,e){e[X(0x2f,-0x2)]['startNewEpoch']();function X(a,b){return K(a- -0x235,b);}return this[X(0x22,0x39)][X(0xd,-0x1a)](d,e);}[RejectSymbol](d,e){return super[RejectSymbol](d,e);}}function K(a,b){return _enD(a- -0x162,b);}return c;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1e3;let f=c[d];return f;};return _enb(a,b);}class RemoveDependencyCycleEffectResolution extends _end(SchedulingIssueEffectResolution){['getDescription'](){function Y(a,b){return _enD(b- -0x1cc,a);}return this['L'](Y(0x1fc,0x1bd));}['resolve'](a){a['remove']();}}RemoveDependencyCycleEffectResolution[_enD(0x36e,0x3aa)]='RemoveDependencyCycleEffectResolution';class CycleEffectDescription extends _end(_enc){static[_enD(0x3c4,0x405)](a){function Z(a,b){return _enD(a- -0x175,b);}return format(this['L'](Z(0x214,0x24f)),this[Z(0x200,0x228)](a));}static[_enD(0x375,0x36b)](a){function a0(a,b){return _enD(b- -0x59,a);}const b=a['getEvents']()[a0(0x2d2,0x314)]();b['push'](b[0x0]);return'\x22'+b[a0(0x2ee,0x30c)](c=>c[a0(0x36a,0x369)]||'#'+c['id'])[a0(0x37f,0x35f)](a0(0x31c,0x2ff))+'\x22';}}CycleEffectDescription['$name']=_enD(0x35c,0x382);class CycleEffect extends SchedulingIssueEffect{constructor(){super(...arguments);function a1(a,b){return _enD(a- -0x32f,b);}this[a1(0x8f,0x89)]=CycleSymbol;}get[_enD(0x363,0x326)](){return!![];}[_enD(0x345,0x32c)](){function a2(a,b){return _enD(a- -0x31e,b);}if(!this[a2(0x69,0x7c)]){const a=new Set();this[a2(0x76,0x37)][a2(0x76,0x92)][a2(0x9d,0x9e)](({context:b})=>a[a2(0x88,0xa3)](b[a2(0x78,0x68)]??b));this[a2(0x69,0x23)]=[...a];}return this[a2(0x69,0xae)];}[_enD(0x36b,0x37f)](a,b,c){function a3(a,b){return _enD(b- -0x47b,a);}return a[a3(-0x100,-0x11d)]===b&&a[a3(-0xf5,-0xec)]===c;}['getDependencyForSourceAndTargetEvents'](a,b){const c=this[a4(0x518,0x4d4)]();function a4(a,b){return _enD(a-0x1d3,b);}const d=c[0x0][a4(0x58c,0x5c5)];const e=d[a4(0x520,0x537)]();return e[a4(0x576,0x544)](f=>this[a4(0x53e,0x53c)](f,a,b));}[_enD(0x3bc,0x3b2)](){function a5(a,b){return _enD(b-0x1d3,a);}if(!this[a5(0x556,0x558)]){const a=new Set();const b=this[a5(0x4f9,0x518)]();const c=b[a5(0x537,0x568)];let d=b[0x0],e;if(c===0x1){if(e=this[a5(0x5a2,0x58d)](d,d)){a[a5(0x5bd,0x579)](e);}}else{for(const f of b){for(const g of b){if(e=this[a5(0x58e,0x58d)](f,g)){a[a5(0x5b8,0x579)](e);}if(e=this[a5(0x554,0x58d)](g,f)){a['add'](e);}}}}this[a5(0x53b,0x558)]=[...a];}return this[a5(0x55e,0x558)];}[_enD(0x3c7,0x404)](){function a6(a,b){return _enD(a-0x1b,b);}if(!this['_resolutions']){this[a6(0x3d0,0x3c7)]=[this['removeDependencyCycleEffectResolutionClass'][a6(0x39d,0x381)]()];}return this[a6(0x3d0,0x3b1)];}}__decorate([prototypeValue(_enD(0x394,0x362))],CycleEffect[_enD(0x3aa,0x38f)],'type',void 0x0);__decorate([prototypeValue(CycleEffectDescription)],CycleEffect['prototype'],_enD(0x3c3,0x3cc),void 0x0);__decorate([prototypeValue(RemoveDependencyCycleEffectResolution)],CycleEffect[_enD(0x3aa,0x37a)],_enD(0x350,0x35c),void 0x0);export{CycleEffect,CycleEffectDescription,CycleSymbol,EngineReplica,EngineRevision,EngineTransaction,RemoveDependencyCycleEffectResolution};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function g(a,b){return _enb(b- -0x309,a);}while(!![]){try{const d=parseInt(g(-0x142,-0x13f))/0x1*(-parseInt(g(-0x123,-0x125))/0x2)+parseInt(g(-0x12a,-0x137))/0x3+parseInt(g(-0x12f,-0x12b))/0x4*(-parseInt(g(-0x120,-0x12d))/0x5)+-parseInt(g(-0x137,-0x12f))/0x6*(-parseInt(g(-0x134,-0x129))/0x7)+-parseInt(g(-0x122,-0x124))/0x8*(-parseInt(g(-0x120,-0x12e))/0x9)+-parseInt(g(-0x13f,-0x13e))/0xa*(-parseInt(g(-0x146,-0x13c))/0xb)+-parseInt(g(-0x13c,-0x133))/0xc*(-parseInt(g(-0x122,-0x126))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xe1ad2));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import _enc from'@bryntum/core-thin/lib/mixin/Delayable.js';import _end from'@bryntum/core-thin/lib/mixin/Events.js';import _ene from'@bryntum/core-thin/lib/data/Model.js';class EventsWrapper extends Mixin([],_end){}class DelayableWrapper extends Mixin([],_enc){}class AbstractProjectMixin extends Mixin([EventsWrapper,DelayableWrapper,_ene],a=>{const b=a[h(0x47f,0x476)];function h(a,b){return _enb(a-0x2ac,b);}class c extends a{constructor(){super(...arguments);this['isRestoringData']=![];}get['isRepopulatingStores'](){return![];}get['isInitialCommit'](){function i(a,b){return h(a- -0x49e,b);}return!this[i(-0x23,-0x1f)]||this[i(-0x26,-0x29)];}[h(0x47c,0x488)](d={}){this['isInitialCommitPerformed']=![];this[j(0x2c8,0x2c2)]=![];this[j(0x2c0,0x2c5)]=![];this[j(0x2c2,0x2ba)]=![];const e=j(0x2b5,0x2bc)in d?d[j(0x2c5,0x2bc)]:!![];const f=j(0x2c8,0x2cb)in d?d[j(0x2d4,0x2cb)]:![];this[j(0x2bd,0x2c7)]=j(0x2d5,0x2c7)in d?d[j(0x2be,0x2c7)]:0x24b675dc00;delete d['maxCalendarRange'];delete d[j(0x2bf,0x2bc)];function j(a,b){return h(b- -0x1be,a);}delete d[j(0x2c4,0x2cb)];b['construct'][j(0x2d8,0x2d4)](this,d);this[j(0x2ba,0x2bc)]=e;this[j(0x2cf,0x2cb)]=f;}['repopulateStore'](d){}[h(0x48e,0x486)](){}[h(0x47d,0x487)](d,e,f){e(...f);}['attachStore'](d){}['detachStore'](d){}async[h(0x48b,0x485)](){function k(a,b){return h(b- -0x271,a);}throw new Error(k(0x207,0x210));}[h(0x484,0x47f)](){function l(a,b){return h(b-0x9a,a);}throw new Error(l(0x51d,0x51b));}[h(0x48d,0x49c)](){function m(a,b){return h(a- -0x2ff,b);}throw new Error(m(0x182,0x190));}}return c;}){}export{AbstractProjectMixin,DelayableWrapper,EventsWrapper};function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1ca;let f=c[d];return f;};return _enb(a,b);}function _ena(){const n=['383397kBrQQe','getStm','repopulateReplica','474253RvGYEb','67726vTDkMV','12016bSKvyq','call','20dblxIX','2175220jxTNCd','hasLoadedDataToCommit','22bZpczf','silenceInitialCommit','isInitialCommitPerformed','construct','deferUntilRepopulationIfNeeded','112671lugHYf','prototype','isLoadingInlineData','Abstract\x20method\x20called','408bQTwjg','isWritingData','isEngineReady','maxCalendarRange','102uJyNvA','747cNoRQC','5835490zvUzdj','adjustDurationToDST','4BTRCgE','commitAsync'];_ena=function(){return n;};return _ena();}
1
+ (function(a,b){function h(a,b){return _enb(b- -0x310,a);}const c=a();while(!![]){try{const d=-parseInt(h(-0x1be,-0x1b2))/0x1+-parseInt(h(-0x1a1,-0x19d))/0x2+parseInt(h(-0x1a9,-0x1a5))/0x3+parseInt(h(-0x1a5,-0x19e))/0x4+-parseInt(h(-0x1b2,-0x1b4))/0x5*(parseInt(h(-0x1b7,-0x1af))/0x6)+-parseInt(h(-0x19b,-0x19a))/0x7+parseInt(h(-0x19b,-0x19c))/0x8*(parseInt(h(-0x1a7,-0x19b))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x4aa51));function _ena(){const o=['376EtQiJE','168039HMzTjP','2356851ViNZEE','isLoadingInlineData','10yMswIG','isEngineReady','452103YmpVOh','detachStore','preventSilencingOnIssueResolve','1523514FMFMNy','isRestoringData','isInitialCommitPerformed','construct','silenceInitialCommit','adjustDurationToDST','hasLoadedDataToCommit','repopulateStore','isWritingData','getStm','1415712iqOVnZ','Abstract\x20method\x20called','maxCalendarRange','commitAsync','call','isRepopulatingStores','prototype','2221648EVjJJV','604948HDtmjZ'];_ena=function(){return o;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import _enc from'@bryntum/core-thin/lib/mixin/Delayable.js';import _end from'@bryntum/core-thin/lib/mixin/Events.js';import _ene from'@bryntum/core-thin/lib/data/Model.js';class EventsWrapper extends Mixin([],_end){}class DelayableWrapper extends Mixin([],_enc){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x15b;let f=c[d];return f;};return _enb(a,b);}class AbstractProjectMixin extends Mixin([EventsWrapper,DelayableWrapper,_ene],a=>{function i(a,b){return _enb(b-0x338,a);}const b=a[i(0x49f,0x4a9)];class c extends a{constructor(){function j(a,b){return i(b,a- -0x38b);}super(...arguments);this[j(0x10f,0x10d)]=![];}get[i(0x4ac,0x4a8)](){return![];}get['isInitialCommit'](){function k(a,b){return i(a,b- -0x6d);}return!this[k(0x421,0x42e)]||this[k(0x426,0x432)];}[i(0x4a8,0x49c)](d={}){this[l(0x102,0xfa)]=![];this[l(0xf4,0xf2)]=![];this[l(0x10d,0x100)]=![];this[l(0x102,0xfe)]=![];const e=l(0x101,0xfc)in d?d[l(0x10a,0xfc)]:!![];const f=l(0xef,0xf7)in d?d['preventSilencingOnIssueResolve']:!![];const g='adjustDurationToDST'in d?d['adjustDurationToDST']:![];this[l(0x10a,0x104)]=l(0x10a,0x104)in d?d[l(0xf7,0x104)]:0x24b675dc00;delete d['maxCalendarRange'];delete d[l(0x102,0xfc)];delete d['preventSilencingOnIssueResolve'];function l(a,b){return i(a,b- -0x3a1);}delete d[l(0xf4,0xfd)];b[l(0x102,0xfb)][l(0x114,0x106)](this,d);this['silenceInitialCommit']=e;this[l(0xf0,0xf7)]=f;this[l(0x10b,0xfd)]=g;}[i(0x4a5,0x4a0)](d){}['repopulateReplica'](){}['deferUntilRepopulationIfNeeded'](d,e,f){e(...f);}['attachStore'](d){}[i(0x499,0x497)](d){}async[i(0x4a7,0x4a6)](){function m(a,b){return i(a,b- -0x53c);}throw new Error(m(-0x98,-0x98));}[i(0x4a2,0x495)](){function n(a,b){return i(b,a- -0x24b);}throw new Error(n(0x259,0x261));}[i(0x4ab,0x4a2)](){throw new Error('Abstract\x20method\x20called');}}return c;}){}export{AbstractProjectMixin,DelayableWrapper,EventsWrapper};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function l(a,b){return _enb(b- -0x37c,a);}while(!![]){try{const d=-parseInt(l(-0x165,-0x156))/0x1*(parseInt(l(-0x133,-0x14f))/0x2)+parseInt(l(-0x15c,-0x16b))/0x3*(parseInt(l(-0x197,-0x186))/0x4)+parseInt(l(-0x14a,-0x15d))/0x5*(-parseInt(l(-0x16e,-0x163))/0x6)+-parseInt(l(-0x16e,-0x17c))/0x7*(-parseInt(l(-0x18d,-0x17d))/0x8)+-parseInt(l(-0x17e,-0x17e))/0x9*(parseInt(l(-0x176,-0x173))/0xa)+parseInt(l(-0x16f,-0x17b))/0xb*(parseInt(l(-0x167,-0x171))/0xc)+-parseInt(l(-0x162,-0x161))/0xd*(parseInt(l(-0x160,-0x179))/0xe);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x9c56d));var __decorate=function(a,b,e,f){function m(a,b){return _enb(b-0x3f,a);}var g=arguments[m(0x23b,0x243)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===m(0x25a,0x25f)&&typeof Reflect['decorate']===m(0x266,0x26e))h=Reflect[m(0x271,0x26b)](a,b,e,f);else for(var k=a[m(0x24f,0x243)]-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;};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';function _ena(){const A=['scheduleMixinClass','10072RynSLp','resolved','phase2','boolean','event','normalizeUnit','phase1','calculateProjectedDuration','236349DLYfuL','104QBeABy','638834hvOpMb','408562fjmsjc','unlink','938hdEFCM','length','_latePreSchedule','earlyPreSchedule','pickOpposite','direction','350dyYBkS','_lateSchedule','96PtconJ','return','critical','calculateTotalSlack','isConstrainedAlongDirection','lateStartDate','1416zKNCcQ','earlySchedule','Backward','doCalculateEffectiveStartDateInterval','latePreSchedule','number','calculateLateStartDate','calculateCritical','1268946HoXWvH','endDate','92820ZQlxan','leaveGraph','isFirstPass','prototype','5vPfBQh','object','calculateLateEndDate','start','enterGraph','lateSchedule','slackUnit','20127PnGeCW','totalSlack','string','_earlyPreSchedule','pickDirectionSchedule','onEmptyEffectiveInterval','decorate','42gbNlPX','_earlySchedule','function','phase','constructor','lateEndDate','getProject','startDate'];_ena=function(){return A;};return _ena();}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(0x481,0x461)];class c extends a{get[n(0x447,0x449)](){function o(a,b){return n(a,b- -0xc6);}if(this['_earlyPreSchedule']!==void 0x0)return this[o(0x392,0x3a6)];const d=this['constructor'][o(0x389,0x372)];const e=new d({'id':o(0x399,0x383)},null,null,![],!![]);e['event']=this;e[o(0x391,0x3ad)]=o(0x384,0x379);return this[o(0x3ae,0x3a6)]=e;}get[n(0x475,0x455)](){if(this[p(0x6c,0x76)]!==void 0x0)return this['_earlySchedule'];const d=super[p(0x70,0x5a)];function p(a,b){return n(a,b- -0x3fb);}d['phase']=p(0x42,0x40);return this[p(0x67,0x76)]=d;}get[n(0x445,0x458)](){if(this['_latePreSchedule']!==void 0x0)return this[q(0x3fc,0x3dd)];const d=this['constructor'][q(0x3b1,0x3cd)];function q(a,b){return n(a,b- -0x6b);}const e=new d({'id':q(0x3ee,0x3ed)},null,null,![],!![]);e[q(0x3b7,0x3d2)]=this;e['direction']=Direction[q(0x3e2,0x3eb)];e[q(0x3ff,0x408)]='phase1';return this['_latePreSchedule']=e;}get[n(0x470,0x467)](){if(this[r(-0x1be,-0x1c3)]!==void 0x0)return this[r(-0x1b9,-0x1c3)];const d=this[r(-0x1ac,-0x19c)][r(-0x1cf,-0x1d8)];const e=new d({'id':'lateSchedule'},null,null,![],!![]);e[r(-0x1d6,-0x1d3)]=this;e[r(-0x1b2,-0x1c5)]=Direction[r(-0x1a1,-0x1ba)];e[r(-0x184,-0x19d)]='phase2';function r(a,b){return n(a,b- -0x610);}return this['_lateSchedule']=e;}[n(0x46c,0x466)](d){super[s(0x476,0x45a)](d);this[s(0x42c,0x43d)][s(0x447,0x45a)](d);function s(a,b){return n(a,b- -0xc);}this['latePreSchedule'][s(0x465,0x45a)](d);this[s(0x45a,0x45b)][s(0x476,0x45a)](d);}[n(0x468,0x45f)](d){this[t(-0x35,-0x30)][t(-0x45,-0x38)](d);this[t(-0x2d,-0x3f)][t(-0x1c,-0x38)](d);this[t(-0x4f,-0x4e)]['leaveGraph'](d);function t(a,b){return n(a,b- -0x497);}super[t(-0x44,-0x38)](d);}[n(0x425,0x445)](){function u(a,b){return n(a,b-0xb1);}this[u(0x523,0x518)][u(0x4d9,0x4f6)]();this[u(0x4f7,0x509)]['unlink']();this[u(0x4ea,0x4fa)][u(0x4e9,0x4f6)]();super['unlink']();}*['calculateLateStartDate'](){function v(a,b){return n(b,a- -0x4a6);}return yield this[v(-0x3f,-0x4a)]['$'][v(-0x6f,-0x79)];}*[n(0x450,0x464)](){return yield this['lateSchedule']['$']['endDate'];}*[n(0x461,0x451)](){function w(a,b){return n(a,b- -0x5e2);}const d=yield this[w(-0x1ad,-0x18d)]['$'][w(-0x1be,-0x1ab)];const e=yield this[w(-0x169,-0x17b)]['$'][w(-0x19f,-0x1ab)];const f=yield this['earlySchedule']['$'][w(-0x182,-0x185)];const g=yield this[w(-0x163,-0x17b)]['$'][w(-0x18b,-0x185)];const h=yield this['$'][w(-0x173,-0x17a)];let i;if(d&&e){i=yield*this[w(-0x196,-0x1a2)](d,e,h,void 0x0,!![]);}if(f&&g){const j=yield*this[w(-0x1a5,-0x1a2)](f,g,h,void 0x0,!![]);if(j<i)i=j;}return i;}*[n(0x463,0x45b)](){const d=yield this['$'][x(0x3c7,0x3d9)];function x(a,b){return n(b,a- -0xa3);}return typeof d==='number'&&d<=0x0;}*[n(0x453,0x452)](d){return yield*this['pickDirectionSchedule'](d)['isConstrained']();}[n(0x453,0x46d)](d){function y(a,b){return n(a,b- -0x15a);}return d===Direction['Forward']?this[y(0x2e7,0x2fb)]:this['lateSchedule'];}*[n(0x45f,0x46e)](d,e){function z(a,b){return n(b,a- -0x40d);}if(!(yield*e[z(0x53,0x46)]())){const f=this[z(0x69,0x4f)]();if(!f['bwcConflictPostpone']||f['ignoreConstraintsOnConflictDuringSecondPass']){const g=d===z(0x58,0x73)?yield*e[z(0x4a,0x36)](!![],!![]):yield*e['doCalculateEffectiveEndDateInterval'](!![],!![]);if(!g['isIntervalEmpty']()){return{'kind':z(0x2d,0x25),'value':g};}}return{'kind':z(0x42,0x45),'value':yield e[z(0x3d,0x1e)](this)['$'][d===z(0x58,0x51)?z(0x2a,0x12):'endDate']};}return yield*super['onEmptyEffectiveInterval'](d,e);}}function n(a,b){return _enb(b-0x243,a);}c['scheduleMixinClass']=Mixin([a['scheduleMixinClass'],ConstrainedLateScheduleMixin],d=>d);__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x46a,0x461)],n(0x44b,0x453),void 0x0);__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x457,0x461)],n(0x47b,0x475),void 0x0);__decorate([model_field({'type':n(0x46e,0x459),'persist':![],'calculated':!![]},{'lazy':!![],'persistent':![]})],c['prototype'],'totalSlack',void 0x0);__decorate([model_field({'type':n(0x44e,0x46b),'defaultValue':TimeUnit['Day'],'persist':![]},{'lazy':!![],'converter':_enc[n(0x43d,0x43e)],'persistent':![]})],c[n(0x44f,0x461)],n(0x459,0x468),void 0x0);__decorate([model_field({'type':n(0x433,0x43c),'defaultValue':![],'persist':![],'calculated':!![]},{'persistent':![],'lazy':!![]})],c[n(0x457,0x461)],n(0x460,0x450),void 0x0);__decorate([calculate(n(0x435,0x453))],c[n(0x450,0x461)],n(0x44e,0x45a),null);__decorate([calculate(n(0x462,0x475))],c[n(0x448,0x461)],'calculateLateEndDate',null);__decorate([calculate(n(0x452,0x46a))],c[n(0x46d,0x461)],n(0x46f,0x451),null);__decorate([calculate('critical')],c[n(0x45e,0x461)],n(0x474,0x45b),null);return c;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1f4;let f=c[d];return f;};return _enb(a,b);}export{ConstrainedLateEventMixin};
1
+ (function(a,b){const c=a();function l(a,b){return _enb(a- -0x2d4,b);}while(!![]){try{const d=-parseInt(l(-0x25b,-0x278))/0x1+parseInt(l(-0x26b,-0x287))/0x2+parseInt(l(-0x269,-0x269))/0x3+-parseInt(l(-0x24d,-0x255))/0x4+-parseInt(l(-0x258,-0x268))/0x5+-parseInt(l(-0x238,-0x256))/0x6+-parseInt(l(-0x240,-0x228))/0x7*(-parseInt(l(-0x255,-0x268))/0x8);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xd12cd));var __decorate=function(a,b,e,f){var g=arguments[m(-0x33f,-0x352)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===m(-0x334,-0x341)&&typeof Reflect['decorate']==='function')h=Reflect['decorate'](a,b,e,f);else for(var k=a[m(-0x33f,-0x324)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function m(a,b){return _enb(a- -0x3c9,b);}return g>0x3&&h&&Object[m(-0x32a,-0x333)](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';import{ConstrainedLateScheduleMixin}from'./ConstrainedLateScheduleMixin.js';function _ena(){const B=['isConstrained','_earlyPreSchedule','bwcConflictPostpone','doCalculateEffectiveStartDateInterval','onEmptyEffectiveInterval','endDate','4222116lAvapM','latePreSchedule','phase2','length','lateSchedule','lateStartDate','start','calculateCritical','unlink','pickDirectionSchedule','calculateLateEndDate','slackUnit','scheduleMixinClass','1603egvzXH','object','totalSlack','leaveGraph','calculateProjectedDuration','_latePreSchedule','enterGraph','critical','7461222VAFwuV','normalizeUnit','Day','defineProperty','number','_lateSchedule','ignoreConstraintsOnConflictDuringSecondPass','pickOpposite','Backward','earlySchedule','601764fyVmAk','event','1812204DYvvkR','date','prototype','phase1','direction','string','earlyPreSchedule','calculateLateStartDate','startDate','_earlySchedule','resolved','phase','Forward','getProject','795347QVQvsq','lateEndDate','boolean','6805450kttRje','constructor','calculateTotalSlack','153968gUooiK','`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'];_ena=function(){return B;};return _ena();}class ConstrainedLateEventMixin extends Mixin([ConstrainedByDependenciesEventMixin,HasChildrenMixin],a=>{const b=a[n(0x1e,0x1)];class c extends a{get[n(0x22,0x32)](){if(this[o(0x402,0x3ed)]!==void 0x0)return this[o(0x3fc,0x3ed)];const d=this[o(0x3d9,0x3e8)][o(0x3ec,0x3fe)];const e=new d({'id':o(0x3cb,0x3dc)},null,null,![],!![]);e[o(0x3ca,0x3d5)]=this;function o(a,b){return n(b-0x3ba,a);}e[o(0x3cb,0x3e1)]=o(0x3be,0x3d9);return this['_earlyPreSchedule']=e;}get['earlySchedule'](){if(this['_earlySchedule']!==void 0x0)return this['_earlySchedule'];const d=super[p(-0x315,-0x31a)];d[p(-0x31f,-0x30c)]=p(-0x2ff,-0x2f9);function p(a,b){return n(b- -0x333,a);}return this[p(-0x315,-0x30e)]=d;}get[n(0x39,0x38)](){function q(a,b){return n(a-0x42,b);}if(this[q(0x8c,0x85)]!==void 0x0)return this[q(0x8c,0xa2)];const d=this[q(0x70,0x5f)][q(0x86,0x6c)];const e=new d({'id':'latePreSchedule'},null,null,![],!![]);e[q(0x5d,0x7c)]=this;e['direction']=Direction[q(0x5a,0x76)];e['phase']=q(0x61,0x4e);return this[q(0x8c,0x83)]=e;}get[n(0x3c,0x2a)](){if(this[r(-0x168,-0x175)]!==void 0x0)return this[r(-0x168,-0x14e)];const d=this['constructor'][r(-0x176,-0x15e)];const e=new d({'id':r(-0x17e,-0x177)},null,null,![],!![]);e[r(-0x19f,-0x1b9)]=this;e[r(-0x19a,-0x17c)]=Direction[r(-0x1a2,-0x1b9)];e[r(-0x193,-0x1a5)]=r(-0x180,-0x16e);function r(a,b){return n(a- -0x1ba,b);}return this[r(-0x168,-0x157)]=e;}['enterGraph'](d){super[s(0x1f6,0x1da)](d);function s(a,b){return n(a-0x1ab,b);}this[s(0x1cd,0x1d7)][s(0x1f6,0x1e7)](d);this[s(0x1e4,0x1c5)][s(0x1f6,0x208)](d);this[s(0x1e7,0x1f6)][s(0x1f6,0x1e4)](d);}[n(0x48,0x34)](d){this[t(0x2ae,0x2a3)][t(0x2b9,0x2af)](d);this['latePreSchedule'][t(0x2cb,0x2af)](d);this['earlyPreSchedule'][t(0x2c1,0x2af)](d);function t(a,b){return n(b-0x267,a);}super['leaveGraph'](d);}[n(0x40,0x39)](){this[u(-0x101,-0x102)][u(-0xfd,-0x100)]();function u(a,b){return n(a- -0x13d,b);}this['latePreSchedule']['unlink']();this[u(-0x11b,-0x12a)]['unlink']();super[u(-0xfd,-0xf5)]();}*[n(0x23,0x30)](){return yield this['lateSchedule']['$']['startDate'];}*[n(0x42,0x47)](){function v(a,b){return n(b- -0x2b7,a);}return yield this['lateSchedule']['$'][v(-0x27c,-0x280)];}*[n(0x2f,0x4e)](){const d=yield this['earlySchedule']['$'][w(0x3f9,0x3dc)];const e=yield this['lateSchedule']['$'][w(0x3f9,0x3e0)];const f=yield this['earlySchedule']['$']['endDate'];const g=yield this['lateSchedule']['$']['endDate'];const h=yield this['$'][w(0x418,0x40a)];function w(a,b){return n(a-0x3d5,b);}let i;if(d&&e){i=yield*this[w(0x41e,0x416)](d,e,h,void 0x0,!![]);}if(f&&g){const j=yield*this[w(0x41e,0x436)](f,g,h,void 0x0,!![]);if(j<i)i=j;}return i;}*[n(0x3f,0x20)](){const d=yield this['$'][x(-0x10c,-0x120)];function x(a,b){return n(a- -0x153,b);}return typeof d===x(-0x102,-0xea)&&d<=0x0;}*['isConstrainedAlongDirection'](d){function y(a,b){return n(a- -0xb6,b);}return yield*this['pickDirectionSchedule'](d)[y(-0x84,-0x85)]();}[n(0x41,0x42)](d){function z(a,b){return n(a- -0x147,b);}return d===Direction[z(-0x11f,-0x12c)]?this[z(-0x12e,-0x14c)]:this[z(-0x10b,-0x120)];}*[n(0x36,0x2f)](d,e){if(!(yield*e['isFirstPass']())){const f=this[A(0x381,0x375)]();if(!f[A(0x38c,0x37b)]||f[A(0x3ab,0x3a9)]){const g=d==='start'?yield*e[A(0x38d,0x39f)](!![],!![]):yield*e['doCalculateEffectiveEndDateInterval'](!![],!![]);if(!g['isIntervalEmpty']()){return{'kind':A(0x37e,0x366),'value':g};}}return{'kind':'return','value':yield e[A(0x3ac,0x3ab)](this)['$'][d===A(0x396,0x391)?A(0x37c,0x395):A(0x38f,0x3a5)]};}function A(a,b){return n(a-0x358,b);}return yield*super[A(0x38e,0x372)](d,e);}}c[n(0x44,0x30)]=Mixin([a[n(0x44,0x5d)],ConstrainedLateScheduleMixin],d=>d);__decorate([model_field({'type':n(0x1d,-0x1),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x1e,0x3a)],n(0x3d,0x50),void 0x0);__decorate([model_field({'type':n(0x1d,0x1d),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x1e,0x2b)],'lateEndDate',void 0x0);__decorate([model_field({'type':n(0x51,0x4c),'persist':![],'calculated':!![]},{'lazy':!![],'persistent':![]})],c['prototype'],n(0x47,0x3a),void 0x0);__decorate([model_field({'type':n(0x21,0x36),'defaultValue':TimeUnit[n(0x4f,0x38)],'persist':![]},{'lazy':!![],'converter':_enc[n(0x4e,0x41)],'persistent':![]})],c[n(0x1e,0x7)],n(0x43,0x41),void 0x0);__decorate([model_field({'type':n(0x2c,0x22),'defaultValue':![],'persist':![],'calculated':!![],'description':n(0x31,0x45)},{'persistent':![],'lazy':!![]})],c[n(0x1e,0x19)],n(0x4c,0x51),void 0x0);function n(a,b){return _enb(a- -0x4f,b);}__decorate([calculate(n(0x3d,0x52))],c['prototype'],'calculateLateStartDate',null);__decorate([calculate(n(0x2b,0x3d))],c['prototype'],n(0x42,0x46),null);__decorate([calculate(n(0x47,0x5f))],c[n(0x1e,0x26)],n(0x2f,0x4c),null);__decorate([calculate(n(0x4c,0x43))],c[n(0x1e,0x2a)],n(0x3f,0x59),null);return c;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x67;let f=c[d];return f;};return _enb(a,b);}export{ConstrainedLateEventMixin};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function i(a,b){return _enb(b-0x373,a);}while(!![]){try{const d=-parseInt(i(0x46e,0x463))/0x1*(parseInt(i(0x453,0x46a))/0x2)+parseInt(i(0x461,0x47a))/0x3+parseInt(i(0x45b,0x45c))/0x4*(parseInt(i(0x465,0x468))/0x5)+-parseInt(i(0x448,0x45b))/0x6+-parseInt(i(0x471,0x459))/0x7*(-parseInt(i(0x491,0x47c))/0x8)+parseInt(i(0x489,0x472))/0x9*(parseInt(i(0x467,0x456))/0xa)+-parseInt(i(0x46a,0x46c))/0xb*(parseInt(i(0x47e,0x482))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x45b12));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ChronoModelMixin}from'../../../chrono/ChronoModelMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xdf;let f=c[d];return f;};return _enb(a,b);}import{ConflictEffect}from'../../../chrono/Conflict.js';function _ena(){const y=['calculation','calendarManagerStore','onCycleSchedulingIssue','298632YZnizj','commitAsync','setStoreCalculations','eventStore','prototype','onEmptyCalendarSchedulingIssue','modelClass','1220KcUiBz','isInitialCommitPerformed','replica','7847PcAgzJ','setModelCalculations','760110ONFQiP','1083332jcgCNJ','delayedCalculationPromise','isDelayingCalculation','trigger','Cancel','hasListener','enterReplica','3997lTAFEp','type','$calculations','getSchedulingIssueEventArguments','assign','5BwjiSx','setCalculations','142OIngOV','setRecordCalculations','286ZNjYfc','onSchedulingIssueCall','invalidateTemporaryIndices','$entity','dependencyStore','now','6723HEWMXG','constructor','assignmentStore','keys','conflict','forEach','resourceStore','$skeleton','1332120XTjHJN','project','3832rxciDL','first','repopulateReplica'];_ena=function(){return y;};return _ena();}import{AbstractProjectMixin}from'../AbstractProjectMixin.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';class ChronoAbstractProjectMixin extends Mixin([ChronoModelMixin,AbstractProjectMixin],a=>{const b=a[j(-0x7d,-0x6d)];class c extends a{get[j(-0x72,-0x83)](){function k(a,b){return j(a-0x411,b);}return Boolean(this['delayEnteringReplica']||this[k(0x39e,0x3a1)]);}['getGraph'](){function l(a,b){return j(b-0x24c,a);}return this[l(0x1cc,0x1d4)];}['beforeCommitAsync'](){return null;}[j(-0x6e,-0x81)](d){}['acceptChanges'](){}['finalizeCommitHook'](d){return![];}[j(-0x62,-0x65)](){}async[j(-0x4d,-0x34)](){function m(a,b){return j(b-0x90,a);}if(this['delayedCalculationPromise']){return this[m(0x30,0x1d)];}else{if(this[m(0x16,0x18)]){return this[m(0x24,0x18)][m(0x5a,0x43)]();}else{this[m(0x28,0x17)]=!![];}}}[j(-0x6a,-0x7e)](d,e,f,g){function n(a,b){return j(a-0x48e,b);}const h=[d[n(0x422,0x42e)],{'continueWithResolutionResult':f,'schedulingIssue':d}];if(d instanceof ConflictEffect)h[0x1][n(0x434,0x433)]=d;return h;}async[j(-0x63,-0x4c)](d,e){if(d['type']&&this[o(-0x1c9,-0x1cd)](d[o(-0x1ce,-0x1ca)])){return new Promise((f,g)=>{function p(a,b){return o(b,a-0x68d);}this[p(0x4be,0x4b7)](...this[p(0x4c5,0x4de)](d,e,f,g));});}function o(a,b){return j(b- -0x15e,a);}return EffectResolutionResult[o(-0x1b6,-0x1ce)];}async[j(-0x4f,-0x51)](d,e){function q(a,b){return j(b-0x17e,a);}return this[q(0x120,0x11b)](d,e);}async[j(-0x7c,-0x72)](d,e){return this['onSchedulingIssueCall'](d,e);}async['onConflictSchedulingIssue'](d,e){function r(a,b){return j(a- -0x27b,b);}return this[r(-0x2de,-0x2f5)](d,e);}[j(-0x76,-0x73)](d,e){function s(a,b){return j(b- -0x23e,a);}if(!e)return;const f={};for(const g in e){f[g]=d['prototype'][s(-0x2aa,-0x2a9)][g];}Object[s(-0x295,-0x2a7)](d[s(-0x2a4,-0x2bb)]['$calculations'],e);return f;}['setRecordCalculations'](d,e){function t(a,b){return j(b- -0x25,a);}const f=this[t(-0xab,-0x9b)](d[t(-0x80,-0x82)],e);const g=d[t(-0x81,-0x86)][t(-0x64,-0x7c)];Object[t(-0x72,-0x80)](e)[t(-0x80,-0x7e)](h=>{function u(a,b){return t(a,b-0x559);}g[h][u(0x4ae,0x4b7)][u(0x4cf,0x4e3)]=d[e[h]];});return f;}[j(-0x4c,-0x4a)](d,e){if(!e)return;function v(a,b){return j(b-0x290,a);}const f=d[v(0x23e,0x23d)];if(f){return this[v(0x212,0x22b)](f,e);}else{return this['setModelCalculations'](d[v(0x207,0x215)],e);}}async[j(-0x67,-0x65)](d){this[w(0xef,0xfe)]&&await this['commitAsync']();const e={};const f={'tasks':this[w(0xe9,0xe8)],'events':this[w(0xe9,0xf0)],'dependencies':this[w(0x107,0x106)],'resources':this[w(0x10f,0x103)],'assignments':this[w(0x10b,0xf3)],'calendars':this[w(0x117,0x11f)]};Object[w(0x10c,0x10f)](f)[w(0x10e,0x10a)](h=>{function x(a,b){return w(b- -0x17f,a);}if(d[h]){e[h]=this[x(-0x79,-0x64)](f[h],d[h]);}});let g=d[w(0x112,0x107)];function w(a,b){return j(a-0x167,b);}if(g){e['project']=this[w(0x102,0x113)](this,g);}this['replica']&&this[w(0x115,0x115)][w(0x108,0x101)]();this[w(0xef,0x105)]&&await this[w(0x11a,0x121)]();return e;}}function j(a,b){return _enb(a- -0x15d,b);}return c;}){}export{ChronoAbstractProjectMixin};
1
+ (function(a,b){const c=a();function i(a,b){return _enb(a- -0x2c,b);}while(!![]){try{const d=-parseInt(i(0x16c,0x165))/0x1+-parseInt(i(0x16d,0x16f))/0x2+parseInt(i(0x172,0x171))/0x3*(parseInt(i(0x154,0x15a))/0x4)+parseInt(i(0x177,0x189))/0x5+parseInt(i(0x161,0x14c))/0x6+parseInt(i(0x152,0x160))/0x7+-parseInt(i(0x175,0x182))/0x8*(parseInt(i(0x157,0x152))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x50381));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ChronoModelMixin}from'../../../chrono/ChronoModelMixin.js';function _ena(){const z=['invalidateTemporaryIndices','calculation','eventStore','3211054CLhVVW','onSchedulingIssueCall','60568gPCcsA','assign','delayEnteringReplica','999cOPfIB','first','trigger','keys','repopulateReplica','setStoreCalculations','isDelayingCalculation','calendarManagerStore','acceptChanges','Resume','1312680eSsTlr','assignmentStore','replica','type','getGraph','setCalculations','enterReplica','onEmptyCalendarSchedulingIssue','$calculations','setRecordCalculations','$skeleton','572292SlVPvQ','766644SQzPgU','delayedCalculationPromise','project','commitAsync','beforeCommitAsync','129LHuBsF','finalizeCommitHook','setModelCalculations','42560HGmdxI','onConflictSchedulingIssue','2730515clgzJy','forEach','dependencyStore','conflict','prototype','now'];_ena=function(){return z;};return _ena();}import{ConflictEffect}from'../../../chrono/Conflict.js';import{AbstractProjectMixin}from'../AbstractProjectMixin.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';class ChronoAbstractProjectMixin extends Mixin([ChronoModelMixin,AbstractProjectMixin],a=>{const b=a[j(0x31a,0x310)];class c extends a{get[j(0x337,0x320)](){function k(a,b){return j(b,a-0x9d);}return Boolean(this[k(0x3b6,0x3b1)]||this[k(0x3ce,0x3cb)]);}[j(0x325,0x328)](){return this['replica'];}[j(0x325,0x334)](){return null;}[j(0x329,0x32a)](d){}[j(0x32b,0x322)](){}[j(0x348,0x336)](d){return![];}[j(0x31a,0x312)](){}async[j(0x348,0x333)](){function l(a,b){return j(b,a-0x52);}if(this['delayedCalculationPromise']){return this[l(0x383,0x38c)];}else{if(this['replica']){return this[l(0x378,0x386)][l(0x385,0x391)]();}else{this['isInitialCommitPerformed']=!![];}}}['getSchedulingIssueEventArguments'](d,e,f,g){const h=[d['type'],{'continueWithResolutionResult':f,'schedulingIssue':d}];function m(a,b){return j(a,b- -0xea);}if(d instanceof ConflictEffect)h[0x1][m(0x235,0x225)]=d;return h;}[j(0x321,0x316)](d,e){if(d[n(0x258,0x251)]&&this['hasListener'](d[n(0x246,0x251)])){return new Promise((f,g)=>{function o(a,b){return n(b,a- -0x4a7);}this[o(-0x261,-0x259)](...this['getSchedulingIssueEventArguments'](d,e,h=>{function p(a,b){return o(b-0x1a2,a);}if(h===EffectResolutionResult[p(-0xb0,-0xb8)]){e['hasResolvedSchedulingIssue']=!![];}return f(h);},g));});}function n(a,b){return j(a,b- -0xd6);}return EffectResolutionResult['Cancel'];}['onCycleSchedulingIssue'](d,e){function q(a,b){return j(a,b-0x231);}return this[q(0x531,0x547)](d,e);}[j(0x316,0x32b)](d,e){function r(a,b){return j(b,a- -0x206);}return this[r(0x110,0x106)](d,e);}[j(0x331,0x339)](d,e){function s(a,b){return j(b,a- -0x489);}return this[s(-0x173,-0x16a)](d,e);}[j(0x336,0x337)](d,e){if(!e)return;const f={};for(const g in e){f[g]=d[t(0x110,0x11c)][t(0x144,0x138)][g];}function t(a,b){return j(a,b- -0x1f4);}Object[t(0x136,0x124)](d[t(0x119,0x11c)][t(0x128,0x138)],e);return f;}[j(0x327,0x32d)](d,e){const f=this[u(0x4f,0x54)](d['constructor'],e);function u(a,b){return j(a,b- -0x2e3);}const g=d['$entity'][u(0x45,0x4b)];Object[u(0x32,0x3a)](e)['forEach'](h=>{function v(a,b){return u(b,a- -0x295);}g[h][v(-0x268,-0x26e)][v(-0x265,-0x270)]=d[e[h]];});return f;}[j(0x31f,0x31f)](d,e){if(!e)return;const f=d[w(0x338,0x34e)];function w(a,b){return j(a,b-0x33);}if(f){return this[w(0x34b,0x360)](f,e);}else{return this[w(0x37b,0x36a)](d['modelClass'],e);}}async[j(0x329,0x329)](d){function x(a,b){return j(b,a- -0x3e6);}this[x(-0xc0,-0xba)]&&await this['commitAsync']();const e={};const f={'tasks':this[x(-0xd2,-0xbc)],'events':this[x(-0xd2,-0xcb)],'dependencies':this[x(-0xaa,-0xbf)],'resources':this['resourceStore'],'assignments':this[x(-0xc1,-0xc3)],'calendars':this[x(-0xc5,-0xc9)]};Object[x(-0xc9,-0xd5)](f)[x(-0xab,-0xa9)](h=>{function y(a,b){return x(b- -0xe8,a);}if(d[h]){e[h]=this[y(-0x1af,-0x1af)](f[h],d[h]);}});let g=d[x(-0xb4,-0xb6)];if(g){e[x(-0xb4,-0xb2)]=this[x(-0xb9,-0xc8)](this,g);}this[x(-0xc0,-0xd7)]&&this[x(-0xc8,-0xd1)][x(-0xd5,-0xe7)]();this[x(-0xc0,-0xae)]&&await this[x(-0xb3,-0x9d)]();return e;}}function j(a,b){return _enb(b-0x197,a);}return c;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x178;let f=c[d];return f;};return _enb(a,b);}export{ChronoAbstractProjectMixin};
@@ -1 +1 @@
1
- (function(a,b){function o(a,b){return _enb(a-0x1a1,b);}const c=a();while(!![]){try{const d=parseInt(o(0x378,0x35d))/0x1*(parseInt(o(0x3e1,0x3ec))/0x2)+parseInt(o(0x39f,0x34f))/0x3+parseInt(o(0x373,0x373))/0x4*(-parseInt(o(0x3f2,0x3fa))/0x5)+parseInt(o(0x413,0x3e0))/0x6*(parseInt(o(0x398,0x418))/0x7)+-parseInt(o(0x3a8,0x3e8))/0x8*(-parseInt(o(0x3fb,0x3d2))/0x9)+-parseInt(o(0x383,0x3ff))/0xa*(-parseInt(o(0x32a,0x33c))/0xb)+parseInt(o(0x38a,0x373))/0xc*(-parseInt(o(0x415,0x417))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x99b70));var __decorate=function(a,b,e,f){var g=arguments[p(0x329,0x386)],h=g<0x3?b:f===null?f=Object[p(0x28b,0x28a)](b,e):f,j;if(typeof Reflect===p(0x2e9,0x31b)&&typeof Reflect[p(0x32b,0x2ac)]===p(0x371,0x36a))h=Reflect['decorate'](a,b,e,f);else for(var k=a[p(0x329,0x2bf)]-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-0xfa,b);}return g>0x3&&h&&Object[p(0x2b4,0x31e)](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-0x187;let f=c[d];return f;};return _enb(a,b);}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';import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseResourceMixin}from'./BaseResourceMixin.js';function _ena(){const as=['project','recordsUnlinked','acceptChanges','tasksData','1032SYOxOt','getDefaultEventModelClass','from','onCommitRejection','setAssignmentStore','delayCalculation','getType','unspecifiedTimeIsWorking','calendarManagerStore','detachStore','syncDataOnLoad','isValidDependency','CurrentOrProposedOrPrevious','data','eventStoreChange','usingSyncDataOnLoad','time','stm','dependencyStore','Forward','setCalendarManagerStore','internalDelayCalculation','dependencyStoreChange','defaultCalendar','includeEvent','beginBatch','totalCount','activeTransaction','setStm','isLoadingInlineData','direction','delayCalculationEnd','isCommitting','undo','excludeEvent','enterReplica','eventsData','rejectedWith','setResourceStore','tryPropagateWithChangesQueued','length','resourceModelClass','decorate','enableProgressNotifications','hasPendingAutoCommit','storeClass','resourceStoreClass','set','removeEvent','calendarManagerStoreChange','_enableProgressNotifications','commitAsync','cycleEffectClass','eventStore','unlinkCalendarConsumers','dirty','assignmentStoreClass','626PLzXxj','hasChanges','beforeCommitAsync','calculateProject','resourceStoreChange','stateRestoringDone','has','prototype','eventStoreClass','getDefaultDependencyStoreClass','unjoinRecordsFromProject','assignments','addIndex','tryPropagateWithChanges','resetStmQueue','values','invalidateIndices','1605CeOJif','scheduleDelayedCalculation','resourceStore','addEvent','initializeStm','some','redo','tree','invalidateTemporaryIndices','21051GRkVNW','tasks','assignmentStoreChange','SchedulerBasic','getById','boolean','assign','resetQueue','queue','repopulateReplica','calendarManagerStoreClass','startTransaction','removeRejectedRecordsAdd','resourcesData','setDependencyStore','enable','revisionsEnabled','onSTMRestoringStart','now','entries','transaction','getDefaultDependencyModelClass','deferUntilRepopulationIfNeeded','setEventStore','12swfnqY','isEngineReady','13iOvRGh','_stmAutoRecord','stopTransaction','function','assignmentsForRemoval','calendarsData','handleSTMRestoringStop','hasSubEvents','rootNode','Time\x20to\x20visible','resumeFilterOnUpdate','load','dependencyStoreClass','getDefaultCalendarManagerStoreClass','unScheduleAutoCommit','getReplicaConfig','removeStore','loadInlineData','generateId','Populating\x20project','repopulateOnDataset','getGraph','DEBUG','isDelayingCalculation','baseRevision','8987zWdvZM','timeEnd','rejectStmTransaction','repopulateStore','dependencies','hasChangesInStores','storePopulation','getLatestStableEntryFor','getOwnPropertyDescriptor','_stmDisabled','disable','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','query','getRange','calendarModelClass','unlinkStoreRecords','getCalendarConsumers','setupTemporaryIndices','await','assignmentStore','eventModelClass','clear','traverse','afterResourceRemoval','add','getDefaultResourceModelClass','getDefaultAssignmentStoreClass','calendar','onCommitInitialization','resource','remove','onCommitFinalization','size','isPending','commitLoad','stmClass','previous','addEvents','ignoreInitialCommitComputationCycles','onSTMRestoringStop','isDestroyed','_stmRestoringInProgress','disabled','calendars','expanded','ProjectModelQueue','autoRecord','resources','ignore','defineProperty','then','events','removeEvents','attachStore','isRecording','ion','getDefaultCycleEffectClass','_queue','hasDataInStores','getDefaultAssignmentModelClass','rejectTransaction','font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em','reject','suspendChangeTracking','delayCalculationStart','destroy','joinRecordsToProject','removeTemporaryIndices','sort','getEventStore','construct','addEntity','replica','13852zaUyue','isRepopulatingStores','onPropagationProgressNotification','_isCommittingAfterStmRestore','silenceInitialCommit','1533rwgAfM','assignmentsData','isInitialCommitPerformed','repopulateStores','hasStore','getStm','dependencyModelClass','setProject','addStore','children','delayedCalculationPromise','5170bDcccd','forEachStore','isWritingPreviousData','trigger','delayable','forEach','get','12087060JykIYp','getDefaultResourceStoreClass','assignmentModelClass','new','self','removalOrder','object','createReplica','dependenciesData','appendChild','unlinkRecord','doDestroy','log','dataStores','3214603SlYZdk','delayEnteringReplica','skipNonWorkingTimeWhenSchedulingManually','keys','identifier','applyProjectResponse','removeIndex','1878261ButyBF','calculateEffectiveDataOrVisualCalendar','stop','getDefaultEventStoreClass','event'];_ena=function(){return as;};return _ena();}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(-0x6a,-0xe5)];class c extends a{[q(-0xe2,-0xe6)](d={}){d[r(-0x33,-0x98)]=d['delayCalculation']!==![];d[r(-0xd,-0x8)]=d['enableProgressNotifications']||d[r(-0x33,0x39)]!==![];this[r(-0x7d,-0xb3)]=new _eng(_ene[r(0x47,0x43)](r(-0x89,-0x80)));if(!('expanded'in d)){d[r(-0x8a,-0xe5)]=!![];}if(d[r(-0x33,-0x4e)]){this[r(-0x47,0x2a)]=!![];}if(!('skipNonWorkingTimeWhenSchedulingManually'in d)){d[r(-0x46,0x0)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d[r(-0x83,-0xb7)];delete d[r(-0xb2,-0xe2)];delete d[r(-0x87,-0x80)];delete d['assignments'];delete d[r(-0x8b,-0x91)];b[r(-0x70,-0x6b)]['call'](this,d);this[r(-0x65,-0xad)]=new Set();this[r(-0x90,-0xf6)]=r(-0x90,-0x6a)in d?d[r(-0x90,-0x76)]:![];if(this[r(-0x90,-0xcd)]){console['warn'](r(-0xab,-0xa6));}if(!this[r(-0xa2,-0xf7)])this[r(-0xa2,-0x36)]=this[r(-0x37,-0x42)]();if(!this[r(0x9,0x2a)])this[r(0x9,0x5a)]=this[r(-0x3e,-0x1a)]();if(!this[r(-0x62,-0xba)])this['dependencyModelClass']=this[r(0x30,0x46)]();if(!this[r(0x41,-0x18)])this[r(0x41,-0x1b)]=this['getDefaultDependencyStoreClass']();if(!this[r(-0xf,-0x39)])this[r(-0xf,0x32)]=this['getDefaultResourceModelClass']();function r(a,b){return q(a-0x72,b);}if(!this[r(-0xa,-0x52)])this[r(-0xa,0x54)]=this['getDefaultResourceStoreClass']();if(!this['assignmentModelClass'])this[r(-0x54,-0x83)]=this['getDefaultAssignmentModelClass']();if(!this[r(0x0,0x2d)])this[r(0x0,0x73)]=this[r(-0x9c,-0xd1)]();if(!this['calendarModelClass'])this[r(-0xa8,-0xe3)]=this['getDefaultCalendarModelClass']();if(!this[r(0x25,-0x53)])this[r(0x25,0x42)]=this[r(0x42,0x69)]();if(!this['cycleEffectClass'])this[r(-0x4,-0x6a)]=this[r(-0x7e,-0xd9)]();this[r(0x16,0x31)]();this[r(-0x21,0x7)]=new this['calendarModelClass']({'name':'Default','unspecifiedTimeIsWorking':this[r(-0x31,-0x90)]});this[r(-0x21,0x46)]['project']=this;if(!this['delayEnteringReplica'])this['enterReplica'](![]);this[r(-0x24,-0x21)](this[r(-0x30,-0x22)]);this['setEventStore'](this[r(-0x3,0x28)]);this[r(0x29,0x5b)](this['dependencyStore']);this[r(-0x12,-0x68)](this['resourceStore']);this[r(-0x34,-0x6c)](this[r(-0xa3,-0xa8)]);const j=Boolean(this[r(0x3a,-0xe)]||this[r(-0x14,-0x74)]||this['dependenciesData']||this[r(0x28,0x30)]||this[r(-0x67,-0x2e)]||i||e||f||g||h);if(j){this[r(0x46,0x91)]({'calendarsData':this['calendarsData'],'eventsData':this[r(-0x14,0x4c)],'dependenciesData':this[r(-0x4e,-0x96)],'resourcesData':this[r(0x28,0x93)],'assignmentsData':this[r(-0x67,-0x78)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(0x3a,0x4c)];delete this['eventsData'];delete this[r(-0x4e,-0x73)];delete this['resourcesData'];delete this[r(-0x67,-0xcb)];}else{if(this[r(-0x33,-0x33)]&&this[r(-0x7c,-0x6a)])this['scheduleDelayedCalculation']();}}get[q(-0xbb,-0x3d)](){function s(a,b){return q(a-0x161,b);}return[this['calendarManagerStore'],this[s(0x103,0xbd)],this['eventStore'],this[s(0xc9,0x54)],this[s(0x4c,0x94)]];}get[q(-0xee,-0x110)](){function t(a,b){return q(a-0x79,b);}return this[t(-0x42,-0x94)][t(0x1e,0x22)](d=>d['totalCount']>0x0);}get[q(-0x123,-0x186)](){function u(a,b){return q(a-0x633,b);}return this['dataStores'][u(0x5d8,0x615)](d=>d[u(0x5c3,0x60b)]);}[q(-0x87,-0x27)](d){const e=this;function v(a,b){return q(a- -0x72,b);}if(!e[v(-0x152,-0x175)]){e[v(-0x152,-0x10e)]=e[v(-0x133,-0xd5)]();e[v(-0x152,-0x13b)][v(-0x153,-0x132)](e);e[v(-0x152,-0xee)][v(-0x153,-0x176)](e[v(-0x105,-0x128)]);e[v(-0x13e,-0x1b0)]('graphReady');}if(d&&!e[v(-0x150,-0x16a)]){e[v(-0x12d,-0x14d)][v(-0x13c,-0x114)](f=>{function w(a,b){return v(b-0x569,a);}f[w(0x44a,0x42d)](g=>{!g['graph']&&g['joinProject']();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(-0x63,-0x2d)](){const d=this['stm'][x(-0x6e,0xb)];this['stm'][x(0x13,-0x15)]();this[x(0x19,0x70)]['resetQueue']();function x(a,b){return q(b-0x109,a);}if(!d){this[x(0x75,0x70)]['enable']();}}[q(-0xbd,-0x116)](){const d=this;d['dataStores']['forEach'](e=>e?.[y(-0x10b,-0xfe)]());function y(a,b){return q(b- -0x17,a);}d[y(-0xe6,-0xaa)]?.[y(-0xd4,-0xfe)]();d['replica']?.[y(-0x125,-0x12a)]();d['stm']?.[y(-0x102,-0xfe)]();b[y(-0x6a,-0xd4)]['call'](this);}[q(-0x2e,-0x60)](){function z(a,b){return q(a- -0xbc,b);}return{'project':this,'schema':Schema[z(-0x181,-0x158)](),'enableProgressNotifications':this['enableProgressNotifications'],'silenceInitialCommit':this[z(-0x197,-0x142)],'ignoreInitialCommitComputationCycles':this[z(-0x1be,-0x164)],'cycleEffectClass':this[z(-0x132,-0xf8)],'onWriteDuringCommit':z(-0x1b4,-0x22d),'readMode':ReadMode[z(-0x15a,-0x1b0)]};}[q(-0xc1,-0xff)](){function A(a,b){return q(a-0x3cf,b);}return EngineReplica['new'](this[A(0x3a1,0x3a5)]());}*[q(-0x36,-0x3d)](){return this['getEventStore']()['count']>0x0;}*['subEventsIterable'](){function B(a,b){return q(b-0x430,a);}return this[B(0x301,0x34d)]()[B(0x340,0x315)]();}[q(-0xa4,-0xbe)](){function C(a,b){return q(a- -0x132,b);}return ProjectType[C(-0x186,-0x108)];}get[q(-0x7f,-0x81)](){return this['_enableProgressNotifications'];}set[q(-0x7f,-0xa)](d){function D(a,b){return q(a-0x305,b);}this[D(0x28d,0x300)]=d;if(this[D(0x225,0x1d6)])this[D(0x225,0x1ad)][D(0x286,0x219)]=d;}['getDefaultCycleEffectClass'](){return CycleEffect;}['getDefaultEventModelClass'](){return SchedulerBasicEvent;}[q(-0xb0,-0xbd)](){return ChronoEventStoreMixin;}[q(-0x42,-0x20)](){return BaseDependencyMixin;}[q(-0x68,-0x40)](){return ChronoDependencyStoreMixin;}[q(-0x10f,-0xf7)](){return BaseResourceMixin;}[q(-0xc7,-0xf2)](){return ChronoResourceStoreMixin;}[q(-0xed,-0xda)](){return BaseAssignmentMixin;}[q(-0x10e,-0xf1)](){return ChronoAssignmentStoreMixin;}['getDefaultCalendarModelClass'](){return BaseCalendarMixin;}['getDefaultCalendarManagerStoreClass'](){return ChronoCalendarManagerStoreMixin;}[q(-0x9b,-0xa0)](){function E(a,b){return q(b-0x34c,a);}return[this[E(0x320,0x2d7)],this[E(0x312,0x2ee)],this[E(0x2fa,0x2b4)],this[E(0x29a,0x237)]][E(0x366,0x2f1)](d=>d['syncDataOnLoad']);}async[q(-0x2c,-0xa)](d){const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this['dataPropertyDeprecation']?.(d||{});if(!this[F(-0x91,-0xc3)]){j?.[F(0x18,0x82)]();}else{while(j?.['isCommitting']){await this[F(-0x30,0x16)]();}}if(j?.['enableProgressNotifications']&&!this['delayCalculation']){await delay(0x0);await this[F(-0x30,0x0)]();j[F(-0x96,-0xcb)]({'total':0x0,'remaining':0x0,'phase':F(-0xdb,-0xf5)});await delay(0x32);}this['isInitialCommitPerformed']=![];this[F(-0x46,0x6)]=!![];if(globalThis[F(0x20,-0x5c)]){console[F(-0x75,-0x1c)]('%cInitializing\x20project',F(-0xa4,-0xc0));console['time'](F(0x13,0x93));console[F(-0x53,-0xbf)](F(0x1d,-0x45));}if(this['delayCalculation']&&!this[F(-0x89,-0x71)]&&!this[F(-0x54,-0x8)]()){this['scheduleDelayedCalculation']();}if(d[F(-0xb6,-0x134)]||d[F(0xf,-0x58)]){this[F(-0xde,-0x90)](e);e['data']=d[F(-0xb6,-0x61)]||d['calendarsData'];}if(d[F(-0xae,-0x6b)]||d[F(-0xf,0x3c)]||d[F(-0x3f,0x1a)]||d['tasksData']){this[F(-0xde,-0xcf)](f);f[F(-0x56,-0x45)]=d[F(-0xae,-0x5c)]||d[F(-0xf,-0x15)]||d['eventsData']||d[F(-0x64,0x13)];}function F(a,b){return q(a-0x47,b);}if(d[F(-0xdd,-0xa6)]||d['dependenciesData']){this[F(-0xde,-0x126)](g);g['data']=d['dependencies']||d[F(-0x79,-0xb1)];}if(d[F(-0xb2,-0x31)]||d[F(-0x3,-0x3c)]){this[F(-0xde,-0x6f)](i);i[F(-0x56,-0xb1)]=d[F(-0xb2,-0x5d)]||d[F(-0x3,-0x2c)];}if(d['assignments']||d[F(-0x92,-0x9b)]){this[F(-0xde,-0xb5)](h);h[F(-0x56,-0x7d)]=d[F(-0x1f,-0x50)]||d[F(-0x92,-0x58)];}if(d['project']){if(this[F(-0x72,-0x62)]&&this[F(-0xa7,-0x109)]){this[F(-0xaa,-0xc8)]({'recordsUnlinked':()=>{function G(a,b){return F(a-0x4f7,b);}this[G(0x455,0x441)]();this['applyProjectResponse'](d['project']);this['resumeChangeTracking']();},'once':!![]});}else{this[F(-0x6e,-0x2c)](d[F(-0x67,-0x4c)]);}}if(globalThis['DEBUG'])console[F(-0xe0,-0x160)](F(0x1d,0x1));const k=await this[F(-0xbf,-0xfb)]();this[F(-0x46,-0x7b)]=![];return k;}['setupTemporaryIndices'](){const {storage:d}=this[H(0x4bc,0x51c)]||{};function H(a,b){return q(a-0x5d1,b);}if(d){d[H(0x56c,0x5b4)]({'property':H(0x522,0x59f),'unique':![]});d[H(0x56c,0x540)]({'property':H(0x4c6,0x509),'unique':![]});}}[q(-0x58,0x1b)](){function I(a,b){return q(a-0x4da,b);}this['assignmentStore']?.['storage']?.[I(0x479,0x407)]();}[q(-0xe5,-0x113)](){const {storage:d}=this[J(-0xc2,-0xef)];d[J(-0x61,-0x44)](J(-0x5c,-0x16));function J(a,b){return q(a-0x53,b);}d[J(-0x61,-0x6)](J(-0xb8,-0xc0));}async[q(-0x95,-0xe9)](d){const e=this;function K(a,b){return q(a-0x4dc,b);}e['delayEnteringReplica']=!![];e['setupTemporaryIndices']();await delay(0x0);if(e[K(0x3dc,0x3e6)]){d();return;}e[K(0x410,0x3dc)](K(0x3f4,0x3ea));e[K(0x410,0x399)]('refresh',{'isCalculated':![]});await delay(0x0);if(e[K(0x3dc,0x416)]){d();return;}e['delayEnteringReplica']=![];e[K(0x421,0x483)][K(0x412,0x3d7)](g=>g['suspendFilterOnUpdate']());if(e[K(0x3fe,0x3b0)]){e['repopulateReplica'][K(0x497,0x48d)]();}else{e['trigger'](K(0x42f,0x471));e[K(0x455,0x3d8)](!![]);}const f=await e[K(0x3fc,0x41c)][K(0x465,0x4b5)]();if(e[K(0x3dc,0x38e)]){d();return;}e[K(0x421,0x494)][K(0x412,0x3ed)](g=>g[K(0x4a9,0x42f)]());d(f);e['delayedCalculationPromise']=null;e[K(0x410,0x469)](K(0x451,0x4a4));e['removeTemporaryIndices']();}[q(-0x5f,-0xc)](){if(this['delayedCalculationPromise']){return this[L(0x37e,0x3a1)];}function L(a,b){return q(b-0x471,a);}if(this[L(0x350,0x3cc)]!==![]){return this[L(0x332,0x3a1)]=new Promise(d=>this[L(0x38b,0x3dc)](d)[L(0x334,0x37b)]());}}async[q(-0x106,-0x14a)](){const d=await this['commitAsync']();function M(a,b){return q(b-0x155,a);}if(!this[M(0xb7,0x55)])this['trigger'](M(0x143,0x123));return d;}['initializeStm'](){function N(a,b){return q(a-0x21f,b);}const d=this[N(0x11a,0xec)]||_enc;if(!(this[N(0x186,0x1e2)]instanceof _enc))this[N(0x186,0x173)]=d[N(0x15a,0xfb)]({'disabled':!![]},this[N(0x186,0x1b1)]);this[N(0x191,0x1f8)](this[N(0x186,0x1a0)]);if(this['resetUndoRedoQueuesAfterLoad']){this['ion']({'load':this[N(0x1bc,0x160)],'thisObj':this});}this[N(0x12e,0xc0)]({'beforeCommit':this[N(0x113,0xed)],'commitFinalized':this[N(0x116,0x141)],'commitRejected':this[N(0x178,0x158)],'thisObj':this});}[q(-0x4b,0x26)]({transactionResult:d,silenceCommit:e}){function O(a,b){return q(b-0x7a,a);}const f=new Map();for(const h of d[O(0x62,0x36)][O(-0x3d,0x18)]()){const i=h[O(0x17,-0x3c)];const {field:j}=i;if(h['isShadow']()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i[O(-0x37,-0x4a)];const l=k['firstStore'];if(l&&!h[O(-0x32,-0x8a)]&&!d['transaction'][O(-0x2a,-0xa7)](k['$$'])?.[O(-0xea,-0x8a)]){if(!f[O(0x8a,0xf)](l)){f[O(-0x2d,-0x1)](l,new Set([k]));}else if(!f['get'](l)[O(-0x35,0xf)](k)){f['get'](l)['add'](k);}}}this['suspendChangeTracking']?.();const g=Array[O(-0x90,-0x2e)](f[O(0xf,-0x3d)]())[O(-0x2a,-0x6a)]((m,n)=>m['removalOrder']-n[O(-0x92,-0x49)]);g[O(-0x21,-0x50)](m=>m[O(-0xd0,-0x90)](f['get'](m)));this['resumeChangeTracking']?.(e);if(e){this[O(0x27,-0x41)]['forEach'](m=>m[O(0x40,-0x32)]());}}[q(-0xa7,-0x47)](d){function P(a,b){return q(b- -0x44,a);}if(this[P(-0x141,-0x163)]){this['replica'][P(-0xcf,-0x111)]++;this['isRestoringData']=!![];this[P(-0x63,-0x8f)](d);this['isRestoringData']=![];this['replica'][P(-0xa6,-0x111)]--;}else{this[P(-0x122,-0x16a)]();}}[q(-0x10c,-0x157)](){const {stm:d}=this;this[Q(0x4f8,0x4ef)]=d[Q(0x4cb,0x510)];function Q(a,b){return q(b-0x60e,a);}if(d['isRecording']&&d[Q(0x4bf,0x514)]){this[Q(0x59f,0x5d2)]=!![];d[Q(0x503,0x514)]=![];}}[q(-0x109,-0x117)](){function R(a,b){return q(a-0x98,b);}if(this['_stmAutoRecord']){this[R(-0x1,-0x69)][R(-0x62,-0xe2)]=!![];this[R(0x5c,0x29)]=![];}}async[q(-0x89,-0xa3)](){await this[S(0x2aa,0x238)][S(0x2ba,0x2aa)]();function S(a,b){return q(a-0x343,b);}if(this[S(0x267,0x29d)]){await this[S(0x22d,0x1cb)](S(0x2d7,0x356),![]);}}async[q(-0x5a,0x16)](){await this[T(0x2e4,0x2ba)][T(0x34b,0x2f9)]();function T(a,b){return q(b-0x353,a);}if(this[T(0x245,0x277)]){await this[T(0x1e8,0x23d)](T(0x2ed,0x2e7),![]);}}['onSTMRestoringStart']({source:d}){function U(a,b){return q(a-0x572,b);}if(this[U(0x492,0x4f5)])this[U(0x492,0x511)][U(0x4a5,0x4ec)]++;}async[q(-0x37,0x35)](d){if(this[V(0x104,0x175)])this['replica'][V(0x1d3,0x188)]--;this[V(0x10b,0x156)]=!![];function V(a,b){return q(b-0x255,a);}d[V(0xbe,0x137)]();this['_isCommittingAfterStmRestore']=!![];await this['commitAsync']();this[V(0x10f,0x179)]=![];this[V(0x190,0x156)]=![];if(!this[V(0x18d,0x155)]){d['enable']();this[V(0x116,0x189)](V(0x1c7,0x1e9));}}async[q(-0x101,-0xfb)]({source:d}){function W(a,b){return q(b-0x250,a);}if(d[W(0x1ca,0x209)]){await this[W(0x206,0x201)](()=>this[W(0x1b1,0x219)](d));}else{await this['handleSTMRestoringStop'](d);}}[q(-0x41,-0xb0)](d,e,f){function X(a,b){return q(b- -0xca,a);}if(this[X(-0x16e,-0x1a8)]){this['detachListeners'](d);this['ion']({'name':d,'repopulateReplica':{'fn':async()=>{await this['commitAsync']();function Y(a,b){return X(a,b- -0x40);}if(!this[Y(-0x261,-0x20a)]){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(-0xde,-0xf1)](){function Z(a,b){return q(b-0x66,a);}return Boolean(this[Z(-0xcd,-0x71)]?.[Z(-0x8d,-0xa2)]);}[q(-0x125,-0xb7)](d){function a0(a,b){return q(a-0x353,b);}const e=this;if(e[a0(0x32a,0x323)]&&d['totalCount']&&!d[a0(0x2b3,0x2ce)]){e[a0(0x273,0x22c)]?.[a0(0x2c4,0x270)][a0(0x2a2,0x31e)]();if(!e['repopulateStores'])e[a0(0x27c,0x222)]=new Set();e[a0(0x27c,0x2a3)]['add'](d);e['repopulateReplica']();}}[q(-0x4e,-0x94)](){const d=this;if(d[a1(0x2c,0x52)]){return;}const {dataStores:e,replica:f,calendarManagerStore:g}=d;if(f){d[a1(-0x34,0x41)](...e);d[a1(0x27,-0x2e)](d);d[a1(0x27,0x64)](d[a1(0x52,0x6)]);d[a1(0x19,-0x2)](a1(0x38,0x4d));f[a1(-0x2e,0x29)]();}else{d['trigger']('recordsUnlinked');}const h=d[a1(0x5,-0x54)]=d['createReplica']();h['addEntities']([d,d[a1(0x52,0x9d)]]);const i=new Map();for(const j of e){i[a1(0x6a,0x2a)](j,j['joinRecordsToProject'](d,!![]));}function a1(a,b){return q(a-0xe5,b);}if(i[a1(0x1c,0x58)](g)<g[a1(0x55,0x63)]){d[a1(0x43,0x59)][a1(-0x1,-0x79)](d,!![]);}if(f){h[a1(0x56,0x96)]['writeFailedResolutionInfo'](f[a1(-0x44,-0x36)]['failedResolutionReferences']);}d[a1(0xe,0xb)]['clear']();d[a1(0x19,-0x64)]('repopulateReplica');}[q(-0x6f,-0x33)](){function a2(a,b){return q(a-0x4c9,b);}if(this['repopulateReplica'][a2(0x3c2,0x440)]&&!this[a2(0x39f,0x3e4)]){this[a2(0x47b,0x482)][a2(0x484,0x4ef)]();return this[a2(0x3e9,0x381)][a2(0x452,0x440)]();}return null;}['unlinkRecord'](d){d['unlink']();}[q(-0x119,-0x154)](...d){function a3(a,b){return q(b-0x87,a);}d[a3(0xe,-0x43)](e=>{function a4(a,b){return a3(b,a-0x123);}if(!this[a4(0xd3,0xb8)]['has'](e)||e['syncDataOnLoad']){e[a4(0x98,0x7e)](f=>{function a5(a,b){return a4(a- -0x26a,b);}this[a5(-0x17e,-0x197)](f);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(-0x28,-0x84)](){function a6(a,b){return q(a-0x1c3,b);}return this[a6(0xe3,0x73)];}async[q(-0x103,-0x15b)](d){function a7(a,b){return q(a-0x173,b);}this['eventStore']['add'](d);return this[a7(0xfc,0xda)]();}async[q(-0x5d,-0xcd)](d){function a8(a,b){return q(b-0x1f1,a);}this[a8(0x125,0x17c)][a8(0x141,0xe1)](d);return this[a8(0x10c,0x17a)]();}[q(-0x92,-0x102)](d){this['eventStore']['add'](d);}async[q(-0xf4,-0x11d)](d){function a9(a,b){return q(b- -0x11,a);}this[a9(-0xf7,-0x86)]['remove'](d);return this[a9(-0xb3,-0x88)]();}[q(-0x88,-0xaf)](d){function aa(a,b){return q(a-0x193,b);}this['eventStore'][aa(0x89,0xe3)](d);}async[q(-0x7a,-0xaa)](d){function ab(a,b){return q(b-0x685,a);}this[ab(0x68f,0x610)][ab(0x511,0x57b)](d);return this['commitAsync']();}[q(-0xd5,-0xb4)](){return this['stm'];}[q(-0x8e,-0x38)](d){function ac(a,b){return q(b-0x11e,a);}this['stm']=d;this['stm'][ac(0x12,0x2d)]({'restoringStart':this[ac(0x14e,0xd8)],'restoringStop':this[ac(-0x58,0x1d)],'thisObj':this});}[q(-0x6e,-0x5d)](){return this;}*[q(-0xb2,-0x56)](d){let e=yield this['$']['calendar'];if(e){yield e['$']['version'];}else{e=this[ad(0x323,0x36c)];}function ad(a,b){return q(b-0x3ff,a);}return e;}[q(-0x40,-0x36)](d){const e=this['eventStore'];if(e&&this[ae(0x134,0x11e)]['hasStore'](e)){this[ae(0x104,0x11e)][ae(0x16a,0x18a)](e);e[ae(0xd6,0x150)](this);this[ae(0xef,0x116)](e);const f=e[ae(0x143,0x17e)];f[ae(0x116,0xed)](g=>{function af(a,b){return ae(a,b-0x20);}const h=g[af(0x107,0x128)];if(h){const i=d[af(0x1c9,0x184)](h['id']);if(i){g['event']=i;f['delete'](g);}}});e['afterEventRemoval']();}function ae(a,b){return q(b-0x1b7,a);}if(!d||!(d instanceof _end)){const g=d?.[ae(0xdf,0x13a)]||this[ae(0x181,0x14e)];this[ae(0x10b,0x142)]=new g(_enf[ae(0x15f,0x166)]({'modelClass':this[ae(0x55,0xa3)],'project':this,'stm':this['stm']},d||{}));}else{this['eventStore']=d;d[ae(0xc8,0xe4)](this);this[ae(0xc1,0x11e)][ae(0x110,0xe5)](d);if(d[ae(0x17d,0x15e)]&&d[ae(0x156,0x182)]!==this){this[ae(0x135,0xf8)](d[ae(0x142,0x182)][ae(0x113,0xe6)]||[]);d['rootNode']=this;}else{d[ae(0x12d,0xd1)](this);}}this[ae(0x10a,0xc4)](this[ae(0x115,0x142)]);this[ae(0x88,0xeb)](ae(0x17d,0x11b),{'store':this[ae(0x16b,0x142)]});}[q(-0x49,-0x14)](d){const e=this[ag(0x575,0x576)];function ag(a,b){return q(b-0x60e,a);}if(e&&this[ag(0x54e,0x575)][ag(0x586,0x538)](e)){this[ag(0x5ae,0x575)][ag(0x5a8,0x5e1)](e);this[ag(0x5a6,0x56d)](e);}if(!d||!(d instanceof _end)){const f=d?.[ag(0x613,0x591)]||this[ag(0x577,0x5dd)];this[ag(0x521,0x576)]=new f(_enf[ag(0x561,0x5bd)]({'modelClass':this[ag(0x4d6,0x53a)],'project':this,'stm':this[ag(0x574,0x575)]},d||{}));}else{this[ag(0x4f9,0x576)]=d;d[ag(0x532,0x53b)](this);this[ag(0x573,0x575)]['addStore'](d);d[ag(0x554,0x528)](this);}this[ag(0x4ba,0x51b)](this['dependencyStore']);this[ag(0x53d,0x542)](ag(0x58e,0x57a),{'store':this['dependencyStore']});}['setResourceStore'](d){const e=this[ah(0x171,0x12d)];if(e&&this[ah(0xa3,0xf2)][ah(0x41,0xb5)](e)){this[ah(0x87,0xf2)]['removeStore'](e);e[ah(0x136,0x124)](this);this[ah(0x8f,0xea)](e);const f=e[ah(0x129,0x152)];f[ah(0xd0,0xc1)](g=>{const h=g['resource'];function ai(a,b){return ah(a,b-0x391);}if(h){const i=d[ai(0x454,0x4c9)](h['id']);if(i){g[ai(0x411,0x411)]=i;f['delete'](g);}}});e[ah(0x6d,0x7a)]();}if(!d||!(d instanceof _end)){const g=d?.[ah(0xd6,0x10e)]||this['resourceStoreClass'];this['resourceStore']=new g(_enf[ah(0xd2,0x13a)]({'modelClass':this[ah(0x154,0x10a)],'project':this,'stm':this[ah(0x173,0xf2)]},d||{}));}else{this['resourceStore']=d;d[ah(0x5b,0xb8)](this);this[ah(0x9f,0xf2)][ah(0x13a,0xb9)](d);d['joinRecordsToProject'](this);}this[ah(0xf8,0x98)](this[ah(0x193,0x12d)]);function ah(a,b){return q(b-0x18b,a);}this['trigger'](ah(0x132,0x11e),{'store':this[ah(0xf4,0x12d)]});}[q(-0xa6,-0x44)](d){const e=this[aj(-0x1a0,-0x1e7)];if(e&&this[aj(-0x124,-0xfe)][aj(-0x161,-0x151)](e)){this[aj(-0x124,-0x10f)]['removeStore'](e);e[aj(-0xf2,-0xe7)](this);this['detachStore'](e);}if(!d||!(d instanceof _end)){const f=d?.[aj(-0x108,-0x114)]||this[aj(-0xfd,-0x11e)];this['assignmentStore']=new f(_enf[aj(-0xdc,-0x61)]({'modelClass':this[aj(-0x151,-0x174)],'project':this,'stm':this[aj(-0x124,-0xe3)]},d||{}));}else{this[aj(-0x1a0,-0x124)]=d;d['setProject'](this);this[aj(-0x124,-0xd7)]['addStore'](d);d[aj(-0x171,-0x1eb)](this);}this[aj(-0x1b5,-0x15d)]&&this[aj(-0x1a2,-0x17f)]();this[aj(-0x17e,-0x164)](this[aj(-0x1a0,-0x1e4)]);function aj(a,b){return q(a- -0x8b,b);}this[aj(-0x157,-0xe2)](aj(-0xe0,-0xbe),{'store':this['assignmentStore']});}[q(-0x96,-0xce)](d){const e=this[ak(0x1d9,0x169)];if(e&&this[ak(0x1e2,0x203)][ak(0x1a5,0x227)](e)){this[ak(0x1e2,0x240)][ak(0x24e,0x267)](e);this['detachStore'](e);}if(!d||!(d instanceof _end)){const f=d?.[ak(0x1fe,0x249)]||this['calendarManagerStoreClass'];this['calendarManagerStore']=new f(_enf['assign']({'modelClass':this['calendarModelClass'],'project':this,'stm':this[ak(0x1e2,0x20c)]},d||{}));}else{this['calendarManagerStore']=d;if(d){d[ak(0x1a8,0x1f2)](this);this['stm'][ak(0x1a9,0x18c)](d);d[ak(0x195,0x1f2)](this);}}function ak(a,b){return q(a-0x27b,b);}this[ak(0x188,0x16c)](this[ak(0x1d9,0x1c0)]);this[ak(0x1af,0x1a4)](ak(0x202,0x268),{'store':this[ak(0x1d9,0x1c9)]});}async[q(-0x9f,-0x9e)](...d){return!![];}[q(-0x126,-0xef)](d){function al(a,b){return q(a-0x47a,b);}d=d||this[al(0x3e1,0x42f)];if(d[al(0x437,0x401)]){if(d[al(0x437,0x409)][al(0x3f8,0x3cb)]){d[al(0x3ac,0x421)](e=>e[al(0x3e9,0x381)]());d[al(0x38e,0x3fe)]();d['forEachStore'](e=>e['endBatch']());}else{d[al(0x43f,0x42a)]();}}}async['tryPropagateWithChanges'](d){const f=this['stm'],g=f[am(0x28a,0x2b5)],h=f[am(0x259,0x2b9)];if(g){f[am(0x2ef,0x36b)]();}else{if(h){f[am(0x2ca,0x2b9)]=![];}if(f[am(0x263,0x2c1)]){f[am(0x325,0x378)]();}}f[am(0x338,0x367)]();function am(a,b){return q(b-0x3b3,a);}d();let i=!![];try{const j=await this[am(0x380,0x33c)]();i=!j[am(0x3a9,0x32e)];}catch(k){if(!/cycle/i['test'](k))throw k;i=![];}if(i){f['stopTransaction']();if(g){f[am(0x394,0x363)]();}}else{this[am(0x31b,0x2d3)][am(0x346,0x2c9)]();this[am(0x2c4,0x28d)](f);}f['disabled']=g;f[am(0x2e3,0x2b9)]=h;return i;}async[q(-0x83,-0xfb)](d){function an(a,b){return q(a-0x573,b);}return this[an(0x524,0x4d7)](()=>this[an(0x50f,0x49f)](d));}[q(-0x4f,-0x78)](d,e){function ao(a,b){return q(a-0x181,b);}const f=this;return f[ao(0x92,0x49)][ao(0x132,0x162)](async function g(){return d();},e);}[q(-0x3e,-0x8a)](){function ap(a,b){return q(b- -0x7c,a);}const {replica:d}=this;return this[ap(-0x178,-0x135)]||!this[ap(-0x14e,-0x15a)]&&(d?!(d[ap(-0xf3,-0xef)]&&(d[ap(-0x7b,-0xfa)]()||d[ap(-0xe4,-0x106)])):!![]);}[q(-0x118,-0xb5)](d){const e=[];if(this[aq(0x33c,0x3b4)]===d)e['push'](this);function aq(a,b){return q(b-0x4c1,a);}e['push'](...this[aq(0x455,0x44c)]['query'](f=>f[aq(0x3bf,0x3b4)]===d,!![]));e['push'](...this['resourceStore'][aq(0x409,0x3a5)](f=>f[aq(0x414,0x3b4)]===d,!![]));if(d['children']?.[aq(0x47c,0x43f)]){for(const f of d[aq(0x447,0x3f0)]){e['push'](...this['getCalendarConsumers'](f));}}return e;}[q(-0x74,-0x31)](d){const e=this[ar(0xd5,0x56)](d);function ar(a,b){return q(a-0x1ed,b);}for(const f of e){f['calendar']=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(-0xcb,-0x120)](){return{'repopulateReplica':0xa};}}c['applyConfigs']=!![];function q(a,b){return _enb(a- -0x2b1,b);}__decorate([model_field({'type':q(-0x52,0xc),'defaultValue':!![]})],c['prototype'],'unspecifiedTimeIsWorking',void 0x0);__decorate([model_field({'type':q(-0x52,-0x4c),'defaultValue':![]})],c['prototype'],q(-0xb8,-0x4a),void 0x0);__decorate([model_field({'type':q(-0x52,-0x99),'defaultValue':![]})],c[q(-0x6a,-0x1a)],'skipNonWorkingTimeInDurationWhenSchedulingManually',void 0x0);__decorate([model_field({'type':'string','defaultValue':Direction[q(-0x97,-0x73)]},{'sync':!![]})],c[q(-0x6a,-0x87)],q(-0x8c,-0x92),void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
1
+ (function(a,b){const c=a();function o(a,b){return _enb(b-0x167,a);}while(!![]){try{const d=parseInt(o(0x421,0x39f))/0x1+-parseInt(o(0x350,0x3b6))/0x2+parseInt(o(0x342,0x370))/0x3*(parseInt(o(0x2f8,0x340))/0x4)+parseInt(o(0x3b5,0x353))/0x5+parseInt(o(0x2fe,0x316))/0x6+-parseInt(o(0x357,0x3bb))/0x7*(-parseInt(o(0x2e5,0x2e9))/0x8)+-parseInt(o(0x390,0x37c))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2a92c));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[p(0x4c0,0x450)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[p(0x4e1,0x48e)]===p(0x4f5,0x4ce))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;function p(a,b){return _enb(b-0x273,a);}return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{MixinAny}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _ena(){const ax=['33135nRzjuA','addEvent','applyConfigs','setupTemporaryIndices','scheduleDelayedCalculation','isShadow','trigger','addStore','onSTMRestoringStart','queue','skipNonWorkingTimeWhenSchedulingManually','unjoinRecordsFromProject','4105503TqopNU','add','removeStore','getDefaultCycleEffectClass','_stmDisabled','rejectedWith','decorate','getDefaultCalendarModelClass','identifier','isRepopulatingStores','rootNode','hasDataInStores','setCalendarManagerStore','undo','isInitialCommitPerformed','repopulateStores','usingSyncDataOnLoad','isCommitting','unlink','resourceStoreChange','calendarsData','resources','hasChangesInStores','silenceInitialCommit','totalCount','resetQueue','enableProgressNotifications','font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em','string','onCommitInitialization','joinProject','count','initializeStm','stateRestoringDone','getGraph','144730kenUst','time','resourceStore','getReplicaConfig','suspendFilterOnUpdate','refresh','resumeChangeTracking','getDefaultDependencyStoreClass','revisionsEnabled','removeIndex','detachStore','getLatestStableEntryFor','endBatch','afterResourceRemoval','internalDelayCalculation','self','destroy','dependencies','excludeEvent','storeClass','beginBatch','construct','set','32614zqornz','expanded','eventsData','version','acceptChanges','9989MDJvQQ','delayCalculationEnd','delayedCalculationPromise','getDefaultDependencyModelClass','dependencyStoreChange','previous','storage','function','deferUntilRepopulationIfNeeded','handleSTMRestoringStop','onSTMRestoringStop','stop','disable','startTransaction','addIndex','prototype','tryPropagateWithChanges','warn','ignoreInitialCommitComputationCycles','includeEvent','subEventsIterable','getById','activeTransaction','_queue','push','doDestroy','SchedulerBasic','data','getDefaultEventModelClass','calendarManagerStoreChange','addEntity','calendarManagerStore','applyProjectResponse','getRange','boolean','values','log','enable','size','hasChanges','now','_isCommittingAfterStmRestore','dependencyModelClass','CurrentOrProposedOrPrevious','graphReady','getDefaultResourceModelClass','clear','generateId','unScheduleAutoCommit','setDependencyStore','88BSMyvK','calendarModelClass','length','createReplica','calculateProject','attachStore','dependenciesData','_stmRestoringInProgress','replica','resourcesData','resource','dataPropertyDeprecation','hasStore','setEventStore','unlinkStoreRecords','setResourceStore','traverse','repopulateReplica','Time\x20to\x20visible','assignmentsForRemoval','cycleEffectClass','getDefaultAssignmentModelClass','events','redo','_stmAutoRecord','beforeCommitAsync','disabled','isDelayingCalculation','addEvents','commitAsync','isRecording','eventStore','reject','Populating\x20project','suspendChangeTracking','syncDataOnLoad','commitLoad','delete','Forward','defaultCalendar','some','stmClass','has','appendChild','stm','791652TtgMLv','delayCalculation','sort','DEBUG','ion','resourceModelClass','unspecifiedTimeIsWorking','setAssignmentStore','calendars','recordsUnlinked','rejectStmTransaction','removeRejectedRecordsAdd','resourceStoreClass','tryPropagateWithChangesQueued','getEventStore','query','ignore','isEngineReady','eventStoreClass','dependencyStore','test','isLoadingInlineData','assignmentsData','setProject','forEachStore','delayCalculationStart','timeEnd','delayable','loadInlineData','resetStmQueue','_enableProgressNotifications','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','writeFailedResolutionInfo','stopTransaction','get','unlinkCalendarConsumers','dataStores','storePopulation','calendarManagerStoreClass','detachListeners','removalOrder','joinRecordsToProject','20uuwbNC','call','assign','children','getOwnPropertyDescriptor','autoRecord','tree','tasksData','getDefaultCalendarManagerStoreClass','eventStoreChange','tasks','isRestoringData','getDefaultResourceStoreClass','event','dependencyStoreClass','onCommitRejection','entries','invalidateTemporaryIndices','onPropagationProgressNotification','1496300VNuSQO','new','calendar','remove','getCalendarConsumers','transaction','isWritingPreviousData','forEach','enterReplica','%cInitializing\x20project','eventModelClass','hasPendingAutoCommit','isDestroyed','unlinkRecord','getDefaultEventStoreClass','assignmentStore','delayEnteringReplica','setStm','isValidDependency','assignmentModelClass','afterEventRemoval','then','repopulateStore','assignmentStoreClass','graph','removeTemporaryIndices','getDefaultAssignmentStoreClass','await','firstStore'];_ena=function(){return ax;};return _ena();}import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Schema}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Schema.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x165;let f=c[d];return f;};return _enb(a,b);}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';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(0x240,0x2bf)];class c extends a{[q(0x22a,0x1aa)](d={}){d[r(0x10e,0x96)]=d['delayCalculation']!==![];d['enableProgressNotifications']=d[r(0x18d,0x141)]||d[r(0x10e,0x12a)]!==![];function r(a,b){return q(a- -0x7f,b);}this[r(0xc5,0x108)]=new _eng(_ene[r(0xdd,0xf0)]('ProjectModelQueue'));if(!(r(0x1ae,0x20c)in d)){d['expanded']=!![];}if(d[r(0x10e,0xf8)]){this[r(0x15a,0x13d)]=!![];}if(!(r(0x171,0x156)in d)){d[r(0x171,0x107)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d[r(0xf6,0xec)];delete d['dependencies'];delete d['resources'];delete d['assignments'];delete d[r(0x115,0x17d)];b[r(0x1ab,0x14d)][r(0x138,0xe2)](this,d);this[r(0x182,0x1cd)]=new Set();this['ignoreInitialCommitComputationCycles']='ignoreInitialCommitComputationCycles'in d?d[r(0x1c4,0x1c3)]:![];if(this[r(0x1c4,0x148)]){console[r(0x1c3,0x21d)](r(0x12c,0x1a5));}if(!this[r(0x154,0xd8)])this['eventModelClass']=this[r(0xca,0xef)]();if(!this[r(0x11f,0x12a)])this[r(0x11f,0xb6)]=this[r(0x158,0x16f)]();if(!this[r(0xd8,0x13a)])this[r(0xd8,0x121)]=this[r(0x1b5,0x1af)]();if(!this[r(0x145,0xc4)])this[r(0x145,0x1a3)]=this[r(0x19d,0x182)]();if(!this[r(0x112,0x11c)])this['resourceModelClass']=this[r(0xdb,0xa6)]();if(!this[r(0x119,0x154)])this[r(0x119,0xe6)]=this[r(0x143,0x1a8)]();if(!this[r(0x15d,0x1d4)])this[r(0x15d,0x112)]=this[r(0xf5,0x113)]();if(!this[r(0x161,0x139)])this['assignmentStoreClass']=this[r(0x164,0x15d)]();if(!this[r(0xe1,0x15a)])this[r(0xe1,0x130)]=this[r(0x17a,0x174)]();if(!this[r(0x133,0x142)])this[r(0x133,0x151)]=this[r(0x13f,0x10c)]();if(!this[r(0xf4,0x159)])this[r(0xf4,0x164)]=this[r(0x176,0x14a)]();this[r(0x193,0x1ac)]();this['defaultCalendar']=new this['calendarModelClass']({'name':'Default','unspecifiedTimeIsWorking':this['unspecifiedTimeIsWorking']});this[r(0x107,0x8d)]['project']=this;if(!this[r(0x15a,0xff)])this[r(0x152,0x149)](![]);this[r(0x17f,0x106)](this[r(0xcd,0x66)]);this[r(0xed,0xcd)](this['eventStore']);this[r(0xdf,0xc9)](this[r(0x120,0x19a)]);this['setResourceStore'](this['resourceStore']);this[r(0x114,0xb3)](this[r(0x159,0x123)]);const j=Boolean(this[r(0x187,0x19a)]||this[r(0x1af,0x1ee)]||this['dependenciesData']||this[r(0xe9,0xa5)]||this[r(0x123,0xc8)]||i||e||f||g||h);if(j){this['loadInlineData']({'calendarsData':this['calendarsData'],'eventsData':this[r(0x1af,0x175)],'dependenciesData':this['dependenciesData'],'resourcesData':this[r(0xe9,0xaa)],'assignmentsData':this[r(0x123,0xfa)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(0x187,0x168)];delete this['eventsData'];delete this[r(0xe6,0xfc)];delete this[r(0xe9,0x110)];delete this[r(0x123,0xd2)];}else{if(this[r(0x10e,0x11e)]&&this[r(0x17e,0x119)])this[r(0x16b,0x1d5)]();}}get[q(0x1b0,0x206)](){function s(a,b){return q(b- -0x25d,a);}return[this[s(-0xe1,-0x111)],this[s(-0x5f,-0x46)],this[s(-0x14a,-0xdf)],this['dependencyStore'],this[s(-0x69,-0x85)]];}get[q(0x1fd,0x22f)](){function t(a,b){return q(b-0x2bd,a);}return this['dataStores'][t(0x41e,0x444)](d=>d[t(0x4de,0x4c7)]>0x0);}get[q(0x208,0x1da)](){function u(a,b){return q(a-0xfb,b);}return this[u(0x2ab,0x285)]['some'](d=>d[u(0x24f,0x277)]);}[q(0x1d1,0x1a4)](d){const e=this;if(!e[v(0x24a,0x2bf)]){e[v(0x2b7,0x2bf)]=e[v(0x300,0x2ba)]();e[v(0x317,0x2bf)][v(0x27e,0x2a3)](e);e[v(0x2b0,0x2bf)][v(0x27a,0x2a3)](e[v(0x2b0,0x2de)]);e[v(0x2f3,0x344)](v(0x28f,0x2b1));}function v(a,b){return q(b-0x158,a);}if(d&&!e[v(0x2eb,0x353)]){e[v(0x2ee,0x308)][v(0x348,0x328)](f=>{function w(a,b){return v(a,b-0x6d);}f[w(0x36f,0x395)](g=>{function x(a,b){return w(b,a- -0x34f);}!g[x(0x57,-0x1e)]&&g[x(0x86,0x36)]();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(0x1a9,0x181)](){const d=this[y(0xe2,0x13b)]['disabled'];function y(a,b){return q(a- -0xa9,b);}this[y(0xe2,0x84)][y(0x194,0x1e5)]();this[y(0xe2,0x149)][y(0x162,0x10d)]();if(!d){this['stm'][y(0xa9,0xe1)]();}}[q(0x146,0xf3)](){const d=this;function z(a,b){return q(b-0x388,a);}d['dataStores'][z(0x507,0x558)](e=>e?.[z(0x578,0x5ad)]());d[z(0x4a5,0x50e)]?.['destroy']();d[z(0x53e,0x4ef)]?.[z(0x53b,0x4e3)]();d['stm']?.['destroy']();b[z(0x4f2,0x4ce)][z(0x5af,0x53f)](this);}[q(0x218,0x26f)](){function A(a,b){return q(a- -0x2d1,b);}return{'project':this,'schema':Schema[A(-0x107,-0xa6)](),'enableProgressNotifications':this[A(-0xc5,-0x5b)],'silenceInitialCommit':this[A(-0xc8,-0x74)],'preventSilencingOnIssueResolve':this['preventSilencingOnIssueResolve'],'ignoreInitialCommitComputationCycles':this[A(-0x8e,-0x87)],'cycleEffectClass':this[A(-0x15e,-0x1ca)],'onWriteDuringCommit':A(-0x135,-0xcc),'readMode':ReadMode[A(-0x179,-0xf9)]};}[q(0x162,0x133)](){function B(a,b){return q(a- -0x304,b);}return EngineReplica[B(-0x13a,-0x1b0)](this['getReplicaConfig']());}*['hasSubEvents'](){function C(a,b){return q(a-0x77,b);}return this[C(0x211,0x1b9)]()[C(0x288,0x2b5)]>0x0;}*[q(0x245,0x28d)](){function D(a,b){return q(a- -0xed,b);}return this[D(0xad,0x7d)]()[D(0x61,0x56)]();}['getType'](){function E(a,b){return q(b- -0x340,a);}return ProjectType[E(-0x258,-0x1f9)];}get['enableProgressNotifications'](){return this['_enableProgressNotifications'];}set['enableProgressNotifications'](d){function F(a,b){return q(a- -0x2d0,b);}this[F(-0x126,-0xbc)]=d;if(this[F(-0x169,-0x1c6)])this[F(-0x169,-0x1c9)][F(-0xc4,-0x125)]=d;}[q(0x1f5,0x1e2)](){return CycleEffect;}[q(0x149,0x1bb)](){return SchedulerBasicEvent;}[q(0x1d7,0x1be)](){return ChronoEventStoreMixin;}[q(0x234,0x222)](){return BaseDependencyMixin;}[q(0x21c,0x1cc)](){return ChronoDependencyStoreMixin;}[q(0x15a,0x184)](){return BaseResourceMixin;}[q(0x1c2,0x1b8)](){return ChronoResourceStoreMixin;}['getDefaultAssignmentModelClass'](){return BaseAssignmentMixin;}[q(0x1e3,0x24f)](){return ChronoAssignmentStoreMixin;}[q(0x1f9,0x256)](){return BaseCalendarMixin;}[q(0x1be,0x212)](){return ChronoCalendarManagerStoreMixin;}['usingSyncDataOnLoad'](){function G(a,b){return q(a- -0x18d,b);}return[this[G(-0xf,0x50)],this[G(0x8a,0x4f)],this[G(0x12,0x2d)],this['assignmentStore']]['some'](d=>d[G(-0xb,-0x7)]);}async[q(0x1a8,0x1bb)](d){function H(a,b){return q(a- -0x349,b);}const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this[H(-0x1df,-0x1fe)]?.(d||{});if(!this['isInitialCommitPerformed']){j?.[H(-0x1ec,-0x1f1)]();}else{while(j?.['isCommitting']){await this[H(-0x1cd,-0x15e)]();}}if(j?.[H(-0x13d,-0x150)]&&!this['delayCalculation']){await delay(0x0);await this[H(-0x1cd,-0x1f2)]();j[H(-0x181,-0x156)]({'total':0x0,'remaining':0x0,'phase':H(-0x198,-0x181)});await delay(0x32);}this[H(-0x149,-0x161)]=![];this[H(-0x1a8,-0x216)]=!![];if(globalThis[H(-0x1ba,-0x1bc)]){console[H(-0x1f8,-0x1e9)](H(-0x177,-0x1a6),H(-0x13c,-0xc5));console[H(-0x133,-0x143)](H(-0x1d8,-0x1ad));console[H(-0x133,-0x17a)]('Populating\x20project');}if(this['delayCalculation']&&!this['delayedCalculationPromise']&&!this[H(-0x147,-0x173)]()){this['scheduleDelayedCalculation']();}if(d[H(-0x1b5,-0x1d6)]||d[H(-0x143,-0x163)]){this[H(-0x16a,-0x18e)](e);e[H(-0x201,-0x23a)]=d[H(-0x1b5,-0x1e0)]||d['calendarsData'];}if(d[H(-0x1d4,-0x223)]||d[H(-0x189,-0x1be)]||d[H(-0x11b,-0x11a)]||d[H(-0x18c,-0x1d3)]){this[H(-0x16a,-0x177)](f);f[H(-0x201,-0x19a)]=d[H(-0x1d4,-0x1f3)]||d[H(-0x189,-0x108)]||d[H(-0x11b,-0x105)]||d[H(-0x18c,-0x1eb)];}if(d['dependencies']||d[H(-0x1e4,-0x255)]){this[H(-0x16a,-0x1a6)](g);g[H(-0x201,-0x267)]=d[H(-0x123,-0xb3)]||d[H(-0x1e4,-0x22f)];}if(d[H(-0x142,-0x18b)]||d[H(-0x1e1,-0x25a)]){this[H(-0x16a,-0x1c5)](i);i[H(-0x201,-0x23b)]=d[H(-0x142,-0x109)]||d[H(-0x1e1,-0x224)];}if(d['assignments']||d[H(-0x1a7,-0x129)]){this[H(-0x16a,-0x1e8)](h);h[H(-0x201,-0x248)]=d['assignments']||d[H(-0x1a7,-0x1ad)];}if(d['project']){if(this[H(-0x170,-0x1d2)]&&this[H(-0x14c,-0x177)]){this[H(-0x1b9,-0x20f)]({'recordsUnlinked':()=>{this[I(0x52d,0x526)]();this[I(0x4f9,0x4c9)](d['project']);function I(a,b){return H(a-0x6f5,b);}this[I(0x5c7,0x5fb)]();},'once':!![]});}else{this[H(-0x1fc,-0x1d7)](d['project']);}}if(globalThis[H(-0x1ba,-0x210)])console[H(-0x1a3,-0x1c6)](H(-0x1c9,-0x19a));const k=await this[H(-0x1c6,-0x1f9)]();this[H(-0x1a8,-0x1ea)]=![];return k;}[q(0x1e9,0x223)](){function J(a,b){return q(b-0x38e,a);}const {storage:d}=this['assignmentStore']||{};if(d){d[J(0x5f3,0x5cd)]({'property':J(0x540,0x551),'unique':![]});d[J(0x59b,0x5cd)]({'property':J(0x4e1,0x4f7),'unique':![]});}}[q(0x1c7,0x1ed)](){function K(a,b){return q(b-0x3fd,a);}this[K(0x625,0x5d5)]?.[K(0x5dc,0x634)]?.['invalidateIndices']();}['removeTemporaryIndices'](){const {storage:d}=this[L(0x372,0x3da)];d[L(0x3e5,0x420)](L(0x3af,0x3c5));function L(a,b){return q(b-0x202,a);}d[L(0x484,0x420)](L(0x362,0x36b));}async[q(0x223,0x1b7)](d){const e=this;e[M(-0xc8,-0xef)]=!![];e[M(-0xb8,-0x111)]();function M(a,b){return q(a- -0x2a1,b);}await delay(0x0);if(e[M(-0xcc,-0x13b)]){d();return;}e[M(-0xb5,-0x66)](M(-0xfc,-0x138));e['trigger'](M(-0x87,-0x92),{'isCalculated':![]});await delay(0x0);if(e[M(-0xcc,-0x56)]){d();return;}e[M(-0xc8,-0x13e)]=![];e[M(-0xf1,-0x125)]['forEach'](g=>g[M(-0x88,-0x9c)]());if(e['isRepopulatingStores']){e[M(-0x131,-0xde)][M(-0x14c,-0xeb)]();}else{e['trigger'](M(-0x10c,-0x94));e[M(-0xd0,-0xa3)](!![]);}const f=await e['replica']['commitAsync']();if(e[M(-0xcc,-0x14b)]){d();return;}e[M(-0xf1,-0x105)][M(-0xd1,-0x77)](g=>g['resumeFilterOnUpdate']());d(f);e[M(-0x6e,-0xdd)]=null;e[M(-0xb5,-0xc4)](M(-0x6f,-0xbe));e[M(-0xbf,-0x115)]();}[q(0x1ea,0x1ec)](){function N(a,b){return q(b- -0x18e,a);}if(this['delayedCalculationPromise']){return this[N(0x46,0xa5)];}if(this['delayCalculation']!==![]){return this[N(0x2e,0xa5)]=new Promise(d=>this['internalDelayCalculation'](d)[N(-0x26,0x50)]());}}async[q(0x183,0x120)](){const d=await this[O(0x1ed,0x238)]();function O(a,b){return q(a-0x71,b);}if(!this[O(0x246,0x257)])this[O(0x25d,0x216)]('load');return d;}['initializeStm'](){const d=this[P(0xf5,0x15a)]||_enc;if(!(this[P(0x146,0x15d)]instanceof _enc))this[P(0x152,0x15d)]=d['new']({'disabled':!![]},this[P(0x194,0x15d)]);this[P(0x1c4,0x1ac)](this[P(0xf6,0x15d)]);function P(a,b){return q(b- -0x2e,a);}if(this['resetUndoRedoQueuesAfterLoad']){this['ion']({'load':this['resetStmQueue'],'thisObj':this});}this[P(0x166,0x162)]({'beforeCommit':this[P(0x21a,0x1e1)],'commitFinalized':this['onCommitFinalization'],'commitRejected':this[P(0x1c5,0x197)],'thisObj':this});}[q(0x197,0x1a6)]({transactionResult:d,silenceCommit:e}){const f=new Map();for(const h of d[Q(0x54,0xd3)][Q(-0x22,-0x7b)]()){const i=h[Q(0x88,0xcd)];const {field:j}=i;if(h[Q(0x79,0xe3)]()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i[Q(0xb2,0xca)];const l=k[Q(0x73,0xed)];if(l&&!h['previous']&&!d[Q(0x5c,-0x24)][Q(0xae,0xaf)](k['$$'])?.[Q(0xc4,0x136)]){if(!f[Q(0x17,-0x26)](l)){f[Q(0xb9,0xfc)](l,new Set([k]));}else if(!f[Q(0x3c,-0x42)](l)[Q(0x17,-0x4a)](k)){f[Q(0x3c,0x97)](l)[Q(0x81,0xe9)](k);}}}this[Q(0xf,-0x41)]?.();function Q(a,b){return q(a- -0x172,b);}const g=Array['from'](f['keys']())[Q(0x1c,-0x1e)]((m,n)=>m[Q(0x42,0x5e)]-n[Q(0x42,0xaa)]);g[Q(0x5e,0x78)](m=>m['remove'](f['get'](m)));this[Q(0xa9,0xcf)]?.(e);if(e){this['dataStores'][Q(0x5e,0xd2)](m=>m[Q(0xbe,0xf6)]());}}['onCommitRejection'](d){function R(a,b){return q(b- -0x18e,a);}if(this[R(0x56,0x68)]){this[R(-0x5c,-0x27)][R(-0x22,0x41)]++;this['isRestoringData']=!![];this[R(0x1c,0x9)](d);this[R(0x81,0x33)]=![];this['replica']['isWritingPreviousData']--;}else{this[R(0x6d,0x8)]();}}[q(0x20f,0x270)](){const {stm:d}=this;function S(a,b){return q(b- -0x4b,a);}this[S(0x1f3,0x1ab)]=d[S(0x163,0x12e)];if(d[S(0x192,0x132)]&&d[S(0x110,0x170)]){this[S(0xcd,0x12c)]=!![];d[S(0x188,0x170)]=![];}}['onCommitFinalization'](){function T(a,b){return q(b-0x346,a);}if(this[T(0x43d,0x4bd)]){this[T(0x513,0x4d1)][T(0x4b4,0x501)]=!![];this['_stmAutoRecord']=![];}}async['undo'](){function U(a,b){return q(a-0x3d9,b);}await this[U(0x564,0x558)][U(0x5d8,0x644)]();if(this[U(0x52f,0x4ad)]){await this[U(0x5bd,0x59c)](U(0x5ec,0x582),![]);}}async[q(0x176,0x120)](){function V(a,b){return q(b-0x93,a);}await this[V(0x1d3,0x21e)]['redo']();if(this[V(0x1a8,0x1e9)]){await this[V(0x22d,0x277)](V(0x31f,0x2a6),![]);}}['onSTMRestoringStart']({source:d}){function W(a,b){return q(b- -0x2b4,a);}if(this[W(-0x15b,-0x14d)])this[W(-0x17d,-0x14d)][W(-0x6b,-0xe5)]++;}async[q(0x23a,0x1df)](d){if(this[X(-0xe,-0x32)])this[X(-0xe,-0x2b)]['isWritingPreviousData']--;this[X(-0xf,-0x1e)]=!![];d[X(0xc8,0xf5)]();this[X(-0x1f,0x26)]=!![];function X(a,b){return q(a- -0x175,b);}await this[X(0x7,0xa)]();this[X(-0x1f,0xc)]=![];this[X(-0xf,-0x5b)]=![];if(!this[X(0x60,0x6f)]){d[X(-0x23,-0x44)]();this[X(0x77,0xf2)](X(0x9e,0x106));}}async[q(0x23b,0x225)]({source:d}){function Y(a,b){return q(a-0x17a,b);}if(d[Y(0x397,0x36f)]){await this['queue'](()=>this[Y(0x3b4,0x3a4)](d));}else{await this['handleSTMRestoringStop'](d);}}[q(0x239,0x260)](d,e,f){function Z(a,b){return q(a-0x2dd,b);}if(this[Z(0x4d8,0x4bf)]){this[Z(0x490,0x44c)](d);this[Z(0x46d,0x4de)]({'name':d,'repopulateReplica':{'fn':async()=>{function a0(a,b){return Z(a-0xe9,b);}await this['commitAsync']();if(!this[a0(0x59b,0x593)]){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(0x1fb,0x17c)](){function a1(a,b){return q(a-0x142,b);}return Boolean(this[a1(0x343,0x333)]?.[a1(0x295,0x295)]);}[q(0x1df,0x1e5)](d){function a2(a,b){return q(b-0x329,a);}const e=this;if(e['repopulateOnDataset']&&d[a2(0x578,0x533)]&&!d[a2(0x458,0x4ab)]){e[a2(0x439,0x490)]?.[a2(0x48b,0x46c)][a2(0x575,0x565)]();if(!e['repopulateStores'])e['repopulateStores']=new Set();e['repopulateStores'][a2(0x561,0x51c)](d);e[a2(0x512,0x499)]();}}[q(0x170,0x1f0)](){const d=this;function a3(a,b){return q(a-0x376,b);}if(d[a3(0x54f,0x4e3)]){return;}const {dataStores:e,replica:f,calendarManagerStore:g}=d;if(f){d['unlinkStoreRecords'](...e);d[a3(0x54c,0x581)](d);d['unlinkRecord'](d[a3(0x4fc,0x546)]);d[a3(0x562,0x5e2)](a3(0x50b,0x4b1));f[a3(0x4d1,0x478)]();}else{d[a3(0x562,0x50f)]('recordsUnlinked');}const h=d[a3(0x4dd,0x4d0)]=d[a3(0x4d8,0x549)]();h['addEntities']([d,d[a3(0x4fc,0x576)]]);const i=new Map();for(const j of e){i[a3(0x5a1,0x5d6)](j,j[a3(0x52b,0x570)](d,!![]));}if(i[a3(0x524,0x52c)](g)<g[a3(0x580,0x5de)]){d[a3(0x4c2,0x44b)][a3(0x52b,0x5a3)](d,!![]);}if(f){h[a3(0x4b9,0x43e)][a3(0x522,0x4e4)](f['baseRevision']['failedResolutionReferences']);}d['repopulateStores']['clear']();d['trigger'](a3(0x4e6,0x4dd));}[q(0x178,0x198)](){function a4(a,b){return q(a-0x312,b);}if(this[a4(0x482,0x4df)]['isPending']&&!this['isDelayingCalculation']){this[a4(0x482,0x400)]['now']();return this[a4(0x479,0x40e)][a4(0x48e,0x509)]();}return null;}['unlinkRecord'](d){function a5(a,b){return q(b- -0x3a8,a);}d[a5(-0x142,-0x1a4)]();}[q(0x16d,0x121)](...d){function a6(a,b){return q(a-0x17,b);}d[a6(0x1e7,0x1fc)](e=>{function a7(a,b){return a6(a-0xc2,b);}if(!this['repopulateStores'][a7(0x262,0x2e3)](e)||e['syncDataOnLoad']){e[a7(0x248,0x2b6)](f=>{function a8(a,b){return a7(a- -0x369,b);}this[a8(-0xba,-0xbf)](f);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(0x214,0x1f9)](){function a9(a,b){return q(a-0x190,b);}return this[a9(0x2f7,0x284)];}async[q(0x17b,0x1cd)](d){this[aa(0xa,-0x20)][aa(0x7f,0x9)](d);function aa(a,b){return q(a- -0x174,b);}return this['commitAsync']();}async[q(0x1e7,0x1d1)](d){this[ab(0x0,-0x6e)][ab(0x75,0x90)](d);function ab(a,b){return q(a- -0x17e,b);}return this[ab(-0x2,0x46)]();}[q(0x244,0x230)](d){function ac(a,b){return q(b-0xda,a);}this[ac(0x1f6,0x258)]['add'](d);}async['removeEvents'](d){this[ad(0xc9,0x63)][ad(0xa6,0xb1)](d);function ad(a,b){return q(b- -0x11b,a);}return this[ad(0x31,0x61)]();}[q(0x227,0x20c)](d){function ae(a,b){return q(b- -0x82,a);}this['eventStore'][ae(0x12e,0x14a)](d);}async['removeEvent'](d){this[af(0x218,0x1ad)][af(0x266,0x231)](d);function af(a,b){return q(a-0x9a,b);}return this[af(0x216,0x1d9)]();}['getStm'](){function ag(a,b){return q(a- -0x1bb,b);}return this[ag(-0x30,0x38)];}[q(0x1da,0x1ff)](d){function ah(a,b){return q(b- -0x81,a);}this[ah(0x114,0x10a)]=d;this[ah(0x111,0x10a)][ah(0xac,0x10f)]({'restoringStart':this[ah(0x18b,0x16d)],'restoringStop':this[ah(0x177,0x1ba)],'thisObj':this});}[q(0x163,0xe1)](){return this;}*['calculateEffectiveDataOrVisualCalendar'](d){let e=yield this['$'][ai(0x269,0x2b8)];if(e){yield e['$'][ai(0x2cd,0x296)];}else{e=this[ai(0x224,0x1ef)];}function ai(a,b){return q(a-0x9e,b);}return e;}[q(0x16c,0x1b8)](d){const e=this[aj(0x148,0x1be)];if(e&&this[aj(0x15c,0x1cb)][aj(0x214,0x1ab)](e)){this[aj(0x220,0x1cb)]['removeStore'](e);e[aj(0x23d,0x231)](this);this[aj(0x250,0x25f)](e);const f=e[aj(0x190,0x1b2)];f[aj(0x194,0x210)](g=>{const h=g[ak(0xbc,0x107)];function ak(a,b){return aj(b,a- -0x147);}if(h){const i=d[ak(0x3b,0x74)](h['id']);if(i){g[ak(0xbc,0x99)]=i;f[ak(0x7d,0xe5)](g);}}});e[aj(0x29d,0x21d)]();}function aj(a,b){return q(b-0x40,a);}if(!d||!(d instanceof _end)){const g=d?.[aj(0x25f,0x268)]||this[aj(0x220,0x1de)];this[aj(0x1cb,0x1be)]=new g(_enf[aj(0x265,0x1f8)]({'modelClass':this['eventModelClass'],'project':this,'stm':this[aj(0x1d3,0x1cb)]},d||{}));}else{this[aj(0x171,0x1be)]=d;d[aj(0x238,0x1e3)](this);this[aj(0x1ba,0x1cb)][aj(0x278,0x22d)](d);if(d[aj(0x1fa,0x1fc)]&&d['rootNode']!==this){this[aj(0x235,0x1ca)](d[aj(0x255,0x23c)][aj(0x1f2,0x1f9)]||[]);d[aj(0x1ea,0x23c)]=this;}else{d[aj(0x179,0x1f5)](this);}}this[aj(0x218,0x1a4)](this[aj(0x1ae,0x1be)]);this[aj(0x1c6,0x22c)](aj(0x202,0x1ff),{'store':this[aj(0x194,0x1be)]});}[q(0x15e,0x148)](d){const e=this[al(0x579,0x55e)];if(e&&this[al(0x4d2,0x54a)]['hasStore'](e)){this[al(0x4df,0x54a)][al(0x626,0x5b3)](e);this['detachStore'](e);}function al(a,b){return q(b-0x3bf,a);}if(!d||!(d instanceof _end)){const f=d?.[al(0x62c,0x5e7)]||this[al(0x52d,0x583)];this[al(0x4fb,0x55e)]=new f(_enf[al(0x5a2,0x577)]({'modelClass':this[al(0x55e,0x516)],'project':this,'stm':this[al(0x515,0x54a)]},d||{}));}else{this[al(0x512,0x55e)]=d;d[al(0x518,0x562)](this);this[al(0x549,0x54a)][al(0x530,0x5ac)](d);d[al(0x52a,0x574)](this);}this[al(0x517,0x523)](this[al(0x4e8,0x55e)]);this[al(0x5b5,0x5ab)](al(0x585,0x5f4),{'store':this['dependencyStore']});}[q(0x16e,0xff)](d){const e=this[am(0xbc,0x80)];function am(a,b){return q(a- -0x15b,b);}if(e&&this['stm'][am(0x10,0x55)](e)){this[am(0x30,0x25)]['removeStore'](e);e[am(0x96,0x8a)](this);this[am(0xc4,0xae)](e);const f=e[am(0x17,0x36)];f[am(0x75,0x8a)](g=>{const h=g[an(0x5c,0x2)];function an(a,b){return am(a-0x4e,b);}if(h){const i=d[an(0x35,0x23)](h['id']);if(i){g[an(0x5c,-0x17)]=i;f[an(0x77,0x5)](g);}}});e[am(0xc7,0xa1)]();}if(!d||!(d instanceof _end)){const g=d?.[am(0xcd,0x97)]||this[am(0x3d,0x71)];this[am(0xbc,0xdd)]=new g(_enf[am(0x5d,0x86)]({'modelClass':this[am(0x36,0x1f)],'project':this,'stm':this['stm']},d||{}));}else{this['resourceStore']=d;d['setProject'](this);this[am(0x30,0x99)][am(0x92,0xf6)](d);d[am(0x5a,0x65)](this);}this['attachStore'](this[am(0xbc,0x94)]);this[am(0x91,0xfb)](am(0xaa,0x97),{'store':this[am(0xbc,0x12c)]});}['setAssignmentStore'](d){const e=this[ao(0x0,-0x19)];if(e&&this['stm'][ao(-0x29,-0x86)](e)){this['stm'][ao(0x7d,0x3)](e);e[ao(-0x6c,0x0)](this);this[ao(0x19,0x2e)](e);}if(!d||!(d instanceof _end)){const f=d?.[ao(-0x2a,0x37)]||this[ao(-0x77,-0x11)];this[ao(0x66,-0x19)]=new f(_enf[ao(0x44,-0x39)]({'modelClass':this['assignmentModelClass'],'project':this,'stm':this[ao(-0xd,-0x66)]},d||{}));}else{this[ao(0x52,-0x19)]=d;d['setProject'](this);this[ao(-0x77,-0x66)]['addStore'](d);d[ao(0x3c,-0x3c)](this);}this[ao(-0xf6,-0x77)]&&this[ao(-0x6a,-0x8)]();this[ao(-0xc6,-0x8d)](this[ao(-0x24,-0x19)]);function ao(a,b){return q(b- -0x1f1,a);}this[ao(-0x2a,-0x5)]('assignmentStoreChange',{'store':this['assignmentStore']});}[q(0x1fe,0x181)](d){const e=this[ap(0x4e8,0x4e9)];if(e&&this[ap(0x527,0x530)][ap(0x507,0x513)](e)){this['stm']['removeStore'](e);this[ap(0x5bb,0x564)](e);}if(!d||!(d instanceof _end)){const f=d?.[ap(0x5c4,0x5a2)]||this[ap(0x54e,0x5bb)];this['calendarManagerStore']=new f(_enf[ap(0x554,0x527)]({'modelClass':this[ap(0x4fc,0x4fc)],'project':this,'stm':this[ap(0x527,0x589)]},d||{}));}else{this[ap(0x4e8,0x55e)]=d;if(d){d[ap(0x53f,0x4c0)](this);this[ap(0x527,0x4a5)][ap(0x589,0x5d1)](d);d[ap(0x551,0x56e)](this);}}this['attachStore'](this[ap(0x4e8,0x48e)]);function ap(a,b){return q(a-0x39c,b);}this[ap(0x588,0x5c8)](ap(0x4e6,0x515),{'store':this[ap(0x4e8,0x4d0)]});}async[q(0x1db,0x180)](...d){return!![];}['rejectStmTransaction'](d){function aq(a,b){return q(b- -0x1fc,a);}d=d||this[aq(-0xb,-0x71)];if(d[aq(-0x7b,-0x2e)]){if(d[aq(-0x25,-0x2e)][aq(-0xcd,-0x9b)]){d[aq(0x1c,-0x58)](e=>e[aq(0x52,0x2d)]());d['rejectTransaction']();d['forEachStore'](e=>e[aq(0x9c,0x25)]());}else{d['stopTransaction']();}}}async[q(0x241,0x2b7)](d){const f=this[ar(-0x172,-0x13c)],g=f[ar(-0x132,-0x14e)],h=f[ar(-0x156,-0x10c)];if(g){f['enable']();}else{if(h){f[ar(-0xd2,-0x10c)]=![];}if(f[ar(-0xd7,-0x14a)]){f[ar(-0xde,-0x11a)]();}}f[ar(-0x33,-0x89)]();function ar(a,b){return q(b- -0x2c7,a);}d();let i=!![];try{const j=await this['commitAsync']();i=!j[ar(-0xa2,-0xd0)];}catch(k){if(!/cycle/i[ar(-0x13b,-0x127)](k))throw k;i=![];}if(i){f[ar(-0x15a,-0x11a)]();if(g){f[ar(-0x138,-0xbc)]();}}else{this[ar(-0x158,-0x160)][ar(-0xd3,-0x148)]();this['rejectStmTransaction'](f);}f[ar(-0x19e,-0x14e)]=g;f[ar(-0xf4,-0x10c)]=h;return i;}async[q(0x199,0x1d7)](d){function as(a,b){return q(a-0x175,b);}return this[as(0x364,0x37e)](()=>this[as(0x3b6,0x3fe)](d));}[q(0x1ef,0x1c4)](d,e){function at(a,b){return q(a- -0x2d6,b);}const f=this;return f[at(-0x192,-0x214)][at(-0xe7,-0x6c)](async function g(){return d();},e);}[q(0x19d,0x149)](){const {replica:d}=this;function au(a,b){return q(b- -0x257,a);}return this['delayEnteringReplica']||!this[au(0x16,-0x5c)]&&(d?!(d['dirty']&&(d[au(-0x78,-0x83)]()||d[au(-0x4e,-0x54)])):!![]);}[q(0x1cd,0x24a)](d){function av(a,b){return q(a-0x253,b);}const e=[];if(this['calendar']===d)e[av(0x398,0x34f)](this);e[av(0x398,0x40e)](...this[av(0x3d1,0x3c7)][av(0x3ee,0x3bf)](f=>f[av(0x41e,0x43c)]===d,!![]));e['push'](...this[av(0x46a,0x427)][av(0x3ee,0x394)](f=>f[av(0x41e,0x449)]===d,!![]));if(d[av(0x40c,0x456)]?.['length']){for(const f of d[av(0x40c,0x423)]){e[av(0x398,0x337)](...this[av(0x420,0x461)](f));}}return e;}[q(0x1af,0x186)](d){function aw(a,b){return q(b- -0x222,a);}const e=this['getCalendarConsumers'](d);for(const f of e){f[aw(-0x82,-0x57)]=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(0x1a7,0x1be)](){return{'repopulateReplica':0xa};}}c[q(0x1e8,0x203)]=!![];__decorate([model_field({'type':'boolean','defaultValue':!![]})],c[q(0x240,0x287)],q(0x192,0x1cf),void 0x0);__decorate([model_field({'type':q(0x14f,0x1be),'defaultValue':![]})],c['prototype'],q(0x1f0,0x1f3),void 0x0);__decorate([model_field({'type':q(0x14f,0x1a6),'defaultValue':![]})],c[q(0x240,0x1d4)],'skipNonWorkingTimeInDurationWhenSchedulingManually',void 0x0);function q(a,b){return _enb(a- -0x23,b);}__decorate([model_field({'type':q(0x20e,0x24f),'defaultValue':Direction[q(0x185,0x140)]},{'sync':!![]})],c[q(0x240,0x1e5)],'direction',void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
@@ -1 +1 @@
1
- function _ena(){const X=['proposeEndDate','storage','getStartDate','duration','call','keepDuration','propose','4236cAkJig','283202rsBobh','473816Ndojrj','isWritingData','4762449hvnidi','$isCalculating','setStartDate','337952xACXSW','recurringTimeSpan','event','prototype','eventStore','5170200XCIDFk','getEndDate','_duration','613483MYBqul','getTimezoneOffset','adjustDurationToDST','get','calculateInvalidated','date','proposeStartDate','getCurrentOrProposed','millisecond','durationUnit','proposeDuration','setChanged','commitAsync','_startDate','endDate','inSetting','getTime','$changed','assignmentStore','number','hasCurrentOrProposed','project','findItem','setData','_endDate','afterChange','durationunit','joinProject','setTime','add','2675rqbiej','day','startDate','string','inSet','12qHmnkQ','keepStart','eventId','6qytsWB'];_ena=function(){return X;};return _ena();}(function(a,b){const c=a();function z(a,b){return _enb(b- -0x63,a);}while(!![]){try{const d=-parseInt(z(0x141,0x152))/0x1+parseInt(z(0x135,0x144))/0x2*(parseInt(z(0x18b,0x178))/0x3)+-parseInt(z(0x160,0x143))/0x4*(-parseInt(z(0x16e,0x170))/0x5)+parseInt(z(0x186,0x175))/0x6*(parseInt(z(0x14e,0x145))/0x7)+-parseInt(z(0x14d,0x14a))/0x8+parseInt(z(0x12e,0x147))/0x9+-parseInt(z(0x14e,0x14f))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x53635));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1a3;let f=c[d];return f;};return _enb(a,b);}import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';class CoreEventMixin extends Mixin([CorePartOfProjectModelMixin],a=>{const b=a[A(0x42b,0x438)];function A(a,b){return _enb(b-0x288,a);}class c extends a{constructor(){super(...arguments);this[B(0x4f4,0x50a)]=null;this['_endDate']=null;function B(a,b){return A(a,b-0xc0);}this['_duration']=null;}static get['fields'](){function C(a,b){return A(b,a- -0x131);}return[{'name':C(0x32c,0x33e),'type':C(0x311,0x321)},{'name':C(0x31a,0x329),'type':'date'},{'name':C(0x336,0x353),'type':C(0x31f,0x32b)},{'name':C(0x315,0x305),'type':C(0x326,0x331),'defaultValue':C(0x32b,0x30d)}];}get[A(0x47b,0x45d)](){function D(a,b){return A(b,a- -0x39a);}return this[D(0xb0,0xac)]??this[D(0xa6,0x98)]('startDate')??null;}get[A(0x457,0x44b)](){function E(a,b){return A(a,b- -0x401);}return this['_endDate']??this[E(0x4a,0x3f)](E(0x68,0x4a))??null;}get['duration'](){function F(a,b){return A(a,b- -0x20f);}return this[F(0x221,0x22d)]??this[F(0x21c,0x231)]('duration')??null;}set['startDate'](d){this['proposeStartDate'](d);}set[A(0x442,0x44b)](d){function G(a,b){return A(b,a- -0x492);}this[G(-0x2e,-0x3c)](d);}set[A(0x46c,0x467)](d){function H(a,b){return A(a,b- -0x55);}this[H(0x403,0x3f2)](d);}[A(0x457,0x45f)](d,e,f,g,h){const i=this;if(i[I(0x1dd,0x1c1)]&&!i[I(0x1cf,0x1c1)][I(0x1a1,0x1a0)]&&typeof d!==I(0x1cf,0x1cd)&&!h){if(I(0x1c9,0x1cc)in d&&!(I(0x1d8,0x1cc)in i[I(0x1b6,0x1bd)])){i[I(0x1cc,0x1bd)][I(0x1cf,0x1cc)]=!![];i['invalidate']();}if(I(0x19e,0x1ba)in d&&!(I(0x1bb,0x1ba)in i[I(0x1b3,0x1bd)])){i[I(0x1bd,0x1bd)][I(0x1c8,0x1ba)]=!![];i['invalidate']();}}function I(a,b){return A(a,b- -0x291);}return b[I(0x1ca,0x1ce)][I(0x1a5,0x19a)](i,d,e,f,g,h);}[A(0x44a,0x466)](){function J(a,b){return A(b,a- -0x1f3);}return this[J(0x26a,0x287)];}[A(0x43a,0x443)](d,e=!(A(0x435,0x44b)in this['$changed'])){function K(a,b){return A(a,b- -0x545);}if(this[K(-0xe1,-0xf9)]||d?.['getTime']()!==this[K(-0x101,-0xe8)]?.[K(-0x102,-0xf8)]()){this[K(-0x105,-0xfb)]=d;this['propose']({'startDate':d,'keepDuration':e});}}async[A(0x43b,0x434)](d,e=!![]){this['proposeStartDate'](d,e);function L(a,b){return A(b,a-0x1f);}return this['project']?.[L(0x468,0x47a)]();}[A(0x437,0x43b)](){function M(a,b){return A(a,b- -0x13a);}return this[M(0x32b,0x311)];}[A(0x46c,0x464)](d,e=![]){function N(a,b){return A(a,b-0x154);}if(this[N(0x5b4,0x5a0)]||d?.[N(0x5b8,0x5a1)]()!==this[N(0x5ab,0x59f)]?.[N(0x5a1,0x5a1)]()){this[N(0x5a1,0x5a9)]=d;this[N(0x57d,0x581)]({'endDate':d,'keepDuration':e});}}async['setEndDate'](d,e=![]){this[O(-0x7e,-0x68)](d,e);function O(a,b){return A(b,a- -0x4e2);}return this[O(-0x90,-0xad)]?.[O(-0x99,-0x9e)]();}['getDuration'](){function P(a,b){return A(a,b-0xf6);}return this[P(0x54a,0x55d)];}[A(0x451,0x447)](d,e,f=!![]){function Q(a,b){return A(b,a- -0x472);}this['_duration']=d;this[Q(-0x45,-0x26)]({'duration':d,'keepStart':f});if(e)this[Q(-0x45,-0x63)]({'durationUnit':e});}async['setDuration'](d,e,f=!![]){function R(a,b){return A(a,b- -0x124);}this['proposeDuration'](d,e,f);return this[R(0x31b,0x32e)]?.[R(0x320,0x325)]();}['getDurationUnit'](){function S(a,b){return A(a,b- -0x13f);}return this[S(0x2fd,0x307)];}[A(0x461,0x458)](){const d=this;const e=d[T(0x2e0,0x2f7)];const f=d['getCurrentOrProposed'](T(0x2f4,0x306));const g=d[T(0x2de,0x2ed)](T(0x302,0x2f4));const h=d['getCurrentOrProposed'](T(0x32b,0x310));if(f!=null)e[T(0x2fe,0x306)]=d[T(0x2f0,0x2f3)]=f;if(g!=null)e['endDate']=d[T(0x312,0x2fe)]=g;if(h!=null)e[T(0x310,0x310)]=d['_duration']=h;if(d[T(0x2d2,0x2e2)]&&!d[T(0x2d2,0x2e2)]['isLoadingData']){const i=d[T(0x2fd,0x2f8)]?.[T(0x2f9,0x30e)][T(0x2e5,0x2fc)]('event',null);if(i){const j=d[T(0x308,0x2f8)]?.[T(0x319,0x30e)][T(0x2ef,0x2fc)](T(0x2f2,0x30b),d['id']);if(j){for(const k of j){k[T(0x307,0x2f1)](T(0x2c6,0x2e0),d);}}else{for(const l of i){if(l[T(0x2f1,0x2ed)]('event')===d['id']){l[T(0x2f8,0x2f1)]('event',d);}}}}}function T(a,b){return A(a,b- -0x157);}b['joinProject'][T(0x2bf,0x2d4)](d);}['applyValue'](d,e,f,g,h){function U(a,b){return A(b,a- -0x38d);}if((this['project']||this[U(0xa9,0xaf)]?.[U(0xc5,0xdd)])&&h){const {name:i}=h;if(i==='startDate'||i==U(0xda,0xcc)||i===U(0xbe,0xda)){d=!![];this['_'+i]=f;}if(g){d=![];}}b['applyValue']['call'](this,d,e,f,g,h);}[A(0x452,0x456)](d,e,f,g,h){function V(a,b){return A(a,b- -0x7);}if(!this[V(0x42b,0x42c)]&&!h){this[V(0x42e,0x44d)]({'startDate':this[V(0x433,0x43d)](V(0x46c,0x456)),'endDate':this[V(0x42d,0x43d)](V(0x437,0x444)),'duration':this['getCurrentOrProposed'](V(0x452,0x460)),'durationUnit':this[V(0x44b,0x43d)]('durationUnit')});}b[V(0x462,0x44f)][V(0x409,0x424)](this,d,e,f,g,h);}[A(0x425,0x441)](){const d=this;const e=d[W(0x410,0x417)];const f=W(0x415,0x426)in e;const g=W(0x430,0x414)in e;const h=W(0x424,0x430)in e;const {startDate:i,endDate:j,duration:k,keepDuration:l,keepStart:m}=e;function W(a,b){return A(a,b- -0x37);}let n=null;if(f&&!g&&!h){if(i===null){e[W(0x403,0x414)]=null;}else if(d['hasCurrentOrProposed'](W(0x3f7,0x414))&&i>d[W(0x42b,0x40d)](W(0x42d,0x414))&&!l){e['endDate']=i;e[W(0x420,0x430)]=0x0;}else if(d['hasCurrentOrProposed'](W(0x436,0x430))&&(l||!d['hasCurrentOrProposed'](W(0x405,0x414)))){n=W(0x405,0x414);}else if(d[W(0x430,0x41a)](W(0x404,0x414))){n=W(0x43a,0x430);}}else if(!f&&g&&!h){if(j===null){e[W(0x409,0x426)]=null;}else if(d[W(0x413,0x41a)](W(0x427,0x426))&&!l&&j!==!![]&&j<d[W(0x427,0x40d)](W(0x437,0x426))){e[W(0x424,0x426)]=j;e[W(0x42d,0x430)]=0x0;}else if(d[W(0x406,0x41a)](W(0x421,0x430))&&(l||!d[W(0x432,0x41a)](W(0x421,0x426)))){n=W(0x42b,0x426);}else if(d['hasCurrentOrProposed'](W(0x43c,0x426))){n=W(0x43e,0x430);}}else if(!f&&!g&&h){if(k===null){e['endDate']=null;}else if(d[W(0x435,0x41a)](W(0x413,0x426))&&(m||!d[W(0x400,0x41a)](W(0x408,0x414)))){if(m&&e[W(0x417,0x430)]<0x0){e[W(0x43d,0x430)]=0x0;}n=W(0x40c,0x414);}else if(d[W(0x401,0x41a)](W(0x416,0x414))){n=W(0x415,0x426);}}else if(f&&g&&!h){if(i===null&&j===null){e[W(0x415,0x430)]=null;}else{n=W(0x41c,0x430);}}else if(f&&!g&&h){n=W(0x419,0x414);}else if(!f&&g&&h){n='startDate';}else if(f&&g&&h){if(k==null){n='duration';}else if(i==null){n=W(0x416,0x426);}else{n='endDate';}}const o=d[W(0x42a,0x40d)](W(0x421,0x426));const p=d[W(0x3fd,0x40d)](W(0x3fa,0x414));const q=d[W(0x3ee,0x40d)]('duration');const r=d[W(0x420,0x40d)]('durationUnit');const s=d['getProject']()?.[W(0x418,0x408)]??![];switch(n){case W(0x432,0x426):const t=_enc[W(0x433,0x423)](p,-q,r);if(s){const w=p['getTimezoneOffset']()-t[W(0x41c,0x407)]();t[W(0x431,0x422)](t[W(0x3ff,0x416)]()-w*0x3c*0x3e8);}e[W(0x422,0x426)]=t;break;case W(0x407,0x414):const u=_enc[W(0x429,0x423)](o,q,r);if(s){const x=o[W(0x40e,0x407)]()-u[W(0x413,0x407)]();u[W(0x405,0x422)](u[W(0x433,0x416)]()-x*0x3c*0x3e8);}e['endDate']=u;break;case'duration':let v=_enc['diff'](o,p,W(0x3f6,0x40e));if(s){const y=o[W(0x424,0x407)]()-p[W(0x3f0,0x407)]();v+=y*0x3c*0x3e8;}e['duration']=_enc['as'](r,v,'millisecond');break;}if(W(0x422,0x426)in e&&e['startDate']!==!![])this[W(0x403,0x413)]=e[W(0x428,0x426)];if(W(0x3f9,0x414)in e&&e['endDate']!==!![])this['_endDate']=e[W(0x3f6,0x414)];if('duration'in e&&e['duration']!==!![])this[W(0x412,0x405)]=e[W(0x447,0x430)];if(e[W(0x431,0x426)]===!![])delete e[W(0x444,0x426)];if(e[W(0x409,0x414)]===!![])delete e[W(0x429,0x414)];delete e[W(0x3ff,0x3f5)];delete e[W(0x444,0x42a)];}}return c;}){}export{CoreEventMixin};
1
+ function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x134;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function z(a,b){return _enb(a- -0x218,b);}const c=a();while(!![]){try{const d=-parseInt(z(-0xce,-0xcb))/0x1*(parseInt(z(-0xd1,-0xb6))/0x2)+-parseInt(z(-0xba,-0xd8))/0x3*(parseInt(z(-0xb0,-0xb7))/0x4)+-parseInt(z(-0xc9,-0xb2))/0x5+-parseInt(z(-0xe4,-0xc2))/0x6*(-parseInt(z(-0xa5,-0xac))/0x7)+-parseInt(z(-0xaa,-0xcd))/0x8*(parseInt(z(-0xa1,-0xa7))/0x9)+parseInt(z(-0xe3,-0x101))/0xa*(parseInt(z(-0xa9,-0xb4))/0xb)+-parseInt(z(-0xc4,-0xd1))/0xc*(-parseInt(z(-0xdd,-0xbe))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xe710b));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';class CoreEventMixin extends Mixin([CorePartOfProjectModelMixin],a=>{const b=a[A(-0x134,-0x11d)];class c extends a{constructor(){super(...arguments);function B(a,b){return A(a,b-0x323);}this[B(0x1df,0x1de)]=null;this['_endDate']=null;this[B(0x21c,0x213)]=null;}static get[A(-0x12b,-0x13f)](){function C(a,b){return A(a,b-0x19b);}return[{'name':C(0x2f,0x52),'type':C(0x57,0x59)},{'name':C(0x71,0x81),'type':'date'},{'name':C(0xa7,0x90),'type':C(0x7c,0x93)},{'name':C(0x68,0x76),'type':'durationunit','defaultValue':C(0x45,0x60)}];}get['startDate'](){function D(a,b){return A(a,b-0x2c7);}return this[D(0x180,0x182)]??this['get'](D(0x16c,0x17e))??null;}get[A(-0x106,-0x11a)](){function E(a,b){return A(b,a-0x498);}return this['_endDate']??this[E(0x367,0x361)](E(0x37e,0x363))??null;}get['duration'](){function F(a,b){return A(b,a-0x1cc);}return this[F(0xbc,0xd1)]??this[F(0x9b,0x9b)]('duration')??null;}set['startDate'](d){this['proposeStartDate'](d);}set[A(-0x129,-0x11a)](d){function G(a,b){return A(b,a-0x590);}this[G(0x466,0x449)](d);}set[A(-0x114,-0x10b)](d){function H(a,b){return A(a,b-0x317);}this[H(0x21d,0x200)](d);}[A(-0x119,-0x12b)](d,e,f,g,h){const i=this;function I(a,b){return A(b,a-0x244);}if(i[I(0x124,0x103)]&&!i[I(0x124,0x12b)][I(0x125,0x115)]&&typeof d!=='string'&&!h){if(I(0xfb,0x11a)in d&&!(I(0xfb,0xff)in i[I(0x129,0x148)])){i[I(0x129,0x12d)]['startDate']=!![];i[I(0x11d,0x110)]();}if(I(0x12a,0x13f)in d&&!('endDate'in i[I(0x129,0x123)])){i[I(0x129,0x114)][I(0x12a,0x148)]=!![];i[I(0x11d,0x112)]();}}return b[I(0x119,0xfd)][I(0x10f,0x130)](i,d,e,f,g,h);}[A(-0x11a,-0x10c)](){function J(a,b){return A(a,b- -0x160);}return this[J(-0x2ae,-0x2a9)];}[A(-0x11c,-0x12c)](d,e=!(A(-0x115,-0x11a)in this[A(-0x10c,-0x11b)])){function K(a,b){return A(a,b-0x79);}if(this[K(-0xd5,-0xbd)]||d?.[K(-0x95,-0x9d)]()!==this['startDate']?.[K(-0x84,-0x9d)]()){this['_startDate']=d;this['propose']({'startDate':d,'keepDuration':e});}}async[A(-0x115,-0x114)](d,e=!![]){this[L(-0xc5,-0xe4)](d,e);function L(a,b){return A(b,a-0x67);}return this[L(-0xb9,-0xaf)]?.[L(-0xae,-0x9d)]();}[A(-0xef,-0x10f)](){function M(a,b){return A(b,a-0xe);}return this[M(-0x10c,-0x121)];}['proposeEndDate'](d,e=![]){function N(a,b){return A(a,b-0x406);}if(this[N(0x2f2,0x2d0)]||d?.[N(0x30c,0x2f0)]()!==this[N(0x2f0,0x2ec)]?.[N(0x2f7,0x2f0)]()){this['_endDate']=d;this[N(0x2c9,0x2c2)]({'endDate':d,'keepDuration':e});}}async[A(-0x137,-0x122)](d,e=![]){this[O(0x243,0x239)](d,e);function O(a,b){return A(a,b-0x363);}return this[O(0x23d,0x243)]?.['commitAsync']();}[A(-0x134,-0x128)](){return this['duration'];}['proposeDuration'](d,e,f=!![]){function P(a,b){return A(b,a-0x5e);}this[P(-0xb2,-0xba)]=d;this[P(-0xe6,-0xe2)]({'duration':d,'keepStart':f});if(e)this['propose']({'durationUnit':e});}async[A(-0x156,-0x13c)](d,e,f=!![]){function Q(a,b){return A(a,b-0x252);}this[Q(0x135,0x13b)](d,e,f);return this[Q(0x124,0x132)]?.[Q(0x147,0x13d)]();}[A(-0x139,-0x134)](){return this['durationUnit'];}['joinProject'](){const d=this;const e=d[R(-0xa9,-0xcc)];const f=d['getCurrentOrProposed'](R(-0xd7,-0xdd));function R(a,b){return A(b,a-0x72);}const g=d['getCurrentOrProposed']('endDate');const h=d[R(-0xb2,-0xc7)](R(-0x99,-0xa0));if(f!=null)e[R(-0xd7,-0xec)]=d[R(-0xd3,-0xc6)]=f;if(g!=null)e[R(-0xa8,-0xaf)]=d['_endDate']=g;if(h!=null)e['duration']=d[R(-0x9e,-0xb0)]=h;if(d[R(-0xb7,-0xd3)]&&!d[R(-0xb7,-0x96)][R(-0xbc,-0x9f)]){const i=d[R(-0xaf,-0xa0)]?.[R(-0xb4,-0x9a)]['findItem'](R(-0xd9,-0xca),null);if(i){const j=d[R(-0xaf,-0xa6)]?.[R(-0xb4,-0xb1)][R(-0xac,-0x8a)](R(-0xc1,-0xdb),d['id']);if(j){for(const k of j){k[R(-0x9f,-0x9f)]('event',d);}}else{for(const l of i){if(l['getCurrentOrProposed'](R(-0xd9,-0xd8))===d['id']){l[R(-0x9f,-0xb1)]('event',d);}}}}}b[R(-0xcf,-0xcc)][R(-0xc3,-0xaa)](d);}[A(-0x13e,-0x140)](d,e,f,g,h){function S(a,b){return A(a,b-0x317);}if((this['project']||this[S(0x222,0x20a)]?.[S(0x20b,0x1f7)])&&h){const {name:i}=h;if(i===S(0x1b3,0x1ce)||i==S(0x20a,0x20c)||i==='endDate'){d=!![];this['_'+i]=f;}if(g){d=![];}}b[S(0x1f8,0x1d7)][S(0x1c5,0x1e2)](this,d,e,f,g,h);}['afterChange'](d,e,f,g,h){if(!this[T(0x381,0x393)]&&!h){this[T(0x397,0x383)]({'startDate':this[T(0x3c5,0x3a7)](T(0x39f,0x382)),'endDate':this[T(0x3ab,0x3a7)]('endDate'),'duration':this[T(0x38e,0x3a7)](T(0x3ba,0x3c0)),'durationUnit':this[T(0x3ca,0x3a7)]('durationUnit')});}function T(a,b){return A(a,b-0x4cb);}b[T(0x3b3,0x3af)][T(0x3b5,0x396)](this,d,e,f,g,h);}[A(-0x12b,-0x13d)](){const d=this;const e=d[U(0x59,0x46)];const f=U(0x38,0x18)in e;const g=U(0x68,0x47)in e;const h=U(0x6e,0x56)in e;const {startDate:i,endDate:j,duration:k,keepDuration:l,keepStart:m}=e;let n=null;if(f&&!g&&!h){if(i===null){e[U(0x33,0x47)]=null;}else if(d[U(0x5c,0x49)](U(0x35,0x47))&&i>d[U(0x21,0x3d)](U(0x57,0x47))&&!l){e[U(0x56,0x47)]=i;e['duration']=0x0;}else if(d[U(0x27,0x49)](U(0x46,0x56))&&(l||!d[U(0x61,0x49)]('endDate'))){n=U(0x3a,0x47);}else if(d[U(0x5c,0x49)](U(0x34,0x47))){n=U(0x59,0x56);}}else if(!f&&g&&!h){if(j===null){e[U(0x20,0x18)]=null;}else if(d['hasCurrentOrProposed'](U(0x1f,0x18))&&!l&&j!==!![]&&j<d[U(0x25,0x3d)](U(0x13,0x18))){e[U(0x35,0x18)]=j;e[U(0x57,0x56)]=0x0;}else if(d['hasCurrentOrProposed'](U(0x54,0x56))&&(l||!d[U(0x37,0x49)]('startDate'))){n=U(0x1d,0x18);}else if(d[U(0x60,0x49)](U(0x8,0x18))){n='duration';}}else if(!f&&!g&&h){if(k===null){e['endDate']=null;}else if(d[U(0x4d,0x49)](U(0x22,0x18))&&(m||!d[U(0x5e,0x49)](U(0x50,0x47)))){if(m&&e[U(0x3d,0x56)]<0x0){e[U(0x5b,0x56)]=0x0;}n=U(0x5a,0x47);}else if(d[U(0x61,0x49)](U(0x32,0x47))){n=U(0x30,0x18);}}else if(f&&g&&!h){if(i===null&&j===null){e[U(0x75,0x56)]=null;}else{n='duration';}}else if(f&&!g&&h){n=U(0x39,0x47);}else if(!f&&g&&h&&j){n=U(0x37,0x18);}else if(f&&g&&h){if(k==null){n='duration';}else if(i==null){n='startDate';}else{n=U(0x3a,0x47);}}const o=d['getCurrentOrProposed'](U(0x1,0x18));const p=d[U(0x55,0x3d)](U(0x40,0x47));const q=d['getCurrentOrProposed'](U(0x71,0x56));const r=d[U(0x1c,0x3d)](U(0x4a,0x3c));const s=d[U(0x31,0x1a)]()?.['adjustDurationToDST']??![];switch(n){case U(0x36,0x18):const t=_enc[U(0x50,0x58)](p,-q,r);if(s){const w=p['getTimezoneOffset']()-t[U(0x49,0x28)]();t['setTime'](t[U(0x5b,0x4b)]()-w*0x3c*0x3e8);}e[U(0xe,0x18)]=t;break;case U(0x5e,0x47):const u=_enc[U(0x68,0x58)](o,q,r);if(s){const x=o[U(0x31,0x28)]()-u[U(0xb,0x28)]();u[U(0x16,0x1e)](u['getTime']()-x*0x3c*0x3e8);}e[U(0x51,0x47)]=u;break;case U(0x37,0x56):let v=_enc['diff'](o,p,U(0x15,0x23));if(s){const y=o[U(0x34,0x28)]()-p[U(0x35,0x28)]();v+=y*0x3c*0x3e8;}e[U(0x60,0x56)]=_enc['as'](r,v,'millisecond');break;}if(U(0x30,0x18)in e&&e[U(-0x4,0x18)]!==!![])this[U(-0x6,0x1c)]=e[U(0x26,0x18)];if('endDate'in e&&e[U(0x61,0x47)]!==!![])this[U(0xd,0x17)]=e['endDate'];if(U(0x46,0x56)in e&&e['duration']!==!![])this[U(0x5a,0x51)]=e[U(0x75,0x56)];if(e[U(0x1d,0x18)]===!![])delete e['startDate'];function U(a,b){return A(a,b-0x161);}if(e[U(0x5b,0x47)]===!![])delete e[U(0x5a,0x47)];delete e[U(0x25,0x32)];delete e[U(0x46,0x31)];}}function A(a,b){return _enb(b- -0x281,a);}return c;}){}export{CoreEventMixin};function _ena(){const V=['_endDate','startDate','setData','getProject','871XGOvFR','_startDate','propose','setTime','date','joinProject','applyValue','fields','millisecond','calculateInvalidated','setDuration','day','36052OQylGF','getTimezoneOffset','$isCalculating','24qcnzui','inSetting','call','getDurationUnit','eventId','5020240oQFFKk','get','keepStart','keepDuration','isLoadingData','523764raAMmZ','proposeStartDate','inSet','proposeEndDate','eventStore','getDuration','invalidate','storage','durationUnit','getCurrentOrProposed','17682mKjmgt','setEndDate','assignmentStore','project','isWritingData','findItem','prototype','afterChange','$changed','endDate','436FIdhjW','hasCurrentOrProposed','proposeDuration','getTime','commitAsync','setStartDate','8uCssAi','5891413WEfYmS','setChanged','_duration','getEndDate','1939wJApAm','recurringTimeSpan','getStartDate','duration','16811892WAfLLq','add','number','19452RZHcee','20BlQYgm','event'];_ena=function(){return V;};return _ena();}
@@ -1 +1 @@
1
- (function(a,b){const c=a();function p(a,b){return _enb(a- -0x170,b);}while(!![]){try{const d=parseInt(p(-0xb,0x18))/0x1+parseInt(p(-0x2b,-0x32))/0x2*(parseInt(p(-0x59,-0x55))/0x3)+parseInt(p(-0x3f,-0x5c))/0x4+-parseInt(p(-0x35,-0x37))/0x5*(-parseInt(p(-0x10,-0x27))/0x6)+-parseInt(p(-0x1d,-0x3a))/0x7*(parseInt(p(-0x1b,-0x1c))/0x8)+parseInt(p(-0x5b,-0x3f))/0x9+parseInt(p(-0x47,-0x4d))/0xa*(-parseInt(p(-0x50,-0x51))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x5bd16));var __decorate=function(a,b,e,f){function q(a,b){return _enb(a-0xb7,b);}var g=arguments[q(0x1d2,0x1b3)],h=g<0x3?b:f===null?f=Object[q(0x205,0x1fb)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[q(0x1db,0x209)]===q(0x204,0x1d9))h=Reflect[q(0x1db,0x1d7)](a,b,e,f);else for(var k=a[q(0x1d2,0x1a7)]-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[q(0x1da,0x203)](b,e,h),h;};function _ena(){const T=['isDateConstraintInterval','891OnFFKP','concat','Implement\x20me','defineProperty','decorate','add','startDateConstraintIntervals','hasSubEvents','isManuallyScheduled','197690knbfYs','endDateConstraintIntervals','direction','StartNoLaterThan','isInfinite','maxChildrenEndDate','map','parentId','294484qsVOlE','isIntervalEmpty','calculateEarlyStartDateConstraintIntervals','filter','pick','shouldRollupChildEndDate','event','onNonEmptyEffectiveInterval','StartNoEarlierThan','shouldRollupChildEarlyStartDate','730AceQPz','calculateEarlyEndDateConstraintIntervals','calculateStartDate','resolved','isConstrained','endDateIsFinite','prototype','shouldRollupChildEarlyEndDate','phase','shouldSkipNonWorkingTime','34462nyfpPM','setupFields','subEventsIterable','calculateLateStartDateConstraintIntervals','isDependencyConstraintInterval','expanded','end','containsDate','function','getOwnPropertyDescriptor','constraintType','onEmptyEffectiveInterval','parentIndex','calculateStartDateConstraintIntervals','147ElIGxS','kind','904IIBaCz','FinishNoEarlierThan','endDate','readOnly','shouldRollupChildStartDate','date','calculateEffectiveConstraintInterval','copyWith','start','minChildrenStartDate','calculateMaxChildrenEndDate','23406mDMcIq','changeDateConstraintIntervalOnConflict','startDateIsFinite','value','shouldRollupChildLateStartDate','728148WioHHV','startDate','shouldRollupChildLateEndDate','Forward','new','calculateMinChildrenStartDate','project','calculateLateEndDateConstraintIntervals','calculateEffectiveDuration','calculateProjectedXDateWithDuration','doCalculateEffectiveEndDateInterval','removeField','calculateEndDateConstraintIntervals','getDateShifter','intersectionOf','isFirstPass','autoScheduleManualTasksOnSecondPass','effectiveDirection','earlyPreSchedule','5320818LQIhbI','calculateEndDate','3QtGYtx','End','Start','getTime','length','maybeSkipNonWorkingTime','return','skipNonWorkingTime'];_ena=function(){return T;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConstraintInterval}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';function _enr(a,b){return _enb(b- -0x17d,a);}import{intersectIntervals}from'../../../scheduling/DateInterval.js';import{ConstraintIntervalSide,ConstraintType,Direction}from'../../../scheduling/Types.js';import{isDateFinite,MAX_DATE,MIN_DATE}from'../../../util/Constants.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';const isForwardInterval=a=>a[_enr(-0x42,-0x1b)](),isBackwardInterval=a=>a['endDateIsFinite'](),isInflexibleInterval=a=>{function s(a,b){return _enr(b,a-0x50d);}return a[s(0x4f2,0x514)]()&&a[s(0x4d0,0x4b6)]()&&a[s(0x4f6,0x50e)][s(0x4aa,0x4d6)]()===a[s(0x4e7,0x4ee)][s(0x4aa,0x4a7)]();};const calculateEffectiveStartDateConstraintInterval=function*(a,b,c,d,e,f){if(c[t(-0xee,-0x100)]())return c;if(e&&c['intersectionOf']){const i=new Set();for(const j of c[t(-0x110,-0x129)]){if(j['isInfinite']()){i['add'](j);}else{const k=j[t(-0xbe,-0x94)]()?yield*a[t(-0x115,-0x13b)](j[t(-0xba,-0xa3)],![],d):j[t(-0xba,-0xcf)];const l=j['endDateIsFinite']()?yield*a[t(-0x115,-0x10d)](j[t(-0xc9,-0xcc)],![],d):j[t(-0xc9,-0xee)];const m=j;i[t(-0xfb,-0x10c)](m[t(-0xc4,-0xd1)]({'reflectionOf':m,'side':m['side']===ConstraintIntervalSide[t(-0x107,-0x136)]?ConstraintIntervalSide['End']:ConstraintIntervalSide[t(-0x107,-0x116)],'startDate':k,'endDate':l}));}}c[t(-0x110,-0x10b)]=i;}const g=c[t(-0xbe,-0xcb)]()?yield*f(c[t(-0xba,-0xab)]):null;const h=c[t(-0xe0,-0xcb)]()?yield*f(c[t(-0xc9,-0xa0)]):null;function t(a,b){return _enr(b,a- -0xa3);}return intersectIntervals([b,ConstraintInterval[t(-0xb7,-0x98)]({'intersectionOf':c[t(-0x110,-0x115)],'startDate':g,'endDate':h})],e);};const calculateEffectiveEndDateConstraintInterval=function*(a,b,c,d,e,f){function u(a,b){return _enr(b,a-0x45d);}if(b['isIntervalEmpty']())return b;if(e&&b['intersectionOf']){const i=new Set();for(const j of b[u(0x3f0,0x40a)]){if(j[u(0x40d,0x3df)]()){i[u(0x405,0x422)](j);}else{const k=j[u(0x442,0x46e)]()?yield*a['calculateProjectedXDateWithDuration'](j[u(0x446,0x43a)],!![],d):j['startDate'];const l=j[u(0x420,0x445)]()?yield*a[u(0x3eb,0x404)](j[u(0x437,0x410)],!![],d):j['endDate'];const m=j;i[u(0x405,0x3f4)](m[u(0x43c,0x42f)]({'reflectionOf':m,'side':m['side']===ConstraintIntervalSide[u(0x3f9,0x41e)]?ConstraintIntervalSide[u(0x3f8,0x409)]:ConstraintIntervalSide[u(0x3f9,0x41e)],'startDate':k,'endDate':l}));}}b[u(0x3f0,0x3e5)]=i;}const g=b[u(0x442,0x429)]()?yield*f(b[u(0x446,0x415)]):null;const h=b['endDateIsFinite']()?yield*f(b[u(0x437,0x457)]):null;return intersectIntervals([c,ConstraintInterval[u(0x449,0x42e)]({'reflectionOf':g||h?b:void 0x0,'intersectionOf':g||h?b['intersectionOf']:void 0x0,'startDate':g,'endDate':h})],e);};function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x10a;let f=c[d];return f;};return _enb(a,b);}class EventScheduleMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{class b extends a{constructor(){super(...arguments);this['direction']=void 0x0;function v(a,b){return _enb(a- -0x162,b);}this[v(-0x1f,-0x43)]='phase1';this[v(-0x2b,-0x2c)]=void 0x0;}get['project'](){function w(a,b){return _enb(b- -0x1e6,a);}return this[w(-0xce,-0xaf)]?.[w(-0x71,-0x7b)];}[x(0x182,0x177)](c){throw new Error('Implement\x20me');}*[x(0x18a,0x171)](){function y(a,b){return x(b-0x2e2,a);}throw new Error(y(0x431,0x451));}*[x(0x163,0x171)](){function z(a,b){return x(a- -0x37c,b);}throw new Error(z(-0x20d,-0x1e1));}static[x(0x193,0x167)](c,d){super[A(0x294,0x29f)](c,d);this[A(0x25b,0x236)](A(0x29f,0x279));this[A(0x25b,0x268)]('orderedParentIndex');this[A(0x25b,0x22b)](A(0x27e,0x28d));this[A(0x25b,0x229)](A(0x298,0x2b6));function A(a,b){return x(a-0x101,b);}this[A(0x25b,0x23d)](A(0x2a6,0x2b2));}}function x(a,b){return _enr(b,a-0x1ca);}__decorate([model_field({'type':'date','persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b['prototype'],'startDate',void 0x0);__decorate([model_field({'type':x(0x1a7,0x1a3),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b[x(0x18e,0x1b0)],'endDate',void 0x0);__decorate([calculate(x(0x1b3,0x1bf))],b[x(0x18e,0x1b0)],x(0x18a,0x1ac),null);__decorate([calculate(x(0x1a4,0x182))],b['prototype'],x(0x163,0x186),null);return b;}){}class ConstrainedScheduleMixin extends Mixin([EventScheduleMixin],a=>{class b extends a{constructor(){function B(a,b){return _enb(a-0x80,b);}super(...arguments);this['direction']=Direction[B(0x1e8,0x20f)];this[B(0x1b7,0x1c0)]=void 0x0;}[C(0x151,0x147)](c){function D(a,b){return C(a- -0x2a2,b);}return c[D(-0x172,-0x180)];}*[C(0x138,0x160)](c,d=!![],e=null){function E(a,b){return C(b-0x11f,a);}if(yield*this['event'][E(0x234,0x262)]())return c;let f=c;if(c&&(yield*this[E(0x289,0x272)][E(0x2a4,0x27f)]())){f=yield*this[E(0x24a,0x272)][E(0x260,0x259)](c,d);if(f&&e&&!e[E(0x270,0x287)](f)){f=c;}}return f;}['changeDateConstraintIntervalOnConflict'](c,d,e){const {isDateConstraintInterval:f,owner:g}=c;function F(a,b){return C(a-0xe9,b);}if(f&&g===e){if(this[F(0x230,0x236)]===Direction['Forward']){if(d===F(0x262,0x270)&&g[F(0x254,0x230)]===ConstraintType[F(0x231,0x23e)]){return c[F(0x261,0x264)]({'startDate':c[F(0x25c,0x25d)],'endDate':null});}if(d==='end'&&g[F(0x254,0x25f)]===ConstraintType['FinishNoLaterThan']){return c[F(0x261,0x25d)]({'startDate':c[F(0x25c,0x265)],'endDate':null});}}else{if(d==='start'&&g[F(0x254,0x234)]===ConstraintType[F(0x23e,0x236)]){return c[F(0x261,0x289)]({'startDate':null,'endDate':c['startDate']});}if(d===F(0x250,0x26a)&&g[F(0x254,0x25f)]===ConstraintType[F(0x25b,0x275)]){return c[F(0x261,0x270)]({'startDate':null,'endDate':c[F(0x26b,0x245)]});}}}return c;}*[C(0x177,0x1a2)](c,d,e,f=![],g=![]){function G(a,b){return C(b- -0x2b5,a);}const {event:h}=this;const i=yield*h[G(-0x196,-0x18a)](c?![]:!![]);if(i==null){return null;}const j=f?yield*h[G(-0x16b,-0x18f)]():0x0;if(j==null){return null;}if(g){if(this[G(-0x15b,-0x12e)]['bwcConflictPostpone']){if(yield*this[G(-0x178,-0x188)]()){d=d[G(-0x140,-0x165)](m=>!m[G(-0x181,-0x150)])[G(-0x13c,-0x16a)](m=>this[G(-0x150,-0x138)](m,G(-0x152,-0x13c),h));e=e[G(-0x190,-0x165)](m=>!m['isDependencyConstraintInterval'])[G(-0x174,-0x16a)](m=>this[G(-0x12a,-0x138)](m,G(-0x161,-0x14e),h));}else{d=d[G(-0x17e,-0x165)](m=>!m[G(-0x177,-0x17a)]);e=e[G(-0x15a,-0x165)](m=>!m[G(-0x16f,-0x17a)]);}}else{const m=this[G(-0x19d,-0x16e)]===Direction[G(-0x147,-0x131)]?isForwardInterval:isBackwardInterval,n=d[G(-0x151,-0x165)](isInflexibleInterval);d=n[G(-0x1ae,-0x17e)]?n:d[G(-0x191,-0x165)](m);const o=e[G(-0x16a,-0x165)](isInflexibleInterval);e=o[G(-0x15c,-0x17e)]?o:e[G(-0x14a,-0x165)](m);}}const k=c?calculateEffectiveStartDateConstraintInterval:calculateEffectiveEndDateConstraintInterval;const l=yield*k(h,intersectIntervals(d,f),intersectIntervals(e,f),j,f,i);return l;}*[C(0x16e,0x194)](){function H(a,b){return C(b- -0x23a,a);}return this[H(-0x118,-0xf3)]===Direction['Forward']?yield*this[H(-0x10b,-0xe7)][H(-0xbf,-0xeb)]():yield*this[H(-0xd1,-0xe7)][H(-0xb6,-0xd6)]();}*['calculateEndDateConstraintIntervals'](){function I(a,b){return C(a-0x23,b);}return this['direction']===Direction[I(0x1a7,0x1d3)]?yield*this[I(0x176,0x177)][I(0x17b,0x187)]():yield*this[I(0x176,0x1a4)][I(0x1ab,0x191)]();}*['doCalculateEffectiveStartDateInterval'](c=![],d=![]){const e=yield this['$'][J(0x187,0x19b)];const f=yield this['$'][J(0x18b,0x1b1)];function J(a,b){return C(a-0x45,b);}return yield*this[J(0x1bc,0x1e7)](!![],e[J(0x182,0x169)](yield this[J(0x198,0x19c)]['$'][J(0x187,0x16c)]),f['concat'](yield this[J(0x198,0x185)]['$'][J(0x18b,0x18d)]),c,d);}*[C(0x128,0x109)](c=![],d=![]){function K(a,b){return C(b-0x23b,a);}const e=yield this['$']['startDateConstraintIntervals'];const f=yield this['$'][K(0x377,0x381)];return yield*this[K(0x3bc,0x3b2)](![],e[K(0x367,0x378)](yield this[K(0x3b9,0x38e)]['$'][K(0x363,0x37d)]),f[K(0x39d,0x378)](yield this['event']['$'][K(0x394,0x381)]),c,d);}*[C(0x175,0x17f)](c){function L(a,b){return C(a-0x31b,b);}return this[L(0x462,0x46e)]===Direction[L(0x49f,0x4c6)]?yield*this[L(0x46e,0x477)][L(0x471,0x478)](c):yield*this[L(0x46e,0x484)][L(0x49b,0x490)](c);}*['calculateMinChildrenStartDate'](){let c=MAX_DATE;const d=yield*this[M(-0x263,-0x25a)][M(-0x253,-0x25f)]();function M(a,b){return C(a- -0x3b6,b);}for(const e of d){if(!(yield*this[M(-0x241,-0x227)](e)))continue;let f;if((yield*e[M(-0x272,-0x252)]())&&(yield*e['hasSubEvents']())){f=yield this[M(-0x265,-0x251)](e)['$'][M(-0x23c,-0x20d)];}f=f||(yield this[M(-0x265,-0x28c)](e)['$'][M(-0x234,-0x23e)]);if(f&&f<c)c=f;}return c[M(-0x280,-0x25f)]()-MAX_DATE[M(-0x280,-0x270)]()?c:null;}*[C(0x152,0x125)](c){function N(a,b){return C(a-0x170,b);}return this['direction']===Direction[N(0x2f4,0x2cf)]?yield*this[N(0x2c3,0x29a)][N(0x2ce,0x29d)](c):yield*this[N(0x2c3,0x2cb)][N(0x2f3,0x2e8)](c);}*[C(0x17b,0x174)](){let c=MIN_DATE;const d=yield*this[O(0x86,0x9f)][O(0x96,0x92)]();for(const e of d){if(!(yield*this[O(0x85,0xb2)](e)))continue;let f;if((yield*e[O(0x77,0x53)]())&&(yield*e[O(0x76,0x9a)]())){f=yield this[O(0x84,0x96)](e)['$'][O(0x7d,0x5e)];}f=f||(yield this[O(0x84,0xa7)](e)['$'][O(0xa6,0xd3)]);if(f&&f>c)c=f;}function O(a,b){return C(a- -0xcd,b);}return c[O(0x69,0x78)]()-MIN_DATE[O(0x69,0x56)]()?c:null;}*[C(0x159,0x155)](){let c;let d;function P(a,b){return C(a-0x23b,b);}if((yield*this[P(0x38e,0x39e)][P(0x37f,0x3ae)]())&&(!(yield this[P(0x3c2,0x3d0)]['$'][P(0x369,0x35c)])||(yield this[P(0x38e,0x3bb)]['$']['effectiveDirection'])[P(0x382,0x38e)]===this[P(0x382,0x35d)])){c=yield this[P(0x38e,0x398)]['$'][P(0x3bd,0x3e0)];}else if(yield*this[P(0x38e,0x37d)]['hasSubEvents']()){c=yield this['$'][P(0x3b5,0x3c0)];}else if(!(yield*this['isConstrained']())){c=yield this[P(0x38e,0x3a5)]['$'][P(0x3bd,0x38f)];}else{d=yield*this['doCalculateEffectiveStartDateInterval']();if(d===null){return null;}else if(d[P(0x389,0x39d)]()){const e=yield*this[P(0x38e,0x3a8)]['onEmptyEffectiveInterval'](P(0x3b4,0x3e6),this);if(e['kind']===P(0x374,0x36a)){return e['value'];}else if(e[P(0x3ab,0x3c7)]==='resolved'){d=e[P(0x3ba,0x3cf)];}}else{yield*this['event'][P(0x38f,0x3a9)](P(0x3b4,0x3c7),this);}c=this[P(0x382,0x3ac)]===Direction[P(0x3bf,0x3ea)]?isDateFinite(d[P(0x3bd,0x3bc)])?d[P(0x3bd,0x390)]:null:isDateFinite(d['endDate'])?d[P(0x3ae,0x390)]:null;}return yield*this['maybeSkipNonWorkingTime'](c,!![],d);}*[C(0x132,0x132)](){function Q(a,b){return C(a-0x27a,b);}let c;let d;if((yield*this[Q(0x3cd,0x3e0)][Q(0x3be,0x3ed)]())&&(!(yield this[Q(0x401,0x402)]['$'][Q(0x3a8,0x383)])||(yield this['event']['$'][Q(0x3a9,0x3a1)])[Q(0x3c1,0x3c7)]===this[Q(0x3c1,0x3c7)])){c=yield this[Q(0x3cd,0x3b3)]['$']['endDate'];}else if(yield*this['event'][Q(0x3bd,0x3bd)]()){c=yield this['$']['maxChildrenEndDate'];}else if(!(yield*this[Q(0x3d5,0x3f1)]())){c=yield this[Q(0x3cd,0x3b4)]['$']['endDate'];}else{d=yield*this['doCalculateEffectiveEndDateInterval']();if(d===null){return null;}else if(d[Q(0x3c8,0x3c9)]()){const e=yield*this['event'][Q(0x3e6,0x3c2)](Q(0x3e1,0x3bc),this);if(e[Q(0x3ea,0x3b8)]===Q(0x3b3,0x397)){return e['value'];}else if(e['kind']===Q(0x3d4,0x3df)){d=e[Q(0x3f9,0x3d3)];}}else{yield*this['event'][Q(0x3ce,0x3da)](Q(0x3e1,0x3b1),this);}c=this[Q(0x3c1,0x392)]===Direction[Q(0x3fe,0x3d6)]?isDateFinite(d[Q(0x3fc,0x3d6)])?d[Q(0x3fc,0x418)]:null:isDateFinite(d[Q(0x3ed,0x3f3)])?d[Q(0x3ed,0x3fa)]:null;}return yield*this[Q(0x3b2,0x392)](c,![],d);}*[C(0x15b,0x177)](){const c=yield this['event']['$'][R(0x453,0x456)];const d=yield this[R(0x440,0x467)]['$'][R(0x475,0x45a)];const e=yield this['$'][R(0x45d,0x456)];const f=yield this['$'][R(0x437,0x45a)];function R(a,b){return C(b-0x314,a);}return e?.[R(0x47b,0x44b)]>0x0||f?.['length']>0x0||c?.[R(0x41f,0x44b)]>0x0||d?.['length']>0x0;}*[C(0x12d,0x128)](){function S(a,b){return C(a-0x2c0,b);}const c=yield this['getProject']()['$'][S(0x3ef,0x3eb)];return c[S(0x407,0x3f8)]===this['direction'];}}__decorate([field({'lazy':!![]})],b[C(0x15d,0x134)],C(0x17a,0x169),void 0x0);__decorate([field({'lazy':!![]})],b[C(0x15d,0x133)],C(0x14a,0x164),void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[C(0x15d,0x177)],'startDateConstraintIntervals',void 0x0);function C(a,b){return _enr(b,a-0x199);}__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[C(0x15d,0x144)],C(0x146,0x16e),void 0x0);__decorate([calculate(C(0x142,0x135))],b['prototype'],C(0x16e,0x193),null);__decorate([calculate('endDateConstraintIntervals')],b[C(0x15d,0x17b)],C(0x12a,0x10b),null);__decorate([calculate(C(0x17a,0x181))],b[C(0x15d,0x136)],C(0x186,0x19e),null);__decorate([calculate(C(0x14a,0x160))],b[C(0x15d,0x17a)],'calculateMaxChildrenEndDate',null);__decorate([calculate(C(0x182,0x179))],b[C(0x15d,0x13a)],'calculateStartDate',null);__decorate([calculate(C(0x173,0x173))],b[C(0x15d,0x166)],C(0x132,0x13b),null);return b;}){}export{ConstrainedScheduleMixin,EventScheduleMixin,calculateEffectiveEndDateConstraintInterval,calculateEffectiveStartDateConstraintInterval,isBackwardInterval,isForwardInterval,isInflexibleInterval};
1
+ function _ena(){const S=['shouldRollupChildEarlyStartDate','maybeSkipNonWorkingTime','calculateMinChildrenStartDate','onNonEmptyEffectiveInterval','Start','getTime','End','startDateConstraintIntervals','20crKBPm','1141657UcJxlX','autoScheduleManualTasksOnSecondPass','resolved','endDate','constraintType','pick','concat','calculateLateStartDateConstraintIntervals','shouldRollupChildLateStartDate','calculateEndDate','minChildrenStartDate','removeField','decorate','end','defineProperty','value','isDateConstraintInterval','project','direction','changeDateConstraintIntervalOnConflict','add','84wwrzfn','event','shouldRollupChildEarlyEndDate','return','function','startDateIsFinite','doCalculateEffectiveEndDateInterval','isIntervalEmpty','kind','phase1','40HAltge','doCalculateEffectiveStartDateInterval','onEmptyEffectiveInterval','effectiveDirection','object','1688wyWWqX','start','isInfinite','endDateIsFinite','calculateStartDate','endDateConstraintIntervals','isManuallyScheduled','setupFields','shouldRollupChildEndDate','14670PfsUNN','3BNkBOU','FinishNoLaterThan','map','copyWith','side','isConstrained','33266PSgSqA','maxChildrenEndDate','783965PGYRql','skipNonWorkingTime','3679962kgnoWK','calculateEndDateConstraintIntervals','shouldSkipNonWorkingTime','calculateMaxChildrenEndDate','prototype','intersectionOf','409056tuzBDX','hasSubEvents','StartNoLaterThan','length','Forward','calculateStartDateConstraintIntervals','shouldRollupChildStartDate','Implement\x20me','containsDate','getOwnPropertyDescriptor','startDate','7076404yZFmZm','1NYtxyc','filter','new','calculateEffectiveConstraintInterval','date','getProject','orderedParentIndex','isDependencyConstraintInterval','FinishNoEarlierThan','StartNoEarlierThan','calculateProjectedXDateWithDuration','calculateLateEndDateConstraintIntervals','earlyPreSchedule','subEventsIterable'];_ena=function(){return S;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x118;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function p(a,b){return _enb(a-0x2ab,b);}const c=a();while(!![]){try{const d=parseInt(p(0x3fd,0x3fe))/0x1*(-parseInt(p(0x3e7,0x409))/0x2)+-parseInt(p(0x3e1,0x3e6))/0x3*(-parseInt(p(0x3fc,0x3e3))/0x4)+parseInt(p(0x3d2,0x3ad))/0x5*(parseInt(p(0x3f1,0x3d6))/0x6)+parseInt(p(0x3e9,0x3df))/0x7+-parseInt(p(0x3d7,0x3be))/0x8*(-parseInt(p(0x3e0,0x401))/0x9)+parseInt(p(0x413,0x3e9))/0xa*(parseInt(p(0x414,0x43c))/0xb)+-parseInt(p(0x3c8,0x3a3))/0xc*(parseInt(p(0x3eb,0x400))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xef391));var __decorate=function(a,b,e,f){function q(a,b){return _enb(a-0x2a,b);}var g=arguments[q(0x173,0x170)],h=g<0x3?b:f===null?f=Object[q(0x179,0x154)](b,e):f,j;if(typeof Reflect===q(0x155,0x14c)&&typeof Reflect[q(0x19f,0x1c7)]===q(0x14b,0x13f))h=Reflect[q(0x19f,0x1ad)](a,b,e,f);else for(var k=a[q(0x173,0x198)]-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[q(0x1a1,0x1a4)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConstraintInterval}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';function _enr(a,b){return _enb(b- -0x2dc,a);}import{intersectIntervals}from'../../../scheduling/DateInterval.js';import{ConstraintIntervalSide,ConstraintType,Direction}from'../../../scheduling/Types.js';import{isDateFinite,MAX_DATE,MIN_DATE}from'../../../util/Constants.js';import{EdgeInclusion}from'../../../util/Types.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';const isForwardInterval=a=>a['startDateIsFinite'](),isBackwardInterval=a=>a[_enr(-0x1a8,-0x1ad)](),isInflexibleInterval=a=>{function s(a,b){return _enr(a,b-0x246);}return a[s(0xb8,0x8c)]()&&a[s(0x8a,0x99)]()&&a['startDate'][s(0xf2,0xcf)]()===a[s(0xf1,0xd6)]['getTime']();};const calculateEffectiveStartDateConstraintInterval=function*(a,b,c,d,e,f){if(c[t(-0x88,-0x90)]())return c;function t(a,b){return _enr(b,a-0x130);}if(e&&c[t(-0x67,-0x3a)]){const i=new Set();for(const j of c[t(-0x67,-0x76)]){if(j['isInfinite']()){i[t(-0x90,-0x81)](j);}else{const k=j[t(-0x8a,-0xba)]()?yield*a['calculateProjectedXDateWithDuration'](j['startDate'],![],d):j[t(-0x5c,-0x6b)];const l=j[t(-0x7d,-0x50)]()?yield*a[t(-0x50,-0x5f)](j[t(-0x40,-0x60)],![],d):j[t(-0x40,-0x30)];const m=j;i[t(-0x90,-0x86)](m[t(-0x73,-0x72)]({'reflectionOf':m,'side':m[t(-0x72,-0x54)]===ConstraintIntervalSide[t(-0x48,-0x42)]?ConstraintIntervalSide[t(-0x46,-0x3b)]:ConstraintIntervalSide[t(-0x48,-0x34)],'startDate':k,'endDate':l}));}}c[t(-0x67,-0x41)]=i;}const g=c[t(-0x8a,-0xaa)]()?yield*f(c[t(-0x5c,-0x39)]):null;const h=c['endDateIsFinite']()?yield*f(c['endDate']):null;return intersectIntervals([b,ConstraintInterval[t(-0x58,-0x5c)]({'intersectionOf':c[t(-0x67,-0x81)],'startDate':g,'endDate':h})],e);};const calculateEffectiveEndDateConstraintInterval=function*(a,b,c,d,e,f){if(b['isIntervalEmpty']())return b;if(e&&b[u(0x3a9,0x3a0)]){const i=new Set();for(const j of b[u(0x3a9,0x37e)]){if(j[u(0x392,0x3b3)]()){i['add'](j);}else{const k=j['startDateIsFinite']()?yield*a[u(0x3c0,0x395)](j[u(0x3b4,0x3bc)],!![],d):j['startDate'];const l=j[u(0x393,0x3b8)]()?yield*a[u(0x3c0,0x3db)](j[u(0x3d0,0x3be)],!![],d):j[u(0x3d0,0x3d5)];const m=j;i[u(0x380,0x38e)](m[u(0x39d,0x38a)]({'reflectionOf':m,'side':m['side']===ConstraintIntervalSide['Start']?ConstraintIntervalSide['End']:ConstraintIntervalSide[u(0x3c8,0x3b0)],'startDate':k,'endDate':l}));}}b[u(0x3a9,0x3d8)]=i;}const g=b[u(0x386,0x3af)]()?yield*f(b[u(0x3b4,0x3b7)]):null;function u(a,b){return _enr(b,a-0x540);}const h=b[u(0x393,0x378)]()?yield*f(b[u(0x3d0,0x3fc)]):null;return intersectIntervals([c,ConstraintInterval[u(0x3b8,0x3e8)]({'reflectionOf':g||h?b:void 0x0,'intersectionOf':g||h?b[u(0x3a9,0x3b5)]:void 0x0,'startDate':g,'endDate':h})],e);};class EventScheduleMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{function w(a,b){return _enr(a,b-0x46f);}class b extends a{constructor(){super(...arguments);this[v(0x4c,0x22)]=void 0x0;function v(a,b){return _enb(a- -0xce,b);}this['phase']=v(0x58,0x57);this[v(0x50,0x67)]=void 0x0;}get[w(0x297,0x2ac)](){function x(a,b){return w(a,b-0x106);}return this['event']?.[x(0x3b6,0x3b2)];}[w(0x306,0x301)](c){throw new Error('Implement\x20me');}*['calculateStartDate'](){function y(a,b){return w(b,a- -0x54d);}throw new Error(y(-0x26d,-0x28f));}*['calculateEndDate'](){throw new Error('Implement\x20me');}static[w(0x2c0,0x2c6)](c,d){function z(a,b){return w(a,b- -0x43e);}super[z(-0x162,-0x178)](c,d);this[z(-0x108,-0x137)]('parentIndex');this[z(-0x12c,-0x137)](z(-0x165,-0x153));this[z(-0x109,-0x137)]('parentId');this[z(-0x127,-0x137)]('expanded');this[z(-0x129,-0x137)]('readOnly');}}__decorate([model_field({'type':w(0x2e4,0x2e9),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b[w(0x2f2,0x2d7)],w(0x2bb,0x2e3),void 0x0);__decorate([model_field({'type':w(0x2dc,0x2e9),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],b[w(0x2a6,0x2d7)],w(0x2d3,0x2ff),void 0x0);__decorate([calculate(w(0x307,0x2e3))],b[w(0x2b1,0x2d7)],'calculateStartDate',null);__decorate([calculate(w(0x302,0x2ff))],b[w(0x2d5,0x2d7)],w(0x321,0x305),null);return b;}){}class ConstrainedScheduleMixin extends Mixin([EventScheduleMixin],a=>{class b extends a{constructor(){super(...arguments);this[A(0x496,0x4bf)]=Direction[A(0x4c6,0x4d8)];function A(a,b){return _enb(a-0x37c,b);}this[A(0x49a,0x472)]=void 0x0;}[B(-0x47,-0x64)](c){function C(a,b){return B(a,b-0x3ef);}return c[C(0x37a,0x37b)];}*['maybeSkipNonWorkingTime'](c,d=!![],e=null){if(yield*this[D(0x1db,0x1c1)]['hasSubEvents']())return c;let f=c;if(c&&(yield*this[D(0x1aa,0x1c1)][D(0x1f9,0x1e5)]())){f=yield*this[D(0x1e6,0x1c1)][D(0x20f,0x1e2)](c,d);if(f&&e&&!e[D(0x219,0x1f1)](f,EdgeInclusion['LeftAndRight'])){f=c;}}function D(a,b){return B(a,b-0x275);}return f;}['changeDateConstraintIntervalOnConflict'](c,d,e){const {isDateConstraintInterval:f,owner:g}=c;function E(a,b){return B(b,a-0x4ed);}if(f&&g===e){if(this[E(0x435,0x45d)]===Direction[E(0x465,0x445)]){if(d==='start'&&g['constraintType']===ConstraintType[E(0x463,0x48c)]){return c['copyWith']({'startDate':c[E(0x487,0x4a8)],'endDate':null});}if(d===E(0x491,0x4a7)&&g['constraintType']===ConstraintType[E(0x452,0x450)]){return c[E(0x454,0x47a)]({'startDate':c[E(0x487,0x46d)],'endDate':null});}}else{if(d===E(0x448,0x465)&&g[E(0x488,0x4ae)]===ConstraintType[E(0x476,0x44c)]){return c[E(0x454,0x432)]({'startDate':null,'endDate':c[E(0x46b,0x458)]});}if(d===E(0x491,0x4a1)&&g['constraintType']===ConstraintType[E(0x475,0x446)]){return c[E(0x454,0x42e)]({'startDate':null,'endDate':c['startDate']});}}}return c;}*['calculateEffectiveConstraintInterval'](c,d,e,f=![],g=![]){function F(a,b){return B(a,b-0x212);}const {event:h}=this;const i=yield*h['getDateShifter'](c?![]:!![]);if(i==null){return null;}const j=f?yield*h['calculateEffectiveDuration']():0x0;if(j==null){return null;}if(g){if(this[F(0x15b,0x159)]['bwcConflictPostpone']){if(yield*this['isFirstPass']()){d=d[F(0x163,0x193)](m=>!m[F(0x16e,0x199)])[F(0x18d,0x178)](m=>this[F(0x151,0x15b)](m,F(0x194,0x16d),h));e=e[F(0x18a,0x193)](m=>!m[F(0x18b,0x199)])['map'](m=>this[F(0x160,0x15b)](m,F(0x1b9,0x1b6),h));}else{d=d[F(0x19a,0x193)](m=>!m['isDateConstraintInterval']);e=e[F(0x1a5,0x193)](m=>!m[F(0x138,0x158)]);}}else{const m=this['direction']===Direction[F(0x1a6,0x18a)]?isForwardInterval:isBackwardInterval,n=d[F(0x1b4,0x193)](isInflexibleInterval);d=n[F(0x15c,0x189)]?n:d[F(0x190,0x193)](m);const o=e['filter'](isInflexibleInterval);e=o[F(0x16b,0x189)]?o:e['filter'](m);}}const k=c?calculateEffectiveStartDateConstraintInterval:calculateEffectiveEndDateConstraintInterval;const l=yield*k(h,intersectIntervals(d,f),intersectIntervals(e,f),j,f,i);return l;}*['calculateStartDateConstraintIntervals'](){function G(a,b){return B(b,a-0x79);}return this[G(-0x3f,-0x30)]===Direction['Forward']?yield*this['event']['calculateEarlyStartDateConstraintIntervals']():yield*this['event'][G(0x17,0x13)]();}*[B(-0x7f,-0x91)](){function H(a,b){return B(b,a- -0x1d7);}return this[H(-0x28f,-0x288)]===Direction[H(-0x25f,-0x281)]?yield*this[H(-0x28b,-0x28d)]['calculateEarlyEndDateConstraintIntervals']():yield*this[H(-0x28b,-0x264)][H(-0x24c,-0x24b)]();}*[B(-0xb7,-0xaa)](c=![],d=![]){const e=yield this['$'][I(-0xe9,-0xe7)];const f=yield this['$']['endDateConstraintIntervals'];function I(a,b){return B(b,a- -0x7e);}return yield*this['calculateEffectiveConstraintInterval'](!![],e[I(-0xe1,-0xb2)](yield this[I(-0x132,-0x105)]['$'][I(-0xe9,-0xcd)]),f['concat'](yield this['event']['$'][I(-0x11f,-0x120)]),c,d);}*[B(-0xdb,-0xaf)](c=![],d=![]){function J(a,b){return B(b,a-0x199);}const e=yield this['$'][J(0x12e,0x104)];const f=yield this['$'][J(0xf8,0xf2)];return yield*this[J(0x11c,0x104)](![],e[J(0x136,0x11c)](yield this[J(0xe5,0xd1)]['$'][J(0x12e,0x151)]),f[J(0x136,0x148)](yield this[J(0xe5,0xd3)]['$'][J(0xf8,0xe0)]),c,d);}*[B(-0x56,-0x86)](c){function K(a,b){return B(b,a-0x575);}return this['direction']===Direction[K(0x4ed,0x4ea)]?yield*this[K(0x4c1,0x4bd)][K(0x503,0x4fb)](c):yield*this[K(0x4c1,0x4f2)][K(0x514,0x4f5)](c);}*[B(-0x51,-0x70)](){let c=MAX_DATE;const d=yield*this[L(0x21c,0x22f)]['subEventsIterable']();function L(a,b){return B(a,b-0x2e3);}for(const e of d){if(!(yield*this[L(0x278,0x25d)](e)))continue;let f;if((yield*e[L(0x26b,0x243)]())&&(yield*e[L(0x26a,0x258)]())){f=yield this[L(0x257,0x27f)](e)['$'][L(0x29a,0x284)];}f=f||(yield this[L(0x277,0x27f)](e)['$'][L(0x254,0x261)]);if(f&&f<c)c=f;}return c[L(0x2a1,0x276)]()-MAX_DATE[L(0x265,0x276)]()?c:null;}*[B(-0xc0,-0x9e)](c){function M(a,b){return B(a,b-0x3ca);}return this[M(0x33f,0x312)]===Direction[M(0x328,0x342)]?yield*this[M(0x32b,0x316)][M(0x331,0x317)](c):yield*this['event']['shouldRollupChildLateEndDate'](c);}*[B(-0xab,-0x8f)](){let c=MIN_DATE;const d=yield*this[N(0x4ce,0x4db)][N(0x50f,0x52a)]();for(const e of d){if(!(yield*this[N(0x4e4,0x4bc)](e)))continue;let f;if((yield*e[N(0x4e2,0x4b5)]())&&(yield*e[N(0x4f7,0x4f6)]())){f=yield this['pick'](e)['$'][N(0x4ed,0x4c7)];}f=f||(yield this[N(0x51e,0x52c)](e)['$']['endDate']);if(f&&f>c)c=f;}function N(a,b){return B(b,a-0x582);}return c[N(0x515,0x509)]()-MIN_DATE[N(0x515,0x4f7)]()?c:null;}*['calculateStartDate'](){function O(a,b){return B(a,b-0x177);}let c;let d;if((yield*this['event']['isManuallyScheduled']())&&(!(yield this[O(0xd2,0xbe)]['$']['autoScheduleManualTasksOnSecondPass'])||(yield this[O(0xb1,0xc3)]['$'][O(0xc3,0xcf)])[O(0xe0,0xbf)]===this[O(0xb5,0xbf)])){c=yield this[O(0xb6,0xc3)]['$'][O(0xd3,0xf5)];}else if(yield*this[O(0xae,0xc3)][O(0x11b,0xec)]()){c=yield this['$'][O(0xf2,0x118)];}else if(!(yield*this[O(0xf0,0xe0)]())){c=yield this[O(0xea,0xc3)]['$'][O(0x124,0xf5)];}else{d=yield*this[O(0xe0,0xcd)]();if(d===null){return null;}else if(d[O(0xd5,0xc9)]()){const e=yield*this[O(0xaf,0xc3)][O(0xf4,0xce)](O(0xbb,0xd2),this);if(e['kind']===O(0xde,0xc5)){return e[O(0xf7,0x11d)];}else if(e[O(0xb0,0xca)]===O(0x138,0x110)){d=e[O(0x13c,0x11d)];}}else{yield*this['event'][O(0x100,0x108)]('start',this);}c=this[O(0xef,0xbf)]===Direction['Forward']?isDateFinite(d['startDate'])?d[O(0xe9,0xf5)]:null:isDateFinite(d['endDate'])?d['endDate']:null;}return yield*this[O(0x132,0x106)](c,!![],d);}*['calculateEndDate'](){let c;let d;function P(a,b){return B(a,b-0x3d);}if((yield*this[P(-0x9f,-0x77)]['isManuallyScheduled']())&&(!(yield this[P(-0x5e,-0x7c)]['$'][P(-0x45,-0x2b)])||(yield this[P(-0x6a,-0x77)]['$']['effectiveDirection'])[P(-0x75,-0x7b)]===this[P(-0x83,-0x7b)])){c=yield this[P(-0xa6,-0x77)]['$'][P(-0x4c,-0x29)];}else if(yield*this[P(-0x8f,-0x77)][P(-0x39,-0x4e)]()){c=yield this['$'][P(-0x2a,-0x58)];}else if(!(yield*this[P(-0x35,-0x5a)]())){c=yield this[P(-0x50,-0x77)]['$'][P(-0x45,-0x29)];}else{d=yield*this['doCalculateEffectiveEndDateInterval']();if(d===null){return null;}else if(d[P(-0x94,-0x71)]()){const e=yield*this['event']['onEmptyEffectiveInterval'](P(0x1,-0x1f),this);if(e[P(-0x41,-0x70)]==='return'){return e[P(-0x3b,-0x1d)];}else if(e['kind']===P(-0x14,-0x2a)){d=e[P(-0x49,-0x1d)];}}else{yield*this[P(-0x96,-0x77)][P(-0x13,-0x32)](P(-0x48,-0x1f),this);}c=this['direction']===Direction['Forward']?isDateFinite(d['startDate'])?d[P(-0x46,-0x45)]:null:isDateFinite(d[P(0x7,-0x29)])?d[P(-0xb,-0x29)]:null;}return yield*this[P(-0x50,-0x34)](c,![],d);}*[B(-0x69,-0x97)](){const c=yield this[Q(0x9a,0x98)]['$'][Q(0x102,0xe1)];const d=yield this[Q(0xb3,0x98)]['$'][Q(0x9c,0xab)];function Q(a,b){return B(a,b-0x14c);}const e=yield this['$'][Q(0xf7,0xe1)];const f=yield this['$'][Q(0xd9,0xab)];return e?.[Q(0xc4,0xc3)]>0x0||f?.[Q(0xaa,0xc3)]>0x0||c?.[Q(0xce,0xc3)]>0x0||d?.[Q(0xd5,0xc3)]>0x0;}*['isFirstPass'](){const c=yield this[R(0x3a7,0x389)]()['$'][R(0x337,0x35c)];function R(a,b){return B(a,b-0x404);}return c['direction']===this[R(0x35a,0x34c)];}}__decorate([field({'lazy':!![]})],b[B(-0xbb,-0x8e)],B(-0x31,-0x5f),void 0x0);__decorate([field({'lazy':!![]})],b[B(-0x7c,-0x8e)],B(-0xa7,-0x95),void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[B(-0x8c,-0x8e)],B(-0x74,-0x6b),void 0x0);__decorate([field({'lazy':!![],'ignoreEdgesFlow':!![]})],b[B(-0x6e,-0x8e)],'endDateConstraintIntervals',void 0x0);__decorate([calculate(B(-0x77,-0x6b))],b[B(-0x81,-0x8e)],B(-0x76,-0x87),null);function B(a,b){return _enr(a,b-0x10a);}__decorate([calculate(B(-0xcb,-0xa1))],b[B(-0xb8,-0x8e)],B(-0x89,-0x91),null);__decorate([calculate(B(-0x3c,-0x5f))],b[B(-0x82,-0x8e)],B(-0x4a,-0x70),null);__decorate([calculate(B(-0xaf,-0x95))],b[B(-0x87,-0x8e)],B(-0x91,-0x8f),null);__decorate([calculate('startDate')],b[B(-0x7a,-0x8e)],B(-0xa1,-0xa2),null);__decorate([calculate(B(-0x62,-0x66))],b[B(-0xb4,-0x8e)],B(-0x80,-0x60),null);return b;}){}export{ConstrainedScheduleMixin,EventScheduleMixin,calculateEffectiveEndDateConstraintInterval,calculateEffectiveStartDateConstraintInterval,isBackwardInterval,isForwardInterval,isInflexibleInterval};
@@ -1 +1 @@
1
- (function(a,b){const c=a();function U(a,b){return _enb(a-0x130,b);}while(!![]){try{const d=-parseInt(U(0x28e,0x2ca))/0x1*(parseInt(U(0x228,0x261))/0x2)+parseInt(U(0x22e,0x1f5))/0x3+parseInt(U(0x238,0x25a))/0x4*(parseInt(U(0x211,0x1f8))/0x5)+parseInt(U(0x210,0x1fd))/0x6+-parseInt(U(0x25c,0x28f))/0x7+-parseInt(U(0x21a,0x1f4))/0x8+parseInt(U(0x244,0x26d))/0x9*(-parseInt(U(0x2aa,0x2fd))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x5608d));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[V(0x49f,0x4a9)](b,e):f,j;function V(a,b){return _enb(b-0x339,a);}if(typeof Reflect==='object'&&typeof Reflect[V(0x47b,0x472)]==='function')h=Reflect[V(0x494,0x472)](a,b,e,f);else for(var k=a[V(0x4cb,0x48b)]-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(0x466,0x439)](b,e,h),h;};import{HasPreviousValue,HasProposedNotPreviousValue,PreviousValueOf,ProposedArgumentsOf,ProposedOrPrevious,ProposedOrPreviousValueOf}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CalculateProposed,VariableInputState}from'@bryntum/engine-thin/lib/ChronoGraph/cycle_resolver/CycleResolver.js';function _enZ(a,b){return _enb(a-0x2f6,b);}import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{Direction,SchedulingMode,TimeUnit}from'../../../scheduling/Types.js';import{MAX_DATE,MIN_DATE}from'../../../util/Constants.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xde;let f=c[d];return f;};return _enb(a,b);}import{durationFormula,DurationVar as _enc,EndDateVar as _end,StartDateVar as _ene}from'../scheduler_basic/BaseEventDispatcher.js';import{ConstrainedEarlyEventMixin}from'./ConstrainedEarlyEventMixin.js';import{HasSchedulingModeMixin}from'./HasSchedulingModeMixin.js';import{SchedulerProHasAssignmentsMixin}from'./SchedulerProHasAssignmentsMixin.js';function _ena(){const b6=['isChangingOnlyEndDate','calculateMaxAssignmentProposedEndDate','effortUnit','prototype','isDurationDefinedByEffort','9444DFvZsV','hasInputOnEndDate','proposedStartDateMin','move','endDate','calculateAssignmentUnits','set','useEventAvailabilityIterator','effectiveCalendarsCombination','calculateStartDate','calculateProjectedXDateWithDuration','timePhasedIntervalsCache','134829zCdGyx','calculateAssignmentsByCalendar','calculateProposedStartDate','hasUnitsOnAllAssignments','calculateProposedStartOffsetRaw','phantomEndOffset','maxCalendarRange','calculateMaxAssignmentProposedEndDateIncludingPhantom','hasOnlyTimePhasedAssignments','resolution','positioning','assignmentsByCalendar','calculateProposedEndOffsetRaw','ion','max','calculateHasOnlyRegularAssignmentsRaw','calculateTimePhasedDispatcher','isPhantomTimePhased','size','Millisecond','proposedStartOffsets','proposedMirror','type','proposedAssignmentDuration','3086874YXcVQO','delete','hasInputOnAssignments','isUserTimePhased','proposedEndDateArgs','calculateProjectedXDateByEffort','end','minAssignment','getDateShifter','skipNonWorkingTimeInDurationWhenSchedulingManually','timePhasedData','getBaseOptionsForEffortCalculations','timePhasedDispatcher','decorate','isTimePhased','prepare','hasInputOnEffort','effectiveCalendar','new','getBaseOptionsForDurationCalculations','calculateProposedStartOffsets','collectInfo','assign','start','formulaId','time','hasProposedAssignments','calculateProposedEndDate','unscheduled','assigned','regularAssignmentsByCalendar','hasPreviousValueForUnits','ignoreTimePhasedData','effortDriven','resource','calculateTotalAssignmentsEffort','forEach','isManuallyScheduled','length','duration','calculateProposedAssignmentDuration','calculateSelector','calculateRegularAssignmentsByCalendar','assignment','hasPreviousEffortValue','HasProposedValue','graph','purpose','calculateProposedEndDateMax','MAX_VALUE','2LNrQTf','getProject','push','some','startDate','hasOnlyRegularAssignments','addProposedValueFlag','direction','expandTrailingAssigmentsByEffort','$convertDuration','effectiveDirection','hasInputOnDuration','write','FixedUnits','expandTrailingAssigmentsByDates','Backward','isConstrainedAlongDirection','has','getOwnPropertyDescriptor','calculateDuration','input','project','calculateProposedTotalUnits','proposedStartDate','skipNonWorkingTime','isForward','assignmentsTypeSelector','Normal','10FNLtMw','effort','proposedEndOffset','calculateProjectedEffort','calculateAssignmentsTypeSelector','calculateTimePhasedIntervalsCache','calculateEffortPure','isChangingOnlyEffortOnAssignment','minOffset','maxAssignmentProposedEndDate','get','getTime','effectiveSchedulingMode','units','collectAssignmentsByCalendar','getCalendarsWorkStatus','shouldSkipNonWorkingTime','4005990BNCQAY','1255zOFpLX','Forward','calculateProposedStartDateMin','expandTrailingAssigmentsByDuration','selector','calculateEndDate','dispatcher','event','proposedEndOffsets','3154360FDRsEt','hasPhantomTimePhasedAssignments','ignoreResourceCalendar','proposedEndDate','FixedDuration','isChangingOnlyDuration','FixedEffort','calculateProjectedDuration','proposedEndDateMax','getCalendarsWorking','progressing','isSegmented','forEachAvailabilityInterval','minAssignmentProposedStartDate','407806UEydMa','childEvents','calculateProposedEndOffsets','calculateProjectedXDate','calculateEffort','hasTimePhasedInput','1050555FnAeyd','proposedStartOffset','defineProperty','isChangingOnlyEffort','calculateMinAssignmentProposedStartDate'];_ena=function(){return b6;};return _ena();}import{SplitEventMixin}from'./SplitEventMixin.js';import{DurationVar,EffortVar,EndVar,StartVar,TimePhasedDuration,TimePhasedEffort,TimePhasedEndDate,TimePhasedEventAssignmentCycleResolutionContext,TimePhasedEventAssignmentDispatcher,TimePhasedEventAssignmentDispatcherIdentifier,TimePhasedStartDate}from'./TimePhasedEventAssignmentDispatcher.js';const someInSet=(b,c)=>{for(const d of b){if(c(d))return!![];}return![];};class TimePhasedIntervals{constructor(){function W(a,b){return _enb(b- -0x24d,a);}this[W(-0xe5,-0x117)]=[];}['push'](a){function X(a,b){return _enb(a- -0x20,b);}this[X(0x116,0x118)][X(0x140,0x111)]({'time':a[X(0x142,0x15d)],'type':'start','assignment':a['assignment']},{'time':a[X(0xec,0x128)],'type':'end','assignment':a[X(0x137,0x149)]});}['prepare'](){this['timePhasedData']['sort']((a,b)=>{function Y(a,b){return _enb(b- -0x225,a);}return a[Y(-0x9b,-0xe0)]-b[Y(-0x11e,-0xe0)];});}[_enZ(0x401,0x412)](a,b,c,d,e,f){const g=this[a0(0x356,0x31a)][b];if(a&&b===this[a0(0x356,0x35f)]['length']-0x1){if(g[a0(0x365,0x37d)]<=c){e[a0(0x34d,0x36a)](g[a0(0x377,0x330)]);if(f(c,d,e)===![])return-0x1;return b;}}else if(!a&&b===0x0){if(c<=g[a0(0x365,0x394)]){e[a0(0x34d,0x3a0)](g[a0(0x377,0x376)]);if(f(d,c,e)===![])return-0x1;return b;}}function a0(a,b){return _enZ(a- -0xd6,b);}const h=a?0x1:-0x1;let j=c;let k,l;for(k=b;k>=0x0&&k<this[a0(0x356,0x376)][a0(0x372,0x35b)];k+=h){const n=this['timePhasedData'][k];const o=a?n['time']>=d:n[a0(0x365,0x37d)]<=d;if(o){if(a){if(f(j,d,e)===![])return-0x1;}else{if(f(d,j,e)===![])return-0x1;}return k;}const p=a?n[a0(0x365,0x324)]<c:n[a0(0x365,0x339)]>c;if(!p){if(j[a0(0x3a5,0x3a2)]()!==n[a0(0x365,0x377)][a0(0x3a5,0x350)]()){if(a){if(f(j,n[a0(0x365,0x3ae)],e)===![])return-0x1;}else{if(f(n[a0(0x365,0x322)],j,e)===![])return-0x1;}}const q=a?n[a0(0x34a,0x340)]===a0(0x363,0x328):n[a0(0x34a,0x39b)]===a0(0x352,0x2fe);if(q)e['add'](n[a0(0x377,0x32f)]);else e[a0(0x34d,0x39f)](n[a0(0x377,0x34b)]);}l=k;j=n[a0(0x365,0x396)];}if(l===void 0x0){return k;}const m=this[a0(0x356,0x354)][l];if(a){e[a0(0x34d,0x38d)](m['assignment']);if(f(j,d,e)===![])return-0x1;}else if(!a){e[a0(0x34d,0x33c)](m[a0(0x377,0x327)]);if(f(d,j,e)===![])return-0x1;}return l;}}class TimePhasedEventSelector{constructor(){this[a1(0x3e4,0x3c4)]=null;this[a1(0x3e3,0x40a)]=null;this[a1(0x438,0x443)]=![];this[a1(0x465,0x42d)]=![];this['hasInputOnEndDate']=![];this[a1(0x42c,0x437)]=null;function a1(a,b){return _enZ(a-0x6,b);}this[a1(0x42a,0x3e7)]=![];this['hasPreviousEffortValue']=![];}get[_enZ(0x3f7,0x3f3)](){function a2(a,b){return _enZ(a- -0x2,b);}const a=this['dispatcher'];return this['hasInputOnEffort']&&!Boolean(a[a2(0x466,0x4a9)]['get'](StartVar)&VariableInputState['HasProposedValue'])&&!Boolean(a['input'][a2(0x478,0x4b0)](EndVar)&VariableInputState[a2(0x44d,0x483)])&&!Boolean(a[a2(0x466,0x491)][a2(0x478,0x49b)](DurationVar)&VariableInputState[a2(0x44d,0x44c)])&&!a[a2(0x3f1,0x3c3)];}get[_enZ(0x3e5,0x3d6)](){function a3(a,b){return _enZ(b-0x8c,a);}const a=this[a3(0x477,0x469)];return this[a3(0x524,0x4eb)]&&!Boolean(a[a3(0x4c4,0x4f4)][a3(0x504,0x506)](StartVar)&VariableInputState[a3(0x51f,0x4db)])&&!Boolean(a[a3(0x52a,0x4f4)][a3(0x4b5,0x506)](EndVar)&VariableInputState['HasProposedValue'])&&!Boolean(a[a3(0x4d3,0x4f4)]['get'](EffortVar)&VariableInputState[a3(0x494,0x4db)])&&!a[a3(0x48e,0x47f)];}get[_enZ(0x3f9,0x3ca)](){const a=this['dispatcher'];function a4(a,b){return _enZ(b- -0x3e3,a);}const b=this[a4(-0xe,0x43)];return this[a4(-0x35,0x1c)]&&(!b||!b[0x0])&&!Boolean(a[a4(0xda,0x85)]['get'](StartVar)&VariableInputState[a4(0x9a,0x6c)])&&!Boolean(a[a4(0x6d,0x85)][a4(0x72,0x97)](DurationVar)&VariableInputState['HasProposedValue'])&&!Boolean(a[a4(0x7d,0x85)][a4(0xde,0x97)](EffortVar)&VariableInputState[a4(0xb6,0x6c)])&&!a[a4(0x62,0x10)];}*['collectInfo'](){const a=this[a5(0x9c,0x5c)];this[a5(0xf0,0x137)]=yield HasProposedNotPreviousValue(a['$'][a5(0x12f,0xf8)]);this[a5(0x11d,0x11f)]=yield HasProposedNotPreviousValue(a['$'][a5(0x107,0xb4)]);this['hasInputOnEndDate']=yield HasProposedNotPreviousValue(a['$']['endDate']);this[a5(0x9b,0xc5)]=yield a['$'][a5(0xec,0xca)];this[a5(0xe4,0x129)]=yield ProposedArgumentsOf(a['$'][a5(0xc0,0xbb)]);this[a5(0xe2,0xfc)]=yield*a[a5(0xfa,0xf5)]();function a5(a,b){return _enZ(a- -0x342,b);}this[a5(0x10c,0x124)]=yield HasPreviousValue(a['$'][a5(0x12f,0x174)]);}}class TimePhasedEventAssignmentTypeSelector{constructor(){this['event']=null;this['assigned']=null;this[a6(0xb9,0x9a)]=null;this['hasOnlyTimePhasedAssignments']=null;function a6(a,b){return _enZ(a- -0x3a0,b);}this[a6(0x6d,0x53)]=null;this[a6(0x41,0x8c)]=null;}*[_enZ(0x437,0x41c)](){const a=this[a7(-0x293,-0x26d)];const b=this[a7(-0x232,-0x284)]=yield a['$'][a7(-0x232,-0x221)];function a7(a,b){return _enZ(a- -0x671,b);}if(b[a7(-0x255,-0x222)]===0x0){this[a7(-0x218,-0x1c6)]=!![];this['hasOnlyTimePhasedAssignments']=![];this[a7(-0x290,-0x256)]=![];this[a7(-0x264,-0x20f)]=![];}else{let c=0x0;for(const d of b){const e=yield d['$']['selector'];if(this[a7(-0x218,-0x1f0)]===null&&e[a7(-0x241,-0x251)]){this[a7(-0x218,-0x228)]=![];c++;}if(this[a7(-0x25f,-0x2a6)]===null&&!e[a7(-0x241,-0x1fb)]){this[a7(-0x25f,-0x29d)]=![];c++;}if(this[a7(-0x290,-0x25a)]===null&&e[a7(-0x256,-0x272)]){this['hasPhantomTimePhasedAssignments']=!![];c++;}if(this['hasUnitsOnAllAssignments']===null&&!e[a7(-0x230,-0x1ee)]){this[a7(-0x264,-0x222)]=![];c++;}if(c===0x4)break;}if(this[a7(-0x218,-0x224)]===null)this[a7(-0x218,-0x1e0)]=!![];if(this[a7(-0x25f,-0x231)]===null)this[a7(-0x25f,-0x216)]=!![];if(this[a7(-0x290,-0x273)]===null)this['hasPhantomTimePhasedAssignments']=![];if(this[a7(-0x264,-0x27d)]===null)this[a7(-0x264,-0x28d)]=!![];}}}class SchedulerProHasTimePhasedAssignmentsMixin extends Mixin([SchedulerProHasAssignmentsMixin,HasSchedulingModeMixin,ConstrainedEarlyEventMixin,SplitEventMixin],a=>{function a8(a,b){return _enZ(a- -0x629,b);}const b=a[a8(-0x22d,-0x1fc)];class c extends a{*[a8(-0x1bf,-0x1c7)](){const d=yield this['$'][a9(-0x14,0x33)];function a9(a,b){return a8(a-0x1d6,b);}let e=0x0;for(const f of d){const g=yield f['$'][a9(-0xf,-0x39)];if(!g)continue;const h=yield ProposedOrPreviousValueOf(f['$'][a9(0x2a,0x5a)]);e+=h;}return e;}*[a8(-0x21d,-0x25b)](){return yield ProposedOrPreviousValueOf(this['$']['startDate']);}*['calculateProposedEndDate'](){return yield ProposedOrPreviousValueOf(this['$']['endDate']);}*['calculateProposedStartDateMin'](){const d=yield this['$'][aa(0x1c1,0x19d)];const e=yield this['$'][aa(0x11c,0x11f)];function aa(a,b){return a8(b-0x35b,a);}return d<e?d:e??d;}*[a8(-0x1d7,-0x1d2)](){function ab(a,b){return a8(a-0x38a,b);}const d=yield this['$'][ab(0x144,0x177)];const e=yield this['$'][ab(0x1da,0x223)];return d>e?d:e??d;}*[a8(-0x1f3,-0x236)](){const d=yield this['$']['assigned'];const e=new Map();let f;let g=Number[ac(0x40a,0x43f)];for(const h of d){if(yield*h[ac(0x440,0x41c)]()){const i=yield*h[ac(0x42f,0x3fa)]();e['set'](h,i);if(i<g){g=i;f=h;}}}function ac(a,b){return a8(b-0x615,a);}return{'offsets':e,'minOffset':g,'minAssignment':f};}*[a8(-0x239,-0x255)](){const d=yield this['$'][ad(0xad,0xbc)];const e=new Map();function ad(a,b){return a8(a-0x297,b);}let f;let g=Number[ad(0xc1,0xb0)];for(const h of d){if(yield*h['isTimePhased']()){const i=yield*h[ad(0x84,0xb6)]();e['set'](h,i);if(i<g){g=i;f=h;}}}return{'offsets':e,'minOffset':g,'minAssignment':f};}*['calculateAssignmentsTypeSelector'](){const d=new TimePhasedEventAssignmentTypeSelector();d['event']=this;yield*d['collectInfo']();return d;}*[a8(-0x1de,-0x216)](){const d=new TimePhasedEventSelector();d[ae(0x4c9,0x47d)]=this;yield*d[ae(0x522,0x539)]();function ae(a,b){return a8(a-0x714,b);}return d;}*['calculateTimePhasedDispatcher'](d){const e=TimePhasedEventAssignmentDispatcher[af(-0x1df,-0x199)]({'context':TimePhasedEventAssignmentCycleResolutionContext});e[af(-0x155,-0x196)](d,this['$'][af(-0x192,-0x175)],StartVar);e[af(-0x1d5,-0x196)](d,this['$'][af(-0x1dd,-0x1cb)],EndVar);e[af(-0x1d5,-0x196)](d,this['$'][af(-0x191,-0x184)],DurationVar);e['collectInfo'](d,this['$']['effort'],EffortVar);const f=yield this['$'][af(-0x1dd,-0x18e)];function af(a,b){return a8(b-0x5c,a);}const g=[];const h=[];const i=[];const j=[];for(const k of f){g['push']([null,yield HasProposedNotPreviousValue(k['$'][af(-0x1c3,-0x175)])]);h['push']([null,yield HasProposedNotPreviousValue(k['$']['endDate'])]);i[af(-0x1bd,-0x177)]([null,yield HasProposedNotPreviousValue(k['$'][af(-0x13c,-0x184)])]);j[af(-0x183,-0x177)]([null,yield HasProposedNotPreviousValue(k['$'][af(-0x122,-0x15c)])]);}if(g['some'](([l,m])=>m)){e[af(-0x167,-0x173)](TimePhasedStartDate);}if(h[af(-0x154,-0x176)](([l,m])=>m)){e['addProposedValueFlag'](TimePhasedEndDate);}if(i[af(-0x12f,-0x176)](([l,m])=>m)){e[af(-0x1b5,-0x173)](TimePhasedDuration);}if(j[af(-0x16a,-0x176)](([l,m])=>m)){e[af(-0x1b3,-0x173)](TimePhasedEffort);}return e;}*[a8(-0x1b4,-0x176)](){const d=new Map();const e=new Map();const f=yield this['$']['assigned'];for(const g of f){if(yield*g[ag(-0x290,-0x2ac)]()){e['set'](g,{'proposedStartOffset':yield g['$'][ag(-0x2cb,-0x2b4)],'proposedEndOffset':yield g['$'][ag(-0x24e,-0x28b)]});}}function ag(a,b){return a8(a- -0x97,b);}return function*(h,i){const j=String(i[ah(0x486,0x4b2)]())+'/'+(h?'1':'0');let k=d['get'](j);if(k){return k;}k=new TimePhasedIntervals();for(const [l,m]of e){let n,o;if(h){n=yield*l[ah(0x42e,0x43f)](i,!![],m['proposedStartOffset'],TimeUnit['Millisecond']);n=yield*l[ah(0x4b7,0x4a3)](n,!![]);o=yield*l['calculateProjectedXDate'](n,!![]);}else{const p=yield l['$'][ah(0x44e,0x412)];o=yield*l['calculateProjectedXDateWithDuration'](i,![],p[ah(0x42d,0x45c)]?m['proposedEndOffset']:yield l['$'][ah(0x48f,0x446)],TimeUnit[ah(0x47c,0x454)]);n=yield*l[ah(0x3df,0x428)](o,![]);}if(n&&o)k[ah(0x4db,0x48d)]({'startDate':n,'endDate':o,'assignment':l,'isWorking':!![]});}k[ah(0x44c,0x468)]();d[ah(0x44f,0x43b)](j,k);function ah(a,b){return ag(b-0x6f7,a);}return k;};}*['calculateStartDate'](){function ai(a,b){return a8(a-0x652,b);}const d=yield*this[ai(0x482,0x4bd)]();if(d||(yield this['$'][ai(0x414,0x3e4)])){return yield*super[ai(0x430,0x468)]();}else{const e=yield this['$'][ai(0x487,0x49e)];const f=yield*this[ai(0x48d,0x457)](e['direction']);const g=yield this['$']['dispatcher'];const h=yield this['$']['timePhasedDispatcher'];const i=yield PreviousValueOf(this['$'][ai(0x481,0x4ce)]);if(!(yield*this['isManuallyScheduled']())&&!(yield this['$']['unscheduled'])&&f){if(g[ai(0x43c,0x45c)]['get'](_ene)===CalculateProposed&&i!=null&&!h[ai(0x41c,0x46e)]){const j=yield ProposedOrPrevious;if(e[ai(0x484,0x4b0)]===Direction[ai(0x401,0x407)]){yield*this[ai(0x48b,0x4a8)](i,j,!![]);}else{if(j<i){yield*this[ai(0x48b,0x471)](i,j,![]);}}}return yield*super[ai(0x430,0x405)]();}else{if(e[ai(0x484,0x4b3)]===Direction[ai(0x401,0x412)]){const k=yield*super['calculateStartDate']();const l=yield this['$'][ai(0x416,0x445)];return l?l<k?l:k:k;}else{if(g['resolution']['get'](_ene)===CalculateProposed&&h['hasTimePhasedInput']){return yield*this[ai(0x431,0x407)](yield this['$'][ai(0x42b,0x45c)],![],yield this['$'][ai(0x472,0x46e)]);}if(g[ai(0x43c,0x40a)][ai(0x4a3,0x4a4)](_ene)===CalculateProposed&&!h[ai(0x41c,0x41c)]&&i!=null){const m=yield ProposedOrPrevious;yield*this['expandTrailingAssigmentsByDates'](i,m,![]);}return yield*super[ai(0x430,0x450)]();}}}}*[a8(-0x24d,-0x28e)](){const d=yield*this[aj(0x485,0x44b)]();function aj(a,b){return a8(a-0x655,b);}if(d||(yield this['$']['isSegmented'])){return yield*super[aj(0x408,0x447)]();}else{const e=yield this['$'][aj(0x48a,0x44d)];const f=yield*this[aj(0x490,0x450)](e[aj(0x487,0x492)]);if(!(yield*this[aj(0x473,0x468)]())&&!(yield this['$'][aj(0x46a,0x444)])&&f){return yield*super[aj(0x408,0x433)]();}else{if(e[aj(0x487,0x486)]===Direction[aj(0x404,0x3f3)]){const g=yield this['$'][aj(0x409,0x450)];const h=yield this['$'][aj(0x45a,0x48b)];if(g[aj(0x43f,0x43c)][aj(0x4a6,0x45a)](_end)===CalculateProposed&&h[aj(0x41f,0x3f5)]){return yield*this[aj(0x434,0x449)](yield this['$']['startDate'],!![],yield this['$']['duration']);}const i=yield PreviousValueOf(this['$']['endDate']);if(g['resolution'][aj(0x4a6,0x472)](_end)===CalculateProposed&&i!=null){const j=yield ProposedOrPrevious;yield*this[aj(0x48e,0x45c)](i,j,!![]);}return yield*super[aj(0x408,0x3db)]();}else{const k=yield*super[aj(0x408,0x45b)]();const l=yield this['$'][aj(0x4a5,0x472)];return l>k?l:k;}}}}*[a8(-0x1b2,-0x1df)](){const d=yield this['$']['assigned'];for(const e of d){const f=yield e['$'][ak(0x339,0x2e5)];if(!f['hasInputOnlyOnEffort'])return![];}function ak(a,b){return a8(b-0x533,a);}return!![];}*[a8(-0x21c,-0x242)](){const d=yield this['$']['assignmentsTypeSelector'];function al(a,b){return a8(b-0x33e,a);}return d[al(0xec,0x122)];}*[a8(-0x232,-0x1fc)](){const d=yield this['$']['selector'];function am(a,b){return a8(b-0x452,a);}return d[am(0x230,0x220)];}*[a8(-0x244,-0x1fe)](){function an(a,b){return a8(a-0x0,b);}const d=yield this['$'][an(-0x24e,-0x25d)];return d[an(-0x244,-0x23c)];}*[a8(-0x230,-0x200)](){function ao(a,b){return a8(b-0x56,a);}const d=yield this['$'][ao(-0x211,-0x1f8)];return d['isChangingOnlyEndDate'];}*[a8(-0x1c2,-0x1d2)](){const d=yield*this[ap(-0x44,-0x2d)]();function ap(a,b){return a8(b-0x1a3,a);}if(d||(yield this['$'][ap(-0x55,-0x9b)])){return yield*super[ap(-0x1,-0x1f)]();}else{const e=yield this['$'][ap(0x24,-0x28)];const f=e[ap(-0x4f,-0x2b)]===Direction[ap(-0x6a,-0xae)];const g=yield this['$'][ap(-0xfd,-0xa9)];const h=yield this['$']['timePhasedDispatcher'];if(g[ap(-0x9b,-0x73)]['get'](_enc)===durationFormula[ap(-0x13,-0x4c)]&&!h[ap(-0x7b,-0x93)]){const i=yield*super['calculateDuration']();yield*this[ap(-0x63,-0xac)](i,f);return i;}if(g[ap(-0x87,-0x73)][ap(-0x5,-0xc)](_enc)===CalculateProposed&&!h[ap(-0x8b,-0x93)]&&!(h[ap(-0x5c,-0x1e)]['get'](DurationVar)&VariableInputState[ap(-0x2,-0x37)])){const j=yield ProposedOrPrevious;return j;}if(g[ap(-0xbe,-0x73)]['get'](_enc)===CalculateProposed&&!h['hasTimePhasedInput']&&h[ap(-0x48,-0x1e)]['get'](DurationVar)&VariableInputState[ap(-0x2,-0x37)]){const k=yield ProposedOrPrevious;yield*this['expandTrailingAssigmentsByDuration'](k,f);const l=yield*this['hasOnlyTimePhasedAssignments']();const m=yield this['$'][ap(-0x49,-0x65)];return l?k>m?m:k:k;}if(!h[ap(-0xd3,-0x93)]){const n=yield ProposedOrPrevious;yield*this[ap(-0xab,-0xac)](n,f);return n;}else if(h[ap(-0xd9,-0x93)]){const o=yield*this[ap(-0x67,-0x74)]();const p=yield this['$'][ap(-0x63,-0x65)];if(o){return p;}else{return Math[ap(-0x52,-0x6e)](p,yield ProposedOrPrevious);}}else{throw new Error('Unknown\x20duration\x20scenario');}}}*[a8(-0x237,-0x22d)](){const d=yield this['$'][aq(-0x22c,-0x1fc)];function aq(a,b){return a8(b-0x3e,a);}if(d[aq(-0x1bc,-0x1cf)]>0x0||(yield this['$']['isSegmented']))return yield*super[aq(-0x227,-0x1f9)]();else{const e=yield*this[aq(-0x11e,-0x16f)]();const f=yield this['$']['assignmentsByCalendar'];if(e===SchedulingMode[aq(-0x16f,-0x17c)]){if(f[aq(-0x185,-0x1cf)]>0x0){if(yield*this[aq(-0x1b2,-0x1f4)]()){const g=yield ProposedOrPrevious;const h=yield PreviousValueOf(this['$'][aq(-0x153,-0x17a)]);if(g<=h){return g;}else{const i=yield this['$'][aq(-0x155,-0x18d)];yield*this[aq(-0x1ba,-0x18f)](g,h,i[aq(-0x1ab,-0x190)]===Direction['Forward']);return g;}}else{return yield*this[aq(-0x1c8,-0x175)]();}}else{return yield*super['calculateEffort']();}}else{return yield*this[aq(-0x14e,-0x175)]();}}}*[a8(-0x1b3,-0x1bc)](){if(yield this['$'][ar(0x262,0x29b)]){return yield*super[ar(0x2df,0x326)]();}function ar(a,b){return a8(b-0x4d9,a);}const d=yield this['$']['assigned'];if(d['size']>0x0){return yield*this[ar(0x310,0x2f5)]();}else{const e=yield ProposedOrPreviousValueOf(this['$'][ar(0x2fe,0x321)]);if(e===void 0x0){return yield*this[ar(0x2e9,0x323)](yield this['$']['startDate'],yield this['$']['endDate']);}else{return e;}}}*[a8(-0x1e4,-0x1df)](){let d=0x0;const e=yield this['$'][as(-0x19f,-0x18c)];for(const f of e){d+=yield*this[as(-0x189,-0x1d4)]()[as(-0x181,-0x1aa)](yield f['$'][as(-0x16d,-0x147)],yield f['$'][as(-0x1e3,-0x1f7)],TimeUnit[as(-0x1c1,-0x1c3)]);}function as(a,b){return a8(a-0x4b,b);}return yield*this[as(-0x189,-0x161)]()[as(-0x181,-0x1d7)](d,TimeUnit[as(-0x1c1,-0x1f1)],yield this['$'][as(-0x1e3,-0x22e)]);}*[a8(-0x226,-0x1fa)](d){function at(a,b){return a8(b- -0xa1,a);}return yield*d[at(-0x2c3,-0x2c7)](null);}*[a8(-0x1ff,-0x1bf)](d){function au(a,b){return a8(b-0x107,a);}if(yield*this[au(-0x168,-0x125)]()){const e=this;const f=yield this['$'][au(-0x102,-0xb1)];return function*(g){return yield*e['calculateProjectedXDateByEffort'](g,d,f);};}else{return yield*super[au(-0xdb,-0xf8)](d);}}*[a8(-0x22c,-0x1dc)](){const d=yield*this['effectiveSchedulingMode']();const e=yield this['$'][av(0x10a,0x105)];function av(a,b){return a8(a-0x2f0,b);}return d!==SchedulingMode[av(0xab,0xea)]&&d!==SchedulingMode[av(0x136,0x175)]&&(e||d===SchedulingMode[av(0xad,0x6c)])&&!(yield*this[av(0xac,0xec)]())&&!(yield*this[av(0xc0,0xd5)]())||d===SchedulingMode[av(0x128,0xd7)]&&(yield*this[av(0x13e,0x164)]())&&(yield*this['hasUnitsOnAllAssignments']());}*[a8(-0x254,-0x236)](){function aw(a,b){return a8(a-0x3de,b);}if((yield*this['hasOnlyTimePhasedAssignments']())&&(yield*this['isDurationDefinedByEffort']())){return(yield this['$'][aw(0x226,0x214)])>0x0;}else{return yield*super[aw(0x18a,0x154)]();}}*['expandTrailingAssigmentsByDuration'](d,e=!![]){const f=yield this['$'][ax(0x11f,0x104)];function ax(a,b){return a8(b-0x30c,a);}if(f==null)return;if(f>d){}else if(f<d){if(e){const g=yield PreviousValueOf(this['$'][ax(0xb8,0xe5)]);const h=yield*this[ax(0x98,0xeb)](g,!![],d-f,void 0x0,{'purpose':'positioning'});yield*this[ax(0x157,0x145)](g,h,e);}else{const i=yield PreviousValueOf(this['$'][ax(0x13b,0x13b)]);const j=yield*this['calculateProjectedXDateWithDuration'](i,![],d-f,void 0x0,{'purpose':ax(0x118,0xf7)});yield*this[ax(0x177,0x145)](i,j,e);}}}*[a8(-0x1c7,-0x1e2)](d,e,f=!![]){function ay(a,b){return a8(b-0x31b,a);}if(d[ay(0x128,0x16d)]()===e['getTime']()){return;}const g=yield this['$']['assigned'];const h=[];for(const i of g){if(yield*i[ay(0x118,0x122)]()){if(f){const j=yield PreviousValueOf(i['$'][ay(0xaa,0xf4)]);if(j&&j[ay(0x1bb,0x16d)]()===d[ay(0x1bc,0x16d)]())h[ay(0xf6,0x148)](i);}else{const k=yield PreviousValueOf(i['$'][ay(0x110,0x14a)]);if(k&&k[ay(0x16e,0x16d)]()===d[ay(0x193,0x16d)]())h[ay(0x133,0x148)](i);}}}this[ay(0x14a,0x15b)][ay(0x110,0x109)]({'commitFinalized':{'fn':()=>{function az(a,b){return ay(a,b- -0x2d3);}h[az(-0x174,-0x19b)](l=>{function aA(a,b){return az(a,b-0x5e6);}this[aA(0x46d,0x455)][aA(0x47e,0x465)](f?l['$'][aA(0x415,0x407)]:l['$'][aA(0x42b,0x45d)],e,![]);});},'once':!![]}});}*['expandTrailingAssigmentsByEffort'](d,e,f=!![]){const g=f?yield PreviousValueOf(this['$'][aB(0x292,0x27f)]):yield PreviousValueOf(this['$'][aB(0x2a7,0x2d5)]);const h=yield this['$'][aB(0x2cb,0x2bc)];const i=new Set();for(const l of h){if(yield*l[aB(0x279,0x2ad)]()){if(f){const m=yield PreviousValueOf(l['$'][aB(0x287,0x27f)]);if(m&&m[aB(0x349,0x2f8)]()===g['getTime']())i['add'](l);}else{const n=yield PreviousValueOf(l['$']['startDate']);if(n&&n[aB(0x2bc,0x2f8)]()===g[aB(0x2a6,0x2f8)]())i['add'](l);}}}const j=yield*this[aB(0x349,0x2fb)](function*(o){function aC(a,b){return aB(b,a-0x40);}return i[aC(0x322,0x2f5)](o)||!(yield*o[aC(0x2ed,0x2f5)]());});function aB(a,b){return a8(b-0x4a6,a);}const k=yield*this[aB(0x25e,0x2a4)](g,f,d-e,void 0x0,void 0x0,j);this['project'][aB(0x2b5,0x294)]({'commitFinalized':{'fn':()=>{function aD(a,b){return aB(b,a- -0x463);}i[aD(-0x1a0,-0x1e0)](o=>{function aE(a,b){return aD(a-0x68d,b);}this[aE(0x4f7,0x4f6)]['write'](f?o['$'][aE(0x4a9,0x4d5)]:o['$'][aE(0x4ff,0x4f3)],k,![]);});},'once':!![]}});}*[a8(-0x224,-0x1e2)](){return!![];}*[a8(-0x1df,-0x1cd)](){const d=yield this['$'][aF(-0x116,-0x124)];function aF(a,b){return a8(a-0xb5,b);}return d[aF(-0x119,-0xf8)]===Direction[aF(-0x19c,-0x1c7)]?yield*this[aF(-0x18d,-0x1d6)](yield this['$']['proposedStartDateMin'],(yield*this[aF(-0x193,-0x18c)]())?yield*this[aF(-0x163,-0x16d)]():yield this['$'][aF(-0xfb,-0x141)],void 0x0,{'isForward':!![]}):yield*this[aF(-0x18d,-0x1be)](yield this['$'][aF(-0x187,-0x196)],yield this['$'][aF(-0x18c,-0x1a0)],void 0x0,{'isForward':![]});}*[a8(-0x242,-0x201)](d,e,f,g,...h){const i=yield this['$'][aG(-0x229,-0x24c)];const j=g?.[aG(-0x21a,-0x230)]!==void 0x0?g:i[aG(-0x22c,-0x268)]===Direction[aG(-0x2af,-0x2bf)]?Object['assign']({},g,{'isForward':!![]}):Object['assign']({},g,{'isForward':![]});function aG(a,b){return a8(a- -0x5e,b);}return yield*super[aG(-0x2a0,-0x2ae)](d,e,f,j,...h);}*[a8(-0x1dd,-0x1db)](){function aH(a,b){return a8(b-0x48e,a);}return yield*this[aH(0x29d,0x2e3)](function*(d){function aI(a,b){return aH(b,a- -0x136);}return!(yield*d[aI(0x15f,0x1aa)]());});}*[a8(-0x21e,-0x232)](){function aJ(a,b){return a8(a-0x118,b);}return yield*this[aJ(-0x93,-0x5f)]();}*['collectAssignmentsByCalendar'](d){function aK(a,b){return a8(a-0x5d9,b);}const e=yield this['$'][aK(0x3e3,0x42d)];const f=yield this['$'][aK(0x3ef,0x3c0)];const g=this[aK(0x405,0x44f)]();const h=yield*this[aK(0x3f7,0x408)]();const i=(yield this['$'][aK(0x392,0x369)])||h&&!g[aK(0x3db,0x3bc)];const j=new Map();for(const k of f){if(!d||(yield*d(k))){const l=yield k['$'][aK(0x3f4,0x3a8)];const m=i||(yield k['$'][aK(0x392,0x35b)]);if(l){const n=m?e:yield l['$'][aK(0x3e3,0x3b3)];let o=j['get'](n);if(!o){o=[];j[aK(0x3b4,0x3d3)](n,o);}o[aK(0x406,0x3c3)](k);}}}return j;}*[a8(-0x23d,-0x27d)](d,e){const f=d[aL(0xc4,0x89)]??aL(0x87,0x73);if(f===aL(0x87,0xa9)||(yield*this[aL(0xcc,0xf8)]())||d['ignoreSegments']||(yield this['$'][aL(0x5e,0x8c)])){return yield*super[aL(0x5f,0x38)](d,e);}const g=d['isForward']!==![];const h=yield this['$'][aL(0xa6,0xa9)];const i=this[aL(0xc8,0x113)]();const j=yield*this[aL(0xba,0xea)]();const k=yield this['$']['regularAssignmentsByCalendar'];const l=yield this['$'][aL(0x79,0x5d)];const m=(yield this['$'][aL(0x55,0x5c)])||d[aL(0x55,0xa6)];const n=d[aL(0xb5,0xce)]??![];const o=i[aL(0x83,0xc4)];function aL(a,b){return a8(a-0x29c,b);}if(o){d=Object[aL(0xab,0xbe)]({'maxRange':o},d);}const p=yield this['$'][aL(0x7c,0xb6)];const q=yield*p(g,g?d[aL(0xcb,0xf4)]:d[aL(0x75,0x45)]);let r=g?0x0:q[aL(0x9f,0xea)][aL(0xbb,0xca)]-0x1;let s=g?d[aL(0xcb,0xa9)]:d[aL(0x75,0x33)];const t=new Set();const u=l[aL(0x5f,0x41)](d,(v,w,x)=>{const y=x['getCalendarsWorkStatus']();const z=x['getCalendarsWorking']();r=q[aM(-0x106,-0xf3)](g,r,s,g?v:w,t,()=>{});s=g?v:w;if(r===-0x1)return![];function aM(a,b){return aL(a- -0x17a,b);}r=q[aM(-0x106,-0xb5)](g,r,s,g?w:v,t,(A,B,C)=>{function aN(a,b){return aM(b- -0x7e,a);}if(y[aN(-0x148,-0x10b)](h)&&(n||someInSet(C,D=>{function aO(a,b){return aN(a,b-0x457);}return m||D['ignoreResourceCalendar']||y[aO(0x346,0x34c)](D[aO(0x2d5,0x316)][aO(0x2bf,0x305)])||j&&!i[aO(0x313,0x2fd)];})||z[aN(-0x16d,-0x12e)](D=>k[aN(-0xd1,-0x120)](D)))){if(e(A,B,x,C)===![])return![];}});s=g?w:v;if(r===-0x1)return![];});return u;}*[a8(-0x210,-0x1fc)](){const d=yield this['$'][aP(-0x12e,-0x167)];for(const e of d){if(yield*e[aP(-0x148,-0x19c)]())return![];}function aP(a,b){return a8(a-0xbc,b);}return!![];}*['hasOnlyRegularAssignments'](){function aQ(a,b){return a8(a-0x579,b);}const d=yield this['$'][aQ(0x3be,0x397)];return d[aQ(0x3a9,0x3ed)];}*['hasOnlyTimePhasedAssignments'](){const d=yield this['$'][aR(0x293,0x267)];function aR(a,b){return a8(a-0x44e,b);}return d['hasOnlyTimePhasedAssignments'];}*[a8(-0x248,-0x1fd)](){function aS(a,b){return a8(b-0x4b,a);}const d=yield this['$'][aS(-0x192,-0x170)];return d[aS(-0x20c,-0x1fd)];}*['calculateMinAssignmentProposedStartDate'](){let d=MAX_DATE;function aT(a,b){return a8(a-0x10a,b);}const e=yield this['$'][aT(-0xe0,-0x11e)];for(const f of e){const g=yield f[aT(-0x100,-0xb5)]['$'][aT(-0xc7,-0xf3)];if(g&&g<d)d=g;}return d['getTime']()-MAX_DATE[aT(-0xa4,-0x6f)]()?d:null;}*[a8(-0x22f,-0x284)](){let d=MIN_DATE;const e=yield this['$']['assigned'];function aU(a,b){return a8(a-0x1ce,b);}for(const f of e){const g=yield f['proposedMirror']['$'][aU(-0x59,-0xa4)];if(g&&g>d)d=g;}return d[aU(0x20,-0x1f)]()-MIN_DATE[aU(0x20,-0x20)]()?d:null;}*[a8(-0x218,-0x1f9)](){let d=MIN_DATE;const e=yield this['$'][aV(0x18c,0x194)];function aV(a,b){return a8(b-0x37e,a);}for(const f of e){const g=(yield*f[aV(0x1a9,0x185)]())?(yield*f[aV(0x160,0x17a)]())?yield f['proposedMirror']['$']['endDate']:yield f['$']['phantomEndDate']:null;if(g&&g>d)d=g;}return d[aV(0x1b2,0x1d0)]()-MIN_DATE['getTime']()?d:null;}*[a8(-0x1b6,-0x1ef)](d,e,f){function aW(a,b){return a8(a-0x129,b);}const g=yield*this['hasOnlyRegularAssignments']();if(g||(yield this['$']['isSegmented'])){return yield*super[aW(-0x8d,-0x61)](d,e,f);}if(d==null||e==null||d>e)return null;const h=f?f:yield this['$'][aW(-0xc0,-0x105)];const i=new Map();for(const [l,m]of h){let n=0x0;for(const o of m){n+=yield o['$'][aW(-0x83,-0xb6)];}i[aW(-0xfc,-0x150)](l,n);}let j=0x0;const k=Object[aW(-0xc8,-0xd5)](yield*this[aW(-0xd3,-0x112)](),{'startDate':d,'endDate':e},{'purpose':aW(-0x116,-0x152)});yield*this[aW(-0x114,-0xc0)](k,(p,q,r,s)=>{const t=r[aX(-0x3a,-0x23)]();function aX(a,b){return aW(a-0xdd,b);}const u=p['getTime'](),v=q[aX(0x58,0x20)](),w=v-u;let x=0x0;for(const y of t){x+=i[aX(0x57,0x75)](y)||0x0;}if(!f){s['forEach'](z=>{function aY(a,b){return aX(a- -0x120,b);}x+=z[aY(-0xc6,-0xd4)];});}j+=x*w*0.01;});return yield*this[aW(-0xab,-0xdc)]()[aW(-0xa3,-0xf6)](j,TimeUnit['Millisecond'],yield this['$'][aW(-0x105,-0x123)]);}*['calculateProjectedXDateWithDuration'](d,e=!![],f,g,h){const i=yield*super[aZ(-0x120,-0x13c)](d,e,f,g,h);if(yield this['$'][aZ(-0x13d,-0x139)])return i;const j=yield*this[aZ(-0x116,-0x141)]();if(j){const k=yield this['$'][aZ(-0xca,-0x9a)];if(k[aZ(-0xcd,-0x110)]===Direction[aZ(-0x150,-0xfd)]&&e===![]){const l=yield this['$']['proposedStartOffsets'];const m=l[aZ(-0xb0,-0xc2)];if(m>0x0){return yield*l[aZ(-0xff,-0x14f)]['calculateProjectedXDateWithDuration'](i,![],m,TimeUnit['Millisecond']);}}else if(k[aZ(-0xcd,-0x95)]===Direction[aZ(-0xc5,-0xfd)]&&e===!![]){const n=yield this['$'][aZ(-0x149,-0xf6)];const o=n[aZ(-0xb0,-0x6a)];if(o>0x0){return yield*n[aZ(-0xff,-0x130)]['calculateProjectedXDateWithDuration'](i,!![],o,TimeUnit[aZ(-0x10b,-0x135)]);}}}function aZ(a,b){return a8(a-0x101,b);}return i;}*[a8(-0x1f4,-0x1b5)](){const d=yield*this['effectiveSchedulingMode']();function b0(a,b){return a8(a-0xe0,b);}if(d===SchedulingMode[b0(-0x165,-0x11c)]){return{'ignoreResourceCalendar':!![],'ignoreTimePhasedData':!![]};}else{return yield*b[b0(-0x114,-0xd4)]['call'](this);}}*[a8(-0x202,-0x23b)](d,e=!![],f,g,h,i){if(yield this['$'][b1(0x1ad,0x1cc)]){return yield*super[b1(0x201,0x208)](d,e,f,g,h,i);}f=f!==void 0x0?f:yield this['$'][b1(0x284,0x252)];g=g!==void 0x0?g:yield this['$']['effortUnit'];const j=yield*this[b1(0x1f7,0x236)]()[b1(0x269,0x23e)](f,g,TimeUnit[b1(0x1f6,0x1fe)]);function b1(a,b){return a8(b-0x40a,a);}if(d==null||f==null)return null;let k=d[b1(0x2af,0x25c)]();let l=j;if(l===0x0)return new Date(k);const m=Object[b1(0x220,0x219)](yield*this[b1(0x210,0x216)](),e?{'startDate':d,'isForward':e}:{'endDate':d,'isForward':e},{'purpose':'progressing'},h);const n=yield*this[b1(0x230,0x23a)]();if(h?.[b1(0x1f8,0x232)]==='positioning'||n){const r=new Map();const s=yield this['$']['assigned'];let t=0x0;const u=new Map();for(const x of s){const y=yield x['$'][b1(0x28a,0x25e)];t+=y;u[b1(0x209,0x1e5)](x,y);}if(t===0x0){return yield*super['calculateProjectedXDateByEffort'](d,e,f,g,h,i);}for(const z of s){r[b1(0x1fb,0x1e5)](z,j*u[b1(0x253,0x25b)](z)/t);}const v=yield this['$'][b1(0x1b8,0x1f6)];const w=new Map();for(const [A,B]of v){for(const C of B){w['set'](C,A);}}yield*this[b1(0x1ef,0x1cd)](m,(D,E,F)=>{function b2(a,b){return b1(a,b-0x16f);}const G=D[b2(0x401,0x3cb)](),H=E[b2(0x3eb,0x3cb)](),I=H-G;for(const J of s){const K=w[b2(0x39c,0x3ca)](J);if(F[b2(0x31c,0x324)]()[b2(0x386,0x3ca)](K)){const L=r['get'](J);let M=u[b2(0x3d4,0x3ca)](J);const N=M*I*0.01;if(N>=L){const O=e?G+L/(0.01*M):H-L/(0.01*M);if(e&&O>k||!e&&O<k){k=O;}r[b2(0x35e,0x373)](J);}else{r[b2(0x303,0x354)](J,L-N);}}}if(r['size']===0x0)return![];});return new Date(k);}const o=i?i:yield this['$']['regularAssignmentsByCalendar'];const p=new Map();(yield this['$'][b1(0x24c,0x1f6)])[b1(0x251,0x227)]((D,E)=>{function b3(a,b){return b1(b,a-0x12f);}D[b3(0x356,0x30e)](F=>p['set'](F,E));});const q=new Map();for(const [D,E]of o){let F=0x0;for(const G of E){F+=yield G['$']['units'];}q[b1(0x1af,0x1e5)](D,F);}yield*this[b1(0x21b,0x1cd)](m,(H,I,J,K)=>{const L=J[b4(0x352,0x355)]();const M=J[b4(0x33d,0x373)]();const N=H[b4(0x3e4,0x3d6)](),O=I[b4(0x3e4,0x40b)](),P=O-N;function b4(a,b){return b1(b,a-0x188);}let Q=0x0;for(const S of L){Q+=q[b4(0x3e3,0x410)](S)||0x0;}if(!i){K['forEach'](T=>{function b5(a,b){return b4(b- -0x3e0,a);}if(M['get'](p[b5(0x15,0x3)](T)))Q+=T[b5(0x8,0x6)];});}const R=Q*P*0.01;if(R>=l){k=e?N+l/(0.01*Q):O-l/(0.01*Q);return![];}else{l-=R;}});return new Date(k);}}__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x236)],a8(-0x1be,-0x19e),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x246,-0x1f8),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x229,-0x1f5),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x241,-0x24a),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x27c)],a8(-0x23c,-0x207),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x1b0,-0x15f),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x225)],a8(-0x208,-0x1d8),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x1fb)],a8(-0x1bb,-0x1f3),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x27f)],'proposedTotalUnits',void 0x0);__decorate([field({'identifierCls':TimePhasedEventAssignmentDispatcherIdentifier})],c[a8(-0x22d,-0x1fa)],a8(-0x1fb,-0x1f4),void 0x0);__decorate([field()],c['prototype'],a8(-0x24e,-0x229),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x20b,-0x22c),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x201)],a8(-0x24a,-0x20f),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x22d,-0x218)],a8(-0x1e9,-0x1d2),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x220,-0x228),void 0x0);__decorate([calculate('proposedTotalUnits')],c[a8(-0x22d,-0x25d)],'calculateProposedTotalUnits',null);__decorate([calculate('proposedStartDate')],c['prototype'],'calculateProposedStartDate',null);__decorate([calculate('proposedEndDate')],c[a8(-0x22d,-0x262)],a8(-0x1ec,-0x1b3),null);__decorate([calculate('proposedStartDateMin')],c[a8(-0x22d,-0x264)],a8(-0x250,-0x20b),null);__decorate([calculate('proposedEndDateMax')],c['prototype'],a8(-0x1d7,-0x1e4),null);__decorate([calculate('proposedStartOffsets')],c[a8(-0x22d,-0x20b)],a8(-0x1f3,-0x1a1),null);__decorate([calculate(a8(-0x24a,-0x276))],c[a8(-0x22d,-0x266)],a8(-0x239,-0x272),null);__decorate([calculate(a8(-0x1bb,-0x1f3))],c[a8(-0x22d,-0x259)],a8(-0x1b5,-0x1db),null);__decorate([calculate(a8(-0x24e,-0x243))],c[a8(-0x22d,-0x256)],a8(-0x1de,-0x232),null);__decorate([calculate(a8(-0x1fb,-0x214))],c['prototype'],a8(-0x20f,-0x25f),null);__decorate([calculate(a8(-0x220,-0x25e))],c[a8(-0x22d,-0x21c)],a8(-0x1b4,-0x1b2),null);__decorate([calculate('proposedAssignmentDuration')],c['prototype'],a8(-0x1df,-0x1a0),null);__decorate([calculate(a8(-0x1e9,-0x217))],c['prototype'],'calculateRegularAssignmentsByCalendar',null);__decorate([calculate(a8(-0x23c,-0x27e))],c[a8(-0x22d,-0x281)],a8(-0x231,-0x244),null);__decorate([calculate(a8(-0x1b0,-0x180))],c[a8(-0x22d,-0x212)],a8(-0x22f,-0x23d),null);return c;}){}export{SchedulerProHasTimePhasedAssignmentsMixin,TimePhasedEventAssignmentTypeSelector,TimePhasedEventSelector,TimePhasedIntervals};
1
+ (function(a,b){function U(a,b){return _enb(b- -0x214,a);}const c=a();while(!![]){try{const d=parseInt(U(-0x2c,-0x3b))/0x1+parseInt(U(-0x53,-0x3e))/0x2*(parseInt(U(0x1b,0x3d))/0x3)+-parseInt(U(0x4a,-0xc))/0x4*(parseInt(U(-0x19,0x3a))/0x5)+parseInt(U(-0x44,-0x24))/0x6+-parseInt(U(-0x9,-0x8))/0x7*(-parseInt(U(-0x1b,0x14))/0x8)+parseInt(U(-0x2,-0x1a))/0x9+-parseInt(U(-0x6b,-0x40))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x849b9));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[V(0xba,0xe0)](b,e):f,j;if(typeof Reflect===V(0xf5,0xdd)&&typeof Reflect[V(0xf,0x42)]===V(0x83,0x53))h=Reflect[V(-0xd,0x42)](a,b,e,f);else for(var k=a[V(0xdb,0xce)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function V(a,b){return _enb(b- -0x177,a);}return g>0x3&&h&&Object[V(0x75,0x3f)](b,e,h),h;};import{HasPreviousValue,HasProposedNotPreviousValue,PreviousValueOf,ProposedArgumentsOf,ProposedOrPrevious,ProposedOrPreviousValueOf}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1ac;let f=c[d];return f;};return _enb(a,b);}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enX(a,b){return _enb(a-0x3e4,b);}import{CalculateProposed,VariableInputState}from'@bryntum/engine-thin/lib/ChronoGraph/cycle_resolver/CycleResolver.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{Direction,SchedulingMode,TimeUnit}from'../../../scheduling/Types.js';import{MAX_DATE,MIN_DATE}from'../../../util/Constants.js';import{durationFormula,DurationVar as _enc,EndDateVar as _end,StartDateVar as _ene}from'../scheduler_basic/BaseEventDispatcher.js';import{ConstrainedEarlyEventMixin}from'./ConstrainedEarlyEventMixin.js';import{HasSchedulingModeMixin}from'./HasSchedulingModeMixin.js';import{SchedulerProHasAssignmentsMixin}from'./SchedulerProHasAssignmentsMixin.js';import{SplitEventMixin}from'./SplitEventMixin.js';import{DurationVar,EffortVar,EndVar,StartVar,TimePhasedDuration,TimePhasedEffort,TimePhasedEndDate,TimePhasedEventAssignmentCycleResolutionContext,TimePhasedEventAssignmentDispatcher,TimePhasedEventAssignmentDispatcherIdentifier,TimePhasedStartDate}from'./TimePhasedEventAssignmentDispatcher.js';function _ena(){const b7=['calculateAssignmentUnits','shouldSkipNonWorkingTime','resource','add','set','effort','end','unscheduled','ion','calculateStartDate','4169964aVFuGk','regularAssignmentsByCalendar','hasInputOnDuration','hasInputOnlyOnEffort','get','useEventAvailabilityIterator','HasProposedValue','ignoreTimePhasedData','calculateAssignmentsTypeSelector','isTimePhased','489087tVJgZo','endDate','calculateDuration','minAssignmentProposedStartDate','timePhasedDispatcher','calculateProposedEndOffsetRaw','effortDriven','delete','calculateProjectedXDateByEffort','timePhasedData','effectiveDirection','Backward','childEvents','call','12tJfgMn','selector','effectiveCalendar','proposedEndDateArgs','6834982QvDosN','skipNonWorkingTimeInDurationWhenSchedulingManually','hasInputOnAssignments','MAX_VALUE','proposedTotalUnits','calculateTotalAssignmentsEffort','getDateShifter','prototype','proposedStartOffsets','hasPreviousEffortValue','proposedMirror','isChangingOnlyEffort','isChangingOnlyDuration','expandTrailingAssigmentsByEffort','time','calculateAssignmentsByCalendar','positioning','proposedEndOffset','FixedEffort','effortUnit','forEach','proposedStartDateMin','addProposedValueFlag','calculateTimePhasedDispatcher','effectiveCalendarsCombination','calculateProjectedDuration','Millisecond','forEachAvailabilityInterval','8muFUXn','isPhantomTimePhased','prepare','ignoreResourceCalendar','Forward','calculateMaxAssignmentProposedEndDate','calculateMinAssignmentProposedStartDate','effectiveSchedulingMode','FixedDuration','hasInputOnEndDate','maxCalendarRange','isDurationDefinedByEffort','has','some','input','dispatcher','proposedEndDate','$convertDuration','calculateProjectedEffort','calculateEffort','proposedStartOffset','getTime','hasPhantomTimePhasedAssignments','minAssignment','event','sort','resolution','isManuallyScheduled','assigned','length','size','calculateProposedEndDateMax','getBaseOptionsForEffortCalculations','calculateProposedStartDateMin','calculateProposedStartDate','formulaId','collectAssignmentsByCalendar','startDate','714745fPModj','calculateProposedEndOffsets','start','789PrcTCs','calculateEndDate','maxAssignmentProposedEndDate','object','Unknown\x20duration\x20scenario','hasInputOnEffort','getOwnPropertyDescriptor','isChangingOnlyEffortOnAssignment','isConstrainedAlongDirection','move','push','isSegmented','collectInfo','write','isUserTimePhased','isForward','skipNonWorkingTime','calculateTimePhasedIntervalsCache','minOffset','defineProperty','assignment','proposedEndDateMax','decorate','duration','hasTimePhasedInput','getCalendarsWorkStatus','assignmentsTypeSelector','calculateProposedAssignmentDuration','direction','hasProposedAssignments','getBaseOptionsForDurationCalculations','calculateMaxAssignmentProposedEndDateIncludingPhantom','graph','progressing','assignmentsByCalendar','expandTrailingAssignmentsByDuration','proposedStartDate','proposedAssignmentDuration','getProject','function','project','assign','hasOnlyTimePhasedAssignments','Normal','calculateProposedEndDate','type','calculateProjectedXDateWithDuration','hasUnitsOnAllAssignments','hasOnlyRegularAssignments','9463790vyFCTn','proposedEndOffsets','1362lsvpyK','calculateProjectedXDate','isChangingOnlyEndDate','13521lrSZBF','calculateRegularAssignmentsByCalendar','calculateProposedStartOffsets','calculateEffortPure','expandTrailingAssigmentsByDates','calculateSelector','max','timePhasedIntervalsCache','purpose','ignoreSegments','phantomEndOffset','units','getCalendarsWorking'];_ena=function(){return b7;};return _ena();}const someInSet=(b,c)=>{for(const d of b){if(c(d))return!![];}return![];};class TimePhasedIntervals{constructor(){function W(a,b){return _enb(a- -0x1f6,b);}this[W(0xd,0x5a)]=[];}[_enX(0x591,0x5c0)](a){function Y(a,b){return _enX(a- -0x628,b);}this['timePhasedData'][Y(-0x97,-0xe0)]({'time':a['startDate'],'type':'start','assignment':a[Y(-0x8d,-0xe2)]},{'time':a[Y(-0x49,-0x7a)],'type':Y(-0x58,-0x40),'assignment':a[Y(-0x8d,-0xa6)]});}[_enX(0x60e,0x606)](){function Z(a,b){return _enX(b- -0x375,a);}this[Z(0x22b,0x272)][Z(0x2a4,0x2b0)]((a,b)=>{return a['time']-b['time'];});}['move'](a,b,c,d,e,f){const g=this['timePhasedData'][b];if(a&&b===this[a0(0x224,0x229)][a0(0x289,0x26b)]-0x1){if(g[a0(0x285,0x240)]<=c){e[a0(0x1ff,0x227)](g[a0(0x19a,0x1dd)]);if(f(c,d,e)===![])return-0x1;return b;}}else if(!a&&b===0x0){if(c<=g[a0(0x251,0x240)]){e[a0(0x277,0x227)](g['assignment']);if(f(d,c,e)===![])return-0x1;return b;}}const h=a?0x1:-0x1;let j=c;let k,l;for(k=b;k>=0x0&&k<this[a0(0x22d,0x229)][a0(0x2bb,0x26b)];k+=h){const n=this[a0(0x1d9,0x229)][k];const o=a?n[a0(0x1fd,0x240)]>=d:n['time']<=d;if(o){if(a){if(f(j,d,e)===![])return-0x1;}else{if(f(d,j,e)===![])return-0x1;}return k;}const p=a?n[a0(0x1ee,0x240)]<c:n['time']>c;if(!p){if(j[a0(0x232,0x263)]()!==n[a0(0x221,0x240)]['getTime']()){if(a){if(f(j,n['time'],e)===![])return-0x1;}else{if(f(n['time'],j,e)===![])return-0x1;}}const q=a?n[a0(0x1a6,0x1f6)]===a0(0x2bb,0x276):n['type']===a0(0x25a,0x212);if(q)e[a0(0x1d2,0x20f)](n[a0(0x22c,0x1dd)]);else e[a0(0x238,0x227)](n[a0(0x18e,0x1dd)]);}l=k;j=n['time'];}if(l===void 0x0){return k;}function a0(a,b){return _enX(b- -0x3be,a);}const m=this['timePhasedData'][l];if(a){e[a0(0x24f,0x227)](m[a0(0x202,0x1dd)]);if(f(j,d,e)===![])return-0x1;}else if(!a){e[a0(0x256,0x227)](m['assignment']);if(f(d,j,e)===![])return-0x1;}return l;}}class TimePhasedEventSelector{constructor(){this[a1(0x2e3,0x334)]=null;this['dispatcher']=null;this[a1(0x383,0x34a)]=![];this[a1(0x318,0x2e6)]=![];function a1(a,b){return _enX(b- -0x2f0,a);}this['hasInputOnEndDate']=![];this[a1(0x323,0x2ff)]=null;this[a1(0x2c9,0x302)]=![];this[a1(0x2c7,0x309)]=![];}get['isChangingOnlyEffort'](){function a2(a,b){return _enX(b- -0x6a0,a);}const a=this[a2(-0x78,-0x85)];return this['hasInputOnEffort']&&!Boolean(a[a2(-0x46,-0x86)][a2(-0x119,-0xc8)](StartVar)&VariableInputState[a2(-0xc0,-0xc6)])&&!Boolean(a[a2(-0x30,-0x86)][a2(-0x109,-0xc8)](EndVar)&VariableInputState[a2(-0x96,-0xc6)])&&!Boolean(a[a2(-0x95,-0x86)][a2(-0xcb,-0xc8)](DurationVar)&VariableInputState['HasProposedValue'])&&!a[a2(-0x13a,-0x101)];}get[_enX(0x5fc,0x652)](){const a=this[a3(0x62a,0x5ee)];function a3(a,b){return _enX(b- -0x2d,a);}return this[a3(0x5d9,0x5a9)]&&!Boolean(a['input'][a3(0x5c1,0x5ab)](StartVar)&VariableInputState['HasProposedValue'])&&!Boolean(a[a3(0x5ec,0x5ed)]['get'](EndVar)&VariableInputState[a3(0x5f8,0x5ad)])&&!Boolean(a['input'][a3(0x5cf,0x5ab)](EffortVar)&VariableInputState[a3(0x589,0x5ad)])&&!a[a3(0x570,0x572)];}get[_enX(0x5bc,0x583)](){function a4(a,b){return _enX(b- -0x43d,a);}const a=this[a4(0x199,0x1de)];const b=this['proposedEndDateArgs'];return this[a4(0x1b9,0x1d8)]&&(!b||!b[0x0])&&!Boolean(a[a4(0x195,0x1dd)]['get'](StartVar)&VariableInputState[a4(0x19d,0x19d)])&&!Boolean(a[a4(0x194,0x1dd)][a4(0x1dd,0x19b)](DurationVar)&VariableInputState['HasProposedValue'])&&!Boolean(a['input'][a4(0x1ea,0x19b)](EffortVar)&VariableInputState[a4(0x176,0x19d)])&&!a[a4(0x12d,0x162)];}*[_enX(0x593,0x5c8)](){const a=this['event'];this[a5(0x237,0x24d)]=yield HasProposedNotPreviousValue(a['$']['effort']);this[a5(0x1dc,0x1e9)]=yield HasProposedNotPreviousValue(a['$'][a5(0x169,0x1b1)]);function a5(a,b){return _enX(b- -0x3ed,a);}this['hasInputOnEndDate']=yield HasProposedNotPreviousValue(a['$'][a5(0x23b,0x1f2)]);this[a5(0x258,0x22e)]=yield a['$'][a5(0x20e,0x1f5)];this['proposedEndDateArgs']=yield ProposedArgumentsOf(a['$'][a5(0x240,0x1f2)]);this[a5(0x1fe,0x205)]=yield*a[a5(0x1ea,0x1b7)]();this[a5(0x1c2,0x20c)]=yield HasPreviousValue(a['$'][a5(0x235,0x1e2)]);}}class TimePhasedEventAssignmentTypeSelector{constructor(){this[a6(0x44,0x6f)]=null;this['assigned']=null;function a6(a,b){return _enX(b- -0x5b5,a);}this[a6(0x1f,0x2)]=null;this[a6(-0x57,-0x4)]=null;this[a6(0x58,0x1)]=null;this['hasPhantomTimePhasedAssignments']=null;}*[_enX(0x593,0x5da)](){const a=this[a7(0x51c,0x4d3)];const b=this[a7(0x492,0x4d7)]=yield a['$'][a7(0x4e9,0x4d7)];function a7(a,b){return _enX(b- -0x151,a);}if(b[a7(0x4a0,0x4d9)]===0x0){this[a7(0x463,0x466)]=!![];this[a7(0x40c,0x460)]=![];this[a7(0x4c5,0x4d1)]=![];this[a7(0x442,0x465)]=![];}else{let c=0x0;for(const d of b){const e=yield d['$'][a7(0x4f1,0x49c)];if(this['hasOnlyRegularAssignments']===null&&e[a7(0x4c7,0x48c)]){this[a7(0x412,0x466)]=![];c++;}if(this[a7(0x43c,0x460)]===null&&!e[a7(0x486,0x48c)]){this[a7(0x496,0x460)]=![];c++;}if(this[a7(0x501,0x4d1)]===null&&e[a7(0x472,0x4bc)]){this[a7(0x4d5,0x4d1)]=!![];c++;}if(this[a7(0x4af,0x465)]===null&&!e['hasPreviousValueForUnits']){this[a7(0x490,0x465)]=![];c++;}if(c===0x4)break;}if(this[a7(0x4a9,0x466)]===null)this[a7(0x459,0x466)]=!![];if(this[a7(0x44a,0x460)]===null)this[a7(0x421,0x460)]=!![];if(this[a7(0x4ee,0x4d1)]===null)this[a7(0x510,0x4d1)]=![];if(this['hasUnitsOnAllAssignments']===null)this[a7(0x494,0x465)]=!![];}}}class SchedulerProHasTimePhasedAssignmentsMixin extends Mixin([SchedulerProHasAssignmentsMixin,HasSchedulingModeMixin,ConstrainedEarlyEventMixin,SplitEventMixin],a=>{const b=a[a8(-0x16a,-0x148)];class c extends a{*['calculateProposedTotalUnits'](){function a9(a,b){return a8(b-0x2b6,a);}const d=yield this['$'][a9(0x1a3,0x17d)];let e=0x0;for(const f of d){const g=yield f['$'][a9(0xf0,0x121)];if(!g)continue;const h=yield ProposedOrPreviousValueOf(f['$'][a9(0xe7,0x11d)]);e+=h;}return e;}*['calculateProposedStartDate'](){function aa(a,b){return a8(a-0x174,b);}return yield ProposedOrPreviousValueOf(this['$'][aa(0x44,0x88)]);}*['calculateProposedEndDate'](){function ab(a,b){return a8(b-0x4f2,a);}return yield ProposedOrPreviousValueOf(this['$'][ab(0x3a7,0x370)]);}*[a8(-0x134,-0x16d)](){function ac(a,b){return a8(a-0x352,b);}const d=yield this['$']['proposedStartDate'];const e=yield this['$'][ac(0x1d2,0x219)];return d<e?d:e??d;}*['calculateProposedEndDateMax'](){const d=yield this['$']['proposedEndDate'];const e=yield this['$'][ad(-0x63,-0x79)];function ad(a,b){return a8(a-0xc7,b);}return d>e?d:e??d;}*['calculateProposedStartOffsets'](){function ae(a,b){return a8(b-0x499,a);}const d=yield this['$'][ae(0x31f,0x360)];const e=new Map();let f;let g=Number[ae(0x302,0x32b)];for(const h of d){if(yield*h[ae(0x2c6,0x315)]()){const i=yield*h['calculateProposedStartOffsetRaw']();e[ae(0x30b,0x306)](h,i);if(i<g){g=i;f=h;}}}return{'offsets':e,'minOffset':g,'minAssignment':f};}*[a8(-0x12e,-0x168)](){const d=yield this['$'][af(0x13a,0xf7)];const e=new Map();let f;function af(a,b){return a8(a-0x273,b);}let g=Number['MAX_VALUE'];for(const h of d){if(yield*h[af(0xef,0x138)]()){const i=yield*h[af(0xf5,0xc4)]();e[af(0xe0,0x131)](h,i);if(i<g){g=i;f=h;}}}return{'offsets':e,'minOffset':g,'minAssignment':f};}*['calculateAssignmentsTypeSelector'](){function ag(a,b){return a8(b-0x2af,a);}const d=new TimePhasedEventAssignmentTypeSelector();d['event']=this;yield*d[ag(0xa3,0xe1)]();return d;}*[a8(-0x19f,-0x1a1)](){const d=new TimePhasedEventSelector();function ah(a,b){return a8(a-0x2c,b);}d[ah(-0x111,-0xbf)]=this;yield*d[ah(-0x1a2,-0x1aa)]();return d;}*[a8(-0x15a,-0x126)](d){const e=TimePhasedEventAssignmentDispatcher['new']({'context':TimePhasedEventAssignmentCycleResolutionContext});function ai(a,b){return a8(a-0x74b,b);}e['collectInfo'](d,this['$'][ai(0x61b,0x5cf)],StartVar);e[ai(0x57d,0x5ac)](d,this['$'][ai(0x5c9,0x5ae)],EndVar);e[ai(0x57d,0x5b9)](d,this['$'][ai(0x588,0x5b9)],DurationVar);e[ai(0x57d,0x5a0)](d,this['$'][ai(0x5b9,0x5c3)],EffortVar);const f=yield this['$']['assigned'];const g=[];const h=[];const i=[];const j=[];for(const k of f){g['push']([null,yield HasProposedNotPreviousValue(k['$'][ai(0x61b,0x608)])]);h[ai(0x57b,0x5a1)]([null,yield HasProposedNotPreviousValue(k['$']['endDate'])]);i[ai(0x57b,0x557)]([null,yield HasProposedNotPreviousValue(k['$'][ai(0x588,0x5b8)])]);j['push']([null,yield HasProposedNotPreviousValue(k['$']['effort'])]);}if(g[ai(0x603,0x5cc)](([l,m])=>m)){e['addProposedValueFlag'](TimePhasedStartDate);}if(h[ai(0x603,0x618)](([l,m])=>m)){e['addProposedValueFlag'](TimePhasedEndDate);}if(i[ai(0x603,0x653)](([l,m])=>m)){e[ai(0x5f0,0x5f5)](TimePhasedDuration);}if(j[ai(0x603,0x5ce)](([l,m])=>m)){e[ai(0x5f0,0x5a5)](TimePhasedEffort);}return e;}*[a8(-0x1c9,-0x207)](){const d=new Map();const e=new Map();const f=yield this['$'][aj(0x337,0x2f9)];for(const g of f){if(yield*g['isTimePhased']()){e[aj(0x2dd,0x29d)](g,{'proposedStartOffset':yield g['$'][aj(0x32f,0x324)],'proposedEndOffset':yield g['$'][aj(0x310,0x2f1)]});}}function aj(a,b){return a8(a-0x470,b);}return function*(h,i){const j=String(i[ak(0x5da,0x5f1)]())+'/'+(h?'1':'0');let k=d[ak(0x591,0x5c8)](j);function ak(a,b){return aj(a-0x2aa,b);}if(k){return k;}k=new TimePhasedIntervals();for(const [l,m]of e){let n,o;if(h){n=yield*l[ak(0x56e,0x551)](i,!![],m['proposedStartOffset'],TimeUnit[ak(0x5c3,0x58c)]);n=yield*l[ak(0x550,0x559)](n,!![]);o=yield*l[ak(0x574,0x5a9)](n,!![]);}else{const p=yield l['$']['selector'];o=yield*l[ak(0x56e,0x56f)](i,![],p['isUserTimePhased']?m['proposedEndOffset']:yield l['$'][ak(0x580,0x576)],TimeUnit[ak(0x5c3,0x580)]);n=yield*l[ak(0x574,0x5c9)](o,![]);}if(n&&o)k[ak(0x54a,0x505)]({'startDate':n,'endDate':o,'assignment':l,'isWorking':!![]});}k[ak(0x5c7,0x5ca)]();d[ak(0x587,0x533)](j,k);return k;};}*[a8(-0x18e,-0x1e3)](){const d=yield*this[al(-0x115,-0x115)]();function al(a,b){return a8(b-0x95,a);}if(d||(yield this['$'][al(-0x144,-0x13a)])){return yield*super['calculateStartDate']();}else{const e=yield this['$'][al(-0xdc,-0xe4)];const f=yield*this[al(-0x6d,-0x8f)](e[al(-0x17d,-0x129)]);const g=yield this['$']['dispatcher'];const h=yield this['$'][al(-0x10f,-0xea)];const i=yield PreviousValueOf(this['$']['startDate']);if(!(yield*this[al(-0xbb,-0xa5)]())&&!(yield this['$'][al(-0xc7,-0xfb)])&&f){if(g[al(-0x7f,-0xa6)][al(-0xc1,-0xf4)](_ene)===CalculateProposed&&i!=null&&!h[al(-0x172,-0x12d)]){const j=yield ProposedOrPrevious;if(e[al(-0x15c,-0x129)]===Direction[al(-0x76,-0xbc)]){yield*this[al(-0xc7,-0x10b)](i,j,!![]);}else{if(j<i){yield*this[al(-0x150,-0x10b)](i,j,![]);}}}return yield*super[al(-0x135,-0xf9)]();}else{if(e[al(-0x159,-0x129)]===Direction[al(-0x92,-0xbc)]){const k=yield*super['calculateStartDate']();const l=yield this['$'][al(-0x13a,-0xeb)];return l?l<k?l:k:k;}else{if(g[al(-0xba,-0xa6)]['get'](_ene)===CalculateProposed&&h[al(-0xe1,-0x12d)]){return yield*this[al(-0x121,-0x117)](yield this['$'][al(-0x9a,-0xed)],![],yield this['$'][al(-0x139,-0x12e)]);}if(g[al(-0xa0,-0xa6)][al(-0x11d,-0xf4)](_ene)===CalculateProposed&&!h[al(-0x12a,-0x12d)]&&i!=null){const m=yield ProposedOrPrevious;yield*this[al(-0x108,-0x10b)](i,m,![]);}return yield*super[al(-0xc0,-0xf9)]();}}}}*[a8(-0x12b,-0x15b)](){function am(a,b){return a8(b-0x574,a);}const d=yield*this[am(0x3ec,0x3ca)]();if(d||(yield this['$'][am(0x38a,0x3a5)])){return yield*super['calculateEndDate']();}else{const e=yield this['$'][am(0x437,0x3fb)];const f=yield*this[am(0x4a7,0x450)](e[am(0x3f1,0x3b6)]);if(!(yield*this[am(0x43b,0x43a)]())&&!(yield this['$'][am(0x3f1,0x3e4)])&&f){return yield*super[am(0x3f7,0x449)]();}else{if(e['direction']===Direction[am(0x43e,0x423)]){const g=yield this['$'][am(0x473,0x42e)];const h=yield this['$'][am(0x430,0x3f5)];if(g[am(0x47f,0x439)][am(0x422,0x3eb)](_end)===CalculateProposed&&h[am(0x3ad,0x3b2)]){return yield*this['calculateProjectedXDateWithDuration'](yield this['$'][am(0x45d,0x444)],!![],yield this['$'][am(0x371,0x3b1)]);}const i=yield PreviousValueOf(this['$'][am(0x3d0,0x3f2)]);if(g[am(0x459,0x439)]['get'](_end)===CalculateProposed&&i!=null){const j=yield ProposedOrPrevious;yield*this[am(0x3e9,0x3d4)](i,j,!![]);}return yield*super['calculateEndDate']();}else{const k=yield*super[am(0x447,0x449)]();const l=yield this['$']['maxAssignmentProposedEndDate'];return l>k?l:k;}}}}*[a8(-0x125,-0xde)](){function an(a,b){return a8(b-0x161,a);}const d=yield this['$']['assigned'];for(const e of d){const f=yield e['$'][an(0x1a,-0x13)];if(!f[an(-0x14,-0x29)])return![];}return!![];}*[a8(-0x1ab,-0x191)](){const d=yield this['$'][ao(0xed,0x118)];function ao(a,b){return a8(a-0x2ad,b);}return d[ao(0x102,0x11b)];}*[a8(-0x166,-0x10f)](){const d=yield this['$'][ap(0x428,0x45b)];function ap(a,b){return a8(a-0x59c,b);}return d[ap(0x436,0x3fb)];}*[a8(-0x165,-0x11c)](){function aq(a,b){return a8(b-0x5ae,a);}const d=yield this['$'][aq(0x45d,0x43a)];return d['isChangingOnlyDuration'];}*['isChangingOnlyEndDate'](){function ar(a,b){return a8(a-0x5ef,b);}const d=yield this['$'][ar(0x47b,0x444)];return d[ar(0x44a,0x41f)];}*[a8(-0x181,-0x174)](){const d=yield*this[as(0x137,0x155)]();function as(a,b){return a8(b-0x2ff,a);}if(d||(yield this['$'][as(0x136,0x130)])){return yield*super[as(0x1a9,0x17e)]();}else{const e=yield this['$'][as(0x151,0x186)];const f=e['direction']===Direction['Forward'];const g=yield this['$']['dispatcher'];const h=yield this['$'][as(0x130,0x180)];if(g['resolution']['get'](_enc)===durationFormula[as(0x17f,0x1cd)]&&!h[as(0x13f,0x13d)]){const i=yield*super[as(0x196,0x17e)]();yield*this[as(0xff,0x148)](i,f);return i;}if(g[as(0x1d9,0x1c4)][as(0x15e,0x176)](_enc)===CalculateProposed&&!h['hasTimePhasedInput']&&!(h[as(0x203,0x1b8)][as(0x179,0x176)](DurationVar)&VariableInputState[as(0x19d,0x178)])){const j=yield ProposedOrPrevious;return j;}if(g[as(0x20a,0x1c4)][as(0x12a,0x176)](_enc)===CalculateProposed&&!h[as(0x102,0x13d)]&&h['input'][as(0x128,0x176)](DurationVar)&VariableInputState[as(0x18b,0x178)]){const k=yield ProposedOrPrevious;yield*this[as(0x175,0x148)](k,f);const l=yield*this[as(0x136,0x14f)]();const m=yield this['$'][as(0x145,0x14a)];return l?k>m?m:k:k;}if(!h['hasTimePhasedInput']){const n=yield ProposedOrPrevious;yield*this['expandTrailingAssignmentsByDuration'](n,f);return n;}else if(h['hasTimePhasedInput']){const o=yield*this[as(0x194,0x14f)]();const p=yield this['$'][as(0x173,0x14a)];if(o){return p;}else{return Math[as(0x140,0x161)](p,yield ProposedOrPrevious);}}else{throw new Error(as(0x1ff,0x1d7));}}}*[a8(-0x142,-0xf5)](){function at(a,b){return a8(a-0xf0,b);}const d=yield this['$'][at(-0x87,-0x60)];if(d[at(-0x47,-0x30)]>0x0||(yield this['$']['isSegmented']))return yield*super[at(-0x52,-0x81)]();else{const e=yield*this[at(-0x5e,-0x87)]();const f=yield this['$'][at(-0xc8,-0xba)];if(e===SchedulingMode[at(-0xbf,-0xc7)]){if(f[at(-0x47,-0x8)]>0x0){if(yield*this[at(-0x76,-0x24)]()){const g=yield ProposedOrPrevious;const h=yield PreviousValueOf(this['$'][at(-0xa2,-0xdd)]);if(g<=h){return g;}else{const i=yield this['$'][at(-0x89,-0x85)];yield*this['expandTrailingAssigmentsByEffort'](g,h,i['direction']===Direction[at(-0x61,-0x1f)]);return g;}}else{return yield*this[at(-0xb1,-0x84)]();}}else{return yield*super[at(-0x52,-0x6b)]();}}else{return yield*this['calculateEffortPure']();}}}*[a8(-0x1a1,-0x18b)](){if(yield this['$'][au(0x4ae,0x4b1)]){return yield*super[au(0x4dc,0x4a4)]();}function au(a,b){return a8(a-0x67d,b);}const d=yield this['$'][au(0x544,0x570)];if(d[au(0x546,0x569)]>0x0){return yield*this[au(0x511,0x534)]();}else{const e=yield ProposedOrPreviousValueOf(this['$']['effort']);if(e===void 0x0){return yield*this['calculateProjectedEffort'](yield this['$']['startDate'],yield this['$'][au(0x4fb,0x53d)]);}else{return e;}}}*[a8(-0x16c,-0x17f)](){let d=0x0;const e=yield this['$']['assigned'];for(const f of e){d+=yield*this['getProject']()[av(0x461,0x4af)](yield f['$'][av(0x40c,0x461)],yield f['$'][av(0x458,0x495)],TimeUnit[av(0x4ac,0x49c)]);}function av(a,b){return a8(b-0x5f3,a);}return yield*this['getProject']()['$convertDuration'](d,TimeUnit[av(0x49e,0x49c)],yield this['$'][av(0x45d,0x495)]);}*[a8(-0x197,-0x14e)](d){function aw(a,b){return a8(a-0x51,b);}return yield*d[aw(-0x146,-0x15e)](null);}*['getDateShifter'](d){function ax(a,b){return a8(b-0x415,a);}if(yield*this[ax(0x288,0x2cb)]()){const e=this;const f=yield this['$'][ax(0x2c7,0x283)];return function*(g){function ay(a,b){return ax(b,a-0xe5);}return yield*e[ay(0x37f,0x353)](g,d,f);};}else{return yield*super[ax(0x2b0,0x2aa)](d);}}*[a8(-0x14a,-0x192)](){const d=yield*this[az(0x157,0x16b)]();const e=yield this['$'][az(0x128,0x152)];function az(a,b){return a8(a-0x2a5,b);}return d!==SchedulingMode[az(0x158,0x13a)]&&d!==SchedulingMode[az(0xf6,0x11f)]&&(e||d===SchedulingMode[az(0x146,0x173)])&&!(yield*this['isChangingOnlyDuration']())&&!(yield*this['isChangingOnlyEndDate']())||d===SchedulingMode['FixedUnits']&&(yield*this[az(0x180,0x13a)]())&&(yield*this[az(0xfa,0xbb)]());}*[a8(-0x196,-0x1be)](){function aA(a,b){return a8(b-0x576,a);}if((yield*this[aA(0x37f,0x3c6)]())&&(yield*this[aA(0x3fc,0x42c)]())){return(yield this['$'][aA(0x3b8,0x3e4)])>0x0;}else{return yield*super[aA(0x3ff,0x3e0)]();}}*['expandTrailingAssignmentsByDuration'](d,e=!![]){const f=yield this['$']['proposedAssignmentDuration'];if(f==null)return;function aB(a,b){return a8(a-0x4a9,b);}if(f>d){}else if(f<d){if(e){const g=yield PreviousValueOf(this['$'][aB(0x327,0x2f6)]);const h=yield*this[aB(0x2fd,0x352)](g,!![],d-f,void 0x0,{'purpose':aB(0x348,0x2f7)});yield*this[aB(0x309,0x2c6)](g,h,e);}else{const i=yield PreviousValueOf(this['$']['startDate']);const j=yield*this[aB(0x2fd,0x2e6)](i,![],d-f,void 0x0,{'purpose':'positioning'});yield*this[aB(0x309,0x2df)](i,j,e);}}}*[a8(-0x1a0,-0x1ae)](d,e,f=!![]){if(d[aC(0x60a,0x5fe)]()===e['getTime']()){return;}const g=yield this['$'][aC(0x611,0x5e1)];const h=[];function aC(a,b){return a8(a-0x74a,b);}for(const i of g){if(yield*i[aC(0x5c6,0x5b3)]()){if(f){const j=yield PreviousValueOf(i['$']['endDate']);if(j&&j[aC(0x60a,0x616)]()===d[aC(0x60a,0x60d)]())h[aC(0x57a,0x5c8)](i);}else{const k=yield PreviousValueOf(i['$'][aC(0x61a,0x61e)]);if(k&&k['getTime']()===d[aC(0x60a,0x60a)]())h[aC(0x57a,0x58a)](i);}}}this[aC(0x598,0x57d)][aC(0x5bb,0x5de)]({'commitFinalized':{'fn':()=>{function aD(a,b){return aC(a- -0x78d,b);}h[aD(-0x1a0,-0x184)](l=>{function aE(a,b){return aD(a-0x6c3,b);}this[aE(0x4c6,0x4b0)][aE(0x4b3,0x469)](f?l['$'][aE(0x4fe,0x553)]:l['$'][aE(0x550,0x56c)],e,![]);});},'once':!![]}});}*[a8(-0x164,-0x17f)](d,e,f=!![]){const g=f?yield PreviousValueOf(this['$'][aF(-0x6e,-0x29)]):yield PreviousValueOf(this['$'][aF(-0x10,0x29)]);const h=yield this['$'][aF(0x12,0x20)];const i=new Set();for(const l of h){if(yield*l[aF(-0x5f,-0x2b)]()){if(f){const m=yield PreviousValueOf(l['$'][aF(0x22,-0x29)]);if(m&&m[aF(-0x2f,0x19)]()===g[aF(0x5a,0x19)]())i['add'](l);}else{const n=yield PreviousValueOf(l['$'][aF(0x33,0x29)]);if(n&&n[aF(0x62,0x19)]()===g[aF(0x35,0x19)]())i[aF(-0x9,-0x3b)](l);}}}const j=yield*this[aF(0x3f,0x28)](function*(o){function aG(a,b){return aF(b,a- -0xc8);}return i[aG(-0xb8,-0xe4)](o)||!(yield*o[aG(-0xf3,-0xe0)]());});const k=yield*this[aF(0x2b,-0x22)](g,f,d-e,void 0x0,void 0x0,j);function aF(a,b){return a8(b-0x159,a);}this[aF(-0xa6,-0x59)][aF(-0x52,-0x36)]({'commitFinalized':{'fn':()=>{i['forEach'](o=>{function aH(a,b){return _enb(b-0x66,a);}this[aH(0x26d,0x229)][aH(0x25d,0x216)](f?o['$'][aH(0x2b6,0x261)]:o['$'][aH(0x2d5,0x2b3)],k,![]);});},'once':!![]}});}*[a8(-0x188,-0x1d0)](){return!![];}*[a8(-0x1bf,-0x1cf)](){function aI(a,b){return a8(b-0x204,a);}const d=yield this['$']['effectiveDirection'];return d['direction']===Direction[aI(0x8c,0xb3)]?yield*this[aI(0xdd,0xac)](yield this['$'][aI(0x96,0xa8)],(yield*this[aI(0x11c,0xc5)]())?yield*this[aI(0x19,0x49)]():yield this['$'][aI(0xe3,0xda)],void 0x0,{'isForward':!![]}):yield*this[aI(0xb5,0xac)](yield this['$']['minAssignmentProposedStartDate'],yield this['$'][aI(0x61,0x3f)],void 0x0,{'isForward':![]});}*[a8(-0x158,-0x139)](d,e,f,g,...h){const i=yield this['$'][aJ(-0x1ef,-0x19e)];function aJ(a,b){return a8(b- -0x25,a);}const j=g?.[aJ(-0x244,-0x1f0)]!==void 0x0?g:i[aJ(-0x1f0,-0x1e3)]===Direction[aJ(-0x158,-0x176)]?Object['assign']({},g,{'isForward':!![]}):Object[aJ(-0x1bb,-0x1d6)]({},g,{'isForward':![]});return yield*super['calculateProjectedDuration'](d,e,f,j,...h);}*[a8(-0x1a3,-0x1a3)](){function aK(a,b){return a8(a-0x5f4,b);}return yield*this[aK(0x4c3,0x4c8)](function*(d){return!(yield*d['isTimePhased']());});}*[a8(-0x162,-0x149)](){function aL(a,b){return a8(a-0x400,b);}return yield*this[aL(0x2cf,0x2a8)]();}*[a8(-0x131,-0x12d)](d){const e=yield this['$']['effectiveCalendar'];const f=yield this['$'][aM(-0xb7,-0x107)];const g=this[aM(-0x132,-0x188)]();const h=yield*this[aM(-0xb8,-0x65)]();const i=(yield this['$'][aM(-0xd0,-0xa1)])||h&&!g[aM(-0xee,-0xf9)];const j=new Map();for(const k of f){if(!d||(yield*d(k))){const l=yield k['$'][aM(-0x113,-0xf4)];const m=i||(yield k['$']['ignoreResourceCalendar']);if(l){const n=m?e:yield l['$'][aM(-0xf1,-0x121)];let o=j[aM(-0x107,-0x126)](n);if(!o){o=[];j['set'](n,o);}o['push'](k);}}}function aM(a,b){return a8(a-0x82,b);}return j;}*['forEachAvailabilityInterval'](d,e){const f=d[aN(0x5a9,0x5aa)]??aN(0x5a1,0x5e5);if(f===aN(0x5bd,0x5e5)||(yield*this[aN(0x57f,0x59c)]())||d[aN(0x5a3,0x5ab)]||(yield this['$']['isSegmented'])){return yield*super[aN(0x643,0x5f0)](d,e);}const g=d[aN(0x527,0x57b)]!==![];const h=yield this['$'][aN(0x58f,0x5d3)];const i=this[aN(0x53d,0x592)]();const j=yield*this[aN(0x641,0x60c)]();const k=yield this['$'][aN(0x60f,0x5ba)];const l=yield this['$'][aN(0x5dd,0x5ed)];const m=(yield this['$'][aN(0x5c1,0x5f4)])||d[aN(0x5c7,0x5f4)];const n=d[aN(0x5e3,0x5c0)]??![];const o=i[aN(0x614,0x5fb)];if(o){d=Object[aN(0x56a,0x595)]({'maxRange':o},d);}const p=yield this['$'][aN(0x561,0x5a9)];const q=yield*p(g,g?d['startDate']:d[aN(0x59a,0x5c4)]);let r=g?0x0:q[aN(0x5ec,0x5cc)][aN(0x5e2,0x60e)]-0x1;let s=g?d[aN(0x643,0x616)]:d[aN(0x5cd,0x5c4)];function aN(a,b){return a8(b-0x746,a);}const t=new Set();const u=l[aN(0x5ca,0x5f0)](d,(v,w,x)=>{const y=x[aO(0x4a5,0x45f)]();const z=x[aO(0x4ce,0x4ce)]();function aO(a,b){return aN(b,a- -0xe0);}r=q[aO(0x495,0x4ea)](g,r,s,g?v:w,t,()=>{});s=g?v:w;if(r===-0x1)return![];r=q[aO(0x495,0x4cd)](g,r,s,g?w:v,t,(A,B,C)=>{function aP(a,b){return aO(b- -0x13f,a);}if(y[aP(0x3b9,0x39e)](h)&&(n||someInSet(C,D=>{function aQ(a,b){return aP(b,a- -0x527);}return m||D[aQ(-0x152,-0x1a2)]||y['get'](D[aQ(-0x195,-0x1ea)]['effectiveCalendar'])||j&&!i['skipNonWorkingTimeInDurationWhenSchedulingManually'];})||z[aP(0x3d3,0x3df)](D=>k[aP(0x3b7,0x3de)](D)))){if(e(A,B,x,C)===![])return![];}});s=g?w:v;if(r===-0x1)return![];});return u;}*['calculateHasOnlyRegularAssignmentsRaw'](){function aR(a,b){return a8(b-0xe6,a);}const d=yield this['$']['assigned'];for(const e of d){if(yield*e[aR(-0xcf,-0xe6)]())return![];}return!![];}*[a8(-0x1aa,-0x1b7)](){const d=yield this['$']['assignmentsTypeSelector'];return d['hasOnlyRegularAssignments'];}*['hasOnlyTimePhasedAssignments'](){function aS(a,b){return a8(b-0x5ac,a);}const d=yield this['$'][aS(0x3f2,0x3ec)];return d[aS(0x435,0x3fc)];}*[a8(-0x13f,-0x149)](){function aT(a,b){return a8(a- -0x4c,b);}const d=yield this['$'][aT(-0x20c,-0x23f)];return d[aT(-0x18b,-0x149)];}*['calculateMinAssignmentProposedStartDate'](){let d=MAX_DATE;const e=yield this['$'][aU(0x2c,0x36)];function aU(a,b){return a8(a-0x165,b);}for(const f of e){const g=yield f[aU(-0x2,0x9)]['$'][aU(0x35,0x8)];if(g&&g<d)d=g;}return d['getTime']()-MAX_DATE[aU(0x25,-0x2a)]()?d:null;}*[a8(-0x150,-0x14d)](){function aV(a,b){return a8(a-0x1ff,b);}let d=MIN_DATE;const e=yield this['$']['assigned'];for(const f of e){const g=yield f[aV(0x98,0x80)]['$']['endDate'];if(g&&g>d)d=g;}return d[aV(0xbf,0xf4)]()-MIN_DATE[aV(0xbf,0xc0)]()?d:null;}*[a8(-0x1bb,-0x1f7)](){let d=MIN_DATE;const e=yield this['$'][aW(0x1b6,0x168)];function aW(a,b){return a8(a-0x2ef,b);}for(const f of e){const g=(yield*f['isTimePhased']())?(yield*f[aW(0x123,0xf5)]())?yield f[aW(0x188,0x141)]['$'][aW(0x16d,0x1c4)]:yield f['$']['phantomEndDate']:null;if(g&&g>d)d=g;}return d['getTime']()-MIN_DATE['getTime']()?d:null;}*[a8(-0x143,-0x12e)](d,e,f){const g=yield*this[aX(0x3b4,0x36d)]();if(g||(yield this['$']['isSegmented'])){return yield*super[aX(0x41b,0x40b)](d,e,f);}if(d==null||e==null||d>e)return null;const h=f?f:yield this['$'][aX(0x3d2,0x400)];const i=new Map();function aX(a,b){return a8(a-0x55e,b);}for(const [l,m]of h){let n=0x0;for(const o of m){n+=yield o['$'][aX(0x3c5,0x3ed)];}i[aX(0x3cb,0x3b3)](l,n);}let j=0x0;const k=Object['assign'](yield*this[aX(0x429,0x466)](),{'startDate':d,'endDate':e},{'purpose':aX(0x3a5,0x393)});yield*this[aX(0x408,0x407)](k,(p,q,r,s)=>{function aY(a,b){return aX(a-0x1ea,b);}const t=r[aY(0x5b0,0x574)]();const u=p['getTime'](),v=q[aY(0x608,0x65a)](),w=v-u;let x=0x0;for(const y of t){x+=i['get'](y)||0x0;}if(!f){s['forEach'](z=>{function aZ(a,b){return aY(b- -0x3e,a);}x+=z[aZ(0x528,0x571)];});}j+=x*w*0.01;});return yield*this['getProject']()[aX(0x41a,0x45b)](j,TimeUnit[aX(0x407,0x3bd)],yield this['$'][aX(0x400,0x3fe)]);}*[a8(-0x1ac,-0x183)](d,e=!![],f,g,h){const i=yield*super[b0(-0x193,-0x1c8)](d,e,f,g,h);if(yield this['$'][b0(-0x1b6,-0x196)])return i;const j=yield*this[b0(-0x197,-0x197)]();function b0(a,b){return a8(a-0x19,b);}if(j){const k=yield this['$']['effectiveDirection'];if(k['direction']===Direction[b0(-0x138,-0x110)]&&e===![]){const l=yield this['$'][b0(-0x150,-0x134)];const m=l[b0(-0x1af,-0x17b)];if(m>0x0){return yield*l[b0(-0x125,-0xe0)]['calculateProjectedXDateWithDuration'](i,![],m,TimeUnit['Millisecond']);}}else if(k[b0(-0x1a5,-0x1ea)]===Direction[b0(-0x15f,-0x13f)]&&e===!![]){const n=yield this['$'][b0(-0x18f,-0x1d2)];const o=n[b0(-0x1af,-0x1d1)];if(o>0x0){return yield*n[b0(-0x125,-0x140)]['calculateProjectedXDateWithDuration'](i,!![],o,TimeUnit[b0(-0x13e,-0x12f)]);}}}return i;}*['getBaseOptionsForDurationCalculations'](){function b1(a,b){return a8(b-0x634,a);}const d=yield*this[b1(0x4f9,0x4e6)]();if(d===SchedulingMode[b1(0x4c4,0x4e7)]){return{'ignoreResourceCalendar':!![],'ignoreTimePhasedData':!![]};}else{return yield*b[b1(0x461,0x478)][b1(0x50e,0x4be)](this);}}*[a8(-0x17b,-0x181)](d,e=!![],f,g,h,i){if(yield this['$'][b2(0x2f1,0x2f1)]){return yield*super[b2(0x345,0x37c)](d,e,f,g,h,i);}f=f!==void 0x0?f:yield this['$'][b2(0x32e,0x361)];g=g!==void 0x0?g:yield this['$']['effortUnit'];const j=yield*this[b2(0x30c,0x2e9)]()[b2(0x37c,0x3b4)](f,g,TimeUnit[b2(0x369,0x385)]);if(d==null||f==null)return null;let k=d[b2(0x380,0x3bd)]();let l=j;if(l===0x0)return new Date(k);const m=Object[b2(0x30f,0x2ec)](yield*this[b2(0x304,0x2e7)](),e?{'startDate':d,'isForward':e}:{'endDate':d,'isForward':e},{'purpose':b2(0x307,0x32b)},h);const n=yield*this[b2(0x316,0x367)]();if(h?.[b2(0x324,0x2dc)]==='positioning'||n){const r=new Map();const s=yield this['$']['assigned'];let t=0x0;const u=new Map();for(const x of s){const y=yield x['$'][b2(0x327,0x35b)];t+=y;u[b2(0x32d,0x32d)](x,y);}if(t===0x0){return yield*super[b2(0x345,0x346)](d,e,f,g,h,i);}for(const z of s){r[b2(0x32d,0x34b)](z,j*u['get'](z)/t);}const v=yield this['$']['assignmentsByCalendar'];const w=new Map();for(const [A,B]of v){for(const C of B){w[b2(0x32d,0x31e)](C,A);}}yield*this[b2(0x36a,0x331)](m,(D,E,F)=>{function b3(a,b){return b2(b- -0x3b3,a);}const G=D[b3(-0x41,-0x33)](),H=E[b3(-0x50,-0x33)](),I=H-G;for(const J of s){const K=w[b3(-0x6e,-0x7c)](J);if(F[b3(-0x97,-0xb4)]()[b3(-0xac,-0x7c)](K)){const L=r[b3(-0x57,-0x7c)](J);let M=u['get'](J);const N=M*I*0.01;if(N>=L){const O=e?G+L/(0.01*M):H-L/(0.01*M);if(e&&O>k||!e&&O<k){k=O;}r[b3(-0x1d,-0x6f)](J);}else{r[b3(-0xdb,-0x86)](J,L-N);}}}if(r[b3(-0x25,-0x2a)]===0x0)return![];});return new Date(k);}const o=i?i:yield this['$'][b2(0x334,0x2fa)];const p=new Map();(yield this['$']['assignmentsByCalendar'])[b2(0x363,0x34f)]((D,E)=>{function b4(a,b){return b2(a-0x253,b);}D[b4(0x5b6,0x5ae)](F=>p[b4(0x580,0x529)](F,E));});const q=new Map();function b2(a,b){return a8(a-0x4c0,b);}for(const [D,E]of o){let F=0x0;for(const G of E){F+=yield G['$'][b2(0x327,0x35f)];}q[b2(0x32d,0x30a)](D,F);}yield*this[b2(0x36a,0x3b4)](m,(H,I,J,K)=>{const L=J[b5(-0xed,-0xbd)]();const M=J[b5(-0xaf,-0xe6)]();const N=H[b5(-0x9c,-0x65)](),O=I['getTime'](),P=O-N;let Q=0x0;function b5(a,b){return b2(b- -0x3e5,a);}for(const S of L){Q+=q['get'](S)||0x0;}if(!i){K[b5(-0x35,-0x82)](T=>{function b6(a,b){return b5(b,a- -0x61);}if(M['get'](p['get'](T)))Q+=T[b6(-0x11f,-0x103)];});}const R=Q*P*0.01;if(R>=l){k=e?N+l/(0.01*Q):O-l/(0.01*Q);return![];}else{l-=R;}});return new Date(k);}}__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x133)],a8(-0x1b6,-0x1ff),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x1b7)],a8(-0x145,-0x188),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x12d)],'proposedStartDateMin',void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x15a)],a8(-0x1c5,-0x1e0),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x16b)],a8(-0x180,-0x1be),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],'maxAssignmentProposedEndDate',void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x1b1)],'proposedAssignmentDuration',void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x126)],a8(-0x1c0,-0x1f1),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x177)],a8(-0x16d,-0x11d),void 0x0);__decorate([field({'identifierCls':TimePhasedEventAssignmentDispatcherIdentifier})],c[a8(-0x16a,-0x145)],a8(-0x17f,-0x19b),void 0x0);__decorate([field()],c['prototype'],a8(-0x174,-0x127),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x150)],a8(-0x169,-0x15a),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x1a8,-0x1c7),void 0x0);__decorate([field({'lazy':!![]})],c['prototype'],a8(-0x18c,-0x1c4),void 0x0);__decorate([field({'lazy':!![]})],c[a8(-0x16a,-0x193)],'timePhasedIntervalsCache',void 0x0);__decorate([calculate(a8(-0x16d,-0x144))],c[a8(-0x16a,-0x16c)],'calculateProposedTotalUnits',null);__decorate([calculate(a8(-0x1b6,-0x186))],c['prototype'],a8(-0x133,-0x128),null);__decorate([calculate('proposedEndDate')],c[a8(-0x16a,-0x194)],a8(-0x1ae,-0x1e3),null);__decorate([calculate(a8(-0x15c,-0x16e))],c[a8(-0x16a,-0x1be)],'calculateProposedStartDateMin',null);__decorate([calculate(a8(-0x1c5,-0x1f1))],c[a8(-0x16a,-0x1a6)],a8(-0x136,-0x140),null);__decorate([calculate(a8(-0x169,-0x14d))],c[a8(-0x16a,-0x146)],a8(-0x1a2,-0x16e),null);__decorate([calculate(a8(-0x1a8,-0x19b))],c[a8(-0x16a,-0x13a)],a8(-0x12e,-0x129),null);__decorate([calculate('assignmentsTypeSelector')],c[a8(-0x16a,-0x1b1)],a8(-0x185,-0x155),null);__decorate([calculate(a8(-0x174,-0x16f))],c[a8(-0x16a,-0x115)],a8(-0x19f,-0x162),null);__decorate([calculate(a8(-0x17f,-0x1ad))],c[a8(-0x16a,-0x16e)],'calculateTimePhasedDispatcher',null);__decorate([calculate(a8(-0x19d,-0x17a))],c[a8(-0x16a,-0x182)],a8(-0x1c9,-0x1ef),null);function a8(a,b){return _enX(a- -0x761,b);}__decorate([calculate(a8(-0x1b5,-0x1ed))],c[a8(-0x16a,-0x121)],a8(-0x1bf,-0x1bf),null);__decorate([calculate('regularAssignmentsByCalendar')],c[a8(-0x16a,-0x17d)],a8(-0x1a3,-0x175),null);__decorate([calculate(a8(-0x180,-0x15c))],c[a8(-0x16a,-0x13c)],a8(-0x14f,-0x116),null);__decorate([calculate(a8(-0x12a,-0x145))],c[a8(-0x16a,-0x14c)],'calculateMaxAssignmentProposedEndDate',null);return c;}){}export{SchedulerProHasTimePhasedAssignmentsMixin,TimePhasedEventAssignmentTypeSelector,TimePhasedEventSelector,TimePhasedIntervals};
@@ -1 +1 @@
1
- function _ena(){const u=['startDate','intersectedAsEmpty','getTime','86JNrQbJ','copyWith','925776vuvjIg','10LkcdQP','35fTyXAr','max','constructor','Left','equalTo','endDateIsFinite','Right','2130JWBeXh','9079PPlRRs','isIntervalEmpty','initialize','3824336TqbODD','new','2087784QvklaC','isInfinite','getCopyProperties','endDate','intersectionOf','min','reduce','size','1629585mHaNwE','intersect','5WHvrLy','8724529WgAeLs','containsDate'];_ena=function(){return u;};return _ena();}(function(a,b){const c=a();function h(a,b){return _enb(b- -0x1c7,a);}while(!![]){try{const d=-parseInt(h(-0xba,-0xad))/0x1*(-parseInt(h(-0xa4,-0x98))/0x2)+parseInt(h(-0xa9,-0xa0))/0x3+parseInt(h(-0xa9,-0xa8))/0x4*(parseInt(h(-0x99,-0x9e))/0x5)+parseInt(h(-0xb7,-0xae))/0x6*(parseInt(h(-0x8e,-0x94))/0x7)+-parseInt(h(-0x9f,-0xaa))/0x8+parseInt(h(-0x85,-0x96))/0x9+-parseInt(h(-0xa1,-0x95))/0xa*(parseInt(h(-0xa7,-0x9d))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x468e4));import{MAX_DATE,MIN_DATE}from'../util/Constants.js';import{EdgeInclusion}from'../util/Types.js';import{Base}from'@bryntum/engine-thin/lib/ChronoGraph/class/Base.js';class DateInterval extends Base{[_eni(0x4ab,0x4b1)](...a){super['initialize'](...a);function j(a,b){return _eni(a- -0x406,b);}if(!this[j(0xb5,0xb9)])this[j(0xb5,0xc2)]=MIN_DATE;if(!this['endDate'])this[j(0xab,0xa5)]=MAX_DATE;}[_eni(0x4a5,0x4b4)](a){function k(a,b){return _eni(a- -0x194,b);}return this[k(0x327,0x338)][k(0x329,0x333)]()===a[k(0x327,0x334)]['getTime']()&&this[k(0x31d,0x30f)][k(0x329,0x321)]()===a['endDate'][k(0x329,0x337)]();}[_eni(0x4af,0x4bd)](){function l(a,b){return _eni(a- -0xd6,b);}return this[l(0x3e5,0x3ea)][l(0x3e7,0x3df)]()===MIN_DATE[l(0x3e7,0x3e9)]()&&this[l(0x3db,0x3e0)][l(0x3e7,0x3e3)]()===MAX_DATE[l(0x3e7,0x3ec)]();}['startDateIsFinite'](){function m(a,b){return _eni(b- -0x135,a);}return!this[m(0x379,0x375)]()&&this[m(0x378,0x386)][m(0x38c,0x388)]()!==MIN_DATE[m(0x37a,0x388)]();}[_eni(0x4a6,0x4aa)](){function n(a,b){return _eni(b- -0x3c,a);}return!this[n(0x47d,0x46e)]()&&this[n(0x47a,0x475)][n(0x47a,0x481)]()!==MAX_DATE['getTime']();}[_eni(0x4ba,0x4ab)](a,b=EdgeInclusion[_eni(0x4a4,0x4a7)]){function o(a,b){return _eni(a- -0x5c2,b);}return b===EdgeInclusion[o(-0x11e,-0x110)]&&(a>=this[o(-0x107,-0x102)]&&a<this[o(-0x111,-0x11f)])||b===EdgeInclusion[o(-0x11b,-0x11b)]&&(a>this['startDate']&&a<=this[o(-0x111,-0x10c)]);}[_eni(0x4aa,0x4b9)](){function p(a,b){return _eni(a- -0x2c9,b);}return this[p(0x1f2,0x1fa)]>this[p(0x1e8,0x1f4)];}[_eni(0x4b7,0x4b3)](a){const b=a[q(0xf4,0xfb)];const c=a[q(0xf7,0xf1)];const d=this[q(0x106,0xfb)];const e=this[q(0xf5,0xf1)];if(e<b||d>c){return EMPTY_INTERVAL;}const f=new Date(Math[q(0x10c,0x103)](d[q(0x10c,0xfd)](),b[q(0xf2,0xfd)]()));function q(a,b){return _eni(b- -0x3c0,a);}const g=new Date(Math[q(0xf5,0xf3)](e[q(0xf4,0xfd)](),c['getTime']()));return this['constructor'][q(0xe1,0xed)]({'startDate':f,'endDate':g});}['intersectMut'](a,b=![]){const c=a[r(-0x299,-0x2a9)];const d=a['endDate'];const e=this[r(-0x299,-0x296)];const f=this[r(-0x2a3,-0x2ab)];if(b){if(!this[r(-0x2a2,-0x296)])this[r(-0x2a2,-0x299)]=new Set();if(a[r(-0x2a2,-0x2a9)]?.[r(-0x29f,-0x2a7)]>0x0){a['intersectionOf']['forEach'](this[r(-0x2a2,-0x2aa)]['add'],this[r(-0x2a2,-0x2a8)]);this[r(-0x298,-0x2a1)]=a[r(-0x298,-0x29d)];}else{this['intersectionOf']['add'](a);}}if(!this[r(-0x2aa,-0x2af)]()){if(f<c||e>d){this[r(-0x299,-0x29e)]=MAX_DATE;this[r(-0x2a3,-0x2ab)]=MIN_DATE;if(b){this[r(-0x298,-0x289)]=a;}return this;}this[r(-0x299,-0x288)]=new Date(Math[r(-0x291,-0x28a)](e['getTime'](),c[r(-0x297,-0x295)]()));this[r(-0x2a3,-0x29f)]=new Date(Math[r(-0x2a1,-0x294)](f[r(-0x297,-0x297)](),d[r(-0x297,-0x2a5)]()));}function r(a,b){return _eni(a- -0x754,b);}return this;}[_eni(0x4b0,0x4ae)](a){return a;}[_eni(0x4bf,0x4bb)](a){function s(a,b){return _eni(b- -0x60,a);}const b=this[s(0x454,0x450)](a);return this[s(0x452,0x443)][s(0x444,0x44d)](b);}}function _eni(a,b){return _enb(a-0x38f,b);}const EMPTY_INTERVAL=DateInterval[_eni(0x4ad,0x4ab)]({'startDate':MAX_DATE,'endDate':MIN_DATE});function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x114;let f=c[d];return f;};return _enb(a,b);}const intersectIntervals=(a,b=![])=>{function t(a,b){return _eni(b- -0x4db,a);}return a[t(-0x1a,-0x27)]((c,d)=>c['intersectMut'](d,b),DateInterval[t(-0x2d,-0x2e)]());};export{DateInterval,EMPTY_INTERVAL,intersectIntervals};
1
+ function _eni(a,b){return _enb(b-0x1e5,a);}(function(a,b){const c=a();function h(a,b){return _enb(b- -0x25f,a);}while(!![]){try{const d=parseInt(h(-0x94,-0xa1))/0x1*(-parseInt(h(-0xa8,-0xb8))/0x2)+-parseInt(h(-0xb5,-0xa4))/0x3+parseInt(h(-0xb2,-0xbc))/0x4+-parseInt(h(-0xa7,-0x9c))/0x5+parseInt(h(-0xbb,-0xb3))/0x6*(-parseInt(h(-0xa2,-0xac))/0x7)+-parseInt(h(-0x9d,-0xa3))/0x8*(parseInt(h(-0xc0,-0xb1))/0x9)+parseInt(h(-0x9f,-0xa8))/0xa*(parseInt(h(-0xbd,-0xb4))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xe34b6));function _ena(){const u=['new','3064965WYNKEm','14107760xHiNig','intersectedAsEmpty','1jPeWcu','intersectMut','constructor','min','max','8870700skrqjt','add','initialize','endDateIsFinite','6405608ydYXOk','getTime','reduce','Left','1100446HpICPA','getCopyProperties','startDate','equalTo','48962859HUafNh','72510YHwPGR','startDateIsFinite','9MgsHKq','size','intersectionOf','endDate','LeftAndRight','7WAqqVI','containsDate','copyWith','Right','10xMmIRm','isIntervalEmpty','intersect'];_ena=function(){return u;};return _ena();}import{MAX_DATE,MIN_DATE}from'../util/Constants.js';import{EdgeInclusion}from'../util/Types.js';import{Base}from'@bryntum/engine-thin/lib/ChronoGraph/class/Base.js';class DateInterval extends Base{[_eni(0x389,0x386)](...a){super['initialize'](...a);function j(a,b){return _eni(a,b-0x149);}if(!this['startDate'])this[j(0x4e1,0x4d7)]=MIN_DATE;if(!this['endDate'])this[j(0x4ed,0x4df)]=MAX_DATE;}[_eni(0x38b,0x38f)](a){function k(a,b){return _eni(b,a- -0x105);}return this['startDate'][k(0x284,0x289)]()===a[k(0x289,0x27a)][k(0x284,0x284)]()&&this[k(0x291,0x295)][k(0x284,0x289)]()===a[k(0x291,0x288)][k(0x284,0x294)]();}['isInfinite'](){function l(a,b){return _eni(b,a- -0x2c3);}return this['startDate'][l(0xc6,0xcb)]()===MIN_DATE['getTime']()&&this[l(0xd3,0xcc)][l(0xc6,0xcb)]()===MAX_DATE[l(0xc6,0xba)]();}[_eni(0x398,0x392)](){function m(a,b){return _eni(a,b-0xc4);}return!this[m(0x45f,0x461)]()&&this['startDate'][m(0x45b,0x44d)]()!==MIN_DATE['getTime']();}[_eni(0x379,0x387)](){function n(a,b){return _eni(b,a- -0x55b);}return!this['isIntervalEmpty']()&&this['endDate'][n(-0x1d2,-0x1c4)]()!==MAX_DATE[n(-0x1d2,-0x1da)]();}[_eni(0x38f,0x399)](a,b=EdgeInclusion[_eni(0x37f,0x38b)]){function o(a,b){return _eni(b,a-0x1de);}return b===EdgeInclusion[o(0x569,0x560)]&&(a>=this[o(0x56c,0x55b)]&&a<this['endDate'])||b===EdgeInclusion[o(0x579,0x57a)]&&(a>this['startDate']&&a<=this[o(0x574,0x565)])||b===EdgeInclusion[o(0x575,0x585)]&&(a>=this[o(0x56c,0x55d)]&&a<=this[o(0x574,0x577)]);}[_eni(0x396,0x39d)](){function p(a,b){return _eni(b,a- -0x197);}return this[p(0x1f7,0x1e7)]>this[p(0x1ff,0x1fa)];}[_eni(0x3a9,0x39e)](a){const b=a[q(-0x12c,-0x134)];const c=a['endDate'];const d=this['startDate'];const e=this[q(-0x12f,-0x12c)];function q(a,b){return _eni(a,b- -0x4c2);}if(e<b||d>c){return EMPTY_INTERVAL;}const f=new Date(Math[q(-0x118,-0x11b)](d[q(-0x14a,-0x139)](),b[q(-0x138,-0x139)]()));const g=new Date(Math[q(-0x11b,-0x11c)](e[q(-0x129,-0x139)](),c['getTime']()));return this[q(-0x123,-0x11d)][q(-0x113,-0x123)]({'startDate':f,'endDate':g});}[_eni(0x3ae,0x3a4)](a,b=![]){const c=a[r(-0x17a,-0x17d)];const d=a['endDate'];const e=this[r(-0x17a,-0x18c)];const f=this['endDate'];if(b){if(!this[r(-0x173,-0x17d)])this[r(-0x173,-0x178)]=new Set();if(a[r(-0x173,-0x17f)]?.[r(-0x174,-0x164)]>0x0){a[r(-0x173,-0x17b)]['forEach'](this[r(-0x173,-0x167)]['add'],this[r(-0x173,-0x161)]);this[r(-0x166,-0x161)]=a[r(-0x166,-0x172)];}else{this['intersectionOf'][r(-0x15f,-0x165)](a);}}if(!this['isIntervalEmpty']()){if(f<c||e>d){this[r(-0x17a,-0x186)]=MAX_DATE;this[r(-0x172,-0x175)]=MIN_DATE;if(b){this['intersectedAsEmpty']=a;}return this;}this['startDate']=new Date(Math[r(-0x161,-0x164)](e['getTime'](),c[r(-0x17f,-0x177)]()));this['endDate']=new Date(Math[r(-0x162,-0x15f)](f['getTime'](),d['getTime']()));}function r(a,b){return _eni(b,a- -0x508);}return this;}[_eni(0x397,0x38d)](a){return a;}[_eni(0x3a5,0x39a)](a){const b=this[s(-0x13f,-0x135)](a);function s(a,b){return _eni(a,b- -0x4c2);}return this[s(-0x120,-0x11d)][s(-0x12f,-0x123)](b);}}const EMPTY_INTERVAL=DateInterval[_eni(0x3a7,0x39f)]({'startDate':MAX_DATE,'endDate':MIN_DATE});const intersectIntervals=(a,b=![])=>{function t(a,b){return _eni(b,a-0x12e);}return a[t(0x4b8,0x4c2)]((c,d)=>c['intersectMut'](d,b),DateInterval[t(0x4cd,0x4d1)]());};function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1a1;let f=c[d];return f;};return _enb(a,b);}export{DateInterval,EMPTY_INTERVAL,intersectIntervals};
package/lib/util/Types.js CHANGED
@@ -1 +1 @@
1
- function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0xa5;var f=c[d];return f;};return _enb(a,b);}(function(a,b){function f(a,b){return _enb(a- -0x2c0,b);}var c=a();while(!![]){try{var d=parseInt(f(-0x219,-0x219))/0x1*(parseInt(f(-0x217,-0x21d))/0x2)+-parseInt(f(-0x216,-0x216))/0x3*(-parseInt(f(-0x215,-0x217))/0x4)+-parseInt(f(-0x21a,-0x218))/0x5+parseInt(f(-0x211,-0x20b))/0x6*(parseInt(f(-0x213,-0x215))/0x7)+parseInt(f(-0x212,-0x20f))/0x8+parseInt(f(-0x20f,-0x209))/0x9+parseInt(f(-0x218,-0x217))/0xa*(-parseInt(f(-0x21b,-0x219))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x60a34));var EdgeInclusion;(function(a){a[a['Left']=0x0]=g(-0x247,-0x240);function g(a,b){return _enb(a- -0x2f7,b);}a[a[g(-0x24b,-0x24a)]=0x1]=g(-0x24b,-0x24a);}(EdgeInclusion||(EdgeInclusion={})));export{EdgeInclusion};function _ena(){var h=['10KxbOYI','110498dpVwpS','1181157CKQAxz','8nJitLw','Right','63tyNkpu','192032ELCnMX','177522pRZqOW','Left','6387516fPpeFj','20032683zlOXcO','614790GECWWY','10jmsfFV'];_ena=function(){return h;};return _ena();}
1
+ (function(a,b){var c=a();function f(a,b){return _enb(a-0x21a,b);}while(!![]){try{var d=-parseInt(f(0x35f,0x35b))/0x1*(parseInt(f(0x356,0x358))/0x2)+-parseInt(f(0x358,0x354))/0x3+-parseInt(f(0x35b,0x356))/0x4*(-parseInt(f(0x357,0x35a))/0x5)+-parseInt(f(0x35d,0x362))/0x6+parseInt(f(0x362,0x35f))/0x7+parseInt(f(0x360,0x35d))/0x8*(parseInt(f(0x35a,0x35d))/0x9)+parseInt(f(0x35e,0x360))/0xa*(-parseInt(f(0x359,0x357))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xedf03));var EdgeInclusion;function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x13c;var f=c[d];return f;};return _enb(a,b);}(function(a){function g(a,b){return _enb(a-0x2d2,b);}a[a['Left']=0x0]=g(0x419,0x41a);a[a[g(0x414,0x415)]=0x1]=g(0x414,0x418);a[a[g(0x41b,0x41d)]=0x2]=g(0x41b,0x422);}(EdgeInclusion||(EdgeInclusion={})));export{EdgeInclusion};function _ena(){var h=['13103768XHBJCH','Left','6715562yfDMGh','LeftAndRight','2414978QsLjSU','257105UQAKtN','539619VZdbHP','3091yyFHLu','9EVnRFU','124FmxPfI','Right','2821404JroqvX','48370rcEryl','1hbncUm'];_ena=function(){return h;};return _ena();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryntum/engine-thin-trial",
3
- "version": "7.1.2",
3
+ "version": "7.2.0",
4
4
  "description": "Bryntum Engine JavaScript thin trial component package",
5
5
  "keywords": [
6
6
  "bryntum",