@olympeio/runtime-web 9.1.0 → 9.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -220,15 +220,15 @@ function q(a,b){a=a.split('.');let c=ka;a[0]in c||'undefined'==typeof c.execScri
220
220
  !0;for(;void 0!==(e=d());)b(e,[])}};olympe.oa.Yn.TE.ua=[olympe.oa.Yn.kJ];olympe.oa.Yn.kJ=class{process(){}};const la=[],ma=[];olympe.oa.XE=class{constructor(){}static C(a,b){la.push(new olympe.oa.IA(a,b))}static F(a,b,c){a.forEach(d=>{if(null===d||void 0===d)throw Error('Cannot proceed - DI configuration error. '+(c?`Run callback "${c}"`:'A run callback')+' cannot have a null or undefined dependency');});ma.push(new olympe.oa.IA(b,c,a))}};olympe.oa.Fe=olympe.oa.XE.C;olympe.oa.run=olympe.oa.XE.F;olympe.oa.zA=class{constructor(){}getValue(){}};olympe.oa.IA=class{constructor(a,b,c){this.F=a;this.O=[];this.C=b;if(void 0!==c){this.O=c;for(let d=0,e=c.length;d<e;d++)'string'===typeof c[d]&&(c[d]=new olympe.oa.ue(c[d]))}}cw(){return this.O}};function na(a,b,c){let d=a.C[b];if(void 0===d){const e=a.F[b];if(void 0===e){if(c===olympe.oa.zn.C.at)return null;throw Error('Service "'+b+'" not found');}try{d=e.instantiate(a)}catch(f){throw a.Y.error('Error during instantiation of service '+b),f;}!e.F&&(a.C[b]=d)}return d}function oa(a,b){const c=b.length,d=Array(c);let e,f;for(e=0;e<c;e++)a.Y.C++,f=b[e],d[e]=f instanceof olympe.oa.zA?f.getValue(a):f,ra(a.Y);return d}
221
221
  olympe.oa.zn=class{constructor(a,b,c=2){this.F=a;this.parameters=b;this.C=Object.create(null);this.Y=new olympe.oa.DI(c);a=olympe.oa.fa.xn;if(void 0!==this.C[a])throw Error('Service "'+a+'" has already been instantiated');this.C[a]=this}Gb(){return this.Y}getParameter(a){return this.parameters[a.toLowerCase()]}};olympe.oa.zn.C={pP:'exception',at:'null'};function sa(a,b,c){function d(f,g){let k,l,m;for(k in f)Object.prototype.hasOwnProperty.call(f,k)&&(l=f[k],m=g.concat((k.startsWith('#')?k.substring(1):k).toLowerCase()),'object'!==typeof l||null===l||k.startsWith('#')?e[m.join('.')]=l:d(l,m))}const e=a.parameters;d(b,c?[c]:[])}function z(a,b,c,...d){ta(a.Y,'Defining service '+b);a.C(b,c,d,!1,!1)}function ua(a,b,c,...d){ta(a.Y,'Defining service '+b);a.C(b,c,d,!1,!0)}
222
222
  function A(a,b,c,d,e=!1){ta(a.Y,'Defining service (as a factory) '+b);a.C(b,d,c,!0,e)}function va(a,b,c,d=!1){ta(a.Y,'Defining service alias '+b);a.C(b,e=>e,[c],!0,d)}function wa(a,b){ta(a.Y,'Defining abstract service '+b);a.C(b).Hv=!0}function xa(a,b){a.parameters[olympe.W.za.ME.toLowerCase()]=b}function C(a,b,c){b=b.toLowerCase();Object.prototype.hasOwnProperty.call(a.parameters,b)||(a.parameters[b]=c)}
223
- olympe.oa.bP=class{constructor(a,b,c){this.Pk=Object.create(null);this.parameters=Object.create(null);this.R=[new olympe.oa.Yn.SE,new olympe.oa.Yn.TE];this.F=[];a&&sa(this,a);b&&sa(this,b,'version');c&&sa(this,c);a=this.getParameter(olympe.oa.za.rR);this.O=void 0!==a?a:3;this.Y=new olympe.oa.DI(this.O)}Gb(){return this.Y}C(a,b,c,d,e){const f=a instanceof olympe.oa.ue?a.xa():a;if(3<=arguments.length&&c){const k=c.indexOf(f);if(-1!==k){if(void 0===this.Pk[f])throw Error(`ContainerBuilder.define: Service ${f} references itself and is not an override definition!`);
223
+ olympe.oa.bP=class{constructor(a,b,c){this.Pk=Object.create(null);this.parameters=Object.create(null);this.R=[new olympe.oa.Yn.SE,new olympe.oa.Yn.TE];this.F=[];a&&sa(this,a);b&&sa(this,b,'version');c&&sa(this,c);a=this.getParameter(olympe.oa.za.sR);this.O=void 0!==a?a:3;this.Y=new olympe.oa.DI(this.O)}Gb(){return this.Y}C(a,b,c,d,e){const f=a instanceof olympe.oa.ue?a.xa():a;if(3<=arguments.length&&c){const k=c.indexOf(f);if(-1!==k){if(void 0===this.Pk[f])throw Error(`ContainerBuilder.define: Service ${f} references itself and is not an override definition!`);
224
224
  var g=this.Pk[f];g.id=g.id+'!!'+ ++olympe.oa.NA.C;g.F=!0;g=g.id;c[k]=g;this.Pk[g]=this.Pk[f]}}this.Pk[f]=new olympe.oa.NA(b,c,d||!1,f,e||!1);return this.Pk[f]}Dg(a){a=this.Pk[a];if(void 0===a)throw Error();return a}getParameter(a){return this.parameters[a.toLowerCase()]}compile(){var a=this.F;this.Y.debug('Calling '+a.length+' configure callbacks');this.Y.C++;for(let b=0,c=a.length;b<c;b++)ta(this.Y,'Calling callback'),this.Y.C++,a[b].call(null,this),ra(this.Y);ra(this.Y);this.Y.debug('Configuration summary: '+
225
225
  Object.keys(this.Pk).length+' definitions');this.Y.debug('Compiling...');this.Y.C++;a=this.R;for(let b=0,c=a.length;b<c;b++)this.Y.debug('running compilation pass '+(b+1)+': '+a[b].constructor.name),a[b].process(this);ra(this.Y);this.Y.debug('Compilation done, returning container');return new olympe.oa.zn(this.Pk,this.parameters,this.O)}};olympe.oa.NA=class{constructor(a,b,c,d,e=!0){this.O=a||null;this.R=!!c;this.C=[];this.Hv=!1;this.jv=null;if(b){this.C=b;for(let f=0,g=b.length;f<g;f++)'string'===typeof b[f]&&(b[f]=new olympe.oa.ue(b[f]))}this.id=d||'';this.U=e;this.F=!1}xa(){return this.id}instantiate(a){const b=a.Gb();b.debug('Resolving arguments for '+this.id);const c=this.O;let d=oa(a,this.C);const e=()=>{if(this.R)return c.apply(null,d);d.unshift(null);return new (c.bind.apply(c,d))};ta(b,'Instantiating '+this.id);const f=olympe.j?
226
- olympe.j.nl().run(()=>e()):e(),g=this.jv;let k,l,m;if(null!==g&&0<g.length){b.C++;ta(b,'Calling configuration callbacks:');l=0;for(m=g.length;l<m;l++)b.C++,k=g[l],ta(b,'Calling additional configuration callback '+k.C),d=oa(a,k.cw()),d.push(f),k.F.apply(null,d),ra(b);ra(b)}ta(b,'Done instantiating '+this.id);return f}Xt(){return this.U}cw(){return this.C}xw(){return this.Hv}Fe(a,b,c){null===this.jv&&(this.jv=[]);this.jv.push(new olympe.oa.IA(b,c,a))}};olympe.oa.NA.C=0;function ra(a){0<a.C&&a.C--}function ta(a,b){1>=a.F&&ya(a,'log','DI: '+b)}function ya(a,b,c){if(console&&console[b]){var d='';for(let e=0;e<a.C;e++)d+=' ';console[b](d+c)}}olympe.oa.DI=class{constructor(a){this.F=a;this.C=0}debug(a){2>=this.F&&ya(this,'log','DI: '+a)}info(a){3>=this.F&&ya(this,'info','DI: '+a)}warn(a){4>=this.F&&ya(this,'warn','DI: '+a)}error(a){5>=this.F&&ya(this,'error','DI: '+a)}};olympe.oa.Ta=class extends olympe.oa.zA{constructor(a){super();this.id=a}xa(){return this.id}getValue(a){return a.getParameter(this.id)}};olympe.oa.ue=class extends olympe.oa.zA{constructor(a,b){super();this.id=a;this.C=b||olympe.oa.zn.C.pP}xa(){return this.id}getValue(a){return na(a,this.id,this.C)}};olympe.oa.fa={xn:'di.Container',WZ:'di.PublicContainer'};olympe.oa.za={rR:'logging.di'};olympe.oa.run([olympe.oa.fa.xn],a=>{olympe.oa.getParameter=b=>a.getParameter(b)});olympe.pa={};function za(a){a='0'.repeat(12)+a.toString(16);return a.substring(a.length-12,a.length)}function Aa(){var a=Math.random();return za((new Date).getTime())+(a.toString(16)+'0'.repeat(8)).substr(2,8)}let Ca=Math.pow(2,32)-1;olympe.pa.we=function(){return Aa()};olympe.pa.Et=function(){return Aa()};olympe.pa.Hz=function(a,b=1){const c=a.substr(12,a.length-12);return za(parseInt(a.substr(0,12),16)+b)+c};
227
- olympe.pa.yV=function(a){return za(parseInt(a.substr(0,12),16)+1)+(Math.random().toString(16)+'00000000').substr(2,8)};let Da=0,Ea=0;olympe.pa.sU=function(){var a=(new Date).getTime();a<=Da?4294967295===Ea?(Ea=Math.floor(Math.random()/4*Ca),Da+=1):Ea=Math.floor(Ea+(4294967295-Ea)/2):(Ea=Math.floor(Math.random()/4*Ca),Da=a);a='00000000'+Ea.toString(16);return za(Da)+a.substr(a.length-8,8)};olympe.pa.V0=function(){for(let a=0;1E4>a;a++)console.log(olympe.pa.sU())};
228
- olympe.pa.Xi=function(){let a='';for(let b=0;19>b;b++)a+='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'.charAt(Math.floor(62*Math.random()));return'@'+a};olympe.pa.DL=function(a){let b='';for(let c=0;5>c;c++)b+='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'.charAt(Math.floor(62*Math.random()));return(a?a:'UI')+'-'+b};olympe.pa.z0=function(a,b){return(b?b:'UI')+'-'+a};olympe.pa.sG=class{constructor(a){this.id=a||olympe.pa.sG.C++}Oc(a){return a?this.id===a.id:!1}toJSON(){return this.id.toString()}toString(){return this.id.toString()}};olympe.pa.sG.C=0;function Fa(a,b){return new olympe.pa.wy(1,0,0,1,a,b)}function Ga(a,b){const c=new olympe.pa.wy;for(let d=0;3>d;d++)for(let e=0;3>e;e++){let f=0;for(let g=0;3>g;g++)f+=a.get(d,g)*b.get(g,e);c.set(d,e,f)}return c}function Ja(a,b,c){void 0===b&&(b=0);void 0===c&&(c=0);const d=Math.cos(a),e=Math.sin(a),f=-Math.sin(a);a=Math.cos(a);if(0===b&&0===c)b=new olympe.pa.wy(d,e,f,a,0,0);else{const g=Fa(-b,-c);b=Ga(Ga(Fa(b,c),new olympe.pa.wy(d,e,f,a,0,0)),g)}return b}
226
+ olympe.j.nl().run(()=>e()):e(),g=this.jv;let k,l,m;if(null!==g&&0<g.length){b.C++;ta(b,'Calling configuration callbacks:');l=0;for(m=g.length;l<m;l++)b.C++,k=g[l],ta(b,'Calling additional configuration callback '+k.C),d=oa(a,k.cw()),d.push(f),k.F.apply(null,d),ra(b);ra(b)}ta(b,'Done instantiating '+this.id);return f}Xt(){return this.U}cw(){return this.C}xw(){return this.Hv}Fe(a,b,c){null===this.jv&&(this.jv=[]);this.jv.push(new olympe.oa.IA(b,c,a))}};olympe.oa.NA.C=0;function ra(a){0<a.C&&a.C--}function ta(a,b){1>=a.F&&ya(a,'log','DI: '+b)}function ya(a,b,c){if(console&&console[b]){var d='';for(let e=0;e<a.C;e++)d+=' ';console[b](d+c)}}olympe.oa.DI=class{constructor(a){this.F=a;this.C=0}debug(a){2>=this.F&&ya(this,'log','DI: '+a)}info(a){3>=this.F&&ya(this,'info','DI: '+a)}warn(a){4>=this.F&&ya(this,'warn','DI: '+a)}error(a){5>=this.F&&ya(this,'error','DI: '+a)}};olympe.oa.Ta=class extends olympe.oa.zA{constructor(a){super();this.id=a}xa(){return this.id}getValue(a){return a.getParameter(this.id)}};olympe.oa.ue=class extends olympe.oa.zA{constructor(a,b){super();this.id=a;this.C=b||olympe.oa.zn.C.pP}xa(){return this.id}getValue(a){return na(a,this.id,this.C)}};olympe.oa.fa={xn:'di.Container',XZ:'di.PublicContainer'};olympe.oa.za={sR:'logging.di'};olympe.oa.run([olympe.oa.fa.xn],a=>{olympe.oa.getParameter=b=>a.getParameter(b)});olympe.pa={};function za(a){a='0'.repeat(12)+a.toString(16);return a.substring(a.length-12,a.length)}function Aa(){var a=Math.random();return za((new Date).getTime())+(a.toString(16)+'0'.repeat(8)).substr(2,8)}let Ca=Math.pow(2,32)-1;olympe.pa.we=function(){return Aa()};olympe.pa.Et=function(){return Aa()};olympe.pa.Hz=function(a,b=1){const c=a.substr(12,a.length-12);return za(parseInt(a.substr(0,12),16)+b)+c};
227
+ olympe.pa.zV=function(a){return za(parseInt(a.substr(0,12),16)+1)+(Math.random().toString(16)+'00000000').substr(2,8)};let Da=0,Ea=0;olympe.pa.tU=function(){var a=(new Date).getTime();a<=Da?4294967295===Ea?(Ea=Math.floor(Math.random()/4*Ca),Da+=1):Ea=Math.floor(Ea+(4294967295-Ea)/2):(Ea=Math.floor(Math.random()/4*Ca),Da=a);a='00000000'+Ea.toString(16);return za(Da)+a.substr(a.length-8,8)};olympe.pa.W0=function(){for(let a=0;1E4>a;a++)console.log(olympe.pa.tU())};
228
+ olympe.pa.Xi=function(){let a='';for(let b=0;19>b;b++)a+='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'.charAt(Math.floor(62*Math.random()));return'@'+a};olympe.pa.DL=function(a){let b='';for(let c=0;5>c;c++)b+='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'.charAt(Math.floor(62*Math.random()));return(a?a:'UI')+'-'+b};olympe.pa.A0=function(a,b){return(b?b:'UI')+'-'+a};olympe.pa.sG=class{constructor(a){this.id=a||olympe.pa.sG.C++}Oc(a){return a?this.id===a.id:!1}toJSON(){return this.id.toString()}toString(){return this.id.toString()}};olympe.pa.sG.C=0;function Fa(a,b){return new olympe.pa.wy(1,0,0,1,a,b)}function Ga(a,b){const c=new olympe.pa.wy;for(let d=0;3>d;d++)for(let e=0;3>e;e++){let f=0;for(let g=0;3>g;g++)f+=a.get(d,g)*b.get(g,e);c.set(d,e,f)}return c}function Ja(a,b,c){void 0===b&&(b=0);void 0===c&&(c=0);const d=Math.cos(a),e=Math.sin(a),f=-Math.sin(a);a=Math.cos(a);if(0===b&&0===c)b=new olympe.pa.wy(d,e,f,a,0,0);else{const g=Fa(-b,-c);b=Ga(Ga(Fa(b,c),new olympe.pa.wy(d,e,f,a,0,0)),g)}return b}
229
229
  function Ka(a){return'matrix('+a.get(0,0)+','+a.get(0,1)+','+a.get(1,0)+','+a.get(1,1)+','+a.get(2,0)+','+a.get(2,1)+')'}olympe.pa.wy=class{constructor(a,b,c,d,e,f){this.C=[a||0,b||0,0,c||0,d||0,0,e||0,f||0,1]}set(a,b,c){this.C[3*a+b]=c}get(a,b){return this.C[3*a+b]}};olympe.pa.Jn=function(a,b,c,d,e,f,g,k,l,m,n,p,r,t,u,v,w,x,y,B){this.values=[a,b,c,d,e,f,g,k,l,m,n,p,r,t,u,v,w,x,y,B]};olympe.pa.Jn.F=function(a){return new olympe.pa.Jn(.213+.787*a,.715-.715*a,.072-.072*a,0,0,.213-.213*a,.715+.285*a,.072-.072*a,0,0,.213-.213*a,.715-.715*a,.072+.928*a,0,0,0,0,0,1,0)};olympe.pa.Jn.C=function(){return new olympe.pa.Jn(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0)};olympe.pa.Jn.prototype.set=function(a,b,c){this.values[5*a+b]=c};
230
- olympe.pa.Jn.prototype.get=function(a,b){return this.values[5*a+b]};olympe.pa.Jn.prototype.getStringValue=function(){return this.values.join(' ')};function La(a){return(new TextEncoder).encode(a).buffer}function Ma(a){return(new TextDecoder('utf8')).decode(a)}function Na(a){var b=olympe.pa.mk();a=/^data:.*;base64,(.*)/.exec(a.trim());if(2!==a.length)throw Error('Try to retrieve binary from data url that has wrong format.');return b.O(a[1])}olympe.pa.FA=class{O(){}C(){}R(){}U(){}F(){}V(){}};olympe.pa.qL=a=>a.replace('+','-').replace('/','_');olympe.pa.LT=a=>a.replace('-','+').replace('_','/');function Oa(a){a.C=setTimeout(()=>{const b=Date.now(),c=a.timeout;for(const [d,e]of a.values)b-e>c&&(a.delete(d),a.F&&a.F(d));0<a.values.size&&Oa(a)},a.O)}function Pa(a,b){a.F=b;return a}
231
- olympe.pa.$S=class{constructor(a,b=a/2){this.timeout=a;this.O=b;this.values=new Map;this.F=this.C=null}add(a){this.values.set(a,Date.now());null===this.C&&Oa(this)}has(a){return this.values.has(a)}hd(){return this.values.size}delete(a){a=this.values.delete(a);0===this.values.size&&(this.C&&clearTimeout(this.C),this.C=null);return a}clear(){this.C&&clearTimeout(this.C);this.C=null;this.values.clear();return this}};olympe.pa.UB=class{constructor(a){this.F=Pa(new olympe.pa.$S(a,void 0),b=>{const c=this.values.get(b);this.values.delete(b);this.C&&this.C(b,c)});this.values=new Map;this.C=null}set(a,b){this.values.set(a,b);this.F.add(a);return this}has(a){return this.values.has(a)}get(a){return this.values.get(a)}hd(){return this.values.size}delete(a){this.values.delete(a);return this.F.delete(a)}clear(){this.F.clear();this.values.clear();return this}};function Ra(a,b){return a+b&4294967295}
230
+ olympe.pa.Jn.prototype.get=function(a,b){return this.values[5*a+b]};olympe.pa.Jn.prototype.getStringValue=function(){return this.values.join(' ')};function La(a){return(new TextEncoder).encode(a).buffer}function Ma(a){return(new TextDecoder('utf8')).decode(a)}function Na(a){var b=olympe.pa.mk();a=/^data:.*;base64,(.*)/.exec(a.trim());if(2!==a.length)throw Error('Try to retrieve binary from data url that has wrong format.');return b.O(a[1])}olympe.pa.FA=class{O(){}C(){}R(){}U(){}F(){}V(){}};olympe.pa.qL=a=>a.replace('+','-').replace('/','_');olympe.pa.MT=a=>a.replace('-','+').replace('_','/');function Oa(a){a.C=setTimeout(()=>{const b=Date.now(),c=a.timeout;for(const [d,e]of a.values)b-e>c&&(a.delete(d),a.F&&a.F(d));0<a.values.size&&Oa(a)},a.O)}function Pa(a,b){a.F=b;return a}
231
+ olympe.pa.aT=class{constructor(a,b=a/2){this.timeout=a;this.O=b;this.values=new Map;this.F=this.C=null}add(a){this.values.set(a,Date.now());null===this.C&&Oa(this)}has(a){return this.values.has(a)}hd(){return this.values.size}delete(a){a=this.values.delete(a);0===this.values.size&&(this.C&&clearTimeout(this.C),this.C=null);return a}clear(){this.C&&clearTimeout(this.C);this.C=null;this.values.clear();return this}};olympe.pa.UB=class{constructor(a){this.F=Pa(new olympe.pa.aT(a,void 0),b=>{const c=this.values.get(b);this.values.delete(b);this.C&&this.C(b,c)});this.values=new Map;this.C=null}set(a,b){this.values.set(a,b);this.F.add(a);return this}has(a){return this.values.has(a)}get(a){return this.values.get(a)}hd(){return this.values.size}delete(a){this.values.delete(a);return this.F.delete(a)}clear(){this.F.clear();this.values.clear();return this}};function Ra(a,b){return a+b&4294967295}
232
232
  function Sa(a,b){let c=a[0],d=a[1],e=a[2],f=a[3];c=Ta(c,d,e,f,b[0],7,-680876936);f=Ta(f,c,d,e,b[1],12,-389564586);e=Ta(e,f,c,d,b[2],17,606105819);d=Ta(d,e,f,c,b[3],22,-1044525330);c=Ta(c,d,e,f,b[4],7,-176418897);f=Ta(f,c,d,e,b[5],12,1200080426);e=Ta(e,f,c,d,b[6],17,-1473231341);d=Ta(d,e,f,c,b[7],22,-45705983);c=Ta(c,d,e,f,b[8],7,1770035416);f=Ta(f,c,d,e,b[9],12,-1958414417);e=Ta(e,f,c,d,b[10],17,-42063);d=Ta(d,e,f,c,b[11],22,-1990404162);c=Ta(c,d,e,f,b[12],7,1804603682);f=Ta(f,c,d,e,b[13],12,-40341101);
233
233
  e=Ta(e,f,c,d,b[14],17,-1502002290);d=Ta(d,e,f,c,b[15],22,1236535329);c=Ua(c,d,e,f,b[1],5,-165796510);f=Ua(f,c,d,e,b[6],9,-1069501632);e=Ua(e,f,c,d,b[11],14,643717713);d=Ua(d,e,f,c,b[0],20,-373897302);c=Ua(c,d,e,f,b[5],5,-701558691);f=Ua(f,c,d,e,b[10],9,38016083);e=Ua(e,f,c,d,b[15],14,-660478335);d=Ua(d,e,f,c,b[4],20,-405537848);c=Ua(c,d,e,f,b[9],5,568446438);f=Ua(f,c,d,e,b[14],9,-1019803690);e=Ua(e,f,c,d,b[3],14,-187363961);d=Ua(d,e,f,c,b[8],20,1163531501);c=Ua(c,d,e,f,b[13],5,-1444681467);f=Ua(f,
234
234
  c,d,e,b[2],9,-51403784);e=Ua(e,f,c,d,b[7],14,1735328473);d=Ua(d,e,f,c,b[12],20,-1926607734);c=Va(d^e^f,c,d,b[5],4,-378558);f=Va(c^d^e,f,c,b[8],11,-2022574463);e=Va(f^c^d,e,f,b[11],16,1839030562);d=Va(e^f^c,d,e,b[14],23,-35309556);c=Va(d^e^f,c,d,b[1],4,-1530992060);f=Va(c^d^e,f,c,b[4],11,1272893353);e=Va(f^c^d,e,f,b[7],16,-155497632);d=Va(e^f^c,d,e,b[10],23,-1094730640);c=Va(d^e^f,c,d,b[13],4,681279174);f=Va(c^d^e,f,c,b[0],11,-358537222);e=Va(f^c^d,e,f,b[3],16,-722521979);d=Va(e^f^c,d,e,b[6],23,76029189);
@@ -236,13 +236,13 @@ c=Va(d^e^f,c,d,b[9],4,-640364487);f=Va(c^d^e,f,c,b[12],11,-421815835);e=Va(f^c^d
236
236
  d=Wa(d,e,f,c,b[13],21,1309151649);c=Wa(c,d,e,f,b[4],6,-145523070);f=Wa(f,c,d,e,b[11],10,-1120210379);e=Wa(e,f,c,d,b[2],15,718787259);d=Wa(d,e,f,c,b[9],21,-343485551);a[0]=Ra(c,a[0]);a[1]=Ra(d,a[1]);a[2]=Ra(e,a[2]);a[3]=Ra(f,a[3])}function Va(a,b,c,d,e,f){b=Ra(Ra(b,a),Ra(d,f));return Ra(b<<e|b>>>32-e,c)}function Ta(a,b,c,d,e,f,g){return Va(b&c|~b&d,a,b,e,f,g)}function Ua(a,b,c,d,e,f,g){return Va(b&d|c&~d,a,b,e,f,g)}function Wa(a,b,c,d,e,f,g){return Va(c^(b|~d),a,b,e,f,g)}
237
237
  function Xa(a,b=32){const c='0123456789abcdef'.split('');var d=a,e=d.length;a=[1732584193,-271733879,-1732584194,271733878];var f;for(f=64;f<=d.length;f+=64){var g=d.substring(f-64,f),k=[];for(let l=0;64>l;l+=4)k[l>>2]=g.charCodeAt(l)+(g.charCodeAt(l+1)<<8)+(g.charCodeAt(l+2)<<16)+(g.charCodeAt(l+3)<<24);Sa(a,k)}d=d.substring(f-64);g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(f=0;f<d.length;f++)g[f>>2]|=d.charCodeAt(f)<<(f%4<<3);g[f>>2]|=128<<(f%4<<3);if(55<f)for(Sa(a,g),f=0;16>f;f++)g[f]=0;g[14]=8*e;
238
238
  Sa(a,g);d='';e=0;b=0<=b?b:32;for(f=0;4>f;f++)for(k=a[f],g=0;4>g;g++){if(++e>b)return d;d+=c[k>>8*g+4&15];if(++e>b)return d;d+=c[k>>8*g&15]}return d}'5d41402abc4b2a76b9719d911017c592'!==Xa('hello')&&(Ra=(a,b)=>{const c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535});olympe.pa.yd=Xa;olympe.pa.MN=function(a){var b=/^(?:(\S*)@)?([^:]+)(?::(\d{2,5}))?$/;const c=/([^&=]+)=([^&=]+)/g,d=/^true|false$/i,e=/^\d+(\.\d+)?$/;var f=a.match(/^(?:([^:/?#]+):)?(?:\/\/([^/?#]*))?\/?([^?#]*)(?:\?([^#]*))?(?:#(.*))?$/);a=f[1];const g=f[2],k=f[3],l=f[4];f=f[5];let m=null,n=null;var p=null;g&&(p=g.match(b),m=p[1],n=p[2],p=p[3]);b={};let r;for(;r=c.exec(l);){let t=r[2];void 0===t?t=!0:t.startsWith('"')&&t.endsWith('"')?t=t.substring(1,t.length-1):d.test(t)?t='true'===t.toLowerCase():e.test(t)?t=
239
- parseFloat(t):t=decodeURIComponent(t);b[r[1]]=t}return{scheme:a||null,n0:g||null,AO:m||null,host:n||null,port:p&&parseInt(p,10)||null,path:k&&'/'!==k?k:null,query:l||null,A0:f||null,parameters:b}};olympe.pa.LW=function(){const a=location.hash.substring(1);return''===a?new Map:new Map(a.split('&').map(b=>b.split('=')))};olympe.pa.T0=function(a){let b='';for(let c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b+=(b?'&':'?')+c+'='+encodeURIComponent(a[c]));return b};
240
- olympe.pa.xM=(a,b)=>{const c=Object.keys(a).find(d=>a[d]===b);return void 0===c?null:c};olympe.pa.cD=(a,b)=>{if(b instanceof Object)for(const c of Object.keys(b)){const d=b[c];d instanceof Object&&void 0!==a[c]?olympe.pa.cD(a[c],d):a[c]=d}};olympe.pa.CC=(a,b,c)=>{const d=Object.create(null);b(a,e=>{olympe.pa.cD(d,e);b(`conf.d/${a}`,f=>{olympe.pa.cD(d,f);c(d)})})};olympe.pa.l0=class a{constructor(b,c){this.x=b;this.y=c}add(b){return new a(this.x+b.x,this.y+b.y)}rotate(b,c){c=c*Math.PI/180;const d=Math.cos(c);c=Math.sin(c);return new a(d*(this.x-b.x)-c*(this.y-b.y)+b.x,c*(this.x-b.x)+d*(this.y-b.y)+b.y)}clone(){return new a(this.x,this.y)}jo(){return Math.sqrt(this.x*this.x+this.y*this.y)}toString(){return`Vector(${this.x}, ${this.y})`}};olympe.pa.jY=class{constructor(a,b,c,d){this.from=a;this.target=b;this.C=c;this.F=d}toString(){return`(${this.from.toString()}, ${this.target.toString()}, ${this.C.toString()}, ${this.F.toString()})`}};olympe.pa.xR=class{constructor(a,b){this.start=a;this.end=b}};olympe.pa.xR.C={Mf:'left',Ng:'right',th:'bottom',ah:'top'};function Ya(a){a=/([0-9]*)\.([0-9]*)\.([0-9]*)-?([A-z\-_0-9]*)/.exec(a);if(null===a||4>a.length)return olympe.pa.mt.C;const b=Number.parseInt(a[1],10),c=Number.parseInt(a[2],10),d=Number.parseInt(a[3],10);return isNaN(b)||isNaN(c)||isNaN(d)?olympe.pa.mt.C:new olympe.pa.mt(b,c,d,a[4])}function Za(a){return`${a.C}.${a.F}.${a.O}`}
239
+ parseFloat(t):t=decodeURIComponent(t);b[r[1]]=t}return{scheme:a||null,o0:g||null,AO:m||null,host:n||null,port:p&&parseInt(p,10)||null,path:k&&'/'!==k?k:null,query:l||null,B0:f||null,parameters:b}};olympe.pa.MW=function(){const a=location.hash.substring(1);return''===a?new Map:new Map(a.split('&').map(b=>b.split('=')))};olympe.pa.U0=function(a){let b='';for(let c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b+=(b?'&':'?')+c+'='+encodeURIComponent(a[c]));return b};
240
+ olympe.pa.xM=(a,b)=>{const c=Object.keys(a).find(d=>a[d]===b);return void 0===c?null:c};olympe.pa.cD=(a,b)=>{if(b instanceof Object)for(const c of Object.keys(b)){const d=b[c];d instanceof Object&&void 0!==a[c]?olympe.pa.cD(a[c],d):a[c]=d}};olympe.pa.CC=(a,b,c)=>{const d=Object.create(null);b(a,e=>{olympe.pa.cD(d,e);b(`conf.d/${a}`,f=>{olympe.pa.cD(d,f);c(d)})})};olympe.pa.m0=class a{constructor(b,c){this.x=b;this.y=c}add(b){return new a(this.x+b.x,this.y+b.y)}rotate(b,c){c=c*Math.PI/180;const d=Math.cos(c);c=Math.sin(c);return new a(d*(this.x-b.x)-c*(this.y-b.y)+b.x,c*(this.x-b.x)+d*(this.y-b.y)+b.y)}clone(){return new a(this.x,this.y)}jo(){return Math.sqrt(this.x*this.x+this.y*this.y)}toString(){return`Vector(${this.x}, ${this.y})`}};olympe.pa.kY=class{constructor(a,b,c,d){this.from=a;this.target=b;this.C=c;this.F=d}toString(){return`(${this.from.toString()}, ${this.target.toString()}, ${this.C.toString()}, ${this.F.toString()})`}};olympe.pa.yR=class{constructor(a,b){this.start=a;this.end=b}};olympe.pa.yR.C={Mf:'left',Ng:'right',th:'bottom',ah:'top'};function Ya(a){a=/([0-9]*)\.([0-9]*)\.([0-9]*)-?([A-z\-_0-9]*)/.exec(a);if(null===a||4>a.length)return olympe.pa.mt.C;const b=Number.parseInt(a[1],10),c=Number.parseInt(a[2],10),d=Number.parseInt(a[3],10);return isNaN(b)||isNaN(c)||isNaN(d)?olympe.pa.mt.C:new olympe.pa.mt(b,c,d,a[4])}function Za(a){return`${a.C}.${a.F}.${a.O}`}
241
241
  olympe.pa.mt=class{constructor(a,b,c,d){this.C=a;this.F=b;this.O=c;this.R=d||null}Kz(a){return this.C!==a.C?this.C>a.C:this.F!==a.F?this.F>a.F:this.O>a.O}ux(a){return this.C!==a.C?this.C<a.C:this.F!==a.F?this.F<a.F:this.O<a.O}Oc(a){return this.C===a.C&&this.F===a.F&&this.O===a.O}toString(){return`${this.C}.${this.F}.${this.O}`+(null!==this.R?`-${this.R}`:'')}};olympe.pa.mt.C=new olympe.pa.mt(Number.NaN,Number.NaN,Number.NaN);olympe.pa.fa={Cs:'utils.binaryConverter',KO:'utils.base64Converter'};olympe.oa.Fe(a=>{wa(a,olympe.pa.fa.Cs);va(a,olympe.pa.fa.KO,olympe.pa.fa.Cs,!0)},'Utils services');olympe.oa.run([olympe.pa.fa.Cs],a=>{olympe.pa.mk=()=>a});olympe.G.H.pa={};olympe.G.H.pa.FA=class extends olympe.pa.FA{O(a){a=window.atob(a);const b=new Uint8Array(new ArrayBuffer(a.length));for(let c=0,d=a.length;c<d;c++)b[c]=a.charCodeAt(c);return b.buffer}C(a){let b='';a=new Uint8Array(a);for(let c=0,d=a.length;c<d;c++)b+=String.fromCodePoint(a[c]);return window.btoa(b)}R(a,b){const c=new FileReader,d=olympe.j.jb().C(b);c.onload=()=>{d(c.result)};c.readAsArrayBuffer(a)}U(a){return URL.createObjectURL(a)}F(a,b,c){fetch(a).then(d=>d.blob()).then(b).catch(d=>{c&&c(d.toString())})}V(a){URL.revokeObjectURL(a)}};olympe.oa.Fe(a=>{ua(a,olympe.pa.fa.Cs,olympe.G.H.pa.FA)},'olympe.native.html.utils');olympe.ub={};olympe.ub.Te=class{R(){}ca(){}O(){}ga(){}$(){}na(){}U(){}V(){}trace(){}debug(){}log(){}info(){}warn(){}error(){}fatal(){}};olympe.ub.Te.prototype.fatal=olympe.ub.Te.prototype.fatal;olympe.ub.Te.prototype.error=olympe.ub.Te.prototype.error;olympe.ub.Te.prototype.warn=olympe.ub.Te.prototype.warn;olympe.ub.Te.prototype.info=olympe.ub.Te.prototype.info;olympe.ub.Te.prototype.log=olympe.ub.Te.prototype.log;olympe.ub.Te.prototype.debug=olympe.ub.Te.prototype.debug;olympe.ub.Te.prototype.trace=olympe.ub.Te.prototype.trace;
242
- olympe.ub.Te.C={WS:0,$o:1,qR:2,oG:3,eT:4,dg:5,vP:6,zB:7};olympe.ub.Te.F={0:'TRACE',1:'DEBUG',2:'LOG',3:'INFO',4:'WARN',5:'ERROR',6:'FATAL',7:'NOTHING'};olympe.ub.lb=class{Pg(){}};olympe.ub.Qg={};function $a(a,b,c,d,e,f){var g=new Date;g=('00'+g.getHours()).substr(-2)+':'+('00'+g.getMinutes()).substr(-2)+':'+('00'+g.getSeconds()).substr(-2)+'.'+('00'+g.getMilliseconds()).substr(-3);f=a.Pa?`%c[${g}] [${f.toUpperCase()}] ${c}:%c`:`%c[${g}] ${c}:%c`;for(const k of d)f+=' '+k;a.Ba[b](f,'color: '+e,'color: #444');for(const k of a.Bh.values())k(g,c,b,...d)}
243
- olympe.ub.Qg.Te=class{constructor(a,b,c){this.name=a;this.C=b;this.Pa=c;this.F=a.toUpperCase();this.Bh=new Map;this.Ba=console}R(){return this.C}ca(){return this.C<=olympe.ub.Te.C.WS}O(){return this.C<=olympe.ub.Te.C.$o}$(){return this.C<=olympe.ub.Te.C.qR}ga(){return this.C<=olympe.ub.Te.C.oG}na(){return this.C<=olympe.ub.Te.C.eT}U(){return this.C<=olympe.ub.Te.C.dg}V(){return this.C<=olympe.ub.Te.C.vP}trace(...a){this.ca()&&$a(this,'log',this.F,a,'#99b','trace')}debug(...a){this.O()&&$a(this,'log',
244
- this.F,a,'#888','debug')}log(...a){this.$()&&$a(this,'log',this.F,a,'#000','log')}info(...a){this.ga()&&$a(this,'info',this.F,a,'#00f','info')}warn(...a){this.na()&&$a(this,'warn',this.F,a,'#684911','warn')}error(...a){this.U()&&$a(this,'error',this.F,a,'#f00','error')}fatal(...a){this.V()&&$a(this,'error',this.F,a,'#f00','fatal')}};olympe.ub.Qg.Te.ua=[olympe.ub.Te];olympe.ub.Qg.lb=class{constructor(a,b,c){this.C=a;this.F=parseInt(b,10);this.O=c;this.channels=new Map;this.Y=this.Pg('logging');this.Y.info('Logging initialized, global log level is '+olympe.ub.Te.F[b])}Pg(a){var b=this.channels.get(a);if(!b){b=this.F;var c=`${olympe.ub.za.SO}.${a}`;Object.prototype.hasOwnProperty.call(this.C.parameters,c.toLowerCase())&&(b=parseInt(this.C.getParameter(c),10));let d=this.O;c=`${c}.${olympe.ub.za.yS}`;Object.prototype.hasOwnProperty.call(this.C.parameters,c.toLowerCase())&&
245
- (d=!0===this.C.getParameter(c));b=new olympe.ub.Qg.Te(a,b,d);this.channels.set(a,b)}return b}};olympe.ub.Qg.lb.ua=[olympe.ub.lb];olympe.ub.fa={sb:'logging.Manager'};olympe.ub.za={PF:'logging',QF:'logging.showLogLevel',SO:'logging',yS:'showLogLevel'};olympe.oa.Fe(function(a){C(a,olympe.ub.za.PF,olympe.ub.Te.C.oG);C(a,olympe.ub.za.QF,!0);ua(a,olympe.ub.fa.sb,olympe.ub.Qg.lb,olympe.oa.fa.xn,new olympe.oa.Ta(olympe.ub.za.PF),new olympe.oa.Ta(olympe.ub.za.QF))},'olympe.logging');olympe.oa.run([olympe.ub.fa.sb],a=>{olympe.ub.Gb=b=>a.Pg(b)},'Logging singleton getter initialization');olympe.j={};olympe.j.za={QI:'df.nodeCreationThreshold'};const ab=[];function bb(){}function cb(){}olympe.j.J=class a{constructor(b,c,d){this.C=void 0===b?bb:b;this.F=void 0===c?ab:c;this.ga=d}static C(b){return void 0===b||0===b.length?olympe.j.J.$:new a(cb,b)}R(){return this.C?this.C():void 0}O(){return this.F?this.F:ab}U(){return null===this.C&&null===this.F}V(){return this.C===cb}};olympe.j.J.ga=new olympe.j.J;olympe.j.J.O=new olympe.j.J(null,null);olympe.j.J.$=new olympe.j.J(cb);olympe.j.J.F=new olympe.j.J(()=>olympe.j.aa);
242
+ olympe.ub.Te.C={XS:0,$o:1,rR:2,oG:3,fT:4,dg:5,vP:6,zB:7};olympe.ub.Te.F={0:'TRACE',1:'DEBUG',2:'LOG',3:'INFO',4:'WARN',5:'ERROR',6:'FATAL',7:'NOTHING'};olympe.ub.lb=class{Pg(){}};olympe.ub.Qg={};function $a(a,b,c,d,e,f){var g=new Date;g=('00'+g.getHours()).substr(-2)+':'+('00'+g.getMinutes()).substr(-2)+':'+('00'+g.getSeconds()).substr(-2)+'.'+('00'+g.getMilliseconds()).substr(-3);f=a.Pa?`%c[${g}] [${f.toUpperCase()}] ${c}:%c`:`%c[${g}] ${c}:%c`;for(const k of d)f+=' '+k;a.Ba[b](f,'color: '+e,'color: #444');for(const k of a.Bh.values())k(g,c,b,...d)}
243
+ olympe.ub.Qg.Te=class{constructor(a,b,c){this.name=a;this.C=b;this.Pa=c;this.F=a.toUpperCase();this.Bh=new Map;this.Ba=console}R(){return this.C}ca(){return this.C<=olympe.ub.Te.C.XS}O(){return this.C<=olympe.ub.Te.C.$o}$(){return this.C<=olympe.ub.Te.C.rR}ga(){return this.C<=olympe.ub.Te.C.oG}na(){return this.C<=olympe.ub.Te.C.fT}U(){return this.C<=olympe.ub.Te.C.dg}V(){return this.C<=olympe.ub.Te.C.vP}trace(...a){this.ca()&&$a(this,'log',this.F,a,'#99b','trace')}debug(...a){this.O()&&$a(this,'log',
244
+ this.F,a,'#888','debug')}log(...a){this.$()&&$a(this,'log',this.F,a,'#000','log')}info(...a){this.ga()&&$a(this,'info',this.F,a,'#00f','info')}warn(...a){this.na()&&$a(this,'warn',this.F,a,'#684911','warn')}error(...a){this.U()&&$a(this,'error',this.F,a,'#f00','error')}fatal(...a){this.V()&&$a(this,'error',this.F,a,'#f00','fatal')}};olympe.ub.Qg.Te.ua=[olympe.ub.Te];olympe.ub.Qg.lb=class{constructor(a,b,c){this.C=a;this.F=parseInt(b,10);this.O=c;this.channels=new Map;this.Y=this.Pg('logging');this.Y.info('Logging initialized, global log level is '+olympe.ub.Te.F[b])}Pg(a){var b=this.channels.get(a);if(!b){b=this.F;var c=`${olympe.ub.za.SO}.${a}`;Object.prototype.hasOwnProperty.call(this.C.parameters,c.toLowerCase())&&(b=parseInt(this.C.getParameter(c),10));let d=this.O;c=`${c}.${olympe.ub.za.zS}`;Object.prototype.hasOwnProperty.call(this.C.parameters,c.toLowerCase())&&
245
+ (d=!0===this.C.getParameter(c));b=new olympe.ub.Qg.Te(a,b,d);this.channels.set(a,b)}return b}};olympe.ub.Qg.lb.ua=[olympe.ub.lb];olympe.ub.fa={sb:'logging.Manager'};olympe.ub.za={PF:'logging',QF:'logging.showLogLevel',SO:'logging',zS:'showLogLevel'};olympe.oa.Fe(function(a){C(a,olympe.ub.za.PF,olympe.ub.Te.C.oG);C(a,olympe.ub.za.QF,!0);ua(a,olympe.ub.fa.sb,olympe.ub.Qg.lb,olympe.oa.fa.xn,new olympe.oa.Ta(olympe.ub.za.PF),new olympe.oa.Ta(olympe.ub.za.QF))},'olympe.logging');olympe.oa.run([olympe.ub.fa.sb],a=>{olympe.ub.Gb=b=>a.Pg(b)},'Logging singleton getter initialization');olympe.j={};olympe.j.za={QI:'df.nodeCreationThreshold'};const ab=[];function bb(){}function cb(){}olympe.j.J=class a{constructor(b,c,d){this.C=void 0===b?bb:b;this.F=void 0===c?ab:c;this.ga=d}static C(b){return void 0===b||0===b.length?olympe.j.J.$:new a(cb,b)}R(){return this.C?this.C():void 0}O(){return this.F?this.F:ab}U(){return null===this.C&&null===this.F}V(){return this.C===cb}};olympe.j.J.ga=new olympe.j.J;olympe.j.J.O=new olympe.j.J(null,null);olympe.j.J.$=new olympe.j.J(cb);olympe.j.J.F=new olympe.j.J(()=>olympe.j.aa);
246
246
  olympe.j.J.R=new olympe.j.J(()=>olympe.j.mb);olympe.j.J.U=new olympe.j.J(()=>olympe.j.ka);olympe.j.J.V=new olympe.j.J(()=>olympe.j.ia);olympe.j.Is=class{xa(){return''}Rb(){return''}destroy(){}Jc(){return!1}ug(){return!1}run(a,...b){return a(...b)}C(a){return a}getParent(){return null}pf(){}Gr(){}Mc(){}Rc(){}mz(){}ga(){}onDestroy(){return''}rl(){}Sd(){return''}yc(){}};olympe.j.Is.prototype.offDestroy=olympe.j.Is.prototype.rl;olympe.j.Is.prototype.onDestroy=olympe.j.Is.prototype.onDestroy;let db=0;olympe.oa.run([new olympe.oa.Ta(olympe.j.za.QI)],()=>{});
247
247
  olympe.j.Qd=class{constructor(a='SimpleContext',b){++db;this.children=new Map;this.Cb=new Map;this.na=new Map;this.Kb=0;this.name=a;this.id=String(db);this.jc=this.cb=!1;(this.parent=void 0===b?olympe.j.jb():b)&&this.parent.Mc(this);this.debug=!1}xa(){return this.id}Rb(){return this.name}run(a,...b){if(!this.cb){var c=olympe.j.VN(this);a=a(...b);c&&olympe.j.VN(c);return a}}C(a){return(...b)=>this.run(a,...b)}destroy(){if(!this.cb&&!this.jc){this.jc=!0;this.ga();for(const a of this.Cb.keys())this.Cb.has(a)&&
248
248
  this.Cb.get(a)();this.Cb.clear();this.na.clear();this.parent&&(this.parent.Rc(this,!1),this.parent=null);this.cb=!0;this.jc=!1;this.ga()}}Jc(){return this.cb}ug(){return this.jc}Mc(a){if(!this.cb){var b;olympe.j.nc(a)?b=a.ac:olympe.j.WC(a)&&(b=a);b&&this.children.set(b.xa(),b)}}Rc(a,b=!0){let c;olympe.j.nc(a)?c=a.ac:olympe.j.WC(a)&&(c=a);c&&this.children.has(c.xa())&&(b&&c.mz(this),this.children.delete(c.xa()))}mz(){this.parent=null;this.destroy()}ga(){const a=this.children;for(const b of a.keys())a.has(b)&&
@@ -259,7 +259,7 @@ c instanceof Object?d=!0:b.toLowerCase()!==e.toLowerCase()&&a.valueType!==Object
259
259
  function vb(a,b){if(a.O!==olympe.j.Node.C.bp&&a.O!==olympe.j.Node.C.ap&&(a.O!==olympe.j.Node.C.$s||a.Fh)){var c=void 0!==a.defaultValue;a.Fh&&b!==a.R&&a.ga();if(c)lb(a,a.defaultValue,!0);else if(a.og=void 0,gb(a,olympe.j.Node.C.$s),b=a.U)for(const d of b.values())vb(d,a)}}function mb(a){if(a.O!==olympe.j.Node.C.Js){gb(a,olympe.j.Node.C.Js);var b=a.U;if(b)for(const c of b.values())mb(c);a.ga();void 0!==a.R&&pb(a);a.og=a.defaultValue}}function jb(a){return a.O===olympe.j.Node.C.kt}
260
260
  function kb(a,b){b===a?olympe.j.Y.error('Setting a node as provider of itself. Ignoring'):(a.R&&a.R!==b&&pb(a),hb(b,a),jb(b)?lb(a,b.og,!0):void 0!==a.defaultValue?lb(a,a.defaultValue,!0):vb(a),a.R=b)}function wb(a,b){a.Fh&&(a.Fh=void 0);a.wi='Repeater';kb(a,b)}function sb(a){a.R?rb(a):null!==a.V&&0===Array.from(a.V.values()).filter(b=>!jb(b)).length&&(a.Fc&&(a.Fc=!1,ib(a)),rb(a))}
261
261
  function hb(a,b){a.U||(a.U=new Map);a.U.set(b.xa(),b);a.O===olympe.j.Node.C.ap&&olympe.j.Y.warn('adding a downstream node on a deleted one (#'+a.xa()+') !')}function qb(a,b){a.U&&(b=b.xa(),a.U.has(b)&&(a.U.delete(b),xb(a)))}function xb(a){if(null===a.getParent()){var b=a.U;b&&0<b.size||a.destroy()}}
262
- olympe.j.Node=class extends olympe.j.Qd{constructor({valueType:a,Fh:b,OW:c=!0,Do:d,UC:e,debug:f=!1,Lp:g=null,wi:k='Node',Pv:l}={}){++eb;super(String(eb));this.debug=!!f;this.wi=k;k&&'string'===typeof k||(b?this.wi=b.name?b.name:'anon()':this.wi='Node');this.$=e&&0<e.length?e:null;this.Lp=g&&0<g.length?g:null;this.valueType=a;this.og=void 0;this.Ab=!1;this.O=olympe.j.Node.C.$s;this.Fc=!1;this.U=this.V=null;this.Fh=b;this.Do=d||null;this.defaultValue=this.vc=this.R=void 0;this.Pv=l;d&&d instanceof olympe.j.Node&&
262
+ olympe.j.Node=class extends olympe.j.Qd{constructor({valueType:a,Fh:b,PW:c=!0,Do:d,UC:e,debug:f=!1,Lp:g=null,wi:k='Node',Pv:l}={}){++eb;super(String(eb));this.debug=!!f;this.wi=k;k&&'string'===typeof k||(b?this.wi=b.name?b.name:'anon()':this.wi='Node');this.$=e&&0<e.length?e:null;this.Lp=g&&0<g.length?g:null;this.valueType=a;this.og=void 0;this.Ab=!1;this.O=olympe.j.Node.C.$s;this.Fc=!1;this.U=this.V=null;this.Fh=b;this.Do=d||null;this.defaultValue=this.vc=this.R=void 0;this.Pv=l;d&&d instanceof olympe.j.Node&&
263
263
  fb(this,d);if(g)for(b=0;b<g.length;b++)a=e[g[b]],fb(this,a);c&&ib(this)}ci(a){this.defaultValue=a;this.O===olympe.j.Node.C.$s&&lb(this,a,!0);return this}Tv(a){this.valueType=a}Qe(){return this.valueType||Object}Jc(){return this.O===olympe.j.Node.C.ap}ug(){return this.O===olympe.j.Node.C.bp}af(...a){if(this.Pv instanceof Function)return this.Pv(...a);var b=a.length;--b;const c=a[b];--b;const d=a[b],e=Array(b);for(var f=0;f<b;f++)e[f]=a[f];a=this.O;a!==olympe.j.Node.C.bp&&a!==olympe.j.Node.C.ap||olympe.j.Y.warn('Calling a function on a destroyed node!!!',
264
264
  this);a=d.O();b=[];if(1===a.length&&-1===a[0])for(var g of e)olympe.j.nc(g)&&b.push(g.ac);else for(let k=0,l=a.length;k<l;k++)g=a[k],f=e[g],void 0!==f&&null!==f&&f.bh&&(e[g]=f.ac,b.push(g));return nb(new olympe.j.Node({valueType:d.R(),Fh:c,Do:this,UC:e,debug:!1,Lp:b,wi:'Proxy.'+c+'()'}))}mz(a){if(null===this.getParent())olympe.j.Y.warn('context is undefined, investigate');else if(this.getParent()!==a){olympe.j.Y.warn('Investigate a potential issue in creator-createe link: create node mismatch',a,
265
265
  this.getParent());return}this.pf(null);xb(this)}destroy(){var a=this.O;if(a!==olympe.j.Node.C.bp&&a!==olympe.j.Node.C.ap){gb(this,olympe.j.Node.C.bp);if(a=this.U){for(const c of a.values())if(a.has(c.xa())){var b=c;b.V&&b.V.delete(this.xa());b.R&&b.R.xa()===this.xa()?b.R=void 0:b.destroy()}a.clear()}this.U=null;super.destroy();if(this.V){for(const c of this.V.values())this.V.has(c.xa())&&qb(c,this);this.V.clear()}this.V=null;this.R&&(qb(this.R,this),this.R=void 0);this.og=void 0;this.$&&(this.$.length=
@@ -273,55 +273,55 @@ olympe.j.aa=class{constructor(a){this.value=void 0===a||null===a?0:a}toJSON(){re
273
273
  this.value&&null!==this.value?'number'===typeof a?this.value.toString(a):'number'===typeof b?this.value.toFixed(b):this.value.toString():'-'}toFixed(a){return this.cE()?this.valueOf().toFixed(a):''}static max(a){const b=new Map;let c=-Infinity;const d=olympe.j.rb(olympe.j.aa,'ONumber.max result'),e=()=>{c=-Infinity;for(const f of b.values())f>c&&(c=f);d.update(olympe.j.Da(c))};a.forEach((f,g)=>{olympe.j.bb([f],k=>{b.set(g,k.valueOf());e()})},f=>{if(!d.getContext().Jc()){var g=b.get(f);b.delete(f);
274
274
  g===c&&e()}});return d.Ca()}$a(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Da(b.valueOf()+c.valueOf()),olympe.j.aa,'ONumber.plus')}Ga(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Da(b.valueOf()-c.valueOf()),olympe.j.aa,'ONumber.minus')}round(){return olympe.j.Da(Math.round(this.valueOf()))}wx(){return olympe.j.Da(-this.valueOf())}kb(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Da(b.valueOf()*c.valueOf()),olympe.j.aa,'ONumber.mul')}Va(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Da(b.valueOf()/
275
275
  c.valueOf()),olympe.j.aa,'ONumber.div')}Bw(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Da(b.valueOf()%c.valueOf()),olympe.j.aa,'ONumber.div')}floor(){return olympe.j.Da(Math.floor(this.valueOf()))}ceil(){return olympe.j.Da(Math.ceil(this.valueOf()))}trunc(){return olympe.j.Da(Math.trunc(this.valueOf()))}log(){return olympe.j.Da(Math.log(this.valueOf()))}pow(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Da(Math.pow(b.valueOf(),c.valueOf())),olympe.j.aa,'ONumber.pow')}exp(){return olympe.j.Da(Math.exp(this.valueOf()))}ef(a){return olympe.j.fb([this,
276
- a],(b,c)=>olympe.j.Pc(b.Oc(c)),olympe.j.ka,'ONumber.oEquals')}Oc(a){return this.valueOf()===(void 0!==a&&null!==a?a.valueOf():void 0)}valueOf(){return void 0!==this.value?this.value.valueOf():void 0}pV(){return this.valueOf()}Nj(a){return olympe.j.fb([this,a],(b,c)=>b.valueOf()>c.valueOf()?olympe.j.ka.C:olympe.j.ka.xb,olympe.j.ka,'ONumber.isBiggerThan')}RN(a){return olympe.j.fb([this,a],(b,c)=>b.valueOf()>=c.valueOf()?b:olympe.j.Da(c),olympe.j.aa,'ONumber.returnsBiggest')}an(a){return olympe.j.fb([this,
276
+ a],(b,c)=>olympe.j.Pc(b.Oc(c)),olympe.j.ka,'ONumber.oEquals')}Oc(a){return this.valueOf()===(void 0!==a&&null!==a?a.valueOf():void 0)}valueOf(){return void 0!==this.value?this.value.valueOf():void 0}qV(){return this.valueOf()}Nj(a){return olympe.j.fb([this,a],(b,c)=>b.valueOf()>c.valueOf()?olympe.j.ka.C:olympe.j.ka.xb,olympe.j.ka,'ONumber.isBiggerThan')}RN(a){return olympe.j.fb([this,a],(b,c)=>b.valueOf()>=c.valueOf()?b:olympe.j.Da(c),olympe.j.aa,'ONumber.returnsBiggest')}an(a){return olympe.j.fb([this,
277
277
  a],(b,c)=>b.valueOf()<=c.valueOf()?b:olympe.j.Da(c),olympe.j.aa,'ONumber.returnsSmallest')}XC(a){return olympe.j.fb([this,a],(b,c)=>b.valueOf()<c.valueOf()?olympe.j.ka.C:olympe.j.ka.xb,olympe.j.ka,'ONumber.isSmallerThan')}sin(){return olympe.j.Da(Math.sin(this.valueOf()))}cos(){return olympe.j.Da(Math.cos(this.valueOf()))}atan2(a){return olympe.j.nc(a)?olympe.j.Ih([a],b=>olympe.j.Da(Math.atan2(this.valueOf(),b.valueOf())),olympe.j.aa):olympe.j.Da(Math.atan2(this.valueOf(),a.valueOf()))}abs(){return olympe.j.Da(Math.abs(this.valueOf()))}Aw(a,
278
- b){return olympe.j.nc(a)||olympe.j.nc(b)?olympe.j.Ih([a,b],(c,d)=>olympe.j.Da(this.valueOf()*d.valueOf()+c.valueOf()*(1-d.valueOf())),olympe.j.aa):olympe.j.Da(this.valueOf()*b.valueOf()+a.valueOf()*(1-b.valueOf()))}static qT(a,b,c,d){'number'===typeof a&&(a=olympe.j.ja(a));'number'===typeof b&&(b=olympe.j.ja(b));'number'===typeof c&&(c=olympe.j.ja(c));let e=0;const f=olympe.j.ja(0);let g,k;void 0!==b&&void 0!==c&&olympe.j.eb(b.Nj(c),()=>{olympe.ub.Gb('df').warn('You have a min bigger than max, cap your inputs')});
278
+ b){return olympe.j.nc(a)||olympe.j.nc(b)?olympe.j.Ih([a,b],(c,d)=>olympe.j.Da(this.valueOf()*d.valueOf()+c.valueOf()*(1-d.valueOf())),olympe.j.aa):olympe.j.Da(this.valueOf()*b.valueOf()+a.valueOf()*(1-b.valueOf()))}static rT(a,b,c,d){'number'===typeof a&&(a=olympe.j.ja(a));'number'===typeof b&&(b=olympe.j.ja(b));'number'===typeof c&&(c=olympe.j.ja(c));let e=0;const f=olympe.j.ja(0);let g,k;void 0!==b&&void 0!==c&&olympe.j.eb(b.Nj(c),()=>{olympe.ub.Gb('df').warn('You have a min bigger than max, cap your inputs')});
279
279
  const l=(m,n)=>{n=olympe.j.ja(n);const p=olympe.j.aa.animate(n,500);Fb(f,p);I(n,olympe.j.Da(m));e=m};olympe.j.Ih([a],m=>{e+=m.valueOf();e>k?l(k,e):e<g?l(g,e):Fb(f,olympe.j.ja(e))},olympe.j.aa);void 0!==b&&olympe.j.If(b.valueOf(),m=>{if(g!==m&&(g=m,g>e)){const n=olympe.j.ja(e),p=olympe.j.aa.animate(n,400,d);m=olympe.j.Da(g);lb(n.ac,m);e=g;Fb(f,p)}});void 0!==c&&olympe.j.If(c.valueOf(),m=>{if(k!==m&&(k=m,k<e)){const n=olympe.j.ja(e),p=olympe.j.aa.animate(n,400,d);m=olympe.j.Da(k);lb(n.ac,m);e=k;Fb(f,
280
- p)}});return f}static offset(a){let b;return olympe.j.Ih([a],c=>{void 0===b&&(b=c);return olympe.j.Da(c-b)},olympe.j.aa,'offset')}static xL(a){let b,c,d;return olympe.j.fb([a],e=>{if(void 0===b)return b=e,c=window.performance.now(),olympe.j.Da(0);d=window.performance.now();const f=olympe.j.Da((e.valueOf()-b.valueOf())/(d-c));b=e;c=d;return f},olympe.j.aa,'derivative')}static VV(a){let b=olympe.j.Da(0),c,d,e;return olympe.j.fb([a],f=>{if(void 0===c)return c=f,d=window.performance.now(),olympe.j.Da(0);
281
- e=window.performance.now();b=b.$a((f.valueOf()+c.valueOf())/2*(e-d));c=f;d=e;return b},olympe.j.aa,'integrate')}static bU(a){let b;return olympe.j.fb([a],c=>{void 0===b&&(b=c.valueOf());const d=olympe.j.Da(c.valueOf()-b.valueOf());b=c;return d},olympe.j.aa,'diff')}static kC(a,b,c){return olympe.j.Ih([a,b,c],(d,e,f)=>{d='number'===typeof d?d:d.valueOf();e='number'===typeof e?e:e.valueOf();f='number'===typeof f?f:f.valueOf();return olympe.j.Da(d>=e?d<=f?d:f:e)},olympe.j.aa)}static animate(a,b,c,d){let e;
282
- return e=olympe.j.fb([a],f=>{const g=olympe.j.Ua(b,1E3),k=olympe.j.Ua(e);return void 0===k?olympe.j.Da(f):Kb(k,f,g,c,l=>{d&&d(l)})},olympe.j.aa)}static DT(a,b,c){let d,e,f,g,k,l,m=olympe.j.ja(),n;olympe.j.bb([a],p=>{void 0===d?g=d=p.valueOf():d=g;f=window.performance.now();e=p.valueOf();l=e-d;0!==l&&void 0===n&&(n=setInterval(()=>{l=e-d;k=(window.performance.now()-f)/b;1<=k&&(k=1);g=d+l*c(k,0,1,1);I(m,olympe.j.Da(g));1===k&&(clearTimeout(n),n=void 0)},0))});return m}static mg(a){return olympe.j.nc(a)?
280
+ p)}});return f}static offset(a){let b;return olympe.j.Ih([a],c=>{void 0===b&&(b=c);return olympe.j.Da(c-b)},olympe.j.aa,'offset')}static xL(a){let b,c,d;return olympe.j.fb([a],e=>{if(void 0===b)return b=e,c=window.performance.now(),olympe.j.Da(0);d=window.performance.now();const f=olympe.j.Da((e.valueOf()-b.valueOf())/(d-c));b=e;c=d;return f},olympe.j.aa,'derivative')}static WV(a){let b=olympe.j.Da(0),c,d,e;return olympe.j.fb([a],f=>{if(void 0===c)return c=f,d=window.performance.now(),olympe.j.Da(0);
281
+ e=window.performance.now();b=b.$a((f.valueOf()+c.valueOf())/2*(e-d));c=f;d=e;return b},olympe.j.aa,'integrate')}static cU(a){let b;return olympe.j.fb([a],c=>{void 0===b&&(b=c.valueOf());const d=olympe.j.Da(c.valueOf()-b.valueOf());b=c;return d},olympe.j.aa,'diff')}static kC(a,b,c){return olympe.j.Ih([a,b,c],(d,e,f)=>{d='number'===typeof d?d:d.valueOf();e='number'===typeof e?e:e.valueOf();f='number'===typeof f?f:f.valueOf();return olympe.j.Da(d>=e?d<=f?d:f:e)},olympe.j.aa)}static animate(a,b,c,d){let e;
282
+ return e=olympe.j.fb([a],f=>{const g=olympe.j.Ua(b,1E3),k=olympe.j.Ua(e);return void 0===k?olympe.j.Da(f):Kb(k,f,g,c,l=>{d&&d(l)})},olympe.j.aa)}static ET(a,b,c){let d,e,f,g,k,l,m=olympe.j.ja(),n;olympe.j.bb([a],p=>{void 0===d?g=d=p.valueOf():d=g;f=window.performance.now();e=p.valueOf();l=e-d;0!==l&&void 0===n&&(n=setInterval(()=>{l=e-d;k=(window.performance.now()-f)/b;1<=k&&(k=1);g=d+l*c(k,0,1,1);I(m,olympe.j.Da(g));1===k&&(clearTimeout(n),n=void 0)},0))});return m}static mg(a){return olympe.j.nc(a)?
283
283
  olympe.j.fb([a],b=>olympe.j.kc(b.valueOf().toString()),olympe.j.mb):olympe.j.kc(a)}static wx(a){return olympe.j.nc(a)?olympe.j.fb([a],b=>olympe.j.Da(-b.valueOf()),olympe.j.aa):olympe.j.Da(-a.valueOf())}static $a(a,b){return olympe.j.nc(a)||olympe.j.nc(b)?olympe.j.fb([a,b],(c,d)=>olympe.j.Da(c.valueOf()+d.valueOf()),olympe.j.aa,'plus'):olympe.j.Da(a.valueOf()+b.valueOf())}static Ga(a,b){return olympe.j.nc(a)||olympe.j.nc(b)?olympe.j.Ih([a,b],(c,d)=>olympe.j.Da(c.valueOf()-d.valueOf()),olympe.j.aa,
284
- 'minus'):olympe.j.Da(a.valueOf()-b.valueOf())}static Va(a,b){return olympe.j.nc(a)||olympe.j.nc(b)?olympe.j.Ih([a,b],(c,d)=>olympe.j.Da(c.valueOf()/d.valueOf()),olympe.j.aa,'div'):olympe.j.Da(a.valueOf()/b.valueOf())}static MW(a,b){if(void 0===b)return a;olympe.j.bb([b],c=>{c=olympe.j.Da(G(a).valueOf()+c.valueOf());lb(a.ac,c)},'plusEqual');return a}};olympe.j.aa.ZERO=new olympe.j.aa(0);olympe.j.aa.ONE=new olympe.j.aa(1);olympe.j.aa.mK=new olympe.j.aa(2);olympe.j.aa.PI=new olympe.j.aa(Math.PI);
285
- olympe.j.aa.WP=new olympe.j.aa(Infinity);olympe.j.aa.FR=new olympe.j.aa(-Infinity);olympe.j.aa.OI=new olympe.j.aa(NaN);olympe.j.aa.YZ=olympe.j.aa.MW;olympe.j.aa.bY=olympe.j.aa.qT;olympe.j.aa.MZ=olympe.j.aa.offset;olympe.j.aa.zY=olympe.j.aa.xL;olympe.j.aa.u0=olympe.j.aa.xL;olympe.j.aa.vZ=olympe.j.aa.VV;olympe.j.aa.AY=olympe.j.aa.bU;olympe.j.aa.nY=olympe.j.aa.kC;olympe.j.aa.dY=olympe.j.aa.animate;olympe.j.aa.eY=olympe.j.aa.DT;olympe.j.aa.g0=olympe.j.aa.mg;olympe.j.aa.h0=olympe.j.aa.wx;
286
- olympe.j.aa.XZ=olympe.j.aa.$a;olympe.j.aa.FZ=olympe.j.aa.Ga;olympe.j.aa.BY=olympe.j.aa.Va;
287
- olympe.j.aa.wh={zI:function(a,b,c,d){return c*a/d+b},TY:function(a,b,c,d){a/=d;return c*a*a+b},Hs:function(a,b,c,d){a/=d;return-c*a*(a-2)+b},PY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a+b;a--;return-c/2*(a*(a-2)-1)+b},JY:function(a,b,c,d){a/=d;return c*a*a*a+b},ZY:function(a,b,c,d){a/=d;a--;return c*(a*a*a+1)+b},ep:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a+b;a-=2;return c/2*(a*a*a+2)+b},UY:function(a,b,c,d){a/=d;return c*a*a*a*a+b},cZ:function(a,b,c,d){a/=d;a--;return-c*(a*a*a*a-1)+b},
288
- QY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a+b;a-=2;return-c/2*(a*a*a*a-2)+b},VY:function(a,b,c,d){a/=d;return c*a*a*a*a*a+b},dZ:function(a,b,c,d){a/=d;a--;return c*(a*a*a*a*a+1)+b},RY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a*a+b;a-=2;return c/2*(a*a*a*a*a+2)+b},WY:function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},eZ:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},SY:function(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},MY:function(a,b,c,d){return c*Math.pow(2,
289
- 10*(a/d-1))+b},bZ:function(a,b,c,d){return c*(-Math.pow(2,-10*a/d)+1)+b},OY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*Math.pow(2,10*(a-1))+b;a--;return c/2*(-Math.pow(2,-10*a)+2)+b},IY:function(a,b,c,d){a/=d;return-c*(Math.sqrt(1-a*a)-1)+b},YY:function(a,b,c,d){a/=d;a--;return c*Math.sqrt(1-a*a)+b},NY:function(a,b,c,d){a/=d/2;if(1>a)return-c/2*(Math.sqrt(1-a*a)-1)+b;a-=2;return c/2*(Math.sqrt(1-a*a)+1)+b},EY:function(a,b,c,d){d=(a/=d)*a;return b+c*(4*d*a+-3*d)},FY:function(a,b,c,d){d=(a/=d)*a;return b+
290
- c*(2*d*d+2*d*a+-3*d)},rP:function(a,b,c,d){d=(a/=d)*a;return b+c*(4*d*a+-9*d+6*a)},GY:function(a,b,c,d){d=(a/=d)*a;return b+c*(-2*d*d+10*d*a+-15*d+8*a)},aZ:function(a,b,c,d){d=(a/=d)*a;const e=d*a;return b+c*(33*e*d+-106*d*d+126*e+-67*d+15*a)},$Y:function(a,b,c,d){d=(a/=d)*a;const e=d*a;return b+c*(56*e*d+-175*d*d+200*e+-100*d+20*a)},LY:function(a,b,c,d){d=(a/=d)*a;a*=d;return b+c*(33*a*d+-59*d*d+32*a+-5*d)},KY:function(a,b,c,d){d=(a/=d)*a;a*=d;return b+c*(56*a*d+-105*d*d+60*a+-10*d)},XY:function(a,
291
- b,c,d){return(a/=d)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},HY:function(a,b,c,d){a=d-a;d=(a/=d)<1/2.75?7.5625*c*a*a:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75):a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375):c*(7.5625*(a-=2.625/2.75)*a+.984375);return c-d+b}};h=olympe.j.aa.prototype;h.toJSON.K=olympe.j.J.O;h.cE.K=olympe.j.J.O;h.isNaN.K=olympe.j.J.U;h.mg.K=olympe.j.J.R;
284
+ 'minus'):olympe.j.Da(a.valueOf()-b.valueOf())}static Va(a,b){return olympe.j.nc(a)||olympe.j.nc(b)?olympe.j.Ih([a,b],(c,d)=>olympe.j.Da(c.valueOf()/d.valueOf()),olympe.j.aa,'div'):olympe.j.Da(a.valueOf()/b.valueOf())}static NW(a,b){if(void 0===b)return a;olympe.j.bb([b],c=>{c=olympe.j.Da(G(a).valueOf()+c.valueOf());lb(a.ac,c)},'plusEqual');return a}};olympe.j.aa.ZERO=new olympe.j.aa(0);olympe.j.aa.ONE=new olympe.j.aa(1);olympe.j.aa.mK=new olympe.j.aa(2);olympe.j.aa.PI=new olympe.j.aa(Math.PI);
285
+ olympe.j.aa.XP=new olympe.j.aa(Infinity);olympe.j.aa.GR=new olympe.j.aa(-Infinity);olympe.j.aa.OI=new olympe.j.aa(NaN);olympe.j.aa.ZZ=olympe.j.aa.NW;olympe.j.aa.cY=olympe.j.aa.rT;olympe.j.aa.NZ=olympe.j.aa.offset;olympe.j.aa.AY=olympe.j.aa.xL;olympe.j.aa.v0=olympe.j.aa.xL;olympe.j.aa.wZ=olympe.j.aa.WV;olympe.j.aa.BY=olympe.j.aa.cU;olympe.j.aa.oY=olympe.j.aa.kC;olympe.j.aa.eY=olympe.j.aa.animate;olympe.j.aa.fY=olympe.j.aa.ET;olympe.j.aa.h0=olympe.j.aa.mg;olympe.j.aa.i0=olympe.j.aa.wx;
286
+ olympe.j.aa.YZ=olympe.j.aa.$a;olympe.j.aa.GZ=olympe.j.aa.Ga;olympe.j.aa.CY=olympe.j.aa.Va;
287
+ olympe.j.aa.wh={zI:function(a,b,c,d){return c*a/d+b},UY:function(a,b,c,d){a/=d;return c*a*a+b},Hs:function(a,b,c,d){a/=d;return-c*a*(a-2)+b},QY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a+b;a--;return-c/2*(a*(a-2)-1)+b},KY:function(a,b,c,d){a/=d;return c*a*a*a+b},$Y:function(a,b,c,d){a/=d;a--;return c*(a*a*a+1)+b},ep:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a+b;a-=2;return c/2*(a*a*a+2)+b},VY:function(a,b,c,d){a/=d;return c*a*a*a*a+b},dZ:function(a,b,c,d){a/=d;a--;return-c*(a*a*a*a-1)+b},
288
+ RY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a+b;a-=2;return-c/2*(a*a*a*a-2)+b},WY:function(a,b,c,d){a/=d;return c*a*a*a*a*a+b},eZ:function(a,b,c,d){a/=d;a--;return c*(a*a*a*a*a+1)+b},SY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a*a+b;a-=2;return c/2*(a*a*a*a*a+2)+b},XY:function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},fZ:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},TY:function(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},NY:function(a,b,c,d){return c*Math.pow(2,
289
+ 10*(a/d-1))+b},cZ:function(a,b,c,d){return c*(-Math.pow(2,-10*a/d)+1)+b},PY:function(a,b,c,d){a/=d/2;if(1>a)return c/2*Math.pow(2,10*(a-1))+b;a--;return c/2*(-Math.pow(2,-10*a)+2)+b},JY:function(a,b,c,d){a/=d;return-c*(Math.sqrt(1-a*a)-1)+b},ZY:function(a,b,c,d){a/=d;a--;return c*Math.sqrt(1-a*a)+b},OY:function(a,b,c,d){a/=d/2;if(1>a)return-c/2*(Math.sqrt(1-a*a)-1)+b;a-=2;return c/2*(Math.sqrt(1-a*a)+1)+b},FY:function(a,b,c,d){d=(a/=d)*a;return b+c*(4*d*a+-3*d)},GY:function(a,b,c,d){d=(a/=d)*a;return b+
290
+ c*(2*d*d+2*d*a+-3*d)},rP:function(a,b,c,d){d=(a/=d)*a;return b+c*(4*d*a+-9*d+6*a)},HY:function(a,b,c,d){d=(a/=d)*a;return b+c*(-2*d*d+10*d*a+-15*d+8*a)},bZ:function(a,b,c,d){d=(a/=d)*a;const e=d*a;return b+c*(33*e*d+-106*d*d+126*e+-67*d+15*a)},aZ:function(a,b,c,d){d=(a/=d)*a;const e=d*a;return b+c*(56*e*d+-175*d*d+200*e+-100*d+20*a)},MY:function(a,b,c,d){d=(a/=d)*a;a*=d;return b+c*(33*a*d+-59*d*d+32*a+-5*d)},LY:function(a,b,c,d){d=(a/=d)*a;a*=d;return b+c*(56*a*d+-105*d*d+60*a+-10*d)},YY:function(a,
291
+ b,c,d){return(a/=d)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},IY:function(a,b,c,d){a=d-a;d=(a/=d)<1/2.75?7.5625*c*a*a:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75):a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375):c*(7.5625*(a-=2.625/2.75)*a+.984375);return c-d+b}};h=olympe.j.aa.prototype;h.toJSON.K=olympe.j.J.O;h.cE.K=olympe.j.J.O;h.isNaN.K=olympe.j.J.U;h.mg.K=olympe.j.J.R;
292
292
  h.toString.K=new olympe.j.J(()=>String,[]);h.toFixed.K=new olympe.j.J(()=>String,[]);h.$a.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.Ga.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.round.K=olympe.j.J.F;h.wx.K=olympe.j.J.F;h.kb.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.Va.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.Bw.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.floor.K=olympe.j.J.F;h.ceil.K=olympe.j.J.F;h.trunc.K=olympe.j.J.F;h.log.K=olympe.j.J.F;h.pow.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.exp.K=olympe.j.J.F;
293
- h.ef.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Oc.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.pV.K=olympe.j.J.O;h.Nj.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.RN.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.an.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.XC.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.sin.K=olympe.j.J.F;h.cos.K=olympe.j.J.F;h.atan2.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.abs.K=olympe.j.J.F;h.Aw.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);olympe.j.mb=class{constructor(a){this.value=a}toJSON(){return'{ "type": "string", "value": '+JSON.stringify(this.value)+' }'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.kc(b.value)}lz(a,b){return void 0!==b?olympe.j.mb.concat(this,b,a):olympe.j.mb.concat(this,a)}concat(...a){let b;Array.isArray(a[0])?b=a[0]:b=a;return olympe.j.fb([this,...b],(...c)=>{let d='';for(let e=0,f=c.length;e<f;e++)d=c[e]?d+c[e].valueOf():d+c[e];return olympe.j.kc(d)},olympe.j.mb,'OString.concat')}mg(){return this}PX(a){return olympe.j.Da(parseInt(this.value,
293
+ h.ef.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Oc.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.qV.K=olympe.j.J.O;h.Nj.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.RN.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.an.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.XC.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.sin.K=olympe.j.J.F;h.cos.K=olympe.j.J.F;h.atan2.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.abs.K=olympe.j.J.F;h.Aw.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);olympe.j.mb=class{constructor(a){this.value=a}toJSON(){return'{ "type": "string", "value": '+JSON.stringify(this.value)+' }'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.kc(b.value)}lz(a,b){return void 0!==b?olympe.j.mb.concat(this,b,a):olympe.j.mb.concat(this,a)}concat(...a){let b;Array.isArray(a[0])?b=a[0]:b=a;return olympe.j.fb([this,...b],(...c)=>{let d='';for(let e=0,f=c.length;e<f;e++)d=c[e]?d+c[e].valueOf():d+c[e];return olympe.j.kc(d)},olympe.j.mb,'OString.concat')}mg(){return this}QX(a){return olympe.j.Da(parseInt(this.value,
294
294
  a))}yO(){return olympe.j.Da(parseFloat(this.value))}toString(){return this.value}valueOf(){return this.value.valueOf()}Oc(a){return this.value===(void 0===a||null===a?void 0:a.valueOf())}ef(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Pc(c&&b.valueOf()===c.valueOf()),olympe.j.ka,'OString.oEquals')}dj(){return olympe.j.Pc(!this.value||0===this.value.length)}contains(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.Pc((c instanceof olympe.j.mb||'string'===typeof c)&&b.valueOf().includes(c.valueOf())),
295
295
  olympe.j.ka,'OString.contains')}startsWith(a,b){return olympe.j.fb([this,a,b||0],(c,d,e)=>olympe.j.Pc(c.valueOf().startsWith(d.valueOf(),e.valueOf())),olympe.j.ka,'OString.startsWith')}endsWith(a,b){return olympe.j.fb([this,a,b||-1],(c,d,e)=>{e=0<=e.valueOf()?e.valueOf():this.jo().valueOf()+e.valueOf()+1;return olympe.j.Pc(c.valueOf().endsWith(d.valueOf(),e))},olympe.j.ka,'OString.endsWith')}indexOf(a,b){return olympe.j.fb([this,a,b||0],(c,d,e)=>olympe.j.Da(c.valueOf().indexOf(d.valueOf(),e.valueOf())),
296
296
  olympe.j.aa,'OString.indexOf')}lastIndexOf(a,b){return olympe.j.fb([this,a,b||Infinity],(c,d,e)=>olympe.j.Da(c.valueOf().lastIndexOf(d.valueOf(),e.valueOf())),olympe.j.aa,'OString.lastIndexOf')}slice(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().slice(d.valueOf(),e?e.valueOf():void 0)),olympe.j.mb,'OString.slice')}jo(){return olympe.j.Da(this.value.length)}threshold(a){return olympe.j.fb([this,a],(b,c)=>b.valueOf().length>=c.valueOf()?b:olympe.j.mb.EMPTY,olympe.j.mb,'OString.threshold')}toLowerCase(){return olympe.j.kc(this.value.toLowerCase())}toUpperCase(){return olympe.j.kc(this.value.toUpperCase())}trim(){return olympe.j.kc(this.value.trim())}padStart(a,
297
- b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().padStart(d.valueOf(),e.valueOf())),olympe.j.mb,'OString.padStart')}padEnd(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().padEnd(d.valueOf(),e.valueOf())),olympe.j.mb,'OString.padEnd')}replace(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().replace(d.valueOf(),e.valueOf())),olympe.j.mb,'OString.replace')}MX(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().substr(d.valueOf(),
298
- e.valueOf())),olympe.j.mb,'OString.subOStr')}static concat(...a){return olympe.j.kc('').concat(...a)}};olympe.j.mb.EMPTY=new olympe.j.mb('');olympe.j.mb.LJ=new olympe.j.mb(' ');h=olympe.j.mb.prototype;h.toJSON.K=olympe.j.J.O;h.lz.K=new olympe.j.J(()=>olympe.j.mb,[0,1]);h.concat.K=olympe.j.J.R;h.mg.K=olympe.j.J.R;h.PX.K=olympe.j.J.F;h.yO.K=olympe.j.J.F;h.toString.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.Oc.K=olympe.j.J.O;h.ef.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.dj.K=olympe.j.J.U;
297
+ b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().padStart(d.valueOf(),e.valueOf())),olympe.j.mb,'OString.padStart')}padEnd(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().padEnd(d.valueOf(),e.valueOf())),olympe.j.mb,'OString.padEnd')}replace(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().replace(d.valueOf(),e.valueOf())),olympe.j.mb,'OString.replace')}NX(a,b){return olympe.j.fb([this,a,b],(c,d,e)=>olympe.j.kc(c.valueOf().substr(d.valueOf(),
298
+ e.valueOf())),olympe.j.mb,'OString.subOStr')}static concat(...a){return olympe.j.kc('').concat(...a)}};olympe.j.mb.EMPTY=new olympe.j.mb('');olympe.j.mb.LJ=new olympe.j.mb(' ');h=olympe.j.mb.prototype;h.toJSON.K=olympe.j.J.O;h.lz.K=new olympe.j.J(()=>olympe.j.mb,[0,1]);h.concat.K=olympe.j.J.R;h.mg.K=olympe.j.J.R;h.QX.K=olympe.j.J.F;h.yO.K=olympe.j.J.F;h.toString.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.Oc.K=olympe.j.J.O;h.ef.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.dj.K=olympe.j.J.U;
299
299
  h.contains.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.startsWith.K=new olympe.j.J(()=>olympe.j.ka,[0,1]);h.endsWith.K=new olympe.j.J(()=>olympe.j.ka,[0,1]);h.indexOf.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);h.lastIndexOf.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);h.slice.K=new olympe.j.J(()=>olympe.j.mb,[0,1]);h.jo.K=olympe.j.J.F;h.threshold.K=new olympe.j.J(()=>olympe.j.mb,[0]);h.toLowerCase.K=olympe.j.J.R;h.toUpperCase.K=olympe.j.J.R;h.trim.K=olympe.j.J.R;h.padStart.K=olympe.j.J.R;h.padEnd.K=olympe.j.J.R;
300
- h.replace.K=olympe.j.J.R;h.MX.K=olympe.j.J.R;olympe.j.ka=class{constructor(a){this.value=a}toJSON(){return`{ "type": "boolean", "value": ${this.value.valueOf()}}`}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return b.value?olympe.j.ka.C:olympe.j.ka.xb}and(a){if(void 0!==a)return olympe.j.nc(a)?olympe.j.Ih([a],b=>new olympe.j.ka(this.valueOf()&&b.valueOf()),olympe.j.ka,'and'):this.value&&a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb}Oc(a){return this.valueOf()===(void 0!==a?a.valueOf():void 0)}ef(a){if(void 0!==a)return olympe.j.nc(a)?
301
- olympe.j.Ih([a],b=>new olympe.j.ka(this.valueOf()===b.valueOf()),olympe.j.ka,'oEquals'):this.Oc(a)?olympe.j.ka.C:olympe.j.ka.xb}Sf(){return this.value?olympe.j.ka.xb:olympe.j.ka.C}CT(a){if(void 0!==a)return olympe.j.nc(a)?olympe.j.Ih([a],b=>new olympe.j.ka(!(this.valueOf()&&b.valueOf())),olympe.j.ka,'andNot'):this.value&&!a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb}or(a){if(void 0!==a)return olympe.j.nc(a)?olympe.j.Ih([a],b=>new olympe.j.ka(this.valueOf()||b.valueOf()),olympe.j.ka,'or'):this.value||
302
- a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb}xor(a){return olympe.j.fb([this,a],(b,c)=>{b=b.valueOf();c=c.valueOf();return olympe.j.Pc(b&&!c||!b&&c)},olympe.j.ka,'OBoolean.xor')}vU(){return this.value}BM(){return!0===this.value?olympe.j.aa.ONE:olympe.j.aa.ZERO}mg(){return olympe.j.kc(this.toString())}toString(){return this.value?'true':'false'}valueOf(){return this.value}};olympe.j.ka.C=new olympe.j.ka(!0);olympe.j.ka.xb=new olympe.j.ka(!1);h=olympe.j.ka.prototype;h.toJSON.K=olympe.j.J.O;
303
- h.and.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Oc.K=olympe.j.J.O;h.ef.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Sf.K=olympe.j.J.U;h.CT.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.or.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.xor.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.vU.K=new olympe.j.J(()=>Boolean,[]);h.BM.K=olympe.j.J.F;h.mg.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;function Lb(a){return new olympe.j.hc(new Date(a.valueOf()))}function Mb(a){a=(a=/(\d{2}).(\d{2}).(\d{4})/.exec(a.valueOf()))&&4===a.length?new Date(parseInt(a[3],10),parseInt(a[2],10)-1,parseInt(a[1],10)):new Date(NaN);return isNaN(a.getTime())?null:new olympe.j.hc(a)}function Nb({year:a=1970,month:b=1,day:c=1,hour:d=1,minute:e=0,second:f=0,nW:g=0}={}){return new olympe.j.hc(new Date(a.valueOf(),b.valueOf()-1,c.valueOf(),d.valueOf(),e.valueOf(),f.valueOf(),g.valueOf()))}
300
+ h.replace.K=olympe.j.J.R;h.NX.K=olympe.j.J.R;olympe.j.ka=class{constructor(a){this.value=a}toJSON(){return`{ "type": "boolean", "value": ${this.value.valueOf()}}`}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return b.value?olympe.j.ka.C:olympe.j.ka.xb}and(a){if(void 0!==a)return olympe.j.nc(a)?olympe.j.Ih([a],b=>new olympe.j.ka(this.valueOf()&&b.valueOf()),olympe.j.ka,'and'):this.value&&a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb}Oc(a){return this.valueOf()===(void 0!==a?a.valueOf():void 0)}ef(a){if(void 0!==a)return olympe.j.nc(a)?
301
+ olympe.j.Ih([a],b=>new olympe.j.ka(this.valueOf()===b.valueOf()),olympe.j.ka,'oEquals'):this.Oc(a)?olympe.j.ka.C:olympe.j.ka.xb}Sf(){return this.value?olympe.j.ka.xb:olympe.j.ka.C}DT(a){if(void 0!==a)return olympe.j.nc(a)?olympe.j.Ih([a],b=>new olympe.j.ka(!(this.valueOf()&&b.valueOf())),olympe.j.ka,'andNot'):this.value&&!a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb}or(a){if(void 0!==a)return olympe.j.nc(a)?olympe.j.Ih([a],b=>new olympe.j.ka(this.valueOf()||b.valueOf()),olympe.j.ka,'or'):this.value||
302
+ a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb}xor(a){return olympe.j.fb([this,a],(b,c)=>{b=b.valueOf();c=c.valueOf();return olympe.j.Pc(b&&!c||!b&&c)},olympe.j.ka,'OBoolean.xor')}wU(){return this.value}BM(){return!0===this.value?olympe.j.aa.ONE:olympe.j.aa.ZERO}mg(){return olympe.j.kc(this.toString())}toString(){return this.value?'true':'false'}valueOf(){return this.value}};olympe.j.ka.C=new olympe.j.ka(!0);olympe.j.ka.xb=new olympe.j.ka(!1);h=olympe.j.ka.prototype;h.toJSON.K=olympe.j.J.O;
303
+ h.and.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Oc.K=olympe.j.J.O;h.ef.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Sf.K=olympe.j.J.U;h.DT.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.or.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.xor.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.wU.K=new olympe.j.J(()=>Boolean,[]);h.BM.K=olympe.j.J.F;h.mg.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;function Lb(a){return new olympe.j.hc(new Date(a.valueOf()))}function Mb(a){a=(a=/(\d{2}).(\d{2}).(\d{4})/.exec(a.valueOf()))&&4===a.length?new Date(parseInt(a[3],10),parseInt(a[2],10)-1,parseInt(a[1],10)):new Date(NaN);return isNaN(a.getTime())?null:new olympe.j.hc(a)}function Nb({year:a=1970,month:b=1,day:c=1,hour:d=1,minute:e=0,second:f=0,oW:g=0}={}){return new olympe.j.hc(new Date(a.valueOf(),b.valueOf()-1,c.valueOf(),d.valueOf(),e.valueOf(),f.valueOf(),g.valueOf()))}
304
304
  function Ob(a){return new olympe.j.hc(a)}function Pb(a){return new olympe.j.hc(new Date(a))}
305
- olympe.j.hc=class{constructor(a){this.Wd=a}toJSON(){return'{ "type": "dateTime", "value": "'+this.Wd.toJSON()+'" }'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return Lb(b.value)}static now(){return new olympe.j.hc(new Date)}ql(){return this.Wd&&!isNaN(this.Wd.getTime())?olympe.j.ka.C:olympe.j.ka.xb}jQ(){return olympe.j.Da(this.Wd.getMilliseconds())}lQ(){return olympe.j.Da(this.Wd.getSeconds())}kQ(){return olympe.j.Da(this.Wd.getMinutes())}iQ(){return olympe.j.Da(this.Wd.getHours())}Up(){return olympe.j.Da(this.Wd.getDate())}getMonth(){return olympe.j.Da(this.Wd.getMonth()+1)}getYear(){return olympe.j.Da(this.Wd.getFullYear())}getTime(){return this.Wd.getTime()}Ro(){var a=
305
+ olympe.j.hc=class{constructor(a){this.Wd=a}toJSON(){return'{ "type": "dateTime", "value": "'+this.Wd.toJSON()+'" }'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return Lb(b.value)}static now(){return new olympe.j.hc(new Date)}ql(){return this.Wd&&!isNaN(this.Wd.getTime())?olympe.j.ka.C:olympe.j.ka.xb}kQ(){return olympe.j.Da(this.Wd.getMilliseconds())}mQ(){return olympe.j.Da(this.Wd.getSeconds())}lQ(){return olympe.j.Da(this.Wd.getMinutes())}jQ(){return olympe.j.Da(this.Wd.getHours())}Up(){return olympe.j.Da(this.Wd.getDate())}getMonth(){return olympe.j.Da(this.Wd.getMonth()+1)}getYear(){return olympe.j.Da(this.Wd.getFullYear())}getTime(){return this.Wd.getTime()}Ro(){var a=
306
306
  olympe.j,b=a.kc;var c=this.Wd.getDate();c=10>c?'0'+c:c;var d=this.Wd.getMonth()+1;return b.call(a,`${c}.${10>d?'0'+d:d}.${this.Wd.getFullYear()}`)}toLocaleString(a){return void 0===a||'string'===typeof a?olympe.j.kc(this.Wd.toLocaleString(a)):olympe.j.fb([this,a],(b,c)=>olympe.j.kc(b.Wd.toLocaleString(c.valueOf())),olympe.j.mb)}toLocaleDateString(a){return void 0===a||'string'===typeof a?olympe.j.kc(this.Wd.toLocaleDateString(a)):olympe.j.fb([this,a],(b,c)=>olympe.j.kc(b.Wd.toLocaleDateString(c.valueOf())),
307
- olympe.j.mb)}toLocaleTimeString(a){return void 0===a||'string'===typeof a?olympe.j.kc(this.Wd.toLocaleTimeString(a)):olympe.j.fb([this,a],(b,c)=>olympe.j.kc(b.Wd.toLocaleTimeString(c.valueOf())),olympe.j.mb)}mg(){return olympe.j.kc(this.Wd.toISOString())}Lq(){return new Date(this.getTime())}OX(){return this}QX(){return this}clone(){return new olympe.j.hc(new Date(this.Wd.getTime()))}wp(a,b){return olympe.j.fb([b],c=>{const d=this.clone();d.Wd['set'+a](this.Wd['get'+a]()+c.valueOf());return d},olympe.j.hc)}uT(a){return this.wp('Milliseconds',
308
- a)}yT(a){return this.wp('Seconds',a)}vT(a){return this.wp('Minutes',a)}tT(a){return this.wp('Hours',a)}tt(a){return this.wp('Date',a)}zT(a){return'number'===typeof a?this.tt(7*a):this.tt(a.kb(7))}iz(a){return this.wp('Month',a)}Ov(a){return this.wp('FullYear',a)}KX(){let a=this.Wd.getDay();a=0===a?6:a-1;return new olympe.j.hc(new Date(this.Wd.getFullYear(),this.Wd.getMonth(),this.Wd.getDate()-a))}LX(){return new olympe.j.hc(new Date(this.Wd.getFullYear(),this.Wd.getMonth()))}ef(a){return olympe.j.fb([a],
309
- b=>olympe.j.Pc(this.Oc(b)),olympe.j.ka)}Oc(a){return a instanceof olympe.j.hc?this.getTime()===a.getTime()||isNaN(this.getTime())&&isNaN(a.getTime()):!1}gV(){let a=this.Wd.getDay();0===a&&(a=7);return olympe.j.Da(a)}PU(a,b){return olympe.j.fb([a,b],(c,d)=>{d=d.valueOf();'years'===d?c=this.Wd.getFullYear()-c.Wd.getFullYear():'months'===d?c=12*(this.Wd.getFullYear()-c.Wd.getFullYear())+(this.Wd.getMonth()-c.Wd.getMonth()):(d={milliseconds:1,seconds:1E3,minutes:6E4,hours:36E5,days:864E5,weeks:6048E5}[d],
310
- void 0===d&&(olympe.ub.Gb('df').warn("[getDiff] '_unit' is not a valid unit! Defaulting to milliseconds"),d=1),c=Math.trunc((this.Wd.getTime()-c.Wd.getTime())/d));return olympe.j.Da(c)},olympe.j.aa)}WV(a){return olympe.j.fb([a],b=>olympe.j.Pc(this.getTime()<b.getTime()),olympe.j.ka)}CN(a){return olympe.j.fb([a],b=>olympe.j.Pc(this.getTime()>b.getTime()),olympe.j.ka)}Qz(a,b){return olympe.j.fb([a,b],(c,d)=>olympe.j.Pc(this.getTime()>c.getTime()&&this.getTime()<d.getTime()),olympe.j.ka)}valueOf(){return this.ql().valueOf()?
311
- new Date(this.getTime()):new Date(0)}};olympe.j.hc.C=Pb(0);olympe.j.hc.F=Pb(Number.NaN);h=olympe.j.hc.prototype;h.ql.K=olympe.j.J.U;h.jQ.K=olympe.j.J.F;h.lQ.K=olympe.j.J.F;h.kQ.K=olympe.j.J.F;h.iQ.K=olympe.j.J.F;h.Up.K=olympe.j.J.F;h.getMonth.K=olympe.j.J.F;h.getYear.K=olympe.j.J.F;h.getTime.K=olympe.j.J.O;h.Ro.K=new olympe.j.J(()=>olympe.j.mb,[0]);h.toLocaleString.K=olympe.j.J.R;h.toLocaleDateString.K=olympe.j.J.R;h.toLocaleTimeString.K=olympe.j.J.R;h.mg.K=olympe.j.J.R;h.Lq.K=olympe.j.J.O;
312
- h.OX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.QX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.wp.K=new olympe.j.J(()=>olympe.j.hc,[]);h.uT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.yT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.vT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.tT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.tt.K=new olympe.j.J(()=>olympe.j.hc,[0]);h.zT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.iz.K=new olympe.j.J(()=>olympe.j.hc,[]);h.Ov.K=new olympe.j.J(()=>olympe.j.hc,[0]);
313
- h.KX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.LX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.ef.K=olympe.j.J.U;h.Oc.K=olympe.j.J.O;h.gV.K=olympe.j.J.F;h.PU.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);h.WV.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.CN.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Qz.K=new olympe.j.J(()=>olympe.j.ka,[0,1]);h.valueOf.K=olympe.j.J.O;const Qb=new Map,Rb=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,Sb=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i;function Tb(a,b,c,d,e=1){Qb.has(a)||Qb.set(a,new olympe.j.Color(b,c,d,e));return Qb.get(a)}function K(){return Tb('black',0,0,0,1)}function M(){return Tb('gray',128,128,128,1)}function N(){return Tb('white',255,255,255,1)}function Ub(){return Tb('dark gray',64,64,64,1)}function Vb(){return Tb('light gray',200,200,200,1)}function O(){return Tb('transparent',0,0,0,0)}
307
+ olympe.j.mb)}toLocaleTimeString(a){return void 0===a||'string'===typeof a?olympe.j.kc(this.Wd.toLocaleTimeString(a)):olympe.j.fb([this,a],(b,c)=>olympe.j.kc(b.Wd.toLocaleTimeString(c.valueOf())),olympe.j.mb)}mg(){return olympe.j.kc(this.Wd.toISOString())}Lq(){return new Date(this.getTime())}PX(){return this}RX(){return this}clone(){return new olympe.j.hc(new Date(this.Wd.getTime()))}wp(a,b){return olympe.j.fb([b],c=>{const d=this.clone();d.Wd['set'+a](this.Wd['get'+a]()+c.valueOf());return d},olympe.j.hc)}vT(a){return this.wp('Milliseconds',
308
+ a)}zT(a){return this.wp('Seconds',a)}wT(a){return this.wp('Minutes',a)}uT(a){return this.wp('Hours',a)}tt(a){return this.wp('Date',a)}AT(a){return'number'===typeof a?this.tt(7*a):this.tt(a.kb(7))}iz(a){return this.wp('Month',a)}Ov(a){return this.wp('FullYear',a)}LX(){let a=this.Wd.getDay();a=0===a?6:a-1;return new olympe.j.hc(new Date(this.Wd.getFullYear(),this.Wd.getMonth(),this.Wd.getDate()-a))}MX(){return new olympe.j.hc(new Date(this.Wd.getFullYear(),this.Wd.getMonth()))}ef(a){return olympe.j.fb([a],
309
+ b=>olympe.j.Pc(this.Oc(b)),olympe.j.ka)}Oc(a){return a instanceof olympe.j.hc?this.getTime()===a.getTime()||isNaN(this.getTime())&&isNaN(a.getTime()):!1}hV(){let a=this.Wd.getDay();0===a&&(a=7);return olympe.j.Da(a)}QU(a,b){return olympe.j.fb([a,b],(c,d)=>{d=d.valueOf();'years'===d?c=this.Wd.getFullYear()-c.Wd.getFullYear():'months'===d?c=12*(this.Wd.getFullYear()-c.Wd.getFullYear())+(this.Wd.getMonth()-c.Wd.getMonth()):(d={milliseconds:1,seconds:1E3,minutes:6E4,hours:36E5,days:864E5,weeks:6048E5}[d],
310
+ void 0===d&&(olympe.ub.Gb('df').warn("[getDiff] '_unit' is not a valid unit! Defaulting to milliseconds"),d=1),c=Math.trunc((this.Wd.getTime()-c.Wd.getTime())/d));return olympe.j.Da(c)},olympe.j.aa)}XV(a){return olympe.j.fb([a],b=>olympe.j.Pc(this.getTime()<b.getTime()),olympe.j.ka)}CN(a){return olympe.j.fb([a],b=>olympe.j.Pc(this.getTime()>b.getTime()),olympe.j.ka)}Qz(a,b){return olympe.j.fb([a,b],(c,d)=>olympe.j.Pc(this.getTime()>c.getTime()&&this.getTime()<d.getTime()),olympe.j.ka)}valueOf(){return this.ql().valueOf()?
311
+ new Date(this.getTime()):new Date(0)}};olympe.j.hc.C=Pb(0);olympe.j.hc.F=Pb(Number.NaN);h=olympe.j.hc.prototype;h.ql.K=olympe.j.J.U;h.kQ.K=olympe.j.J.F;h.mQ.K=olympe.j.J.F;h.lQ.K=olympe.j.J.F;h.jQ.K=olympe.j.J.F;h.Up.K=olympe.j.J.F;h.getMonth.K=olympe.j.J.F;h.getYear.K=olympe.j.J.F;h.getTime.K=olympe.j.J.O;h.Ro.K=new olympe.j.J(()=>olympe.j.mb,[0]);h.toLocaleString.K=olympe.j.J.R;h.toLocaleDateString.K=olympe.j.J.R;h.toLocaleTimeString.K=olympe.j.J.R;h.mg.K=olympe.j.J.R;h.Lq.K=olympe.j.J.O;
312
+ h.PX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.RX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.wp.K=new olympe.j.J(()=>olympe.j.hc,[]);h.vT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.zT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.wT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.uT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.tt.K=new olympe.j.J(()=>olympe.j.hc,[0]);h.AT.K=new olympe.j.J(()=>olympe.j.hc,[]);h.iz.K=new olympe.j.J(()=>olympe.j.hc,[]);h.Ov.K=new olympe.j.J(()=>olympe.j.hc,[0]);
313
+ h.LX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.MX.K=new olympe.j.J(()=>olympe.j.hc,[]);h.ef.K=olympe.j.J.U;h.Oc.K=olympe.j.J.O;h.hV.K=olympe.j.J.F;h.QU.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);h.XV.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.CN.K=new olympe.j.J(()=>olympe.j.ka,[0]);h.Qz.K=new olympe.j.J(()=>olympe.j.ka,[0,1]);h.valueOf.K=olympe.j.J.O;const Qb=new Map,Rb=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,Sb=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i;function Tb(a,b,c,d,e=1){Qb.has(a)||Qb.set(a,new olympe.j.Color(b,c,d,e));return Qb.get(a)}function K(){return Tb('black',0,0,0,1)}function M(){return Tb('gray',128,128,128,1)}function N(){return Tb('white',255,255,255,1)}function Ub(){return Tb('dark gray',64,64,64,1)}function Vb(){return Tb('light gray',200,200,200,1)}function O(){return Tb('transparent',0,0,0,0)}
314
314
  function Wb(a){const b=c=>{let d;c=c.valueOf();6>c.length?(d=17,c=Sb.exec(c)):(d=1,c=Rb.exec(c));c=c?c.slice(1).map(e=>parseInt(e,16)*d):[0,0,0];return olympe.j.Color.create(c[0],c[1],c[2],isNaN(c[3])?1:c[3]/255)};return olympe.j.Rg(a)?olympe.j.Ih([a],b,olympe.j.Color):b(a)}function Xb(a,b,c){return olympe.j.Ih([a,b,c,.5],(d,e,f,g)=>olympe.j.Color.create(d,e,f,g),olympe.j.Color)}function Q(a){return olympe.j.qb(olympe.j.Color,a)}
315
315
  olympe.j.Color=class{constructor(a,b,c,d){this.C=olympe.j.Da(void 0!==a?Math.min(255,Math.max(0,Math.round(a))):0);this.F=olympe.j.Da(void 0!==b?Math.min(255,Math.max(0,Math.round(b))):0);this.b=olympe.j.Da(void 0!==c?Math.min(255,Math.max(0,Math.round(c))):0);this.a=olympe.j.Da(void 0!==d?Math.min(1,Math.max(0,d)):1)}toJSON(){return`{ "type": "color", "r": ${this.C.valueOf()}, "g": ${this.F.valueOf()}, "b": ${this.b.valueOf()}, "a": ${this.a.valueOf()} }`}static gf(a){let b;'string'===typeof a?b=
316
316
  JSON.parse(a):b=a;return olympe.j.Color.create(b.r,b.g,b.b,b.a)}static create(a,b,c,d=1){return olympe.j.fb([a,b,c,d],(e,f,g,k)=>{e=olympe.j.Da(void 0!==e?Math.min(255,Math.max(0,Math.round(e.valueOf()))):0);f=olympe.j.Da(void 0!==f?Math.min(255,Math.max(0,Math.round(f.valueOf()))):0);g=olympe.j.Da(void 0!==g?Math.min(255,Math.max(0,Math.round(g.valueOf()))):0);k=olympe.j.Da(void 0!==k?Math.min(1,Math.max(0,k.valueOf())):1);for(let l of Qb.values())if(l&&l.C.Oc(e)&&l.F.Oc(f)&&l.b.Oc(g)&&l.a.Oc(k))return l;
317
- return new olympe.j.Color(e,f,g,k)},olympe.j.Color)}static green(){return Tb('green',0,128,0,1)}static red(){return Tb('red',255,0,0,1)}sk(){return this.C}nk(){return this.b}qk(){return this.F}bl(){return this.a}NT(a,b){return olympe.j.Color.create(this.C.Aw(a.sk(),b),this.F.Aw(a.qk(),b),this.b.Aw(a.nk(),b),this.a.Aw(a.bl(),b))}AL(){return olympe.j.Color.create(this.C,this.F,this.b,.5)}gi(){return`rgba(${this.C},${this.F},${this.b},${this.a})`}$D(){const a=(16777216|this.b|this.F<<8|this.C<<16).toString(16).slice(1),
317
+ return new olympe.j.Color(e,f,g,k)},olympe.j.Color)}static green(){return Tb('green',0,128,0,1)}static red(){return Tb('red',255,0,0,1)}sk(){return this.C}nk(){return this.b}qk(){return this.F}bl(){return this.a}OT(a,b){return olympe.j.Color.create(this.C.Aw(a.sk(),b),this.F.Aw(a.qk(),b),this.b.Aw(a.nk(),b),this.a.Aw(a.bl(),b))}AL(){return olympe.j.Color.create(this.C,this.F,this.b,.5)}gi(){return`rgba(${this.C},${this.F},${this.b},${this.a})`}$D(){const a=(16777216|this.b|this.F<<8|this.C<<16).toString(16).slice(1),
318
318
  b=1===this.a.valueOf()?'':(256|255*this.a).toString(16).slice(1);return'#'+(a+b).toUpperCase()}toString(){return this.$D()}Oc(a){return a instanceof olympe.j.Color?this.C.valueOf()===a.C.valueOf()&&this.F.valueOf()===a.F.valueOf()&&this.b.valueOf()===a.b.valueOf()&&this.a.valueOf()===a.a.valueOf():!1}};olympe.j.Color.prototype.equals=olympe.j.Color.prototype.Oc;olympe.j.Color.prototype.toHexString=olympe.j.Color.prototype.$D;olympe.j.Color.prototype.toRGBString=olympe.j.Color.prototype.gi;
319
- olympe.j.Color.prototype.getAlpha=olympe.j.Color.prototype.bl;olympe.j.Color.prototype.getGreen=olympe.j.Color.prototype.qk;olympe.j.Color.prototype.getBlue=olympe.j.Color.prototype.nk;olympe.j.Color.prototype.getRed=olympe.j.Color.prototype.sk;olympe.j.Color.create=olympe.j.Color.create;h=olympe.j.Color.prototype;h.toJSON.K=olympe.j.J.O;h.sk.K=olympe.j.J.F;h.nk.K=olympe.j.J.F;h.qk.K=olympe.j.J.F;h.bl.K=olympe.j.J.F;h.NT.K=new olympe.j.J(()=>olympe.j.Color,[]);
320
- h.AL.K=new olympe.j.J(()=>olympe.j.Color,[]);h.gi.K=new olympe.j.J(()=>String,[]);h.$D.K=new olympe.j.J(()=>String,[]);h.Oc.K=olympe.j.J.O;olympe.j.File=class{Oa(){}my(){}sh(){}Ot(){}fw(){}rz(){}Hr(){}mD(){}};olympe.j.ia=class{constructor(a,b){this.x=olympe.j.ja(a);this.y=olympe.j.ja(b)}toJSON(){return'{ "type": "vector2", "x": '+JSON.stringify(olympe.j.Ua(this.x).valueOf())+', "y": '+JSON.stringify(olympe.j.Ua(this.y).valueOf())+' }'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.j.ia(b.x,b.y)}ma(){return this.x}re(a){J(this.x,a)}sa(){return this.y}Ie(a){J(this.y,a)}GV(){return this.x.an(this.y)}$a(a){return olympe.j.fb([this,a],(b,c)=>new olympe.j.ia(b.x.$a(c.x),b.y.$a(c.y)),
321
- olympe.j.ia,'Vector2.plus')}Ga(a){return olympe.j.fb([this,a],(b,c)=>new olympe.j.ia(b.x.Ga(c.x),b.y.Ga(c.y)),olympe.j.ia,'Vector2.minus')}qW(a){return new olympe.j.ia(this.x.kb(a),this.y.kb(a))}eU(a){return new olympe.j.ia(this.x.Va(a),this.y.Va(a))}tW(){return new olympe.j.ia(this.x.wx(),this.y.wx())}fU(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.fb([b.x,b.y,c.x,c.y],(d,e,f,g)=>olympe.j.Da(d*f+e*g),olympe.j.aa),olympe.j.aa)}length(){return olympe.j.fb([this.x,this.y],(a,b)=>olympe.j.Da(Math.sqrt(a*
322
- a+b*b)),olympe.j.aa)}mQ(){return olympe.j.fb([this.x,this.y],(a,b)=>{const c=Math.sqrt(a*a+b*b);return new olympe.j.ia(a/c,b/c)},olympe.j.ia)}floor(){return olympe.j.fb([this.x,this.y],(a,b)=>new olympe.j.ia(Math.floor(a),Math.floor(b)),olympe.j.ia)}ceil(){return olympe.j.fb([this.x,this.y],(a,b)=>new olympe.j.ia(Math.ceil(a),Math.ceil(b)),olympe.j.ia)}round(){return olympe.j.fb([this.x,this.y],(a,b)=>new olympe.j.ia(Math.round(a),Math.round(b)),olympe.j.ia)}wT(a){return new olympe.j.ia(this.x.$a(a),
323
- this.y.$a(a))}xT(a,b){return new olympe.j.ia(this.x.$a(a),this.y.$a(b))}mg(){return olympe.j.fb([this.x,this.y],(a,b)=>olympe.j.kc(`Vector2[${a.valueOf()}, ${b.valueOf()}]`),olympe.j.mb)}toString(){return`Vector2[${G(this.x)}, ${G(this.y)}]`}Oc(a){return this===a?!0:!1}};h=olympe.j.ia.prototype;h.toJSON.K=olympe.j.J.O;h.ma.K=olympe.j.J.F;h.re.K=olympe.j.J.O;h.sa.K=olympe.j.J.F;h.Ie.K=olympe.j.J.O;h.GV.K=olympe.j.J.F;h.$a.K=new olympe.j.J(()=>olympe.j.ia,[0]);
324
- h.Ga.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.qW.K=olympe.j.J.V;h.eU.K=olympe.j.J.V;h.tW.K=olympe.j.J.V;h.fU.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.length.K=olympe.j.J.F;h.mQ.K=olympe.j.J.V;h.floor.K=olympe.j.J.V;h.ceil.K=olympe.j.J.V;h.round.K=olympe.j.J.V;h.wT.K=olympe.j.J.V;h.xT.K=olympe.j.J.V;h.mg.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Oc.K=olympe.j.J.O;olympe.j.Kk=class{constructor(){}Qe(){}mi(){}get(){}Cg(){}has(){}Zh(){}Rd(){}ll(){}hd(){}$i(){}forEach(){}Xh(){}};olympe.j.Kk.prototype.forEachCurrentValue=olympe.j.Kk.prototype.Xh;olympe.j.Kk.prototype.forEach=olympe.j.Kk.prototype.forEach;h=olympe.j.Kk.prototype;h.has.K=olympe.j.J.U;h.Zh.K=olympe.j.J.O;h.Rd.K=new olympe.j.J(()=>Object,[]);h.ll.K=new olympe.j.J(()=>String,[]);h.hd.K=olympe.j.J.F;h.$i.K=olympe.j.J.O;h.forEach.K=new olympe.j.J(()=>{},[]);h.Xh.K=olympe.j.J.O;olympe.j.Og=class extends olympe.j.Kk{constructor(){super()}jf(){}om(){}zm(){}el(){}Dh(){}dl(){}aw(){}Lt(){}};olympe.j.Og.prototype.getCurrentAt=olympe.j.Og.prototype.dl;olympe.j.Og.prototype.getAt=olympe.j.Og.prototype.Dh;olympe.j.Og.prototype.getCurrentKeyAt=olympe.j.Og.prototype.el;olympe.j.Og.prototype.getKeyAt=olympe.j.Og.prototype.zm;olympe.j.Og.prototype.getCurrentRank=olympe.j.Og.prototype.om;olympe.j.Og.prototype.getRank=olympe.j.Og.prototype.jf;h=olympe.j.Og.prototype;h.jf.K=olympe.j.J.F;
319
+ olympe.j.Color.prototype.getAlpha=olympe.j.Color.prototype.bl;olympe.j.Color.prototype.getGreen=olympe.j.Color.prototype.qk;olympe.j.Color.prototype.getBlue=olympe.j.Color.prototype.nk;olympe.j.Color.prototype.getRed=olympe.j.Color.prototype.sk;olympe.j.Color.create=olympe.j.Color.create;h=olympe.j.Color.prototype;h.toJSON.K=olympe.j.J.O;h.sk.K=olympe.j.J.F;h.nk.K=olympe.j.J.F;h.qk.K=olympe.j.J.F;h.bl.K=olympe.j.J.F;h.OT.K=new olympe.j.J(()=>olympe.j.Color,[]);
320
+ h.AL.K=new olympe.j.J(()=>olympe.j.Color,[]);h.gi.K=new olympe.j.J(()=>String,[]);h.$D.K=new olympe.j.J(()=>String,[]);h.Oc.K=olympe.j.J.O;olympe.j.File=class{Oa(){}my(){}sh(){}Ot(){}fw(){}rz(){}Hr(){}mD(){}};olympe.j.ia=class{constructor(a,b){this.x=olympe.j.ja(a);this.y=olympe.j.ja(b)}toJSON(){return'{ "type": "vector2", "x": '+JSON.stringify(olympe.j.Ua(this.x).valueOf())+', "y": '+JSON.stringify(olympe.j.Ua(this.y).valueOf())+' }'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.j.ia(b.x,b.y)}ma(){return this.x}re(a){J(this.x,a)}sa(){return this.y}Ie(a){J(this.y,a)}HV(){return this.x.an(this.y)}$a(a){return olympe.j.fb([this,a],(b,c)=>new olympe.j.ia(b.x.$a(c.x),b.y.$a(c.y)),
321
+ olympe.j.ia,'Vector2.plus')}Ga(a){return olympe.j.fb([this,a],(b,c)=>new olympe.j.ia(b.x.Ga(c.x),b.y.Ga(c.y)),olympe.j.ia,'Vector2.minus')}rW(a){return new olympe.j.ia(this.x.kb(a),this.y.kb(a))}fU(a){return new olympe.j.ia(this.x.Va(a),this.y.Va(a))}uW(){return new olympe.j.ia(this.x.wx(),this.y.wx())}gU(a){return olympe.j.fb([this,a],(b,c)=>olympe.j.fb([b.x,b.y,c.x,c.y],(d,e,f,g)=>olympe.j.Da(d*f+e*g),olympe.j.aa),olympe.j.aa)}length(){return olympe.j.fb([this.x,this.y],(a,b)=>olympe.j.Da(Math.sqrt(a*
322
+ a+b*b)),olympe.j.aa)}nQ(){return olympe.j.fb([this.x,this.y],(a,b)=>{const c=Math.sqrt(a*a+b*b);return new olympe.j.ia(a/c,b/c)},olympe.j.ia)}floor(){return olympe.j.fb([this.x,this.y],(a,b)=>new olympe.j.ia(Math.floor(a),Math.floor(b)),olympe.j.ia)}ceil(){return olympe.j.fb([this.x,this.y],(a,b)=>new olympe.j.ia(Math.ceil(a),Math.ceil(b)),olympe.j.ia)}round(){return olympe.j.fb([this.x,this.y],(a,b)=>new olympe.j.ia(Math.round(a),Math.round(b)),olympe.j.ia)}xT(a){return new olympe.j.ia(this.x.$a(a),
323
+ this.y.$a(a))}yT(a,b){return new olympe.j.ia(this.x.$a(a),this.y.$a(b))}mg(){return olympe.j.fb([this.x,this.y],(a,b)=>olympe.j.kc(`Vector2[${a.valueOf()}, ${b.valueOf()}]`),olympe.j.mb)}toString(){return`Vector2[${G(this.x)}, ${G(this.y)}]`}Oc(a){return this===a?!0:!1}};h=olympe.j.ia.prototype;h.toJSON.K=olympe.j.J.O;h.ma.K=olympe.j.J.F;h.re.K=olympe.j.J.O;h.sa.K=olympe.j.J.F;h.Ie.K=olympe.j.J.O;h.HV.K=olympe.j.J.F;h.$a.K=new olympe.j.J(()=>olympe.j.ia,[0]);
324
+ h.Ga.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.rW.K=olympe.j.J.V;h.fU.K=olympe.j.J.V;h.uW.K=olympe.j.J.V;h.gU.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.length.K=olympe.j.J.F;h.nQ.K=olympe.j.J.V;h.floor.K=olympe.j.J.V;h.ceil.K=olympe.j.J.V;h.round.K=olympe.j.J.V;h.xT.K=olympe.j.J.V;h.yT.K=olympe.j.J.V;h.mg.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Oc.K=olympe.j.J.O;olympe.j.Kk=class{constructor(){}Qe(){}mi(){}get(){}Cg(){}has(){}Zh(){}Rd(){}ll(){}hd(){}$i(){}forEach(){}Xh(){}};olympe.j.Kk.prototype.forEachCurrentValue=olympe.j.Kk.prototype.Xh;olympe.j.Kk.prototype.forEach=olympe.j.Kk.prototype.forEach;h=olympe.j.Kk.prototype;h.has.K=olympe.j.J.U;h.Zh.K=olympe.j.J.O;h.Rd.K=new olympe.j.J(()=>Object,[]);h.ll.K=new olympe.j.J(()=>String,[]);h.hd.K=olympe.j.J.F;h.$i.K=olympe.j.J.O;h.forEach.K=new olympe.j.J(()=>{},[]);h.Xh.K=olympe.j.J.O;olympe.j.Og=class extends olympe.j.Kk{constructor(){super()}jf(){}om(){}zm(){}el(){}Dh(){}dl(){}aw(){}Lt(){}};olympe.j.Og.prototype.getCurrentAt=olympe.j.Og.prototype.dl;olympe.j.Og.prototype.getAt=olympe.j.Og.prototype.Dh;olympe.j.Og.prototype.getCurrentKeyAt=olympe.j.Og.prototype.el;olympe.j.Og.prototype.getKeyAt=olympe.j.Og.prototype.zm;olympe.j.Og.prototype.getCurrentRank=olympe.j.Og.prototype.om;olympe.j.Og.prototype.getRank=olympe.j.Og.prototype.jf;h=olympe.j.Og.prototype;h.jf.K=olympe.j.J.F;
325
325
  h.om.K=olympe.j.J.O;h.zm.K=new olympe.j.J(()=>String,[]);h.el.K=olympe.j.J.O;h.Dh.K=new olympe.j.J(()=>Object,[]);h.dl.K=olympe.j.J.O;h.aw.K=olympe.j.J.O;h.Lt.K=new olympe.j.J(()=>Array,[]);olympe.j.Nu=class{constructor(a,b){this.U=b||olympe.j.jb();this.valueType=a||Object;this.values={};this.Ka=this.Ba=null;this.Kd=0;this.ga=Object.create(null);this.Cb=Object.create(null);this.size=0;this.R=null;this.U.onDestroy(()=>{const c=this.ga;if(c){const d=Object.keys(c),e=d.length;for(let f=0;f<e;f++){const g=c[d[f]],k=Object.keys(g);for(let l=k.length,m=0;m<l;m++)g[k[m]].destroy()}}})}getContext(){return this.U}Qe(){return this.valueType}mi(a){this.valueType=a;const b=this.Ba;if(null!==b)for(const c in b)Object.prototype.hasOwnProperty.call(b,
326
326
  c)&&Ab(b[c],a)}get(a){const b=c=>{null===this.Ba&&(this.Ba={});return this.hw(this.Ba,c,this.values[c],this.valueType,'Map.get('+c+')')};return olympe.j.fb([a],c=>b(c),this.valueType)}Cg(a){a=this.values[a];return olympe.j.nc(a)?jb(a.ac)?G(a):void 0:a}has(a){const b=c=>{null===this.Ka&&(this.Ka={});return this.hw(this.Ka,c,c in this.values?olympe.j.ka.C:olympe.j.ka.xb,olympe.j.ka,'Map.has('+c+')')};return olympe.j.fb([a],c=>b(c),olympe.j.ka)}Zh(a){return a in this.values}hw(a,b,c,d,e){let f=a[b];
327
327
  f||this.U.run(()=>{f=olympe.j.qb(d,void 0,e);a[b]=f;f.ac.onDestroy(()=>delete a[b]);olympe.j.nc(c)?Fb(f,c):I(f,c)});return f}Rd(){throw Error('Abstract method getFirstKey needs to be overridden');}ll(){throw Error('Abstract method getFirstKey needs to be overridden');}hd(){null===this.R&&this.U.run(()=>{this.R=olympe.j.qb(olympe.j.aa,olympe.j.Da(this.size));this.R.ac.onDestroy(()=>{this.R=null})});return this.R}$i(){return this.size}forEach(a,b){const c=this.aC();a=this.hL(c,a,b);this.$B(c,a)}aC(){return String(++this.Kd)}$B(a,
@@ -342,15 +342,15 @@ olympe.j.qb=function(a,b,c){a=olympe.j.createNode(a,void 0,void 0,void 0,void 0,
342
342
  olympe.j.If=function(a,b){if(void 0!==a){olympe.j.Vt(a)&&(a=a.Ca().ac);if(!olympe.j.Rg(a))return b(a);var c=[];olympe.j.nc(a)?c.push(a.ac):c.push(a);return olympe.j.createNode(void 0,b,null,c,[0],'onResolved')}};olympe.j.Ua=function(a,b){let c=a;olympe.j.nc(a)?c=G(a):olympe.j.Hm(a)?c=a.og:olympe.j.Vt(a)&&(c=G(a.Ca()));return void 0===c?b:c};olympe.j.ci=function(a,b){let c;olympe.j.nc(a)?c=a.ac:olympe.j.Hm(a)?c=a:olympe.j.Vt(a)&&(c=a.Ca().ac);c&&olympe.j.bb([b],d=>{c.ci(d)},'setDefaultValue');return a};
343
343
  olympe.j.pj=function(a,b,c,d){const e=a.length,f=Array(e),g=[];let k;for(let l=0;l<e;l++)k=a[l],void 0!==k&&null!==k&&(void 0!==k.eL?(k=k.ac,g.push(l)):k instanceof olympe.j.Node?g.push(l):olympe.j.Vt(k)&&(k=k.Ca().ac,g.push(l))),f[l]=k;return olympe.j.createNode(c,b,null,f,g,d||'syncNodes')};olympe.j.Ih=function(a,b,c,d){return nb(olympe.j.pj(a,b,c,d||'syncProxies'))};const $b=a=>{for(const b of a)if(olympe.j.Rg(b)||olympe.j.Vt(b))return!1;return!0};
344
344
  olympe.j.fb=function(a,b,c,d,e){if($b(a))return b(...a);const f=olympe.j.pj(a,b,c,d||'TransformFlows');e&&olympe.j.bb([e],g=>{f.ci(g)},'setDefaultValue');return nb(f)};olympe.j.bb=function(a,b,c){$b(a)?b(...a):olympe.j.pj(a,b,void 0,c||'processFlows')};olympe.j.Gw=function(a,b){if($b(a))b(...a);else{const c=olympe.j.jb();olympe.j.pj(a,(...d)=>{olympe.j.jb().destroy();c.run(b,...d)},void 0,'processFlowsOnce')}};
345
- olympe.j.Jg=function(a,b,c){const d=a.length,e=Array(d),f=[];let g;for(let k=0;k<d;k++)g=a[k],void 0!==g&&null!==g&&(olympe.j.nc(g)?(g=g.ac,f.push(k)):g instanceof olympe.j.Node?f.push(k):olympe.j.Vt(g)&&(g=g.Ca().ac,f.push(k))),e[k]=g;0!==f.length&&new olympe.j.Node({Fh:b,UC:e,Lp:f,OW:!1,wi:c})};olympe.j.R0=function(a,b,c){const d=olympe.j.jb();olympe.j.Jg(a,(...e)=>{olympe.j.jb().destroy();d.run(b,...e)},c||'processFutureFlowsOnce')};olympe.j.t0=function(a,b,c){a=new olympe.j.by(a,c);b(a);return a.Ca()};
346
- olympe.j.rb=function(a,b='flowSource'){return new olympe.j.by(a,b)};olympe.j.U0=function(a,b,c,d){const e=olympe.j.jb();olympe.j.pj(a,(...f)=>{olympe.j.jb().destroy();e.run(b,...f)},c,d||'syncProxiesOnce')};olympe.j.eb=function(a,b,c,d,e,f){return olympe.j.fb([a],g=>g.valueOf()?b.apply(null,e):c&&c.apply(null,e),d||Object,f||'If')};olympe.j.x0=function(a,b,...c){return a?a.run(b,...c):b(...c)};olympe.j.Y0=function(a){return olympe.j.jb().C(a)};olympe.j.w0=function(a,b,c){olympe.j.gU(a?a.ac:a,b,c)};
347
- olympe.j.gU=function(a,b,c){if(a){var d=a.xa();null===Zb&&(Zb={});if(Zb[d])olympe.j.Y.log(`Already started node #${d} dump`+(b?`: ${b}`:''));else{Zb[d]=!0;var e=`Starting node #${d} dump`+(b?`: ${b}`:'');c?olympe.j.Y.warn(e):olympe.j.Y.log(e);var f=`#${d}`+(b?`: ${b}`:'')+':';c=olympe.j.createNode(null,g=>{void 0===g?olympe.j.Y.log(f,'undefined'):null===g?olympe.j.Y.log(f,'null'):olympe.j.Y.log(f,String(g))},null,[a],[0],'DataFlowDump');a.onDestroy(()=>{olympe.j.Y.log(`Node #${d} destroyed`+(b?`: ${b}`:
348
- ''))});c.onDestroy(()=>{delete Zb[d]})}}else olympe.j.Y.log('NOT starting node dump, node is '+String(a))};olympe.j.v0=function(){let a='',b=olympe.j.jb();for(;null!==b;)a+=b.Rb()+' --\x3e ',b=b.getParent();olympe.j.Y.log(a)};
349
- olympe.j.Da=function(a){if(void 0===a)return olympe.j.aa.ZERO;if(a instanceof olympe.j.aa)return a;a&&a.valueOf&&(a=a.valueOf());if('number'===typeof a){if(isNaN(a))return olympe.j.aa.OI;if(a===Math.PI)return olympe.j.aa.PI;if(Infinity===a)return olympe.j.aa.WP;if(-Infinity===a)return olympe.j.aa.FR;if(isNaN(a))var b=!1;else b=parseFloat(a),b=(b|0)===b;return b&&-1<=a&&100>=a?(olympe.j.qt.has(a)||olympe.j.qt.set(a,new olympe.j.aa(a)),olympe.j.qt.get(a)):new olympe.j.aa(a)}return null};
350
- olympe.j.ja=function(a){return void 0===a?olympe.j.qb(olympe.j.aa):olympe.j.qb(olympe.j.aa,olympe.j.Rg(a)?a:olympe.j.Da(a))};olympe.j.Bi=olympe.j.aa.animate;olympe.j.L0=function(a,b){return new olympe.j.HO(a,b)};olympe.j.kc=function(a){if(a instanceof olympe.j.mb)return a;a instanceof Object&&(a=a.valueOf());const b=typeof a;if('string'===b||'number'===b||'boolean'===b)return a=String(a),olympe.j.ez.has(a)?olympe.j.ez.get(a):new olympe.j.mb(a)};
351
- olympe.j.yb=function(a){return void 0===a?olympe.j.qb(olympe.j.mb):olympe.j.qb(olympe.j.mb,olympe.j.Rg(a)?a:olympe.j.kc(a))};olympe.j.Pc=function(a){return a instanceof olympe.j.ka?a:void 0!==a&&null!==a&&a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb};olympe.j.Xc=function(a){return void 0===a?olympe.j.qb(olympe.j.ka):olympe.j.qb(olympe.j.ka,olympe.j.Rg(a)?a:olympe.j.Pc(a))};olympe.j.yW=function(a){if(a instanceof Date)return Ob(a)};
352
- olympe.j.KW=function(){var a=new Date;return olympe.j.qb(olympe.j.hc,void 0!==a?Ob(a):null)};olympe.j.GN=a=>a instanceof olympe.j.ka||a instanceof olympe.j.aa||a instanceof olympe.j.mb||a instanceof olympe.j.hc;olympe.j.Yc=function(a,b){return olympe.j.qb(olympe.j.ia,void 0===a&&void 0===b?void 0:new olympe.j.ia(a,b))};olympe.j.Wc=function(a,b,c,d){let e;void 0!==a&&(a instanceof olympe.j.Color?e=a:e=olympe.j.Color.create(a,b,c,d));return olympe.j.qb(olympe.j.Color,e)};olympe.j.O0=olympe.j.Wc;
353
- olympe.j.XT=function(a){olympe.j.Y=a;olympe.j.yt=olympe.j.nl()};olympe.j.nl=function(){olympe.j.oD||(olympe.j.oD=new olympe.j.FJ);return olympe.j.oD};olympe.j.jb=function(){olympe.j.yt||(olympe.j.yt=olympe.j.nl());return olympe.j.yt};olympe.j.VN=function(a){const b=olympe.j.yt;olympe.j.WC(a)&&(olympe.j.yt=a);return b||null};
345
+ olympe.j.Jg=function(a,b,c){const d=a.length,e=Array(d),f=[];let g;for(let k=0;k<d;k++)g=a[k],void 0!==g&&null!==g&&(olympe.j.nc(g)?(g=g.ac,f.push(k)):g instanceof olympe.j.Node?f.push(k):olympe.j.Vt(g)&&(g=g.Ca().ac,f.push(k))),e[k]=g;0!==f.length&&new olympe.j.Node({Fh:b,UC:e,Lp:f,PW:!1,wi:c})};olympe.j.S0=function(a,b,c){const d=olympe.j.jb();olympe.j.Jg(a,(...e)=>{olympe.j.jb().destroy();d.run(b,...e)},c||'processFutureFlowsOnce')};olympe.j.u0=function(a,b,c){a=new olympe.j.by(a,c);b(a);return a.Ca()};
346
+ olympe.j.rb=function(a,b='flowSource'){return new olympe.j.by(a,b)};olympe.j.V0=function(a,b,c,d){const e=olympe.j.jb();olympe.j.pj(a,(...f)=>{olympe.j.jb().destroy();e.run(b,...f)},c,d||'syncProxiesOnce')};olympe.j.eb=function(a,b,c,d,e,f){return olympe.j.fb([a],g=>g.valueOf()?b.apply(null,e):c&&c.apply(null,e),d||Object,f||'If')};olympe.j.y0=function(a,b,...c){return a?a.run(b,...c):b(...c)};olympe.j.Z0=function(a){return olympe.j.jb().C(a)};olympe.j.x0=function(a,b,c){olympe.j.hU(a?a.ac:a,b,c)};
347
+ olympe.j.hU=function(a,b,c){if(a){var d=a.xa();null===Zb&&(Zb={});if(Zb[d])olympe.j.Y.log(`Already started node #${d} dump`+(b?`: ${b}`:''));else{Zb[d]=!0;var e=`Starting node #${d} dump`+(b?`: ${b}`:'');c?olympe.j.Y.warn(e):olympe.j.Y.log(e);var f=`#${d}`+(b?`: ${b}`:'')+':';c=olympe.j.createNode(null,g=>{void 0===g?olympe.j.Y.log(f,'undefined'):null===g?olympe.j.Y.log(f,'null'):olympe.j.Y.log(f,String(g))},null,[a],[0],'DataFlowDump');a.onDestroy(()=>{olympe.j.Y.log(`Node #${d} destroyed`+(b?`: ${b}`:
348
+ ''))});c.onDestroy(()=>{delete Zb[d]})}}else olympe.j.Y.log('NOT starting node dump, node is '+String(a))};olympe.j.w0=function(){let a='',b=olympe.j.jb();for(;null!==b;)a+=b.Rb()+' --\x3e ',b=b.getParent();olympe.j.Y.log(a)};
349
+ olympe.j.Da=function(a){if(void 0===a)return olympe.j.aa.ZERO;if(a instanceof olympe.j.aa)return a;a&&a.valueOf&&(a=a.valueOf());if('number'===typeof a){if(isNaN(a))return olympe.j.aa.OI;if(a===Math.PI)return olympe.j.aa.PI;if(Infinity===a)return olympe.j.aa.XP;if(-Infinity===a)return olympe.j.aa.GR;if(isNaN(a))var b=!1;else b=parseFloat(a),b=(b|0)===b;return b&&-1<=a&&100>=a?(olympe.j.qt.has(a)||olympe.j.qt.set(a,new olympe.j.aa(a)),olympe.j.qt.get(a)):new olympe.j.aa(a)}return null};
350
+ olympe.j.ja=function(a){return void 0===a?olympe.j.qb(olympe.j.aa):olympe.j.qb(olympe.j.aa,olympe.j.Rg(a)?a:olympe.j.Da(a))};olympe.j.Bi=olympe.j.aa.animate;olympe.j.M0=function(a,b){return new olympe.j.HO(a,b)};olympe.j.kc=function(a){if(a instanceof olympe.j.mb)return a;a instanceof Object&&(a=a.valueOf());const b=typeof a;if('string'===b||'number'===b||'boolean'===b)return a=String(a),olympe.j.ez.has(a)?olympe.j.ez.get(a):new olympe.j.mb(a)};
351
+ olympe.j.yb=function(a){return void 0===a?olympe.j.qb(olympe.j.mb):olympe.j.qb(olympe.j.mb,olympe.j.Rg(a)?a:olympe.j.kc(a))};olympe.j.Pc=function(a){return a instanceof olympe.j.ka?a:void 0!==a&&null!==a&&a.valueOf()?olympe.j.ka.C:olympe.j.ka.xb};olympe.j.Xc=function(a){return void 0===a?olympe.j.qb(olympe.j.ka):olympe.j.qb(olympe.j.ka,olympe.j.Rg(a)?a:olympe.j.Pc(a))};olympe.j.zW=function(a){if(a instanceof Date)return Ob(a)};
352
+ olympe.j.LW=function(){var a=new Date;return olympe.j.qb(olympe.j.hc,void 0!==a?Ob(a):null)};olympe.j.GN=a=>a instanceof olympe.j.ka||a instanceof olympe.j.aa||a instanceof olympe.j.mb||a instanceof olympe.j.hc;olympe.j.Yc=function(a,b){return olympe.j.qb(olympe.j.ia,void 0===a&&void 0===b?void 0:new olympe.j.ia(a,b))};olympe.j.Wc=function(a,b,c,d){let e;void 0!==a&&(a instanceof olympe.j.Color?e=a:e=olympe.j.Color.create(a,b,c,d));return olympe.j.qb(olympe.j.Color,e)};olympe.j.P0=olympe.j.Wc;
353
+ olympe.j.YT=function(a){olympe.j.Y=a;olympe.j.yt=olympe.j.nl()};olympe.j.nl=function(){olympe.j.oD||(olympe.j.oD=new olympe.j.FJ);return olympe.j.oD};olympe.j.jb=function(){olympe.j.yt||(olympe.j.yt=olympe.j.nl());return olympe.j.yt};olympe.j.VN=function(a){const b=olympe.j.yt;olympe.j.WC(a)&&(olympe.j.yt=a);return b||null};
354
354
  olympe.j.gf=a=>{a='string'===typeof a?JSON.parse(a):a;if(a.type){let b=null;switch(a.type){case 'dateTime':b=olympe.j.hc.gf(a);break;case 'number':b=olympe.j.aa.gf(a);break;case 'string':b=olympe.j.mb.gf(a);break;case 'vector2':b=olympe.j.ia.gf(a);break;case 'color':b=olympe.j.Color.gf(a);break;case 'boolean':b=olympe.j.ka.gf(a)}return b}return null};function ac(a){a.O.Jc()||(a.F.forEach(b=>{b.destroy()}),a.F.clear(),a.U.clear(),a.size.clear(),a.V.clear(),a.C.length=0,a.R.length=0)}function bc(a,b,c){cc(a,c).push(b)}
355
355
  function dc(a){for(var b=a.C.length-1;0<=b&&0===a.C[b].length;b--)a.C.length=b;b=0;let c=a.R.length,d=0,e=a.C.length,f=null;const g=[];for(;b<c||d<e;){const k=d<e&&a.C[d++][0]||b<c&&a.R[b++]||null;if(null===k)break;g.push(k.xa());k.jO(f);f=k}b=g.length-1;a.F.forEach((k,l)=>{g.includes(l)||k.wG()});a.V.update(olympe.j.Da(b));0>b?a.U.clear():a.U.update(a.F.get(g[b]))}
356
356
  function ec(a,b){if(!a.O.Jc()){var c=a.F.get(b);void 0!==c&&(c.Pz()?a.R.splice(a.R.indexOf(c),1):fc(a,c),a.F.delete(b),c.destroy(),dc(a))}}
@@ -358,33 +358,34 @@ function gc(a,b,c=olympe.j.aa.ONE,d){if(a.F.has(b))throw Error('Already existing
358
358
  function fc(a,b){a=cc(a,b.jf());a.splice(a.indexOf(b),1)}function cc(a,b){var c=a.C[b];if(void 0===c){c=b;let d;for(;0<=c&&void 0===d;)a.C[c]=[],c--,d=a.C[c];c=a.C[b]}return c}
359
359
  olympe.j.Qy=class{constructor(){this.O=new olympe.j.Qd('Slot Manager context');this.F=new Map;this.O.run(()=>{this.U=olympe.j.rb(hc,'Last slot manager entry');this.size=Hb(olympe.j.rb(olympe.j.aa,'SlotManager size').repeat(this.U.Ca().EC()),olympe.j.aa.ZERO);this.V=Hb(olympe.j.rb(olympe.j.aa,'last valid slots'),olympe.j.Da(-1))});this.C=[];this.R=[];this.O.onDestroy(()=>{ac(this)})}hd(){return this.size.Ca()}};
360
360
  class hc{constructor(a,b,c,d){this.id=a;this.Ze=new olympe.j.Qd('Slot manager entry');this.F=c;this.R=d;this.Ze.run(()=>{const e=Hb(olympe.j.rb(olympe.j.aa),olympe.j.aa.ZERO);olympe.j.nc(b)?e.repeat(b):e.update(b);this.C=olympe.j.rb(olympe.j.aa);this.O=this.C.Ca().$a(e.Ca())});this.next=null}xa(){return this.id}SM(){return this.C.Ca()}EC(){return this.O}jf(){return this.F}Pz(){return this.R}zO(a){this.F=a}jO(a){null===a?this.C.update(olympe.j.aa.ZERO):(this.C.repeat(a.EC()),a.next=this)}wG(){this.C.clear();
361
- this.next=null}destroy(){this.Ze.destroy();this.O=this.C=this.next=null}}h=hc.prototype;h.xa.K=olympe.j.J.O;h.SM.K=new olympe.j.J(()=>olympe.j.aa);h.EC.K=new olympe.j.J(()=>olympe.j.aa);h.jf.K=olympe.j.J.O;h.Pz.K=olympe.j.J.O;h.zO.K=olympe.j.J.O;h.jO.K=olympe.j.J.O;h.wG.K=olympe.j.J.O;h.destroy.K=olympe.j.J.O;olympe.j.fa={Qb:'df.Logger'};olympe.oa.Fe(a=>{C(a,olympe.j.za.QI,Number.POSITIVE_INFINITY);A(a,olympe.j.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('df'))},'olympe.df');olympe.oa.run([olympe.j.fa.Qb],a=>{olympe.j.XT(a)},'olympe.df');olympe.host={};const ic=new Map,jc=new Map;olympe.host.cd=class{static register(a,b,...c){ic.set(a,b);0<c.length&&jc.set(a,c)}static create(a,b,c,d){const e=ic.get(a);if(void 0===e)throw Error('Undefined UI element type: '+a);a=jc.get(a);return void 0!==a?new e(b,c,...a.map(f=>na(d,f))):new e(b,c)}};function kc(a,b,c){a.Y.debug('CREATE #',b,', type=',c);a.C.set(b,olympe.host.cd.create(c,b,a.Y,a.R))}function lc(a,b,c,...d){const e=a.C.get(b);if(void 0!==e){a.Y.R()<=olympe.ub.Te.C.$o&&a.Y.debug('CALL #'+b+', '+c+'('+Array.prototype.slice.call(d,0)+')');b=[];for(const f of d)if(void 0===f||null===f)b.push(f);else if(olympe.j.nc(f))b.push(a.C.get(f.fL)||null);else if('function'===typeof f){const g=f,k=olympe.j.jb();b.push((...l)=>{k.Jc()||g(...l)})}else b.push(f.valueOf());e[c].apply(e,b)}}
361
+ this.next=null}destroy(){this.Ze.destroy();this.O=this.C=this.next=null}}h=hc.prototype;h.xa.K=olympe.j.J.O;h.SM.K=new olympe.j.J(()=>olympe.j.aa);h.EC.K=new olympe.j.J(()=>olympe.j.aa);h.jf.K=olympe.j.J.O;h.Pz.K=olympe.j.J.O;h.zO.K=olympe.j.J.O;h.jO.K=olympe.j.J.O;h.wG.K=olympe.j.J.O;h.destroy.K=olympe.j.J.O;olympe.j.fa={Qb:'df.Logger'};olympe.oa.Fe(a=>{C(a,olympe.j.za.QI,Number.POSITIVE_INFINITY);A(a,olympe.j.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('df'))},'olympe.df');olympe.oa.run([olympe.j.fa.Qb],a=>{olympe.j.YT(a)},'olympe.df');olympe.host={};const ic=new Map,jc=new Map;olympe.host.cd=class{static register(a,b,...c){ic.set(a,b);0<c.length&&jc.set(a,c)}static create(a,b,c,d){const e=ic.get(a);if(void 0===e)throw Error('Undefined UI element type: '+a);a=jc.get(a);return void 0!==a?new e(b,c,...a.map(f=>na(d,f))):new e(b,c)}};function kc(a,b,c){a.Y.debug('CREATE #',b,', type=',c);a.C.set(b,olympe.host.cd.create(c,b,a.Y,a.R))}function lc(a,b,c,...d){const e=a.C.get(b);if(void 0!==e){a.Y.R()<=olympe.ub.Te.C.$o&&a.Y.debug('CALL #'+b+', '+c+'('+Array.prototype.slice.call(d,0)+')');b=[];for(const f of d)if(void 0===f||null===f)b.push(f);else if(olympe.j.nc(f))b.push(a.C.get(f.fL)||null);else if('function'===typeof f){const g=f,k=olympe.j.jb();b.push((...l)=>{k.Jc()||g(...l)})}else b.push(f.valueOf());e[c].apply(e,b)}}
362
362
  function mc(a,b,c){++a.O;const d=a.O;kc(a,d,c);const e=olympe.j.createNode(b,void 0,void 0,void 0,void 0,'Native('+d+')',!1,function(){var f=arguments.length-2;const g=Array.from({length:f}),k=[],l=arguments[f+1],m=d+'_'+l;this.F.has(m)&&this.F.get(m).destroy();for(let n=0;n<f;n++){let p=arguments[n];olympe.j.nc(p)?(k.push(n),p=p.ac):olympe.j.Hm(p)&&k.push(n);g[n]=p}0===k.length?e.run(()=>{lc(this,d,l,...g)}):(f=olympe.j.createNode(void 0,(...n)=>{e.run(()=>{lc(this,d,l,...n)})},void 0,g,k,'Native('+
363
363
  d+').'+l),this.F.set(m,f),f.onDestroy(()=>this.F.delete(m)));return null}.bind(a));e.Sd(a.U.bind(a,d));a=nb(e);a.fL=d;lb(e,a);return a}olympe.host.lb=class{constructor(a,b){this.Y=a;this.R=b;this.O=0;this.C=new Map;this.F=new Map;a.debug('Starting host manager')}Gb(){return this.Y}U(a){this.Y.debug('DESTROY #',a);const b=this.C.get(a);this.C.delete(a);b.destroy()}};function R(a,b){return a.tC.run(b)}function nc(a,b){return a.tC.C(b)}olympe.host.Pi=class{constructor(a){this.dD=a;this.tC=olympe.j.jb()}LC(){return this.dD}ug(){return this.dD.ac.ug()||this.tC.ug()}Jc(){return this.dD.ac.Jc()}};olympe.host.Pi.prototype.LC.K=new olympe.j.J(()=>olympe.host.ra.Pi,[]);olympe.host.Sy=class{C(){}Bl(){}};olympe.host.sp=class{constructor(){}U(){}C(){}F(){}ql(){}};function oc(a,b){const c=new Map(a.map(d=>[d.Oa(),d]));b.forEach(d=>c.set(d.Oa(),d));return Array.from(c.values())}function pc(a){a=a.filter(b=>!b.pl()).map(b=>b.Oa()+'='+b.getValue()).join('&');return''===a?'':'#'+a}function qc(a){return(a=a.find(b=>'authToken'===b.Oa()))?a.getValue():null}
364
364
  olympe.host.sp.F=class{constructor(a,b,c=!1){this.name=a;this.value=b;this.hidden=c}Oa(){return this.name}getValue(){return this.value}pl(){return this.hidden}Oc(a){return this.Oa()===a.Oa()&&this.getValue()===a.getValue()&&this.pl()===a.pl()}};function rc(a){const b=a.parameters;return new olympe.host.sp.C(a.internalIndex,a.externalIndex,b?b.map(c=>new olympe.host.sp.F(c.name,c.value,c.hidden)):[])}
365
365
  function sc(a,b){a=a.parameters;if(a.length!==b.length)return!1;const c=new Map(a.map(d=>[d.Oa(),d]));return!b.some(d=>c.has(d.Oa())?!d.Oc(c.get(d.Oa())):!0)}olympe.host.sp.C=class{constructor(a,b,c){this.F=a;this.C=b;this.parameters=c}Uz(a){const b=new Map(this.parameters.map((c,d)=>[c.Oa(),d]));a.parameters.forEach(c=>{b.has(c.Oa())?this.parameters[b.get(c.Oa())]=c:this.parameters.push(c)})}};function tc(a,b){var c=olympe.host.ul;const d=olympe.pa.we(),e=new olympe.j.Qd('onTimeout context');c.C.ga(b,d,()=>{e.Jc()||e.ug()||e.run(a);c.C.O(d)});return new olympe.host.nh.O(c.C,d)}function uc(a){var b=olympe.host.ul;a=a instanceof olympe.host.nh.O?a.xa():a;b.C.O(a)}function vc(a,b){var c=olympe.host.ul;const d=olympe.pa.we(),e=new olympe.j.Qd('onInterval context');c.C.V(b,d,()=>{e.Jc()||e.ug()?c.C.F(d):e.run(a)});return new olympe.host.nh.F(c.C,d)}
366
- function wc(a){var b=olympe.host.ul;a=a instanceof olympe.host.nh.F?a.xa():a;b.C.F(a)}olympe.host.nh=class{constructor(a){this.C=mc(a,olympe.host.ra.nh,olympe.host.ra.ob.AK)}};olympe.host.nh.C=class{constructor(a,b){this.ul=a;this.id=b}xa(){return this.id}cancel(){}};olympe.host.nh.R=class extends olympe.host.nh.C{cancel(){this.ul.U(this.id)}};olympe.host.nh.O=class extends olympe.host.nh.C{cancel(){this.ul.O(this.id)}};olympe.host.nh.F=class extends olympe.host.nh.C{cancel(){this.ul.F(this.id)}};olympe.host.ra={};olympe.host.ra.Pi=class{destroy(){}};olympe.host.ra.Pi.prototype.destroy=olympe.host.ra.Pi.prototype.destroy;olympe.host.ra.ob={tE:100,MO:101,hY:102,vE:103,uE:104,gY:105,QJ:201,My:202,HS:204,m_:205,OJ:206,PJ:207,RJ:208,SJ:209,TJ:210,UJ:211,QB:212,l_:218,k_:219,VJ:220,NJ:221,MJ:222,w_:300,x_:301,y_:302,gK:303,C_:304,D_:305,z_:310,A_:311,B_:312,NZ:400,OZ:401,PZ:402,HZ:450,HI:500,FI:501,JI:502,II:503,GI:504,DR:505,W_:600,N_:601,R_:602,J_:603,K_:604,H_:605,M_:606,b0:607,U_:608,E_:609,I_:610,L_:611,T_:612,Y_:613,F_:614,X_:615,S_:616,a0:617,O_:618,P_:619,Q_:620,V_:630,G_:631,Z_:632,$_:633,YK:700,BK:701,CK:702,
366
+ function wc(a){var b=olympe.host.ul;a=a instanceof olympe.host.nh.F?a.xa():a;b.C.F(a)}olympe.host.nh=class{constructor(a){this.C=mc(a,olympe.host.ra.nh,olympe.host.ra.ob.AK)}};olympe.host.nh.C=class{constructor(a,b){this.ul=a;this.id=b}xa(){return this.id}cancel(){}};olympe.host.nh.R=class extends olympe.host.nh.C{cancel(){this.ul.U(this.id)}};olympe.host.nh.O=class extends olympe.host.nh.C{cancel(){this.ul.O(this.id)}};olympe.host.nh.F=class extends olympe.host.nh.C{cancel(){this.ul.F(this.id)}};olympe.host.ra={};olympe.host.ra.Pi=class{destroy(){}};olympe.host.ra.Pi.prototype.destroy=olympe.host.ra.Pi.prototype.destroy;olympe.host.ra.ob={tE:100,MO:101,iY:102,vE:103,uE:104,hY:105,QJ:201,My:202,IS:204,n_:205,OJ:206,PJ:207,RJ:208,SJ:209,TJ:210,UJ:211,QB:212,m_:218,l_:219,VJ:220,NJ:221,MJ:222,x_:300,y_:301,z_:302,gK:303,D_:304,E_:305,A_:310,B_:311,C_:312,OZ:400,PZ:401,QZ:402,IZ:450,HI:500,FI:501,JI:502,II:503,GI:504,ER:505,X_:600,O_:601,S_:602,K_:603,L_:604,I_:605,N_:606,c0:607,V_:608,F_:609,J_:610,M_:611,U_:612,Z_:613,G_:614,Y_:615,T_:616,b0:617,P_:618,Q_:619,R_:620,W_:630,H_:631,$_:632,a0:633,YK:700,BK:701,CK:702,
367
367
  DK:703,FK:704,GK:705,HK:706,EK:707,JK:708,IK:709,KK:710,OK:711,WK:712,LK:713,MK:714,PK:715,QK:716,SK:717,TK:718,VK:719,RK:720,UK:721,XK:722,NK:723,ZK:724,$K:725,AK:800};olympe.host.ra.nh=class{U(){}ga(){}O(){}V(){}F(){}};olympe.host.fa={RB:'host.System',XA:'host.HistoryManager',HJ:'host.Scheduler',Qb:'host.platform.Logger',sb:'host.Manager'};olympe.host.ul=null;olympe.oa.Fe(function(a){wa(a,olympe.host.fa.RB);wa(a,olympe.host.fa.XA);A(a,olympe.host.fa.Qb,[olympe.ub.fa.sb],function(b){return b.Pg('host')});z(a,olympe.host.fa.sb,olympe.host.lb,olympe.host.fa.Qb,olympe.oa.fa.xn);A(a,olympe.host.fa.HJ,[olympe.host.fa.sb],b=>{null===olympe.host.ul&&(olympe.host.ul=new olympe.host.nh(b));return olympe.host.ul},!0)},'olympe.host');
368
368
  olympe.oa.run([olympe.host.fa.HJ],a=>a,'olympe.host.scheduler');olympe.oa.run([olympe.host.fa.sb],a=>a,'olympe.host');olympe.G.H.host={};olympe.G.H.host.Pi=class{constructor(a,b){this.uid=a;this.Y=b}destroy(){}Gb(){return this.Y}};olympe.G.H.host.Pi.prototype.destroy=olympe.G.H.host.Pi.prototype.destroy;olympe.G.H.host.Pi.ua=[olympe.host.ra.Pi];olympe.G.H.host.Sy=class{constructor(){}C(){window.location.reload()}Bl(a,b){b&&b('Not Available')}};olympe.G.H.host.Sy.ua=[olympe.host.Sy];function xc(a){const b=a.C();a.R.update(olympe.j.Da(b.F));a.O.update(olympe.j.Da(b.C))}function yc(a,b,c){var d=a.C();let e;var f=olympe.j.Ua(a.R.Ca()).valueOf();let g=olympe.j.Ua(a.O.Ca()).valueOf();a.Y.debug('Replacing current state in history stack');e=(k,l)=>{history.replaceState(k,'',l)};b=c?oc(d.parameters,b):b;sc(d,b)?a.Y.debug('History state already defined'):(d=new olympe.host.sp.C(f,g,b),f=new URL(location.href),f.hash=pc(b),e(d,f),xc(a))}
369
- olympe.G.H.host.aG=class{constructor(a){this.Y=a;this.R=olympe.j.rb(olympe.j.aa,'historyIndexFlowSource');this.O=olympe.j.rb(olympe.j.aa,'historyBrowserStackIndexFlowSource');xc(this);window.onpopstate=b=>{b=b.state;this.U(b?rc(b):null)}}ql(){return!0}U(){xc(this)}C(){var a=Array.from(olympe.pa.LW().entries()).map(([b,c])=>new olympe.host.sp.F(b,c));a=new olympe.host.sp.C(-1,history.length-2,a);if(history.state){const b=rc(history.state);b.Uz(a);return b}return a}F(a,b=!0){yc(this,a,b)}};
370
- olympe.G.H.host.aG.ua=[olympe.host.sp];olympe.G.H.host.nh=class{constructor(){this.C=new Map;this.R=new Map}destroy(){}U(a){this.C.has(a)&&(clearTimeout(this.C.get(a)),this.C.delete(a))}ga(a,b,c){this.C.set(b,setTimeout(c,a))}O(a){this.C.has(a)&&(clearTimeout(this.C.get(a)),this.C.delete(a))}V(a,b,c){this.R.set(b,setInterval(c,a))}F(a){this.R.has(a)&&(clearInterval(this.R.get(a)),this.R.delete(a))}};olympe.host.cd.register(olympe.host.ra.ob.AK,olympe.G.H.host.nh);olympe.G.H.host.nh.ua=[olympe.host.ra.nh];olympe.oa.Fe(function(a){ua(a,olympe.host.fa.XA,olympe.G.H.host.aG,olympe.host.fa.Qb);ua(a,olympe.host.fa.RB,olympe.G.H.host.Sy)},'olympe.native.html.host');olympe.Nb={};olympe.Nb.Cf={};olympe.Nb.Cf.ov={vv:'POST',GET:'GET',NP:'HEAD',iJ:'PUT',hh:'DELETE',TR:'OPTIONS',RZ:'PATCH'};olympe.Nb.Cf.ResponseType={Ty:'text',wE:'blob',ARRAY_BUFFER:'arraybuffer'};olympe.Nb.Cf.Headers={YE:'content-type',pY:'content-length',AA:'authorization',aY:'access-control-allow-origin'};olympe.Nb.Cf.qY={ZA:'text/html',JSON:'application/json',m0:'application/zip'};olympe.Nb.Cf.fm={RO:0,CB:200,OE:201,Dx:202,fY:400,aT:401,gZ:403,JZ:404,zZ:405,d_:500,xS:503};function zc(a){return a.host&&encodeURI(a.host)}function Ac(a){return encodeURI(a.path).replace(olympe.Nb.cz.C,(b,c)=>'%'+c)}olympe.Nb.cz=class{constructor(a,b,c,d){this.host='localhost';this.port=80;this.path='';this.C=!1;void 0!==a&&(this.host=a);void 0!==b&&(this.port=b);void 0!==c&&this.qs(c);void 0!==d&&(this.C=d)}qs(a){this.path=a.replace(/^\/+/,'')}sh(){return`${(void 0===this.C?443===this.port:this.C)?'wss':'ws'}://${zc(this)}:${this.port}/${Ac(this)}`}toString(){return`${zc(this)}:${this.port}/${Ac(this)}`}};
369
+ olympe.G.H.host.aG=class{constructor(a){this.Y=a;this.R=olympe.j.rb(olympe.j.aa,'historyIndexFlowSource');this.O=olympe.j.rb(olympe.j.aa,'historyBrowserStackIndexFlowSource');xc(this);window.onpopstate=b=>{b=b.state;this.U(b?rc(b):null)}}ql(){return!0}U(){xc(this)}C(){var a=Array.from(olympe.pa.MW().entries()).map(([b,c])=>new olympe.host.sp.F(b,c));a=new olympe.host.sp.C(-1,history.length-2,a);if(history.state){const b=rc(history.state);b.Uz(a);return b}return a}F(a,b=!0){yc(this,a,b)}};
370
+ olympe.G.H.host.aG.ua=[olympe.host.sp];olympe.G.H.host.nh=class{constructor(){this.C=new Map;this.R=new Map}destroy(){}U(a){this.C.has(a)&&(clearTimeout(this.C.get(a)),this.C.delete(a))}ga(a,b,c){this.C.set(b,setTimeout(c,a))}O(a){this.C.has(a)&&(clearTimeout(this.C.get(a)),this.C.delete(a))}V(a,b,c){this.R.set(b,setInterval(c,a))}F(a){this.R.has(a)&&(clearInterval(this.R.get(a)),this.R.delete(a))}};olympe.host.cd.register(olympe.host.ra.ob.AK,olympe.G.H.host.nh);olympe.G.H.host.nh.ua=[olympe.host.ra.nh];olympe.oa.Fe(function(a){ua(a,olympe.host.fa.XA,olympe.G.H.host.aG,olympe.host.fa.Qb);ua(a,olympe.host.fa.RB,olympe.G.H.host.Sy)},'olympe.native.html.host');olympe.Nb={};olympe.Nb.Cf={};olympe.Nb.Cf.ov={vv:'POST',GET:'GET',NP:'HEAD',iJ:'PUT',hh:'DELETE',UR:'OPTIONS',SZ:'PATCH'};olympe.Nb.Cf.ResponseType={Ty:'text',wE:'blob',ARRAY_BUFFER:'arraybuffer'};olympe.Nb.Cf.Headers={YE:'content-type',qY:'content-length',AA:'authorization',bY:'access-control-allow-origin'};olympe.Nb.Cf.rY={ZA:'text/html',JSON:'application/json',n0:'application/zip'};olympe.Nb.Cf.fm={RO:0,CB:200,OE:201,Dx:202,gY:400,bT:401,hZ:403,KZ:404,AZ:405,e_:500,yS:503};function zc(a){return a.host&&encodeURI(a.host)}function Ac(a){return encodeURI(a.path).replace(olympe.Nb.cz.C,(b,c)=>'%'+c)}olympe.Nb.cz=class{constructor(a,b,c,d){this.host='localhost';this.port=80;this.path='';this.C=!1;void 0!==a&&(this.host=a);void 0!==b&&(this.port=b);void 0!==c&&this.qs(c);void 0!==d&&(this.C=d)}qs(a){this.path=a.replace(/^\/+/,'')}sh(){return`${(void 0===this.C?443===this.port:this.C)?'wss':'ws'}://${zc(this)}:${this.port}/${Ac(this)}`}toString(){return`${zc(this)}:${this.port}/${Ac(this)}`}};
371
371
  olympe.Nb.cz.C=/%25([0-9a-f]{2})/i;olympe.Nb.WebSocket=class{send(){}close(){}$(){}ga(){}U(){}};function Bc(a,b,c,d){a=olympe.pa.MN(a.valueOf());if(!a.host&&!a.path)return null;const e=a.scheme?a.scheme.includes('s'):!1;b=new olympe.Nb.dB(a.host,a.port||(e?443:80),a.path||'',e,b,c,d,a.query||void 0);a.AO&&(c=a.AO.split(':'),2===c.length&&(c=olympe.pa.mk().C(La(`${c[0]}:${c[1]}`)),Cc(b,{Authorization:`Basic ${c}`})));return b}function Dc(a){return void 0!==a.query?a.query.replace(/[^=&]+/g,b=>encodeURIComponent(b)):null}
372
372
  function Cc(a,b){for(let c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a.headers[c]=b[c])}olympe.Nb.dB=class extends olympe.Nb.cz{constructor(a,b,c,d,e,f,g,k){super(a,b,c,d);this.method=void 0!==e?e:olympe.Nb.Cf.ov.GET;this.query=k;this.headers={};this.body=f;this.F=void 0!==g?g:olympe.Nb.Cf.ResponseType.Ty;this.key=null}sh(){let a=Dc(this);a=a?`?${a}`:'';return zc(this)?`${(void 0===this.C?443===this.port:this.C)?'https':'http'}://${zc(this)}:${this.port}/${Ac(this)}${a}`:`${Ac(this)}${a}`}toString(){return this.sh()}};
373
- olympe.Nb.dB.ov={vv:'POST',GET:'GET',NP:'HEAD',iJ:'PUT',hh:'DELETE',TR:'OPTIONS'};olympe.Nb.TP=class{constructor(a,b,c,d){this.data=a;this.status=void 0===b?200:b;this.statusText=void 0===c?'':c;this.headers=void 0===d?{}:d}};function Ec(a,b,c){const d=olympe.j.jb(),e=d.onDestroy(()=>{var f=a.F();const g=f.C.get(b);g&&(f.C.delete(b),g())});return d.C(f=>{d.rl(e);a.F().C.delete(b);c(f)})}olympe.Nb.lb=class{constructor(a){this.Y=a;this.O=1;a='Initializing NET layer';this.Y.O()&&(a+=' (implementation: '+this.U()+')');this.Y.info(a);this.Y.log('DONE initializing NET layer (ready to receive connection requests)')}F(){}ga(){}C(){}R(){}U(){}};function Fc(a){return!(!a.C||!a.C.connected)}function Gc(a,b,c){a.connect();a.C.subscribe(b,void 0,d=>{d?a.Y.error(`Failed to subscribe to topic ${b}: ${d}`):a.F.set(b,c)})}function Hc(a,b,c){a.connect();a.C.unsubscribe(b,void 0,c);a.F.delete(b)}
374
- olympe.Nb.xy=class{constructor(a,b){this.url=a;this.options=b||null;this.C=null;this.O=[];this.F=new Map;this.Y=olympe.ub.Gb('MQTT')}connect(a){if(Fc(this))return a&&a(),this;a&&this.O.push(a);null===this.C&&(this.C=mqtt.connect(this.url,this.options),this.C.on(olympe.Nb.xy.Sa.ER,(b,c)=>{this.F.has(b)?this.F.get(b)(JSON.parse(c.toString())):this.Y.warn('There is no subscriber for topic '+b)}),this.C.on(olympe.Nb.xy.Sa.XO,()=>this.O.forEach(b=>b())));return this}publish(a,b,c,d){this.connect();this.C.publish(a,
375
- JSON.stringify(b),c,e=>{d&&d(e);e&&this.Y.error('Failed to publish a message '+b)});return this}end(a,b){this.C&&this.C.end(a,{},()=>{b&&b();this.C=null});return this}};olympe.Nb.xy.Sa={XO:'connect',ER:'message',kY:'close',CY:'end'};olympe.Nb.jT=class{constructor(a){this.Y=a}};olympe.Nb.fa={sb:'net.Manager',Qb:'net.Logger',gT:'net.WebServer'};olympe.Nb.za={cG:'net.httpHost',dG:'net.httpPort',eG:'net.httpSSL'};olympe.oa.Fe(function(a){const b='object'===typeof window&&window.location&&window.location.hostname||'localhost',c='localhost'===b;C(a,olympe.Nb.za.cG,b);C(a,olympe.Nb.za.dG,c?3141:443);C(a,olympe.Nb.za.eG,!c);wa(a,olympe.Nb.fa.sb);A(a,olympe.Nb.fa.Qb,[olympe.ub.fa.sb],function(d){return d.Pg('net')});z(a,olympe.Nb.fa.gT,olympe.Nb.jT,olympe.Nb.fa.Qb)},'olympe.net');olympe.Nb.Qg={};olympe.Nb.Qg.eB=class{constructor(a){this.Y=a;this.C=new Map}O(){}F(){}};function Ic(a,b){const c=`#${a.id}`,d=a.V(b);d.binaryType='arraybuffer';d.onopen=()=>{a.Y.info('Websocket OPENED');a.R?(a.Y.debug('Notifying upper layer for WebSocket',c),a.R()):a.Y.warn('Nothing to notify for WebSocket',c);a.Y.debug(c,`Send all buffered messages (n=${a.buffer.length}).`);a.buffer.forEach(d.send.bind(d));a.buffer.length=0};d.onmessage=e=>{e='string'===typeof e.data?String(e.data):Ma(e.data);a.Y.debug(c,'<',e);a.F&&a.F(e)};d.onclose=()=>{a.Y.debug(`WebSocket ${c} CLOSED`);a.O&&a.O()};
373
+ olympe.Nb.dB.ov={vv:'POST',GET:'GET',NP:'HEAD',iJ:'PUT',hh:'DELETE',UR:'OPTIONS'};olympe.Nb.UP=class{constructor(a,b,c,d){this.data=a;this.status=void 0===b?200:b;this.statusText=void 0===c?'':c;this.headers=void 0===d?{}:d}};function Ec(a,b,c){const d=olympe.j.jb(),e=d.onDestroy(()=>{var f=a.F();const g=f.C.get(b);g&&(f.C.delete(b),g())});return d.C(f=>{d.rl(e);a.F().C.delete(b);c(f)})}olympe.Nb.lb=class{constructor(a){this.Y=a;this.O=1;a='Initializing NET layer';this.Y.O()&&(a+=' (implementation: '+this.U()+')');this.Y.info(a);this.Y.log('DONE initializing NET layer (ready to receive connection requests)')}F(){}ga(){}C(){}R(){}U(){}};function Fc(a){return!(!a.C||!a.C.connected)}function Gc(a,b,c){a.connect();a.C.subscribe(b,void 0,d=>{d?a.Y.error(`Failed to subscribe to topic ${b}: ${d}`):a.F.set(b,c)})}function Hc(a,b,c){a.connect();a.C.unsubscribe(b,void 0,c);a.F.delete(b)}
374
+ olympe.Nb.xy=class{constructor(a,b){this.url=a;this.options=b||null;this.C=null;this.O=[];this.F=new Map;this.Y=olympe.ub.Gb('MQTT')}connect(a){if(Fc(this))return a&&a(),this;a&&this.O.push(a);null===this.C&&(this.C=mqtt.connect(this.url,this.options),this.C.on(olympe.Nb.xy.Sa.FR,(b,c)=>{this.F.has(b)?this.F.get(b)(JSON.parse(c.toString())):this.Y.warn('There is no subscriber for topic '+b)}),this.C.on(olympe.Nb.xy.Sa.XO,()=>this.O.forEach(b=>b())));return this}publish(a,b,c,d){this.connect();this.C.publish(a,
375
+ JSON.stringify(b),c,e=>{d&&d(e);e&&this.Y.error('Failed to publish a message '+b)});return this}end(a,b){this.C&&this.C.end(a,{},()=>{b&&b();this.C=null});return this}};olympe.Nb.xy.Sa={XO:'connect',FR:'message',lY:'close',DY:'end'};olympe.Nb.kT=class{constructor(a){this.Y=a}};olympe.Nb.fa={sb:'net.Manager',Qb:'net.Logger',hT:'net.WebServer'};olympe.Nb.za={cG:'net.httpHost',dG:'net.httpPort',eG:'net.httpSSL',RP:'net.httpBodyLimit'};
376
+ olympe.oa.Fe(function(a){const b='object'===typeof window&&window.location&&window.location.hostname||'localhost',c='localhost'===b;C(a,olympe.Nb.za.cG,b);C(a,olympe.Nb.za.dG,c?3141:443);C(a,olympe.Nb.za.eG,!c);C(a,olympe.Nb.za.RP,100);wa(a,olympe.Nb.fa.sb);A(a,olympe.Nb.fa.Qb,[olympe.ub.fa.sb],function(d){return d.Pg('net')});z(a,olympe.Nb.fa.hT,olympe.Nb.kT,olympe.Nb.fa.Qb)},'olympe.net');olympe.Nb.Qg={};olympe.Nb.Qg.eB=class{constructor(a){this.Y=a;this.C=new Map}O(){}F(){}};function Ic(a,b){const c=`#${a.id}`,d=a.V(b);d.binaryType='arraybuffer';d.onopen=()=>{a.Y.info('Websocket OPENED');a.R?(a.Y.debug('Notifying upper layer for WebSocket',c),a.R()):a.Y.warn('Nothing to notify for WebSocket',c);a.Y.debug(c,`Send all buffered messages (n=${a.buffer.length}).`);a.buffer.forEach(d.send.bind(d));a.buffer.length=0};d.onmessage=e=>{e='string'===typeof e.data?String(e.data):Ma(e.data);a.Y.debug(c,'<',e);a.F&&a.F(e)};d.onclose=()=>{a.Y.debug(`WebSocket ${c} CLOSED`);a.O&&a.O()};
376
377
  d.onerror=()=>{a.Y.debug(`WebSocket ${c} ERROR`)};a.C=d}
377
378
  olympe.Nb.Qg.WebSocket=class{constructor(a,b){this.Y=b;this.id=a;this.C=null;this.buffer=[];this.F=this.O=this.R=null;this.dd=olympe.pa.mk()}xa(){return this.id}send(a){const b=`#${this.id}`;if(null!==this.C){const c=this.C.constructor;switch(this.C.readyState){case c.OPEN:this.Y.debug(b,'>',a);this.C.send(a);break;case c.CONNECTING:this.Y.debug(b,'- Connecting: BUFFER','>',a);this.buffer.push(a);break;default:return this.Y.debug(b,'- Closed','>',a),!1}}else this.Y.debug(b,'- Not opened yet: BUFFER',
378
- '>',a),this.buffer.push(a);return!0}close(){if(null!==this.C){const a=this.C.constructor,b=this.C.readyState;if(b===a.OPEN||b===a.CONNECTING){this.Y.debug(`Force closing native websocket ${`#${this.id}`}`);this.C.close(1E3);return}}this.Y.debug('Try to force close native websocket, but not open nor connecting')}$(a){this.R=a||null}ga(a){this.F=a||null}U(a){this.O=a||null}V(){}};olympe.Nb.Qg.WebSocket.ua=[olympe.Nb.WebSocket];olympe.G.H.Nb={};olympe.G.H.Nb.PR=class extends olympe.Nb.lb{constructor(a,b){super(a,b);this.Ze=new olympe.j.Qd('NetManager context');this.V=new olympe.G.H.Nb.eB(a)}U(){return'Progressive web app'}ga(a){a=a.sh();var b=this.O++;this.Y.O()?this.Y.log('Received websocket request. Opening Websocket #'+b+' to '+a):this.Y.log('Received websocket request to ',a);b=new olympe.G.H.Nb.QP(b,this.Y);Ic(b,a);return b}R(a,b,c){olympe.j.nc(a)&&(a=olympe.j.Ua(a));const d=(f,g)=>{const k=document.createElement('a');k.setAttribute('href',
379
+ '>',a),this.buffer.push(a);return!0}close(){if(null!==this.C){const a=this.C.constructor,b=this.C.readyState;if(b===a.OPEN||b===a.CONNECTING){this.Y.debug(`Force closing native websocket ${`#${this.id}`}`);this.C.close(1E3);return}}this.Y.debug('Try to force close native websocket, but not open nor connecting')}$(a){this.R=a||null}ga(a){this.F=a||null}U(a){this.O=a||null}V(){}};olympe.Nb.Qg.WebSocket.ua=[olympe.Nb.WebSocket];olympe.G.H.Nb={};olympe.G.H.Nb.QR=class extends olympe.Nb.lb{constructor(a,b){super(a,b);this.Ze=new olympe.j.Qd('NetManager context');this.V=new olympe.G.H.Nb.eB(a)}U(){return'Progressive web app'}ga(a){a=a.sh();var b=this.O++;this.Y.O()?this.Y.log('Received websocket request. Opening Websocket #'+b+' to '+a):this.Y.log('Received websocket request to ',a);b=new olympe.G.H.Nb.QP(b,this.Y);Ic(b,a);return b}R(a,b,c){olympe.j.nc(a)&&(a=olympe.j.Ua(a));const d=(f,g)=>{const k=document.createElement('a');k.setAttribute('href',
379
380
  f);k.setAttribute('download',g||'downloaded_file');document.body.appendChild(k);k.click();document.body.removeChild(k)};if(a instanceof olympe.dm.File){c=olympe.dc.cc();var e=c.kd(a,olympe.dm.File.urlProp);const f=c.kd(a,olympe.dm.File.F);b=b||c.name(a)||'new_file';e&&!e.startsWith('blob:')&&f?a.Hr(g=>{d(g,b)}):e&&d(e,b)}else if('string'===typeof a.valueOf()||a instanceof Blob)'string'===typeof a.valueOf()?e=new Blob([a.valueOf()],{type:c||'text;charset=utf-8;'}):e=a,window&&window.navigator&&window.navigator.msSaveOrOpenBlob?
380
381
  window.navigator.msSaveOrOpenBlob(e,b||'downloaded_file'):(a=URL.createObjectURL(e),d(a,b),URL.revokeObjectURL(a));else throw Error('Try to download a file which is neither a string, Blob or a File instance');}C(a,b){this.Y.debug('SEND HTTP '+a.method+' to '+a.sh());const c=this.O++;b=Ec(this,c,b);this.V.O(c,{u:a.sh(),m:a.method,h:a.headers,b:a.body,r:a.F},b)}F(){return this.V}};olympe.G.H.Nb.eB=class extends olympe.Nb.Qg.eB{O(a,b,c){const d=new XMLHttpRequest,e=b.u,f=b.m,g=b.h,k=b.b;b=b.r;this.C.set(a,()=>{d.abort()});d.onloadend=()=>{c(this.F(d.status,d.statusText,d.response,d.getAllResponseHeaders()))};d.onerror=l=>{c(this.F(0,'Conection refused','Error connecting to '+e+' with method '+f+', status = '+l.target.status+', text = '+l.target.statusText,''))};d.responseType=b;d.open(f,e);if(g)for(const l in g)Object.prototype.hasOwnProperty.call(g,l)&&d.setRequestHeader(l,
381
- g[l]);d.send(k)}F(a,b,c,d){this.Y.debug('Received HTTP response',a,c);let e={},f=/([^:]+)\s*:\s*(.+)\r?\n/g,g;for(;null!==(g=f.exec(d));)e[g[1]]=g[2];return new olympe.Nb.TP(c,a,b,e)}};olympe.G.H.Nb.QP=class extends olympe.Nb.Qg.WebSocket{V(a){return new WebSocket(a)}};olympe.G.H.Nb.za={j0:'native.html.net.useWorkers'};olympe.oa.Fe(function(a){ua(a,olympe.Nb.fa.sb,olympe.G.H.Nb.PR,olympe.Nb.fa.Qb,olympe.host.fa.sb)},'olympe.native.html.net');olympe.async={};function Jc(a,b){0<=b&&(a.timeout=b)}function Kc(a,b){a.O||a.Bh.push(a.ga.C(b))}
382
+ g[l]);d.send(k)}F(a,b,c,d){this.Y.debug('Received HTTP response',a,c);let e={},f=/([^:]+)\s*:\s*(.+)\r?\n/g,g;for(;null!==(g=f.exec(d));)e[g[1]]=g[2];return new olympe.Nb.UP(c,a,b,e)}};olympe.G.H.Nb.QP=class extends olympe.Nb.Qg.WebSocket{V(a){return new WebSocket(a)}};olympe.G.H.Nb.za={k0:'native.html.net.useWorkers'};olympe.oa.Fe(function(a){ua(a,olympe.Nb.fa.sb,olympe.G.H.Nb.QR,olympe.Nb.fa.Qb,olympe.host.fa.sb)},'olympe.native.html.net');olympe.async={};function Jc(a,b){0<=b&&(a.timeout=b)}function Kc(a,b){a.O||a.Bh.push(a.ga.C(b))}
382
383
  olympe.async.zF=class{constructor(a,b=void 0===a){this.C=[];this.Bh=[];this.ga=a||new olympe.j.Qd('Async executor context');this.na=b;this.F=null;this.R=new Map;this.R.set('Executor',this);this.O=this.U=!1;this.Y=null;this.V=this.timeout=0}Gb(){return this.Y}add(a){this.O||this.C.push(this.ga.C(a));return this}start(){this.U||(this.Y&&this.Y.log('Executor started.'),this.U=!0,0<this.timeout&&(this.V=setTimeout(()=>{this.F='Timeout expired.';this.V=0;this.complete(!1)},this.timeout)))}clear(){this.C=
383
384
  [];this.Bh=[];this.R.clear();this.na&&this.ga.destroy()}complete(a){if(!this.O){this.O=!0;this.V&&(clearTimeout(this.V),this.V=0);this.Y&&this.Y.log(a?'Executor completed successfully':`Executor completed with error: ${this.F}`);for(const b of this.Bh)b(a,a?null:this.F,this.R);this.clear()}}getContext(){return this.ga}};
384
385
  olympe.async.Py=class extends olympe.async.zF{static create(){return new olympe.async.Py(new olympe.j.Qd('SequencedExecutor'),!0)}start(){this.U||(super.start(),this.continue())}continue(){if(0<this.C.length){const a=this.C.shift();this.Y&&this.Y.log(`Executing next task. ${this.C.length} tasks left in the pipeline.`);this.getContext().run(()=>{a(()=>{Promise.resolve().then(()=>{this.continue()})},b=>{b&&(this.F=b);this.complete(!1)},this.R)})}else this.complete(!0)}};
385
386
  olympe.async.Bp=class extends olympe.async.zF{constructor(a,b){super(a,b);this.$=0;this.ca=!0}static create(){return new olympe.async.Bp(new olympe.j.Qd('ParallelExecutor'),!0)}run(a){this.Y&&this.Y.log('Starting a task');this.getContext().run(()=>{a(()=>{this.done()},b=>{this.ca=!1;b&&(this.F=this.F?`${this.F}. ${b}`:b);this.done()},this.R)})}add(a){super.add(a);this.U&&!this.O&&(this.$++,this.run(a));return this}done(){this.$--;0>=this.$&&this.complete(this.ca)}start(){if(!this.U)if(super.start(),
386
- 0<this.C.length){this.$=this.C.length;for(const a of this.C)this.run(a)}else this.complete(!0)}};olympe.He={};olympe.He.nR=class{constructor(){}set(){}get(){}forEach(){}remove(){}clear(){}close(){}};olympe.He.mR=class{constructor(){}C(){}};olympe.He.Storage=class{O(){}V(){}write(){}R(){}U(){}C(){}close(){}};function Lc(a,b,c,d){a.storage.O(b,'results',e=>{e=olympe.dc.query.Os.gf(e);c(e)},d)}function Mc(a,b){a.storage.O('context','queries',c=>{c=JSON.parse(c);const d=olympe.dc.xj.gf(c);b(c.destination,d)})}function Nc(a,b,c,d,e){a.storage.write(b,'transactions',c.toJSON(),'text/json',d,e)}function Oc(a,b,c){a.storage.R('transactions',(d,e)=>{e=olympe.dc.db.fg.gf(e);b(d,e)},c)}function Pc(a,b,c,d){a.storage.C('transactions',b,c,d)}
387
- function Qc(a,b,c,d,e,f){a.storage.write(b,'files',c,d,()=>{e('files/'+b)},f)}function Rc(a,b,c,d,e){a.storage.V(b,'files',c,d,e)}function Sc(a,b){a.storage.U('files',c=>{b(c)})}olympe.He.kP=class{constructor(a){this.storage=a}};olympe.He.fa={ty:'localStorage.KeyValueManager',Av:'localStorage.Storage',bF:'localStorage.DatacloudStorage',Qb:'localStorage.Logger'};olympe.oa.Fe(function(a){wa(a,olympe.He.fa.ty);A(a,olympe.He.fa.Qb,[olympe.ub.fa.sb],function(b){return b.Pg('localstorage')});z(a,olympe.He.fa.bF,olympe.He.kP,olympe.He.fa.Av)},'olympe.localstorage');olympe.Aa={};olympe.Aa.PS=class{U(){}R(){}Ba(){}ga(){}fs(){}Rr(){}DM(){}};function Tc(a){a.Y.info('Initializing AUTH layer');let b=a.cb;if(a.$){const c=a.$.C(),d=qc(c.parameters);b=d||b;d&&a.$.F(c.parameters.filter(e=>'authToken'!==e.Oa()),!1)}b&&a.storage&&Uc(a.storage,b,c=>{!c&&a.Y.error('Could not store authToken')});a.Y.debug('Asking to be notified when auth connector gets online');a.F.U(()=>{if(a.Pa)if(a.R=olympe.Aa.lb.O.Nq,a.Y.log('Connector online, parameter auth.autoLogin=true --\x3e attempting to log with parameters'),a.V){const c=new olympe.Aa.Request;c.set('username',
387
+ 0<this.C.length){this.$=this.C.length;for(const a of this.C)this.run(a)}else this.complete(!0)}};olympe.He={};olympe.He.oR=class{constructor(){}set(){}get(){}forEach(){}remove(){}clear(){}close(){}};olympe.He.nR=class{constructor(){}C(){}};olympe.He.Storage=class{O(){}V(){}write(){}R(){}U(){}C(){}close(){}};function Lc(a,b,c,d){a.storage.O(b,'results',e=>{e=olympe.dc.query.Os.gf(e);c(e)},d)}function Mc(a,b){a.storage.O('context','queries',c=>{c=JSON.parse(c);const d=olympe.dc.xj.gf(c);b(c.destination,d)})}function Nc(a,b,c,d,e){a.storage.write(b,'transactions',c.toJSON(),'text/json',d,e)}function Oc(a,b,c){a.storage.R('transactions',(d,e)=>{e=olympe.dc.db.fg.gf(e);b(d,e)},c)}function Pc(a,b,c,d){a.storage.C('transactions',b,c,d)}
388
+ function Qc(a,b,c,d,e,f){a.storage.write(b,'files',c,d,()=>{e('files/'+b)},f)}function Rc(a,b,c,d,e){a.storage.V(b,'files',c,d,e)}function Sc(a,b){a.storage.U('files',c=>{b(c)})}olympe.He.kP=class{constructor(a){this.storage=a}};olympe.He.fa={ty:'localStorage.KeyValueManager',Av:'localStorage.Storage',bF:'localStorage.DatacloudStorage',Qb:'localStorage.Logger'};olympe.oa.Fe(function(a){wa(a,olympe.He.fa.ty);A(a,olympe.He.fa.Qb,[olympe.ub.fa.sb],function(b){return b.Pg('localstorage')});z(a,olympe.He.fa.bF,olympe.He.kP,olympe.He.fa.Av)},'olympe.localstorage');olympe.Aa={};olympe.Aa.QS=class{U(){}R(){}Ba(){}ga(){}fs(){}Rr(){}DM(){}};function Tc(a){a.Y.info('Initializing AUTH layer');let b=a.cb;if(a.$){const c=a.$.C(),d=qc(c.parameters);b=d||b;d&&a.$.F(c.parameters.filter(e=>'authToken'!==e.Oa()),!1)}b&&a.storage&&Uc(a.storage,b,c=>{!c&&a.Y.error('Could not store authToken')});a.Y.debug('Asking to be notified when auth connector gets online');a.F.U(()=>{if(a.Pa)if(a.R=olympe.Aa.lb.O.Nq,a.Y.log('Connector online, parameter auth.autoLogin=true --\x3e attempting to log with parameters'),a.V){const c=new olympe.Aa.Request;c.set('username',
388
389
  a.V);c.jA(a.Fa);a.Y.log('Autologin with user "'+a.V+'"');Vc(a,c)}else a.Y.error('autoLogin: auto user not specified.'),Wc(a);else a.R=olympe.Aa.lb.O.Uy,a.Y.log('Connector online, attempting to log with token'),Xc(a)});a.F.R(()=>{switch(olympe.j.Ua(a.O)){case olympe.Aa.lb.C.To:a.Y.warn('Disconnected from server - session of user '+olympe.j.Ua(a.C.Ca()).cj()+' lost');break;case olympe.Aa.lb.C.$q:a.Y.warn('Disconnected from server - guest session lost');break;case olympe.Aa.lb.C.As:a.Y.warn('Disconnected from server - authentication aborted');
389
390
  break;case olympe.Aa.lb.C.INIT:a.Y.warn('Cannot open auth session - no server connection');break;default:a.Y.error('Should not get there, investigate')}Yc(a,olympe.Aa.lb.C.cp)});a.F.Ba((c,d)=>{if(c===olympe.Aa.lb.F.Dx)a.Y.info('Authentication revoked'),Wc(a),a.storage&&Zc(a.storage),a.ca.forEach(e=>{e(c,d)});else if(c===olympe.Aa.lb.F.jG)a.Y.info('Redirection to IDP to invalidate token (SAML)'),a.storage&&Zc(a.storage),a.Ba.F(d.url,d.request,d.id);else throw Error(`Unknown logout step coming from server : ${c}`);
390
391
  });a.Y.log('DONE initializing AUTH layer (waiting for connector to be online)')}
@@ -397,7 +398,7 @@ if(this.ud.has(t))throw Error('Provider "'+t+'" has already been registered !');
397
398
  this.Y.error('Was not able to send the auth keep alive message:',a.message)})}Cb(a,b){const c=null===this.R?olympe.Aa.lb.O.Xf:this.R;this.R=null;a?(this.Y.warn('Authentication rejected: '+a.message+'. Falling back into GUEST state'),Zc(this.storage),this.error.update(olympe.j.kc(a.message)),Wc(this),ed(this,a,c)):(this.Y.info('User '+b.cj()+' (#'+b.cq()+') successfully authenticated'),this.C.update(b),Yc(this,olympe.Aa.lb.C.To),ed(this,a,c),this.storage&&Uc(this.storage,b));this.U.has('login')&&this.U.delete('login')}};
398
399
  olympe.Aa.lb.C={INIT:'init',cp:'disconnected',$q:'guest',As:'authenticating',dg:'error',To:'authenticated'};olympe.Aa.lb.O={Xf:'manual',Nq:'auto',Uy:'tokenOnFirstConnection'};olympe.Aa.lb.F={Dx:'accepted',jG:'redirect'};olympe.Aa.wv=class{Oa(){}rh(){}};olympe.Aa.Request=class{constructor(){this.attributes=new Map}set(a,b){olympe.j.bb([b],c=>{this.attributes.set(a.toLocaleLowerCase(),c.toString())})}get(a){(a=this.attributes.get(a.toLowerCase()))&&a.bh&&(a=G(a));return a?a.valueOf():a}cj(){return this.get('username')}jA(a){this.set('password',a)}lo(){return this.get('nonce')}toString(){return this.cj()+(this.lo()?' with nonce':'')+(this.get('password')?' with password':'')}};olympe.Aa.Sn=class{constructor(a,b,c,d={}){this.O=a;this.Bx=b;this.nonce=c;this.F=d}cj(){return this.O}cq(){return this.Bx}lo(){return this.nonce}ny(){return this.F}Jt(){return null}Ya(){var a=olympe.pa,b=a.qL;var c=JSON.stringify({user:this.O,userTag:this.Bx,nonce:this.nonce,payload:this.F});c=olympe.pa.mk().C(La(c));return b.call(a,c)}};h=olympe.Aa.Sn.prototype;h.cj.K=new olympe.j.J(()=>String,[]);h.cq.K=new olympe.j.J(()=>String,[]);h.lo.K=new olympe.j.J(()=>String,[]);
399
400
  h.ny.K=new olympe.j.J(()=>Object,[]);h.Jt.K=new olympe.j.J(()=>String,[]);h.Ya.K=new olympe.j.J(()=>String,[]);olympe.Aa.FB=class extends olympe.Aa.Sn{constructor(a,b,c,d){super(a,b,c,d)}Jt(){return this.ny().access_token||null}};olympe.Aa.GJ=class extends olympe.Aa.Sn{constructor(a,b,c,d){super(a,b,c,d);this.C=null}Jt(){return this.C}Ya(){var a=olympe.pa.mk(),b={user:this.cj(),userTag:this.cq(),nonce:this.lo(),payload:this.ny(),fullToken:this.C},c=olympe.pa,d=c.qL;b=JSON.stringify(b);a=a.C(La(b));return d.call(c,a)}};function Uc(a,b,c){const d=a.C.C('AUTH');d.set(a.key,'string'===typeof b?b:b.Ya(),e=>{d.close();c&&c(e)})}function Zc(a){const b=a.C.C('AUTH');b.remove(a.key,()=>b.close())}
400
- olympe.Aa.VB=class{constructor(a,b,c){this.C=a;this.Y=b;this.key='OlympeToken-'+c.C}rh(a){const b=this.C.C('AUTH');this.Y.debug(`olympe.auth.TokenStorage: retrieve token with key ${this.key}`);b.get(this.key,c=>{let d=null;if(c)try{this.Y.debug('olympe.auth.TokenStorage: Token retrieved successfully');{var e=JSON,f=e.parse;var g=Ma(olympe.pa.mk().O(olympe.pa.LT(c)));const k=f.call(e,g);if(k.fullToken){const l=new olympe.Aa.GJ(k.user,k.userTag,k.nonce,k.payload);l.C=k.fullToken;d=l}else d=k.payload&&
401
+ olympe.Aa.VB=class{constructor(a,b,c){this.C=a;this.Y=b;this.key='OlympeToken-'+c.C}rh(a){const b=this.C.C('AUTH');this.Y.debug(`olympe.auth.TokenStorage: retrieve token with key ${this.key}`);b.get(this.key,c=>{let d=null;if(c)try{this.Y.debug('olympe.auth.TokenStorage: Token retrieved successfully');{var e=JSON,f=e.parse;var g=Ma(olympe.pa.mk().O(olympe.pa.MT(c)));const k=f.call(e,g);if(k.fullToken){const l=new olympe.Aa.GJ(k.user,k.userTag,k.nonce,k.payload);l.C=k.fullToken;d=l}else d=k.payload&&
401
402
  k.payload.id_token?new olympe.Aa.FB(k.user,k.userTag,k.nonce,k.payload):new olympe.Aa.Sn(k.user,k.userTag,k.nonce,k.payload)}}catch(k){this.Y.error('Error while unserializing token: ',k.message)}else this.Y.debug('olympe.auth.TokenStorage: No token found');b.close();a(d)})}};olympe.Aa.VB.F='OlympeToken';olympe.Aa.VB.C='AUTH';olympe.Aa.et=class{redirect(){}F(){}C(){}};olympe.Aa.et.C={GET:'GET',vv:'POST'};olympe.Aa.yA=class{constructor(a){this.C=a||'default'}};olympe.Aa.ud={};olympe.Aa.ud.Ef={};olympe.Aa.ud.Ef.xp=class{V(){}};olympe.Aa.ud.Ef.jk=class{$(){}};olympe.Aa.ud.Ef.Vi=class{ca(){}na(){}};function fd(a,b){return olympe.pa.yd(b+'-olympe-'+a.C[b])}olympe.Aa.ud.Ys=class{constructor(a){this.C=a}Oa(){return olympe.Aa.ud.Ys.$b}rh(a,b){const c=a.cj();if(c){const d=a.get('password'),e=a.lo();a.attributes.delete('password');if(void 0!==e&&fd(this,c)===e){b(null,new olympe.Aa.Sn(c,'',fd(this,c)));return}a=olympe.pa.yd(d||'');if(this.C[c]===a){b(null,new olympe.Aa.Sn(c,'',fd(this,c)));return}}b(Error('Invalid login'))}};olympe.Aa.ud.Ys.$b='local';olympe.Aa.ud.Ys.ua=[olympe.Aa.wv];olympe.Aa.ud.xp=class{constructor(a,b){this.C=a;this.storage=b}Oa(){return olympe.Aa.ud.xp.$b}rh(a,b){this.storage.rh(c=>{this.C.V(a,(d,e)=>{b(d,e||c)})})}};olympe.Aa.ud.xp.$b='localToken';olympe.Aa.ud.xp.ua=[olympe.Aa.wv];olympe.Aa.ud.tv=class{constructor(a,b){this.C=a;this.F=b}Oa(){return olympe.Aa.ud.tv.$b}rh(){this.C.redirect(`${this.F}/auth?url=${this.C.C()}`,null,olympe.Aa.et.C.GET)}};olympe.Aa.ud.tv.$b='openID';olympe.Aa.ud.tv.ua=[olympe.Aa.wv];olympe.Aa.ud.jk=class{constructor(a,b){this.F=a;this.C=b}Oa(){return olympe.Aa.ud.jk.$b}rh(a,b){this.F.$((c,d,e,f)=>{c?b(c):this.C.F(d,e,f)})}};olympe.Aa.ud.jk.$b='saml';olympe.Aa.ud.jk.ua=[olympe.Aa.wv];olympe.Aa.ud.Vi=class{static bw(a,b){const c=new SRPClient,d=c.generateRandomSalt();return{username:a,login:a,salt:d,verifier:c.generateVerifier(d,a,b)}}constructor(a){this.C=a;this.Y=olympe.ub.Gb('auth')}Oa(){return olympe.Aa.ud.Vi.$b}rh(a,b){const c=a.get('password');a.attributes.delete('password');this.Y.debug('Sending SRP request');this.C.ca(a,(d,e,f)=>{this.Y.debug('Received Salt+B message');if(d)b(d);else{try{const g=new SRPClient;g.step1(a.cj(),c);const k=g.step2(e,f);a.set('a',k.A);a.set('m1',
402
403
  k.M1)}catch(g){b(g);return}this.Y.debug('Sending SRP A+M (proof) message');this.C.na(a,b)}})}};olympe.Aa.ud.Vi.$b='srp';olympe.Aa.ud.Vi.ua=[olympe.Aa.wv];olympe.Aa.fa={sb:'auth.Manager',Qb:'auth.Logger',Av:'auth.Storage',Ex:'auth.appNameToken',Hy:'auth.Redirector'};olympe.Aa.ji={sb:'auth.ManagerConnector',xI:'auth.LocalTokenConnector',Vi:'auth.SRPConnector',jk:'auth.SAMLConnector'};olympe.Aa.za={LA:'auth.defaultProvider',yI:'auth.localTokenProvider',hE:'auth.autoLogin',lE:'auth.autoUser',iE:'auth.autoPassword',Uy:'auth.token',fE:'auth.appToken'};
403
404
  olympe.oa.Fe(function(a){C(a,olympe.Aa.za.LA,olympe.Aa.ud.Vi.$b);C(a,olympe.Aa.za.yI,olympe.Aa.ud.xp.$b);C(a,olympe.Aa.za.hE,!1);C(a,olympe.Aa.za.lE,'');C(a,olympe.Aa.za.iE,'');C(a,olympe.Aa.za.Uy,'');C(a,olympe.Aa.za.fE,'default');A(a,olympe.Aa.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('auth'));z(a,olympe.Aa.fa.Ex,olympe.Aa.yA,new olympe.oa.Ta(olympe.Aa.za.fE));z(a,olympe.Aa.fa.Av,olympe.Aa.VB,olympe.He.fa.ty,olympe.Aa.fa.Qb,olympe.Aa.fa.Ex);wa(a,olympe.Aa.ji.sb);wa(a,olympe.Aa.fa.Hy);A(a,olympe.Aa.fa.sb,
@@ -410,8 +411,8 @@ olympe.N.Z.Od.prototype.unregisterVerticalSwipe=olympe.N.Z.Od.prototype.un;olymp
410
411
  olympe.N.Z.xc.prototype.unregisterTouchEnd=olympe.N.Z.xc.prototype.qn;olympe.N.Z.xc.prototype.registerTouchEnd=olympe.N.Z.xc.prototype.Ym;olympe.N.Z.xc.prototype.unregisterTouchStart=olympe.N.Z.xc.prototype.sn;olympe.N.Z.xc.prototype.registerTouchStart=olympe.N.Z.xc.prototype.$m;olympe.N.Z.xc.prototype.unregisterMouseWheel=olympe.N.Z.xc.prototype.Kl;olympe.N.Z.xc.prototype.registerMouseWheel=olympe.N.Z.xc.prototype.Wm;olympe.N.Z.xc.prototype.unregisterMouseLeave=olympe.N.Z.xc.prototype.Gl;
411
412
  olympe.N.Z.xc.prototype.registerMouseLeave=olympe.N.Z.xc.prototype.Sm;olympe.N.Z.xc.prototype.unregisterMouseEnter=olympe.N.Z.xc.prototype.Fl;olympe.N.Z.xc.prototype.registerMouseEnter=olympe.N.Z.xc.prototype.Rm;olympe.N.Z.xc.prototype.unregisterMouseOver=olympe.N.Z.xc.prototype.Il;olympe.N.Z.xc.prototype.registerMouseOver=olympe.N.Z.xc.prototype.Um;olympe.N.Z.xc.prototype.unregisterMouseMove=olympe.N.Z.xc.prototype.Hl;olympe.N.Z.xc.prototype.registerMouseMove=olympe.N.Z.xc.prototype.Tm;
412
413
  olympe.N.Z.xc.prototype.unregisterMouseUp=olympe.N.Z.xc.prototype.Jl;olympe.N.Z.xc.prototype.registerMouseUp=olympe.N.Z.xc.prototype.Vm;olympe.N.Z.xc.prototype.unregisterMouseDown=olympe.N.Z.xc.prototype.El;olympe.N.Z.xc.prototype.registerMouseDown=olympe.N.Z.xc.prototype.Qm;olympe.N.Z.xc.prototype.unregisterDoubleClick=olympe.N.Z.xc.prototype.Dl;olympe.N.Z.xc.prototype.registerDoubleClick=olympe.N.Z.xc.prototype.Pm;olympe.N.Z.xc.prototype.unregisterClickOrTap=olympe.N.Z.xc.prototype.Cl;
413
- olympe.N.Z.xc.prototype.registerClickOrTap=olympe.N.Z.xc.prototype.Om;olympe.N.Z.SP=class{aq(){}};olympe.N.Z.Ni=class{$r(){}ys(){}Zr(){}xs(){}bs(){}zs(){}};olympe.N.Z.Ni.prototype.unregisterSize=olympe.N.Z.Ni.prototype.zs;olympe.N.Z.Ni.prototype.registerSize=olympe.N.Z.Ni.prototype.bs;olympe.N.Z.Ni.prototype.unregisterBlur=olympe.N.Z.Ni.prototype.xs;olympe.N.Z.Ni.prototype.registerBlur=olympe.N.Z.Ni.prototype.Zr;olympe.N.Z.Ni.prototype.unregisterFocus=olympe.N.Z.Ni.prototype.ys;olympe.N.Z.Ni.prototype.registerFocus=olympe.N.Z.Ni.prototype.$r;olympe.N.D={};olympe.N.D.Element=class extends olympe.N.Df{Yp(){}Qa(){}BD(){}lg(){}xg(){}ks(){}Oo(){}Fq(){}js(){}hs(){}qd(){}ts(){}mj(){}cn(){}nb(){}Ei(){}nu(){}};olympe.N.D.Element.prototype.setContextMenuEnabled=olympe.N.D.Element.prototype.nu;olympe.N.D.Element.prototype.setIgnoreUserInteraction=olympe.N.D.Element.prototype.Ei;olympe.N.D.Element.prototype.setBlur=olympe.N.D.Element.prototype.cn;olympe.N.D.Element.prototype.setFocus=olympe.N.D.Element.prototype.mj;olympe.N.D.Element.prototype.setTabIndex=olympe.N.D.Element.prototype.ts;
414
- olympe.N.D.Element.prototype.setHidden=olympe.N.D.Element.prototype.qd;olympe.N.D.Element.prototype.setBackgroundImage=olympe.N.D.Element.prototype.xg;olympe.N.D.Element.prototype.setOpacity=olympe.N.D.Element.prototype.lg;olympe.N.D.Element.prototype.setRGBABackgoundColor=olympe.N.D.Element.prototype.BD;olympe.N.D.Element.prototype.setBackgroundColor=olympe.N.D.Element.prototype.Qa;olympe.Wh(olympe.N.D.Element,olympe.N.Df,olympe.N.Z.xc,olympe.N.Z.hG,olympe.N.Z.Od,olympe.N.Z.gG,olympe.N.Z.Ni,olympe.N.Z.SP);olympe.N.D.wb=class extends olympe.N.D.Element{re(){}Ie(){}PD(){}Ug(){}zg(){}yg(){}Jq(){}yu(){}ED(){}gh(){}Fd(){}ed(){}ld(){}lc(){}jj(){}O(){}TC(){}};olympe.N.D.wb.prototype.initAllProperties=olympe.N.D.wb.prototype.TC;olympe.N.D.wb.prototype.setAccelerated=olympe.N.D.wb.prototype.jj;olympe.N.D.wb.prototype.setCornerRadius=olympe.N.D.wb.prototype.lc;olympe.N.D.wb.prototype.setBorder=olympe.N.D.wb.prototype.Fd;olympe.N.D.wb.prototype.setShadow=olympe.N.D.wb.prototype.gh;
414
+ olympe.N.Z.xc.prototype.registerClickOrTap=olympe.N.Z.xc.prototype.Om;olympe.N.Z.TP=class{aq(){}};olympe.N.Z.Ni=class{$r(){}ys(){}Zr(){}xs(){}bs(){}zs(){}};olympe.N.Z.Ni.prototype.unregisterSize=olympe.N.Z.Ni.prototype.zs;olympe.N.Z.Ni.prototype.registerSize=olympe.N.Z.Ni.prototype.bs;olympe.N.Z.Ni.prototype.unregisterBlur=olympe.N.Z.Ni.prototype.xs;olympe.N.Z.Ni.prototype.registerBlur=olympe.N.Z.Ni.prototype.Zr;olympe.N.Z.Ni.prototype.unregisterFocus=olympe.N.Z.Ni.prototype.ys;olympe.N.Z.Ni.prototype.registerFocus=olympe.N.Z.Ni.prototype.$r;olympe.N.D={};olympe.N.D.Element=class extends olympe.N.Df{Yp(){}Qa(){}BD(){}lg(){}xg(){}ks(){}Oo(){}Fq(){}js(){}hs(){}qd(){}ts(){}mj(){}cn(){}nb(){}Ei(){}nu(){}};olympe.N.D.Element.prototype.setContextMenuEnabled=olympe.N.D.Element.prototype.nu;olympe.N.D.Element.prototype.setIgnoreUserInteraction=olympe.N.D.Element.prototype.Ei;olympe.N.D.Element.prototype.setBlur=olympe.N.D.Element.prototype.cn;olympe.N.D.Element.prototype.setFocus=olympe.N.D.Element.prototype.mj;olympe.N.D.Element.prototype.setTabIndex=olympe.N.D.Element.prototype.ts;
415
+ olympe.N.D.Element.prototype.setHidden=olympe.N.D.Element.prototype.qd;olympe.N.D.Element.prototype.setBackgroundImage=olympe.N.D.Element.prototype.xg;olympe.N.D.Element.prototype.setOpacity=olympe.N.D.Element.prototype.lg;olympe.N.D.Element.prototype.setRGBABackgoundColor=olympe.N.D.Element.prototype.BD;olympe.N.D.Element.prototype.setBackgroundColor=olympe.N.D.Element.prototype.Qa;olympe.Wh(olympe.N.D.Element,olympe.N.Df,olympe.N.Z.xc,olympe.N.Z.hG,olympe.N.Z.Od,olympe.N.Z.gG,olympe.N.Z.Ni,olympe.N.Z.TP);olympe.N.D.wb=class extends olympe.N.D.Element{re(){}Ie(){}PD(){}Ug(){}zg(){}yg(){}Jq(){}yu(){}ED(){}gh(){}Fd(){}ed(){}ld(){}lc(){}jj(){}O(){}TC(){}};olympe.N.D.wb.prototype.initAllProperties=olympe.N.D.wb.prototype.TC;olympe.N.D.wb.prototype.setAccelerated=olympe.N.D.wb.prototype.jj;olympe.N.D.wb.prototype.setCornerRadius=olympe.N.D.wb.prototype.lc;olympe.N.D.wb.prototype.setBorder=olympe.N.D.wb.prototype.Fd;olympe.N.D.wb.prototype.setShadow=olympe.N.D.wb.prototype.gh;
415
416
  olympe.N.D.wb.prototype.setScaleFactorXY=olympe.N.D.wb.prototype.ED;olympe.N.D.wb.prototype.setScaleFactor=olympe.N.D.wb.prototype.yu;olympe.N.D.wb.prototype.setRotationAngle=olympe.N.D.wb.prototype.Jq;olympe.N.D.wb.prototype.setHeight=olympe.N.D.wb.prototype.yg;olympe.N.D.wb.prototype.setWidth=olympe.N.D.wb.prototype.zg;olympe.N.D.wb.prototype.setZIndex=olympe.N.D.wb.prototype.Ug;olympe.N.D.wb.prototype.setXY=olympe.N.D.wb.prototype.PD;olympe.N.D.wb.prototype.setY=olympe.N.D.wb.prototype.Ie;
416
417
  olympe.N.D.wb.prototype.setX=olympe.N.D.wb.prototype.re;olympe.Wh(olympe.N.D.wb,olympe.N.D.Element);olympe.N.D.Pf=class extends olympe.N.D.Element{appendChild(){}removeChild(){}kg(){}ei(){}Yz(){}bE(){}O(){}R(){}Iv(){}Ww(){}};olympe.N.D.Pf.prototype.unregisterScreenOrientation=olympe.N.D.Pf.prototype.bE;olympe.N.D.Pf.prototype.registerScreenOrientation=olympe.N.D.Pf.prototype.Yz;olympe.N.D.Pf.prototype.setTitle=olympe.N.D.Pf.prototype.ei;olympe.N.D.Pf.prototype.removeAllChildren=olympe.N.D.Pf.prototype.kg;olympe.N.D.Pf.prototype.removeChild=olympe.N.D.Pf.prototype.removeChild;
417
418
  olympe.N.D.Pf.prototype.appendChild=olympe.N.D.Pf.prototype.appendChild;olympe.Wh(olympe.N.D.Pf,olympe.N.D.Element,olympe.N.Z.rg,olympe.N.Z.aB);olympe.N.D.Le=class extends olympe.N.D.wb{st(){}iu(){}Jf(){}ps(){}xt(){}ws(){}Pw(){}Xz(){}};olympe.N.D.Le.prototype.registerLoadEnd=olympe.N.D.Le.prototype.Xz;olympe.N.D.Le.prototype.setClickEnabled=olympe.N.D.Le.prototype.Pw;olympe.N.D.Le.prototype.showFileSelector=olympe.N.D.Le.prototype.ws;olympe.N.D.Le.prototype.clearFiles=olympe.N.D.Le.prototype.xt;olympe.N.D.Le.prototype.setMultiple=olympe.N.D.Le.prototype.ps;olympe.N.D.Le.prototype.setDisabled=olympe.N.D.Le.prototype.Jf;
@@ -434,30 +435,30 @@ olympe.N.D.Audio.prototype.setLoop=olympe.N.D.Audio.prototype.Fi;olympe.N.D.Audi
434
435
  olympe.N.D.mc.prototype.setLineWidth=olympe.N.D.mc.prototype.Hh;olympe.N.D.mc.prototype.setLineJoin=olympe.N.D.mc.prototype.Uj;olympe.N.D.mc.prototype.setLineCap=olympe.N.D.mc.prototype.fh;olympe.N.D.mc.prototype.setFont=olympe.N.D.mc.prototype.Sj;olympe.N.D.mc.prototype.setStrokeStyle=olympe.N.D.mc.prototype.ss;olympe.N.D.mc.prototype.setFillStyle=olympe.N.D.mc.prototype.lj;olympe.N.D.mc.prototype.fillStyleWithCurrentGradient=olympe.N.D.mc.prototype.Zv;olympe.N.D.mc.prototype.addColorStop=olympe.N.D.mc.prototype.addColorStop;
435
436
  olympe.N.D.mc.prototype.createLinearGradient=olympe.N.D.mc.prototype.createLinearGradient;olympe.N.D.mc.prototype.strokeText=olympe.N.D.mc.prototype.strokeText;olympe.N.D.mc.prototype.strokeRect=olympe.N.D.mc.prototype.strokeRect;olympe.N.D.mc.prototype.stroke=olympe.N.D.mc.prototype.stroke;olympe.N.D.mc.prototype.rect=olympe.N.D.mc.prototype.rect;olympe.N.D.mc.prototype.quadraticCurveTo=olympe.N.D.mc.prototype.quadraticCurveTo;olympe.N.D.mc.prototype.moveTo=olympe.N.D.mc.prototype.moveTo;
436
437
  olympe.N.D.mc.prototype.lineToRelative=olympe.N.D.mc.prototype.ej;olympe.N.D.mc.prototype.lineTo=olympe.N.D.mc.prototype.lineTo;olympe.N.D.mc.prototype.fillText=olympe.N.D.mc.prototype.fillText;olympe.N.D.mc.prototype.fillRect=olympe.N.D.mc.prototype.fillRect;olympe.N.D.mc.prototype.fill=olympe.N.D.mc.prototype.fill;olympe.N.D.mc.prototype.closePath=olympe.N.D.mc.prototype.closePath;olympe.N.D.mc.prototype.clip=olympe.N.D.mc.prototype.clip;olympe.N.D.mc.prototype.clearRect=olympe.N.D.mc.prototype.clearRect;
437
- olympe.N.D.mc.prototype.bezierCurveTo=olympe.N.D.mc.prototype.bezierCurveTo;olympe.N.D.mc.prototype.beginPath=olympe.N.D.mc.prototype.beginPath;olympe.N.D.mc.prototype.arcTo=olympe.N.D.mc.prototype.arcTo;olympe.N.D.mc.prototype.arc=olympe.N.D.mc.prototype.arc;olympe.Wh(olympe.N.D.mc,olympe.N.D.wb);olympe.N.va={};olympe.N.va.dd={};olympe.N.va.dd.jd=class extends olympe.N.Df{FD(){}PW(){}jD(){}hD(){}tO(){}kO(){}KN(){}start(){}stop(){}};olympe.N.va.dd.jd.prototype.stop=olympe.N.va.dd.jd.prototype.stop;olympe.N.va.dd.jd.prototype.start=olympe.N.va.dd.jd.prototype.start;olympe.N.va.dd.jd.prototype.onScan=olympe.N.va.dd.jd.prototype.KN;olympe.N.va.dd.jd.prototype.setScanInterval=olympe.N.va.dd.jd.prototype.kO;olympe.N.va.dd.jd.prototype.setVideo=olympe.N.va.dd.jd.prototype.tO;
438
- olympe.N.va.dd.jd.prototype.registerCornerPointsCallback=olympe.N.va.dd.jd.prototype.hD;olympe.N.va.dd.jd.prototype.registerPatternPointsCallback=olympe.N.va.dd.jd.prototype.jD;olympe.N.va.dd.jd.prototype.registerActualScanZoneCallback=olympe.N.va.dd.jd.prototype.PW;olympe.N.va.dd.jd.prototype.setScanZone=olympe.N.va.dd.jd.prototype.FD;olympe.N.va.Ac=class extends olympe.N.D.wb{arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}fill(){}fillRect(){}fillText(){}lineTo(){}ej(){}moveTo(){}quadraticCurveTo(){}rect(){}stroke(){}strokeRect(){}strokeText(){}lj(){}Sj(){}fh(){}Uj(){}Hh(){}me(){}Gh(){}};olympe.N.va.Ac.prototype.saveAsPicture=olympe.N.va.Ac.prototype.Gh;olympe.N.va.Ac.prototype.setContent=olympe.N.va.Ac.prototype.me;olympe.N.va.Ac.prototype.setLineWidth=olympe.N.va.Ac.prototype.Hh;
438
+ olympe.N.D.mc.prototype.bezierCurveTo=olympe.N.D.mc.prototype.bezierCurveTo;olympe.N.D.mc.prototype.beginPath=olympe.N.D.mc.prototype.beginPath;olympe.N.D.mc.prototype.arcTo=olympe.N.D.mc.prototype.arcTo;olympe.N.D.mc.prototype.arc=olympe.N.D.mc.prototype.arc;olympe.Wh(olympe.N.D.mc,olympe.N.D.wb);olympe.N.va={};olympe.N.va.dd={};olympe.N.va.dd.jd=class extends olympe.N.Df{FD(){}QW(){}jD(){}hD(){}tO(){}kO(){}KN(){}start(){}stop(){}};olympe.N.va.dd.jd.prototype.stop=olympe.N.va.dd.jd.prototype.stop;olympe.N.va.dd.jd.prototype.start=olympe.N.va.dd.jd.prototype.start;olympe.N.va.dd.jd.prototype.onScan=olympe.N.va.dd.jd.prototype.KN;olympe.N.va.dd.jd.prototype.setScanInterval=olympe.N.va.dd.jd.prototype.kO;olympe.N.va.dd.jd.prototype.setVideo=olympe.N.va.dd.jd.prototype.tO;
439
+ olympe.N.va.dd.jd.prototype.registerCornerPointsCallback=olympe.N.va.dd.jd.prototype.hD;olympe.N.va.dd.jd.prototype.registerPatternPointsCallback=olympe.N.va.dd.jd.prototype.jD;olympe.N.va.dd.jd.prototype.registerActualScanZoneCallback=olympe.N.va.dd.jd.prototype.QW;olympe.N.va.dd.jd.prototype.setScanZone=olympe.N.va.dd.jd.prototype.FD;olympe.N.va.Ac=class extends olympe.N.D.wb{arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}fill(){}fillRect(){}fillText(){}lineTo(){}ej(){}moveTo(){}quadraticCurveTo(){}rect(){}stroke(){}strokeRect(){}strokeText(){}lj(){}Sj(){}fh(){}Uj(){}Hh(){}me(){}Gh(){}};olympe.N.va.Ac.prototype.saveAsPicture=olympe.N.va.Ac.prototype.Gh;olympe.N.va.Ac.prototype.setContent=olympe.N.va.Ac.prototype.me;olympe.N.va.Ac.prototype.setLineWidth=olympe.N.va.Ac.prototype.Hh;
439
440
  olympe.N.va.Ac.prototype.setLineJoin=olympe.N.va.Ac.prototype.Uj;olympe.N.va.Ac.prototype.setLineCap=olympe.N.va.Ac.prototype.fh;olympe.N.va.Ac.prototype.setFont=olympe.N.va.Ac.prototype.Sj;olympe.N.va.Ac.prototype.setFillStyle=olympe.N.va.Ac.prototype.lj;olympe.N.va.Ac.prototype.strokeText=olympe.N.va.Ac.prototype.strokeText;olympe.N.va.Ac.prototype.strokeRect=olympe.N.va.Ac.prototype.strokeRect;olympe.N.va.Ac.prototype.stroke=olympe.N.va.Ac.prototype.stroke;olympe.N.va.Ac.prototype.rect=olympe.N.va.Ac.prototype.rect;
440
441
  olympe.N.va.Ac.prototype.quadraticCurveTo=olympe.N.va.Ac.prototype.quadraticCurveTo;olympe.N.va.Ac.prototype.moveTo=olympe.N.va.Ac.prototype.moveTo;olympe.N.va.Ac.prototype.lineToRelative=olympe.N.va.Ac.prototype.ej;olympe.N.va.Ac.prototype.lineTo=olympe.N.va.Ac.prototype.lineTo;olympe.N.va.Ac.prototype.fillText=olympe.N.va.Ac.prototype.fillText;olympe.N.va.Ac.prototype.fillRect=olympe.N.va.Ac.prototype.fillRect;olympe.N.va.Ac.prototype.fill=olympe.N.va.Ac.prototype.fill;
441
442
  olympe.N.va.Ac.prototype.closePath=olympe.N.va.Ac.prototype.closePath;olympe.N.va.Ac.prototype.clip=olympe.N.va.Ac.prototype.clip;olympe.N.va.Ac.prototype.clearRect=olympe.N.va.Ac.prototype.clearRect;olympe.N.va.Ac.prototype.bezierCurveTo=olympe.N.va.Ac.prototype.bezierCurveTo;olympe.N.va.Ac.prototype.beginPath=olympe.N.va.Ac.prototype.beginPath;olympe.N.va.Ac.prototype.arcTo=olympe.N.va.Ac.prototype.arcTo;olympe.N.va.Ac.prototype.arc=olympe.N.va.Ac.prototype.arc;
442
- olympe.N.va.Ac.C={FE:'butt',dt:'round',PB:'square'};olympe.N.va.Ac.F={sE:'bevel',dt:'round',KI:'miter'};olympe.N.va.Image=class extends olympe.N.D.wb{Gh(){}Xv(){}Wv(){}};olympe.N.va.Image.prototype.drawUrl=olympe.N.va.Image.prototype.Wv;olympe.N.va.Image.prototype.drawVectorial=olympe.N.va.Image.prototype.Xv;olympe.N.va.Image.prototype.saveAsPicture=olympe.N.va.Image.prototype.Gh;olympe.N.va.RA=class extends olympe.N.D.wb{hA(){}};olympe.N.va.RA.prototype.setImage=olympe.N.va.RA.prototype.hA;olympe.N.va.filters={};olympe.N.va.filters.pv=class extends olympe.N.va.RA{mA(){}};olympe.N.va.filters.pv.prototype.setSquareSize=olympe.N.va.filters.pv.prototype.mA;olympe.N.media={};olympe.N.media.ec={};olympe.N.media.ec.yp=class extends olympe.N.Df{Oa(){}};olympe.N.media.ec.yp.prototype.getName=olympe.N.media.ec.yp.prototype.Oa;olympe.N.media.ec.Vo=class extends olympe.N.media.ec.yp{Qo(){}};olympe.N.media.ec.Vo.prototype.setIdAndName=olympe.N.media.ec.Vo.prototype.Qo;olympe.N.media.ec.jm=class extends olympe.N.media.ec.yp{Qo(){}};olympe.N.media.ec.jm.prototype.setIdAndName=olympe.N.media.ec.jm.prototype.Qo;olympe.N.media.zp=class extends olympe.N.Df{Gt(){}Ft(){}};olympe.N.media.zp.prototype.getAllAudioInputDevices=olympe.N.media.zp.prototype.Ft;olympe.N.media.zp.prototype.getAllVideoInputDevices=olympe.N.media.zp.prototype.Gt;olympe.N.media.RS=class extends olympe.N.Df{};olympe.N.media.MediaStream=class extends olympe.N.media.RS{Bl(){}};olympe.N.media.MediaStream.prototype.takePicture=olympe.N.media.MediaStream.prototype.Bl;olympe.N.media.yr=class extends olympe.N.media.MediaStream{na(){}};olympe.N.media.Rh=class extends olympe.N.media.yr{gs(){}aA(){}Du(){}JD(){}Bl(){}Em(){}};olympe.N.media.Rh.prototype.initStream=olympe.N.media.Rh.prototype.Em;olympe.N.media.Rh.prototype.takePicture=olympe.N.media.Rh.prototype.Bl;olympe.N.media.Rh.prototype.setVideoInputDevice=olympe.N.media.Rh.prototype.JD;olympe.N.media.Rh.prototype.setVideoEnabled=olympe.N.media.Rh.prototype.Du;olympe.N.media.Rh.prototype.setAudioInputDevice=olympe.N.media.Rh.prototype.aA;
443
+ olympe.N.va.Ac.C={FE:'butt',dt:'round',PB:'square'};olympe.N.va.Ac.F={sE:'bevel',dt:'round',KI:'miter'};olympe.N.va.Image=class extends olympe.N.D.wb{Gh(){}Xv(){}Wv(){}};olympe.N.va.Image.prototype.drawUrl=olympe.N.va.Image.prototype.Wv;olympe.N.va.Image.prototype.drawVectorial=olympe.N.va.Image.prototype.Xv;olympe.N.va.Image.prototype.saveAsPicture=olympe.N.va.Image.prototype.Gh;olympe.N.va.RA=class extends olympe.N.D.wb{hA(){}};olympe.N.va.RA.prototype.setImage=olympe.N.va.RA.prototype.hA;olympe.N.va.filters={};olympe.N.va.filters.pv=class extends olympe.N.va.RA{mA(){}};olympe.N.va.filters.pv.prototype.setSquareSize=olympe.N.va.filters.pv.prototype.mA;olympe.N.media={};olympe.N.media.ec={};olympe.N.media.ec.yp=class extends olympe.N.Df{Oa(){}};olympe.N.media.ec.yp.prototype.getName=olympe.N.media.ec.yp.prototype.Oa;olympe.N.media.ec.Vo=class extends olympe.N.media.ec.yp{Qo(){}};olympe.N.media.ec.Vo.prototype.setIdAndName=olympe.N.media.ec.Vo.prototype.Qo;olympe.N.media.ec.jm=class extends olympe.N.media.ec.yp{Qo(){}};olympe.N.media.ec.jm.prototype.setIdAndName=olympe.N.media.ec.jm.prototype.Qo;olympe.N.media.zp=class extends olympe.N.Df{Gt(){}Ft(){}};olympe.N.media.zp.prototype.getAllAudioInputDevices=olympe.N.media.zp.prototype.Ft;olympe.N.media.zp.prototype.getAllVideoInputDevices=olympe.N.media.zp.prototype.Gt;olympe.N.media.SS=class extends olympe.N.Df{};olympe.N.media.MediaStream=class extends olympe.N.media.SS{Bl(){}};olympe.N.media.MediaStream.prototype.takePicture=olympe.N.media.MediaStream.prototype.Bl;olympe.N.media.yr=class extends olympe.N.media.MediaStream{na(){}};olympe.N.media.Rh=class extends olympe.N.media.yr{gs(){}aA(){}Du(){}JD(){}Bl(){}Em(){}};olympe.N.media.Rh.prototype.initStream=olympe.N.media.Rh.prototype.Em;olympe.N.media.Rh.prototype.takePicture=olympe.N.media.Rh.prototype.Bl;olympe.N.media.Rh.prototype.setVideoInputDevice=olympe.N.media.Rh.prototype.JD;olympe.N.media.Rh.prototype.setVideoEnabled=olympe.N.media.Rh.prototype.Du;olympe.N.media.Rh.prototype.setAudioInputDevice=olympe.N.media.Rh.prototype.aA;
443
444
  olympe.N.media.Rh.prototype.setAudioEnabled=olympe.N.media.Rh.prototype.gs;olympe.N.media.EJ=class extends olympe.N.media.yr{};olympe.N.media.lt=class extends olympe.N.media.MediaStream{Gk(){}sh(){}};olympe.N.media.lt.prototype.getUrl=olympe.N.media.lt.prototype.sh;olympe.N.media.lt.prototype.setUrl=olympe.N.media.lt.prototype.Gk;olympe.N.Xa={};olympe.N.Xa.Za={};olympe.N.Xa.Za.Map=class extends olympe.N.D.wb{lf(){}us(){}ut(){}Mv(){}cs(){}Jv(){}cu(){}Ju(){}vs(){}Jw(){}os(){}ns(){}Iw(){}Hw(){}Ku(){}Lu(){}Fu(){}At(){}Bt(){}au(){}Zt(){}Ct(){}Dt(){}su(){}vu(){}tu(){}$t(){}eq(){}stop(){}};olympe.N.Xa.Za.Map.prototype.stop=olympe.N.Xa.Za.Map.prototype.stop;olympe.N.Xa.Za.Map.prototype.invalidateSize=olympe.N.Xa.Za.Map.prototype.eq;olympe.N.Xa.Za.Map.prototype.panInsideBounds=olympe.N.Xa.Za.Map.prototype.$t;olympe.N.Xa.Za.Map.prototype.setMaxZoom=olympe.N.Xa.Za.Map.prototype.tu;
444
445
  olympe.N.Xa.Za.Map.prototype.setMinZoom=olympe.N.Xa.Za.Map.prototype.vu;olympe.N.Xa.Za.Map.prototype.setMaxBounds=olympe.N.Xa.Za.Map.prototype.su;olympe.N.Xa.Za.Map.prototype.flyToBounds=olympe.N.Xa.Za.Map.prototype.Dt;olympe.N.Xa.Za.Map.prototype.flyTo=olympe.N.Xa.Za.Map.prototype.Ct;olympe.N.Xa.Za.Map.prototype.panBy=olympe.N.Xa.Za.Map.prototype.Zt;olympe.N.Xa.Za.Map.prototype.panTo=olympe.N.Xa.Za.Map.prototype.au;olympe.N.Xa.Za.Map.prototype.fitWorld=olympe.N.Xa.Za.Map.prototype.Bt;
445
446
  olympe.N.Xa.Za.Map.prototype.fitBounds=olympe.N.Xa.Za.Map.prototype.At;olympe.N.Xa.Za.Map.prototype.setZoomAround=olympe.N.Xa.Za.Map.prototype.Fu;olympe.N.Xa.Za.Map.prototype.zoomOut=olympe.N.Xa.Za.Map.prototype.Lu;olympe.N.Xa.Za.Map.prototype.zoomIn=olympe.N.Xa.Za.Map.prototype.Ku;olympe.N.Xa.Za.Map.prototype.registerLatitudeCallback=olympe.N.Xa.Za.Map.prototype.Hw;olympe.N.Xa.Za.Map.prototype.registerLongitudeCallback=olympe.N.Xa.Za.Map.prototype.Iw;olympe.N.Xa.Za.Map.prototype.setLatitude=olympe.N.Xa.Za.Map.prototype.ns;
446
447
  olympe.N.Xa.Za.Map.prototype.setLongitude=olympe.N.Xa.Za.Map.prototype.os;olympe.N.Xa.Za.Map.prototype.registerZoomCallback=olympe.N.Xa.Za.Map.prototype.Jw;olympe.N.Xa.Za.Map.prototype.setZoom=olympe.N.Xa.Za.Map.prototype.vs;olympe.N.Xa.Za.Map.prototype.updateTileLayer=olympe.N.Xa.Za.Map.prototype.Ju;olympe.N.Xa.Za.Map.prototype.removeGeoJson=olympe.N.Xa.Za.Map.prototype.cu;olympe.N.Xa.Za.Map.prototype.addGeoJson=olympe.N.Xa.Za.Map.prototype.Jv;olympe.N.Xa.Za.Map.prototype.removeMarker=olympe.N.Xa.Za.Map.prototype.cs;
447
- olympe.N.Xa.Za.Map.prototype.addMarkers=olympe.N.Xa.Za.Map.prototype.Mv;olympe.N.Xa.Za.Map.prototype.addMarker=olympe.N.Xa.Za.Map.prototype.ut;olympe.N.Xa.Za.Map.prototype.setView=olympe.N.Xa.Za.Map.prototype.us;olympe.N.Xa.Za.Map.C={EI:'MAPBOX',SR:'OPENTOPOMAP',LZ:'OPENSTREETMAP',NONE:'NONE'};olympe.N.P={};olympe.N.P.vi=class extends olympe.N.D.wb{constructor(){super()}tk(){}sx(){}appendChild(){}removeChild(){}lw(){}HC(){}};olympe.N.P.vi.prototype.getImageUrl=olympe.N.P.vi.prototype.HC;olympe.N.P.vi.prototype.getImageContent=olympe.N.P.vi.prototype.lw;olympe.N.P.vi.prototype.removeChild=olympe.N.P.vi.prototype.removeChild;olympe.N.P.vi.prototype.appendChild=olympe.N.P.vi.prototype.appendChild;olympe.N.P.vi.prototype.setViewbox=olympe.N.P.vi.prototype.sx;olympe.N.P.vi.prototype.getSvgDefsElement=olympe.N.P.vi.prototype.tk;olympe.N.P.Be=class extends olympe.N.Df{ya(){}setAttribute(){}qu(){}xa(){}pf(){}getParent(){}Tf(){}ao(){}qd(){}Ei(){}wu(){}};olympe.N.P.Be.prototype.setPointerEvents=olympe.N.P.Be.prototype.wu;olympe.N.P.Be.prototype.setIgnoreUserInteraction=olympe.N.P.Be.prototype.Ei;olympe.N.P.Be.prototype.setHidden=olympe.N.P.Be.prototype.qd;olympe.N.P.Be.prototype.getContainer=olympe.N.P.Be.prototype.ao;olympe.N.P.Be.prototype.setContainer=olympe.N.P.Be.prototype.Tf;olympe.N.P.Be.prototype.getParent=olympe.N.P.Be.prototype.getParent;
448
+ olympe.N.Xa.Za.Map.prototype.addMarkers=olympe.N.Xa.Za.Map.prototype.Mv;olympe.N.Xa.Za.Map.prototype.addMarker=olympe.N.Xa.Za.Map.prototype.ut;olympe.N.Xa.Za.Map.prototype.setView=olympe.N.Xa.Za.Map.prototype.us;olympe.N.Xa.Za.Map.C={EI:'MAPBOX',TR:'OPENTOPOMAP',MZ:'OPENSTREETMAP',NONE:'NONE'};olympe.N.P={};olympe.N.P.vi=class extends olympe.N.D.wb{constructor(){super()}tk(){}sx(){}appendChild(){}removeChild(){}lw(){}HC(){}};olympe.N.P.vi.prototype.getImageUrl=olympe.N.P.vi.prototype.HC;olympe.N.P.vi.prototype.getImageContent=olympe.N.P.vi.prototype.lw;olympe.N.P.vi.prototype.removeChild=olympe.N.P.vi.prototype.removeChild;olympe.N.P.vi.prototype.appendChild=olympe.N.P.vi.prototype.appendChild;olympe.N.P.vi.prototype.setViewbox=olympe.N.P.vi.prototype.sx;olympe.N.P.vi.prototype.getSvgDefsElement=olympe.N.P.vi.prototype.tk;olympe.N.P.Be=class extends olympe.N.Df{ya(){}setAttribute(){}qu(){}xa(){}pf(){}getParent(){}Tf(){}ao(){}qd(){}Ei(){}wu(){}};olympe.N.P.Be.prototype.setPointerEvents=olympe.N.P.Be.prototype.wu;olympe.N.P.Be.prototype.setIgnoreUserInteraction=olympe.N.P.Be.prototype.Ei;olympe.N.P.Be.prototype.setHidden=olympe.N.P.Be.prototype.qd;olympe.N.P.Be.prototype.getContainer=olympe.N.P.Be.prototype.ao;olympe.N.P.Be.prototype.setContainer=olympe.N.P.Be.prototype.Tf;olympe.N.P.Be.prototype.getParent=olympe.N.P.Be.prototype.getParent;
448
449
  olympe.N.P.Be.prototype.setParent=olympe.N.P.Be.prototype.pf;olympe.N.P.Be.prototype.getId=olympe.N.P.Be.prototype.xa;olympe.N.P.Be.prototype.setId=olympe.N.P.Be.prototype.qu;olympe.N.P.Be.prototype.setAttribute=olympe.N.P.Be.prototype.setAttribute;olympe.N.P.Be.prototype.getHtmlElement=olympe.N.P.Be.prototype.ya;olympe.N.P.vd=class extends olympe.N.P.Be{constructor(){super()}re(){}ma(){}Ie(){}sa(){}setPosition(){}yg(){}ve(){}zg(){}td(){}setScale(){}Zp(){}Lb(){}Uw(){}le(){}};olympe.N.P.vd.prototype.refreshBox=olympe.N.P.vd.prototype.le;olympe.N.P.vd.prototype.setDefaultBox=olympe.N.P.vd.prototype.Uw;olympe.N.P.vd.prototype.setDimension=olympe.N.P.vd.prototype.Lb;olympe.N.P.vd.prototype.getScale=olympe.N.P.vd.prototype.Zp;olympe.N.P.vd.prototype.setScale=olympe.N.P.vd.prototype.setScale;
449
450
  olympe.N.P.vd.prototype.getWidth=olympe.N.P.vd.prototype.td;olympe.N.P.vd.prototype.setWidth=olympe.N.P.vd.prototype.zg;olympe.N.P.vd.prototype.getHeight=olympe.N.P.vd.prototype.ve;olympe.N.P.vd.prototype.setHeight=olympe.N.P.vd.prototype.yg;olympe.N.P.vd.prototype.setPosition=olympe.N.P.vd.prototype.setPosition;olympe.N.P.vd.prototype.getY=olympe.N.P.vd.prototype.sa;olympe.N.P.vd.prototype.setY=olympe.N.P.vd.prototype.Ie;olympe.N.P.vd.prototype.getX=olympe.N.P.vd.prototype.ma;
450
451
  olympe.N.P.vd.prototype.setX=olympe.N.P.vd.prototype.re;olympe.N.P.Bc=class extends olympe.N.P.vd{constructor(){super()}rotate(){}Xw(){}setFillColor(){}vD(){}fA(){}Cu(){}Dm(){}setStrokeColor(){}ID(){}oA(){}ox(){}nx(){}px(){}ou(){}zx(){}ls(){}yx(){}bx(){}Ax(){}};olympe.N.P.Bc.prototype.unsetMask=olympe.N.P.Bc.prototype.Ax;olympe.N.P.Bc.prototype.setMask=olympe.N.P.Bc.prototype.bx;olympe.N.P.Bc.prototype.unsetFilter=olympe.N.P.Bc.prototype.yx;olympe.N.P.Bc.prototype.setFilter=olympe.N.P.Bc.prototype.ls;olympe.N.P.Bc.prototype.unsetGradient=olympe.N.P.Bc.prototype.zx;
451
452
  olympe.N.P.Bc.prototype.setGradient=olympe.N.P.Bc.prototype.ou;olympe.N.P.Bc.prototype.setStrokeLinecap=olympe.N.P.Bc.prototype.px;olympe.N.P.Bc.prototype.setStrokeDashOffset=olympe.N.P.Bc.prototype.nx;olympe.N.P.Bc.prototype.setStrokeDashPattern=olympe.N.P.Bc.prototype.ox;olympe.N.P.Bc.prototype.setStrokeColorAndOpacity=olympe.N.P.Bc.prototype.oA;olympe.N.P.Bc.prototype.setStrokeOpacity=olympe.N.P.Bc.prototype.ID;olympe.N.P.Bc.prototype.setStrokeColor=olympe.N.P.Bc.prototype.setStrokeColor;
452
453
  olympe.N.P.Bc.prototype.getStrokeWidth=olympe.N.P.Bc.prototype.Dm;olympe.N.P.Bc.prototype.setStrokeWidth=olympe.N.P.Bc.prototype.Cu;olympe.N.P.Bc.prototype.setFillColorAndOpacity=olympe.N.P.Bc.prototype.fA;olympe.N.P.Bc.prototype.setFillOpacity=olympe.N.P.Bc.prototype.vD;olympe.N.P.Bc.prototype.setFillColor=olympe.N.P.Bc.prototype.setFillColor;olympe.N.P.Bc.prototype.setFilled=olympe.N.P.Bc.prototype.Xw;olympe.N.P.Bc.prototype.rotate=olympe.N.P.Bc.prototype.rotate;
453
454
  olympe.Wh(olympe.N.P.Bc,olympe.N.P.vd,olympe.N.Z.xc,olympe.N.Z.hG,olympe.N.Z.Od,olympe.N.Z.gG);olympe.N.P.Ol=class extends olympe.N.P.Bc{constructor(){super()}setRadius(){}};olympe.N.P.Ol.prototype.setRadius=olympe.N.P.Ol.prototype.setRadius;olympe.N.P.An=class extends olympe.N.P.Bc{constructor(){super()}CD(){}DD(){}setRadius(){}};olympe.N.P.An.prototype.setRadius=olympe.N.P.An.prototype.setRadius;olympe.N.P.An.prototype.setRy=olympe.N.P.An.prototype.DD;olympe.N.P.An.prototype.setRx=olympe.N.P.An.prototype.CD;olympe.N.P.Image=class extends olympe.N.P.Bc{constructor(){super()}he(){}vl(){}Po(){}zl(){}};olympe.N.P.Image.prototype.setVerticalAlignment=olympe.N.P.Image.prototype.zl;olympe.N.P.Image.prototype.setHorizontalAlignment=olympe.N.P.Image.prototype.Po;olympe.N.P.Image.prototype.setAspectRatioMode=olympe.N.P.Image.prototype.vl;olympe.N.P.Image.prototype.setSource=olympe.N.P.Image.prototype.he;olympe.N.P.te=class extends olympe.N.P.Bc{constructor(){super()}lc(){}};olympe.N.P.te.prototype.setCornerRadius=olympe.N.P.te.prototype.lc;olympe.N.P.Text=class extends olympe.N.P.Bc{constructor(){super()}Sb(){}Bb(){}zb(){}Eb(){}ms(){}Jo(){}Mq(){}};olympe.N.P.Text.prototype.unregisterTextSize=olympe.N.P.Text.prototype.Mq;olympe.N.P.Text.prototype.registerTextSize=olympe.N.P.Text.prototype.Jo;olympe.N.P.Text.prototype.setHorizontalAlign=olympe.N.P.Text.prototype.ms;olympe.N.P.Text.prototype.setFontWeight=olympe.N.P.Text.prototype.Eb;olympe.N.P.Text.prototype.setFontFamily=olympe.N.P.Text.prototype.zb;
454
- olympe.N.P.Text.prototype.setFontSize=olympe.N.P.Text.prototype.Bb;olympe.N.P.Text.prototype.setText=olympe.N.P.Text.prototype.Sb;olympe.N.P.Dv=class extends olympe.N.P.Text{constructor(){super()}qs(){}};olympe.N.P.Dv.prototype.setPath=olympe.N.P.Dv.prototype.qs;olympe.N.P.Tk=class extends olympe.N.P.Bc{constructor(){super()}Qw(){}fh(){}Kp(){}eu(){}};olympe.N.P.Tk.prototype.removeSegment=olympe.N.P.Tk.prototype.eu;olympe.N.P.Tk.prototype.addSegment=olympe.N.P.Tk.prototype.Kp;olympe.N.P.Tk.prototype.setLineCap=olympe.N.P.Tk.prototype.fh;olympe.N.P.Tk.prototype.setClosed=olympe.N.P.Tk.prototype.Qw;olympe.N.P.Of=class extends olympe.N.P.Be{constructor(){super()}Zi(){}re(){}Ie(){}setPosition(){}Vj(){}Fg(){}};olympe.N.P.Of.prototype.getNext=olympe.N.P.Of.prototype.Fg;olympe.N.P.Of.prototype.setNext=olympe.N.P.Of.prototype.Vj;olympe.N.P.Of.prototype.setPosition=olympe.N.P.Of.prototype.setPosition;olympe.N.P.Of.prototype.setY=olympe.N.P.Of.prototype.Ie;olympe.N.P.Of.prototype.setX=olympe.N.P.Of.prototype.re;olympe.N.P.Of.prototype.getCommandString=olympe.N.P.Of.prototype.Zi;olympe.N.P.pi=class extends olympe.N.P.Of{constructor(){super()}ND(){}TD(){}Sw(){}OD(){}UD(){}Tw(){}};olympe.N.P.pi.prototype.setControl2=olympe.N.P.pi.prototype.Tw;olympe.N.P.pi.prototype.setYControl2=olympe.N.P.pi.prototype.UD;olympe.N.P.pi.prototype.setXControl2=olympe.N.P.pi.prototype.OD;olympe.N.P.pi.prototype.setControl1=olympe.N.P.pi.prototype.Sw;olympe.N.P.pi.prototype.setYControl1=olympe.N.P.pi.prototype.TD;olympe.N.P.pi.prototype.setXControl1=olympe.N.P.pi.prototype.ND;olympe.N.P.Dy=class extends olympe.N.P.Of{constructor(){super()}qd(){}};olympe.N.P.Ln=class extends olympe.N.P.Of{constructor(){super()}MD(){}SD(){}Rw(){}};olympe.N.P.Ln.prototype.setControl=olympe.N.P.Ln.prototype.Rw;olympe.N.P.Ln.prototype.setYControl=olympe.N.P.Ln.prototype.SD;olympe.N.P.Ln.prototype.setXControl=olympe.N.P.Ln.prototype.MD;olympe.N.P.Si=class extends olympe.N.P.Of{constructor(){super()}kx(){}lx(){}tx(){}ax(){}qx(){}};olympe.N.P.Si.prototype.setSweepFlag=olympe.N.P.Si.prototype.qx;olympe.N.P.Si.prototype.setLargeArcSweepFlag=olympe.N.P.Si.prototype.ax;olympe.N.P.Si.prototype.setXAxisRotation=olympe.N.P.Si.prototype.tx;olympe.N.P.Si.prototype.setRY=olympe.N.P.Si.prototype.lx;olympe.N.P.Si.prototype.setRX=olympe.N.P.Si.prototype.kx;olympe.N.P.Ey=class extends olympe.N.P.Of{constructor(){super()}};olympe.N.P.ar=class extends olympe.N.P.Bc{constructor(){super()}appendChild(){}removeChild(){}};olympe.N.P.ar.prototype.removeChild=olympe.N.P.ar.prototype.removeChild;olympe.N.P.ar.prototype.appendChild=olympe.N.P.ar.prototype.appendChild;olympe.N.P.be=class extends olympe.N.P.vd{constructor(){super()}Di(){}addElement(){}bu(){}Kw(){}};olympe.N.P.be.prototype.removeAllElements=olympe.N.P.be.prototype.Kw;olympe.N.P.be.prototype.removeElement=olympe.N.P.be.prototype.bu;olympe.N.P.be.prototype.addElement=olympe.N.P.be.prototype.addElement;olympe.N.P.be.prototype.setAbsolute=olympe.N.P.be.prototype.Di;olympe.N.P.Bg=class extends olympe.N.P.vd{constructor(){super()}Vj(){}Fg(){}};olympe.N.P.Bg.prototype.getNext=olympe.N.P.Bg.prototype.Fg;olympe.N.P.Bg.prototype.setNext=olympe.N.P.Bg.prototype.Vj;olympe.N.P.wn=class extends olympe.N.P.Bg{constructor(){super()}Nw(){}nf(){}};olympe.N.P.wn.prototype.setInput=olympe.N.P.wn.prototype.nf;olympe.N.P.wn.prototype.setAmount=olympe.N.P.wn.prototype.Nw;olympe.N.P.Sq=class extends olympe.N.P.Bg{constructor(){super()}nf(){}setMatrix(){}};olympe.N.P.Sq.prototype.setMatrix=olympe.N.P.Sq.prototype.setMatrix;olympe.N.P.Sq.prototype.setInput=olympe.N.P.Sq.prototype.nf;olympe.N.P.yn=class extends olympe.N.P.Bg{constructor(){super()}nf(){}$w(){}ex(){}};olympe.N.P.yn.prototype.setMode=olympe.N.P.yn.prototype.ex;olympe.N.P.yn.prototype.setInput2=olympe.N.P.yn.prototype.$w;olympe.N.P.yn.prototype.setInput=olympe.N.P.yn.prototype.nf;olympe.N.P.Bn=class extends olympe.N.P.Bg{constructor(){super()}wD(){}yD(){}xD(){}};olympe.N.P.Bn.prototype.setFloodColorAndOpacity=olympe.N.P.Bn.prototype.xD;olympe.N.P.Bn.prototype.setFloodOpacity=olympe.N.P.Bn.prototype.yD;olympe.N.P.Bn.prototype.setFloodColor=olympe.N.P.Bn.prototype.wD;olympe.N.P.Nk=class extends olympe.N.P.Bg{constructor(){super()}he(){}vl(){}Po(){}zl(){}};olympe.N.P.Nk.prototype.setVerticalAlignment=olympe.N.P.Nk.prototype.zl;olympe.N.P.Nk.prototype.setHorizontalAlignment=olympe.N.P.Nk.prototype.Po;olympe.N.P.Nk.prototype.setAspectRatioMode=olympe.N.P.Nk.prototype.vl;olympe.N.P.Nk.prototype.setSource=olympe.N.P.Nk.prototype.he;olympe.N.P.Kn=class extends olympe.N.P.Bg{constructor(){super()}Kv(){}du(){}nf(){}};olympe.N.P.Kn.prototype.setInput=olympe.N.P.Kn.prototype.nf;olympe.N.P.Kn.prototype.removeInput=olympe.N.P.Kn.prototype.du;olympe.N.P.Kn.prototype.addInput=olympe.N.P.Kn.prototype.Kv;olympe.N.P.Sk=class extends olympe.N.P.Bg{constructor(){super()}tD(){}uD(){}Vw(){}nf(){}};olympe.N.P.Sk.prototype.setInput=olympe.N.P.Sk.prototype.nf;olympe.N.P.Sk.prototype.setDelta=olympe.N.P.Sk.prototype.Vw;olympe.N.P.Sk.prototype.setDeltaY=olympe.N.P.Sk.prototype.uD;olympe.N.P.Sk.prototype.setDeltaX=olympe.N.P.Sk.prototype.tD;olympe.N.P.xh=class extends olympe.N.P.Be{constructor(){super()}Di(){}Nv(){}fu(){}};olympe.N.P.xh.prototype.removeStop=olympe.N.P.xh.prototype.fu;olympe.N.P.xh.prototype.addStop=olympe.N.P.xh.prototype.Nv;olympe.N.P.xh.prototype.setAbsolute=olympe.N.P.xh.prototype.Di;olympe.N.P.Lk=class extends olympe.N.P.Be{constructor(){super()}gx(){}GD(){}HD(){}nA(){}};olympe.N.P.Lk.prototype.setStopColorAndOpacity=olympe.N.P.Lk.prototype.nA;olympe.N.P.Lk.prototype.setStopOpacity=olympe.N.P.Lk.prototype.HD;olympe.N.P.Lk.prototype.setStopColor=olympe.N.P.Lk.prototype.GD;olympe.N.P.Lk.prototype.setOffset=olympe.N.P.Lk.prototype.gx;olympe.N.P.ni=class extends olympe.N.P.xh{constructor(){super()}KD(){}QD(){}ix(){}LD(){}RD(){}jx(){}};olympe.N.P.ni.prototype.setPoint2=olympe.N.P.ni.prototype.jx;olympe.N.P.ni.prototype.setY2=olympe.N.P.ni.prototype.RD;olympe.N.P.ni.prototype.setX2=olympe.N.P.ni.prototype.LD;olympe.N.P.ni.prototype.setPoint=olympe.N.P.ni.prototype.ix;olympe.N.P.ni.prototype.setY1=olympe.N.P.ni.prototype.QD;olympe.N.P.ni.prototype.setX1=olympe.N.P.ni.prototype.KD;olympe.N.P.On=class extends olympe.N.P.xh{constructor(){super()}setRadius(){}Ow(){}Zw(){}};olympe.N.P.On.prototype.setFocalPoint=olympe.N.P.On.prototype.Zw;olympe.N.P.On.prototype.setCenter=olympe.N.P.On.prototype.Ow;olympe.N.P.On.prototype.setRadius=olympe.N.P.On.prototype.setRadius;olympe.N.P.In=class extends olympe.N.P.vd{constructor(){super()}appendChild(){}removeChild(){}Di(){}};olympe.N.P.In.prototype.setAbsolute=olympe.N.P.In.prototype.Di;olympe.N.P.In.prototype.removeChild=olympe.N.P.In.prototype.removeChild;olympe.N.P.In.prototype.appendChild=olympe.N.P.In.prototype.appendChild;olympe.ui={};olympe.ui.lb=class{constructor(){}C(){}kf(){}ei(){return this}F(){}ga(){}O(){}R(){}Gb(){}Yp(){}};olympe.ui.Df=class extends olympe.host.Pi{constructor(a){super(a)}qa(){return this.LC()}};olympe.ui.Df.prototype.qa.K=new olympe.j.J(()=>olympe.N.Df,[]);olympe.ui.Ls=class{constructor(a,b,c,d,e){this.C=a;this.style=b||'normal';this.O=c||300;this.F=d||Object.create(null);this.id=e||olympe.pa.we()}FC(){return this.C}Gz(){return this.style}SC(){return this.O}Iz(){return this.F}xa(){return this.id}};olympe.ui.Ls.prototype.FC.K=new olympe.j.J(()=>String,[]);olympe.ui.Ls.prototype.Gz.K=new olympe.j.J(()=>String,[]);olympe.ui.Ls.prototype.SC.K=new olympe.j.J(()=>Number,[]);olympe.ui.Ls.prototype.Iz.K=new olympe.j.J(()=>Object,[]);olympe.ui.ha={};olympe.ui.ha.Hx={fZ:'fill',Rq:'contain',Es:'cover'};olympe.ui.ha.Se={Xf:'manual',gm:'topleft',ah:'top',hm:'topright',KE:'centerleft',Xb:'center',LE:'centerright',Nl:'bottomleft',th:'bottom',Ds:'bottomright'};olympe.ui.ha.Xg={Nq:'auto',Xf:'manual',Rq:'contain',Es:'cover'};olympe.ui.ha.Wo={yy:'normal',HR:'multiply',vS:'screen',dP:'darken',pR:'lighten',FS:'srcin',GS:'srcout',ES:'srcatop',lT:'xor'};olympe.ui.ha.Ks={DS:'source_graphic',CS:'source_alpha',JO:'background_image',IO:'background_alpha',yP:'fill_paint',IS:'stroke_paint'};olympe.ui.ha.ey={yy:'normal',cQ:'italic',KZ:'oblique'};olympe.ui.ha.gp={Xf:'manual',EO:'auto_width',DO:'auto_height',mE:'auto_width_height',AS:'smart_width',zS:'smart_height',BS:'smart_width_height'};olympe.ui.ha.Jb={Mf:'left',Xb:'center',Ng:'right'};olympe.ui.ha.up={eF:'defaultaudio',fF:'defaultvideo',AF:'facingvideo',sF:'environmentvideo'};olympe.ui.ha.kv={FE:'butt',dt:'round',PB:'square'};olympe.ui.ha.uB={sE:'bevel',dt:'round',KI:'miter'};olympe.ui.ha.$I={bS:'portrait',oR:'landscape'};olympe.ui.ha.Wy={NONE:'none',TO:'characters',hT:'words',wS:'sentences'};olympe.ui.ha.wr={Ty:'text',uv:'password',pF:'email',aS:'phone',NR:'number'};olympe.ui.ha.Rn={Ru:'clip',oF:'ellipsis',BF:'fade'};olympe.ui.ha.uc={ah:'top',Qc:'middle',th:'bottom'};olympe.ui.Z={};olympe.ui.Z.Event=class{constructor(a){this.ca=a}vz(){return this.ca}};olympe.ui.Z.Event.prototype.vz.K=new olympe.j.J(()=>olympe.j.hc,[]);olympe.ui.Z.uP=class{constructor(a,b,c,d){this.Ij=a;this.kB=b;this.priority=void 0!==d?d:0;this.id=void 0!==c?c:olympe.pa.Xi();this.next=null}xa(){return this.id}Fg(){return this.next}Vj(a){null!==this.next&&a.Vj(this.next);this.next=a}};olympe.ui.Z.Ce=class{constructor(){this.C=null}Rd(){return this.C}contains(a){let b=this.C;for(;b;){if(b===a)return!0;b=b.Fg()}return!1}clear(){this.C=null}toString(){let a='',b=this.C;for(;b;)a+=(a?', ':'')+b.xa(),b=b.Fg();return'EventCallbackList('+a+')'}};function gd(a,b,c){const d=olympe.j.hc.now();R(a,()=>{olympe.j.bb([b.vz()],e=>{const f=olympe.j.Ua(b);if(e.CN(d).valueOf()){e=[];let g=c.Rd();for(;null!==g;)e.push(g),g=g.Fg();for(const k of e)if(c.contains(k)&&!0===k.kB.run(k.Ij.bind(null,f)))break}})})}function hd(a,b,c,d,e,f){b=new olympe.ui.Z.uP(b,olympe.j.jb(),c,d);let g=c=e.Rd();for(;c&&c.priority<d;)g=c,c=c.Fg();g?g.Vj(b):e.C=b;olympe.j.jb().Sd(f.bind(a,b.xa()));return b.xa()}
455
- function id(a,b){olympe.j.nc(a)&&(a=G(a));let c=null!==b?b.Rd():null;if(null!==c)if(c.xa()===a)null!==b.C&&(a=b.C.Fg(),b.C.next=null,b.C=a);else for(;null!==c.next;){b=c.Fg();if(b.xa()===a){a=c;null!==a.next&&(b=a.next.Fg(),a.next.next=null,a.next=b);break}c=b}}olympe.ui.Z.PA=class extends olympe.ui.Df{constructor(a){super(a)}};olympe.ui.Z.ze=class extends olympe.ui.Z.Event{constructor(a,b,c,d,e,f,g){super(g);this.key=a;this.char=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f}Az(){return this.key}hV(){return this.char}oQ(){return this.ctrlKey}qQ(){return this.shiftKey}nQ(){return this.altKey}pQ(){return this.metaKey}};olympe.ui.Z.ze.C=8;olympe.ui.Z.ze.V=46;olympe.ui.Z.ze.Fa=9;olympe.ui.Z.ze.ca=10;olympe.ui.Z.ze.F=13;olympe.ui.Z.ze.U=27;olympe.ui.Z.ze.Pa=16;olympe.ui.Z.ze.O=17;olympe.ui.Z.ze.na=91;
456
- olympe.ui.Z.ze.Ba=93;olympe.ui.Z.ze.Ka=38;olympe.ui.Z.ze.R=40;olympe.ui.Z.ze.ga=37;olympe.ui.Z.ze.$=39;olympe.ui.Z.ze.La=90;h=olympe.ui.Z.ze.prototype;h.Az.K=olympe.j.J.F;h.hV.K=olympe.j.J.R;h.oQ.K=olympe.j.J.U;h.qQ.K=olympe.j.J.U;h.nQ.K=olympe.j.J.U;h.pQ.K=olympe.j.J.U;olympe.ui.Z.rg=class{Kj(){}Jj(){}Lj(){}gj(){}F(){}zk(){}U(){}hj(){}O(){}};h=olympe.ui.Z.rg.prototype;h.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.gj.K=new olympe.j.J(()=>String,[]);h.zk.K=new olympe.j.J(()=>String,[]);h.hj.K=new olympe.j.J(()=>String,[]);olympe.ui.Z.Fn=class extends olympe.ui.Z.PA{constructor(a){super(a);this.V=this.ca=this.C=this.ga=this.R=this.$=null}ad(a){return R(this,()=>{const b=olympe.j.qb(olympe.ui.Z.ze);a((c,d,e=!1,f=!1,g=!1,k=!1)=>{I(b,new olympe.ui.Z.ze(olympe.j.Da(c),olympe.j.kc(d),olympe.j.Pc(e),olympe.j.Pc(f),olympe.j.Pc(g),olympe.j.Pc(k),olympe.j.hc.now()))});return b})}Kj(){null===this.$&&(this.$=this.ad(function(a){this.qa().registerKeyPressed(a)}.bind(this)));return this.$}Jj(){null===this.ga&&(this.ga=this.ad(function(a){this.qa().registerKeyDown(a)}.bind(this)));
455
+ olympe.N.P.Text.prototype.setFontSize=olympe.N.P.Text.prototype.Bb;olympe.N.P.Text.prototype.setText=olympe.N.P.Text.prototype.Sb;olympe.N.P.Dv=class extends olympe.N.P.Text{constructor(){super()}qs(){}};olympe.N.P.Dv.prototype.setPath=olympe.N.P.Dv.prototype.qs;olympe.N.P.Tk=class extends olympe.N.P.Bc{constructor(){super()}Qw(){}fh(){}Kp(){}eu(){}};olympe.N.P.Tk.prototype.removeSegment=olympe.N.P.Tk.prototype.eu;olympe.N.P.Tk.prototype.addSegment=olympe.N.P.Tk.prototype.Kp;olympe.N.P.Tk.prototype.setLineCap=olympe.N.P.Tk.prototype.fh;olympe.N.P.Tk.prototype.setClosed=olympe.N.P.Tk.prototype.Qw;olympe.N.P.Of=class extends olympe.N.P.Be{constructor(){super()}Zi(){}re(){}Ie(){}setPosition(){}Vj(){}Fg(){}};olympe.N.P.Of.prototype.getNext=olympe.N.P.Of.prototype.Fg;olympe.N.P.Of.prototype.setNext=olympe.N.P.Of.prototype.Vj;olympe.N.P.Of.prototype.setPosition=olympe.N.P.Of.prototype.setPosition;olympe.N.P.Of.prototype.setY=olympe.N.P.Of.prototype.Ie;olympe.N.P.Of.prototype.setX=olympe.N.P.Of.prototype.re;olympe.N.P.Of.prototype.getCommandString=olympe.N.P.Of.prototype.Zi;olympe.N.P.pi=class extends olympe.N.P.Of{constructor(){super()}ND(){}TD(){}Sw(){}OD(){}UD(){}Tw(){}};olympe.N.P.pi.prototype.setControl2=olympe.N.P.pi.prototype.Tw;olympe.N.P.pi.prototype.setYControl2=olympe.N.P.pi.prototype.UD;olympe.N.P.pi.prototype.setXControl2=olympe.N.P.pi.prototype.OD;olympe.N.P.pi.prototype.setControl1=olympe.N.P.pi.prototype.Sw;olympe.N.P.pi.prototype.setYControl1=olympe.N.P.pi.prototype.TD;olympe.N.P.pi.prototype.setXControl1=olympe.N.P.pi.prototype.ND;olympe.N.P.Dy=class extends olympe.N.P.Of{constructor(){super()}qd(){}};olympe.N.P.Ln=class extends olympe.N.P.Of{constructor(){super()}MD(){}SD(){}Rw(){}};olympe.N.P.Ln.prototype.setControl=olympe.N.P.Ln.prototype.Rw;olympe.N.P.Ln.prototype.setYControl=olympe.N.P.Ln.prototype.SD;olympe.N.P.Ln.prototype.setXControl=olympe.N.P.Ln.prototype.MD;olympe.N.P.Si=class extends olympe.N.P.Of{constructor(){super()}kx(){}lx(){}tx(){}ax(){}qx(){}};olympe.N.P.Si.prototype.setSweepFlag=olympe.N.P.Si.prototype.qx;olympe.N.P.Si.prototype.setLargeArcSweepFlag=olympe.N.P.Si.prototype.ax;olympe.N.P.Si.prototype.setXAxisRotation=olympe.N.P.Si.prototype.tx;olympe.N.P.Si.prototype.setRY=olympe.N.P.Si.prototype.lx;olympe.N.P.Si.prototype.setRX=olympe.N.P.Si.prototype.kx;olympe.N.P.Ey=class extends olympe.N.P.Of{constructor(){super()}};olympe.N.P.ar=class extends olympe.N.P.Bc{constructor(){super()}appendChild(){}removeChild(){}};olympe.N.P.ar.prototype.removeChild=olympe.N.P.ar.prototype.removeChild;olympe.N.P.ar.prototype.appendChild=olympe.N.P.ar.prototype.appendChild;olympe.N.P.be=class extends olympe.N.P.vd{constructor(){super()}Di(){}addElement(){}bu(){}Kw(){}};olympe.N.P.be.prototype.removeAllElements=olympe.N.P.be.prototype.Kw;olympe.N.P.be.prototype.removeElement=olympe.N.P.be.prototype.bu;olympe.N.P.be.prototype.addElement=olympe.N.P.be.prototype.addElement;olympe.N.P.be.prototype.setAbsolute=olympe.N.P.be.prototype.Di;olympe.N.P.Bg=class extends olympe.N.P.vd{constructor(){super()}Vj(){}Fg(){}};olympe.N.P.Bg.prototype.getNext=olympe.N.P.Bg.prototype.Fg;olympe.N.P.Bg.prototype.setNext=olympe.N.P.Bg.prototype.Vj;olympe.N.P.wn=class extends olympe.N.P.Bg{constructor(){super()}Nw(){}nf(){}};olympe.N.P.wn.prototype.setInput=olympe.N.P.wn.prototype.nf;olympe.N.P.wn.prototype.setAmount=olympe.N.P.wn.prototype.Nw;olympe.N.P.Sq=class extends olympe.N.P.Bg{constructor(){super()}nf(){}setMatrix(){}};olympe.N.P.Sq.prototype.setMatrix=olympe.N.P.Sq.prototype.setMatrix;olympe.N.P.Sq.prototype.setInput=olympe.N.P.Sq.prototype.nf;olympe.N.P.yn=class extends olympe.N.P.Bg{constructor(){super()}nf(){}$w(){}ex(){}};olympe.N.P.yn.prototype.setMode=olympe.N.P.yn.prototype.ex;olympe.N.P.yn.prototype.setInput2=olympe.N.P.yn.prototype.$w;olympe.N.P.yn.prototype.setInput=olympe.N.P.yn.prototype.nf;olympe.N.P.Bn=class extends olympe.N.P.Bg{constructor(){super()}wD(){}yD(){}xD(){}};olympe.N.P.Bn.prototype.setFloodColorAndOpacity=olympe.N.P.Bn.prototype.xD;olympe.N.P.Bn.prototype.setFloodOpacity=olympe.N.P.Bn.prototype.yD;olympe.N.P.Bn.prototype.setFloodColor=olympe.N.P.Bn.prototype.wD;olympe.N.P.Nk=class extends olympe.N.P.Bg{constructor(){super()}he(){}vl(){}Po(){}zl(){}};olympe.N.P.Nk.prototype.setVerticalAlignment=olympe.N.P.Nk.prototype.zl;olympe.N.P.Nk.prototype.setHorizontalAlignment=olympe.N.P.Nk.prototype.Po;olympe.N.P.Nk.prototype.setAspectRatioMode=olympe.N.P.Nk.prototype.vl;olympe.N.P.Nk.prototype.setSource=olympe.N.P.Nk.prototype.he;olympe.N.P.Kn=class extends olympe.N.P.Bg{constructor(){super()}Kv(){}du(){}nf(){}};olympe.N.P.Kn.prototype.setInput=olympe.N.P.Kn.prototype.nf;olympe.N.P.Kn.prototype.removeInput=olympe.N.P.Kn.prototype.du;olympe.N.P.Kn.prototype.addInput=olympe.N.P.Kn.prototype.Kv;olympe.N.P.Sk=class extends olympe.N.P.Bg{constructor(){super()}tD(){}uD(){}Vw(){}nf(){}};olympe.N.P.Sk.prototype.setInput=olympe.N.P.Sk.prototype.nf;olympe.N.P.Sk.prototype.setDelta=olympe.N.P.Sk.prototype.Vw;olympe.N.P.Sk.prototype.setDeltaY=olympe.N.P.Sk.prototype.uD;olympe.N.P.Sk.prototype.setDeltaX=olympe.N.P.Sk.prototype.tD;olympe.N.P.xh=class extends olympe.N.P.Be{constructor(){super()}Di(){}Nv(){}fu(){}};olympe.N.P.xh.prototype.removeStop=olympe.N.P.xh.prototype.fu;olympe.N.P.xh.prototype.addStop=olympe.N.P.xh.prototype.Nv;olympe.N.P.xh.prototype.setAbsolute=olympe.N.P.xh.prototype.Di;olympe.N.P.Lk=class extends olympe.N.P.Be{constructor(){super()}gx(){}GD(){}HD(){}nA(){}};olympe.N.P.Lk.prototype.setStopColorAndOpacity=olympe.N.P.Lk.prototype.nA;olympe.N.P.Lk.prototype.setStopOpacity=olympe.N.P.Lk.prototype.HD;olympe.N.P.Lk.prototype.setStopColor=olympe.N.P.Lk.prototype.GD;olympe.N.P.Lk.prototype.setOffset=olympe.N.P.Lk.prototype.gx;olympe.N.P.ni=class extends olympe.N.P.xh{constructor(){super()}KD(){}QD(){}ix(){}LD(){}RD(){}jx(){}};olympe.N.P.ni.prototype.setPoint2=olympe.N.P.ni.prototype.jx;olympe.N.P.ni.prototype.setY2=olympe.N.P.ni.prototype.RD;olympe.N.P.ni.prototype.setX2=olympe.N.P.ni.prototype.LD;olympe.N.P.ni.prototype.setPoint=olympe.N.P.ni.prototype.ix;olympe.N.P.ni.prototype.setY1=olympe.N.P.ni.prototype.QD;olympe.N.P.ni.prototype.setX1=olympe.N.P.ni.prototype.KD;olympe.N.P.On=class extends olympe.N.P.xh{constructor(){super()}setRadius(){}Ow(){}Zw(){}};olympe.N.P.On.prototype.setFocalPoint=olympe.N.P.On.prototype.Zw;olympe.N.P.On.prototype.setCenter=olympe.N.P.On.prototype.Ow;olympe.N.P.On.prototype.setRadius=olympe.N.P.On.prototype.setRadius;olympe.N.P.In=class extends olympe.N.P.vd{constructor(){super()}appendChild(){}removeChild(){}Di(){}};olympe.N.P.In.prototype.setAbsolute=olympe.N.P.In.prototype.Di;olympe.N.P.In.prototype.removeChild=olympe.N.P.In.prototype.removeChild;olympe.N.P.In.prototype.appendChild=olympe.N.P.In.prototype.appendChild;olympe.ui={};olympe.ui.lb=class{constructor(){}C(){}kf(){}ei(){return this}F(){}ga(){}O(){}R(){}Gb(){}Yp(){}};olympe.ui.Df=class extends olympe.host.Pi{constructor(a){super(a)}qa(){return this.LC()}};olympe.ui.Df.prototype.qa.K=new olympe.j.J(()=>olympe.N.Df,[]);olympe.ui.Ls=class{constructor(a,b,c,d,e){this.C=a;this.style=b||'normal';this.O=c||300;this.F=d||Object.create(null);this.id=e||olympe.pa.we()}FC(){return this.C}Gz(){return this.style}SC(){return this.O}Iz(){return this.F}xa(){return this.id}};olympe.ui.Ls.prototype.FC.K=new olympe.j.J(()=>String,[]);olympe.ui.Ls.prototype.Gz.K=new olympe.j.J(()=>String,[]);olympe.ui.Ls.prototype.SC.K=new olympe.j.J(()=>Number,[]);olympe.ui.Ls.prototype.Iz.K=new olympe.j.J(()=>Object,[]);olympe.ui.ha={};olympe.ui.ha.Hx={gZ:'fill',Rq:'contain',Es:'cover'};olympe.ui.ha.Se={Xf:'manual',gm:'topleft',ah:'top',hm:'topright',KE:'centerleft',Xb:'center',LE:'centerright',Nl:'bottomleft',th:'bottom',Ds:'bottomright'};olympe.ui.ha.Xg={Nq:'auto',Xf:'manual',Rq:'contain',Es:'cover'};olympe.ui.ha.Wo={yy:'normal',IR:'multiply',wS:'screen',dP:'darken',qR:'lighten',GS:'srcin',HS:'srcout',FS:'srcatop',mT:'xor'};olympe.ui.ha.Ks={ES:'source_graphic',DS:'source_alpha',JO:'background_image',IO:'background_alpha',yP:'fill_paint',JS:'stroke_paint'};olympe.ui.ha.ey={yy:'normal',dQ:'italic',LZ:'oblique'};olympe.ui.ha.gp={Xf:'manual',EO:'auto_width',DO:'auto_height',mE:'auto_width_height',BS:'smart_width',AS:'smart_height',CS:'smart_width_height'};olympe.ui.ha.Jb={Mf:'left',Xb:'center',Ng:'right'};olympe.ui.ha.up={eF:'defaultaudio',fF:'defaultvideo',AF:'facingvideo',sF:'environmentvideo'};olympe.ui.ha.kv={FE:'butt',dt:'round',PB:'square'};olympe.ui.ha.uB={sE:'bevel',dt:'round',KI:'miter'};olympe.ui.ha.$I={cS:'portrait',pR:'landscape'};olympe.ui.ha.Wy={NONE:'none',TO:'characters',iT:'words',xS:'sentences'};olympe.ui.ha.wr={Ty:'text',uv:'password',pF:'email',bS:'phone',OR:'number'};olympe.ui.ha.Rn={Ru:'clip',oF:'ellipsis',BF:'fade'};olympe.ui.ha.uc={ah:'top',Qc:'middle',th:'bottom'};olympe.ui.Z={};olympe.ui.Z.Event=class{constructor(a){this.ca=a}vz(){return this.ca}};olympe.ui.Z.Event.prototype.vz.K=new olympe.j.J(()=>olympe.j.hc,[]);olympe.ui.Z.uP=class{constructor(a,b,c,d){this.Ij=a;this.kB=b;this.priority=void 0!==d?d:0;this.id=void 0!==c?c:olympe.pa.Xi();this.next=null}xa(){return this.id}Fg(){return this.next}Vj(a){null!==this.next&&a.Vj(this.next);this.next=a}};olympe.ui.Z.Ce=class{constructor(){this.C=null}Rd(){return this.C}contains(a){let b=this.C;for(;b;){if(b===a)return!0;b=b.Fg()}return!1}clear(){this.C=null}toString(){let a='',b=this.C;for(;b;)a+=(a?', ':'')+b.xa(),b=b.Fg();return'EventCallbackList('+a+')'}};function gd(a,b,c){const d=olympe.j.hc.now();R(a,()=>{olympe.j.bb([b.vz()],e=>{const f=olympe.j.Ua(b);if(e.CN(d).valueOf()){e=[];let g=c.Rd();for(;null!==g;)e.push(g),g=g.Fg();for(const k of e)if(c.contains(k)&&!0===k.kB.run(k.Ij.bind(null,f)))break}})})}function hd(a,b,c,d,e,f){b=new olympe.ui.Z.uP(b,olympe.j.jb(),c,d);let g=c=e.Rd();for(;c&&c.priority<d;)g=c,c=c.Fg();g?g.Vj(b):e.C=b;olympe.j.jb().Sd(f.bind(a,b.xa()));return b.xa()}
456
+ function id(a,b){olympe.j.nc(a)&&(a=G(a));let c=null!==b?b.Rd():null;if(null!==c)if(c.xa()===a)null!==b.C&&(a=b.C.Fg(),b.C.next=null,b.C=a);else for(;null!==c.next;){b=c.Fg();if(b.xa()===a){a=c;null!==a.next&&(b=a.next.Fg(),a.next.next=null,a.next=b);break}c=b}}olympe.ui.Z.PA=class extends olympe.ui.Df{constructor(a){super(a)}};olympe.ui.Z.ze=class extends olympe.ui.Z.Event{constructor(a,b,c,d,e,f,g){super(g);this.key=a;this.char=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f}Az(){return this.key}iV(){return this.char}pQ(){return this.ctrlKey}rQ(){return this.shiftKey}oQ(){return this.altKey}qQ(){return this.metaKey}};olympe.ui.Z.ze.C=8;olympe.ui.Z.ze.V=46;olympe.ui.Z.ze.Fa=9;olympe.ui.Z.ze.ca=10;olympe.ui.Z.ze.F=13;olympe.ui.Z.ze.U=27;olympe.ui.Z.ze.Pa=16;olympe.ui.Z.ze.O=17;olympe.ui.Z.ze.na=91;
457
+ olympe.ui.Z.ze.Ba=93;olympe.ui.Z.ze.Ka=38;olympe.ui.Z.ze.R=40;olympe.ui.Z.ze.ga=37;olympe.ui.Z.ze.$=39;olympe.ui.Z.ze.La=90;h=olympe.ui.Z.ze.prototype;h.Az.K=olympe.j.J.F;h.iV.K=olympe.j.J.R;h.pQ.K=olympe.j.J.U;h.rQ.K=olympe.j.J.U;h.oQ.K=olympe.j.J.U;h.qQ.K=olympe.j.J.U;olympe.ui.Z.rg=class{Kj(){}Jj(){}Lj(){}gj(){}F(){}zk(){}U(){}hj(){}O(){}};h=olympe.ui.Z.rg.prototype;h.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.gj.K=new olympe.j.J(()=>String,[]);h.zk.K=new olympe.j.J(()=>String,[]);h.hj.K=new olympe.j.J(()=>String,[]);olympe.ui.Z.Fn=class extends olympe.ui.Z.PA{constructor(a){super(a);this.V=this.ca=this.C=this.ga=this.R=this.$=null}ad(a){return R(this,()=>{const b=olympe.j.qb(olympe.ui.Z.ze);a((c,d,e=!1,f=!1,g=!1,k=!1)=>{I(b,new olympe.ui.Z.ze(olympe.j.Da(c),olympe.j.kc(d),olympe.j.Pc(e),olympe.j.Pc(f),olympe.j.Pc(g),olympe.j.Pc(k),olympe.j.hc.now()))});return b})}Kj(){null===this.$&&(this.$=this.ad(function(a){this.qa().registerKeyPressed(a)}.bind(this)));return this.$}Jj(){null===this.ga&&(this.ga=this.ad(function(a){this.qa().registerKeyDown(a)}.bind(this)));
457
458
  return this.ga}Lj(){null===this.ca&&(this.ca=this.ad(function(a){this.qa().registerKeyUp(a)}.bind(this)));return this.ca}gj(a,b,c){null===this.R&&(this.R=new olympe.ui.Z.Ce,gd(this,this.Kj(),this.R));return hd(this,a,b,c,this.R,this.F)}F(a){id(a,this.R)}zk(a,b,c){null===this.C&&(this.C=new olympe.ui.Z.Ce,gd(this,this.Jj(),this.C));return hd(this,a,b,c,this.C,this.U)}U(a){id(a,this.C)}hj(a,b,c){null===this.V&&(this.V=new olympe.ui.Z.Ce,gd(this,this.Lj(),this.V));return hd(this,a,b,c,this.V,this.O)}O(a){id(a,
458
- this.V)}};olympe.ui.Z.Fn.ua=[olympe.ui.Z.rg];olympe.ui.Z.Fn.prototype.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);olympe.ui.Z.Fn.prototype.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);olympe.ui.Z.Fn.prototype.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);olympe.ui.Z.MouseEvent=class extends olympe.ui.Z.Event{constructor(a,b,c,d,e,f,g,k,l){super(l);this.F=a;this.C=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.V=g;this.O=k}bj(){this.F instanceof olympe.j.ia||(this.F=new olympe.j.ia(this.F[0],this.F[1]));return this.F}tg(){this.C instanceof olympe.j.ia||(this.C=new olympe.j.ia(this.C[0],this.C[1]));return this.C}sQ(){return this.ctrlKey}tQ(){return this.shiftKey}rQ(){return this.altKey}oy(){return this.metaKey}nm(){return this.V}vV(){const a=
459
+ this.V)}};olympe.ui.Z.Fn.ua=[olympe.ui.Z.rg];olympe.ui.Z.Fn.prototype.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);olympe.ui.Z.Fn.prototype.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);olympe.ui.Z.Fn.prototype.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);olympe.ui.Z.MouseEvent=class extends olympe.ui.Z.Event{constructor(a,b,c,d,e,f,g,k,l){super(l);this.F=a;this.C=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.V=g;this.O=k}bj(){this.F instanceof olympe.j.ia||(this.F=new olympe.j.ia(this.F[0],this.F[1]));return this.F}tg(){this.C instanceof olympe.j.ia||(this.C=new olympe.j.ia(this.C[0],this.C[1]));return this.C}tQ(){return this.ctrlKey}uQ(){return this.shiftKey}sQ(){return this.altKey}oy(){return this.metaKey}nm(){return this.V}wV(){const a=
459
460
  [],b=this.O.valueOf(),c=[olympe.ui.Z.MouseEvent.Kx,olympe.ui.Z.MouseEvent.C,olympe.ui.Z.MouseEvent.F,olympe.ui.Z.MouseEvent.O,olympe.ui.Z.MouseEvent.R];for(const d of c)0!==(b&d.valueOf())&&a.push(d);return a}DN(a){return olympe.j.Pc(0!==(this.O.valueOf()&a.valueOf()))}};olympe.ui.Z.MouseEvent.Kx=olympe.j.aa.ONE;olympe.ui.Z.MouseEvent.C=olympe.j.aa.mK;olympe.ui.Z.MouseEvent.F=olympe.j.Da(4);olympe.ui.Z.MouseEvent.O=olympe.j.Da(8);olympe.ui.Z.MouseEvent.R=olympe.j.Da(16);h=olympe.ui.Z.MouseEvent.prototype;
460
- h.bj.K=olympe.j.J.V;h.tg.K=olympe.j.J.V;h.sQ.K=olympe.j.J.U;h.tQ.K=olympe.j.J.U;h.rQ.K=olympe.j.J.U;h.oy.K=olympe.j.J.U;h.nm.K=olympe.j.J.F;h.vV.K=new olympe.j.J(()=>Array,[]);h.DN.K=olympe.j.J.U;olympe.ui.Z.xc=class{bd(){}Pj(){}Jm(){}lq(){}co(){}fo(){}pk(){}eo(){}rm(){}sm(){}tm(){}bo(){}pm(){}ko(){}eh(){}wk(){}Ak(){}sl(){}uo(){}qq(){}ij(){}xk(){}Ci(){}Qj(){}vo(){}rq(){}Sg(){}Ig(){}Eh(){}Fm(){}Gm(){}wm(){}xm(){}vm(){}um(){}Ck(){}ro(){}Bk(){}fj(){}Bo(){}uq(){}Mm(){}qo(){}xo(){}wo(){}sq(){}Im(){}};h=olympe.ui.Z.xc.prototype;h.bd.K=new olympe.j.J(()=>String,[]);h.Jm.K=new olympe.j.J(()=>String,[]);h.co.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);
461
+ h.bj.K=olympe.j.J.V;h.tg.K=olympe.j.J.V;h.tQ.K=olympe.j.J.U;h.uQ.K=olympe.j.J.U;h.sQ.K=olympe.j.J.U;h.oy.K=olympe.j.J.U;h.nm.K=olympe.j.J.F;h.wV.K=new olympe.j.J(()=>Array,[]);h.DN.K=olympe.j.J.U;olympe.ui.Z.xc=class{bd(){}Pj(){}Jm(){}lq(){}co(){}fo(){}pk(){}eo(){}rm(){}sm(){}tm(){}bo(){}pm(){}ko(){}eh(){}wk(){}Ak(){}sl(){}uo(){}qq(){}ij(){}xk(){}Ci(){}Qj(){}vo(){}rq(){}Sg(){}Ig(){}Eh(){}Fm(){}Gm(){}wm(){}xm(){}vm(){}um(){}Ck(){}ro(){}Bk(){}fj(){}Bo(){}uq(){}Mm(){}qo(){}xo(){}wo(){}sq(){}Im(){}};h=olympe.ui.Z.xc.prototype;h.bd.K=new olympe.j.J(()=>String,[]);h.Jm.K=new olympe.j.J(()=>String,[]);h.co.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);
461
462
  h.fo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pk.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.eo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.rm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.sm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.tm.K=new olympe.j.J(()=>olympe.ui.Z.fk,[]);h.pm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.ko.K=new olympe.j.J(()=>olympe.ui.Z.Qk,[]);h.eh.K=new olympe.j.J(()=>String,[]);h.Ak.K=new olympe.j.J(()=>String,[]);
462
463
  h.uo.K=new olympe.j.J(()=>String,[]);h.ij.K=new olympe.j.J(()=>String,[]);h.Ci.K=new olympe.j.J(()=>String,[]);h.vo.K=new olympe.j.J(()=>String,[]);h.Sg.K=new olympe.j.J(()=>String,[]);h.Eh.K=olympe.j.J.U;h.Fm.K=olympe.j.J.U;h.Gm.K=olympe.j.J.U;h.wm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.xm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.vm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.um.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.Ck.K=new olympe.j.J(()=>String,[]);
463
464
  h.Bk.K=new olympe.j.J(()=>String,[]);h.Bo.K=new olympe.j.J(()=>String,[]);h.Mm.K=new olympe.j.J(()=>String,[]);h.xo.K=new olympe.j.J(()=>String,[]);h.wo.K=new olympe.j.J(()=>String,[]);function jd(a){a.touches=new olympe.j.Map(olympe.ui.Z.xr);const b=c=>{for(c=c.Rd();null!==c&&!c.kB.run(c.Ij.bind(void 0,a.touches));)c=c.Fg()};a.Cb=new olympe.ui.Z.Ce;a.La=new olympe.ui.Z.Ce;a.Ka=new olympe.ui.Z.Ce;a.Fa=new olympe.ui.Z.Ce;a.qa().$m(c=>{c.forEach(d=>{a.touches.set(d.identifier.toString(),new olympe.ui.Z.xr(new olympe.j.ia(d.ON,d.PN),new olympe.j.ia(d.iL,d.jL),new olympe.j.ia(d.radiusX,d.radiusY),olympe.j.ja(d.rotationAngle),olympe.j.ja(d.force),d.identifier.toString()))});b(a.Cb)});
@@ -479,43 +480,43 @@ olympe.j.jb().Sd(()=>{this.wk(b);this.Ig(c)});return a.Ca()}Gm(){const a=olympe.
479
480
  a,b,c,this.La,this.uq)}uq(a){id(a,this.La)}Bk(a,b,c){null===this.touches&&jd(this);null===this.Ka&&(this.Ka=new olympe.ui.Z.Ce);return hd(this,a,b,c,this.Ka,this.fj)}fj(a){id(a,this.Ka)}Mm(a,b,c){null===this.touches&&jd(this);null===this.Fa&&(this.Fa=new olympe.ui.Z.Ce);return hd(this,a,b,c,this.Fa,this.qo)}qo(a){id(a,this.Fa)}wm(){null===this.Kd&&(this.Kd=kd(this,this.Bo.bind(this)));return this.Kd}xm(){null===this.qe&&(this.qe=kd(this,this.Ck.bind(this)));return this.qe}vm(){null===this.Rc&&(this.Rc=
480
481
  kd(this,this.Bk.bind(this)));return this.Rc}um(){null===this.Mc&&(this.Mc=kd(this,this.Mm.bind(this)));return this.Mc}xo(a,b,c){null===this.na&&R(this,()=>{ld(this)});null===this.Pa&&(this.Pa=new olympe.ui.Z.Ce);return hd(this,a,b,c,this.Pa,this.sq)}sq(a){id(a,this.Pa)}wo(a,b,c){null===this.na&&R(this,()=>{ld(this)});null===this.Ba&&(this.Ba=new olympe.ui.Z.Ce);return hd(this,a,b,c,this.Ba,this.Im)}Im(a){id(a,this.Ba)}ko(){null===this.na&&R(this,()=>{ld(this)});return this.na}};
481
482
  olympe.ui.Z.qv.ua=[olympe.ui.Z.xc];h=olympe.ui.Z.qv.prototype;h.bo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.co.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pk.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.eo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.rm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.sm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.tm.K=new olympe.j.J(()=>olympe.ui.Z.fk,[]);
482
- h.fo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.Eh.K=olympe.j.J.U;h.Fm.K=olympe.j.J.U;h.Gm.K=olympe.j.J.U;h.wm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.xm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.vm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.um.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.ko.K=new olympe.j.J(()=>olympe.ui.Z.Qk,[]);olympe.ui.Z.GestureEvent=class extends olympe.ui.Z.Event{constructor(a,b,c,d,e,f,g,k,l,m,n){super(n);this.C=a;this.ga=b;this.$=c;this.O=d;this.V=e;this.F=f;this.rotation=g;this.R=k;this.U=l;this.na=m}Vp(){this.C instanceof olympe.j.ia||(this.C=new olympe.j.ia(this.C[0],this.C[1]));return this.C}LU(){return this.ga}SU(){return this.$}uU(){return this.O}Zp(){return this.V}PV(){this.F instanceof olympe.j.ia||(this.F=new olympe.j.ia(this.F[0],this.F[1]));return this.F}BV(){return this.rotation}CU(){return this.R}ZV(){return this.U}uQ(){return this.na}};
483
- h=olympe.ui.Z.GestureEvent.prototype;h.Vp.K=olympe.j.J.V;h.LU.K=olympe.j.J.F;h.SU.K=olympe.j.J.F;h.uU.K=olympe.j.J.F;h.Zp.K=olympe.j.J.F;h.PV.K=olympe.j.J.V;h.BV.K=olympe.j.J.F;h.CU.K=olympe.j.J.F;h.ZV.K=olympe.j.J.U;h.uQ.K=olympe.j.J.U;olympe.ui.Z.xr=class{constructor(a,b,c,d,e,f){this.O=a;this.C=b;this.F=c;this.rotationAngle=d;this.force=e;this.identifier=f}bj(){return this.O}tg(){return this.C}Kr(){return this.F}MC(){return this.rotationAngle}GC(){return this.force}kM(){return this.identifier}};h=olympe.ui.Z.xr.prototype;h.bj.K=olympe.j.J.V;h.tg.K=olympe.j.J.V;h.Kr.K=olympe.j.J.V;h.MC.K=olympe.j.J.F;h.GC.K=olympe.j.J.F;h.kM.K=new olympe.j.J(()=>String,[]);olympe.ui.Z.TouchEvent=class extends olympe.ui.Z.Event{constructor(a,b){super(b);this.touches=a}F(){return this.touches}C(){return this.touches.Rd()}};olympe.ui.Z.TouchEvent.prototype.F.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.Z.TouchEvent.prototype.C.K=new olympe.j.J(()=>olympe.ui.Z.xr,[]);olympe.ui.Z.Qk=class extends olympe.ui.Z.Event{constructor(a,b,c,d){super(d);this.O=a;this.F=c;this.C=b}bj(){return this.O}tg(){return this.C}Vp(){return this.F}};olympe.ui.Z.Qk.prototype.bj.K=olympe.j.J.V;olympe.ui.Z.Qk.prototype.tg.K=olympe.j.J.V;olympe.ui.Z.Qk.prototype.Vp.K=olympe.j.J.V;olympe.ui.Z.fk=class extends olympe.ui.Z.MouseEvent{constructor(a,b,c,d,e,f,g,k,l,m,n){super(c,d,e,f,g,k,l,m,n);this.deltaX=a;this.deltaY=b}R(){return this.deltaX}U(){return this.deltaY}};olympe.ui.Z.fk.prototype.R.K=olympe.j.J.F;olympe.ui.Z.fk.prototype.U.K=olympe.j.J.F;olympe.ui.Z.Od=class{fl(){}kl(){}gl(){}ym(){}hl(){}qm(){}jl(){}il(){}wq(){}mq(){}Cq(){}vq(){}xq(){}nq(){}Xr(){}Vr(){}yq(){}oq(){}zq(){}pq(){}Bq(){}tq(){}Aq(){}Ba(){}};h=olympe.ui.Z.Od.prototype;h.fl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.kl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.gl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.ym.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.hl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);
483
+ h.fo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.Eh.K=olympe.j.J.U;h.Fm.K=olympe.j.J.U;h.Gm.K=olympe.j.J.U;h.wm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.xm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.vm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.um.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.ko.K=new olympe.j.J(()=>olympe.ui.Z.Qk,[]);olympe.ui.Z.GestureEvent=class extends olympe.ui.Z.Event{constructor(a,b,c,d,e,f,g,k,l,m,n){super(n);this.C=a;this.ga=b;this.$=c;this.O=d;this.V=e;this.F=f;this.rotation=g;this.R=k;this.U=l;this.na=m}Vp(){this.C instanceof olympe.j.ia||(this.C=new olympe.j.ia(this.C[0],this.C[1]));return this.C}MU(){return this.ga}TU(){return this.$}vU(){return this.O}Zp(){return this.V}QV(){this.F instanceof olympe.j.ia||(this.F=new olympe.j.ia(this.F[0],this.F[1]));return this.F}CV(){return this.rotation}DU(){return this.R}$V(){return this.U}vQ(){return this.na}};
484
+ h=olympe.ui.Z.GestureEvent.prototype;h.Vp.K=olympe.j.J.V;h.MU.K=olympe.j.J.F;h.TU.K=olympe.j.J.F;h.vU.K=olympe.j.J.F;h.Zp.K=olympe.j.J.F;h.QV.K=olympe.j.J.V;h.CV.K=olympe.j.J.F;h.DU.K=olympe.j.J.F;h.$V.K=olympe.j.J.U;h.vQ.K=olympe.j.J.U;olympe.ui.Z.xr=class{constructor(a,b,c,d,e,f){this.O=a;this.C=b;this.F=c;this.rotationAngle=d;this.force=e;this.identifier=f}bj(){return this.O}tg(){return this.C}Kr(){return this.F}MC(){return this.rotationAngle}GC(){return this.force}kM(){return this.identifier}};h=olympe.ui.Z.xr.prototype;h.bj.K=olympe.j.J.V;h.tg.K=olympe.j.J.V;h.Kr.K=olympe.j.J.V;h.MC.K=olympe.j.J.F;h.GC.K=olympe.j.J.F;h.kM.K=new olympe.j.J(()=>String,[]);olympe.ui.Z.TouchEvent=class extends olympe.ui.Z.Event{constructor(a,b){super(b);this.touches=a}F(){return this.touches}C(){return this.touches.Rd()}};olympe.ui.Z.TouchEvent.prototype.F.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.Z.TouchEvent.prototype.C.K=new olympe.j.J(()=>olympe.ui.Z.xr,[]);olympe.ui.Z.Qk=class extends olympe.ui.Z.Event{constructor(a,b,c,d){super(d);this.O=a;this.F=c;this.C=b}bj(){return this.O}tg(){return this.C}Vp(){return this.F}};olympe.ui.Z.Qk.prototype.bj.K=olympe.j.J.V;olympe.ui.Z.Qk.prototype.tg.K=olympe.j.J.V;olympe.ui.Z.Qk.prototype.Vp.K=olympe.j.J.V;olympe.ui.Z.fk=class extends olympe.ui.Z.MouseEvent{constructor(a,b,c,d,e,f,g,k,l,m,n){super(c,d,e,f,g,k,l,m,n);this.deltaX=a;this.deltaY=b}R(){return this.deltaX}U(){return this.deltaY}};olympe.ui.Z.fk.prototype.R.K=olympe.j.J.F;olympe.ui.Z.fk.prototype.U.K=olympe.j.J.F;olympe.ui.Z.Od=class{fl(){}kl(){}gl(){}ym(){}hl(){}qm(){}jl(){}il(){}wq(){}mq(){}Cq(){}vq(){}xq(){}nq(){}Xr(){}Vr(){}yq(){}oq(){}zq(){}pq(){}Bq(){}tq(){}Aq(){}Ba(){}};h=olympe.ui.Z.Od.prototype;h.fl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.kl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.gl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.ym.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.hl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);
484
485
  h.qm.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.jl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.il.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.wq.K=new olympe.j.J(()=>String,[]);h.Cq.K=new olympe.j.J(()=>String,[]);h.xq.K=new olympe.j.J(()=>String,[]);h.Xr.K=new olympe.j.J(()=>String,[]);h.yq.K=new olympe.j.J(()=>String,[]);h.zq.K=new olympe.j.J(()=>String,[]);h.Bq.K=new olympe.j.J(()=>String,[]);h.Aq.K=new olympe.j.J(()=>String,[]);olympe.ui.Z.$u=class extends olympe.ui.Z.PA{constructor(a){super(a);this.U=this.Ka=this.V=this.La=this.R=this.Fa=this.O=this.Pa=this.$=this.cb=this.F=this.na=this.ga=this.Cb=this.C=this.ca=null}tb(a){return R(this,()=>{const b=olympe.j.qb(olympe.ui.Z.GestureEvent);a(nc(this,(c,d,e,f,g,k,l,m,n,p,r,t)=>{I(b,new olympe.ui.Z.GestureEvent([c,d],olympe.j.Da(e),olympe.j.Da(f),olympe.j.Da(g),olympe.j.Da(k),[l,m],olympe.j.Da(n),olympe.j.Da(p),olympe.j.Pc(r),olympe.j.Pc(t),olympe.j.hc.now()))}));return b})}fl(){null===
485
486
  this.ca&&(this.ca=this.tb(function(a){this.qa().registerHorizontalPan(a)}.bind(this)));return this.ca}kl(){null===this.Cb&&(this.Cb=this.tb(function(a){this.qa().registerVerticalPan(a)}.bind(this)));return this.Cb}gl(){null===this.na&&(this.na=this.tb(function(a){this.qa().registerHorizontalSwipe(a)}.bind(this)));return this.na}ym(){null===this.cb&&(this.cb=this.tb(function(a){this.qa().registerVerticalSwipe(a)}.bind(this)));return this.cb}hl(a){null===this.Pa&&(this.Pa=this.tb(function(b){this.qa().registerLongPress(b,
486
487
  a)}.bind(this)));return this.Pa}qm(){null===this.Fa&&(this.Fa=this.tb(function(a){this.qa().registerLongPressUp(a)}.bind(this)));return this.Fa}jl(){null===this.La&&(this.La=this.tb(function(a){this.qa().registerRotate(a)}.bind(this)));return this.La}il(){null===this.Ka&&(this.Ka=this.tb(function(a){this.qa().registerPinch(a)}.bind(this)));return this.Ka}wq(a,b,c){null===this.C&&(this.C=new olympe.ui.Z.Ce,gd(this,this.fl(),this.C));return hd(this,a,b,c,this.C,this.mq)}mq(a){id(a,this.C)}Cq(a,b,c){null===
487
488
  this.ga&&(this.ga=new olympe.ui.Z.Ce,gd(this,this.kl(),this.ga));return hd(this,a,b,c,this.ga,this.vq)}vq(a){id(a,this.ga)}xq(a,b,c){null===this.F&&(this.F=new olympe.ui.Z.Ce,gd(this,this.gl(),this.F));return hd(this,a,b,c,this.F,this.nq)}nq(a){id(a,this.F)}Xr(a,b,c){null===this.$&&(this.$=new olympe.ui.Z.Ce,gd(this,this.ym(),this.$));return hd(this,a,b,c,this.$,this.Vr)}Vr(a){id(a,this.$)}yq(a,b,c,d){null===this.O&&(this.O=new olympe.ui.Z.Ce,gd(this,this.hl(d),this.O));return hd(this,a,b,c,this.O,
488
489
  this.oq)}oq(a){id(a,this.O)}zq(a,b,c){null===this.R&&(this.R=new olympe.ui.Z.Ce,gd(this,this.qm(),this.R));return hd(this,a,b,c,this.R,this.pq)}pq(a){id(a,this.R)}Bq(a,b,c){null===this.V&&(this.V=new olympe.ui.Z.Ce,gd(this,this.jl(),this.V));return hd(this,a,b,c,this.V,this.tq)}tq(a){id(a,this.V)}Aq(a,b,c){null===this.U&&(this.U=new olympe.ui.Z.Ce,gd(this,this.il(),this.U));return hd(this,a,b,c,this.U,this.Ba)}Ba(a){id(a,this.U)}};olympe.ui.Z.$u.ua=[olympe.ui.Z.Od];h=olympe.ui.Z.$u.prototype;
489
490
  h.fl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.kl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.gl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.ym.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.hl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.qm.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.jl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.il.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);olympe.ui.media={};olympe.ui.media.MediaStream=class extends olympe.ui.Df{Bl(a,b){this.qa().Bl(a,b?b.ma():void 0,b?b.sa():void 0)}};olympe.ui.media.yr=class extends olympe.ui.media.MediaStream{constructor(a){super(a);this.status=olympe.j.rb(olympe.j.ka);this.qa().na(b=>{b?this.status.update(olympe.j.ka.C):this.status.update(olympe.j.ka.xb)})}C(){return this.status.Ca()}};olympe.ui.media.yr.prototype.C.K=olympe.j.J.U;olympe.ui.media.Rh=class extends olympe.ui.media.yr{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.media.Rh,olympe.host.ra.ob.GI));olympe.j.bb([a],c=>{if(c instanceof olympe.ui.media.ec.jm)this.qa().JD(c.qa());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Video device is null or undefined');throw Error('Cannot handle MediaDevice of unknown type '+c.Oa());}});olympe.j.bb([b],c=>{if(c instanceof olympe.ui.media.ec.Vo)this.qa().aA(c.qa());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Audio device is null or undefined');
490
- throw Error('Cannot handle MediaDevice of unknown type '+c.Oa());}})}gs(a){this.qa().gs(a)}Du(a){this.qa().Du(a)}Em(){this.qa().Em()}};olympe.ui.media.EJ=class extends olympe.ui.media.yr{constructor(){super(olympe.ui.Wa.C(olympe.N.media.EJ,olympe.host.ra.ob.DR))}};function md(a,b){a.Ft(c=>{0<c.length?b(c[0]):b(null)})}olympe.ui.media.zp=class extends olympe.ui.Df{constructor(){super(olympe.ui.Wa.C(olympe.N.media.zp,olympe.host.ra.ob.HI))}Gt(a){this.qa().Gt(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.ec.jm(olympe.j.kc(d.id),olympe.j.kc(d.name)))});a(c)})}Ft(a){this.qa().Ft(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.ec.Vo(olympe.j.kc(d.id),olympe.j.kc(d.name)))});a(c)})}};olympe.ui.media.lt=class extends olympe.ui.media.MediaStream{constructor(){super(olympe.ui.Wa.C(olympe.N.media.lt,olympe.host.ra.ob.II))}Gk(a){this.qa().Gk(a)}};olympe.ui.media.ec={};olympe.ui.media.ec.yp=class extends olympe.ui.Df{Oa(){}};olympe.ui.media.ec.Vo=class extends olympe.ui.media.ec.yp{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.media.ec.Vo,olympe.host.ra.ob.FI));this.name=b;this.id=a;this.qa().Qo(a,this.name)}Oa(){return this.name}};olympe.ui.media.ec.jm=class extends olympe.ui.media.ec.yp{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.media.ec.jm,olympe.host.ra.ob.JI));this.name=b;this.id=a;this.qa().Qo(a,b)}Oa(){return this.name}toString(){return'VideoInputDevice [name: '+this.name+']'}};olympe.ui.media.ec.mP=class extends olympe.ui.media.ec.Vo{constructor(){super(olympe.ui.ha.up.eF,'Default microphone')}};olympe.ui.media.ec.xY=class extends olympe.ui.media.ec.jm{constructor(){super(olympe.ui.ha.up.fF,'Default camera')}};olympe.ui.media.ec.IF=class extends olympe.ui.media.ec.jm{constructor(){super(olympe.ui.ha.up.AF,'Facing camera')}};olympe.ui.media.ec.GE=class extends olympe.ui.media.ec.jm{constructor(){super(olympe.ui.ha.up.sF,'Environment (back) camera')}};olympe.ui.D={};function nd(a){null===a.Cb&&(a.Cb=R(a,()=>olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb)),a.Ge().$r(()=>{a.Cb.update(olympe.j.ka.C)}),a.Ge().Zr(()=>{a.Cb.update(olympe.j.ka.xb)}))}
491
+ throw Error('Cannot handle MediaDevice of unknown type '+c.Oa());}})}gs(a){this.qa().gs(a)}Du(a){this.qa().Du(a)}Em(){this.qa().Em()}};olympe.ui.media.EJ=class extends olympe.ui.media.yr{constructor(){super(olympe.ui.Wa.C(olympe.N.media.EJ,olympe.host.ra.ob.ER))}};function md(a,b){a.Ft(c=>{0<c.length?b(c[0]):b(null)})}olympe.ui.media.zp=class extends olympe.ui.Df{constructor(){super(olympe.ui.Wa.C(olympe.N.media.zp,olympe.host.ra.ob.HI))}Gt(a){this.qa().Gt(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.ec.jm(olympe.j.kc(d.id),olympe.j.kc(d.name)))});a(c)})}Ft(a){this.qa().Ft(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.ec.Vo(olympe.j.kc(d.id),olympe.j.kc(d.name)))});a(c)})}};olympe.ui.media.lt=class extends olympe.ui.media.MediaStream{constructor(){super(olympe.ui.Wa.C(olympe.N.media.lt,olympe.host.ra.ob.II))}Gk(a){this.qa().Gk(a)}};olympe.ui.media.ec={};olympe.ui.media.ec.yp=class extends olympe.ui.Df{Oa(){}};olympe.ui.media.ec.Vo=class extends olympe.ui.media.ec.yp{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.media.ec.Vo,olympe.host.ra.ob.FI));this.name=b;this.id=a;this.qa().Qo(a,this.name)}Oa(){return this.name}};olympe.ui.media.ec.jm=class extends olympe.ui.media.ec.yp{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.media.ec.jm,olympe.host.ra.ob.JI));this.name=b;this.id=a;this.qa().Qo(a,b)}Oa(){return this.name}toString(){return'VideoInputDevice [name: '+this.name+']'}};olympe.ui.media.ec.mP=class extends olympe.ui.media.ec.Vo{constructor(){super(olympe.ui.ha.up.eF,'Default microphone')}};olympe.ui.media.ec.yY=class extends olympe.ui.media.ec.jm{constructor(){super(olympe.ui.ha.up.fF,'Default camera')}};olympe.ui.media.ec.IF=class extends olympe.ui.media.ec.jm{constructor(){super(olympe.ui.ha.up.AF,'Facing camera')}};olympe.ui.media.ec.GE=class extends olympe.ui.media.ec.jm{constructor(){super(olympe.ui.ha.up.sF,'Environment (back) camera')}};olympe.ui.D={};function nd(a){null===a.Cb&&(a.Cb=R(a,()=>olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb)),a.Ge().$r(()=>{a.Cb.update(olympe.j.ka.C)}),a.Ge().Zr(()=>{a.Cb.update(olympe.j.ka.xb)}))}
491
492
  olympe.ui.D.Element=class extends olympe.ui.Df{constructor(a){super(a);this.ga=this.sg=this.wg=this.Cb=this.hidden=null}Ge(){return this.qa()}Yp(){return olympe.ui.Wa.Yp(this)}Ch(){}Pd(a){a&&(this.Qa(a.Pp()),this.xg(a.Sp(),olympe.ui.ha.Xg.Xf,olympe.ui.ha.Se.Xf,a.Rp(),a.Qp()),this.lg(a.CM()))}Qa(a){this.Ge().Qa(olympe.j.If(a,b=>b instanceof olympe.j.Color?b.gi():void 0));return this}xg(a,b,c,d,e){this.Ge().xg(a,b,c,olympe.j.If(d,f=>f.ma()),olympe.j.If(d,f=>f.sa()),olympe.j.If(e,f=>f.ma()),olympe.j.If(e,
492
493
  f=>f.sa()));return this}ks(a){this.Ge().ks(a);return this}Fq(a){this.Ge().Fq(a);return this}Oo(a){this.Ge().Oo(a);return this}hs(a){this.Ge().hs(olympe.j.If(a,b=>b.ma()),olympe.j.If(a,b=>b.sa()));return this}js(a){olympe.j.bb([a],b=>{this.Ge().js(b.ma(),b.sa())});return this}lg(a){this.Ge().lg(a);return this}la(){}qd(a){null===this.hidden&&R(this,()=>{this.hidden=olympe.j.Xc(!1)});J(this.hidden,a);this.Ge().qd(a);return this}ts(a){this.Ge().ts(a);return this}nb(a,b){this.Ge().nb(a,b)}pl(){null===
493
- this.hidden&&R(this,()=>{this.hidden=olympe.j.Xc(!1)});return this.hidden}Ht(){nd(this);return this.Cb.Ca()}mj(){nd(this);this.Ge().mj();return this}cn(){nd(this);this.Ge().cn();return this}Ei(a){this.Ge().Ei(a);return this}nu(a){this.Ge().nu(a);return this}wQ(a,b={}){this.ga||(this.ga=new olympe.j.Qd('tooltipContext'),this.ga.onDestroy(()=>{this.ga=null}));const c=b.delay||500;this.ga.run(()=>{let d=!1;const e=olympe.ui.Wa.kf();let f=null;const g=(m,n)=>{const p=olympe.j.Ua(a);p&&0!==p.valueOf().length&&
494
- (m?f=tc(()=>{f=null;b.vx=n.tg();e.VD(a,b);d=!0},c.valueOf()):null!==f?(uc(f),f=null):(e.ww(),d=!1))},k=this.ij(m=>{g(!0,m)}),l=this.Ci(m=>{g(!1,m)});this.ga.onDestroy(()=>{d&&(e.ww(),d=!1);this.xk(k);this.Qj(l)})});return this}vQ(){this.ga&&this.ga.destroy();this.ga=null;return this}Ia(){null===this.wg&&R(this,()=>{this.wg=new olympe.ui.Z.qv(this.Ge())});return this.wg}bd(a,b,c){return this.Ia().bd(a,b,c)}Pj(a){this.Ia().Pj(a)}Jm(a,b,c){return this.Ia().Jm(a,b,c)}lq(a){this.Ia().lq(a)}bo(){return this.Ia().bo()}pm(){return this.Ia().pm()}co(){return this.Ia().co()}fo(){return this.Ia().fo()}pk(){return this.Ia().pk()}eo(){return this.Ia().eo()}rm(){return this.Ia().rm()}sm(){return this.Ia().sm()}tm(){return this.Ia().tm()}Ak(a,
494
+ this.hidden&&R(this,()=>{this.hidden=olympe.j.Xc(!1)});return this.hidden}Ht(){nd(this);return this.Cb.Ca()}mj(){nd(this);this.Ge().mj();return this}cn(){nd(this);this.Ge().cn();return this}Ei(a){this.Ge().Ei(a);return this}nu(a){this.Ge().nu(a);return this}xQ(a,b={}){this.ga||(this.ga=new olympe.j.Qd('tooltipContext'),this.ga.onDestroy(()=>{this.ga=null}));const c=b.delay||500;this.ga.run(()=>{let d=!1;const e=olympe.ui.Wa.kf();let f=null;const g=(m,n)=>{const p=olympe.j.Ua(a);p&&0!==p.valueOf().length&&
495
+ (m?f=tc(()=>{f=null;b.vx=n.tg();e.VD(a,b);d=!0},c.valueOf()):null!==f?(uc(f),f=null):(e.ww(),d=!1))},k=this.ij(m=>{g(!0,m)}),l=this.Ci(m=>{g(!1,m)});this.ga.onDestroy(()=>{d&&(e.ww(),d=!1);this.xk(k);this.Qj(l)})});return this}wQ(){this.ga&&this.ga.destroy();this.ga=null;return this}Ia(){null===this.wg&&R(this,()=>{this.wg=new olympe.ui.Z.qv(this.Ge())});return this.wg}bd(a,b,c){return this.Ia().bd(a,b,c)}Pj(a){this.Ia().Pj(a)}Jm(a,b,c){return this.Ia().Jm(a,b,c)}lq(a){this.Ia().lq(a)}bo(){return this.Ia().bo()}pm(){return this.Ia().pm()}co(){return this.Ia().co()}fo(){return this.Ia().fo()}pk(){return this.Ia().pk()}eo(){return this.Ia().eo()}rm(){return this.Ia().rm()}sm(){return this.Ia().sm()}tm(){return this.Ia().tm()}Ak(a,
495
496
  b,c){return this.Ia().Ak(a,b,c)}sl(a){this.Ia().sl(a)}uo(a,b,c){return this.Ia().uo(a,b,c)}qq(a){this.Ia().qq(a)}ij(a,b,c){return this.Ia().ij(a,b,c)}xk(a){this.Ia().xk(a)}Ci(a,b,c){return this.Ia().Ci(a,b,c)}Qj(a){this.Ia().Qj(a)}vo(a,b,c){return this.Ia().vo(a,b,c)}rq(a){this.Ia().rq(a)}eh(a,b,c){return this.Ia().eh(a,b,c)}wk(a){this.Ia().wk(a)}Sg(a,b,c){return this.Ia().Sg(a,b,c)}Ig(a){this.Ia().Ig(a)}Eh(){return this.Ia().Eh()}Fm(){return this.Ia().Fm()}Gm(){return this.Ia().Gm()}wm(){return this.Ia().wm()}xm(){return this.Ia().xm()}vm(){return this.Ia().vm()}um(){return this.Ia().um()}Ck(a,
496
497
  b,c){return this.Ia().Ck(a,b,c)}ro(a){this.Ia().ro(a)}Bk(a,b,c){return this.Ia().Bk(a,b,c)}fj(a){this.Ia().fj(a)}Bo(a,b,c){return this.Ia().Bo(a,b,c)}uq(a){this.Ia().uq(a)}Mm(a,b,c){return this.Ia().Mm(a,b,c)}qo(a){this.Ia().qo(a)}ko(){return this.Ia().ko()}xo(a,b,c){return this.Ia().xo(a,b,c)}wo(a,b,c){return this.Ia().wo(a,b,c)}sq(a){this.Ia().sq(a)}Im(a){this.Ia().Im(a)}tb(){this.sg||R(this,function(){this.sg=new olympe.ui.Z.$u(this.Ge())}.bind(this));return this.sg}fl(){return this.tb().fl()}kl(){return this.tb().kl()}gl(){return this.tb().gl()}ym(){return this.tb().ym()}hl(a){return this.tb().hl(a||
497
498
  250)}qm(){return this.tb().qm()}jl(){return this.tb().jl()}il(){return this.tb().il()}wq(a,b,c){return this.tb().wq(a,b,c)}mq(a){this.tb().mq(a)}Cq(a,b,c){return this.tb().Cq(a,b,c)}vq(a){this.tb().vq(a)}xq(a,b,c){return this.tb().xq(a,b,c)}nq(a){this.tb().nq(a)}Xr(a,b,c){return this.tb().Xr(a,b,c)}Vr(a){this.tb().Vr(a)}yq(a,b,c,d){return this.tb().yq(a,b,c,d||250)}oq(a){this.tb().oq(a)}zq(a,b,c){return this.tb().zq(a,b,c)}pq(a){this.tb().pq(a)}Bq(a,b,c){return this.tb().Bq(a,b,c)}tq(a){this.tb().tq(a)}Aq(a,
498
499
  b,c){return this.tb().Aq(a,b,c)}Ba(a){this.tb().Ba(a)}};olympe.ui.D.Element.prototype.Jm.zr=!0;olympe.ui.D.Element.prototype.bd.zr=!0;olympe.ui.D.Element.ua=[olympe.ui.Z.xc,olympe.ui.Z.Od];h=olympe.ui.D.Element.prototype;h.Ge.K=new olympe.j.J(()=>olympe.N.D.Element,[]);h.Ch.K=olympe.j.J.V;h.Pd.K=new olympe.j.J(()=>{},[]);h.Qa.K=olympe.j.J.C([]);h.xg.K=olympe.j.J.C([]);h.ks.K=olympe.j.J.C([]);h.Fq.K=olympe.j.J.C([]);h.Oo.K=olympe.j.J.C([]);h.hs.K=olympe.j.J.C([]);h.js.K=olympe.j.J.C([]);h.lg.K=olympe.j.J.C([]);
499
- h.la.K=olympe.j.J.V;h.qd.K=olympe.j.J.C([]);h.ts.K=olympe.j.J.C([]);h.nb.K=olympe.j.J.C([]);h.pl.K=olympe.j.J.U;h.Ht.K=olympe.j.J.U;h.mj.K=olympe.j.J.C([]);h.cn.K=olympe.j.J.C([]);h.Ei.K=olympe.j.J.C([]);h.nu.K=olympe.j.J.C([]);h.wQ.K=olympe.j.J.C([]);h.vQ.K=olympe.j.J.C([]);h.Ia.K=new olympe.j.J(()=>olympe.ui.Z.qv,[]);h.bd.K=new olympe.j.J(()=>String,[]);h.Pj.K=new olympe.j.J(()=>{},[]);h.Jm.K=new olympe.j.J(()=>String,[]);h.lq.K=new olympe.j.J(()=>{},[]);
500
+ h.la.K=olympe.j.J.V;h.qd.K=olympe.j.J.C([]);h.ts.K=olympe.j.J.C([]);h.nb.K=olympe.j.J.C([]);h.pl.K=olympe.j.J.U;h.Ht.K=olympe.j.J.U;h.mj.K=olympe.j.J.C([]);h.cn.K=olympe.j.J.C([]);h.Ei.K=olympe.j.J.C([]);h.nu.K=olympe.j.J.C([]);h.xQ.K=olympe.j.J.C([]);h.wQ.K=olympe.j.J.C([]);h.Ia.K=new olympe.j.J(()=>olympe.ui.Z.qv,[]);h.bd.K=new olympe.j.J(()=>String,[]);h.Pj.K=new olympe.j.J(()=>{},[]);h.Jm.K=new olympe.j.J(()=>String,[]);h.lq.K=new olympe.j.J(()=>{},[]);
500
501
  h.bo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.co.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.fo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pk.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.eo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.rm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.sm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.tm.K=new olympe.j.J(()=>olympe.ui.Z.fk,[]);
501
502
  h.Ak.K=new olympe.j.J(()=>String,[]);h.sl.K=new olympe.j.J(()=>{},[]);h.uo.K=new olympe.j.J(()=>String,[]);h.qq.K=new olympe.j.J(()=>{},[]);h.ij.K=new olympe.j.J(()=>String,[]);h.xk.K=new olympe.j.J(()=>{},[]);h.Ci.K=new olympe.j.J(()=>String,[]);h.Qj.K=new olympe.j.J(()=>{},[]);h.vo.K=new olympe.j.J(()=>String,[]);h.rq.K=new olympe.j.J(()=>{},[]);h.eh.K=new olympe.j.J(()=>String,[]);h.wk.K=new olympe.j.J(()=>{},[]);h.Sg.K=new olympe.j.J(()=>String,[]);h.Ig.K=new olympe.j.J(()=>{},[]);h.Eh.K=olympe.j.J.U;
502
503
  h.Fm.K=olympe.j.J.U;h.Gm.K=olympe.j.J.U;h.wm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.xm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.vm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.um.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.Ck.K=new olympe.j.J(()=>String,[]);h.ro.K=new olympe.j.J(()=>{},[]);h.Bk.K=new olympe.j.J(()=>String,[]);h.fj.K=new olympe.j.J(()=>{},[]);h.Bo.K=new olympe.j.J(()=>String,[]);h.uq.K=new olympe.j.J(()=>{},[]);h.Mm.K=new olympe.j.J(()=>String,[]);
503
504
  h.qo.K=new olympe.j.J(()=>{},[]);h.ko.K=new olympe.j.J(()=>olympe.ui.Z.Qk,[]);h.xo.K=new olympe.j.J(()=>String,[]);h.wo.K=new olympe.j.J(()=>String,[]);h.sq.K=new olympe.j.J(()=>{},[]);h.Im.K=new olympe.j.J(()=>{},[]);h.tb.K=new olympe.j.J(()=>olympe.ui.Z.$u,[]);h.fl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.kl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.gl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.ym.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);
504
505
  h.hl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.qm.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.jl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.il.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.wq.K=new olympe.j.J(()=>String,[]);h.mq.K=new olympe.j.J(()=>{},[]);h.Cq.K=new olympe.j.J(()=>String,[]);h.vq.K=new olympe.j.J(()=>{},[]);h.xq.K=new olympe.j.J(()=>String,[]);h.nq.K=new olympe.j.J(()=>{},[]);h.Xr.K=new olympe.j.J(()=>String,[]);h.Vr.K=new olympe.j.J(()=>{},[]);
505
- h.yq.K=new olympe.j.J(()=>String,[]);h.oq.K=new olympe.j.J(()=>{},[]);h.zq.K=new olympe.j.J(()=>String,[]);h.pq.K=new olympe.j.J(()=>{},[]);h.Bq.K=new olympe.j.J(()=>String,[]);h.tq.K=new olympe.j.J(()=>{},[]);h.Aq.K=new olympe.j.J(()=>String,[]);olympe.ui.D.bf={};olympe.ui.D.bf.Ws=class{constructor(){}render(){}C(){}};olympe.ui.D.bf.SB=class{constructor(a,b,c,d,e){this.U=a;this.fontSize=b;this.R=c;this.O=d;this.F=e}render(a,b){b=new olympe.ui.D.hb(b);b.Sb(a);this.U&&b.bc(this.U);this.fontSize&&b.Bb(this.fontSize);this.R&&b.Eb(this.R);this.O&&b.zb(this.O);this.F&&b.pb(this.F);return b}C(){return olympe.j.mb}};olympe.ui.D.bf.SB.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.hQ=class{constructor(a,b,c,d,e,f){this.U=a;this.align=b;this.fontSize=c;this.R=d;this.O=e;this.F=f}render(a,b){b=new olympe.ui.D.hb(b);b.Sb(a.ke(this.U));this.align&&b.bc(this.align);this.fontSize&&b.Bb(this.fontSize);this.R&&b.Eb(this.R);this.O&&b.zb(this.O);this.F&&b.pb(this.F);return b}C(){return olympe.dc.CloudObject}};olympe.ui.D.bf.hQ.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.KR=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.R=c;this.O=d;this.F=e}render(a,b){const c=new olympe.ui.D.hb(b);olympe.j.bb([a.Oa()],d=>{c.Sb(d)});this.align&&c.bc(this.align);this.fontSize&&c.Bb(this.fontSize);this.R&&c.Eb(this.R);this.O&&c.zb(this.O);this.F&&c.pb(this.F);return c}C(){return olympe.dc.CloudObject}};olympe.ui.D.bf.KR.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.LR=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.R=c;this.O=d;this.F=e}render(a,b){b=new olympe.ui.D.hb(b);b.Sb(a.da().toString());this.align&&b.bc(this.align);this.fontSize&&b.Bb(this.fontSize);this.R&&b.Eb(this.R);this.O&&b.zb(this.O);this.F&&b.pb(this.F);return b}C(){return olympe.dc.Zs}};olympe.ui.D.bf.LR.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.QR=class extends olympe.ui.D.bf.SB{constructor(a,b,c,d,e){super(a,b,c,d,e)}render(a,b){return olympe.ui.D.bf.SB.prototype.render.call(this,a instanceof olympe.j.Proxy||a instanceof olympe.j.aa?a.valueOf():a,b)}C(){return olympe.j.aa}};olympe.ui.D.bf.QR.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.ba={};function S(a,b,c,d,e){const f=k=>{k=k?k.valueOf():'default';const l=b+'_'+k;e&&k&&!a.Pa[l]&&(a.Pa[l]=olympe.j.nl().run(e,k));return a.Pa[l]||a.Pa['default']},g=olympe.j.qb(c);d&&d.bh?(I(g,f()),Cb(d,function(k){I(g,f(k))})):I(g,f(d));return g}olympe.ui.D.ba.oh=class{constructor(){this.Pa=Object.create(null)}nm(){}OM(){}Mt(){}uw(){}tw(){}PC(){}ow(){}Er(){}qz(){}iw(){}zz(){}ew(){}kf(){}sw(){}kw(){}Kt(){}Jz(){}DC(){}Bz(){}wz(){}};olympe.ui.D.ba.oh.ga='default';h=olympe.ui.D.ba.oh.prototype;
506
+ h.yq.K=new olympe.j.J(()=>String,[]);h.oq.K=new olympe.j.J(()=>{},[]);h.zq.K=new olympe.j.J(()=>String,[]);h.pq.K=new olympe.j.J(()=>{},[]);h.Bq.K=new olympe.j.J(()=>String,[]);h.tq.K=new olympe.j.J(()=>{},[]);h.Aq.K=new olympe.j.J(()=>String,[]);olympe.ui.D.bf={};olympe.ui.D.bf.Ws=class{constructor(){}render(){}C(){}};olympe.ui.D.bf.SB=class{constructor(a,b,c,d,e){this.U=a;this.fontSize=b;this.R=c;this.O=d;this.F=e}render(a,b){b=new olympe.ui.D.hb(b);b.Sb(a);this.U&&b.bc(this.U);this.fontSize&&b.Bb(this.fontSize);this.R&&b.Eb(this.R);this.O&&b.zb(this.O);this.F&&b.pb(this.F);return b}C(){return olympe.j.mb}};olympe.ui.D.bf.SB.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.iQ=class{constructor(a,b,c,d,e,f){this.U=a;this.align=b;this.fontSize=c;this.R=d;this.O=e;this.F=f}render(a,b){b=new olympe.ui.D.hb(b);b.Sb(a.ke(this.U));this.align&&b.bc(this.align);this.fontSize&&b.Bb(this.fontSize);this.R&&b.Eb(this.R);this.O&&b.zb(this.O);this.F&&b.pb(this.F);return b}C(){return olympe.dc.CloudObject}};olympe.ui.D.bf.iQ.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.LR=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.R=c;this.O=d;this.F=e}render(a,b){const c=new olympe.ui.D.hb(b);olympe.j.bb([a.Oa()],d=>{c.Sb(d)});this.align&&c.bc(this.align);this.fontSize&&c.Bb(this.fontSize);this.R&&c.Eb(this.R);this.O&&c.zb(this.O);this.F&&c.pb(this.F);return c}C(){return olympe.dc.CloudObject}};olympe.ui.D.bf.LR.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.MR=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.R=c;this.O=d;this.F=e}render(a,b){b=new olympe.ui.D.hb(b);b.Sb(a.da().toString());this.align&&b.bc(this.align);this.fontSize&&b.Bb(this.fontSize);this.R&&b.Eb(this.R);this.O&&b.zb(this.O);this.F&&b.pb(this.F);return b}C(){return olympe.dc.Zs}};olympe.ui.D.bf.MR.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.bf.RR=class extends olympe.ui.D.bf.SB{constructor(a,b,c,d,e){super(a,b,c,d,e)}render(a,b){return olympe.ui.D.bf.SB.prototype.render.call(this,a instanceof olympe.j.Proxy||a instanceof olympe.j.aa?a.valueOf():a,b)}C(){return olympe.j.aa}};olympe.ui.D.bf.RR.ua=[olympe.ui.D.bf.Ws];olympe.ui.D.ba={};function S(a,b,c,d,e){const f=k=>{k=k?k.valueOf():'default';const l=b+'_'+k;e&&k&&!a.Pa[l]&&(a.Pa[l]=olympe.j.nl().run(e,k));return a.Pa[l]||a.Pa['default']},g=olympe.j.qb(c);d&&d.bh?(I(g,f()),Cb(d,function(k){I(g,f(k))})):I(g,f(d));return g}olympe.ui.D.ba.oh=class{constructor(){this.Pa=Object.create(null)}nm(){}OM(){}Mt(){}uw(){}tw(){}PC(){}ow(){}Er(){}qz(){}iw(){}zz(){}ew(){}kf(){}sw(){}kw(){}Kt(){}Jz(){}DC(){}Bz(){}wz(){}};olympe.ui.D.ba.oh.ga='default';h=olympe.ui.D.ba.oh.prototype;
506
507
  h.nm.K=new olympe.j.J(()=>olympe.ui.D.ba.Zj,[]);h.OM.K=new olympe.j.J(()=>olympe.ui.D.ba.xv,[]);h.Mt.K=new olympe.j.J(()=>olympe.ui.D.ba.Qh,[]);h.uw.K=new olympe.j.J(()=>olympe.ui.D.ba.Zk,[]);h.tw.K=new olympe.j.J(()=>olympe.ui.D.ba.Yk,[]);h.PC.K=new olympe.j.J(()=>olympe.ui.D.ba.jt,[]);h.ow.K=new olympe.j.J(()=>olympe.ui.D.ba.Cj,[]);h.Er.K=new olympe.j.J(()=>olympe.ui.D.ba.Hk,[]);h.qz.K=new olympe.j.J(()=>olympe.ui.D.ba.Xo,[]);h.iw.K=new olympe.j.J(()=>olympe.ui.D.ba.ki,[]);
507
- h.zz.K=new olympe.j.J(()=>olympe.ui.D.ba.Zl,[]);h.ew.K=new olympe.j.J(()=>olympe.ui.D.ba.ii,[]);h.kf.K=new olympe.j.J(()=>olympe.ui.D.ba.Uq,[]);h.sw.K=new olympe.j.J(()=>olympe.ui.D.ba.Xk,[]);h.kw.K=new olympe.j.J(()=>olympe.ui.D.ba.yj,[]);h.Kt.K=new olympe.j.J(()=>olympe.ui.D.ba.Ok,[]);h.Jz.K=new olympe.j.J(()=>olympe.ui.D.ba.Ip,[]);h.DC.K=new olympe.j.J(()=>olympe.ui.D.ba.Fs,[]);h.Bz.K=new olympe.j.J(()=>olympe.ui.D.ba.$l,[]);h.wz.K=new olympe.j.J(()=>olympe.ui.D.ba.qf,[]);olympe.ui.D.ba.Uq=class{constructor(){this.backgroundColor=Q(O());this.KT=olympe.j.yb('');this.pL=olympe.j.Yc();this.oL=olympe.j.Yc(0,0);this.opacity=olympe.j.ja(1)}Pp(){return this.backgroundColor}Qa(a){J(this.backgroundColor,a)}Sp(){return this.KT}Rp(){return this.pL}js(a){J(this.pL,a)}Qp(){return this.oL}hs(a){J(this.oL,a)}CM(){return this.opacity}lg(a){J(this.opacity,a)}};h=olympe.ui.D.ba.Uq.prototype;h.Pp.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Sp.K=olympe.j.J.R;h.Rp.K=olympe.j.J.V;
508
+ h.zz.K=new olympe.j.J(()=>olympe.ui.D.ba.Zl,[]);h.ew.K=new olympe.j.J(()=>olympe.ui.D.ba.ii,[]);h.kf.K=new olympe.j.J(()=>olympe.ui.D.ba.Uq,[]);h.sw.K=new olympe.j.J(()=>olympe.ui.D.ba.Xk,[]);h.kw.K=new olympe.j.J(()=>olympe.ui.D.ba.yj,[]);h.Kt.K=new olympe.j.J(()=>olympe.ui.D.ba.Ok,[]);h.Jz.K=new olympe.j.J(()=>olympe.ui.D.ba.Ip,[]);h.DC.K=new olympe.j.J(()=>olympe.ui.D.ba.Fs,[]);h.Bz.K=new olympe.j.J(()=>olympe.ui.D.ba.$l,[]);h.wz.K=new olympe.j.J(()=>olympe.ui.D.ba.qf,[]);olympe.ui.D.ba.Uq=class{constructor(){this.backgroundColor=Q(O());this.LT=olympe.j.yb('');this.pL=olympe.j.Yc();this.oL=olympe.j.Yc(0,0);this.opacity=olympe.j.ja(1)}Pp(){return this.backgroundColor}Qa(a){J(this.backgroundColor,a)}Sp(){return this.LT}Rp(){return this.pL}js(a){J(this.pL,a)}Qp(){return this.oL}hs(a){J(this.oL,a)}CM(){return this.opacity}lg(a){J(this.opacity,a)}};h=olympe.ui.D.ba.Uq.prototype;h.Pp.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Sp.K=olympe.j.J.R;h.Rp.K=olympe.j.J.V;
508
509
  h.Qp.K=olympe.j.J.V;h.CM.K=olympe.j.J.F;olympe.ui.D.ba.rr=class extends olympe.ui.D.ba.Uq{constructor(){super()}};olympe.ui.D.ba.rr.$b='rootElement';olympe.ui.D.ba.gd=class extends olympe.ui.D.ba.Uq{constructor(){super();this.Fa=olympe.j.Yc(200,40);this.borderWidth=olympe.j.ja(0);this.borderColor=Q(O());this.Pa=olympe.j.ja(0);this.yc=olympe.j.Yc(0,0);this.vc=olympe.j.ja(0);this.Fc=olympe.j.ja(0);this.Ka=Q(O());this.Rb=olympe.j.Xc(!1)}la(){return this.Fa}Lb(a){J(this.Fa,a)}xi(){return this.borderWidth}ed(a){J(this.borderWidth,a)}cl(){return this.borderColor}ld(a){J(this.borderColor,a)}Tp(){return this.Pa}lc(a){J(this.Pa,a)}Nr(){return this.yc}Pr(){return this.vc}Qr(){return this.Fc}Lr(){return this.Ka}Mr(){return this.Rb}gh(a,
509
- b,c,d,e){J(this.yc,a);J(this.vc,b);J(this.Fc,c);J(this.Ka,d);J(this.Rb,e)}};h=olympe.ui.D.ba.gd.prototype;h.Lb.zr=!0;h.ed.zr=!0;h.ld.zr=!0;h.la.K=olympe.j.J.V;h.xi.K=olympe.j.J.F;h.cl.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Tp.K=olympe.j.J.F;h.Nr.K=olympe.j.J.V;h.Pr.K=olympe.j.J.F;h.Qr.K=olympe.j.J.F;h.Lr.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Mr.K=olympe.j.J.U;olympe.ui.D.ba.Zj=class extends olympe.ui.D.ba.gd{constructor(){super();this.La=Q(N());this.C=Q(N());this.cb=Q(N());this.Cb=Q(K());this.O=Q(K());this.ca=Q(K());this.R=Q(K());this.F=Q(K());this.fontSize=olympe.j.ja(14);this.$=olympe.j.ja(500);this.ga=olympe.j.yb('');this.na=olympe.j.qb(String,olympe.ui.ha.Jb.Xb);this.Ba=olympe.j.qb(String,olympe.ui.ha.uc.Qc);this.U=olympe.j.Xc(!1);this.V=olympe.j.ja(0)}KM(){return this.La}Wj(a){J(this.La,a)}cM(){return this.C}bV(){return this.cb}LM(){return this.Cb}dM(){return this.O}zG(){return this.ca}pb(a){J(this.ca,
510
+ b,c,d,e){J(this.yc,a);J(this.vc,b);J(this.Fc,c);J(this.Ka,d);J(this.Rb,e)}};h=olympe.ui.D.ba.gd.prototype;h.Lb.zr=!0;h.ed.zr=!0;h.ld.zr=!0;h.la.K=olympe.j.J.V;h.xi.K=olympe.j.J.F;h.cl.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Tp.K=olympe.j.J.F;h.Nr.K=olympe.j.J.V;h.Pr.K=olympe.j.J.F;h.Qr.K=olympe.j.J.F;h.Lr.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Mr.K=olympe.j.J.U;olympe.ui.D.ba.Zj=class extends olympe.ui.D.ba.gd{constructor(){super();this.La=Q(N());this.C=Q(N());this.cb=Q(N());this.Cb=Q(K());this.O=Q(K());this.ca=Q(K());this.R=Q(K());this.F=Q(K());this.fontSize=olympe.j.ja(14);this.$=olympe.j.ja(500);this.ga=olympe.j.yb('');this.na=olympe.j.qb(String,olympe.ui.ha.Jb.Xb);this.Ba=olympe.j.qb(String,olympe.ui.ha.uc.Qc);this.U=olympe.j.Xc(!1);this.V=olympe.j.ja(0)}KM(){return this.La}Wj(a){J(this.La,a)}cM(){return this.C}cV(){return this.cb}LM(){return this.Cb}dM(){return this.O}zG(){return this.ca}pb(a){J(this.ca,
510
511
  a)}MM(){return this.R}eM(){return this.F}yG(){return this.fontSize}Bb(a){J(this.fontSize,a)}Ai(){return this.$}Eb(a){J(this.$,a)}zb(a){J(this.ga,a)}zi(){return this.ga}AG(){return this.na}bc(a){J(this.na,a)}BG(){return this.Ba}fc(a){J(this.Ba,a)}xG(){return this.U}JL(){return this.V}ae(a,b){J(this.U,a);J(this.V,b)}};olympe.ui.D.ba.Zj.$b='button';olympe.ui.D.ba.Zj.C='selected';olympe.ui.D.ba.Zj.F='warning';h=olympe.ui.D.ba.Zj.prototype;h.KM.K=new olympe.j.J(()=>olympe.j.Color,[]);
511
- h.cM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.bV.K=new olympe.j.J(()=>olympe.j.Color,[]);h.LM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.dM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.zG.K=new olympe.j.J(()=>olympe.j.Color,[]);h.MM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.eM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.yG.K=olympe.j.J.F;h.Ai.K=olympe.j.J.F;h.zi.K=olympe.j.J.R;h.AG.K=new olympe.j.J(()=>String,[]);h.BG.K=new olympe.j.J(()=>String,[]);h.xG.K=olympe.j.J.U;h.JL.K=olympe.j.J.F;olympe.ui.D.ba.xv=class extends olympe.ui.D.ba.Uq{constructor(){super()}};olympe.ui.D.ba.xv.$b='rectangle';olympe.ui.D.ba.ii=class extends olympe.ui.D.ba.gd{constructor(){super();this.U=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.O=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.V=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.R=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.F=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.C=olympe.j.ja(200)}yf(){return this.U}Hg(){return this.O}zf(){return this.V}xf(){return this.R}xz(){return this.F}pz(){return this.C}};
512
+ h.cM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.cV.K=new olympe.j.J(()=>olympe.j.Color,[]);h.LM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.dM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.zG.K=new olympe.j.J(()=>olympe.j.Color,[]);h.MM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.eM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.yG.K=olympe.j.J.F;h.Ai.K=olympe.j.J.F;h.zi.K=olympe.j.J.R;h.AG.K=new olympe.j.J(()=>String,[]);h.BG.K=new olympe.j.J(()=>String,[]);h.xG.K=olympe.j.J.U;h.JL.K=olympe.j.J.F;olympe.ui.D.ba.xv=class extends olympe.ui.D.ba.Uq{constructor(){super()}};olympe.ui.D.ba.xv.$b='rectangle';olympe.ui.D.ba.ii=class extends olympe.ui.D.ba.gd{constructor(){super();this.U=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.O=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.V=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.R=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.F=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd);this.C=olympe.j.ja(200)}yf(){return this.U}Hg(){return this.O}zf(){return this.V}xf(){return this.R}xz(){return this.F}pz(){return this.C}};
512
513
  olympe.ui.D.ba.ii.C='selected';olympe.ui.D.ba.ii.F='warning';olympe.ui.D.ba.ii.$b='checkbox';h=olympe.ui.D.ba.ii.prototype;h.yf.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);h.Hg.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);h.zf.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);h.xf.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);h.xz.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);h.pz.K=olympe.j.J.F;function od(a){J(a.na,'dropdown-selectedvalue')}function pd(a){J(a.U,'dropdown-mouseoveritem')}
513
514
  olympe.ui.D.ba.ki=class extends olympe.ui.D.ba.gd{constructor(){super();this.na=olympe.j.yb('');this.O=olympe.j.yb('');this.U=olympe.j.yb('');this.R=olympe.j.yb('');this.C=olympe.j.Yc();this.Ba=olympe.j.Yc(0,0);this.Cb=olympe.j.Yc(0,0);this.ca=olympe.j.ja(0);this.V=olympe.j.ja(0);this.ga=olympe.j.ja(0);this.$=olympe.j.ja(0);this.La=olympe.j.ja(0);this.F=olympe.j.qb(olympe.ui.D.ba.gd,new olympe.ui.D.ba.gd)}QM(){return this.na}uM(){return this.O}AM(){return this.U}py(a){J(this.R,a)}GL(){return this.C}FL(){return this.Ba}vM(){return this.Cb}sd(a){J(this.ca,
514
515
  a)}FG(){return this.ca}rd(a){J(this.V,a)}CG(){return this.V}Kc(a){J(this.ga,a)}DG(){return this.ga}Lc(a){J(this.$,a)}EG(){return this.$}RM(){return this.La}wM(){return this.F}};olympe.ui.D.ba.ki.$b='dropdown';olympe.ui.D.ba.ki.O='dropdown-selectedvalue';olympe.ui.D.ba.ki.C='dropdown-item';olympe.ui.D.ba.ki.F='dropdown-mouseoveritem';h=olympe.ui.D.ba.ki.prototype;h.QM.K=olympe.j.J.R;h.uM.K=olympe.j.J.R;h.AM.K=olympe.j.J.R;h.py.K=olympe.j.J.R;h.GL.K=olympe.j.J.V;h.FL.K=olympe.j.J.V;h.vM.K=olympe.j.J.V;
515
516
  h.FG.K=olympe.j.J.F;h.CG.K=olympe.j.J.F;h.DG.K=olympe.j.J.F;h.EG.K=olympe.j.J.F;h.RM.K=olympe.j.J.F;h.wM.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);function qd(a){J(a.U,olympe.j.ja(100))}olympe.ui.D.ba.yj=class extends olympe.ui.D.ba.gd{constructor(){super();this.V=olympe.j.ja(30);this.U=olympe.j.ja(100);this.O=Q(O());this.R=olympe.j.yb('grid-cell');this.C=olympe.j.yb('grid-cell');this.F=olympe.j.yb('grid-selected-cell')}zM(){return this.V}Tj(a){J(this.V,olympe.j.ja(a))}$L(){return this.U}gM(){return this.O}jM(){return this.R}SL(){return this.C}PM(){return this.F}};olympe.ui.D.ba.yj.C='grid-cell';olympe.ui.D.ba.yj.F='grid-selected-cell';
516
517
  olympe.ui.D.ba.yj.$b='grid';h=olympe.ui.D.ba.yj.prototype;h.zM.K=olympe.j.J.F;h.$L.K=olympe.j.J.F;h.gM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.jM.K=olympe.j.J.R;h.SL.K=olympe.j.J.R;h.PM.K=olympe.j.J.R;olympe.ui.D.ba.ay=class extends olympe.ui.D.ba.gd{constructor(){super();this.C=olympe.j.Wc(0,0,0,.8);this.animation=olympe.j.qb(olympe.ui.D.im,null);this.Mc=olympe.j.Xc(!1);this.La=olympe.j.Xc(!1);this.O=olympe.j.Xc(!1);this.F=olympe.j.Xc(!1)}IG(){return this.C}Fr(){return this.animation}GG(){return this.Mc}HG(){return this.La}sy(){return this.O}ae(a){J(this.O,a)}qy(){return this.F}Xd(a){J(this.F,a)}};olympe.ui.D.ba.ay.$b='FloatingElement';h=olympe.ui.D.ba.ay.prototype;
517
- h.IG.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Fr.K=new olympe.j.J(()=>olympe.ui.D.im,[]);h.GG.K=olympe.j.J.U;h.HG.K=olympe.j.J.U;h.sy.K=olympe.j.J.U;h.qy.K=olympe.j.J.U;olympe.ui.D.ba.jt=class extends olympe.ui.D.ba.ay{constructor(){super();this.R=olympe.j.yb('')}yM(){return this.R}};olympe.ui.D.ba.jt.$b='toolTip';olympe.ui.D.ba.jt.prototype.yM.K=olympe.j.J.R;olympe.ui.D.ba.Cj=class extends olympe.ui.D.ba.ay{constructor(){super();var a=new olympe.ui.D.vf.JF;J(this.animation,a);J(this.La,!0)}};olympe.ui.D.ba.Cj.$b='PopupPanel';olympe.ui.D.ba.Ok=class extends olympe.ui.D.ba.Cj{constructor(){super();this.ca=olympe.j.yb('');this.Cb=olympe.j.yb('');this.$=olympe.j.yb('');this.na=Q(O());this.Ba=Q(O());this.Ab=Q(O());this.Kb=olympe.j.ja(2);this.jc=olympe.j.ja(2);this.V=olympe.j.ja(2);this.ga=olympe.j.ja(2);this.Mb=olympe.j.ja(2);this.Rc=olympe.j.ja(40);this.U=olympe.j.yb('');this.cb=olympe.j.ja(20);this.R=olympe.j.ja(10)}St(){return this.ca}Nt(){return this.Cb}PL(){return this.$}lM(){return this.na}tM(){return this.Ba}mM(){return this.Ab}dV(){return this.Mb}sM(){return this.Kb}pM(){return this.jc}qM(){return this.V}rM(){return this.ga}nM(){return this.U}Qt(){return this.cb}Kf(a){J(this.cb,
518
- a)}Rt(){return this.R}oM(){return this.Rc}sy(){return this.O}ae(a){J(this.O,a)}qy(){return this.F}Xd(a){J(this.F,a)}};olympe.ui.D.ba.Ok.$b='inputpopup';h=olympe.ui.D.ba.Ok.prototype;h.St.K=olympe.j.J.R;h.Nt.K=olympe.j.J.R;h.PL.K=olympe.j.J.R;h.lM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.tM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.mM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.dV.K=olympe.j.J.F;h.sM.K=olympe.j.J.F;h.pM.K=olympe.j.J.F;h.qM.K=olympe.j.J.F;h.rM.K=olympe.j.J.F;h.nM.K=olympe.j.J.R;
518
+ h.IG.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Fr.K=new olympe.j.J(()=>olympe.ui.D.im,[]);h.GG.K=olympe.j.J.U;h.HG.K=olympe.j.J.U;h.sy.K=olympe.j.J.U;h.qy.K=olympe.j.J.U;olympe.ui.D.ba.jt=class extends olympe.ui.D.ba.ay{constructor(){super();this.R=olympe.j.yb('')}yM(){return this.R}};olympe.ui.D.ba.jt.$b='toolTip';olympe.ui.D.ba.jt.prototype.yM.K=olympe.j.J.R;olympe.ui.D.ba.Cj=class extends olympe.ui.D.ba.ay{constructor(){super();var a=new olympe.ui.D.vf.JF;J(this.animation,a);J(this.La,!0)}};olympe.ui.D.ba.Cj.$b='PopupPanel';olympe.ui.D.ba.Ok=class extends olympe.ui.D.ba.Cj{constructor(){super();this.ca=olympe.j.yb('');this.Cb=olympe.j.yb('');this.$=olympe.j.yb('');this.na=Q(O());this.Ba=Q(O());this.Ab=Q(O());this.Kb=olympe.j.ja(2);this.jc=olympe.j.ja(2);this.V=olympe.j.ja(2);this.ga=olympe.j.ja(2);this.Mb=olympe.j.ja(2);this.Rc=olympe.j.ja(40);this.U=olympe.j.yb('');this.cb=olympe.j.ja(20);this.R=olympe.j.ja(10)}St(){return this.ca}Nt(){return this.Cb}PL(){return this.$}lM(){return this.na}tM(){return this.Ba}mM(){return this.Ab}eV(){return this.Mb}sM(){return this.Kb}pM(){return this.jc}qM(){return this.V}rM(){return this.ga}nM(){return this.U}Qt(){return this.cb}Kf(a){J(this.cb,
519
+ a)}Rt(){return this.R}oM(){return this.Rc}sy(){return this.O}ae(a){J(this.O,a)}qy(){return this.F}Xd(a){J(this.F,a)}};olympe.ui.D.ba.Ok.$b='inputpopup';h=olympe.ui.D.ba.Ok.prototype;h.St.K=olympe.j.J.R;h.Nt.K=olympe.j.J.R;h.PL.K=olympe.j.J.R;h.lM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.tM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.mM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.eV.K=olympe.j.J.F;h.sM.K=olympe.j.J.F;h.pM.K=olympe.j.J.F;h.qM.K=olympe.j.J.F;h.rM.K=olympe.j.J.F;h.nM.K=olympe.j.J.R;
519
520
  h.Qt.K=olympe.j.J.F;h.Rt.K=olympe.j.J.F;h.oM.K=olympe.j.J.F;h.sy.K=olympe.j.J.U;h.qy.K=olympe.j.J.U;olympe.ui.D.ba.Xo=class extends olympe.ui.D.ba.Cj{constructor(){super();this.ga=Q(olympe.j.Color.red());this.$=Q(K());this.ca=olympe.j.ja(1);this.V=olympe.j.ja(10);this.R=olympe.j.ja(10);this.U=olympe.j.ja(5)}KL(){return this.ga}LL(){return this.$}ML(){return this.ca}IL(){return this.V}EL(){return this.R}HL(){return this.U}};olympe.ui.D.ba.Xo.$b='bubble';h=olympe.ui.D.ba.Xo.prototype;h.KL.K=new olympe.j.J(()=>olympe.j.Color,[]);h.LL.K=new olympe.j.J(()=>olympe.j.Color,[]);h.ML.K=olympe.j.J.F;
520
521
  h.IL.K=olympe.j.J.F;h.EL.K=olympe.j.J.F;h.HL.K=olympe.j.J.F;olympe.ui.D.ba.Zl=class extends olympe.ui.D.ba.gd{constructor(){super();this.C=this.O=this.F=null}U(){return this.F}V(){return this.O}R(){return this.C}};olympe.ui.D.ba.Zl.$b='IntervalSlider';olympe.ui.D.ba.Zl.prototype.U.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);olympe.ui.D.ba.Zl.prototype.V.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);olympe.ui.D.ba.Zl.prototype.R.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);olympe.ui.D.ba.qf=class extends olympe.ui.D.ba.gd{constructor(){super();this.U=olympe.j.yb(olympe.ui.D.ba.qf.C.Xx);this.C=olympe.j.yb(olympe.ui.D.ba.qf.C.rv);this.V=olympe.j.yb(olympe.ui.D.ba.qf.C.MB)}F(){return this.U}O(){return this.C}R(){return this.V}};olympe.ui.D.ba.qf.$b='ForEachTheme';olympe.ui.D.ba.qf.F={uF:'EVEN_ODD'};olympe.ui.D.ba.qf.C={Xx:'for_each_item_even',rv:'for_each_item_odd',MB:'for_each_item_selected'};olympe.ui.D.ba.qf.prototype.F.K=olympe.j.J.R;
521
522
  olympe.ui.D.ba.qf.prototype.O.K=olympe.j.J.R;olympe.ui.D.ba.qf.prototype.R.K=olympe.j.J.R;olympe.ui.D.ba.$l=class{constructor(){this.Vv=olympe.j.qb(olympe.ui.D.ba.gd);this.Uv=olympe.j.ja(1);this.yL=olympe.j.Xc(!1);this.animation=null;this.jz=olympe.j.ja(0)}iM(){return this.Vv}eA(a){J(this.Vv,a)}hM(){return this.Uv}dA(a){J(this.Uv,a)}Lz(){return this.yL}pu(a){J(this.yL,a)}Fr(){return this.animation}};olympe.ui.D.ba.$l.$b='ListForEachLayoutTheme';olympe.ui.D.ba.$l.prototype.iM.K=new olympe.j.J(()=>olympe.ui.D.ba.gd,[]);olympe.ui.D.ba.$l.prototype.hM.K=olympe.j.J.F;olympe.ui.D.ba.Qh=class extends olympe.ui.D.ba.gd{constructor(){super();this.$=Q(K());this.fontSize=olympe.j.ja(14);this.O=olympe.j.ja(500);this.C=olympe.j.yb('');this.F=olympe.j.qb(String,olympe.ui.ha.ey.yy);this.Ba=olympe.j.qb(String,olympe.ui.ha.Jb.Mf);this.ca=olympe.j.qb(String,olympe.ui.ha.uc.ah);this.U=olympe.j.qb(olympe.j.aa,olympe.j.aa.ZERO);this.V=olympe.j.qb(olympe.j.aa,olympe.j.aa.ZERO);this.ga=olympe.j.qb(olympe.j.aa,olympe.j.aa.ZERO);this.R=olympe.j.qb(olympe.j.aa,olympe.j.aa.ZERO);this.na=
@@ -545,7 +546,7 @@ J(b.R,this.O);J(b.U,this.Ka);sd(b);td(b);ud(b);var c=M();J(b.O,c);return b})}kw(
545
546
  0,0,.6);J(b.C,c);b.Qa(N());J(b.R,10);b.Kf(10);J(b.ca,'header1');J(b.Cb,'black_std');J(b.$,'selected');J(b.na,this.R);J(b.Ba,this.na);J(b.V,5);J(b.ga,5);J(b.U,'"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}kf(){return S(this,olympe.ui.D.ba.rr.$b,olympe.ui.D.ba.rr,void 0,()=>{const a=new olympe.ui.D.ba.rr;a.Qa(this.ga);return a})}Jz(a){return S(this,olympe.ui.D.ba.Ip.$b,olympe.ui.D.ba.Ip,a,()=>{const b=new olympe.ui.D.ba.Ip;J(b.V,olympe.j.ja(40));J(b.R,olympe.j.ja(12));J(b.U,olympe.j.ja(400));
546
547
  J(b.La,this.F);J(b.Ba,this.O);vd(b);wd(b);J(b.na,olympe.j.ja(1));var c=M();J(b.ca,c);J(b.C,1);c=M();J(b.$,c);J(b.ga,this.R);c=olympe.j.Yc(15,15);J(b.F,c);J(b.O,'images/close.png');return b})}DC(a){return S(this,olympe.ui.D.ba.Fs.$b,olympe.ui.D.ba.Fs,a,()=>{const b=new olympe.ui.D.ba.Fs;J(b.O,this.ga);J(b.U,this.F);var c=olympe.j.Color.create(240,173,78);J(b.R,c);J(b.F,'images/datepicker.png');c=new olympe.j.ia(10,10);J(b.C,c);return b})}Bz(a){return S(this,olympe.ui.D.ba.$l.$b,olympe.ui.D.ba.$l,a,
547
548
  ()=>{const b=new olympe.ui.D.ba.$l;b.pu(!1);return b})}wz(a){return S(this,olympe.ui.D.ba.qf.$b,olympe.ui.D.ba.qf,a,b=>{const c=new olympe.ui.D.ba.qf;switch(b){case olympe.ui.D.ba.qf.F.uF:J(c.C,olympe.ui.D.ba.qf.C.rv);break;default:J(c.C,olympe.ui.D.ba.qf.C.Xx)}return c})}PC(a){return S(this,olympe.ui.D.ba.jt.$b,olympe.ui.D.ba.jt,a,()=>{let b=new olympe.ui.D.ba.jt;b.ae(!0);b.Xd(!0);b.ld(M());b.ed(1);var c=b.Qa;var d=Tb('yellow',233,214,107,1);c.call(b,d);J(b.R,'grid-cell');return b})}qz(a){return S(this,
548
- olympe.ui.D.ba.Xo.$b,olympe.ui.D.ba.Xo,a,()=>new olympe.ui.D.ba.Xo)}};olympe.ui.D.ba.cY=class extends olympe.ui.D.ba.Ux{nm(a){return S(this,'button',olympe.ui.D.ba.Zj,a,b=>{const c=new olympe.ui.D.ba.Zj;switch(b){case 'selected':c.Lb(new olympe.j.ia(150,20));c.Qa(olympe.j.Color.create(0,138,227));c.Wj(olympe.j.Color.create(0,110,180));b=N();J(c.C,b);c.ld(olympe.j.Color.create(128,128,128));b=olympe.j.Color.create(242,242,242);J(c.O,b);c.pb(N());b=olympe.j.Color.create(242,242,242);J(c.F,b);c.Bb(14);c.Eb(700);c.bc(olympe.ui.ha.Jb.Xb);c.fc(olympe.ui.ha.uc.Qc);c.lc(4);
549
+ olympe.ui.D.ba.Xo.$b,olympe.ui.D.ba.Xo,a,()=>new olympe.ui.D.ba.Xo)}};olympe.ui.D.ba.dY=class extends olympe.ui.D.ba.Ux{nm(a){return S(this,'button',olympe.ui.D.ba.Zj,a,b=>{const c=new olympe.ui.D.ba.Zj;switch(b){case 'selected':c.Lb(new olympe.j.ia(150,20));c.Qa(olympe.j.Color.create(0,138,227));c.Wj(olympe.j.Color.create(0,110,180));b=N();J(c.C,b);c.ld(olympe.j.Color.create(128,128,128));b=olympe.j.Color.create(242,242,242);J(c.O,b);c.pb(N());b=olympe.j.Color.create(242,242,242);J(c.F,b);c.Bb(14);c.Eb(700);c.bc(olympe.ui.ha.Jb.Xb);c.fc(olympe.ui.ha.uc.Qc);c.lc(4);
549
550
  c.ed(0);c.zb('Arial');break;case 'warning':c.Lb(new olympe.j.ia(150,20));c.Qa(olympe.j.Color.red());c.Wj(olympe.j.Color.create(180,0,0));b=N();J(c.C,b);c.ld(M());b=M();J(c.O,b);c.pb(N());b=M();J(c.F,b);c.Bb(14);c.Eb(700);c.bc(olympe.ui.ha.Jb.Xb);c.fc(olympe.ui.ha.uc.Qc);c.lc(4);c.ed(0);c.zb('Arial');break;case 'default':c.Lb(new olympe.j.ia(150,20));c.Qa(N());c.ld(M());c.ed(1);b=N();J(c.C,b);b=olympe.j.Color.create(242,242,242);J(c.O,b);b=olympe.j.Color.create(242,242,242);J(c.F,b);c.Wj(olympe.j.Color.create(215,
550
551
  215,215));c.Bb(14);c.Eb(700);c.bc(olympe.ui.ha.Jb.Xb);c.fc(olympe.ui.ha.uc.Qc);c.lc(4);c.zb('Arial');break;default:return olympe.ui.D.ba.Ux.prototype.nm.call(this,b)}return c})}uw(a){return S(this,olympe.ui.D.ba.Zk.$b,olympe.ui.D.ba.Zk,a,()=>{const b=new olympe.ui.D.ba.Zk;b.ed(1);b.ld(K());b.sd(2);b.rd(2);b.Kc(2);b.Lc(2);b.lc(2);b.zb('Arial');return b})}tw(a){return S(this,olympe.ui.D.ba.Yk.$b,olympe.ui.D.ba.Yk,a,()=>{const b=new olympe.ui.D.ba.Yk;b.ld(K());b.ed(1);b.sd(2);b.rd(2);b.Kc(2);b.Lc(2);
551
552
  b.lc(2);b.zb('Arial');return b})}Mt(a){return S(this,olympe.ui.D.ba.Qh.$b,olympe.ui.D.ba.Qh,a,b=>{const c=new olympe.ui.D.ba.Qh;c.Bb(12);c.zb('Arial');switch(b){case 'header1':c.Eb(800);c.Bb(16);c.zb('Arial');break;case 'header2':c.Eb(800);c.Bb(14);c.zb('Arial');break;case 'dropdown-item':case 'dropdown-selectedvalue':c.Bb(14);c.fc(olympe.ui.ha.uc.Qc);c.Kc(5);c.Lc(5);c.zb('Arial');break;case 'dropdown-mouseoveritem':c.Bb(14);c.Qa(olympe.j.Color.create(17,108,214));c.pb(N());c.fc(olympe.ui.ha.uc.Qc);
@@ -553,20 +554,20 @@ c.Kc(5);c.Lc(5);c.zb('Arial');break;case 'grid-selected-cell':c.Bb(12),c.Qa(olym
553
554
  0,0,.6);J(b.C,c);b.Qa(N());J(b.R,20);b.Kf(20);J(b.U,'header1');J(b.V,'selected');return b})}iw(a){return S(this,olympe.ui.D.ba.ki.$b,olympe.ui.D.ba.ki,a,()=>{const b=new olympe.ui.D.ba.ki;J(b.O,'dropdown-item');od(b);pd(b);b.py('images/arrow.png');var c=new olympe.j.ia(20,20);J(b.C,c);b.ld(M());b.ed(1);b.Qa(N());b.sd(2);b.rd(2);b.Kc(5);b.Lc(5);c=new olympe.ui.D.ba.gd;J(b.F,c);c.gh(new olympe.j.ia(2,2),10,1,olympe.j.Color.create(160,160,160));c.ld(M());c.ed(1);c.Qa(olympe.j.Color.create(255,255,255,
554
555
  .9));return b})}ew(){return S(this,olympe.ui.D.ba.ii.$b,olympe.ui.D.ba.ii,void 0,()=>{const a=new olympe.ui.D.ba.ii;a.yf().Qa(N());a.yf().ld(olympe.j.Color.create(191,191,191));a.yf().ed(2);a.yf().lc(100);a.Hg().Qa(olympe.j.Color.create(60,187,51));a.Hg().lc(100);a.zf().ld(olympe.j.Color.create(191,191,191));a.zf().ed(2);a.zf().lc(100);a.zf().Qa(N());a.xf().ld(olympe.j.Color.create(191,191,191));a.xf().ed(2);a.xf().lc(100);a.xf().Qa(N());return a})}sw(a){return S(this,olympe.ui.D.ba.Xk.$b,olympe.ui.D.ba.Xk,
555
556
  a,()=>{const b=new olympe.ui.D.ba.Xk;rd(b);J(b.C,olympe.j.ja(12));var c=K();J(b.ga,c);c=K();J(b.V,c);J(b.F,olympe.j.ja(400));c=N();J(b.R,c);c=olympe.j.Color.create(0,138,227);J(b.U,c);sd(b);td(b);J(b.na,olympe.j.ja(1));ud(b);c=M();J(b.O,c);c=M();J(b.ca,c);return b})}kw(a){return S(this,olympe.ui.D.ba.yj.$b,olympe.ui.D.ba.yj,a,()=>{const b=new olympe.ui.D.ba.yj;J(b.R,'grid-cell');J(b.C,'grid-cell');J(b.F,'grid-selected-cell');b.Tj(30);qd(b);var c=M();J(b.O,c);return b})}Kt(a){return S(this,olympe.ui.D.ba.Ok.$b,
556
- olympe.ui.D.ba.Ok,a,()=>{const b=new olympe.ui.D.ba.Ok;b.Lb(new olympe.j.ia(500,1));b.ae(!1);b.Xd(!0);var c=olympe.j.Color.create(0,0,0,.6);J(b.C,c);b.Qa(N());J(b.R,20);b.Kf(20);J(b.ca,'header1');J(b.$,'selected');J(b.Mb,1);c=K();J(b.Ab,c);J(b.na,this.R);J(b.Ba,this.na);J(b.Kb,2);J(b.jc,2);J(b.V,2);J(b.ga,2);J(b.U,'Arial');return b})}kf(){return S(this,olympe.ui.D.ba.rr.$b,olympe.ui.D.ba.rr,void 0,()=>new olympe.ui.D.ba.rr)}};olympe.ui.D.ba.Fs=class extends olympe.ui.D.ba.gd{constructor(){super();this.F=olympe.j.yb('');this.C=olympe.j.Yc(10,10);this.O=olympe.j.Wc();this.V=olympe.j.Wc();this.ga=olympe.j.ja();this.U=olympe.j.Wc();this.R=olympe.j.Wc();this.na=olympe.j.Wc();this.Ba=olympe.j.Wc();this.Mb=olympe.j.Wc();this.Ab=olympe.j.Wc();this.La=olympe.j.ja();this.Cb=olympe.j.ja();this.$=olympe.j.Wc();this.ca=olympe.j.ja();this.cb=olympe.j.ja()}RL(){return this.F}QL(){return this.C}GM(){return this.O}xQ(){return this.V}sV(){return this.ga}IM(){return this.U}HM(){return this.R}NL(){return this.na}gN(){return this.Ba}nN(){return this.Mb}mN(){return this.Ab}jN(){return this.La}kN(){return this.Cb}hN(){return this.$}iN(){return this.ca}lN(){return this.cb}};
557
- olympe.ui.D.ba.Fs.$b='datepicker';h=olympe.ui.D.ba.Fs.prototype;h.RL.K=olympe.j.J.R;h.QL.K=olympe.j.J.V;h.GM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.xQ.K=new olympe.j.J(()=>olympe.j.Color,[]);h.sV.K=olympe.j.J.F;h.IM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.HM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.NL.K=new olympe.j.J(()=>olympe.j.Color,[]);h.gN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.nN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.mN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.jN.K=olympe.j.J.F;
557
+ olympe.ui.D.ba.Ok,a,()=>{const b=new olympe.ui.D.ba.Ok;b.Lb(new olympe.j.ia(500,1));b.ae(!1);b.Xd(!0);var c=olympe.j.Color.create(0,0,0,.6);J(b.C,c);b.Qa(N());J(b.R,20);b.Kf(20);J(b.ca,'header1');J(b.$,'selected');J(b.Mb,1);c=K();J(b.Ab,c);J(b.na,this.R);J(b.Ba,this.na);J(b.Kb,2);J(b.jc,2);J(b.V,2);J(b.ga,2);J(b.U,'Arial');return b})}kf(){return S(this,olympe.ui.D.ba.rr.$b,olympe.ui.D.ba.rr,void 0,()=>new olympe.ui.D.ba.rr)}};olympe.ui.D.ba.Fs=class extends olympe.ui.D.ba.gd{constructor(){super();this.F=olympe.j.yb('');this.C=olympe.j.Yc(10,10);this.O=olympe.j.Wc();this.V=olympe.j.Wc();this.ga=olympe.j.ja();this.U=olympe.j.Wc();this.R=olympe.j.Wc();this.na=olympe.j.Wc();this.Ba=olympe.j.Wc();this.Mb=olympe.j.Wc();this.Ab=olympe.j.Wc();this.La=olympe.j.ja();this.Cb=olympe.j.ja();this.$=olympe.j.Wc();this.ca=olympe.j.ja();this.cb=olympe.j.ja()}RL(){return this.F}QL(){return this.C}GM(){return this.O}yQ(){return this.V}tV(){return this.ga}IM(){return this.U}HM(){return this.R}NL(){return this.na}gN(){return this.Ba}nN(){return this.Mb}mN(){return this.Ab}jN(){return this.La}kN(){return this.Cb}hN(){return this.$}iN(){return this.ca}lN(){return this.cb}};
558
+ olympe.ui.D.ba.Fs.$b='datepicker';h=olympe.ui.D.ba.Fs.prototype;h.RL.K=olympe.j.J.R;h.QL.K=olympe.j.J.V;h.GM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.yQ.K=new olympe.j.J(()=>olympe.j.Color,[]);h.tV.K=olympe.j.J.F;h.IM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.HM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.NL.K=new olympe.j.J(()=>olympe.j.Color,[]);h.gN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.nN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.mN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.jN.K=olympe.j.J.F;
558
559
  h.kN.K=olympe.j.J.F;h.hN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.iN.K=olympe.j.J.F;h.lN.K=olympe.j.J.F;olympe.ui.D.Pf=class extends olympe.ui.D.Element{constructor(a){super(a.C(olympe.N.D.Pf,olympe.host.ra.ob.QJ));a=a.F().kf();this.na=new olympe.j.ia(0,0);this.$=void 0;this.R=new olympe.ui.Z.Fn(this.uk());this.size=new olympe.j.ia;this.ca=this.V=this.C=null;this.uk().bs((b,c)=>{this.size.re(b);this.size.Ie(c)});this.Qa(a.Pp());this.xg(a.Sp(),olympe.ui.ha.Xg.Xf,olympe.ui.ha.Se.Xf,a.Rp(),a.Qp())}uk(){return this.qa()}ei(a){this.uk().ei(a);return this}Iv(a){this.uk().Iv(a);return this}Ww(a){this.uk().Ww(a);
559
560
  return this}appendChild(a,b,c){void 0!==c&&a.setPosition(c);this.uk().appendChild(T(a),b);a.pf(this);return this}removeChild(a){this.uk().removeChild(a);return this}clear(){this.uk().kg();return this}la(){return this.size}td(){return this.size.ma()}ve(){return this.size.sa()}Ch(){return this.na}Kj(){return this.R.Kj()}gj(a,b,c){return this.R.gj(a,b,c)}F(a){this.R.F(a)}Jj(){return this.R.Jj()}zk(a,b,c){return this.R.zk(a,b,c)}U(a){this.R.U(a)}Lj(){return this.R.Lj()}hj(a,b,c){return this.R.hj(a,b,
560
- c)}O(a){this.R.O(a)}yQ(){void 0===this.$&&(this.$=olympe.j.qb(String),this.uk().Yz(a=>{I(this.$,a)}));return this.$}lH(a){olympe.j.jb().Sd(()=>this.uk().R(a.xa()));var b=a.Iz();const c=Object.keys(b);let d;if(1<=c.length)d=c[0],b=b[d],1<c.length&&console.warn('Multiple font files is currently not supported.');else throw Error('No url was provided for the font file.');this.uk().O(a.FC(),a.Gz(),a.SC(),d,b,a.xa())}VD(a,b={}){const c=olympe.j.Ua;this.C||olympe.j.nl().run(()=>{this.C=new olympe.ui.D.hb;
561
+ c)}O(a){this.R.O(a)}zQ(){void 0===this.$&&(this.$=olympe.j.qb(String),this.uk().Yz(a=>{I(this.$,a)}));return this.$}lH(a){olympe.j.jb().Sd(()=>this.uk().R(a.xa()));var b=a.Iz();const c=Object.keys(b);let d;if(1<=c.length)d=c[0],b=b[d],1<c.length&&console.warn('Multiple font files is currently not supported.');else throw Error('No url was provided for the font file.');this.uk().O(a.FC(),a.Gz(),a.SC(),d,b,a.xa())}VD(a,b={}){const c=olympe.j.Ua;this.C||olympe.j.nl().run(()=>{this.C=new olympe.ui.D.hb;
561
562
  this.C.ae(!0).Xd(!0).sd(5).rd(5).Kc(5).Lc(5).Ug(1E4).qd(!0);this.V=olympe.j.rb(olympe.j.ia);const e=olympe.j.rb(olympe.j.aa),f=olympe.j.rb(olympe.j.aa);this.C.setPosition(new olympe.j.ia(e.Ca(),f.Ca()));olympe.j.bb([this.V.Ca().ma(),this.V.Ca().sa()],(g,k)=>{const l=olympe.j.Ua(this.la().ma()),m=olympe.j.Ua(this.la().sa()),n=olympe.j.Ua(this.C.la().ma())||olympe.j.aa.ONE,p=olympe.j.Ua(this.C.la().sa())||olympe.j.aa.ONE;g=Jb(olympe.j.aa.ZERO,g);g=Ib(g,l.Ga(n));k=Jb(olympe.j.aa.ZERO,k);k=Ib(k,m.Ga(p));
562
- e.update(g);f.update(k)})});this.C.ag(b.ba||'');this.C.Sb(a);this.C.Qa(b.background||N());this.C.pb(b.y0||K());b.fontSize&&this.C.Bb(b.fontSize);a=b.q0||1;const d=b.borderColor||K();this.C.Fd(a,d);b.position?olympe.j.nc(b.position)?this.V.repeat(b.position):this.V.update(b.position):(a=b.vx?c(b.vx.ma()):olympe.j.aa.ZERO,b=b.vx?c(b.vx.sa()):olympe.j.aa.ZERO,this.V.update(new olympe.j.ia(a.Ga(this.C.td().$a(20)),b.Ga(this.C.ve().$a(5)))),this.ca=this.Ak(e=>{this.V.update(e.tg())}));this.C.nb('pointer-events',
563
+ e.update(g);f.update(k)})});this.C.ag(b.ba||'');this.C.Sb(a);this.C.Qa(b.background||N());this.C.pb(b.z0||K());b.fontSize&&this.C.Bb(b.fontSize);a=b.r0||1;const d=b.borderColor||K();this.C.Fd(a,d);b.position?olympe.j.nc(b.position)?this.V.repeat(b.position):this.V.update(b.position):(a=b.vx?c(b.vx.ma()):olympe.j.aa.ZERO,b=b.vx?c(b.vx.sa()):olympe.j.aa.ZERO,this.V.update(new olympe.j.ia(a.Ga(this.C.td().$a(20)),b.Ga(this.C.ve().$a(5)))),this.ca=this.Ak(e=>{this.V.update(e.tg())}));this.C.nb('pointer-events',
563
564
  'none');c(this.C.pl()).valueOf()&&(this.C.qd(!1),this.appendChild(this.C,'tooltip'))}ww(){this.ca&&this.sl(this.ca);this.C&&!olympe.j.Ua(this.C.pl()).valueOf()&&(this.C.qd(!0),this.removeChild('tooltip'))}};olympe.ui.D.Pf.prototype.F.zr=!0;olympe.ui.D.Pf.prototype.U.zr=!0;olympe.ui.D.Pf.prototype.O.zr=!0;olympe.ui.D.Pf.ua=[olympe.ui.Z.rg];h=olympe.ui.D.Pf.prototype;h.uk.K=new olympe.j.J(()=>olympe.N.D.Pf,[]);h.ei.K=olympe.j.J.C([]);h.Iv.K=olympe.j.J.C([]);h.Ww.K=olympe.j.J.C([]);h.appendChild.K=olympe.j.J.C([]);
564
- h.removeChild.K=olympe.j.J.C([]);h.clear.K=olympe.j.J.C([]);h.la.K=olympe.j.J.V;h.td.K=olympe.j.J.F;h.ve.K=olympe.j.J.F;h.Ch.K=olympe.j.J.V;h.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.gj.K=new olympe.j.J(()=>String,[]);h.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.zk.K=new olympe.j.J(()=>String,[]);h.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.hj.K=new olympe.j.J(()=>String,[]);h.yQ.K=new olympe.j.J(()=>String,[]);h.lH.K=olympe.j.J.C([]);h.VD.K=olympe.j.J.C([]);h.ww.K=olympe.j.J.C([]);function T(a){return a.qa()}
565
+ h.removeChild.K=olympe.j.J.C([]);h.clear.K=olympe.j.J.C([]);h.la.K=olympe.j.J.V;h.td.K=olympe.j.J.F;h.ve.K=olympe.j.J.F;h.Ch.K=olympe.j.J.V;h.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.gj.K=new olympe.j.J(()=>String,[]);h.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.zk.K=new olympe.j.J(()=>String,[]);h.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.hj.K=new olympe.j.J(()=>String,[]);h.zQ.K=new olympe.j.J(()=>String,[]);h.lH.K=olympe.j.J.C([]);h.VD.K=olympe.j.J.C([]);h.ww.K=olympe.j.J.C([]);function T(a){return a.qa()}
565
566
  olympe.ui.D.wb=class extends olympe.ui.D.Element{constructor(a,b){super(a);this.Pa=olympe.j.Yc();this.position=olympe.j.Yc(0,0);this.jc=null;this.Wz=!1;this.parent=olympe.j.qb(olympe.ui.D.Element);void 0!==b&&this.Lb(b);T(this).re(this.position.ma());T(this).Ie(this.position.sa());T(this).zg(this.Pa.ma());T(this).yg(this.Pa.sa())}setPosition(a){J(this.position,a);return this}ge(){return this.position}ma(){return this.position.ma()}sa(){return this.position.sa()}Lb(a){this.Wz=!0;J(this.Pa,a);return this}la(){return this.Pa}td(){return this.Pa.ma()}ve(){return this.Pa.sa()}lc(a){T(this).lc(a);
566
- return this}Fd(a,b){this.ed(a);this.ld(b);return this}ed(a){T(this).ed(a)}ld(a){T(this).ld(a.gi())}Jq(a){T(this).Jq(a);return this}gh(a,b,c,d,e){T(this).gh(olympe.j.If(a,f=>f.ma()),olympe.j.If(a,f=>f.sa()),b||0,c||0,olympe.j.If(d,f=>f.gi()),e);return this}BX(a,b,c,d,e){olympe.j.bb([c,b,e,d,a],(f,g,k,l,m)=>{T(this).gh(f*Math.cos(g),f*Math.sin(g),k*(1-l/100),k*l/100,m.gi())});return this}setScale(a){olympe.j.bb([a],b=>{T(this).yu(b.ma(),b.sa())});return this}GX(a){T(this).yu(a,a);return this}Ug(a){T(this).Ug(a);
567
+ return this}Fd(a,b){this.ed(a);this.ld(b);return this}ed(a){T(this).ed(a)}ld(a){T(this).ld(a.gi())}Jq(a){T(this).Jq(a);return this}gh(a,b,c,d,e){T(this).gh(olympe.j.If(a,f=>f.ma()),olympe.j.If(a,f=>f.sa()),b||0,c||0,olympe.j.If(d,f=>f.gi()),e);return this}CX(a,b,c,d,e){olympe.j.bb([c,b,e,d,a],(f,g,k,l,m)=>{T(this).gh(f*Math.cos(g),f*Math.sin(g),k*(1-l/100),k*l/100,m.gi())});return this}setScale(a){olympe.j.bb([a],b=>{T(this).yu(b.ma(),b.sa())});return this}HX(a){T(this).yu(a,a);return this}Ug(a){T(this).Ug(a);
567
568
  return this}getParent(){return this.parent}pf(a){J(this.parent,a);return this}Ch(){null===this.jc&&R(this,()=>{this.jc=new olympe.j.ia(0,0)});olympe.j.If(this.parent,a=>{const b=a.Ch(),c=this.jc;a instanceof olympe.ui.D.Cd?(a=a.U(),c.re(olympe.j.pj([this.ma(),b.ma(),a.ma()],(d,e,f)=>olympe.j.Da(d+e-f))),c.Ie(olympe.j.pj([this.sa(),b.sa(),a.sa()],(d,e,f)=>olympe.j.Da(d+e-f)))):(c.re(olympe.j.pj([this.ma(),b.ma()],(d,e)=>olympe.j.Da(d+e))),c.Ie(olympe.j.pj([this.sa(),b.sa()],(d,e)=>olympe.j.Da(d+e))))});
568
569
  return this.jc}jj(a){T(this).jj(a);return this}ag(){return this}Pd(a){a&&(super.Pd(a),this.Fd(a.xi(),a.cl()),this.lc(a.Tp()),this.Wz||this.Lb(a.la()),this.gh(a.Nr(),a.Pr(),a.Qr(),a.Lr(),a.Mr()))}};h=olympe.ui.D.wb.prototype;h.setPosition.K=olympe.j.J.C([]);h.ge.K=olympe.j.J.V;h.ma.K=olympe.j.J.F;h.sa.K=olympe.j.J.F;h.Lb.K=olympe.j.J.C([]);h.la.K=olympe.j.J.V;h.td.K=olympe.j.J.F;h.ve.K=olympe.j.J.F;h.lc.K=olympe.j.J.C([]);h.Fd.K=olympe.j.J.C([]);h.Jq.K=olympe.j.J.C([]);h.gh.K=olympe.j.J.C([]);
569
- h.BX.K=olympe.j.J.C([]);h.setScale.K=olympe.j.J.C([]);h.GX.K=olympe.j.J.C([]);h.Ug.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.D.Element,[]);h.pf.K=olympe.j.J.C([]);h.Ch.K=olympe.j.J.V;h.jj.K=olympe.j.J.C([]);h.ag.K=olympe.j.J.C([]);olympe.ui.D.Vu=class{constructor(){}Sb(){}Eb(){}zb(){}Bb(){}Td(){}pb(){}fc(){}bc(){}};olympe.ui.D.hb=class extends olympe.ui.D.wb{constructor(a,b){const c=new olympe.j.ia;super(olympe.ui.Wa.C(olympe.N.D.hb,olympe.host.ra.ob.PJ),c);this.U=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.bb([this.U],g=>{T(this).sd(g.valueOf())});this.F=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.bb([this.F],g=>{T(this).rd(g.valueOf())});this.O=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.bb([this.O],g=>{T(this).Kc(g.valueOf())});this.R=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);
570
+ h.CX.K=olympe.j.J.C([]);h.setScale.K=olympe.j.J.C([]);h.HX.K=olympe.j.J.C([]);h.Ug.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.D.Element,[]);h.pf.K=olympe.j.J.C([]);h.Ch.K=olympe.j.J.V;h.jj.K=olympe.j.J.C([]);h.ag.K=olympe.j.J.C([]);olympe.ui.D.Vu=class{constructor(){}Sb(){}Eb(){}zb(){}Bb(){}Td(){}pb(){}fc(){}bc(){}};olympe.ui.D.hb=class extends olympe.ui.D.wb{constructor(a,b){const c=new olympe.j.ia;super(olympe.ui.Wa.C(olympe.N.D.hb,olympe.host.ra.ob.PJ),c);this.U=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.bb([this.U],g=>{T(this).sd(g.valueOf())});this.F=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.bb([this.F],g=>{T(this).rd(g.valueOf())});this.O=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.bb([this.O],g=>{T(this).Kc(g.valueOf())});this.R=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);
570
571
  olympe.j.bb([this.R],g=>{T(this).Lc(g.valueOf())});this.$=olympe.j.yb(b);this.V=olympe.j.rb(olympe.j.ka);Hb(this.V,olympe.j.ka.xb);this.C=olympe.j.rb(olympe.j.mb);Hb(this.C,olympe.j.kc(olympe.ui.ha.Rn.Ru));T(this).di(this.C.Ca());olympe.j.bb([this.V,this.C],(g,k)=>{g.valueOf()?T(this).Eu('pre-wrap'):k.valueOf()!==olympe.ui.ha.Rn.Ru?T(this).Eu('nowrap'):T(this).Eu('pre')});this.na=olympe.j.Xc(void 0===a);this.ca=olympe.j.Xc(void 0===a);b=olympe.ui.Wa.F().Mt(this.$);olympe.ui.D.hb.prototype.Pd.call(this,
571
572
  b);const d=void 0!==a?a:b.la();let e=null;const f=olympe.j.jb().C(()=>{e=new olympe.j.ia;T(this).Jo((g,k)=>{e.re(g);e.Ie(k)})});olympe.j.bb([this.na,this.ca],(g,k)=>{g=g.valueOf();k=k.valueOf();T(this).ae(g);T(this).Xd(k);g||k?(null===e&&f(),g?c.re(e.ma().$a(this.O.Ca()).$a(this.R.Ca())):c.re(d.ma()),k?c.Ie(e.sa().$a(this.U.Ca()).$a(this.F.Ca())):c.Ie(d.sa())):(T(this).Mq(),e=null,c.re(d.ma()),c.Ie(d.sa()))})}Sb(a){T(this).Sb(a);return this}Eb(a){T(this).Eb(a);return this}zb(a){T(this).zb(a);return this}Bb(a){T(this).Bb(a);
572
573
  return this}Td(a){T(this).Td(a);return this}pb(a){T(this).pb(olympe.j.If(a,b=>b.gi()));return this}Xs(a){olympe.j.Rg(a)?this.V.repeat(a):this.V.update(a)}di(a){olympe.j.Rg(a)?this.C.repeat(a):this.C.update(a);return this}bc(a){T(this).bc(a);return this}fc(a){T(this).fc(a);return this}ae(a){J(this.na,a);return this}Xd(a){J(this.ca,a);return this}Tj(a){T(this).Tj(a);return this}Kc(a){olympe.j.Rg(a)?this.O.repeat(a):('number'===typeof a&&(a=olympe.j.Da(a)),this.O.update(a));return this}Lc(a){olympe.j.Rg(a)?
@@ -577,11 +578,11 @@ new olympe.j.ia(olympe.j.ci(d.ma().$a(d.td()),0),a),()=>new olympe.j.ia(a,olympe
577
578
  Eb(n.sa().$a(n.ve()),l)),olympe.j.ia),r=olympe.j.eb(this.F,()=>new olympe.j.ia(p.ma().$a(this.O),p.sa()),()=>new olympe.j.ia(p.ma(),p.sa().$a(this.O)),olympe.j.ia),t=new olympe.ui.D.te(olympe.j.eb(this.F,()=>new olympe.j.ia(this.O,this.U),()=>new olympe.j.ia(this.U,this.O),olympe.j.ia));t.Pd(this.Vv);t.qd(k.ef(0));t.setPosition(p);a.appendChild(t,'divider-'+d);const u=b(c,d,k,e,g);u.setPosition(r);a.appendChild(u,d);const v=G(this.animation);v&&(u.lg(0),olympe.j.bb([k],w=>{const x=G(this.jz).valueOf()*
578
579
  w.valueOf();0<x&&!this.R?tc(()=>{w.valueOf()>=e.$i()-1&&(this.R=!0);u.lg(1);v.Rj(u,a)},x):(u.lg(1),v.Rj(u,a))}));this.C.set(d,u,k);olympe.j.jb().Sd(()=>{f.ug()||(this.C.remove(d),0===this.C.$i()&&(this.R=!1))});return u}la(){return this.V}Fz(){return this.$}sz(){return this.ga}eA(a){J(this.Vv,a)}dA(a){J(this.Uv,a)}pu(a){J(this.Lz,a)}mH(a){J(this.animation,a)}nH(a){J(this.jz,a)}ca(a){this.eA(a.iM());this.dA(a.hM());this.pu(a.Lz());this.mH(a.Fr());this.nH(a.jz)}};olympe.ui.D.vB.ua=[olympe.ui.D.Yq];
579
580
  h=olympe.ui.D.vB.prototype;h.Lv.K=new olympe.j.J(()=>olympe.ui.D.wb,[]);h.la.K=olympe.j.J.V;h.Fz.K=olympe.j.J.F;h.sz.K=olympe.j.J.F;h.eA.K=olympe.j.J.C([]);h.dA.K=olympe.j.J.C([]);h.pu.K=olympe.j.J.C([]);h.mH.K=olympe.j.J.C([]);h.nH.K=olympe.j.J.C([]);olympe.ui.D.TA=class extends olympe.ui.D.Cd{constructor(a,b,c,d,e,f,g,k){super();this.data=olympe.j.qb(olympe.j.Og);this.bf=olympe.j.qb(olympe.ui.D.TA.C);this.R=olympe.j.qb(olympe.ui.D.Yq);this.content=new olympe.ui.D.Je(d.la());this.ca=olympe.j.qb(String);this.La=olympe.j.yb(olympe.ui.D.ba.qf.C.MB);this.Fa=olympe.j.yb(olympe.ui.D.ba.qf.C.Xx);this.Ka=olympe.j.yb(olympe.ui.D.ba.qf.C.rv);this.na=olympe.j.Xc(f);this.$=olympe.j.Xc(g);this.C=new olympe.j.Map;this.O=new olympe.j.Map;this.F=olympe.j.qb(olympe.j.ia);
580
- this.pH(c);this.me(this.content);this.fO(d);this.oH(b);this.$N(void 0===e?void 0!==a?olympe.ui.ha.gp.Xf:olympe.ui.ha.gp.mE:e);J(this.F,a);super.Lb(Cb(this.ca,l=>{switch(l.valueOf()){case olympe.ui.ha.gp.EO:return new olympe.j.ia(this.R.la().ma(),this.F.sa());case olympe.ui.ha.gp.DO:return new olympe.j.ia(this.F.ma(),this.R.la().sa());case olympe.ui.ha.gp.mE:return this.R.la();case olympe.ui.ha.gp.AS:return new olympe.j.ia(this.R.la().ma().an(this.F.ma()),this.F.sa());case olympe.ui.ha.gp.zS:return new olympe.j.ia(this.F.ma(),
581
- this.R.la().sa().an(this.F.sa()));case olympe.ui.ha.gp.BS:return new olympe.j.ia(this.R.la().ma().an(this.F.ma()),this.R.la().sa().an(this.F.sa()));default:return a}},null,olympe.j.ia));olympe.ui.D.TA.prototype.Pd.call(this,olympe.ui.Wa.F().wz(k));olympe.j.bb([this.data],l=>{this.C.mi(l.Qe())});olympe.j.Ih([this.data,this.bf,this.R,this.ca],(l,m,n)=>{l.forEach((p,r,t)=>{const u=olympe.j.yb(),v=n.Lv(this.content,m,p,r,t,this,u),w=olympe.j.Ua(this.na);void 0!==w&&w.valueOf()&&v.bd(x=>{void 0===this.C.Cg(r)?
581
+ this.pH(c);this.me(this.content);this.fO(d);this.oH(b);this.$N(void 0===e?void 0!==a?olympe.ui.ha.gp.Xf:olympe.ui.ha.gp.mE:e);J(this.F,a);super.Lb(Cb(this.ca,l=>{switch(l.valueOf()){case olympe.ui.ha.gp.EO:return new olympe.j.ia(this.R.la().ma(),this.F.sa());case olympe.ui.ha.gp.DO:return new olympe.j.ia(this.F.ma(),this.R.la().sa());case olympe.ui.ha.gp.mE:return this.R.la();case olympe.ui.ha.gp.BS:return new olympe.j.ia(this.R.la().ma().an(this.F.ma()),this.F.sa());case olympe.ui.ha.gp.AS:return new olympe.j.ia(this.F.ma(),
582
+ this.R.la().sa().an(this.F.sa()));case olympe.ui.ha.gp.CS:return new olympe.j.ia(this.R.la().ma().an(this.F.ma()),this.R.la().sa().an(this.F.sa()));default:return a}},null,olympe.j.ia));olympe.ui.D.TA.prototype.Pd.call(this,olympe.ui.Wa.F().wz(k));olympe.j.bb([this.data],l=>{this.C.mi(l.Qe())});olympe.j.Ih([this.data,this.bf,this.R,this.ca],(l,m,n)=>{l.forEach((p,r,t)=>{const u=olympe.j.yb(),v=n.Lv(this.content,m,p,r,t,this,u),w=olympe.j.Ua(this.na);void 0!==w&&w.valueOf()&&v.bd(x=>{void 0===this.C.Cg(r)?
582
583
  (x.oy().valueOf()&&olympe.j.Ua(this.$).valueOf()||(this.C.clear(),this.O.clear()),this.C.set(r,p),this.O.set(r,r)):!x.oy().valueOf()&&1<this.C.$i()?(this.C.clear(),this.O.clear(),this.C.set(r,p),this.O.set(r,r)):x.oy().valueOf()?(this.O.remove(r),this.C.remove(r)):(this.C.clear(),this.O.clear())});J(u,olympe.j.eb(this.C.has(r),()=>this.La,()=>olympe.j.eb(t.jf(r).Bw(2).ef(0),()=>this.Fa,()=>this.Ka,olympe.j.mb),olympe.j.mb))})})}oH(a){J(this.data,a)}pH(a){J(this.bf,a)}fO(a){J(this.R,a)}$N(a){J(this.ca,
583
- a)}yl(a){J(this.na,a);return this}pX(a){J(this.$,a);return this}EV(){return this.O}zQ(){return this.O.Rd()}FV(){return this.C}AQ(){return this.C.Rd()}YN(a){J(this.Fa,a)}hO(a){J(this.Ka,a)}lO(a){J(this.La,a)}Lb(a){J(this.F,a);return this}VW(){G(this.$).valueOf()&&this.data.Xh((a,b)=>{this.C.set(b,a);this.O.set(b,b)});return this}RT(){this.C.clear();this.O.clear();return this}Pd(a){super.Pd(a);this.YN(a.F());this.hO(a.O());this.lO(a.R())}};h=olympe.ui.D.TA.prototype;h.oH.K=olympe.j.J.C([]);h.pH.K=olympe.j.J.C([]);
584
- h.fO.K=olympe.j.J.C([]);h.$N.K=olympe.j.J.C([]);h.yl.K=olympe.j.J.C([]);h.pX.K=olympe.j.J.C([]);h.EV.K=new olympe.j.J(()=>olympe.j.Map,[]);h.zQ.K=new olympe.j.J(()=>String,[]);h.FV.K=new olympe.j.J(()=>olympe.j.Map,[]);h.AQ.K=new olympe.j.J(()=>Object,[]);h.YN.K=olympe.j.J.C([]);h.hO.K=olympe.j.J.C([]);h.lO.K=olympe.j.J.C([]);h.Lb.K=olympe.j.J.C([]);h.VW.K=olympe.j.J.C([]);h.RT.K=olympe.j.J.C([]);olympe.ui.D.Ms=class extends olympe.ui.D.Cd{constructor(a,b,c,d,e=0,f=!1){super();this.F=olympe.j.jb();this.data=b;this.cb=c;this.bf=d;this.Fa=f||!1;this.R=olympe.j.createNode(olympe.j.aa);this.ca=olympe.j.createNode(olympe.j.aa);this.scrollWidth=a.ma();this.Kb=a.sa();this.O=olympe.j.createNode(Number);this.na=olympe.j.createNode(Number);olympe.j.bb([this.ca,this.scrollWidth],(k,l)=>{l=l.valueOf();const m=Math.max(1,Math.floor(l/k));lb(this.na,(l-k*m)/(m+1));lb(this.O,m)},'ForEachLimited itemLineSize and scrollWidth');
584
+ a)}yl(a){J(this.na,a);return this}qX(a){J(this.$,a);return this}FV(){return this.O}AQ(){return this.O.Rd()}GV(){return this.C}BQ(){return this.C.Rd()}YN(a){J(this.Fa,a)}hO(a){J(this.Ka,a)}lO(a){J(this.La,a)}Lb(a){J(this.F,a);return this}WW(){G(this.$).valueOf()&&this.data.Xh((a,b)=>{this.C.set(b,a);this.O.set(b,b)});return this}ST(){this.C.clear();this.O.clear();return this}Pd(a){super.Pd(a);this.YN(a.F());this.hO(a.O());this.lO(a.R())}};h=olympe.ui.D.TA.prototype;h.oH.K=olympe.j.J.C([]);h.pH.K=olympe.j.J.C([]);
585
+ h.fO.K=olympe.j.J.C([]);h.$N.K=olympe.j.J.C([]);h.yl.K=olympe.j.J.C([]);h.qX.K=olympe.j.J.C([]);h.FV.K=new olympe.j.J(()=>olympe.j.Map,[]);h.AQ.K=new olympe.j.J(()=>String,[]);h.GV.K=new olympe.j.J(()=>olympe.j.Map,[]);h.BQ.K=new olympe.j.J(()=>Object,[]);h.YN.K=olympe.j.J.C([]);h.hO.K=olympe.j.J.C([]);h.lO.K=olympe.j.J.C([]);h.Lb.K=olympe.j.J.C([]);h.WW.K=olympe.j.J.C([]);h.ST.K=olympe.j.J.C([]);olympe.ui.D.Ms=class extends olympe.ui.D.Cd{constructor(a,b,c,d,e=0,f=!1){super();this.F=olympe.j.jb();this.data=b;this.cb=c;this.bf=d;this.Fa=f||!1;this.R=olympe.j.createNode(olympe.j.aa);this.ca=olympe.j.createNode(olympe.j.aa);this.scrollWidth=a.ma();this.Kb=a.sa();this.O=olympe.j.createNode(Number);this.na=olympe.j.createNode(Number);olympe.j.bb([this.ca,this.scrollWidth],(k,l)=>{l=l.valueOf();const m=Math.max(1,Math.floor(l/k));lb(this.na,(l-k*m)/(m+1));lb(this.O,m)},'ForEachLimited itemLineSize and scrollWidth');
585
586
  olympe.j.If(c,k=>{const l=this.data.Dh(0);olympe.j.nc(l)&&Ab(l,k);k=this.bf(l,0,olympe.j.ka.xb).la();wb(this.R,k.sa().$a(e).ac);wb(this.ca,k.ma().ac)});this.$=olympe.j.rb(olympe.j.aa);this.La=olympe.j.rb(olympe.j.aa);olympe.j.bb([this.Kb,this.R,this.O,this.data.hd()],(k,l,m,n)=>{this.F.ug()||(k=k.valueOf(),n=n.valueOf(),k=Math.min(Math.ceil(k/l)+2,Math.ceil(n/m))*l,tb(this.$.C),this.La.update(olympe.j.Da(k)),l=m*Math.ceil(k/l),l=isNaN(l)?Infinity:l,this.$.update(olympe.j.Da(Math.max(0,Math.min(n,
586
587
  l)))))},'ForEachLimited count process flow');const g=olympe.j.fb([this.R,this.data.hd(),this.O,e],(k,l,m,n)=>olympe.j.Da(Math.max(0,k*Math.ceil(l.valueOf()/m)-n)),olympe.j.aa);this.content=new olympe.ui.D.Je(new olympe.j.ia(a.ma(),g));this.C=[];this.selected=new olympe.j.Map(c);olympe.j.bb([this.$],k=>{if(!this.F.ug()){var l=k.valueOf(),m=this.O.og,n=this.C.length,p=Math.floor(n/m),r=n%m,t=olympe.j.Ua(this.data);this.F.run(()=>{var u=t?t.$i():0;if(n<l){var v=Math.ceil(l/m);for(var w=p;w<v;w++)for(let x=
587
588
  w===p?r:0;x<m;x++){const y=w*m+x;if(y>=u)break;const B=new olympe.j.Qd(`ForEachLimitedTile[${w}]`),E=B.run(()=>new Ad(this.bf,this.cb,this.fq.bind(this)));this.C[y]=E;this.content.appendChild(E.R,E.xa());B.run(()=>olympe.j.eb(this.Fa,()=>E.R.bd(this.Ka.bind(this,E))))}}else{for(u=n;u>l;u--)v=this.C[u-1],w=v.xa(),this.content.removeChild(w),v.destroy();this.C.length=l}})}});olympe.j.bb([this.data,this.data.hd()],k=>{if(!this.F.ug()){var l=0,m=!0,n=this.U().sa();olympe.j.bb([this.R,this.ca,this.La,
@@ -596,12 +597,12 @@ const e=olympe.ui.Z.MouseEvent,f=this.eh(p=>{p.nm().Oc(e.Kx)&&this.F.update(olym
596
597
  t,u)=>olympe.j.fb([this.ca.Ca(),this.F.Ca(),this.Ka.Ca()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.Color);void 0!==b&&this.Sb(b);this.label.pb(d(this.V,this.Kb,this.Mb,this.V));this.C.Sb(this.Fa);this.C.pb(d(this.V,this.Kb,this.Mb,this.V));this.C.zb('FontAwesome');this.C.bc(olympe.ui.ha.Jb.Xb);this.C.qd(this.Fa.dj());b=olympe.j.eb(this.Fa.dj(),()=>this.label.td(),()=>this.label.td().$a(this.C.td()).$a(this.La),olympe.j.aa);b=c.Ga(b).Va(2);this.label.setPosition(new olympe.j.ia(this.R.$a(b),
597
598
  this.R));this.C.setPosition(new olympe.j.ia(this.label.ge().ma().$a(this.label.td()).$a(this.La),this.R));xd(this,this.label,'label');xd(this,this.C,'icon');olympe.ui.D.pc.prototype.Pd.call(this,n);olympe.ui.D.ee.prototype.ed.call(this,((p,r,t,u)=>olympe.j.fb([this.ca.Ca(),this.F.Ca(),this.Ka.Ca()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.aa))(this.R,this.kq,this.Rc,this.vg));olympe.ui.D.wb.prototype.ld.call(this,d(this.vc,this.ai,this.Mc,this.af));olympe.ui.D.wb.prototype.Qa.call(this,
598
599
  d(this.Kd,this.Hf,this.Fc,this.qe));J(this.$,void 0!==a?a.sa():n.la().sa());olympe.ui.D.wb.prototype.Lb.call(this,new olympe.j.ia(this.na,this.$));olympe.j.eb(this.cb,()=>{this.label.Kc(this.U);olympe.j.Ua(this.Fa.dj()).valueOf()?(this.label.Lc(this.U),J(this.na,this.label.td())):(this.C.Lc(this.U),J(this.na,this.label.td().$a(this.C.td()).$a(this.La).$a(this.U)))},()=>{this.label.Kc(olympe.j.aa.ZERO);this.label.Lc(olympe.j.aa.ZERO);this.C.Lc(olympe.j.aa.ZERO);J(this.na,void 0!==a?a.ma():n.la().ma())});
599
- olympe.j.eb(this.Rb,()=>{this.label.sd(this.Ab);this.label.rd(this.Ab);J(this.$,this.label.la().sa())},()=>{this.label.sd(olympe.j.aa.ZERO);this.label.rd(olympe.j.aa.ZERO);J(this.$,void 0!==a?a.sa():n.la().sa())})}lX(a){this.label.Sb(a);return this}zD(a){J(this.Fa,a);return this}Sb(a){this.label.Sb(a);return this}di(a){this.label.di(a);return this}DQ(a){this.label.Xs(a);return this}bc(a){this.label.bc(a);return this}fc(a){this.label.fc(a);return this}Bb(a){this.label.Bb(a);return this}Td(a){this.label.Td(a);
600
- return this}pb(a){return this.Gq(a)}Eb(a){this.label.Eb(a);return this}zb(a){this.label.zb(a);return this}Qa(a){J(this.Kd,a);return this}lB(a){J(this.Fc,a)}Wj(a){J(this.Hf,a);return this}CQ(a){J(this.qe,a);return this}mB(a){J(this.Mb,a)}nB(a){J(this.Kb,a)}qH(a){J(this.Mc,a)}rH(a){J(this.ai,a)}iX(a){J(this.af,a);return this}wX(a){J(this.kq,a);return this}jX(a){J(this.vg,a);return this}eX(a){J(this.Rc,a);return this}ae(a,b=0){a='boolean'===typeof a?olympe.j.Pc(a):a;b='number'===typeof b?olympe.j.Da(b):
601
- b;J(this.cb,a);J(this.U,b);return this}Xd(a,b=0){a='boolean'===typeof a?olympe.j.Pc(a):a;b='number'===typeof b?olympe.j.Da(b):b;J(this.Rb,a);J(this.Ab,b);return this}kX(a=0){J(this.La,a);return this}Fd(a,b){this.ed(a);this.ld(b);return this}ed(a){J(this.R,a)}ld(a){J(this.vc,a)}Gq(a){J(this.V,a);return this}BQ(a){return this.Gq(a)}Jf(a){olympe.j.Rg(a)?this.ca.repeat(a):this.ca.update(a);return this}Lb(a){J(this.cb,!1);J(this.na,a.ma());J(this.$,a.sa());return this}bd(a,b,c){return super.bd(d=>{if(!olympe.j.Ua(this.ca).valueOf())return a(d)},
602
- b,c)}Pd(a){a&&(super.Pd(a),this.ae(a.xG(),a.JL()),this.lB(a.cM()),this.Wj(a.KM()),this.mB(a.eM()),this.nB(a.MM()),this.qH(a.dM()),this.rH(a.LM()),this.bc(a.AG()),this.fc(a.BG()),this.Gq(a.zG()),this.Bb(a.yG()),this.zb(a.zi()),this.Eb(a.Ai()))}ag(a){J(this.yc,a);return this}};olympe.ui.D.pc.ua=[olympe.ui.D.Vu];h=olympe.ui.D.pc.prototype;h.lX.K=olympe.j.J.C([]);h.zD.K=olympe.j.J.C([]);h.Sb.K=olympe.j.J.C([]);h.di.K=olympe.j.J.C([]);h.DQ.K=olympe.j.J.C([]);h.bc.K=olympe.j.J.C([]);h.fc.K=olympe.j.J.C([]);
603
- h.Bb.K=olympe.j.J.C([]);h.Td.K=olympe.j.J.C([]);h.pb.K=olympe.j.J.C([]);h.Eb.K=olympe.j.J.C([]);h.zb.K=olympe.j.J.C([]);h.Qa.K=olympe.j.J.C([]);h.lB.K=olympe.j.J.C([]);h.Wj.K=olympe.j.J.C([]);h.CQ.K=olympe.j.J.C([]);h.mB.K=olympe.j.J.C([]);h.nB.K=olympe.j.J.C([]);h.qH.K=olympe.j.J.C([]);h.rH.K=olympe.j.J.C([]);h.iX.K=olympe.j.J.C([]);h.wX.K=olympe.j.J.C([]);h.jX.K=olympe.j.J.C([]);h.eX.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.C([]);h.Xd.K=olympe.j.J.C([]);h.kX.K=olympe.j.J.C([]);h.ed.K=olympe.j.J.C([]);
604
- h.ld.K=olympe.j.J.C([]);h.Gq.K=olympe.j.J.C([]);h.BQ.K=olympe.j.J.C([]);h.Jf.K=olympe.j.J.C([]);h.Lb.K=olympe.j.J.C([]);h.ag.K=olympe.j.J.C([]);olympe.ui.D.te=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.ee,olympe.host.ra.ob.My),a)}};olympe.ui.D.Ol=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.ee,olympe.host.ra.ob.My));this.Lb(new olympe.j.ia(a,a));this.lc(this.la().ma().Va(2))}};function Cd(a,b,c,d,e){d=void 0===d?olympe.j.aa.ZERO:olympe.j.ja(d);e=void 0===e?olympe.j.aa.ZERO:olympe.j.ja(e);olympe.j.eb(a.Ka.Ca(),()=>{a.V.repeat(olympe.j.aa.max(a.U))},()=>{olympe.j.Rg(b)?a.V.repeat(b):a.V.update(void 0!==b?b:olympe.j.aa.ZERO)});c=void 0!==c?olympe.j.Rg(c)?c:olympe.j.Da(c):olympe.j.fb([a.R.hd(),a.Mb],(f,g)=>olympe.j.Da(f-g),olympe.j.aa);a.cb(a.V.Ca(),c,d,e);xd(a,a.content,'Layout content')}
600
+ olympe.j.eb(this.Rb,()=>{this.label.sd(this.Ab);this.label.rd(this.Ab);J(this.$,this.label.la().sa())},()=>{this.label.sd(olympe.j.aa.ZERO);this.label.rd(olympe.j.aa.ZERO);J(this.$,void 0!==a?a.sa():n.la().sa())})}mX(a){this.label.Sb(a);return this}zD(a){J(this.Fa,a);return this}Sb(a){this.label.Sb(a);return this}di(a){this.label.di(a);return this}EQ(a){this.label.Xs(a);return this}bc(a){this.label.bc(a);return this}fc(a){this.label.fc(a);return this}Bb(a){this.label.Bb(a);return this}Td(a){this.label.Td(a);
601
+ return this}pb(a){return this.Gq(a)}Eb(a){this.label.Eb(a);return this}zb(a){this.label.zb(a);return this}Qa(a){J(this.Kd,a);return this}lB(a){J(this.Fc,a)}Wj(a){J(this.Hf,a);return this}DQ(a){J(this.qe,a);return this}mB(a){J(this.Mb,a)}nB(a){J(this.Kb,a)}qH(a){J(this.Mc,a)}rH(a){J(this.ai,a)}jX(a){J(this.af,a);return this}xX(a){J(this.kq,a);return this}kX(a){J(this.vg,a);return this}fX(a){J(this.Rc,a);return this}ae(a,b=0){a='boolean'===typeof a?olympe.j.Pc(a):a;b='number'===typeof b?olympe.j.Da(b):
602
+ b;J(this.cb,a);J(this.U,b);return this}Xd(a,b=0){a='boolean'===typeof a?olympe.j.Pc(a):a;b='number'===typeof b?olympe.j.Da(b):b;J(this.Rb,a);J(this.Ab,b);return this}lX(a=0){J(this.La,a);return this}Fd(a,b){this.ed(a);this.ld(b);return this}ed(a){J(this.R,a)}ld(a){J(this.vc,a)}Gq(a){J(this.V,a);return this}CQ(a){return this.Gq(a)}Jf(a){olympe.j.Rg(a)?this.ca.repeat(a):this.ca.update(a);return this}Lb(a){J(this.cb,!1);J(this.na,a.ma());J(this.$,a.sa());return this}bd(a,b,c){return super.bd(d=>{if(!olympe.j.Ua(this.ca).valueOf())return a(d)},
603
+ b,c)}Pd(a){a&&(super.Pd(a),this.ae(a.xG(),a.JL()),this.lB(a.cM()),this.Wj(a.KM()),this.mB(a.eM()),this.nB(a.MM()),this.qH(a.dM()),this.rH(a.LM()),this.bc(a.AG()),this.fc(a.BG()),this.Gq(a.zG()),this.Bb(a.yG()),this.zb(a.zi()),this.Eb(a.Ai()))}ag(a){J(this.yc,a);return this}};olympe.ui.D.pc.ua=[olympe.ui.D.Vu];h=olympe.ui.D.pc.prototype;h.mX.K=olympe.j.J.C([]);h.zD.K=olympe.j.J.C([]);h.Sb.K=olympe.j.J.C([]);h.di.K=olympe.j.J.C([]);h.EQ.K=olympe.j.J.C([]);h.bc.K=olympe.j.J.C([]);h.fc.K=olympe.j.J.C([]);
604
+ h.Bb.K=olympe.j.J.C([]);h.Td.K=olympe.j.J.C([]);h.pb.K=olympe.j.J.C([]);h.Eb.K=olympe.j.J.C([]);h.zb.K=olympe.j.J.C([]);h.Qa.K=olympe.j.J.C([]);h.lB.K=olympe.j.J.C([]);h.Wj.K=olympe.j.J.C([]);h.DQ.K=olympe.j.J.C([]);h.mB.K=olympe.j.J.C([]);h.nB.K=olympe.j.J.C([]);h.qH.K=olympe.j.J.C([]);h.rH.K=olympe.j.J.C([]);h.jX.K=olympe.j.J.C([]);h.xX.K=olympe.j.J.C([]);h.kX.K=olympe.j.J.C([]);h.fX.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.C([]);h.Xd.K=olympe.j.J.C([]);h.lX.K=olympe.j.J.C([]);h.ed.K=olympe.j.J.C([]);
605
+ h.ld.K=olympe.j.J.C([]);h.Gq.K=olympe.j.J.C([]);h.CQ.K=olympe.j.J.C([]);h.Jf.K=olympe.j.J.C([]);h.Lb.K=olympe.j.J.C([]);h.ag.K=olympe.j.J.C([]);olympe.ui.D.te=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.ee,olympe.host.ra.ob.My),a)}};olympe.ui.D.Ol=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.ee,olympe.host.ra.ob.My));this.Lb(new olympe.j.ia(a,a));this.lc(this.la().ma().Va(2))}};function Cd(a,b,c,d,e){d=void 0===d?olympe.j.aa.ZERO:olympe.j.ja(d);e=void 0===e?olympe.j.aa.ZERO:olympe.j.ja(e);olympe.j.eb(a.Ka.Ca(),()=>{a.V.repeat(olympe.j.aa.max(a.U))},()=>{olympe.j.Rg(b)?a.V.repeat(b):a.V.update(void 0!==b?b:olympe.j.aa.ZERO)});c=void 0!==c?olympe.j.Rg(c)?c:olympe.j.Da(c):olympe.j.fb([a.R.hd(),a.Mb],(f,g)=>olympe.j.Da(f-g),olympe.j.aa);a.cb(a.V.Ca(),c,d,e);xd(a,a.content,'Layout content')}
605
606
  olympe.ui.D.Bs=class extends olympe.ui.D.ee{constructor(a,b,c,d,e,f=!1,g=!1){super();this.R=new olympe.j.Qy;this.Kb=g;this.Rb=f;this.Ka=olympe.j.rb(olympe.j.ka,'Abstract Layout childWatchedDimensionFS').update(void 0!==a?olympe.j.ka.xb:olympe.j.ka.C);this.V=Hb(olympe.j.rb(olympe.j.aa,'abstract Layout childWatchedDimension'),olympe.j.aa.ZERO);this.U=new olympe.j.Map(olympe.j.aa);this.U.set('DefaultSize',olympe.j.aa.ZERO);this.Mb=void 0===c?olympe.j.aa.ZERO:olympe.j.ja(c);this.content=new olympe.ui.D.Je;
606
607
  this.content.Mp();Cd(this,a,b,d,e)}Jc(){return this.content.Jc()||super.Jc()}appendChild(a,b,...c){const d=0<c.length?c[0]:olympe.j.aa.ONE,e=1<c.length?c[1]:olympe.j.aa.ONE;var f=2<c.length?c[2]:olympe.ui.ha.Jb.Mf,g=3<c.length?c[3]:void 0;if('string'!==typeof b)throw Error('A child should be registered using a string id');void 0!==this.U.Cg(b)&&this.removeChild(b);c=olympe.j.eb(a.pl(),()=>olympe.j.aa.ZERO,()=>d.$a(this.Mb),olympe.j.aa);g=gc(this.R,b,c,g);switch(f){case olympe.ui.ha.Jb.Xb:f=this.content.la().ma().Ga(a.la().ma()).Va(2);
607
608
  break;case olympe.ui.ha.Jb.Ng:f=this.content.la().ma().Ga(a.la().ma());break;case olympe.ui.ha.uc.Qc:f=this.content.la().sa().Ga(a.la().sa()).Va(2);break;case olympe.ui.ha.uc.th:f=this.content.la().sa().Ga(a.la().sa());break;default:f=0}c=this.Kb?this.R.hd().Ga(g).Ga(c):g;g=olympe.j.eb(a.pl(),()=>olympe.j.aa.ZERO,()=>e,olympe.j.aa);this.U.set(b,g);f=this.Rb?new olympe.j.ia(f,c):new olympe.j.ia(c,f);this.content.appendChild(a,b,f);yd(this.content,k=>{ec(this.R,k);this.U.remove(k)});return this}removeChild(a){ec(this.R,
@@ -619,83 +620,83 @@ olympe.ui.D.De=class extends olympe.ui.D.wb{constructor(a,b){super(olympe.ui.Wa.
619
620
  childList:!0,characterData:!1,subtree:!1})}})}};olympe.ui.D.De.prototype.C.K=new olympe.j.J(()=>olympe.N.D.De,[]);function Ed(a,b){a.C[olympe.pa.Xi()]=b}
620
621
  olympe.ui.D.Le=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.Le,olympe.host.ra.ob.OJ));this.F=olympe.j.ka.C;this.C=Object.create(null);T(this).Xz(b=>{const c=[];let d,e,f;d=0;for(e=b.length;d<e;d++)f=b[d],c.push(new olympe.ui.D.KF(f.content,f.name,f.mimeType,f.size));for(let g in this.C)this.C[g](c)});this.Lb(void 0!==a?a:new olympe.j.ia(400,200));this.bd(()=>{const b=olympe.j.Ua(this.F);b&&b.valueOf()&&T(this).ws()})}st(a){T(this).st(a);return this}iu(a){T(this).iu(a);
621
622
  return this}Pw(a){this.F=a;return this}Jf(a){T(this).Jf(a);return this}ps(a){T(this).ps(a);return this}xt(){T(this).xt();return this}ws(){T(this).ws();return this}};h=olympe.ui.D.Le.prototype;h.st.K=olympe.j.J.C([]);h.iu.K=olympe.j.J.C([]);h.Pw.K=olympe.j.J.C([]);h.Jf.K=olympe.j.J.C([]);h.ps.K=olympe.j.J.C([]);h.xt.K=olympe.j.J.C([]);h.ws.K=olympe.j.J.C([]);olympe.ui.D.KF=class{constructor(a,b,c,d){this.content=a;this.name=b;this.mimeType=c;this.size=d}sh(){return olympe.j.kc(`file:${this.name}`)}fw(a){a(this.content)}rz(a){a(Ma(this.content))}Hr(a){return a(`data:${this.mimeType};base64,${olympe.pa.mk().C(this.content)}`)}mD(a,b){olympe.j.bb([a],c=>{this.name=c.valueOf()});b(!0)}Oa(){return olympe.j.kc(this.name)}my(){return olympe.j.kc(this.name)}Ot(){return olympe.j.kc(this.mimeType)}hd(){return this.size}};olympe.ui.D.KF.ua=[olympe.j.File];olympe.ui.D.be=class{constructor(){}filter(){}};olympe.ui.D.Ee=class extends olympe.ui.D.Cd{constructor(a,b,c,d){super(a);this.data=olympe.j.qb(olympe.j.Og);this.C=olympe.j.ja();this.R=new olympe.j.ia(this.la().ma(),this.C);this.bf=olympe.j.qb(Object);this.content=new olympe.ui.D.Je(new olympe.j.ia(this.la().ma(),this.C.kb(this.data.hd())));olympe.j.Wc();olympe.j.Wc();this.F=olympe.j.qb();this.O=olympe.j.qb(String);a&&this.Lb(a);b&&this.sH(b);c&&this.cO(c);d&&this.tH(d);this.me(this.content);Cb(this.data,e=>{Ab(this.F,e.Qe())});Cb(this.bf,e=>{this.data.forEach((f,
622
- g,k)=>{k=k.jf(g);const l=e(this.R,f,g,k);l.bd(()=>{I(this.F,f);I(this.O,g)});this.content.appendChild(l,g,new olympe.j.ia(0,k.kb(this.C)))})})}sH(a){J(this.data,a)}cO(a){J(this.C,a)}tH(a){J(this.bf,a)}EQ(){return this.O}FQ(){return this.F}};h=olympe.ui.D.Ee.prototype;h.sH.K=olympe.j.J.C([]);h.cO.K=olympe.j.J.C([]);h.tH.K=olympe.j.J.C([]);h.EQ.K=new olympe.j.J(()=>String,[]);h.FQ.K=new olympe.j.J(()=>Object,[]);olympe.ui.D.im=class{constructor(){}run(){}Rj(){}C(){}};function Fd(a){const b=a.na+String((new Date).getTime()+Math.random());olympe.j.eb(a.Cb,()=>{null!==a.F&&a.F.Ug(olympe.ui.Wa.O(b+'_overlay').$a(1));a.C.Ug(olympe.ui.Wa.O(b).$a(1));a.O=G(a.U);a.O.appendChild(a.C,a.na);const c=()=>{for(const e in a.Mb)if(Object.prototype.hasOwnProperty.call(a.Mb,e))a.Mb[e]();a.nD();null!==a.F&&a.F.setPosition(new olympe.j.ia(0,0))},d=G(a.animation);null!==d?G(a.La).valueOf()?d.Rj(a.content,a.O,c):d.Rj(a.C,a.O,c):c();null!==a.F&&(a.O.mj(),a.O.appendChild(a.F,a.na+'_overlay'),
623
+ g,k)=>{k=k.jf(g);const l=e(this.R,f,g,k);l.bd(()=>{I(this.F,f);I(this.O,g)});this.content.appendChild(l,g,new olympe.j.ia(0,k.kb(this.C)))})})}sH(a){J(this.data,a)}cO(a){J(this.C,a)}tH(a){J(this.bf,a)}FQ(){return this.O}GQ(){return this.F}};h=olympe.ui.D.Ee.prototype;h.sH.K=olympe.j.J.C([]);h.cO.K=olympe.j.J.C([]);h.tH.K=olympe.j.J.C([]);h.FQ.K=new olympe.j.J(()=>String,[]);h.GQ.K=new olympe.j.J(()=>Object,[]);olympe.ui.D.im=class{constructor(){}run(){}Rj(){}C(){}};function Fd(a){const b=a.na+String((new Date).getTime()+Math.random());olympe.j.eb(a.Cb,()=>{null!==a.F&&a.F.Ug(olympe.ui.Wa.O(b+'_overlay').$a(1));a.C.Ug(olympe.ui.Wa.O(b).$a(1));a.O=G(a.U);a.O.appendChild(a.C,a.na);const c=()=>{for(const e in a.Mb)if(Object.prototype.hasOwnProperty.call(a.Mb,e))a.Mb[e]();a.nD();null!==a.F&&a.F.setPosition(new olympe.j.ia(0,0))},d=G(a.animation);null!==d?G(a.La).valueOf()?d.Rj(a.content,a.O,c):d.Rj(a.C,a.O,c):c();null!==a.F&&(a.O.mj(),a.O.appendChild(a.F,a.na+'_overlay'),
623
624
  null!==d&&G(a.Ba).valueOf()&&d.Rj(a.F,a.O,c))},()=>{if(null!==a.O){const c=a.O;a.O=null;const d=()=>{olympe.ui.Wa.R(b+'_overlay');olympe.ui.Wa.R(b);c.removeChild(a.na);null!==a.F&&c.removeChild(a.na+'_overlay');a.nD();null!==a.F&&a.F.setPosition(new olympe.j.ia(0,0));for(const f in a.ga)if(Object.prototype.hasOwnProperty.call(a.ga,f))a.ga[f]()},e=olympe.j.Ua(a.animation);if(null!==e&&void 0!==e){const f=null!==a.F&&olympe.j.Ua(a.Ba)===olympe.j.ka.C;G(a.La).valueOf()?e.C(a.content,c,f?void 0:d):e.C(a.C,
624
625
  c,f?void 0:d);f&&e.C(a.F,a.O,d)}else d()}})}function Gd(a,b,c){c=void 0!==c?c:olympe.pa.we();a.ga[c]=b}function Hd(a,b){a.qe.set('hide',b)}
625
626
  olympe.ui.D.eg=class{constructor(a,b,c,d){this.vg=olympe.ui.D.eg.R;olympe.ui.D.eg.R++;this.na=(d?d:'floatingElement')+'_'+this.vg;this.animation=olympe.j.qb(olympe.ui.D.im,null);this.La=olympe.j.Xc(!1);this.C=new olympe.ui.D.Je(a);this.content=olympe.j.qb(olympe.ui.D.wb);this.U=null===c||void 0===c?olympe.j.qb(olympe.ui.D.Pf,olympe.ui.Wa.kf()):c instanceof olympe.j.Proxy?c:olympe.j.qb(olympe.ui.D.ee,c);this.O=null;this.Cb=olympe.j.Xc(!1);this.ga={};this.Mb={};this.V=null;this.Fa=olympe.j.Xc(!1);this.Pa=
626
627
  olympe.j.Xc(!1);this.Kd=void 0!==b?b:!0;this.Ba=this.F=this.Ab=null;this.qe=new Map;this.Kd&&(this.Ab=olympe.j.Wc(),this.F=new olympe.ui.D.te(this.U.la()),this.Ba=olympe.j.Xc(!1),this.F.Qa(this.Ab),this.F.bd(e=>{for(const f of this.qe.values())f(e)}));this.C.pf(this.U);this.C.jj(!0);Fd(this);this.C.appendChild(this.content,'content');this.bA()}bA(){olympe.j.eb(this.Fa,()=>{olympe.j.eb(this.Pa,()=>{this.C.Lb(this.content.la())},()=>{olympe.j.bb([this.C.la()],a=>a.re(this.content.la().ma()))})},()=>
627
628
  {olympe.j.eb(this.Pa,()=>{olympe.j.bb([this.C.la()],a=>a.Ie(this.content.la().sa()))})})}me(a){J(this.content,a);return this}getParent(){return this.U}hr(a){J(this.Cb,a)}isVisible(){return this.Cb}wH(a){J(this.animation,a)}Fr(){return this.animation}uH(a){J(this.La,a)}vH(a){J(this.Ba,a)}xH(a){J(this.Ab,a)}ae(a){J(this.Fa,a);return this}Xd(a){J(this.Pa,a);return this}setPosition(a){this.C.setPosition(a);return this}ge(){return this.C.ge()}Lb(a){this.C.Lb(a);return this}la(){return this.C.la()}setScale(a){this.C.setScale(a);
628
- return this}Qa(a){this.C.Qa(a);return this}lc(a){this.C.lc(a);return this}Fd(a,b){this.C.Fd(a,b);return this}lg(a){this.C.lg(a);return this}xg(a,b,c,d,e){this.C.xg(a,b,c,d,e);return this}AT(){olympe.j.bb([this.U],a=>{this.Qv(a,olympe.ui.D.eg.F.Qc,olympe.ui.D.eg.O.Qc)});return this}Qv(a,b,c){const d=olympe.ui.D.eg.O,e=olympe.ui.D.eg.F,f=a.Ch().ma(),g=a.Ch().sa();var k=olympe.ui.Wa.kf().la().sa(),l=olympe.ui.Wa.kf().la().ma();switch(b){case e.sI:b=f.Ga(this.C.la().ma());break;case e.uy:b=f;break;case e.zJ:b=
629
+ return this}Qa(a){this.C.Qa(a);return this}lc(a){this.C.lc(a);return this}Fd(a,b){this.C.Fd(a,b);return this}lg(a){this.C.lg(a);return this}xg(a,b,c,d,e){this.C.xg(a,b,c,d,e);return this}BT(){olympe.j.bb([this.U],a=>{this.Qv(a,olympe.ui.D.eg.F.Qc,olympe.ui.D.eg.O.Qc)});return this}Qv(a,b,c){const d=olympe.ui.D.eg.O,e=olympe.ui.D.eg.F,f=a.Ch().ma(),g=a.Ch().sa();var k=olympe.ui.Wa.kf().la().sa(),l=olympe.ui.Wa.kf().la().ma();switch(b){case e.sI:b=f.Ga(this.C.la().ma());break;case e.uy:b=f;break;case e.zJ:b=
629
630
  f.$a(a.la().ma().Ga(this.C.la().ma()));break;case e.AJ:b=f.$a(a.la().ma());break;default:b=f.$a(a.la().ma().Ga(this.C.la().ma()).Va(2))}switch(c){case d.TB:a=g.Ga(this.C.la().sa());break;case d.jK:a=g;break;case d.yE:a=g.$a(a.la().sa().Ga(this.C.la().sa()));break;case d.Jx:a=g.$a(a.la().sa());break;default:a=g.$a(a.la().sa().Ga(this.C.la().sa()).Va(2))}c=olympe.j.Ua(this.U).Ch();b=b.Ga(c.ma());a=a.Ga(c.sa());const m=(n,p,r,t)=>{n+p+t>r&&(n=r-p-t);return n<t?t:n};l=olympe.j.fb([b,this.la().ma(),l],
630
- (n,p,r)=>olympe.j.Da(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);k=olympe.j.fb([a,this.la().sa(),k],(n,p,r)=>olympe.j.Da(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);k=new olympe.j.ia(l,k);this.C.setPosition(k);this.V=k}BT(a,b,c,d){const e=olympe.ui.D.eg.O,f=olympe.ui.D.eg.F,g=a.tg().ma();a=a.tg().sa();switch(b){case f.sI:case f.uy:b=g.Ga(this.C.la().ma());break;case f.zJ:case f.AJ:b=g.$a(10);break;default:b=g.Ga(this.C.la().ma().Va(2))}switch(c){case e.TB:case e.jK:c=a.Ga(this.C.la().sa()).Ga(10);
631
- break;case e.yE:case e.Jx:c=a;break;default:c=a.Ga(this.C.la().sa().Va(2))}c=new olympe.j.ia(b,c);d&&(c=c.$a(d));c=c.Ga(G(this.U).Ch());this.C.setPosition(c);this.V=c;return this}nD(){null!==this.V&&this.C.setPosition(this.V)}QW(){this.V=null;return this}jh(a){a&&(this.C.Pd(a),this.wH(a.Fr()),this.Kd&&(this.xH(a.IG()),this.vH(a.HG())),this.uH(a.GG()),this.ae(a.sy()),this.Xd(a.qy()))}};olympe.ui.D.eg.R=0;olympe.ui.D.eg.O={TB:'top_out',jK:'top_in',Qc:'middle',yE:'bottom_in',Jx:'bottom_out'};
631
+ (n,p,r)=>olympe.j.Da(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);k=olympe.j.fb([a,this.la().sa(),k],(n,p,r)=>olympe.j.Da(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);k=new olympe.j.ia(l,k);this.C.setPosition(k);this.V=k}CT(a,b,c,d){const e=olympe.ui.D.eg.O,f=olympe.ui.D.eg.F,g=a.tg().ma();a=a.tg().sa();switch(b){case f.sI:case f.uy:b=g.Ga(this.C.la().ma());break;case f.zJ:case f.AJ:b=g.$a(10);break;default:b=g.Ga(this.C.la().ma().Va(2))}switch(c){case e.TB:case e.jK:c=a.Ga(this.C.la().sa()).Ga(10);
632
+ break;case e.yE:case e.Jx:c=a;break;default:c=a.Ga(this.C.la().sa().Va(2))}c=new olympe.j.ia(b,c);d&&(c=c.$a(d));c=c.Ga(G(this.U).Ch());this.C.setPosition(c);this.V=c;return this}nD(){null!==this.V&&this.C.setPosition(this.V)}RW(){this.V=null;return this}jh(a){a&&(this.C.Pd(a),this.wH(a.Fr()),this.Kd&&(this.xH(a.IG()),this.vH(a.HG())),this.uH(a.GG()),this.ae(a.sy()),this.Xd(a.qy()))}};olympe.ui.D.eg.R=0;olympe.ui.D.eg.O={TB:'top_out',jK:'top_in',Qc:'middle',yE:'bottom_in',Jx:'bottom_out'};
632
633
  olympe.ui.D.eg.F={sI:'left_out',uy:'top_in',Qc:'middle',zJ:'bottom_in',AJ:'bottom_out'};h=olympe.ui.D.eg.prototype;h.bA.K=olympe.j.J.C([]);h.me.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.D.wb,[]);h.hr.K=olympe.j.J.C([]);h.isVisible.K=olympe.j.J.U;h.wH.K=olympe.j.J.C([]);h.uH.K=olympe.j.J.C([]);h.vH.K=olympe.j.J.C([]);h.xH.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.C([]);h.Xd.K=olympe.j.J.C([]);h.setPosition.K=olympe.j.J.C([]);h.ge.K=olympe.j.J.V;h.Lb.K=olympe.j.J.C([]);h.la.K=olympe.j.J.V;
633
- h.setScale.K=olympe.j.J.C([]);h.Qa.K=olympe.j.J.C([]);h.lc.K=olympe.j.J.C([]);h.Fd.K=olympe.j.J.C([]);h.lg.K=olympe.j.J.C([]);h.xg.K=olympe.j.J.C([]);h.AT.K=olympe.j.J.C([]);h.Qv.K=olympe.j.J.C([]);h.BT.K=olympe.j.J.C([]);h.nD.K=olympe.j.J.C([]);h.QW.K=olympe.j.J.C([]);h.jh.K=new olympe.j.J(()=>{},[0]);olympe.ui.D.DP=class extends olympe.ui.D.eg{constructor(a){super(void 0,!1,void 0,'floating panel');this.Qa(N());this.ae(!0);this.Xd(!0);this.Fd(olympe.j.aa.ONE,M());a&&this.me(a)}};olympe.ui.D.i0=class extends olympe.ui.D.eg{constructor(a,b,c,d){super(b,!1,c,'tooltip');const e=olympe.ui.Wa.F().PC(d);this.jh(e);this.label=olympe.j.eb(this.isVisible(),()=>{const f=new olympe.ui.D.hb(void 0,e.yM());f.Sb(a);f.ae(!0);return f},void 0,olympe.ui.D.hb);this.me(this.label)}Mt(){return this.label}jh(a){super.jh(a)}};olympe.ui.D.Fy=class extends olympe.ui.D.eg{constructor(a,b,c){void 0===b&&(b=!0);super(a,b,c,'popup');this.ai=new Map;this.Hf=new Map;this.V=new olympe.j.ia(this.U.la().ma().Ga(this.la().ma()).Va(2),this.U.la().sa().Ga(this.la().sa()).Va(2));this.setPosition(this.V);a=olympe.ui.Wa.F().ow();olympe.ui.D.Fy.prototype.jh.call(this,a)}Ka(){Gd(this,()=>{for(const a of this.ai.values())a();delete this.ga.onConfirm},'onConfirm');this.hr(!1)}cancel(){Gd(this,()=>{for(const a of this.Hf.values())a();delete this.ga.onCancel},
634
+ h.setScale.K=olympe.j.J.C([]);h.Qa.K=olympe.j.J.C([]);h.lc.K=olympe.j.J.C([]);h.Fd.K=olympe.j.J.C([]);h.lg.K=olympe.j.J.C([]);h.xg.K=olympe.j.J.C([]);h.BT.K=olympe.j.J.C([]);h.Qv.K=olympe.j.J.C([]);h.CT.K=olympe.j.J.C([]);h.nD.K=olympe.j.J.C([]);h.RW.K=olympe.j.J.C([]);h.jh.K=new olympe.j.J(()=>{},[0]);olympe.ui.D.DP=class extends olympe.ui.D.eg{constructor(a){super(void 0,!1,void 0,'floating panel');this.Qa(N());this.ae(!0);this.Xd(!0);this.Fd(olympe.j.aa.ONE,M());a&&this.me(a)}};olympe.ui.D.j0=class extends olympe.ui.D.eg{constructor(a,b,c,d){super(b,!1,c,'tooltip');const e=olympe.ui.Wa.F().PC(d);this.jh(e);this.label=olympe.j.eb(this.isVisible(),()=>{const f=new olympe.ui.D.hb(void 0,e.yM());f.Sb(a);f.ae(!0);return f},void 0,olympe.ui.D.hb);this.me(this.label)}Mt(){return this.label}jh(a){super.jh(a)}};olympe.ui.D.Fy=class extends olympe.ui.D.eg{constructor(a,b,c){void 0===b&&(b=!0);super(a,b,c,'popup');this.ai=new Map;this.Hf=new Map;this.V=new olympe.j.ia(this.U.la().ma().Ga(this.la().ma()).Va(2),this.U.la().sa().Ga(this.la().sa()).Va(2));this.setPosition(this.V);a=olympe.ui.Wa.F().ow();olympe.ui.D.Fy.prototype.jh.call(this,a)}Ka(){Gd(this,()=>{for(const a of this.ai.values())a();delete this.ga.onConfirm},'onConfirm');this.hr(!1)}cancel(){Gd(this,()=>{for(const a of this.Hf.values())a();delete this.ga.onCancel},
634
635
  'onCancel');this.hr(!1)}jh(a){super.jh(a)}};olympe.ui.D.Gx=class extends olympe.ui.D.Fy{constructor(a,b,c,d,e,f,g){super(d,e,f);this.Rb=g;this.R=olympe.j.ja(0);this.cb=olympe.j.ja(0);this.ca=olympe.j.yb(void 0!==c?c:'OK');this.Kb=olympe.j.ja();this.jc=olympe.j.ja();this.title=olympe.j.yb(void 0!==b?b:'');this.message=olympe.j.yb(void 0!==a?a:'');b=olympe.ui.Wa.F().Er(g);olympe.ui.D.Gx.prototype.jh.call(this,b);c=new olympe.ui.D.hb(new olympe.j.ia(this.la().ma().Ga(this.R.kb(2)),1),b.St());a=new olympe.ui.D.Dd(this.la().ma(),this.cb,this.R,
635
636
  this.R);c.Xd(!0);c.Sb(this.title);c.pb(K());c.bc(olympe.ui.ha.Jb.Xb);a.appendChild(c,'title',olympe.ui.ha.Jb.Xb);c=new olympe.ui.D.hb(new olympe.j.ia(this.la().ma().Ga(this.R.kb(2)),1),b.Nt());c.Xd(!0);c.Xs(!0);c.Sb(this.message);c.pb(K());c.bc(olympe.ui.ha.Jb.Xb);a.appendChild(c,'text',olympe.ui.ha.Jb.Xb);this.$=new olympe.ui.D.pc(void 0,this.ca,b.Cz());b=new olympe.ui.D.Dd(this.la().ma().Ga(this.R.kb(2)));a.appendChild(b,'button',olympe.ui.ha.Jb.Xb);b.appendChild(this.$,'okBtn',olympe.ui.ha.Jb.Xb);
636
- this.$.bd(this.Ka.bind(this));olympe.j.eb(this.isVisible(),()=>{olympe.ui.Wa.kf().zk(k=>{k.Az().Oc(13)&&this.Ka()})});this.me(a)}ei(a){J(this.title,a);return this}GQ(a){J(this.message,a);return this}sX(a){J(this.ca,a);return this}tX(a){J(this.Kb,a);return this}rX(a){J(this.jc,a);return this}yH(a){J(this.cb,a)}Kf(a){J(this.R,a);return this}jh(){const a=olympe.ui.Wa.F().Er(this.Rb);super.jh(a);this.Kf(a.Qt());this.yH(a.Rt())}};olympe.ui.D.Gx.U=500;olympe.ui.D.Gx.C=150;h=olympe.ui.D.Gx.prototype;
637
- h.ei.K=olympe.j.J.C([]);h.GQ.K=olympe.j.J.C([]);h.sX.K=olympe.j.J.C([]);h.tX.K=olympe.j.J.C([]);h.rX.K=olympe.j.J.C([]);h.yH.K=olympe.j.J.C([]);h.Kf.K=olympe.j.J.C([]);olympe.ui.D.uG=class extends olympe.ui.D.Fy{constructor(a,b,c,d){super(a,b,c);this.af=d;this.$=olympe.j.ja(0);this.ca=olympe.j.ja(0);this.Mc=olympe.j.yb('');this.yc=olympe.j.yb('');this.cb=olympe.j.yb('');this.Rb=olympe.j.ja(0);const e=olympe.j.ja();this.R=new olympe.ui.D.Wb(new olympe.j.ia(e.Ga(this.$),this.Rb));this.Kb=olympe.j.yb('CANCEL');this.Fc=olympe.j.yb('CONFIRM');this.title=olympe.j.yb('');this.message=olympe.j.yb('');this.Rc=olympe.j.yb('');this.vc=new olympe.ui.D.pc(void 0,this.Fc,this.cb);
637
+ this.$.bd(this.Ka.bind(this));olympe.j.eb(this.isVisible(),()=>{olympe.ui.Wa.kf().zk(k=>{k.Az().Oc(13)&&this.Ka()})});this.me(a)}ei(a){J(this.title,a);return this}HQ(a){J(this.message,a);return this}tX(a){J(this.ca,a);return this}uX(a){J(this.Kb,a);return this}sX(a){J(this.jc,a);return this}yH(a){J(this.cb,a)}Kf(a){J(this.R,a);return this}jh(){const a=olympe.ui.Wa.F().Er(this.Rb);super.jh(a);this.Kf(a.Qt());this.yH(a.Rt())}};olympe.ui.D.Gx.U=500;olympe.ui.D.Gx.C=150;h=olympe.ui.D.Gx.prototype;
638
+ h.ei.K=olympe.j.J.C([]);h.HQ.K=olympe.j.J.C([]);h.tX.K=olympe.j.J.C([]);h.uX.K=olympe.j.J.C([]);h.sX.K=olympe.j.J.C([]);h.yH.K=olympe.j.J.C([]);h.Kf.K=olympe.j.J.C([]);olympe.ui.D.uG=class extends olympe.ui.D.Fy{constructor(a,b,c,d){super(a,b,c);this.af=d;this.$=olympe.j.ja(0);this.ca=olympe.j.ja(0);this.Mc=olympe.j.yb('');this.yc=olympe.j.yb('');this.cb=olympe.j.yb('');this.Rb=olympe.j.ja(0);const e=olympe.j.ja();this.R=new olympe.ui.D.Wb(new olympe.j.ia(e.Ga(this.$),this.Rb));this.Kb=olympe.j.yb('CANCEL');this.Fc=olympe.j.yb('CONFIRM');this.title=olympe.j.yb('');this.message=olympe.j.yb('');this.Rc=olympe.j.yb('');this.vc=new olympe.ui.D.pc(void 0,this.Fc,this.cb);
638
639
  this.jc=new olympe.ui.D.pc(void 0,this.Kb,this.cb);a=olympe.ui.Wa.F().Kt(d);b=new olympe.ui.D.Dd(e,this.ca,this.$,this.$);const f=new olympe.ui.D.hb(void 0,this.Mc);f.Xd(!0);f.ae(!0);f.Sb(this.title);f.pb(K());f.bc(olympe.ui.ha.Jb.Xb);b.appendChild(f,'title',olympe.ui.ha.Jb.Xb);c=new olympe.ui.D.hb(new olympe.j.ia(this.la().ma().Ga(this.$.kb(2)),1),this.yc);c.Xd(!0);c.Xs(!0);c.Sb(this.message);c.pb(K());c.bc(olympe.ui.ha.Jb.Mf);b.appendChild(c,'text',olympe.ui.ha.Jb.Xb);J(this.Rc,this.R.ol());b.appendChild(this.R,
639
- 'inputBox',olympe.ui.ha.Jb.Xb);var g=new olympe.ui.D.ie(void 0,this.ca,this.ca,this.ca);b.appendChild(g,'button',olympe.ui.ha.Jb.Xb);g.appendChild(this.jc,'cancelBtn');g.appendChild(this.vc,'okBtn');this.vc.bd(this.Ka.bind(this));this.jc.bd(this.cancel.bind(this));olympe.j.eb(this.Fa,()=>{f.ae(!0);J(e,f.la().ma().RN(g.la().ma()))},()=>{f.ae(!1);f.la().re(this.la().ma());J(e,this.la().ma())});this.me(b);olympe.ui.D.uG.prototype.jh.call(this,a)}ei(a){J(this.title,a);return this}JQ(a){J(this.message,
640
- a);return this}IQ(a){J(this.Fc,a);return this}HQ(a){J(this.Kb,a);return this}EX(a){this.R.dn(a);return this}JH(a){J(this.ca,a)}Kf(a){J(this.$,a);return this}eV(){return this.Rc}AH(a){this.R.Qa(a)}HH(a){this.R.pb(a)}GH(a){this.R.sd(a)}DH(a){this.R.rd(a)}EH(a){this.R.Kc(a)}FH(a){this.R.Lc(a)}bO(a,b){this.R.Fd(a,b)}CH(a){J(this.Rb,a)}BH(a){this.R.zb(a)}KH(a){J(this.Mc,a)}zH(a){J(this.cb,a)}IH(a){J(this.yc,a)}jh(){const a=olympe.ui.Wa.F().Kt(this.af);super.jh(a);this.KH(a.St());this.zH(a.PL());this.IH(a.Nt());
641
- this.CH(a.oM());this.Kf(a.Qt());this.JH(a.Rt());this.AH(a.lM());this.HH(a.tM());this.GH(a.sM());this.DH(a.pM());this.EH(a.qM());this.FH(a.rM());this.BH(a.nM());this.bO(a.xi(),a.mM())}};h=olympe.ui.D.uG.prototype;h.ei.K=olympe.j.J.C([]);h.JQ.K=olympe.j.J.C([]);h.IQ.K=olympe.j.J.C([]);h.HQ.K=olympe.j.J.C([]);h.EX.K=olympe.j.J.C([]);h.JH.K=olympe.j.J.C([]);h.Kf.K=olympe.j.J.C([]);h.eV.K=olympe.j.J.R;h.AH.K=olympe.j.J.C([]);h.HH.K=olympe.j.J.C([]);h.GH.K=olympe.j.J.C([]);h.DH.K=olympe.j.J.C([]);
640
+ 'inputBox',olympe.ui.ha.Jb.Xb);var g=new olympe.ui.D.ie(void 0,this.ca,this.ca,this.ca);b.appendChild(g,'button',olympe.ui.ha.Jb.Xb);g.appendChild(this.jc,'cancelBtn');g.appendChild(this.vc,'okBtn');this.vc.bd(this.Ka.bind(this));this.jc.bd(this.cancel.bind(this));olympe.j.eb(this.Fa,()=>{f.ae(!0);J(e,f.la().ma().RN(g.la().ma()))},()=>{f.ae(!1);f.la().re(this.la().ma());J(e,this.la().ma())});this.me(b);olympe.ui.D.uG.prototype.jh.call(this,a)}ei(a){J(this.title,a);return this}KQ(a){J(this.message,
641
+ a);return this}JQ(a){J(this.Fc,a);return this}IQ(a){J(this.Kb,a);return this}FX(a){this.R.dn(a);return this}JH(a){J(this.ca,a)}Kf(a){J(this.$,a);return this}fV(){return this.Rc}AH(a){this.R.Qa(a)}HH(a){this.R.pb(a)}GH(a){this.R.sd(a)}DH(a){this.R.rd(a)}EH(a){this.R.Kc(a)}FH(a){this.R.Lc(a)}bO(a,b){this.R.Fd(a,b)}CH(a){J(this.Rb,a)}BH(a){this.R.zb(a)}KH(a){J(this.Mc,a)}zH(a){J(this.cb,a)}IH(a){J(this.yc,a)}jh(){const a=olympe.ui.Wa.F().Kt(this.af);super.jh(a);this.KH(a.St());this.zH(a.PL());this.IH(a.Nt());
642
+ this.CH(a.oM());this.Kf(a.Qt());this.JH(a.Rt());this.AH(a.lM());this.HH(a.tM());this.GH(a.sM());this.DH(a.pM());this.EH(a.qM());this.FH(a.rM());this.BH(a.nM());this.bO(a.xi(),a.mM())}};h=olympe.ui.D.uG.prototype;h.ei.K=olympe.j.J.C([]);h.KQ.K=olympe.j.J.C([]);h.JQ.K=olympe.j.J.C([]);h.IQ.K=olympe.j.J.C([]);h.FX.K=olympe.j.J.C([]);h.JH.K=olympe.j.J.C([]);h.Kf.K=olympe.j.J.C([]);h.fV.K=olympe.j.J.R;h.AH.K=olympe.j.J.C([]);h.HH.K=olympe.j.J.C([]);h.GH.K=olympe.j.J.C([]);h.DH.K=olympe.j.J.C([]);
642
643
  h.EH.K=olympe.j.J.C([]);h.FH.K=olympe.j.J.C([]);h.bO.K=olympe.j.J.C([]);h.CH.K=olympe.j.J.C([]);h.BH.K=olympe.j.J.C([]);h.KH.K=olympe.j.J.C([]);h.zH.K=olympe.j.J.C([]);h.IH.K=olympe.j.J.C([]);olympe.ui.D.WE=class extends olympe.ui.D.Fy{constructor(a,b,c,d){d=olympe.ui.Wa.F().Er(d);super(a,b,c);this.R=olympe.j.ja(20);this.$=olympe.j.ja(20);this.jc=olympe.j.yb('CANCEL');this.Rb=olympe.j.ja(20);this.Mc=this.la().ma().Va(2).Ga(this.Rb);this.Fc=olympe.j.ja(40);this.Kb=olympe.j.yb('OK');this.vc=this.la().ma().Va(2).Ga(this.Rb);this.yc=olympe.j.ja(40);olympe.j.Wc(0,0,0);olympe.j.Wc(51,51,51);this.title=olympe.j.yb('');olympe.j.ja(20);this.message=olympe.j.yb('');olympe.j.ja(16);a=new olympe.ui.D.Dd(this.la().ma(),
643
644
  this.$,this.R,this.R);b=new olympe.ui.D.hb(new olympe.j.ia(this.la().ma().Ga(this.R.kb(2)),1),d.St());b.Xd(!0);b.Sb(this.title);b.pb(K());b.bc(olympe.ui.ha.Jb.Xb);a.appendChild(b,'title',olympe.ui.ha.Jb.Xb);b=new olympe.ui.D.hb(new olympe.j.ia(this.la().ma().Ga(this.R.kb(2)),1),d.Nt());b.Xd(!0);b.Xs(!0);b.Sb(this.message);b.pb(K());b.bc(olympe.ui.ha.Jb.Mf);a.appendChild(b,'text',olympe.ui.ha.Jb.Xb);this.ca=new olympe.ui.D.pc(void 0,this.Kb,d.Cz());this.cb=new olympe.ui.D.pc(void 0,this.jc,d.Cz());
644
- b=new olympe.ui.D.ie(this.ca.la().sa(),this.$,this.$,this.$);a.appendChild(b,'button',olympe.ui.ha.Jb.Xb);b.appendChild(this.cb,'cancelBtn');b.appendChild(this.ca,'okBtn');this.ca.bd(this.Ka.bind(this));this.cb.bd(this.cancel.bind(this));this.me(a);olympe.ui.D.WE.prototype.jh.call(this,d)}ei(a){J(this.title,a);return this}cX(a){J(this.message,a);return this}LQ(a){J(this.Kb,a);return this}KQ(a){J(this.jc,a);return this}bX(a){J(this.vc,a);return this}aX(a){J(this.yc,a);return this}XW(a){J(this.Mc,a);
645
- return this}WW(a){J(this.Fc,a);return this}LH(a){J(this.$,a)}Kf(a){J(this.R,a);return this}jh(a){super.jh(a);this.Kf(a.Qt());this.LH(a.Rt())}};h=olympe.ui.D.WE.prototype;h.ei.K=olympe.j.J.C([]);h.cX.K=olympe.j.J.C([]);h.LQ.K=olympe.j.J.C([]);h.KQ.K=olympe.j.J.C([]);h.bX.K=olympe.j.J.C([]);h.aX.K=olympe.j.J.C([]);h.XW.K=olympe.j.J.C([]);h.WW.K=olympe.j.J.C([]);h.LH.K=olympe.j.J.C([]);h.Kf.K=olympe.j.J.C([]);olympe.ui.D.hi=class extends olympe.ui.D.eg{constructor(a,b,c){super(void 0,a,null,'bubble');this.Rb=olympe.j.qb(String);this.cb=olympe.j.qb(olympe.j.Color);this.jc=olympe.j.qb(olympe.j.Color);this.Kb=olympe.j.ja(1);this.Ka=olympe.j.ja(1);this.$=olympe.j.ja(1);this.ca=olympe.j.ja(1);this.R=null;void 0!==b&&this.me(b);a&&Hd(this,()=>{this.hr(!1);return!1});Gd(this,()=>{null!==this.R&&(this.R.ac.destroy(),this.R=null)},'disposeSyncProxy');olympe.ui.D.hi.prototype.jh.call(this,olympe.ui.Wa.F().qz(c));
646
- this.C.xg(this.Rb,olympe.ui.ha.Xg.Nq,olympe.ui.ha.Se.Xb)}bA(){}RH(a){J(this.Kb,a)}QH(a){J(this.jc,a)}PH(a){J(this.cb,a)}OH(a){J(this.Ka,a)}MH(a){J(this.$,a)}NH(a){J(this.ca,a)}JX(a,b,c,d=0,e=!0){const f=this.U;this.R&&this.R.ac.destroy();this.R=olympe.j.Ih([f.la().ma(),f.la().sa(),this.content.la().ma(),this.content.la().sa(),a.ma(),a.sa(),this.Ka,this.$,this.ca,b,c,d,this.Kb,this.jc.gi(),this.cb.gi(),this.Fa,this.Pa,this.isVisible()],(g,k,l,m,n,p,r,t,u,v,w,x,y,B,E,D,P,ha)=>{if(ha.valueOf()&&!this.C.getParent().ac.Jc()){g=
645
+ b=new olympe.ui.D.ie(this.ca.la().sa(),this.$,this.$,this.$);a.appendChild(b,'button',olympe.ui.ha.Jb.Xb);b.appendChild(this.cb,'cancelBtn');b.appendChild(this.ca,'okBtn');this.ca.bd(this.Ka.bind(this));this.cb.bd(this.cancel.bind(this));this.me(a);olympe.ui.D.WE.prototype.jh.call(this,d)}ei(a){J(this.title,a);return this}dX(a){J(this.message,a);return this}MQ(a){J(this.Kb,a);return this}LQ(a){J(this.jc,a);return this}cX(a){J(this.vc,a);return this}bX(a){J(this.yc,a);return this}YW(a){J(this.Mc,a);
646
+ return this}XW(a){J(this.Fc,a);return this}LH(a){J(this.$,a)}Kf(a){J(this.R,a);return this}jh(a){super.jh(a);this.Kf(a.Qt());this.LH(a.Rt())}};h=olympe.ui.D.WE.prototype;h.ei.K=olympe.j.J.C([]);h.dX.K=olympe.j.J.C([]);h.MQ.K=olympe.j.J.C([]);h.LQ.K=olympe.j.J.C([]);h.cX.K=olympe.j.J.C([]);h.bX.K=olympe.j.J.C([]);h.YW.K=olympe.j.J.C([]);h.XW.K=olympe.j.J.C([]);h.LH.K=olympe.j.J.C([]);h.Kf.K=olympe.j.J.C([]);olympe.ui.D.hi=class extends olympe.ui.D.eg{constructor(a,b,c){super(void 0,a,null,'bubble');this.Rb=olympe.j.qb(String);this.cb=olympe.j.qb(olympe.j.Color);this.jc=olympe.j.qb(olympe.j.Color);this.Kb=olympe.j.ja(1);this.Ka=olympe.j.ja(1);this.$=olympe.j.ja(1);this.ca=olympe.j.ja(1);this.R=null;void 0!==b&&this.me(b);a&&Hd(this,()=>{this.hr(!1);return!1});Gd(this,()=>{null!==this.R&&(this.R.ac.destroy(),this.R=null)},'disposeSyncProxy');olympe.ui.D.hi.prototype.jh.call(this,olympe.ui.Wa.F().qz(c));
647
+ this.C.xg(this.Rb,olympe.ui.ha.Xg.Nq,olympe.ui.ha.Se.Xb)}bA(){}RH(a){J(this.Kb,a)}QH(a){J(this.jc,a)}PH(a){J(this.cb,a)}OH(a){J(this.Ka,a)}MH(a){J(this.$,a)}NH(a){J(this.ca,a)}KX(a,b,c,d=0,e=!0){const f=this.U;this.R&&this.R.ac.destroy();this.R=olympe.j.Ih([f.la().ma(),f.la().sa(),this.content.la().ma(),this.content.la().sa(),a.ma(),a.sa(),this.Ka,this.$,this.ca,b,c,d,this.Kb,this.jc.gi(),this.cb.gi(),this.Fa,this.Pa,this.isVisible()],(g,k,l,m,n,p,r,t,u,v,w,x,y,B,E,D,P,ha)=>{if(ha.valueOf()&&!this.C.getParent().ac.Jc()){g=
647
648
  g.valueOf();k=k.valueOf();l=Math.round(l.valueOf()+2*y);m=Math.round(m.valueOf()+2*y);n=Math.round(n.valueOf());p=Math.round(p.valueOf());v=v?v.valueOf():olympe.ui.D.hi.C.th;D=D.valueOf();P=P.valueOf();0===v%2?(ha=v,k=Math.max(0,Math.min(k-m,void 0===w?p-m/2:w)),v===olympe.ui.D.hi.C.Ng?(v=n,w=y+t,v>g-l-t&&(ha=olympe.ui.D.hi.C.Mf,v=n-t-l+x,w=y)):(v=n-t-l,w=y,0>v&&n+t+l<g&&(ha=olympe.ui.D.hi.C.Ng,v=n+x,w=y+t)),x=p-k,x<r+u?(x=r+u,k=p-x):x>m-t-u&&(x=m-t-u,k=p-x),n=[l+t,m,v,k,w,y,ha,n-v,x]):(ha=v,g=Math.max(0,
648
649
  Math.min(g-l,void 0===w?n-l/2:w)),v===olympe.ui.D.hi.C.ah?(v=p-t-m,w=y,0>v&&(ha=olympe.ui.D.hi.C.th,v=p+x,w=y+t)):(v=p,w=y+t,v>k-m-t&&(ha=olympe.ui.D.hi.C.ah,v=p-t-m+x,w=y)),x=n-g,x<r+u?(x=r+u,g=n-x):x>l-t-u&&(x=l-t-u,g=n-x),n=[l,m+t,g,v,y,w,ha,x,p-v]);var [Ha,pa,Bb,H,W,Ba,qa,Ia,Qa]=n;this.C.Lb(new olympe.j.ia(Ha,pa));D&&this.Lb(new olympe.j.ia(Ha,this.la().sa()));P&&this.Lb(new olympe.j.ia(this.la().ma(),pa));this.setPosition(new olympe.j.ia(Bb,H));this.content.setPosition(new olympe.j.ia(W,Ba));
649
650
  r=r.valueOf();t=t.valueOf();y=y.valueOf();D=y/2;switch(qa){case olympe.ui.D.hi.C.ah:var ea=D;l-=D;P=D;n=m-D;ea='M'+ea+','+P+' L'+l+','+P+' L'+l+','+n+' L'+(Ia+r)+','+n+' L'+Ia+','+(t+m-D)+' L'+(Ia-r)+','+n+' L'+ea+','+n+' Z';break;case olympe.ui.D.hi.C.Ng:n=t+D;l=t+l-D;P=D;m-=D;ea='M'+n+','+P+' L'+l+','+P+' L'+l+','+m+' L'+n+','+m+' L'+n+','+(Qa+r)+' L'+D+','+Qa+' L'+n+','+(Qa-r)+' Z';break;case olympe.ui.D.hi.C.th:ea=D;l-=D;n=t+D;m=t+m-D;ea='M'+ea+','+n+' L'+(Ia-r)+','+n+' L'+Ia+','+D+' L'+(Ia+r)+
650
651
  ','+n+' L'+l+','+n+' L'+l+','+m+' L'+ea+','+m+' Z';break;case olympe.ui.D.hi.C.Mf:ea=D,n=l-D,P=D,m-=D,ea='M'+ea+','+P+' L'+n+','+P+' L'+n+','+(Qa-r)+' L'+(t+l-D)+','+Qa+' L'+n+','+(Qa+r)+' L'+n+','+m+' L'+ea+','+m+' Z'}I(this.Rb,'data:image/svg+xml,'+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" >'+` <path d="${ea}" fill="${E.valueOf()}" stroke="${B.valueOf()}" stroke-width="${y}"/>`+'</svg>'))}});this.hr(e);return this}jh(a){this.PH(a.KL());this.QH(a.LL());this.RH(a.ML());this.OH(a.IL());
651
- this.MH(a.EL());this.NH(a.HL())}};olympe.ui.D.hi.C={ah:1,Ng:2,th:3,Mf:4};olympe.ui.D.hi.U={az:'vertical',YA:'horizontal'};h=olympe.ui.D.hi.prototype;h.bA.K=olympe.j.J.C([]);h.RH.K=olympe.j.J.C([]);h.QH.K=olympe.j.J.C([]);h.PH.K=olympe.j.J.C([]);h.OH.K=olympe.j.J.C([]);h.MH.K=olympe.j.J.C([]);h.NH.K=olympe.j.J.C([]);h.JX.K=olympe.j.J.C([]);olympe.ui.D.Ke=class extends olympe.ui.D.ee{constructor(a){super(a);this.C=olympe.j.Ua(olympe.ui.Wa.F().ew());this.U=Object.create(null);this.F=olympe.j.Xc(!1);this.V=olympe.j.ja(0);this.ca=olympe.j.ja(0);this.na=this.la().sa().Ga(this.V.kb(2));this.R=new olympe.ui.D.te(new olympe.j.ia(this.na,this.na));this.disabled=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb);this.R.setPosition(new olympe.j.ia(this.ca,this.V));xd(this,this.R,'switchBlock');this.$=new olympe.ui.D.te(this.la());this.$.Ug(-1);xd(this,
652
+ this.MH(a.EL());this.NH(a.HL())}};olympe.ui.D.hi.C={ah:1,Ng:2,th:3,Mf:4};olympe.ui.D.hi.U={az:'vertical',YA:'horizontal'};h=olympe.ui.D.hi.prototype;h.bA.K=olympe.j.J.C([]);h.RH.K=olympe.j.J.C([]);h.QH.K=olympe.j.J.C([]);h.PH.K=olympe.j.J.C([]);h.OH.K=olympe.j.J.C([]);h.MH.K=olympe.j.J.C([]);h.NH.K=olympe.j.J.C([]);h.KX.K=olympe.j.J.C([]);olympe.ui.D.Ke=class extends olympe.ui.D.ee{constructor(a){super(a);this.C=olympe.j.Ua(olympe.ui.Wa.F().ew());this.U=Object.create(null);this.F=olympe.j.Xc(!1);this.V=olympe.j.ja(0);this.ca=olympe.j.ja(0);this.na=this.la().sa().Ga(this.V.kb(2));this.R=new olympe.ui.D.te(new olympe.j.ia(this.na,this.na));this.disabled=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb);this.R.setPosition(new olympe.j.ia(this.ca,this.V));xd(this,this.R,'switchBlock');this.$=new olympe.ui.D.te(this.la());this.$.Ug(-1);xd(this,
652
653
  this.$,'animOverlay');void 0===a&&this.Lb(this.C.xz().la());let b=null;olympe.j.eb(this.disabled.Ca().Sf(),()=>{b=this.bd(()=>{this.SH();setTimeout(()=>{for(const e in this.U)this.U[e](G(this.F).valueOf())},G(this.C.pz()).valueOf())})},()=>{null!==b&&(this.Pj(b),b=null)});this.gh(olympe.j.eb(this.F,()=>this.C.Hg().Nr(),()=>this.C.yf().Nr(),olympe.j.ia),olympe.j.eb(this.F,()=>this.C.Hg().Pr(),()=>this.C.yf().Pr(),olympe.j.aa),olympe.j.eb(this.F,()=>this.C.Hg().Qr(),()=>this.C.yf().Qr(),olympe.j.aa),
653
654
  olympe.j.eb(this.F,()=>this.C.Hg().Lr(),()=>this.C.yf().Lr(),olympe.j.Color),olympe.j.eb(this.F,()=>this.C.Hg().Mr(),()=>this.C.yf().Mr(),olympe.j.ka));this.Qa(olympe.j.fb([this.F],e=>e.valueOf()?this.C.Hg().Pp():this.C.yf().Pp(),olympe.j.Color));this.lc(olympe.j.eb(this.F,()=>this.C.Hg().Tp(),()=>this.C.yf().Tp(),olympe.j.aa));this.Fd(olympe.j.eb(this.F,()=>this.C.Hg().xi(),()=>this.C.yf().xi(),olympe.j.aa),olympe.j.eb(this.F,()=>this.C.Hg().cl(),()=>this.C.yf().cl(),olympe.j.Color));this.xg(olympe.j.eb(this.F,
654
655
  ()=>this.C.Hg().Sp(),()=>this.C.yf().Sp(),olympe.j.mb),olympe.ui.ha.Xg.Xf,olympe.ui.ha.Se.Xf,olympe.j.eb(this.F,()=>this.C.Hg().Rp(),()=>this.C.yf().Rp(),olympe.j.ia),olympe.j.eb(this.F,()=>this.C.Hg().Qp(),()=>this.C.yf().Qp(),olympe.j.ia));this.R.lc(olympe.j.eb(this.F,()=>this.C.xf().Tp(),()=>this.C.zf().Tp(),olympe.j.aa));this.R.Fd(olympe.j.eb(this.F,()=>this.C.xf().xi(),()=>this.C.zf().xi(),olympe.j.aa),olympe.j.eb(this.F,()=>this.C.xf().cl(),()=>this.C.zf().cl(),olympe.j.Color));this.R.gh(olympe.j.eb(this.F,
655
656
  ()=>this.C.xf().Nr(),()=>this.C.zf().Nr(),olympe.j.ia),olympe.j.eb(this.F,()=>this.C.xf().Pr(),()=>this.C.zf().Pr(),olympe.j.aa),olympe.j.eb(this.F,()=>this.C.xf().Qr(),()=>this.C.zf().Qr(),olympe.j.aa),olympe.j.eb(this.F,()=>this.C.xf().Lr(),()=>this.C.zf().Lr(),olympe.j.Color),olympe.j.eb(this.F,()=>this.C.xf().Mr(),()=>this.C.zf().Mr(),olympe.j.ka));this.R.Qa(olympe.j.eb(this.F,()=>this.C.xf().Pp(),()=>this.C.zf().Pp(),olympe.j.Color));this.R.xg(olympe.j.eb(this.F,()=>this.C.xf().Sp(),()=>this.C.zf().Sp(),
656
657
  olympe.j.mb),olympe.ui.ha.Xg.Xf,olympe.ui.ha.Se.Xf,olympe.j.eb(this.F,()=>this.C.xf().Rp(),()=>this.C.zf().Rp(),olympe.j.ia),olympe.j.eb(this.F,()=>this.C.xf().Qp(),()=>this.C.zf().Qp(),olympe.j.ia));const c=this.V,d=this.td().Ga(this.R.td()).Ga(this.V);a=olympe.j.eb(this.F,()=>d,()=>c,olympe.j.aa);a=olympe.j.Bi(a,this.C.pz(),olympe.j.aa.wh.rP);olympe.j.If(this.F,()=>{this.$.Ug(1);const e=setTimeout(()=>{this.$.Ug(-1)},olympe.j.Ua(Eb(this.C.pz(),200)).valueOf());olympe.j.jb().Sd(clearTimeout.bind(null,
657
- e))});Fb(this.ca,a)}SH(){const a=G(this.F);I(this.F,!(a&&a.valueOf()))}Ka(a,b){b=b?b:olympe.pa.Xi();this.U[b]||(this.U[b]=a);return b}Fa(a){delete this.U[a]}yz(){return this.F}Bf(a){olympe.j.bb([a],b=>{J(this.F,b)});return this}Jf(a){olympe.j.nc(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.Pc(a))}Kf(a){J(this.V,a);return this}OC(){return this.R}DU(){return this.C}};h=olympe.ui.D.Ke.prototype;h.SH.K=olympe.j.J.C([]);h.yz.K=olympe.j.J.U;h.Bf.K=olympe.j.J.C([0]);h.Kf.K=olympe.j.J.C([]);
658
- h.OC.K=new olympe.j.J(()=>olympe.ui.D.te,[]);h.DU.K=new olympe.j.J(()=>olympe.ui.D.ba.ii,[]);olympe.ui.D.od=class extends olympe.ui.D.ee{constructor(a,b,c,d){super(a);const e=olympe.ui.Wa.F().iw(d);this.na=olympe.j.qb(olympe.j.Kk,b);this.Rb=olympe.j.yb();this.R=olympe.j.Yc();this.Kb=olympe.j.Yc();this.ca=Hb(olympe.j.rb(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.Da(10));this.V=Hb(olympe.j.rb(olympe.j.ka,'DropDown.displayOnTop'),olympe.j.ka.xb);this.Ab=Hb(olympe.j.rb(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.aa.ZERO);this.La=olympe.j.ja(0);this.Fc=olympe.j.ja(0);this.cb=
658
+ e))});Fb(this.ca,a)}SH(){const a=G(this.F);I(this.F,!(a&&a.valueOf()))}Ka(a,b){b=b?b:olympe.pa.Xi();this.U[b]||(this.U[b]=a);return b}Fa(a){delete this.U[a]}yz(){return this.F}Bf(a){olympe.j.bb([a],b=>{J(this.F,b)});return this}Jf(a){olympe.j.nc(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.Pc(a))}Kf(a){J(this.V,a);return this}OC(){return this.R}EU(){return this.C}};h=olympe.ui.D.Ke.prototype;h.SH.K=olympe.j.J.C([]);h.yz.K=olympe.j.J.U;h.Bf.K=olympe.j.J.C([0]);h.Kf.K=olympe.j.J.C([]);
659
+ h.OC.K=new olympe.j.J(()=>olympe.ui.D.te,[]);h.EU.K=new olympe.j.J(()=>olympe.ui.D.ba.ii,[]);olympe.ui.D.od=class extends olympe.ui.D.ee{constructor(a,b,c,d){super(a);const e=olympe.ui.Wa.F().iw(d);this.na=olympe.j.qb(olympe.j.Kk,b);this.Rb=olympe.j.yb();this.R=olympe.j.Yc();this.Kb=olympe.j.Yc();this.ca=Hb(olympe.j.rb(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.Da(10));this.V=Hb(olympe.j.rb(olympe.j.ka,'DropDown.displayOnTop'),olympe.j.ka.xb);this.Ab=Hb(olympe.j.rb(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.aa.ZERO);this.La=olympe.j.ja(0);this.Fc=olympe.j.ja(0);this.cb=
659
660
  olympe.j.ja(0);this.vc=olympe.j.ja(0);this.Ka=olympe.j.yb();this.yc=olympe.j.yb();this.Mc=olympe.j.yb();this.vg=olympe.j.ja();this.Rc=olympe.j.Yc();this.Fa=olympe.j.yb();this.U=olympe.j.qb(Object);this.af=olympe.j.fb([this.U],()=>olympe.j.ka.C,olympe.j.ka,'hasSelectedValue',olympe.j.ka.xb);this.$=new Map;this.C=Hb(olympe.j.rb(olympe.j.ka,'DropDown.isExpanded'),olympe.j.ka.xb);this.Kd=olympe.j.yb(this.Ka);this.qe=olympe.j.yb();olympe.ui.D.od.prototype.Pd.call(this,e);olympe.j.bb([this.na],g=>{Ab(this.U,
660
661
  g.Qe())});this.F=new olympe.ui.D.Je(this.la());this.F.eh(()=>{this.C.update(olympe.j.Ua(this.C.Ca().Sf()))});xd(this,this.F,'summaryContainer');a=new olympe.ui.D.Je(new olympe.j.ia(this.la().ma().Ga(this.R.ma()).Ga(this.La).Ga(this.Fc).Ga(this.ca.Ca()),this.la().sa().Ga(this.cb).Ga(this.vc)));this.Mb=new olympe.ui.D.hb(a.la(),this.Kd);this.Mb.Sb(this.qe).qd(this.af);a.appendChild(this.Mb,'placeholder');b=c.render(Ab(this.U,c.C()),a.la());b.ag(this.Mc);a.appendChild(b,'currentValue');this.F.appendChild(a,
661
662
  'textContainer',new olympe.j.ia(this.La,this.cb));a=new olympe.ui.D.te(this.R);a.xg(this.Rb,olympe.ui.ha.Xg.Xf,olympe.ui.ha.Se.Xf,this.R,this.Kb);this.F.appendChild(a,'arrowImg',new olympe.j.ia(this.la().ma().Ga(this.ca.Ca()).Ga(this.R.ma()),this.la().sa().Ga(this.R.sa()).Va(2)));Cb(this.na.get(this.Fa),g=>{olympe.j.nc(g)?Fb(this.U,g):I(this.U,g)});const f=new olympe.ui.D.Dd(this.la().ma());this.na.forEach((g,k)=>{const l=new olympe.ui.D.Je(this.la());f.appendChild(l,k);const m=c.render(g,this.la());
662
663
  l.appendChild(m,k);l.bd(()=>{I(this.Fa,k);this.C.update(olympe.j.ka.xb);for(const n of this.$.values())n(k,g)});olympe.j.eb(l.Eh(),()=>m.ag(this.yc),()=>m.ag(this.Ka))});olympe.j.eb(this.C.Ca(),()=>{const g=olympe.ui.Wa.kf();var k=g.la().ma();const l=g.la().sa(),m=this.F.Ch().sa(),n=m.$a(this.F.la().sa()),p=e.wM(),r=olympe.ui.Wa.O('dropdown-overlay'),t=olympe.ui.Wa.O('dropdown-list'),u=olympe.j.ja(),v=olympe.j.ja();olympe.j.eb(f.la().sa().XC(l.Ga(n)).or(l.Ga(m).Nj(m)),()=>{Fb(u,olympe.j.eb(this.V,
663
664
  ()=>m,()=>n,olympe.j.aa));Fb(v,f.la().sa().an(l.Ga(u)))},()=>{Fb(v,f.la().sa().an(olympe.j.eb(this.V,()=>n,()=>m,olympe.j.aa)));Fb(u,olympe.j.eb(this.V,()=>n.Ga(v),()=>m.Ga(v),olympe.j.aa))});const w=new olympe.ui.D.Cd(new olympe.j.ia(this.la().ma(),v));w.Fd(p.xi(),p.cl());w.lc(p.Tp());w.Qa(p.Pp());w.xg(p.Sp(),olympe.ui.ha.Xg.Xf,olympe.ui.ha.Se.Xf,p.Rp(),p.Qp());w.gh(p.Nr(),p.Pr(),p.Qr(),p.Lr(),p.Mr());w.Ug(t);w.me(f);w.lc(this.Ab.Ca());k=new olympe.ui.D.te(new olympe.j.ia(k,l));k.bd(()=>{this.C.update(olympe.j.ka.xb)});
664
665
  k.Ug(r);g.appendChild(k,'dropdown-overlay');g.appendChild(w,'dropdown-list',new olympe.j.ia(this.F.Ch().ma().$a(this.Rc.ma()),u))},()=>{olympe.ui.Wa.R('dropdown-overlay');olympe.ui.Wa.R('dropdown-list')})}mO(a){olympe.j.nc(a)?Fb(this.Fa,a):I(this.Fa,a);return this}EN(){return this.C.Ca()}ai(a,b){b=b?b:olympe.pa.Xi();this.$.has(b)||this.$.set(b,a);return b}Hf(a){this.$.delete(a)}pB(a){J(this.Rb,a)}oB(a){J(this.R,a)}TH(a){J(this.Kb,a)}UN(a){olympe.j.nc(a)?this.ca.repeat(a):this.ca.update(a)}ZN(a){olympe.j.nc(a)?
665
- this.C.repeat(a):this.C.update(a)}WN(a){olympe.j.nc(a)?this.V.repeat(a):this.V.update(a)}eO(a){olympe.j.nc(a)?this.Ab.repeat(a):this.Ab.update(a)}gO(a){J(this.Rc,a)}Kc(a){J(this.La,a);return this}Lc(a){J(this.Fc,a);return this}sd(a){J(this.cb,a);return this}rd(a){J(this.vc,a);return this}Kg(a){J(this.qe,a);return this}vX(a){J(this.Kd,a);return this}UH(a){J(this.Ka,a)}VH(a){J(this.yc,a)}WH(a){J(this.Mc,a)}XH(a){J(this.vg,a)}Pd(a){a&&(super.Pd(a),this.UH(a.uM()),this.VH(a.AM()),this.WH(a.QM()),this.XH(a.RM()),
666
+ this.C.repeat(a):this.C.update(a)}WN(a){olympe.j.nc(a)?this.V.repeat(a):this.V.update(a)}eO(a){olympe.j.nc(a)?this.Ab.repeat(a):this.Ab.update(a)}gO(a){J(this.Rc,a)}Kc(a){J(this.La,a);return this}Lc(a){J(this.Fc,a);return this}sd(a){J(this.cb,a);return this}rd(a){J(this.vc,a);return this}Kg(a){J(this.qe,a);return this}wX(a){J(this.Kd,a);return this}UH(a){J(this.Ka,a)}VH(a){J(this.yc,a)}WH(a){J(this.Mc,a)}XH(a){J(this.vg,a)}Pd(a){a&&(super.Pd(a),this.UH(a.uM()),this.VH(a.AM()),this.WH(a.QM()),this.XH(a.RM()),
666
667
  this.gO(a.vM()),this.rd(a.CG()),this.Kc(a.DG()),this.Lc(a.EG()),this.sd(a.FG()),this.pB(a.R),this.oB(a.GL()),this.TH(a.FL()))}};h=olympe.ui.D.od.prototype;h.mO.K=olympe.j.J.C([]);h.EN.K=olympe.j.J.U;h.pB.K=olympe.j.J.C([]);h.oB.K=olympe.j.J.C([]);h.TH.K=olympe.j.J.C([]);h.UN.K=olympe.j.J.C([]);h.ZN.K=olympe.j.J.C([]);h.WN.K=olympe.j.J.C([]);h.eO.K=olympe.j.J.C([]);h.gO.K=olympe.j.J.C([]);h.Kc.K=olympe.j.J.C([]);h.Lc.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.rd.K=olympe.j.J.C([]);h.Kg.K=olympe.j.J.C([]);
667
- h.vX.K=olympe.j.J.C([]);h.UH.K=olympe.j.J.C([]);h.VH.K=olympe.j.J.C([]);h.WH.K=olympe.j.J.C([]);h.XH.K=olympe.j.J.C([]);function Id(a){a.C.setPosition(new olympe.j.ia(a.U,0));const b=olympe.j.Xc(!1),c=olympe.ui.Wa.kf().pk().tg().ma().Ga(a.Ch().ma()),d=olympe.j.aa.kC(c.Ga(a.ca),0,a.V.Ga(a.C.la().ma()));J(a.U,olympe.j.eb(b,()=>d,()=>G(a.U)));a.C.eh(()=>{I(a.ca,olympe.j.Da(G(c).valueOf()-G(a.U).valueOf()));I(b,olympe.j.Pc(!0))});olympe.ui.Wa.kf().Sg(()=>{I(b,olympe.j.Pc(!1))})}
668
+ h.wX.K=olympe.j.J.C([]);h.UH.K=olympe.j.J.C([]);h.VH.K=olympe.j.J.C([]);h.WH.K=olympe.j.J.C([]);h.XH.K=olympe.j.J.C([]);function Id(a){a.C.setPosition(new olympe.j.ia(a.U,0));const b=olympe.j.Xc(!1),c=olympe.ui.Wa.kf().pk().tg().ma().Ga(a.Ch().ma()),d=olympe.j.aa.kC(c.Ga(a.ca),0,a.V.Ga(a.C.la().ma()));J(a.U,olympe.j.eb(b,()=>d,()=>G(a.U)));a.C.eh(()=>{I(a.ca,olympe.j.Da(G(c).valueOf()-G(a.U).valueOf()));I(b,olympe.j.Pc(!0))});olympe.ui.Wa.kf().Sg(()=>{I(b,olympe.j.Pc(!1))})}
668
669
  function Jd(a){a.R.setPosition(new olympe.j.ia(a.V,0));const b=olympe.j.Xc(!1),c=olympe.ui.Wa.kf().pk().tg().ma().Ga(a.Ch().ma()),d=olympe.j.aa.kC(c.Ga(a.na),a.U.$a(a.C.la().ma()),a.F.la().ma().Ga(a.R.la().ma()));J(a.V,olympe.j.eb(b,()=>d,()=>G(a.V)));a.R.eh(()=>{I(a.na,olympe.j.Da(G(c).valueOf()-G(a.V).valueOf()));I(b,olympe.j.Pc(!0))});olympe.ui.Wa.kf().Sg(()=>{I(b,olympe.j.Pc(!1))})}
669
670
  olympe.ui.D.vG=class extends olympe.ui.D.ee{constructor(a,b){super(a);this.$=olympe.j.yb(b);this.Lb(a);this.F=new olympe.ui.D.te;this.F.jj(!0);this.C=new olympe.ui.D.te;this.C.jj(!0);this.R=new olympe.ui.D.te;this.R.jj(!0);a=olympe.ui.Wa.F().zz(this.$);olympe.ui.D.vG.prototype.Pd.call(this,a);this.Fa=olympe.j.Wc(215,217,218);this.U=olympe.j.ja(0);this.V=olympe.j.ja(this.F.la().ma().Ga(this.R.la().ma()));this.ca=olympe.j.ja(0);this.na=olympe.j.ja(0);this.F.setPosition(new olympe.j.ia(0,2.5));Id(this);
670
- Jd(this);a=new olympe.ui.D.te(new olympe.j.ia(this.V.Ga(this.U).Ga(this.C.la().ma().Va(2)).$a(this.R.la().ma().Va(2)),this.F.la().sa()));a.jj(!0);a.Qa(this.Fa);a.setPosition(new olympe.j.ia(this.U.$a(this.C.la().ma().Va(2)),this.F.ge().sa()));xd(this,a,'selectedZone');xd(this,this.F,'bar');xd(this,this.C,'button1');xd(this,this.R,'button2')}zX(a){this.Fa=a;return this}xU(){return this.U.Va(this.F.la().ma().Ga(this.C.la().ma().$a(this.R.la().ma())))}yU(){return this.V.Ga(this.C.la().ma()).Va(this.F.la().ma().Ga(this.C.la().ma().$a(this.R.la().ma())))}QU(){return this.V.Ga(this.U).Ga(this.C.la().ma()).Va(this.F.la().ma().Ga(this.C.la().ma().$a(this.R.la().ma())))}ag(a){J(this.$,
671
- a);return this}Pd(a){a&&(this.C.Pd(a.U()),this.R.Pd(a.V()),this.F.Pd(a.R()))}};h=olympe.ui.D.vG.prototype;h.zX.K=olympe.j.J.C([]);h.xU.K=olympe.j.J.F;h.yU.K=olympe.j.J.F;h.QU.K=olympe.j.J.F;h.ag.K=olympe.j.J.C([]);olympe.ui.D.$F=class extends olympe.ui.D.ee{constructor(a,b,c,d,e,f,g){super(a);this.vg=olympe.j.yb(g);this.Hf=new olympe.ui.D.Dd;this.values=b;this.ai=0;this.Ab=olympe.j.Xc(void 0===a);this.Kb=olympe.j.Xc(void 0===a);this.qe=olympe.j.Xc(void 0!==e?e:!1);this.C=(this.Kd=void 0!==d)?olympe.j.ja(d):olympe.j.ja();this.$=new olympe.ui.D.Dd(this.la().ma());this.Rb=olympe.j.ja();this.Fa=olympe.j.qb(olympe.j.Map,new olympe.j.Map(olympe.j.aa));this.cb=olympe.j.qb(olympe.j.Map,new olympe.j.Map(olympe.j.mb));
671
+ Jd(this);a=new olympe.ui.D.te(new olympe.j.ia(this.V.Ga(this.U).Ga(this.C.la().ma().Va(2)).$a(this.R.la().ma().Va(2)),this.F.la().sa()));a.jj(!0);a.Qa(this.Fa);a.setPosition(new olympe.j.ia(this.U.$a(this.C.la().ma().Va(2)),this.F.ge().sa()));xd(this,a,'selectedZone');xd(this,this.F,'bar');xd(this,this.C,'button1');xd(this,this.R,'button2')}AX(a){this.Fa=a;return this}yU(){return this.U.Va(this.F.la().ma().Ga(this.C.la().ma().$a(this.R.la().ma())))}zU(){return this.V.Ga(this.C.la().ma()).Va(this.F.la().ma().Ga(this.C.la().ma().$a(this.R.la().ma())))}RU(){return this.V.Ga(this.U).Ga(this.C.la().ma()).Va(this.F.la().ma().Ga(this.C.la().ma().$a(this.R.la().ma())))}ag(a){J(this.$,
672
+ a);return this}Pd(a){a&&(this.C.Pd(a.U()),this.R.Pd(a.V()),this.F.Pd(a.R()))}};h=olympe.ui.D.vG.prototype;h.AX.K=olympe.j.J.C([]);h.yU.K=olympe.j.J.F;h.zU.K=olympe.j.J.F;h.RU.K=olympe.j.J.F;h.ag.K=olympe.j.J.C([]);olympe.ui.D.$F=class extends olympe.ui.D.ee{constructor(a,b,c,d,e,f,g){super(a);this.vg=olympe.j.yb(g);this.Hf=new olympe.ui.D.Dd;this.values=b;this.ai=0;this.Ab=olympe.j.Xc(void 0===a);this.Kb=olympe.j.Xc(void 0===a);this.qe=olympe.j.Xc(void 0!==e?e:!1);this.C=(this.Kd=void 0!==d)?olympe.j.ja(d):olympe.j.ja();this.$=new olympe.ui.D.Dd(this.la().ma());this.Rb=olympe.j.ja();this.Fa=olympe.j.qb(olympe.j.Map,new olympe.j.Map(olympe.j.aa));this.cb=olympe.j.qb(olympe.j.Map,new olympe.j.Map(olympe.j.mb));
672
673
  this.na=olympe.j.qb(olympe.j.Map,new olympe.j.Map(olympe.ui.D.bf.Ws));this.F=[];this.U=olympe.j.yb();this.af=olympe.j.qb(olympe.ui.D.wb);this.yc=olympe.j.Wc();this.vc=olympe.j.yb();this.Mb=olympe.j.yb();this.Mc=olympe.j.yb();this.Fc=void 0!==f?olympe.j.Xc(f):olympe.j.Xc(!0);this.ca=olympe.j.qb(c);this.La=olympe.j.Xc(!1);this.Rc=olympe.j.qb(olympe.ui.D.be);this.R=new olympe.ui.D.Cd(new olympe.j.ia(0,0));this.V=new olympe.ui.D.Cd(new olympe.j.ia(0,0));this.Ka=olympe.j.Yc();J(this.Ka,a);Cb(this.ca,function(){J(this.La,
673
674
  !0)}.bind(this));this.values.bh&&Cb(this.values,function(){J(this.La,!1)}.bind(this));const k=new olympe.ui.D.Dd;xd(this,k,'mainContainer');k.appendChild(this.R,'horizScroller');const l=new olympe.ui.D.Dd;this.R.me(l);const m=new olympe.ui.D.ie(this.C);m.qd(this.qe);l.appendChild(m,'header');olympe.j.eb(this.qe.Sf(),()=>{this.na.forEach((p,r)=>{const t=new olympe.ui.D.hb(new olympe.j.ia(this.Fa.get(r),this.C));t.ag(this.vc);Cb(this.cb.get(r),u=>{t.Sb(u)});m.appendChild(t,'header'+r)})});l.appendChild(this.V,
674
675
  'verticalScroller');const n=this.Hf;this.V.me(n);olympe.j.eb(this.Kb,()=>{olympe.j.eb(this.Ab,()=>{olympe.ui.D.ee.prototype.Lb.call(this,k.la());this.R.Lb(l.la());this.V.Lb(n.la())},()=>{olympe.ui.D.ee.prototype.Lb.call(this,new olympe.j.ia(k.la().ma(),this.Ka.sa()));this.R.Lb(new olympe.j.ia(l.la().ma(),this.la().sa().Ga(this.$.la().sa())));this.V.Lb(new olympe.j.ia(n.la().ma(),this.la().sa().Ga(e?0:this.C).Ga(this.$.la().sa())))})},()=>{olympe.j.eb(this.Ab,()=>{olympe.ui.D.ee.prototype.Lb.call(this,
675
676
  new olympe.j.ia(this.Ka.ma(),k.la().sa()));this.R.Lb(new olympe.j.ia(this.la().ma(),l.la().sa()));this.V.Lb(new olympe.j.ia(n.la().ma(),n.la().sa()))},()=>{olympe.ui.D.ee.prototype.Lb.call(this,this.Ka);this.R.Lb(new olympe.j.ia(this.la().ma(),this.la().sa().Ga(this.$.la().sa())));this.V.Lb(new olympe.j.ia(n.la().ma(),this.la().sa().Ga(e?0:this.C).Ga(this.$.la().sa())))})});k.appendChild(this.$,'footer');this.values.forEach((p,r)=>{const t=olympe.j.qb(olympe.j.ka,olympe.j.Pc(!0));Cb(this.Rc.filter(p),
676
677
  x=>{I(t,x)});const u=olympe.j.Ih([this.U,this.Fc],(x,y)=>olympe.j.Pc(x===r&&y),olympe.j.ka),v=new olympe.ui.D.ie(this.C);v.qd(t.Sf());n.appendChild(v,r);const w=new olympe.ui.D.te(new olympe.j.ia(l.la().ma(),1));w.Qa(this.yc);w.qd(t.Sf());n.appendChild(w,'divider'+r);this.na.forEach((x,y)=>{const B=x.render(p,new olympe.j.ia(this.Fa.get(y),this.C));B.ag(this.Mb);v.appendChild(B,y);olympe.j.eb(u,()=>{B.ag(this.Mc)},()=>{B.ag(this.Mb)})});v.bd(()=>{if(void 0===G(this.U)||G(this.U).valueOf()!==r){I(this.U,
677
- r);I(this.ca,p);for(let x=0;x<this.F.length;x++)this.F[x](r,p)}});olympe.j.eb(u,()=>{I(this.af,v)})},p=>{if(void 0!==G(this.U)&&G(this.U).valueOf()===p){J(this.La,!1);for(let r=0;r<this.F.length;r++)this.F[r](p,void 0)}});olympe.ui.D.$F.prototype.Pd.call(this,olympe.ui.Wa.F().kw(this.vg))}sT(a,b,c,d){b=void 0===b?this.Rb:olympe.j.ja(b);c=void 0===c?olympe.j.yb(''):olympe.j.yb(c);void 0===d&&(d=this.ai++);G(this.Fa).set(d,b);G(this.cb).set(d,c);G(this.na).set(d,a);return this}RW(a){const b=G(this.Fa),
678
- c=G(this.cb),d=G(this.na);void 0!==b&&b.remove(a);void 0!==c&&c.remove(a);void 0!==d&&d.remove(a);return this}YW(a){J(this.na,a);return this}$W(a){J(this.Fa,a);return this}ZW(a){J(this.cb,a);return this}OQ(a){this.F.push(a);return this}gX(a){this.$.appendChild(a,'footerContent');return this}MQ(){return this.ca}yX(a,b){a instanceof olympe.j.Proxy&&(a=G(a));I(this.U,a);Fb(this.ca,this.values.get(a));void 0!==b&&!0!==b||zd(this.V,new olympe.j.ia(0,G(this.af.ge().sa())));for(b=0;b<this.F.length;b++)this.F[b](a,
679
- G(this.ca));return this}NQ(){return this.La}yl(a){J(this.Fc,a);return this}aV(){return this.R}ls(a){I(this.Rc,a);return this}Lb(a){this.Ka=a;return this}ae(a){J(this.Kb,a);return this}Xd(a){J(this.Ab,a);return this}aI(a){J(this.vc,a)}YH(a){J(this.Mb,a)}bI(a){J(this.Mc,a)}Tj(a){J(this.C,a);return this}ZH(a){J(this.Rb,a)}$H(a){J(this.yc,a)}Pd(a){super.Pd(a);this.aI(a.jM());this.YH(a.SL());this.bI(a.PM());this.Kd||this.Tj(a.zM());this.ZH(a.$L());this.$H(a.gM())}};h=olympe.ui.D.$F.prototype;h.sT.K=olympe.j.J.C([]);
680
- h.RW.K=olympe.j.J.C([]);h.YW.K=olympe.j.J.C([]);h.$W.K=olympe.j.J.C([]);h.ZW.K=olympe.j.J.C([]);h.OQ.K=olympe.j.J.C([]);h.gX.K=olympe.j.J.C([]);h.MQ.K=new olympe.j.J(()=>Object,[]);h.yX.K=olympe.j.J.C([]);h.NQ.K=olympe.j.J.U;h.yl.K=olympe.j.J.C([]);h.aV.K=new olympe.j.J(()=>olympe.ui.D.Cd,[]);h.ls.K=olympe.j.J.C([]);h.Lb.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.C([]);h.Xd.K=olympe.j.J.C([]);h.aI.K=olympe.j.J.C([]);h.YH.K=olympe.j.J.C([]);h.bI.K=olympe.j.J.C([]);h.Tj.K=olympe.j.J.C([]);h.ZH.K=olympe.j.J.C([]);
681
- h.$H.K=olympe.j.J.C([]);olympe.ui.D.Screen=class{constructor(){}render(){}};olympe.ui.D.Screen.prototype.render.K=new olympe.j.J(()=>olympe.ui.D.wb,[]);olympe.ui.D.Transition=class{constructor(a,b,c,d,e){this.F=a;this.C=b;this.animation=olympe.j.qb(olympe.ui.D.im);void 0!==e&&J(this.animation,e)}Fr(){return this.animation}};olympe.ui.D.dK=class extends olympe.ui.D.ee{constructor(a){super();this.Y=olympe.ui.Wa.Gb();this.ca=new Map;this.na=new Map;this.F=new Map;this.C=new Map;this.Fa=new Map;this.R=olympe.j.rb(olympe.j.mb);this.V=new Map;this.$=new olympe.ui.D.te(this.la());this.U='storyboard_overlay_'+String((new Date).getTime()+Math.random()).replace(/[^0-9]/,'');this.Lb(a)}HU(){return this.R.Ca()}jC(a,b){this.ca.set(b,a);this.C.set(b,olympe.j.Xc(!1));this.na.set(b,olympe.j.eb(this.C.get(b),()=>{const c=this.ca.get(b);
682
- let d=this.F.get(b);c?d||(d=c.render(this.la(),void 0),d instanceof olympe.j.Proxy||(d=olympe.j.qb(olympe.ui.D.wb,d)),this.F.set(b,d)):this.Y.warn(`Screen with id ${b} doesn't exist!`)},()=>{this.F.delete(b)},void 0,[],'If screen loaded '+b).ac)}gC(a,b,c){this.V.set(c,new olympe.ui.D.Transition(a,b,c,void 0,void 0))}TW(a){this.V.delete(a);return this}aO(){I(this.C.get('login'),olympe.j.Pc(!0));this.na.get('login').run(()=>{xd(this,this.F.get('login'),'login')});this.R.update(olympe.j.kc('login'))}Lw(a){const b=
678
+ r);I(this.ca,p);for(let x=0;x<this.F.length;x++)this.F[x](r,p)}});olympe.j.eb(u,()=>{I(this.af,v)})},p=>{if(void 0!==G(this.U)&&G(this.U).valueOf()===p){J(this.La,!1);for(let r=0;r<this.F.length;r++)this.F[r](p,void 0)}});olympe.ui.D.$F.prototype.Pd.call(this,olympe.ui.Wa.F().kw(this.vg))}tT(a,b,c,d){b=void 0===b?this.Rb:olympe.j.ja(b);c=void 0===c?olympe.j.yb(''):olympe.j.yb(c);void 0===d&&(d=this.ai++);G(this.Fa).set(d,b);G(this.cb).set(d,c);G(this.na).set(d,a);return this}SW(a){const b=G(this.Fa),
679
+ c=G(this.cb),d=G(this.na);void 0!==b&&b.remove(a);void 0!==c&&c.remove(a);void 0!==d&&d.remove(a);return this}ZW(a){J(this.na,a);return this}aX(a){J(this.Fa,a);return this}$W(a){J(this.cb,a);return this}PQ(a){this.F.push(a);return this}hX(a){this.$.appendChild(a,'footerContent');return this}NQ(){return this.ca}zX(a,b){a instanceof olympe.j.Proxy&&(a=G(a));I(this.U,a);Fb(this.ca,this.values.get(a));void 0!==b&&!0!==b||zd(this.V,new olympe.j.ia(0,G(this.af.ge().sa())));for(b=0;b<this.F.length;b++)this.F[b](a,
680
+ G(this.ca));return this}OQ(){return this.La}yl(a){J(this.Fc,a);return this}bV(){return this.R}ls(a){I(this.Rc,a);return this}Lb(a){this.Ka=a;return this}ae(a){J(this.Kb,a);return this}Xd(a){J(this.Ab,a);return this}aI(a){J(this.vc,a)}YH(a){J(this.Mb,a)}bI(a){J(this.Mc,a)}Tj(a){J(this.C,a);return this}ZH(a){J(this.Rb,a)}$H(a){J(this.yc,a)}Pd(a){super.Pd(a);this.aI(a.jM());this.YH(a.SL());this.bI(a.PM());this.Kd||this.Tj(a.zM());this.ZH(a.$L());this.$H(a.gM())}};h=olympe.ui.D.$F.prototype;h.tT.K=olympe.j.J.C([]);
681
+ h.SW.K=olympe.j.J.C([]);h.ZW.K=olympe.j.J.C([]);h.aX.K=olympe.j.J.C([]);h.$W.K=olympe.j.J.C([]);h.PQ.K=olympe.j.J.C([]);h.hX.K=olympe.j.J.C([]);h.NQ.K=new olympe.j.J(()=>Object,[]);h.zX.K=olympe.j.J.C([]);h.OQ.K=olympe.j.J.U;h.yl.K=olympe.j.J.C([]);h.bV.K=new olympe.j.J(()=>olympe.ui.D.Cd,[]);h.ls.K=olympe.j.J.C([]);h.Lb.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.C([]);h.Xd.K=olympe.j.J.C([]);h.aI.K=olympe.j.J.C([]);h.YH.K=olympe.j.J.C([]);h.bI.K=olympe.j.J.C([]);h.Tj.K=olympe.j.J.C([]);h.ZH.K=olympe.j.J.C([]);
682
+ h.$H.K=olympe.j.J.C([]);olympe.ui.D.Screen=class{constructor(){}render(){}};olympe.ui.D.Screen.prototype.render.K=new olympe.j.J(()=>olympe.ui.D.wb,[]);olympe.ui.D.Transition=class{constructor(a,b,c,d,e){this.F=a;this.C=b;this.animation=olympe.j.qb(olympe.ui.D.im);void 0!==e&&J(this.animation,e)}Fr(){return this.animation}};olympe.ui.D.dK=class extends olympe.ui.D.ee{constructor(a){super();this.Y=olympe.ui.Wa.Gb();this.ca=new Map;this.na=new Map;this.F=new Map;this.C=new Map;this.Fa=new Map;this.R=olympe.j.rb(olympe.j.mb);this.V=new Map;this.$=new olympe.ui.D.te(this.la());this.U='storyboard_overlay_'+String((new Date).getTime()+Math.random()).replace(/[^0-9]/,'');this.Lb(a)}IU(){return this.R.Ca()}jC(a,b){this.ca.set(b,a);this.C.set(b,olympe.j.Xc(!1));this.na.set(b,olympe.j.eb(this.C.get(b),()=>{const c=this.ca.get(b);
683
+ let d=this.F.get(b);c?d||(d=c.render(this.la(),void 0),d instanceof olympe.j.Proxy||(d=olympe.j.qb(olympe.ui.D.wb,d)),this.F.set(b,d)):this.Y.warn(`Screen with id ${b} doesn't exist!`)},()=>{this.F.delete(b)},void 0,[],'If screen loaded '+b).ac)}gC(a,b,c){this.V.set(c,new olympe.ui.D.Transition(a,b,c,void 0,void 0))}UW(a){this.V.delete(a);return this}aO(){I(this.C.get('login'),olympe.j.Pc(!0));this.na.get('login').run(()=>{xd(this,this.F.get('login'),'login')});this.R.update(olympe.j.kc('login'))}Lw(a){const b=
683
684
  olympe.ui.Wa,c=b.kf(),d=olympe.j.Ua,e=this.V.get(a);if(void 0===e)this.Y.warn('Transition with id '+a+" doesn't exist!");else{var f=e.C,g='*'===e.F?G(this.R.Ca()).valueOf():e.F;if(f!==g){I(this.C.get(f),olympe.j.Pc(!0));a=this.F.get(f);var k=this.F.get(g),l=()=>{for(const n in this.C.keys()){const p=this.C.get(n);d(p).valueOf()&&n!==e.C&&!this.Fa.has(e.C+n)&&J(p,olympe.j.Pc(!1))}this.R.update(olympe.j.kc(f))},m=d(e.Fr());void 0!==m&&null!==m?(xd(this,d(a),f),this.$.Ug(b.O(this.U)),c.appendChild(this.$,
684
- this.U),m.run(k,a,g,f,this,()=>{this.O().removeChild(g);b.R(this.U);c.removeChild(this.U);l()})):(this.O().removeChild(g),xd(this,d(a),f),l())}}}O(){return this.Ge()}};h=olympe.ui.D.dK.prototype;h.HU.K=olympe.j.J.R;h.jC.K=olympe.j.J.C([]);h.gC.K=olympe.j.J.C([]);h.TW.K=olympe.j.J.C([]);h.aO.K=olympe.j.J.C([]);h.Lw.K=olympe.j.J.C([]);function Kd(a,b){b.Bb(a.Rb);b.Eb(a.yc);b.zb(a.Kb);b.Qa(a.ca);b.Gq(a.Fa);b.Fd(a.Ab,a.cb);b.bc(a.Rc);b.fc(a.Kd);b.lc(a.Mb)}function Ld(a,b,c){if(c){const e=a.R;if(null!==e){if(e===b)return;var d=a.C.Cg(e);void 0===d||d.Jc()||(d.Gq(a.Fa),d.Qa(a.ca));d=a.children.Cg(e);void 0===d||d.Jc()||a.F.removeChild(e)}a.F.appendChild(c,b);a.C.Cg(b).Gq(a.Fc);a.C.Cg(b).Qa(a.vc);a.R=b;for(const f of a.qe.values())f(b)}}
685
+ this.U),m.run(k,a,g,f,this,()=>{this.O().removeChild(g);b.R(this.U);c.removeChild(this.U);l()})):(this.O().removeChild(g),xd(this,d(a),f),l())}}}O(){return this.Ge()}};h=olympe.ui.D.dK.prototype;h.IU.K=olympe.j.J.R;h.jC.K=olympe.j.J.C([]);h.gC.K=olympe.j.J.C([]);h.UW.K=olympe.j.J.C([]);h.aO.K=olympe.j.J.C([]);h.Lw.K=olympe.j.J.C([]);function Kd(a,b){b.Bb(a.Rb);b.Eb(a.yc);b.zb(a.Kb);b.Qa(a.ca);b.Gq(a.Fa);b.Fd(a.Ab,a.cb);b.bc(a.Rc);b.fc(a.Kd);b.lc(a.Mb)}function Ld(a,b,c){if(c){const e=a.R;if(null!==e){if(e===b)return;var d=a.C.Cg(e);void 0===d||d.Jc()||(d.Gq(a.Fa),d.Qa(a.ca));d=a.children.Cg(e);void 0===d||d.Jc()||a.F.removeChild(e)}a.F.appendChild(c,b);a.C.Cg(b).Gq(a.Fc);a.C.Cg(b).Qa(a.vc);a.R=b;for(const f of a.qe.values())f(b)}}
685
686
  olympe.ui.D.nK=class extends olympe.ui.D.ee{constructor(a,b){super(a);this.Mc=olympe.j.yb(b);a=olympe.ui.Wa.F().sw(this.Mc);this.na=olympe.j.ja();this.Rb=olympe.j.ja();this.yc=olympe.j.ja();this.Kb=olympe.j.yb();this.Ab=olympe.j.ja();this.cb=olympe.j.Wc();this.La=olympe.j.ja();this.Ka=olympe.j.Wc();this.Fa=olympe.j.Wc();this.Fc=olympe.j.Wc();this.ca=olympe.j.Wc();this.vc=olympe.j.Wc();this.Rc=olympe.j.qb(String,olympe.ui.ha.Jb.Xb);this.Kd=olympe.j.qb(String,olympe.ui.ha.uc.Qc);this.Mb=olympe.j.ja();
686
- this.R=null;this.qe=new Map;this.C=new olympe.j.Map(olympe.ui.D.pc);this.children=new olympe.j.Map(olympe.ui.D.wb);this.F=new olympe.ui.D.Dd(this.la().ma(),0,0,0,!1,this.la().sa());this.V=new olympe.ui.D.ie(this.na);this.$=null;b=olympe.j.Yc(this.la().ma().Va(this.C.hd()),this.na);this.U=new olympe.ui.D.pc(b);this.F.appendChild(this.V,'tabsContainer');this.F.Fd(this.La,this.Ka);xd(this,this.F,'mainContainer');olympe.ui.D.nK.prototype.Pd.call(this,a)}ET(a,b,c){this.U.Sb(b);Kd(this,this.U);this.U.bd(()=>
687
- {Ld(this,a,c)});this.children.set(a,c);this.C.set(a,this.U);this.V.appendChild(this.U,a);null===this.R&&Ld(this,a,c);return this}QT(a,b){void 0!==this.children.get(a)&&this.children.remove(a);this.C.get(a).bd(()=>{Ld(this,a,b)});this.children.set(a,b);this.R===a&&Ld(this,a,b);return this}SW(a){if(this.R===a){var b=olympe.j.Ua(this.C.ll());void 0!==b&&b!==a?this.TN(b):this.R=null;this.children.Cg(a).Jc()||this.F.removeChild(a)}b=this.C.Cg(a);void 0!==b&&(b.Jc()||this.V.removeChild(a),this.C.remove(a));
688
- this.children.remove(a);return this}TN(a){Ld(this,a,this.children.Cg(a)||null)}IU(){return null!==this.R?olympe.j.kc(this.R):null}PQ(){null===this.$&&R(this,()=>{this.$=olympe.j.Yc(this.F.la().ma(),this.F.la().sa().Ga(this.V.la().sa()))});return this.$}hd(){return this.children.hd()}lI(a){J(this.na,'number'===typeof a?olympe.j.Da(a):a)}jI(a){J(this.Rb,'number'===typeof a?olympe.j.Da(a):a)}kI(a){J(this.yc,'number'===typeof a?olympe.j.Da(a):a)}iI(a){J(this.Kb,'string'===typeof a?olympe.j.kc(a):a)}oI(a){J(this.Fa,
687
+ this.R=null;this.qe=new Map;this.C=new olympe.j.Map(olympe.ui.D.pc);this.children=new olympe.j.Map(olympe.ui.D.wb);this.F=new olympe.ui.D.Dd(this.la().ma(),0,0,0,!1,this.la().sa());this.V=new olympe.ui.D.ie(this.na);this.$=null;b=olympe.j.Yc(this.la().ma().Va(this.C.hd()),this.na);this.U=new olympe.ui.D.pc(b);this.F.appendChild(this.V,'tabsContainer');this.F.Fd(this.La,this.Ka);xd(this,this.F,'mainContainer');olympe.ui.D.nK.prototype.Pd.call(this,a)}FT(a,b,c){this.U.Sb(b);Kd(this,this.U);this.U.bd(()=>
688
+ {Ld(this,a,c)});this.children.set(a,c);this.C.set(a,this.U);this.V.appendChild(this.U,a);null===this.R&&Ld(this,a,c);return this}RT(a,b){void 0!==this.children.get(a)&&this.children.remove(a);this.C.get(a).bd(()=>{Ld(this,a,b)});this.children.set(a,b);this.R===a&&Ld(this,a,b);return this}TW(a){if(this.R===a){var b=olympe.j.Ua(this.C.ll());void 0!==b&&b!==a?this.TN(b):this.R=null;this.children.Cg(a).Jc()||this.F.removeChild(a)}b=this.C.Cg(a);void 0!==b&&(b.Jc()||this.V.removeChild(a),this.C.remove(a));
689
+ this.children.remove(a);return this}TN(a){Ld(this,a,this.children.Cg(a)||null)}JU(){return null!==this.R?olympe.j.kc(this.R):null}QQ(){null===this.$&&R(this,()=>{this.$=olympe.j.Yc(this.F.la().ma(),this.F.la().sa().Ga(this.V.la().sa()))});return this.$}hd(){return this.children.hd()}lI(a){J(this.na,'number'===typeof a?olympe.j.Da(a):a)}jI(a){J(this.Rb,'number'===typeof a?olympe.j.Da(a):a)}kI(a){J(this.yc,'number'===typeof a?olympe.j.Da(a):a)}iI(a){J(this.Kb,'string'===typeof a?olympe.j.kc(a):a)}oI(a){J(this.Fa,
689
690
  a)}gI(a){J(this.Ab,'number'===typeof a?olympe.j.Da(a):a)}fI(a){J(this.cb,a)}nO(a,b){J(this.Rc,a);J(this.Kd,b)}dI(a){J(this.La,'number'===typeof a?olympe.j.Da(a):a)}cI(a){J(this.Ka,a)}nI(a){J(this.Fc,a)}eI(a){J(this.ca,a)}mI(a){J(this.vc,a)}hI(a){J(this.Mb,'number'===typeof a?olympe.j.Da(a):a)}Pd(a){super.Pd(a);this.lI(a.aN());this.jI(a.ZM());this.kI(a.$M());this.iI(a.YM());this.oI(a.dN());this.gI(a.WM());this.fI(a.VM());this.nO(a.eN(),a.fN());this.nI(a.cN());this.eI(a.UM());this.mI(a.bN());this.hI(a.XM());
690
- this.dI(a.TG());this.cI(a.SG())}ag(a){J(this.Mc,a);return this}};h=olympe.ui.D.nK.prototype;h.ET.K=olympe.j.J.C([0,1]);h.QT.K=olympe.j.J.C([0]);h.SW.K=olympe.j.J.C([0]);h.TN.K=olympe.j.J.C([0]);h.IU.K=olympe.j.J.R;h.PQ.K=olympe.j.J.V;h.hd.K=olympe.j.J.F;h.lI.K=olympe.j.J.C([]);h.jI.K=olympe.j.J.C([]);h.kI.K=olympe.j.J.C([]);h.iI.K=olympe.j.J.C([]);h.oI.K=olympe.j.J.C([]);h.gI.K=olympe.j.J.C([]);h.fI.K=olympe.j.J.C([]);h.nO.K=olympe.j.J.C([]);h.dI.K=olympe.j.J.C([]);h.cI.K=olympe.j.J.C([]);
691
+ this.dI(a.TG());this.cI(a.SG())}ag(a){J(this.Mc,a);return this}};h=olympe.ui.D.nK.prototype;h.FT.K=olympe.j.J.C([0,1]);h.RT.K=olympe.j.J.C([0]);h.TW.K=olympe.j.J.C([0]);h.TN.K=olympe.j.J.C([0]);h.JU.K=olympe.j.J.R;h.QQ.K=olympe.j.J.V;h.hd.K=olympe.j.J.F;h.lI.K=olympe.j.J.C([]);h.jI.K=olympe.j.J.C([]);h.kI.K=olympe.j.J.C([]);h.iI.K=olympe.j.J.C([]);h.oI.K=olympe.j.J.C([]);h.gI.K=olympe.j.J.C([]);h.fI.K=olympe.j.J.C([]);h.nO.K=olympe.j.J.C([]);h.dI.K=olympe.j.J.C([]);h.cI.K=olympe.j.J.C([]);
691
692
  h.nI.K=olympe.j.J.C([]);h.eI.K=olympe.j.J.C([]);h.mI.K=olympe.j.J.C([]);h.hI.K=olympe.j.J.C([]);h.ag.K=olympe.j.J.C([]);olympe.ui.D.Wb=class extends olympe.ui.D.wb{constructor(a,b){const c=olympe.j.rb,d=olympe.j.ia,e=olympe.j.Color,f=olympe.j.Ua;super(olympe.ui.Wa.C(olympe.N.D.Wb,olympe.host.ra.ob.TJ),a);this.V=olympe.j.yb('');this.$=c(olympe.j.mb);this.fontSize=c(olympe.j.aa);this.ca=c(olympe.j.aa);this.Ka=c(e);this.backgroundColor=c(e);this.na=null;this.La=olympe.j.yb(b);this.R=c(olympe.j.Kk);this.Fa=c(olympe.j.ka).update(olympe.j.ka.xb);this.C=null;const g=this.la().ma(),k=this.fontSize.Ca(),l=m=>{const n=(new olympe.ui.D.hb(new d(g,
692
693
  this.fontSize.Ca().$a(4)))).fc(olympe.ui.ha.uc.Qc).pb(this.Ka.Ca()).Sb(m).Kc(5);n.Bb(k).zb(this.$.Ca()).Eb(this.ca.Ca());n.eh(()=>{this.Fa.update(olympe.j.ka.C);this.Sb(f(m));this.mj();this.Fa.update(olympe.j.ka.xb)});n.ij(()=>{n.Qa(Vb().AL())});n.Ci(()=>{n.Qa(O())});return n};olympe.j.bb([super.Ht(),this.R.Ca().hd()],(m,n)=>{0<n.valueOf()&&null===this.C&&m.valueOf()&&(R(this,()=>{const p=c(olympe.j.Ee);let r=new olympe.j.Ee(olympe.j.mb),t=new olympe.j.Ee(olympe.j.mb);olympe.j.bb([this.R.Ca(),this.R.Ca().hd(),
693
694
  this.V],(w,x,y)=>{const B=r;t.clear();let E=0;0<x&&w.Xh(D=>{(0===y.jo().valueOf()||D.toLowerCase().contains(y.toLowerCase()).and(D.ef(y).Sf()).valueOf())&&t.set(D.valueOf(),D,E++)});r=t;t=B;p.update(r)});const u=new d(g,k.$a(9).kb(3)),v=new olympe.ui.D.Ms(u,p.Ca(),olympe.j.mb,l,5,!1);this.C=new olympe.ui.D.DP(v);this.C.Qa(this.backgroundColor.Ca());this.C.hr(super.Ht().and(p.Ca().hd().Nj(0)));olympe.j.bb([u.sa(),this.Ch().sa(),this.la().sa(),olympe.ui.Wa.kf().la().sa()],(w,x,y,B)=>{y.$a(x).$a(w).valueOf()<
694
- B.valueOf()?this.C.Qv(this,olympe.ui.D.eg.F.uy,olympe.ui.D.eg.O.Jx):this.C.Qv(this,olympe.ui.D.eg.F.uy,olympe.ui.D.eg.O.TB)})}),olympe.j.jb().destroy())});a=olympe.ui.Wa.F().uw(this.La);olympe.ui.D.Wb.prototype.Pd.call(this,a);T(this).tl(m=>{I(this.V,olympe.j.kc(m))})}gu(){T(this).gu();return this}Jf(a){T(this).Jf(a);return this}Bf(a){T(this).Bf(a);return this}Sb(a){T(this).Bf(a);return this}ol(){return this.V}CX(a){olympe.j.nc(a)?this.R.repeat(a):this.R.update(a);return this}getValue(){return this.V}Ht(){return super.Ht().or(this.Fa.Ca())}Eb(a){olympe.j.nc(a)?
695
+ B.valueOf()?this.C.Qv(this,olympe.ui.D.eg.F.uy,olympe.ui.D.eg.O.Jx):this.C.Qv(this,olympe.ui.D.eg.F.uy,olympe.ui.D.eg.O.TB)})}),olympe.j.jb().destroy())});a=olympe.ui.Wa.F().uw(this.La);olympe.ui.D.Wb.prototype.Pd.call(this,a);T(this).tl(m=>{I(this.V,olympe.j.kc(m))})}gu(){T(this).gu();return this}Jf(a){T(this).Jf(a);return this}Bf(a){T(this).Bf(a);return this}Sb(a){T(this).Bf(a);return this}ol(){return this.V}DX(a){olympe.j.nc(a)?this.R.repeat(a):this.R.update(a);return this}getValue(){return this.V}Ht(){return super.Ht().or(this.Fa.Ca())}Eb(a){olympe.j.nc(a)?
695
696
  this.ca.repeat(a):this.ca.update(olympe.j.Da(a));T(this).Eb(a);return this}zb(a){olympe.j.nc(a)?this.$.repeat(a):this.$.update(olympe.j.kc(a));T(this).zb(a);return this}Bb(a){olympe.j.nc(a)?this.fontSize.repeat(a):this.fontSize.update(olympe.j.Da(a));T(this).Bb(a);return this}Td(a){T(this).Td(a);return this}pb(a){olympe.j.If(a,b=>{b&&b.gi&&(this.Ka.update(b),T(this).pb(b.gi()))});return this}Qa(a){olympe.j.nc(a)?this.backgroundColor.repeat(a):this.backgroundColor.update(a);super.Qa(a);return this}dn(a){T(this).dn(a);
696
697
  return this}uu(a){T(this).uu(a);return this}ru(a){T(this).ru(a);return this}Bu(a){T(this).Bu(a);return this}Kg(a){T(this).Kg(a);return this}Tg(a){T(this).Tg(olympe.j.If(a,b=>b.gi()));return this}bc(a){T(this).bc(a);return this}fc(a){T(this).fc(a);return this}di(a){T(this).di(a);return this}Kc(a){T(this).Kc(a);return this}Lc(a){T(this).Lc(a);return this}sd(a){T(this).sd(a);return this}rd(a){T(this).rd(a);return this}hu(a){T(this).hu(a);return this}Mo(a=olympe.j.ka.C){T(this).Mo(a);return this}ad(){null===
697
698
  this.na&&(this.na=new olympe.ui.Z.Fn(T(this)));return this.na}Kj(){return this.ad().Kj()}Jj(){return this.ad().Jj()}Lj(){return this.ad().Lj()}gj(a,b,c){return this.ad().gj(a,b,c)}F(a){this.ad().F(a)}zk(a,b,c){return this.ad().zk(a,b,c)}U(a){this.ad().U(a)}hj(a,b,c){return this.ad().hj(a,b,c)}O(a){this.ad().O(a)}ag(a){J(this.La,a);return this}Pd(a){a&&(olympe.ui.D.wb.prototype.Pd.call(this,a),this.Bb(a.bH()),this.Eb(a.Ai()),this.zb(a.zi()),this.Td(a.ml()),this.rd(a.cH()),this.Kc(a.dH()),this.Lc(a.eH()),
698
- this.sd(a.fH()),this.pb(a.gH()),this.bc(a.hH()),this.fc(a.iH()),this.Tg(a.JM()))}};olympe.ui.D.Wb.ua=[olympe.ui.Z.rg,olympe.ui.D.Vu];h=olympe.ui.D.Wb.prototype;h.gu.K=olympe.j.J.C([]);h.Jf.K=olympe.j.J.C([]);h.Bf.K=olympe.j.J.C([]);h.Sb.K=olympe.j.J.C([]);h.ol.K=olympe.j.J.R;h.CX.K=olympe.j.J.C([0]);h.getValue.K=olympe.j.J.R;h.Ht.K=olympe.j.J.U;h.Eb.K=olympe.j.J.C([]);h.zb.K=olympe.j.J.C([]);h.Bb.K=olympe.j.J.C([]);h.Td.K=olympe.j.J.C([]);h.pb.K=olympe.j.J.C([]);h.dn.K=olympe.j.J.C([]);h.uu.K=olympe.j.J.C([]);
699
+ this.sd(a.fH()),this.pb(a.gH()),this.bc(a.hH()),this.fc(a.iH()),this.Tg(a.JM()))}};olympe.ui.D.Wb.ua=[olympe.ui.Z.rg,olympe.ui.D.Vu];h=olympe.ui.D.Wb.prototype;h.gu.K=olympe.j.J.C([]);h.Jf.K=olympe.j.J.C([]);h.Bf.K=olympe.j.J.C([]);h.Sb.K=olympe.j.J.C([]);h.ol.K=olympe.j.J.R;h.DX.K=olympe.j.J.C([0]);h.getValue.K=olympe.j.J.R;h.Ht.K=olympe.j.J.U;h.Eb.K=olympe.j.J.C([]);h.zb.K=olympe.j.J.C([]);h.Bb.K=olympe.j.J.C([]);h.Td.K=olympe.j.J.C([]);h.pb.K=olympe.j.J.C([]);h.dn.K=olympe.j.J.C([]);h.uu.K=olympe.j.J.C([]);
699
700
  h.ru.K=olympe.j.J.C([]);h.Bu.K=olympe.j.J.C([]);h.Kg.K=olympe.j.J.C([]);h.Tg.K=olympe.j.J.C([]);h.bc.K=olympe.j.J.C([]);h.fc.K=olympe.j.J.C([]);h.di.K=olympe.j.J.C([]);h.Kc.K=olympe.j.J.C([]);h.Lc.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.rd.K=olympe.j.J.C([]);h.hu.K=olympe.j.J.C([]);h.Mo.K=olympe.j.J.C([]);h.ad.K=new olympe.j.J(()=>olympe.ui.Z.Fn,[]);h.Kj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.Jj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);h.Lj.K=new olympe.j.J(()=>olympe.ui.Z.ze,[]);
700
701
  h.gj.K=new olympe.j.J(()=>String,[]);h.zk.K=new olympe.j.J(()=>String,[]);h.hj.K=new olympe.j.J(()=>String,[]);h.ag.K=olympe.j.J.C([]);olympe.ui.D.Tc=class extends olympe.ui.D.wb{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.D.Tc,olympe.host.ra.ob.SJ));this.C=olympe.j.yb('');this.R=null;b=olympe.ui.Wa.F().tw(b);olympe.ui.D.Tc.prototype.Pd.call(this,b);this.Lb(void 0!==a?a:b.la());T(this).tl(c=>{I(this.C,olympe.j.kc(c))})}Bf(a){T(this).Bf(a);return this}Sb(a){T(this).Bf(a);return this}getValue(){return this.C}ol(){return this.C}Eb(a){T(this).Eb(a);return this}zb(a){T(this).zb(a);return this}Bb(a){T(this).Bb(a);return this}Td(a){T(this).Td(a);
701
702
  return this}pb(a){olympe.j.If(a,b=>{b&&b.gi&&T(this).pb(b.gi())});return this}bc(a){T(this).bc(a);return this}fc(a){T(this).fc(a);return this}Kc(a){T(this).Kc(a);return this}Lc(a){T(this).Lc(a);return this}sd(a){T(this).sd(a);return this}rd(a){T(this).rd(a);return this}Kg(a){T(this).Kg(a);return this}Tg(a){T(this).Tg(olympe.j.If(a,b=>b.gi()));return this}Jf(a){T(this).Jf(a);return this}No(a){olympe.j.bb([a],b=>{b.valueOf()?T(this).No(!0,olympe.j.jb().C(c=>{I(olympe.j.Ua(this.la()).sa(),olympe.j.Da(c))})):
@@ -705,13 +706,13 @@ h.No.K=olympe.j.J.C([0]);h.ad.K=new olympe.j.J(()=>olympe.ui.Z.Fn,[]);h.Kj.K=new
705
706
  this.duration=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);this.qa().zo(()=>{this.F.update(olympe.j.ka.xb)});this.qa().yo(()=>{this.F.update(olympe.j.ka.C)});this.qa().Co((b,c)=>{this.volume.update(olympe.j.Da(b));this.C.update(olympe.j.Pc(c))});this.qa().Ao(b=>{this.R.update(olympe.j.Da(b))});this.qa().to(()=>{this.U.update(olympe.j.ka.C)});this.qa().so(b=>{this.duration.update(olympe.j.Da(b))})}he(a){this.qa().he(a);return this}nj(a){this.qa().nj(olympe.j.If(a,b=>b?b.qa():null));return this}rw(){return this.O}Fi(a){this.qa().Fi(a);
706
707
  return this}bi(a){this.qa().bi(a);return this}Gi(a){this.qa().Gi(a);return this}fi(a){this.qa().fi(a);return this}play(){this.qa().play();return this}pause(){this.qa().pause();return this}reload(){this.qa().reload();return this}oj(a){this.qa().oj(Jb(0,Ib(1,a)));return this}Xj(a){this.qa().Xj(a);return this}};h=olympe.ui.D.xd.prototype;h.he.K=olympe.j.J.C([]);h.nj.K=olympe.j.J.C([]);h.Fi.K=olympe.j.J.C([]);h.bi.K=olympe.j.J.C([]);h.Gi.K=olympe.j.J.C([]);h.fi.K=olympe.j.J.C([]);olympe.ui.D.Audio=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.Audio,olympe.host.ra.ob.MJ),a);this.C=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.C);this.F=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb);this.R=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb);this.volume=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ONE);this.O=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);this.duration=olympe.j.rb(olympe.j.aa).update(olympe.j.aa.ZERO);this.qa().zo(()=>{this.C.update(olympe.j.ka.xb)});
707
708
  this.qa().yo(()=>{this.C.update(olympe.j.ka.C)});this.qa().Co((b,c)=>{this.volume.update(olympe.j.Da(b));this.F.update(olympe.j.Pc(c))});this.qa().Ao(b=>{this.O.update(olympe.j.Da(b))});this.qa().to(()=>{this.R.update(olympe.j.ka.C)});this.qa().so(b=>{this.duration.update(olympe.j.Da(b))})}he(a){this.qa().he(a);return this}nj(a){this.qa().nj(olympe.j.If(a,b=>b?b.qa():null));return this}Fi(a){this.qa().Fi(a);return this}bi(a){this.qa().bi(a);return this}Gi(a){this.qa().Gi(a);return this}fi(a){this.qa().fi(a);
708
- return this}play(){this.qa().play();return this}pause(){this.qa().pause();return this}reload(){this.qa().reload();return this}oj(a){this.qa().oj(Jb(0,Ib(1,a)));return this}Xj(a){this.qa().Xj(a);return this}};h=olympe.ui.D.Audio.prototype;h.he.K=olympe.j.J.C([]);h.nj.K=olympe.j.J.C([]);h.Fi.K=olympe.j.J.C([]);h.bi.K=olympe.j.J.C([]);h.Gi.K=olympe.j.J.C([]);h.fi.K=olympe.j.J.C([]);olympe.ui.D.ot=class extends olympe.ui.D.wb{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.D.ot,olympe.host.ra.ob.VJ),a);void 0!==b&&this.Gk(b)}Gk(a){T(this).Gk(a)}};olympe.ui.D.kT=class extends olympe.ui.D.ee{constructor(a,b){super(a);this.Rb=olympe.j.yb(b);a=olympe.ui.Wa.F().Jz(this.Rb);this.R=olympe.j.ja();this.Rc=olympe.j.ja();this.Kd=olympe.j.ja();this.Mc=olympe.j.yb();this.vc=olympe.j.ja();this.yc=olympe.j.Wc();this.Kb=olympe.j.ja();this.Mb=olympe.j.Wc();this.qe=olympe.j.Wc();this.ca=olympe.j.ja();this.af=olympe.j.qb(String,olympe.ui.ha.Jb.Xb);this.Hf=olympe.j.qb(String,olympe.ui.ha.uc.Qc);this.$=olympe.j.Wc();this.Fc=olympe.j.ja();this.F=new olympe.ui.D.Dd(this.la().ma(),
709
+ return this}play(){this.qa().play();return this}pause(){this.qa().pause();return this}reload(){this.qa().reload();return this}oj(a){this.qa().oj(Jb(0,Ib(1,a)));return this}Xj(a){this.qa().Xj(a);return this}};h=olympe.ui.D.Audio.prototype;h.he.K=olympe.j.J.C([]);h.nj.K=olympe.j.J.C([]);h.Fi.K=olympe.j.J.C([]);h.bi.K=olympe.j.J.C([]);h.Gi.K=olympe.j.J.C([]);h.fi.K=olympe.j.J.C([]);olympe.ui.D.ot=class extends olympe.ui.D.wb{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.D.ot,olympe.host.ra.ob.VJ),a);void 0!==b&&this.Gk(b)}Gk(a){T(this).Gk(a)}};olympe.ui.D.lT=class extends olympe.ui.D.ee{constructor(a,b){super(a);this.Rb=olympe.j.yb(b);a=olympe.ui.Wa.F().Jz(this.Rb);this.R=olympe.j.ja();this.Rc=olympe.j.ja();this.Kd=olympe.j.ja();this.Mc=olympe.j.yb();this.vc=olympe.j.ja();this.yc=olympe.j.Wc();this.Kb=olympe.j.ja();this.Mb=olympe.j.Wc();this.qe=olympe.j.Wc();this.ca=olympe.j.ja();this.af=olympe.j.qb(String,olympe.ui.ha.Jb.Xb);this.Hf=olympe.j.qb(String,olympe.ui.ha.uc.Qc);this.$=olympe.j.Wc();this.Fc=olympe.j.ja();this.F=new olympe.ui.D.Dd(this.la().ma(),
709
710
  0,0,0,!1,this.la().sa());this.C=new olympe.ui.D.Je(olympe.j.Yc(this.la().ma(),this.R));this.U=new olympe.ui.D.am(olympe.j.Yc(this.ca,this.R));this.Ab=olympe.j.yb();this.V=olympe.j.Yc();this.cb=olympe.j.Yc();this.La=olympe.j.Xc();this.na=olympe.j.Wc();this.Ka=olympe.j.ja();this.Fa=olympe.j.Wc();this.vg=new olympe.ui.D.hb(olympe.j.Yc(this.la().ma(),this.R));this.close=new olympe.ui.D.te(this.V);this.close.qd(this.La);this.close.Qa(this.na);this.close.Fd(this.Ka,this.Fa);this.close.xg(this.Ab,olympe.ui.ha.Xg.Rq,
710
- olympe.ui.ha.Se.Xb,this.V,this.cb);this.F.appendChild(this.C,'titleContainer');this.F.Fd(this.Kb,this.Mb);this.C.appendChild(this.vg,'titleText',olympe.j.Yc(0,0));this.C.appendChild(this.U,'closeButtonContainer',olympe.j.Yc(this.la().ma().Ga(this.U.la().sa()),0));this.C.Fd(this.vc,this.yc);this.C.lc(this.Fc);this.U.Qa(this.$);this.U.appendChild(this.close,'closeButton',olympe.j.Yc(.5,.5));olympe.ui.D.kT.prototype.Pd.call(this,a);a=this.vg;a.Bb(this.Rc);a.Eb(this.Kd);a.zb(this.Mc);a.pb(this.qe);a.Qa(this.$);
711
+ olympe.ui.ha.Se.Xb,this.V,this.cb);this.F.appendChild(this.C,'titleContainer');this.F.Fd(this.Kb,this.Mb);this.C.appendChild(this.vg,'titleText',olympe.j.Yc(0,0));this.C.appendChild(this.U,'closeButtonContainer',olympe.j.Yc(this.la().ma().Ga(this.U.la().sa()),0));this.C.Fd(this.vc,this.yc);this.C.lc(this.Fc);this.U.Qa(this.$);this.U.appendChild(this.close,'closeButton',olympe.j.Yc(.5,.5));olympe.ui.D.lT.prototype.Pd.call(this,a);a=this.vg;a.Bb(this.Rc);a.Eb(this.Kd);a.zb(this.Mc);a.pb(this.qe);a.Qa(this.$);
711
712
  a.bc(this.af);a.fc(this.Hf);xd(this,this.F,'WindowComponent')}me(a,b){this.F.appendChild(a,b);return this}Pd(a){super.Pd(a);J(this.R,olympe.j.ja(a.vN()));J(this.Rc,olympe.j.ja(a.tN()));J(this.Kd,olympe.j.ja(a.uN()));J(this.Mc,olympe.j.yb(a.sN()));J(this.qe,a.wN());J(this.vc,olympe.j.ja(a.qN()));J(this.yc,a.pN());var b=a.yN();J(this.af,a.xN());J(this.Hf,b);J(this.$,a.oN());J(this.Fc,a.rN());J(this.Kb,a.kH());J(this.Mb,a.jH());J(this.Ab,a.ZL());J(this.V,a.YL());J(this.La,a.WL());J(this.na,a.TL());J(this.ca,
712
713
  a.OL());J(this.cb,a.XL());J(this.Ka,a.VL());J(this.Fa,a.UL())}ag(a){J(this.Rb,a);return this}};let Md=0;function Nd(a,b){return a.C.Ca().getMonth().ef(b.getMonth())}function Od(a,b){return a.C.Ca().Up().ef(b.Up()).and(Nd(a,b))}function Pd(a,b){J(a.vc,olympe.j.Pc(b))}
713
714
  olympe.ui.D.bg=class extends olympe.ui.D.ee{constructor(a,b,c,d){function e(u,v){return olympe.j.fb([u],w=>{let x=(new Date(w.getYear(),w.getMonth()-1,1)).getDay();const y=(new Date(w.getYear(),w.getMonth(),0)).getDate();0===x&&(x=7);return v<x-1?Ob(new Date(w.getYear(),w.getMonth()-1,1)).tt(-(x-(v+1))):v-(x-1)<y?Ob(new Date(w.getYear(),w.getMonth()-1,1)).tt(v-(x-1)):42>v?Ob(new Date(w.getYear(),w.getMonth(),1)).tt(v-(x-1)-y):Ob(w)},olympe.j.hc)}function f(){for(let u=0;3>u;u++)for(let v=0;4>v;v++)p(u,
714
- v)}function g(){for(let u=0;6>u;u++)for(let v=0;7>v;v++)r(u,v)}super(a);const k=void 0===c?olympe.j.Da(400):c.ma(),l=void 0===c?olympe.j.Da(400):c.sa();c='Mon Tue Wed Thu Fri Sat Sun'.split(' ');this.vg=olympe.j.Yc();this.Hf=olympe.j.yb();this.U=olympe.j.Wc();this.kq=olympe.j.ja();this.ai=olympe.j.Wc();this.ca=olympe.j.Wc();this.fD=olympe.j.Wc();olympe.j.Wc();this.YD=Xb(this.ca.sk(),this.ca.qk(),this.ca.nk());this.La=olympe.j.KW();this.C=olympe.j.rb(olympe.j.hc).update(olympe.j.Ua(olympe.j.hc.now()));
715
+ v)}function g(){for(let u=0;6>u;u++)for(let v=0;7>v;v++)r(u,v)}super(a);const k=void 0===c?olympe.j.Da(400):c.ma(),l=void 0===c?olympe.j.Da(400):c.sa();c='Mon Tue Wed Thu Fri Sat Sun'.split(' ');this.vg=olympe.j.Yc();this.Hf=olympe.j.yb();this.U=olympe.j.Wc();this.kq=olympe.j.ja();this.ai=olympe.j.Wc();this.ca=olympe.j.Wc();this.fD=olympe.j.Wc();olympe.j.Wc();this.YD=Xb(this.ca.sk(),this.ca.qk(),this.ca.nk());this.La=olympe.j.LW();this.C=olympe.j.rb(olympe.j.hc).update(olympe.j.Ua(olympe.j.hc.now()));
715
716
  this.vc=olympe.j.Xc(!1);this.qe=void 0===b?olympe.j.ka.C:b;this.Fa=null;this.F=new olympe.ui.D.Wb(void 0,'default');this.Ka=null;this.Kd=olympe.j.qb(olympe.ui.D.Pf,olympe.ui.Wa.kf());this.Kb=this.Mc=this.Rc=this.Fc=this.Mb=this.Ab=this.na=this.yc=this.cb=this.V=this.R=null;this.Rb=Md++;this.gD=olympe.j.Wc();this.rD=olympe.j.ja();this.$=olympe.j.Xc(!0);const m=new Intl.DateTimeFormat(void 0,{month:'short'}),n=new Intl.DateTimeFormat(void 0,{weekday:'short'}),p=(u,v)=>{const w=new olympe.ui.D.hb(new olympe.j.ia(k.Va(5),
716
717
  k.Va(5)));w.lc(k);w.bc(olympe.ui.ha.Jb.Xb);w.fc(olympe.ui.ha.uc.Qc);const x=olympe.j.qb(olympe.j.hc,Nb({year:olympe.j.Ua(this.C.Ca()).getYear(),month:4*u+v+1,day:olympe.j.Ua(this.C.Ca()).Up()}));olympe.j.bb([x],y=>{m.format(y.Lq())});olympe.j.eb(Nd(this,x),()=>{w.pb(N()).Bb(18).Eb(600).Fd(1,N())},()=>{w.pb(this.ca).Eb(400).Bb(16).Fd(0,N())});w.Qa(this.U);w.bd(()=>{this.C.update(Nb({year:olympe.j.Ua(this.C.Ca()).getYear(),month:4*u+v+1,day:olympe.j.Ua(this.C.Ca()).Up()}));J(this.$,olympe.j.ka.C);g()});
717
718
  olympe.j.eb(w.Eh(),()=>w.Fd(1,N()),()=>{const y=olympe.j.Ua(Nd(this,x));y&&y.valueOf()||w.Fd(1,this.U)});this.Rc.appendChild(w,'dpMonthElem'+(4*u+v),new olympe.j.ia(k.Va(4).kb(v).$a(k.Va(4).Ga(k.Va(5)).Va(2)),l.Va(10).kb(9).Va(3).kb(u)))},r=(u,v)=>{const w=new olympe.ui.D.hb(new olympe.j.ia(l.Va(10),l.Va(10)));w.lc(k);w.bc(olympe.ui.ha.Jb.Xb);w.fc(olympe.ui.ha.uc.Qc);const x=e(this.C.Ca(),7*u+v);w.Sb(x.Up().mg());olympe.j.eb(Nd(this,x),()=>{olympe.j.eb(Od(this,x),()=>{w.pb(M());w.Qa(N())},()=>{w.pb(this.ca);
@@ -731,34 +732,34 @@ this.Ka=Q(Tb('lime',0,255,0,1));this.V=olympe.j.ja(1);this.$=new olympe.ui.D.te(
731
732
  this.ca).Qa(this.na);xd(this,this.C,'SliderKnob');this.$.Ei(!0);this.Ei(!1);const l=olympe.j.Ua,m=y=>{var B=l(this.F).valueOf();const E=l(this.min).valueOf(),D=l(this.max).valueOf()-E,P=l(g);B=B?l(l(k).ma()).valueOf():l(l(k).sa()).valueOf();y=y<P?0:y-P;y=y>B?B:y;this.Bf(y/B*D+E)},n=y=>{y?(this.C.Fd(this.V,this.Ka),this.C.Qa(this.La)):(this.C.Fd(this.V,this.ca),this.C.Qa(this.na))};let p=null,r=null,t=null,u=null,v=null,w=null,x=null;olympe.j.eb(this.disabled.Ca().Sf(),()=>{const y=()=>{n(!1);null!==
732
733
  r&&this.Ig(r);null!==t&&this.fj(t);t=r=null;null!==p&&(p.destroy(),p=null)},B=()=>{null!==u&&this.Im(u);u=null;n(!1);null!==p&&(p.destroy(),p=null)},E=D=>{const P=l(D.bj().ma());D=l(D.bj().sa());const ha=l(this.F).valueOf(),Ha=l(f).valueOf()/2,pa=l(g);m((ha?P:D)-Ha+pa);n(!0);r=this.Sg(y);t=this.Bk(y)};v=this.Ck(D=>{E(l(D.Rd()))});w=this.eh(E);x=this.xo(D=>{null!==r&&this.Ig(r);null!==t&&this.fj(t);t=r=null;u=this.wo(B);const P=l(this.F).valueOf(),ha=l(f).valueOf()/2,Ha=P?l(l(this.C.ge()).ma()).valueOf()+
733
734
  ha:l(l(this.C.ge()).sa()).valueOf()+ha;p=new olympe.j.Qd('SliderMouseMove-'+olympe.pa.we());p.run(()=>{P?olympe.j.bb([D.Vp().ma()],pa=>{m(Ha+pa)}):olympe.j.bb([D.Vp().sa()],pa=>{m(Ha+pa)})})})},()=>{null!==r&&(this.Ig(r),r=null);null!==t&&(this.fj(t),t=null);null!==u&&(this.Im(u),u=null);null!==v&&(this.ro(v),v=null);null!==w&&(this.wk(w),w=null);null!==x&&(this.sq(x),x=null)})}getValue(){return this.value}Bf(a){olympe.j.bb([a,this.min,this.max,this.cb],(b,c,d,e)=>{if(c.Nj(d).valueOf()){const f=d;
734
- d=c;c=f}b=Jb(b,c);b=Ib(b,d);if(b>=c&&b<=d){b=0!==e.valueOf()?olympe.j.Da(Math.round(b/e)*e):b;this.U.update(b);for(let f in this.R)this.R[f](b)}else this.U.clear()});return this}Jf(a){olympe.j.nc(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.Pc(a))}qO(a){J(this.na,a)}sO(a){J(this.La,a)}pO(a){J(this.V,a)}oO(a){J(this.ca,a)}rO(a){J(this.Ka,a)}dO(a){J(this.Fa,a)}Hh(a){J(this.lineWidth,'number'===typeof a?olympe.j.Da(a):a);return this}LN(a,b){b=b?b:olympe.pa.Xi();this.R[b]||(this.R[b]=a);return b}JN(a){delete this.R[a]}FX(a,
735
- b,c,d,e){this.C.gh(a,b,c,d,e);return this}};h=olympe.ui.D.Jd.prototype;h.getValue.K=olympe.j.J.F;h.Bf.K=olympe.j.J.C([0]);h.qO.K=olympe.j.J.C([0]);h.sO.K=olympe.j.J.C([0]);h.pO.K=olympe.j.J.C([0]);h.oO.K=olympe.j.J.C([0]);h.rO.K=olympe.j.J.C([0]);h.dO.K=olympe.j.J.C([0]);h.Hh.K=olympe.j.J.C([0]);h.LN.K=new olympe.j.J(()=>String,[0,1]);h.JN.K=new olympe.j.J(()=>{},[0]);h.FX.K=olympe.j.J.C([0,1,2,3,4]);const Qd=olympe.j.ia,Rd=olympe.j.Ua,Sd=olympe.ui.D.te,Td=olympe.ui.D.Je;function Ud(a){var b=Rd(a.height);b=a.F.length*b*-1;let c=Rd(a.R.ge().ma());c.valueOf()>b&&(b=Kb(c,b,200,olympe.j.aa.wh.Hs),olympe.j.bb([b],d=>{Vd(a,d.valueOf())}))}function Vd(a,b){var c=Rd(a.height);b=Math.max(Math.min(b,0),a.F.length*c*-1);c=-b/a.F.length;let d=Rd(a.width).valueOf()+b;a.R.ge().re(b);for(const e of a.F)e.la().re(c),e.ge().re(d),d+=c}
735
+ d=c;c=f}b=Jb(b,c);b=Ib(b,d);if(b>=c&&b<=d){b=0!==e.valueOf()?olympe.j.Da(Math.round(b/e)*e):b;this.U.update(b);for(let f in this.R)this.R[f](b)}else this.U.clear()});return this}Jf(a){olympe.j.nc(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.Pc(a))}qO(a){J(this.na,a)}sO(a){J(this.La,a)}pO(a){J(this.V,a)}oO(a){J(this.ca,a)}rO(a){J(this.Ka,a)}dO(a){J(this.Fa,a)}Hh(a){J(this.lineWidth,'number'===typeof a?olympe.j.Da(a):a);return this}LN(a,b){b=b?b:olympe.pa.Xi();this.R[b]||(this.R[b]=a);return b}JN(a){delete this.R[a]}GX(a,
736
+ b,c,d,e){this.C.gh(a,b,c,d,e);return this}};h=olympe.ui.D.Jd.prototype;h.getValue.K=olympe.j.J.F;h.Bf.K=olympe.j.J.C([0]);h.qO.K=olympe.j.J.C([0]);h.sO.K=olympe.j.J.C([0]);h.pO.K=olympe.j.J.C([0]);h.oO.K=olympe.j.J.C([0]);h.rO.K=olympe.j.J.C([0]);h.dO.K=olympe.j.J.C([0]);h.Hh.K=olympe.j.J.C([0]);h.LN.K=new olympe.j.J(()=>String,[0,1]);h.JN.K=new olympe.j.J(()=>{},[0]);h.GX.K=olympe.j.J.C([0,1,2,3,4]);const Qd=olympe.j.ia,Rd=olympe.j.Ua,Sd=olympe.ui.D.te,Td=olympe.ui.D.Je;function Ud(a){var b=Rd(a.height);b=a.F.length*b*-1;let c=Rd(a.R.ge().ma());c.valueOf()>b&&(b=Kb(c,b,200,olympe.j.aa.wh.Hs),olympe.j.bb([b],d=>{Vd(a,d.valueOf())}))}function Vd(a,b){var c=Rd(a.height);b=Math.max(Math.min(b,0),a.F.length*c*-1);c=-b/a.F.length;let d=Rd(a.width).valueOf()+b;a.R.ge().re(b);for(const e of a.F)e.la().re(c),e.ge().re(d),d+=c}
736
737
  class Wd extends olympe.ui.D.ee{constructor(a,b,c,d){const e=c.la().sa();super(new Qd(b,e));this.C=a;this.width=b;this.height=e;this.R=c;this.item=d;this.F=[];let f=void 0,g=void 0,k=void 0,l=void 0;a=new Td(new Qd(b,e));c.setPosition(new Qd(0,0));let m=!1,n=!1;const p=()=>{g&&c.Ig(g);k&&c.fj(k);k=g=void 0;f&&(f.destroy(),f=void 0);n||m||this.C.$(d);m=n=!1},r=()=>{l&&c.Im(l);l=void 0;f&&(f.destroy(),f=void 0);if(n){var v=Rd(this.height);v=this.F.length*v/2*-1;Rd(this.R.ge().ma()).valueOf()<v?Ud(this):
737
738
  this.close();n=!1}m=!1},t=()=>{n=m=!1;g=c.Sg(p);k=c.Bk(p)};c.Ck(v=>{t(Rd(v.Rd()))});c.eh(t);c.xo(v=>{l=c.wo(r);f=new olympe.j.Qd('SlidingMouseMove-'+olympe.pa.we());const w=Rd(this.R.ge().ma()).valueOf(),x=Rd(this.C.U().sa());f.run(()=>{olympe.j.bb([v.Vp().ma(),v.Vp().sa()],(y,B)=>{y=y.valueOf();const E=B.valueOf();5>=Math.abs(E)&&3>Math.abs(y)||(g&&c.Ig(g),k&&c.fj(k),k=g=void 0,!n&&5<Math.abs(E)?(m=!0,y=Rd(this.C.U().ma()),zd(this.C,new Qd(y,x.Ga(B)))):(n=!0,Vd(this,w+y)))});Xd(this.C,this)})});
738
739
  a.appendChild(c,'element');let u=0;for(const v of this.C.buttons){const w=new Sd(new Qd(e,e));w.xg(v.url);w.setPosition(new Qd(b.$a(e.kb(u)),0));w.Oo(olympe.ui.ha.Xg.Es);w.bd(()=>{m||n||!v.callback||v.callback(d)});this.F.push(w);a.appendChild(w,'image'+u);u++}xd(this,a,'absLayout')}destroy(){this.C=null;this.F.length=0}close(){var a=Rd(this.R.ge().ma());0>a.valueOf()&&(a=Kb(a,0,200,olympe.j.aa.wh.Hs),olympe.j.bb([a],b=>{Vd(this,b.valueOf())}))}}
739
740
  function Xd(a,b){a.O!==b&&(a.O&&a.O.close(),a.O=b)}function Yd(a,b){a.buttons.push({url:'images/QuestionMark.png',callback:b})}
740
- olympe.ui.D.QS=class extends olympe.ui.D.Cd{constructor(a,b,c,d){var e=olympe.sc.ui.Gj;super(a);this.data=b;this.type=e;this.C=new olympe.ui.D.Dd(a.ma());this.R=olympe.j.rb(olympe.j.Color).update(Vb());this.$=d;this.bf=c;this.buttons=[];this.F=new Map;this.O=null;const f=a.ma();this.rs(olympe.j.ka.xb);olympe.j.bb([this.data],g=>{this.C.kg();for(const l of this.F.values())l.destroy();this.F.clear();const k=(new Sd(new Qd(f,2))).Qa(this.R.Ca());this.C.appendChild(k,'last');g.forEach(l=>{this.C.removeChild('last');
741
- const m=new olympe.ui.D.Dd(f);var n=this.bf(l);const p=new Sd(new Qd(f,2));p.Qa(this.R.Ca());m.appendChild(p,'separator',olympe.ui.ha.Jb.Xb);n=new Wd(this,f,n,l);m.appendChild(n,'line');this.F.set(l.toString(),n);this.C.appendChild(m,l.toString(),olympe.ui.ha.Jb.Xb);this.C.appendChild(k,'last')},l=>{this.F.get(l.toString())&&(this.F.delete(l.toString()),this.C.removeChild(l.toString()))})});this.me(this.C)}};olympe.ui.D.xh=class extends olympe.ui.D.Element{constructor(){super(olympe.ui.Wa.C(olympe.N.D.xh,olympe.host.ra.ob.HS))}C(){return this.Ge()}addColorStop(a,b){this.C().addColorStop(a,b)}};olympe.ui.D.xh.prototype.C.K=new olympe.j.J(()=>olympe.N.D.mc,[]);olympe.ui.D.mc=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.mc,olympe.host.ra.ob.NJ),a)}arc(a,b,c,d,e,f){this.qa().arc(a,b,c,d,e,f);return this}arcTo(a,b,c,d,e){this.qa().arcTo(a,b,c,d,e);return this}beginPath(){this.qa().beginPath();return this}bezierCurveTo(a,b,c,d,e,f){this.qa().bezierCurveTo(a,b,c,d,e,f);return this}clearRect(a,b,c,d){this.qa().clearRect(a,b,c,d);return this}clip(){this.qa().clip();return this}closePath(){this.qa().closePath();return this}fill(){this.qa().fill();
741
+ olympe.ui.D.RS=class extends olympe.ui.D.Cd{constructor(a,b,c,d){var e=olympe.sc.ui.Gj;super(a);this.data=b;this.type=e;this.C=new olympe.ui.D.Dd(a.ma());this.R=olympe.j.rb(olympe.j.Color).update(Vb());this.$=d;this.bf=c;this.buttons=[];this.F=new Map;this.O=null;const f=a.ma();this.rs(olympe.j.ka.xb);olympe.j.bb([this.data],g=>{this.C.kg();for(const l of this.F.values())l.destroy();this.F.clear();const k=(new Sd(new Qd(f,2))).Qa(this.R.Ca());this.C.appendChild(k,'last');g.forEach(l=>{this.C.removeChild('last');
742
+ const m=new olympe.ui.D.Dd(f);var n=this.bf(l);const p=new Sd(new Qd(f,2));p.Qa(this.R.Ca());m.appendChild(p,'separator',olympe.ui.ha.Jb.Xb);n=new Wd(this,f,n,l);m.appendChild(n,'line');this.F.set(l.toString(),n);this.C.appendChild(m,l.toString(),olympe.ui.ha.Jb.Xb);this.C.appendChild(k,'last')},l=>{this.F.get(l.toString())&&(this.F.delete(l.toString()),this.C.removeChild(l.toString()))})});this.me(this.C)}};olympe.ui.D.xh=class extends olympe.ui.D.Element{constructor(){super(olympe.ui.Wa.C(olympe.N.D.xh,olympe.host.ra.ob.IS))}C(){return this.Ge()}addColorStop(a,b){this.C().addColorStop(a,b)}};olympe.ui.D.xh.prototype.C.K=new olympe.j.J(()=>olympe.N.D.mc,[]);olympe.ui.D.mc=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.D.mc,olympe.host.ra.ob.NJ),a)}arc(a,b,c,d,e,f){this.qa().arc(a,b,c,d,e,f);return this}arcTo(a,b,c,d,e){this.qa().arcTo(a,b,c,d,e);return this}beginPath(){this.qa().beginPath();return this}bezierCurveTo(a,b,c,d,e,f){this.qa().bezierCurveTo(a,b,c,d,e,f);return this}clearRect(a,b,c,d){this.qa().clearRect(a,b,c,d);return this}clip(){this.qa().clip();return this}closePath(){this.qa().closePath();return this}fill(){this.qa().fill();
742
743
  return this}fillRect(a,b,c,d){this.qa().fillRect(a,b,c,d);return this}fillText(a,b,c,d){this.qa().fillText(a,b,c,d);return this}lineTo(a,b){this.qa().lineTo(a,b);return this}ej(a,b){this.qa().ej(a,b);return this}moveTo(a,b){this.qa().moveTo(a,b);return this}quadraticCurveTo(a,b,c,d){this.qa().quadraticCurveTo(a,b,c,d);return this}rect(a,b,c,d){this.qa().rect(a,b,c,d);return this}stroke(){this.qa().stroke();return this}strokeRect(a,b,c,d){this.qa().strokeRect(a,b,c,d);return this}strokeText(a,b,c,
743
- d){this.qa().strokeText(a,b,c,d);return this}createLinearGradient(a,b,c,d){this.qa().createLinearGradient(a,b,c,d);return this}addColorStop(a,b){this.qa().addColorStop(a,b);return this}Zv(){this.qa().Zv();return this}lj(a){this.qa().lj(a);return this}ss(a){this.qa().ss(a);return this}QQ(a){this.qa().lj(a.C().V());return this}Sj(a){this.qa().Sj(a);return this}Hq(a){this.qa().Hq(a);return this}fh(a){this.qa().fh(a);return this}Uj(a){this.qa().Uj(a);return this}Hh(a){this.qa().Hh(a);return this}Gh(a){this.qa().Gh(a);
744
+ d){this.qa().strokeText(a,b,c,d);return this}createLinearGradient(a,b,c,d){this.qa().createLinearGradient(a,b,c,d);return this}addColorStop(a,b){this.qa().addColorStop(a,b);return this}Zv(){this.qa().Zv();return this}lj(a){this.qa().lj(a);return this}ss(a){this.qa().ss(a);return this}RQ(a){this.qa().lj(a.C().V());return this}Sj(a){this.qa().Sj(a);return this}Hq(a){this.qa().Hq(a);return this}fh(a){this.qa().fh(a);return this}Uj(a){this.qa().Uj(a);return this}Hh(a){this.qa().Hh(a);return this}Gh(a){this.qa().Gh(a);
744
745
  return this}me(a){this.qa().me(a.qa());return this}};h=olympe.ui.D.mc.prototype;h.arc.K=olympe.j.J.C([0,1,2,3,4,5]);h.arcTo.K=olympe.j.J.C([0,1,2,3,4,5]);h.beginPath.K=olympe.j.J.C([]);h.bezierCurveTo.K=olympe.j.J.C([0,1,2,3,4,5]);h.clearRect.K=olympe.j.J.C([0,1,2,3]);h.clip.K=olympe.j.J.C([]);h.closePath.K=olympe.j.J.C([]);h.fill.K=olympe.j.J.C([]);h.fillRect.K=olympe.j.J.C([0,1,2,3]);h.fillText.K=olympe.j.J.C([0,1,2,3]);h.lineTo.K=olympe.j.J.C([0,1]);h.ej.K=olympe.j.J.C([0,1]);
745
- h.moveTo.K=olympe.j.J.C([0,1]);h.quadraticCurveTo.K=olympe.j.J.C([0,1,2,3]);h.rect.K=olympe.j.J.C([0,1,2,3]);h.stroke.K=olympe.j.J.C([]);h.strokeRect.K=olympe.j.J.C([0,1,2,3]);h.strokeText.K=olympe.j.J.C([0,1,2,3]);h.createLinearGradient.K=olympe.j.J.C([0,1,2,3]);h.addColorStop.K=olympe.j.J.C([0,1]);h.Zv.K=olympe.j.J.C([]);h.lj.K=olympe.j.J.C([0]);h.ss.K=olympe.j.J.C([0]);h.QQ.K=olympe.j.J.C([0]);h.Sj.K=olympe.j.J.C([0]);h.Hq.K=olympe.j.J.C([0]);h.fh.K=olympe.j.J.C([0]);h.Uj.K=olympe.j.J.C([0]);
746
+ h.moveTo.K=olympe.j.J.C([0,1]);h.quadraticCurveTo.K=olympe.j.J.C([0,1,2,3]);h.rect.K=olympe.j.J.C([0,1,2,3]);h.stroke.K=olympe.j.J.C([]);h.strokeRect.K=olympe.j.J.C([0,1,2,3]);h.strokeText.K=olympe.j.J.C([0,1,2,3]);h.createLinearGradient.K=olympe.j.J.C([0,1,2,3]);h.addColorStop.K=olympe.j.J.C([0,1]);h.Zv.K=olympe.j.J.C([]);h.lj.K=olympe.j.J.C([0]);h.ss.K=olympe.j.J.C([0]);h.RQ.K=olympe.j.J.C([0]);h.Sj.K=olympe.j.J.C([0]);h.Hq.K=olympe.j.J.C([0]);h.fh.K=olympe.j.J.C([0]);h.Uj.K=olympe.j.J.C([0]);
746
747
  h.Hh.K=olympe.j.J.C([0]);h.Gh.K=olympe.j.J.C([0]);h.me.K=olympe.j.J.C([0]);function Zd(a,b){const c=(k,l)=>{k=a+k;let m=b;-1===k?(k=11,m--):12===k&&(k=0,m++);return{day:l,month:k,year:m}};var d=new Date(b,a,1),e=(new Date(d.getTime()-864E5)).getDate(),f=(new Date((new Date(b,a+1,1)).getTime()-864E5)).getDate();d=Array((d.getDay()||7)-1).fill(0).map((k,l)=>c(-1,e-l)).reverse();f=Array(f).fill(0).map((k,l)=>c(0,l+1));var g=7-(d.length+f.length)%7;g=Array(7===g?0:g).fill(0).map((k,l)=>c(1,l+1));return d.concat(f,g).reduce((k,l,m)=>{m=Math.floor(m/7);void 0===k[m]&&(k[m]=[]);
747
748
  k[m].push(l);return k},[])}
748
- olympe.ui.D.RE=class extends olympe.ui.D.Dd{constructor(a,{NX:b,TV:c,FT:d,UX:e}={}){const f=olympe.j.kc,g=olympe.j.hc,k=olympe.j.bb,l=olympe.j.Ua,m=olympe.j.Color;var n=olympe.j.rb;const p=olympe.j.eb,r=olympe.j.ia,t=olympe.j.ci,u=a.ma(),v=a.sa();super(u,0,0,0,v);this.disabled=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb);this.La=n(g);this.C=Hb(n(g),g.now());this.ca=Nb({year:100});this.$=Nb({year:1E4});this.na=()=>{};a=Jb(40,v.Va(7));const w=Jb(20,v.Va(10)),x=a.$a(w),y=u.Va(7),B=new Intl.DateTimeFormat(void 0,
749
+ olympe.ui.D.RE=class extends olympe.ui.D.Dd{constructor(a,{OX:b,UV:c,GT:d,VX:e}={}){const f=olympe.j.kc,g=olympe.j.hc,k=olympe.j.bb,l=olympe.j.Ua,m=olympe.j.Color;var n=olympe.j.rb;const p=olympe.j.eb,r=olympe.j.ia,t=olympe.j.ci,u=a.ma(),v=a.sa();super(u,0,0,0,v);this.disabled=olympe.j.rb(olympe.j.ka).update(olympe.j.ka.xb);this.La=n(g);this.C=Hb(n(g),g.now());this.ca=Nb({year:100});this.$=Nb({year:1E4});this.na=()=>{};a=Jb(40,v.Va(7));const w=Jb(20,v.Va(10)),x=a.$a(w),y=u.Va(7),B=new Intl.DateTimeFormat(void 0,
749
750
  {month:'long'});this.F={wO:(H,W)=>{H.Sb(f(W.day));H.Qa(p(W.fq,()=>Vb(),()=>O(),m));H.fc(olympe.ui.ha.uc.Qc);H.bc(olympe.ui.ha.Jb.Xb);H.pb(p(W.YC,()=>m.red(),()=>p(W.VC,()=>K(),()=>M(),m),m))},zN:(H,W,Ba)=>{H.Sb(olympe.j.fb([Ba],qa=>olympe.j.kc(B.format(qa.Lq())),olympe.j.mb)).Eb(800);W.Sb(Ba.getYear().mg()).Eb(800);H.fc(olympe.ui.ha.uc.Qc);H.bc(olympe.ui.ha.Jb.Xb);W.fc(olympe.ui.ha.uc.Qc);W.bc(olympe.ui.ha.Jb.Xb)},mL:(H,W)=>{H.Sb('<'===W?'\uf104':'\uf105').Eb(800).zb('FontAwesome').fc(olympe.ui.ha.uc.Qc).bc(olympe.ui.ha.Jb.Xb)},
750
751
  weekday:(H,W)=>{H.Sb('Mo Tu We Th Fr Sa Su'.split(' ')[W]);H.fc(olympe.ui.ha.uc.Qc);H.bc(olympe.ui.ha.Jb.Xb)}};void 0!==b&&(this.F.wO=b);void 0!==c&&(this.F.zN=c);void 0!==d&&(this.F.mL=d);void 0!==e&&(this.F.weekday=e);b=new olympe.ui.D.ie(a,0,0,0,!1,u);const E=new r(y.Ga(10),a);n=H=>{const W=new olympe.ui.D.hb(E);this.F.mL(W,H);return W};const D=H=>{H=l(this.C.Ca()).clone().iz(H);H.Qz(this.ca,this.$).Oc(olympe.j.ka.C)&&(this.C.update(H),this.na(H))};c=n('<');c.bd(()=>D(-1));d=n('>');d.bd(()=>D(1));
751
752
  e=new olympe.ui.D.hb(new r(u.Ga(y.kb(2)).kb(.55),a));a=new olympe.ui.D.hb(new r(u.Ga(y.kb(2)).kb(.3),a));const P=n('<');P.bd(()=>{const H=l(this.C.Ca()).clone().Ov(-1);H.Qz(this.ca,this.$).Oc(olympe.j.ka.C)&&(this.C.update(H),this.na(H))});n=n('>');n.bd(()=>{const H=l(this.C.Ca()).clone().Ov(1);H.Qz(this.ca,this.$).Oc(olympe.j.ka.C)&&(this.C.update(H),this.na(H))});this.F.zN(e,a,this.C.Ca());b.appendChild(c,'hl_left_arrow');b.appendChild(e,'hl_year');b.appendChild(d,'hl_right_arrow');b.appendChild(P,
752
753
  'hl_yleft_arrow');b.appendChild(a,'hl_month');b.appendChild(n,'hl_yright_arrow');this.Fa=new olympe.ui.D.te(new olympe.j.ia(u,1));this.Fa.Qa(Vb());const ha=new olympe.ui.D.ie(w,0,0,0,!1,u),Ha=H=>{const W=new olympe.ui.D.hb(new r(y,w));this.F.weekday(W,H);return W};Array(7).fill(0).forEach((H,W)=>ha.appendChild(Ha(W),'weekday_'+W));const pa=new olympe.ui.D.Dd(u,0,0,0,!1,v.Ga(x)),Bb=(H,W)=>{const Ba=new olympe.ui.D.hb(new r(y,W));let qa=null;olympe.j.eb(this.disabled.Ca().Sf(),()=>{qa=Ba.bd(()=>{l(H.VC).valueOf()||
753
- this.C.update(Nb({year:H.year,month:H.month,day:1}));this.mx(Nb({year:H.year,month:H.month,day:H.day}))})},()=>{null!==qa&&(this.Pj(qa),qa=null)});this.F.wO(Ba,H);return Ba};k([this.C.Ca().getMonth(),this.C.Ca().getYear()],(H,W)=>{H=Zd(H-1,W);const Ba=v.Ga(x).Va(H.length);H.forEach((qa,Ia)=>{const Qa=new olympe.ui.D.ie(Ba,0,0,0,!1,u);qa.forEach(ea=>{ea.month++;const ng=xe=>xe.getYear().ef(ea.year).and(xe.getMonth().ef(ea.month).and(xe.Up().ef(ea.day)));ea.YC=ng(g.now());ea.fq=t(ng(this.La.Ca()),!1);
754
- ea.VC=t(this.C.Ca().getMonth().ef(ea.month),!1);Qa.appendChild(Bb(ea,Ba),`tile_${ea.month}-${ea.day}`)});pa.appendChild(Qa,`tile_line-${Ia}`)})});this.Qa(N());this.Ug(1);this.appendChild(pa,'content_layout');this.appendChild(ha,'weekday_layout');this.appendChild(this.Fa,'separator');this.appendChild(b,'header_layout')}AX(a){this.Fa.Qa(a);return this}oX(a){this.ca=a;return this}nX(a){this.$=a;return this}cA(a){olympe.j.bb([a],b=>{b=b.clone();b.ql().valueOf()&&this.C.update(b)})}RU(){return this.C.Ca()}IW(a){this.na=
755
- a}Jf(a){olympe.j.nc(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.Pc(a))}mx(a){olympe.j.bb([a],b=>{b=b.clone();b.ql().valueOf()&&this.La.update(b)})}Ez(){return this.La.Ca()}};h=olympe.ui.D.RE.prototype;h.AX.K=olympe.j.J.C([]);h.oX.K=olympe.j.J.C([]);h.nX.K=olympe.j.J.C([]);h.cA.K=olympe.j.J.C([]);h.RU.K=new olympe.j.J(()=>olympe.j.hc,[]);h.IW.K=olympe.j.J.O;h.mx.K=olympe.j.J.O;h.Ez.K=new olympe.j.J(()=>olympe.j.hc,[]);olympe.ui.D.zv=class extends olympe.ui.D.wb{constructor(a=olympe.ui.D.zv.C.ZA,b){const c=new olympe.j.ia;super(olympe.ui.Wa.C(olympe.N.D.De,olympe.host.ra.ob.QB),c);this.O=olympe.j.rb(olympe.j.aa).update(olympe.j.Da(a));this.F=olympe.j.rb(olympe.j.ka).update(olympe.j.Pc(void 0===b));this.C=olympe.j.rb(olympe.j.ka).update(olympe.j.Pc(void 0===b));const d=b||new olympe.j.ia(100,100);let e=null;const f=olympe.j.jb().C(()=>{null===e&&(e=new olympe.j.ia);T(this).Pa((g,k)=>{e.re(g);e.Ie(k)})});olympe.j.bb([this.F,
756
- this.C],(g,k)=>{T(this).No(g.valueOf(),k.valueOf());k=k.valueOf();g.valueOf()?(f(),c.re(e.ma()),k?c.Ie(e.sa()):c.Ie(d.sa())):k?(f(),c.re(d.ma()),c.Ie(e.sa())):(c.re(d.ma()),c.Ie(d.sa()))})}Sb(a){olympe.j.bb([a,this.O.Ca()],(b,c)=>{switch(c.valueOf()){case olympe.ui.D.zv.C.JR:b=(new remarkable.Remarkable({html:!0,typographer:!0,xhtmlOut:!0})).render(b.valueOf());break;case olympe.ui.D.zv.C.ZA:b=b.valueOf();break;default:b=b.valueOf()}T(this).gA(b)});return this}ae(a){olympe.j.bb([a],b=>{this.F.update(olympe.j.Pc(b))});
757
- return this}Xd(a){olympe.j.bb([a],b=>{this.C.update(olympe.j.Pc(b))});return this}hX(a){this.O.update(olympe.j.Da(a));return this}ju(a){T(this).ju(a);return this}lu(a){T(this).lu(a);return this}ku(a,b){T(this).ku(a,b.valueOf());return this}Eb(a){T(this).Eb(a);return this}zb(a){T(this).zb(a);return this}Bb(a){T(this).Bb(a);return this}Td(a){T(this).Td(a);return this}pb(a){T(this).pb(olympe.j.If(a,b=>b.gi()));return this}Kf(a=0,b=0,c=0,d=0){T(this).Kf(a,b,c,d);return this}};olympe.ui.D.zv.C={JR:1,ZA:2};
758
- h=olympe.ui.D.zv.prototype;h.Sb.K=olympe.j.J.C([0]);h.ae.K=olympe.j.J.C([0]);h.Xd.K=olympe.j.J.C([0]);h.hX.K=olympe.j.J.C([0]);h.ju.K=olympe.j.J.C([0]);h.lu.K=olympe.j.J.C([0]);h.ku.K=olympe.j.J.C([0]);h.Eb.K=olympe.j.J.C([0]);h.zb.K=olympe.j.J.C([0]);h.Bb.K=olympe.j.J.C([0]);h.Td.K=olympe.j.J.C([0]);h.pb.K=olympe.j.J.C([0]);h.Kf.K=olympe.j.J.C([0,1,2,3]);function $d(a,b){const c=new olympe.j.Map(olympe.j.aa),d=new olympe.j.Map(olympe.j.aa);a.F.forEach((f,g)=>{c.set(g,f.la().ma());d.set(g,f.la().sa())});const e=new olympe.ui.D.Je(new olympe.j.ia(olympe.j.aa.max(c),olympe.j.aa.max(d)));olympe.j.bb([a.C],f=>{e.kg();f=a.F.Dh(f);const g=new olympe.j.ia(e.td().Ga(f.td()).Va(2),e.ve().Ga(f.ve()).Va(2));e.appendChild(f,'displayedElement',g)});b.appendChild(e,'displayPort',olympe.ui.ha.Jb.Xb)}
754
+ this.C.update(Nb({year:H.year,month:H.month,day:1}));this.mx(Nb({year:H.year,month:H.month,day:H.day}))})},()=>{null!==qa&&(this.Pj(qa),qa=null)});this.F.wO(Ba,H);return Ba};k([this.C.Ca().getMonth(),this.C.Ca().getYear()],(H,W)=>{H=Zd(H-1,W);const Ba=v.Ga(x).Va(H.length);H.forEach((qa,Ia)=>{const Qa=new olympe.ui.D.ie(Ba,0,0,0,!1,u);qa.forEach(ea=>{ea.month++;const og=xe=>xe.getYear().ef(ea.year).and(xe.getMonth().ef(ea.month).and(xe.Up().ef(ea.day)));ea.YC=og(g.now());ea.fq=t(og(this.La.Ca()),!1);
755
+ ea.VC=t(this.C.Ca().getMonth().ef(ea.month),!1);Qa.appendChild(Bb(ea,Ba),`tile_${ea.month}-${ea.day}`)});pa.appendChild(Qa,`tile_line-${Ia}`)})});this.Qa(N());this.Ug(1);this.appendChild(pa,'content_layout');this.appendChild(ha,'weekday_layout');this.appendChild(this.Fa,'separator');this.appendChild(b,'header_layout')}BX(a){this.Fa.Qa(a);return this}pX(a){this.ca=a;return this}oX(a){this.$=a;return this}cA(a){olympe.j.bb([a],b=>{b=b.clone();b.ql().valueOf()&&this.C.update(b)})}SU(){return this.C.Ca()}JW(a){this.na=
756
+ a}Jf(a){olympe.j.nc(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.Pc(a))}mx(a){olympe.j.bb([a],b=>{b=b.clone();b.ql().valueOf()&&this.La.update(b)})}Ez(){return this.La.Ca()}};h=olympe.ui.D.RE.prototype;h.BX.K=olympe.j.J.C([]);h.pX.K=olympe.j.J.C([]);h.oX.K=olympe.j.J.C([]);h.cA.K=olympe.j.J.C([]);h.SU.K=new olympe.j.J(()=>olympe.j.hc,[]);h.JW.K=olympe.j.J.O;h.mx.K=olympe.j.J.O;h.Ez.K=new olympe.j.J(()=>olympe.j.hc,[]);olympe.ui.D.zv=class extends olympe.ui.D.wb{constructor(a=olympe.ui.D.zv.C.ZA,b){const c=new olympe.j.ia;super(olympe.ui.Wa.C(olympe.N.D.De,olympe.host.ra.ob.QB),c);this.O=olympe.j.rb(olympe.j.aa).update(olympe.j.Da(a));this.F=olympe.j.rb(olympe.j.ka).update(olympe.j.Pc(void 0===b));this.C=olympe.j.rb(olympe.j.ka).update(olympe.j.Pc(void 0===b));const d=b||new olympe.j.ia(100,100);let e=null;const f=olympe.j.jb().C(()=>{null===e&&(e=new olympe.j.ia);T(this).Pa((g,k)=>{e.re(g);e.Ie(k)})});olympe.j.bb([this.F,
757
+ this.C],(g,k)=>{T(this).No(g.valueOf(),k.valueOf());k=k.valueOf();g.valueOf()?(f(),c.re(e.ma()),k?c.Ie(e.sa()):c.Ie(d.sa())):k?(f(),c.re(d.ma()),c.Ie(e.sa())):(c.re(d.ma()),c.Ie(d.sa()))})}Sb(a){olympe.j.bb([a,this.O.Ca()],(b,c)=>{switch(c.valueOf()){case olympe.ui.D.zv.C.KR:b=(new remarkable.Remarkable({html:!0,typographer:!0,xhtmlOut:!0})).render(b.valueOf());break;case olympe.ui.D.zv.C.ZA:b=b.valueOf();break;default:b=b.valueOf()}T(this).gA(b)});return this}ae(a){olympe.j.bb([a],b=>{this.F.update(olympe.j.Pc(b))});
758
+ return this}Xd(a){olympe.j.bb([a],b=>{this.C.update(olympe.j.Pc(b))});return this}iX(a){this.O.update(olympe.j.Da(a));return this}ju(a){T(this).ju(a);return this}lu(a){T(this).lu(a);return this}ku(a,b){T(this).ku(a,b.valueOf());return this}Eb(a){T(this).Eb(a);return this}zb(a){T(this).zb(a);return this}Bb(a){T(this).Bb(a);return this}Td(a){T(this).Td(a);return this}pb(a){T(this).pb(olympe.j.If(a,b=>b.gi()));return this}Kf(a=0,b=0,c=0,d=0){T(this).Kf(a,b,c,d);return this}};olympe.ui.D.zv.C={KR:1,ZA:2};
759
+ h=olympe.ui.D.zv.prototype;h.Sb.K=olympe.j.J.C([0]);h.ae.K=olympe.j.J.C([0]);h.Xd.K=olympe.j.J.C([0]);h.iX.K=olympe.j.J.C([0]);h.ju.K=olympe.j.J.C([0]);h.lu.K=olympe.j.J.C([0]);h.ku.K=olympe.j.J.C([0]);h.Eb.K=olympe.j.J.C([0]);h.zb.K=olympe.j.J.C([0]);h.Bb.K=olympe.j.J.C([0]);h.Td.K=olympe.j.J.C([0]);h.pb.K=olympe.j.J.C([0]);h.Kf.K=olympe.j.J.C([0,1,2,3]);function $d(a,b){const c=new olympe.j.Map(olympe.j.aa),d=new olympe.j.Map(olympe.j.aa);a.F.forEach((f,g)=>{c.set(g,f.la().ma());d.set(g,f.la().sa())});const e=new olympe.ui.D.Je(new olympe.j.ia(olympe.j.aa.max(c),olympe.j.aa.max(d)));olympe.j.bb([a.C],f=>{e.kg();f=a.F.Dh(f);const g=new olympe.j.ia(e.td().Ga(f.td()).Va(2),e.ve().Ga(f.ve()).Va(2));e.appendChild(f,'displayedElement',g)});b.appendChild(e,'displayPort',olympe.ui.ha.Jb.Xb)}
759
760
  function ae(a,b){const c=new olympe.ui.D.ie(a.R.Ca().kb(2),a.R.Ca()),d=new olympe.ui.D.Je(new olympe.j.ia(b.td(),40));a.F.forEach((f,g)=>{const k=new olympe.ui.D.Ol(a.R.Ca());k.Fd(1,M());olympe.j.eb(a.C.Ca().ef(a.F.jf(g)),()=>{k.Qa(M())},()=>{k.Qa(O())});k.bd(()=>{var l=olympe.j.Da(a.F.om(g));olympe.j.nc(l)?a.C.repeat(l):a.C.update(l)});c.appendChild(k,g,olympe.ui.ha.uc.Qc)});d.appendChild(c,'stepper',new olympe.j.ia(d.td().Va(2).Ga(c.td().Va(2)),d.ve().Va(2).Ga(c.ve().Va(2))));const e=new olympe.ui.D.pc;
760
761
  e.Sb(olympe.j.eb(be(a),()=>olympe.j.kc(a.$),()=>olympe.j.kc('Next'),olympe.j.mb));e.ae(!0,28);e.Xd(!0,8);e.Qa(K());e.Fd(1,M());e.lc(5);e.zb('Roboto');e.Ug(10);e.qd(a.U.Ca().Sf());e.bd(()=>{olympe.j.Gw([be(a)],f=>{f.valueOf()&&a.Ij?a.Ij():(f=olympe.j.Ua(a.C).$a(1).Bw(a.F.$i()),olympe.j.nc(f)?a.C.repeat(f):a.C.update(f))})});d.appendChild(e,'nextButton',new olympe.j.ia(d.td().Ga(e.td()),d.ve().Va(2).Ga(e.ve().Va(2))));b.appendChild(d,'c')}function be(a){return a.C.Ca().ef(a.F.hd().Ga(1))}
761
- olympe.ui.D.oY=class extends olympe.ui.D.ee{constructor(a,b,c='Next'){super();this.ba=b;this.F=a;this.C=olympe.j.rb(olympe.j.aa,'Carousel currentRank FlowSource');Hb(this.C,olympe.j.aa.ZERO);this.R=olympe.j.rb(olympe.j.aa,'Carousel bulletWidth FlowSource');this.V=olympe.j.rb(olympe.j.aa,'Carousel stepperSpacing FlowSource');this.U=olympe.j.rb(olympe.j.ka,'Carousel show ctrl btn');Hb(this.R,olympe.j.Da(10));Hb(this.V,olympe.j.Da(10));Hb(this.U,olympe.j.ka.xb);this.Ij=null;this.$=c;a=new olympe.ui.D.Dd(void 0,
762
+ olympe.ui.D.pY=class extends olympe.ui.D.ee{constructor(a,b,c='Next'){super();this.ba=b;this.F=a;this.C=olympe.j.rb(olympe.j.aa,'Carousel currentRank FlowSource');Hb(this.C,olympe.j.aa.ZERO);this.R=olympe.j.rb(olympe.j.aa,'Carousel bulletWidth FlowSource');this.V=olympe.j.rb(olympe.j.aa,'Carousel stepperSpacing FlowSource');this.U=olympe.j.rb(olympe.j.ka,'Carousel show ctrl btn');Hb(this.R,olympe.j.Da(10));Hb(this.V,olympe.j.Da(10));Hb(this.U,olympe.j.ka.xb);this.Ij=null;this.$=c;a=new olympe.ui.D.Dd(void 0,
762
763
  this.V.Ca());$d(this,a);ae(this,a);this.Lb(a.la());xd(this,a,'mainContainer')}};olympe.ui.D.vf={};olympe.ui.D.vf.nP=class{constructor(a=300){this.duration=olympe.j.ja(a)}run(a,b,c,d,e,f){f&&setTimeout(f,G(this.duration))}Rj(a,b,c){a=G(this.duration).valueOf();let d;d=olympe.j.ja(0);b=olympe.j.Bi(d,a,olympe.j.aa.wh.Hs);d&&J(d,1);c&&setTimeout(c,a);return b}C(a,b,c,d){a=G(this.duration).valueOf();let e;void 0===d?(e=olympe.j.ja(1),olympe.j.Bi(e,a,olympe.j.aa.wh.Hs)):olympe.j.ja(1).Ga(d);e&&J(e,0);c&&setTimeout(c,a)}};olympe.ui.D.vf.nP.ua=[olympe.ui.D.im];olympe.ui.D.vf.JF=class{constructor(){this.duration=olympe.j.ja(400)}run(a,b,c,d,e,f){b.lg(0);c=G(this.duration).valueOf();b=this.Rj(b,e);this.C(a,e,null,b);tc(function(){f&&f()},c)}Rj(a,b,c){b=G(this.duration).valueOf();let d,e;e=olympe.j.ja(0);d=olympe.j.Bi(e,b,olympe.j.aa.wh.Hs);a.lg(d);e&&J(e,1);c&&tc(c,b);return d}C(a,b,c,d){b=G(this.duration).valueOf();let e;void 0===d?(e=olympe.j.ja(1),d=olympe.j.Bi(e,b,olympe.j.aa.wh.Hs)):d=olympe.j.ja(1).Ga(d);a.lg(d);e&&J(e,0);c&&tc(c,b)}};
763
764
  olympe.ui.D.vf.JF.ua=[olympe.ui.D.im];olympe.ui.D.vf.Vk=class{constructor(a,b,c,d){this.direction=olympe.j.yb(olympe.ui.D.vf.Vk.C.Mf);this.duration=olympe.j.ja(300);this.F=olympe.j.ja();this.easing=d||olympe.j.aa.wh.ep;a&&J(this.direction,a);b&&J(this.duration,b);c&&J(this.F,c)}run(a,b,c,d,e,f){c=G(this.duration).valueOf();b=this.Rj(b,e);this.C(a,e,null,b);f&&tc(f,c)}Rj(a,b,c){const d=G(this.duration).valueOf();let e=olympe.j.Ua(this.F)||null,f=G(a.ge()).ma();f=f?f:olympe.j.ja(0);let g=G(a.ge()).sa();g=g?g:olympe.j.ja(0);let k=f,l=g,
764
765
  m,n;n=olympe.j.ja(0);m=olympe.j.Bi(n,d,this.easing);const p=olympe.j.ja(1).Ga(m);switch(G(this.direction).valueOf()){default:case olympe.ui.D.vf.Vk.C.Mf:null===e&&(e=b.la().ma());k=f.$a(p.kb(e));break;case olympe.ui.D.vf.Vk.C.Ng:null===e&&(e=b.la().ma());k=f.Ga(p.kb(e));break;case olympe.ui.D.vf.Vk.C.th:null===e&&(e=b.la().sa());l=g.Ga(p.kb(e));break;case olympe.ui.D.vf.Vk.C.ah:null===e&&(e=b.la().sa()),l=g.$a(p.kb(e))}a.setPosition(new olympe.j.ia(k,l));n&&J(n,1);c&&tc(c,d);return m}C(a,b,c,d){const e=
@@ -781,23 +782,23 @@ this.longitude.update(olympe.j.Da(b))});this.map.Hw(b=>{const c=olympe.j.Ua(this
781
782
  {this.latitude.update(b)});return this.map}KC(){return this.longitude.Ca()}IC(){return this.latitude.Ca()}ut(a,b,c){this.map.ut(a,b,c);return this.map}Mv(a){this.map.Mv(a);return this.map}cs(a){this.F||this.map.cs(a);return this.map}Jv(a,b){this.map.Jv(a,b);return this.map}cu(a){this.F||this.map.cu(a);return this.map}Ju(a,b){this.map.Ju(a,b);return this.map}Ku(a,b){this.map.Ku(a,b);return this.map}Lu(a,b){this.map.Lu(a,b);return this.map}Fu(a,b,c){this.map.Fu(a,b,c);return this.map}At(a,b){this.map.At(a,
782
783
  b);return this.map}Bt(a){this.map.Bt(a);return this.map}au(a,b){this.map.au(a,b);return this.map}Zt(a,b){this.map.Zt(a,b);return this.map}Ct(a,b,c){this.map.Ct(a,b,c);return this.map}Dt(a,b){this.map.Dt(a,b);return this.map}su(a){this.map.su(a);return this.map}vu(a){this.map.vu(a);return this.map}tu(a){this.map.tu(a);return this.map}$t(a,b){this.map.$t(a,b);return this.map}eq(a){this.map.eq(a);return this.map}stop(){this.map.stop();return this.map}appendChild(a,b,...c){xd(this,a,b,...c);return this}removeChild(a){this.O().removeChild(a);
783
784
  return this}};olympe.ui.Xa.Za.Map.prototype.R.K=olympe.j.J.F;olympe.ui.Xa.Za.Map.prototype.KC.K=olympe.j.J.F;olympe.ui.Xa.Za.Map.prototype.IC.K=olympe.j.J.F;olympe.ui.P={};olympe.ui.P.vi=class extends olympe.ui.D.wb{constructor(a){super(olympe.ui.Wa.C(olympe.N.P.vi,olympe.host.ra.ob.YK),a);this.C=this.F=void 0}sx(a,b){this.F||R(this,()=>{this.F=olympe.j.Yc(0,0);this.C=olympe.j.Yc();this.qa().sx(this.F.ma(),this.F.sa(),this.C.ma(),this.C.sa())});J(this.C,a);b&&J(this.C,b)}appendChild(a,b){this.qa().appendChild(a.qa(),b)}removeChild(a){this.qa().removeChild(a)}};olympe.ui.P.Be=class extends olympe.ui.Df{constructor(a){super(a);this.hidden=null}Ei(a){this.qa().Ei(a)}wu(a){this.qa().wu(a)}qd(a){null===this.hidden&&R(this,()=>{this.hidden=olympe.j.Xc(!1)});J(this.hidden,a);this.qa().qd(a);return this}pl(){null===this.hidden&&R(this,()=>{this.hidden=olympe.j.Xc(!1)});return this.hidden}};olympe.ui.P.Be.prototype.pl.K=olympe.j.J.U;olympe.ui.P.vd=class extends olympe.ui.P.Be{constructor(a){super(a);this.R=this.F=this.position=void 0}$(){return this.qa()}setPosition(a){this.position||R(this,()=>{this.position=olympe.j.Yc();this.$().setPosition(this.position.ma(),this.position.sa())});J(this.position,a);return this}ge(){this.position||this.setPosition(new olympe.j.ia);return this.position}Lb(a){this.F||R(this,()=>{this.F=olympe.j.Yc();this.$().Lb(this.F.ma(),this.F.sa())});J(this.F,a);return this}la(){this.F||this.Lb(new olympe.j.ia);
784
- return this.F}setScale(a){this.R||R(this,()=>{this.R=olympe.j.ja();this.$().setScale(this.R)});J(this.R,a);return this}Zp(){this.R||this.setScale(olympe.j.ja(1));return this.R}};olympe.ui.P.vd.prototype.$.K=new olympe.j.J(()=>olympe.N.P.vd,[]);olympe.ui.P.vd.prototype.ge.K=olympe.j.J.V;olympe.ui.P.vd.prototype.la.K=olympe.j.J.V;olympe.ui.P.vd.prototype.Zp.K=new olympe.j.J(()=>olympe.j.UZ,[]);olympe.ui.P.Bc=class extends olympe.ui.P.vd{constructor(a){super(a);this.C=this.sg=this.wg=this.strokeLinecap=this.ca=this.na=this.strokeWidth=this.strokeColor=this.fillColor=null}Xw(a){this.qa().Xw(a)}setFillColor(a){this.fillColor||R(this,()=>{this.fillColor=olympe.j.Wc();this.qa().fA(this.fillColor.sk(),this.fillColor.qk(),this.fillColor.nk(),this.fillColor.bl())});J(this.fillColor,a);return this}setStrokeColor(a){this.strokeColor||R(this,()=>{this.strokeColor=olympe.j.Wc();this.qa().oA(this.strokeColor.sk(),
785
+ return this.F}setScale(a){this.R||R(this,()=>{this.R=olympe.j.ja();this.$().setScale(this.R)});J(this.R,a);return this}Zp(){this.R||this.setScale(olympe.j.ja(1));return this.R}};olympe.ui.P.vd.prototype.$.K=new olympe.j.J(()=>olympe.N.P.vd,[]);olympe.ui.P.vd.prototype.ge.K=olympe.j.J.V;olympe.ui.P.vd.prototype.la.K=olympe.j.J.V;olympe.ui.P.vd.prototype.Zp.K=new olympe.j.J(()=>olympe.j.VZ,[]);olympe.ui.P.Bc=class extends olympe.ui.P.vd{constructor(a){super(a);this.C=this.sg=this.wg=this.strokeLinecap=this.ca=this.na=this.strokeWidth=this.strokeColor=this.fillColor=null}Xw(a){this.qa().Xw(a)}setFillColor(a){this.fillColor||R(this,()=>{this.fillColor=olympe.j.Wc();this.qa().fA(this.fillColor.sk(),this.fillColor.qk(),this.fillColor.nk(),this.fillColor.bl())});J(this.fillColor,a);return this}setStrokeColor(a){this.strokeColor||R(this,()=>{this.strokeColor=olympe.j.Wc();this.qa().oA(this.strokeColor.sk(),
785
786
  this.strokeColor.qk(),this.strokeColor.nk(),this.strokeColor.bl())});J(this.strokeColor,a);return this}Cu(a){this.strokeWidth||R(this,()=>{this.strokeWidth=olympe.j.ja();this.qa().Cu(this.strokeWidth)});J(this.strokeWidth,a);return this}ox(a){this.na||R(this,()=>{this.na=olympe.j.yb();this.qa().ox(this.na)});J(this.na,a);return this}nx(a){this.ca||R(this,()=>{this.ca=olympe.j.ja();this.qa().nx(this.ca)});J(this.ca,a);return this}px(a){this.strokeLinecap||R(this,()=>{this.strokeLinecap=olympe.j.yb();
786
- this.qa().px(this.strokeLinecap)});J(this.strokeLinecap,a);return this}ls(a){const b=c=>{this.qa().ls(c.bq())};a.bh?Cb(a,b):b(a);return this}yx(){this.qa().yx()}ou(a){const b=c=>{this.qa().ou(c.qa())};a.bh?Cb(a,b):b(a);return this}zx(){this.qa().zx()}bx(a){olympe.j.bb([a],b=>{this.qa().bx(b.qa())});return this}Ax(){this.qa().Ax()}rotate(a,b,c){this.qa().rotate(a,b,c);return this}SQ(a,b={}){this.C||(this.C=new olympe.j.Qd('tooltipContext'));const c=b.delay||500;this.C.run(()=>{let d=!1;const e=olympe.ui.Wa.kf();
787
- let f;const g=(m,n)=>{const p=olympe.j.Ua(a);p&&0!==p.valueOf().length&&(m?f=tc(()=>{f=void 0;b.vx=n.tg();e.VD(p,b);d=!0},c.valueOf()):f?(uc(f),f=void 0):(e.ww(),d=!1))},k=this.ij(m=>{g(!0,m)}),l=this.Ci(m=>{g(!1,m)});this.C.onDestroy(()=>{d&&(e.ww(),d=!1);this.xk(k);this.Qj(l)})});return this}RQ(){this.C&&this.C.destroy();this.C=null;return this}Ia(){this.wg||(this.wg=new olympe.ui.Z.qv(this.qa()));return this.wg}bd(a,b,c){return this.Ia().bd(a,b,c)}Pj(a){this.Ia().Pj(a)}Jm(a,b,c){return this.Ia().Jm(a,
787
+ this.qa().px(this.strokeLinecap)});J(this.strokeLinecap,a);return this}ls(a){const b=c=>{this.qa().ls(c.bq())};a.bh?Cb(a,b):b(a);return this}yx(){this.qa().yx()}ou(a){const b=c=>{this.qa().ou(c.qa())};a.bh?Cb(a,b):b(a);return this}zx(){this.qa().zx()}bx(a){olympe.j.bb([a],b=>{this.qa().bx(b.qa())});return this}Ax(){this.qa().Ax()}rotate(a,b,c){this.qa().rotate(a,b,c);return this}TQ(a,b={}){this.C||(this.C=new olympe.j.Qd('tooltipContext'));const c=b.delay||500;this.C.run(()=>{let d=!1;const e=olympe.ui.Wa.kf();
788
+ let f;const g=(m,n)=>{const p=olympe.j.Ua(a);p&&0!==p.valueOf().length&&(m?f=tc(()=>{f=void 0;b.vx=n.tg();e.VD(p,b);d=!0},c.valueOf()):f?(uc(f),f=void 0):(e.ww(),d=!1))},k=this.ij(m=>{g(!0,m)}),l=this.Ci(m=>{g(!1,m)});this.C.onDestroy(()=>{d&&(e.ww(),d=!1);this.xk(k);this.Qj(l)})});return this}SQ(){this.C&&this.C.destroy();this.C=null;return this}Ia(){this.wg||(this.wg=new olympe.ui.Z.qv(this.qa()));return this.wg}bd(a,b,c){return this.Ia().bd(a,b,c)}Pj(a){this.Ia().Pj(a)}Jm(a,b,c){return this.Ia().Jm(a,
788
789
  b,c)}lq(a){this.Ia().lq(a)}co(){return this.Ia().co()}fo(){return this.Ia().fo()}pk(){return this.Ia().pk()}eo(){return this.Ia().eo()}rm(){return this.Ia().rm()}sm(){return this.Ia().sm()}ij(a,b,c){return this.Ia().ij(a,b,c)}xk(a){this.Ia().xk(a)}Ci(a,b,c){return this.Ia().Ci(a,b,c)}Qj(a){this.Ia().Qj(a)}eh(a,b,c){return this.Ia().eh(a,b,c)}wk(a){this.Ia().wk(a)}Sg(a,b,c){return this.Ia().Sg(a,b,c)}Ig(a){this.Ia().Ig(a)}Eh(){return this.Ia().Eh()}Fm(){return this.Ia().Fm()}Gm(){return this.Ia().Gm()}wm(){return this.Ia().wm()}xm(){return this.Ia().xm()}vm(){return this.Ia().vm()}um(){return this.Ia().um()}Ck(a,
789
790
  b,c){return this.Ia().Ck(a,b,c)}ro(a){return this.Ia().ro(a)}Bk(a,b,c){return this.Ia().Bk(a,b,c)}fj(a){return this.Ia().fj(a)}Bo(a,b,c){return this.Ia().Bo(a,b,c)}uq(a){return this.Ia().uq(a)}Mm(a,b,c){return this.Ia().Mm(a,b,c)}qo(a){return this.Ia().qo(a)}ko(){return this.Ia().ko()}xo(a,b,c){return this.Ia().xo(a,b,c)}wo(a,b,c){return this.Ia().wo(a,b,c)}sq(a){return this.Ia().sq(a)}Im(a){return this.Ia().Im(a)}tm(){return this.Ia().tm()}bo(){return this.Ia().bo()}pm(){return this.Ia().pm()}tb(){this.sg||
790
791
  (this.sg=new olympe.ui.Z.$u(this.qa()));return this.sg}fl(){return this.tb().fl()}kl(){return this.tb().kl()}gl(){return this.tb().gl()}ym(){return this.tb().ym()}hl(a){return this.tb().hl(a||250)}jl(){return this.tb().jl()}il(){return this.tb().il()}wq(a,b,c){return this.tb().wq(a,b,c)}mq(a){this.tb().mq(a)}Cq(a,b,c){return this.tb().Cq(a,b,c)}vq(a){this.tb().vq(a)}xq(a,b,c){return this.tb().xq(a,b,c)}nq(a){this.tb().nq(a)}Xr(a,b,c){return this.tb().Xr(a,b,c)}Vr(a){this.tb().Vr(a)}yq(a,b,c,d){return this.tb().yq(a,
791
- b,c,d)}oq(a){this.tb().oq(a)}zq(a,b,c){return this.tb().zq(a,b,c)}pq(a){this.tb().pq(a)}Bq(a,b,c){return this.tb().Bq(a,b,c)}tq(a){this.tb().tq(a)}Aq(a,b,c){return this.tb().Aq(a,b,c)}Ba(a){this.tb().Ba(a)}qm(){return this.tb().qm()}sl(a){this.Ia().sl(a)}qq(a){this.Ia().qq(a)}rq(a){this.Ia().rq(a)}Ak(a,b,c){return this.Ia().Ak(a,b,c)}uo(a,b,c){return this.Ia().uo(a,b,c)}vo(a,b,c){return this.Ia().vo(a,b,c)}};olympe.ui.P.Bc.ua=[olympe.ui.Z.xc,olympe.ui.Z.Od];h=olympe.ui.P.Bc.prototype;h.SQ.K=olympe.j.J.C([]);
792
- h.RQ.K=olympe.j.J.C([]);h.co.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.fo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pk.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.eo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.rm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.sm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.Eh.K=olympe.j.J.U;h.Fm.K=olympe.j.J.U;h.Gm.K=olympe.j.J.U;h.wm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);
792
+ b,c,d)}oq(a){this.tb().oq(a)}zq(a,b,c){return this.tb().zq(a,b,c)}pq(a){this.tb().pq(a)}Bq(a,b,c){return this.tb().Bq(a,b,c)}tq(a){this.tb().tq(a)}Aq(a,b,c){return this.tb().Aq(a,b,c)}Ba(a){this.tb().Ba(a)}qm(){return this.tb().qm()}sl(a){this.Ia().sl(a)}qq(a){this.Ia().qq(a)}rq(a){this.Ia().rq(a)}Ak(a,b,c){return this.Ia().Ak(a,b,c)}uo(a,b,c){return this.Ia().uo(a,b,c)}vo(a,b,c){return this.Ia().vo(a,b,c)}};olympe.ui.P.Bc.ua=[olympe.ui.Z.xc,olympe.ui.Z.Od];h=olympe.ui.P.Bc.prototype;h.TQ.K=olympe.j.J.C([]);
793
+ h.SQ.K=olympe.j.J.C([]);h.co.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.fo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pk.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.eo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.rm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.sm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.Eh.K=olympe.j.J.U;h.Fm.K=olympe.j.J.U;h.Gm.K=olympe.j.J.U;h.wm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);
793
794
  h.xm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.vm.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.um.K=new olympe.j.J(()=>olympe.ui.Z.TouchEvent,[]);h.ko.K=new olympe.j.J(()=>olympe.ui.Z.Qk,[]);h.tm.K=new olympe.j.J(()=>olympe.ui.Z.fk,[]);h.bo.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.pm.K=new olympe.j.J(()=>olympe.ui.Z.MouseEvent,[]);h.fl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.kl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);
794
- h.gl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.ym.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.hl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.jl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.il.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);olympe.ui.P.be=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.be,olympe.host.ra.ob.DK));this.absolute=void 0}bq(){return this.qa()}addElement(a,b){this.bq().addElement(a.qa(),b);return this}bu(a){this.bq().bu(a);return this}Kw(){this.bq().Kw();return this}Di(a){const b=this;this.absolute||R(this,()=>{b.absolute=olympe.j.Xc();b.bq().Di(b.absolute)});J(this.absolute,a);return this}};olympe.ui.P.Bg=class extends olympe.ui.P.vd{constructor(a){super(a)}};function ce(a){return a.value instanceof olympe.ui.P.Bg?a.value.qa():a.value}olympe.ui.P.iZ=class{constructor(a){this.value=null;a&&this.Bf(a)}Bf(a){this.value=a}getValue(){return this.value}};olympe.ui.P.wn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.wn,olympe.host.ra.ob.EK));this.amount=void 0}C(){return this.qa()}Nw(a){this.amount||R(this,()=>{this.amount=olympe.j.ja();this.C().Nw(this.amount)});J(this.amount,a);return this}nf(a){const b=c=>{this.C().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.wn.prototype.C.K=new olympe.j.J(()=>olympe.N.P.wn,[]);olympe.ui.P.Ol=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Ol,olympe.host.ra.ob.BK));this.O=void 0}U(){return this.qa()}setRadius(a){this.O||R(this,()=>{this.O=olympe.j.ja();this.U().setRadius(this.O)});J(this.O,a);return this}Kr(){this.O||this.setRadius(1);return this.O}};olympe.ui.P.Ol.prototype.U.K=new olympe.j.J(()=>olympe.N.P.Ol,[]);olympe.ui.P.Sq=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Sq,olympe.host.ra.ob.FK));this.C=null}setMatrix(a){this.C||R(this,()=>{this.C=olympe.j.qb(olympe.pa.Jn);this.qa().setMatrix(this.C.getStringValue())});J(this.C,a);return this}nf(a){const b=c=>{this.qa().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.yn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.yn,olympe.host.ra.ob.GK));this.mode=void 0}ex(a){this.mode||R(this,()=>{this.mode=olympe.j.yb();this.qa().ex(this.mode)});J(this.mode,a);return this}nf(a){const b=c=>{this.qa().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}$w(a){const b=c=>{this.qa().$w(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.An=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.An,olympe.host.ra.ob.CK));this.O=void 0}setRadius(a){const b=this;this.O||R(this,()=>{b.O=olympe.j.Yc();b.qa().setRadius(b.O.ma(),b.O.sa())});J(this.O,a);return this}Kr(){this.O||this.setRadius(new olympe.j.ia);return this.O}};olympe.ui.P.Bn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Bn,olympe.host.ra.ob.HK))}};olympe.ui.P.xh=class extends olympe.ui.P.Be{constructor(a){super(a)}Nv(a,b){this.qa().Nv(a.qa(),b);return this}fu(a){this.qa().fu(a);return this}};olympe.ui.P.Lk=class extends olympe.ui.P.Be{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.P.Lk,olympe.host.ra.ob.LK));this.offset=olympe.j.ja();this.C=olympe.j.Wc();this.qa().gx(this.offset);this.qa().nA(this.C.sk(),this.C.qk(),this.C.nk(),this.C.bl());void 0!==a&&J(this.offset,a);void 0!==b&&J(this.C,b)}gx(a){J(this.offset,a);return this}};olympe.ui.P.ar=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.ar,olympe.host.ra.ob.MK))}appendChild(a,b){this.qa().appendChild(a.qa(),b);return this}removeChild(a){this.qa().removeChild(a);return this}};olympe.ui.P.Image=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Image,olympe.host.ra.ob.NK));this.U=this.O=this.aspectRatio=this.source=void 0}he(a){const b=this;this.source||R(this,()=>{b.source=olympe.j.yb();b.qa().he(b.source)});J(this.source,a);return this}vl(a){const b=this;this.aspectRatio||R(this,()=>{b.aspectRatio=olympe.j.yb();b.qa().vl(b.aspectRatio)});J(this.aspectRatio,a);return this}Po(a){const b=this;this.O||R(this,()=>{b.O=olympe.j.yb();b.qa().ms(b.O)});
795
+ h.gl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.ym.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.hl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.jl.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);h.il.K=new olympe.j.J(()=>olympe.ui.Z.GestureEvent,[]);olympe.ui.P.be=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.be,olympe.host.ra.ob.DK));this.absolute=void 0}bq(){return this.qa()}addElement(a,b){this.bq().addElement(a.qa(),b);return this}bu(a){this.bq().bu(a);return this}Kw(){this.bq().Kw();return this}Di(a){const b=this;this.absolute||R(this,()=>{b.absolute=olympe.j.Xc();b.bq().Di(b.absolute)});J(this.absolute,a);return this}};olympe.ui.P.Bg=class extends olympe.ui.P.vd{constructor(a){super(a)}};function ce(a){return a.value instanceof olympe.ui.P.Bg?a.value.qa():a.value}olympe.ui.P.jZ=class{constructor(a){this.value=null;a&&this.Bf(a)}Bf(a){this.value=a}getValue(){return this.value}};olympe.ui.P.wn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.wn,olympe.host.ra.ob.EK));this.amount=void 0}C(){return this.qa()}Nw(a){this.amount||R(this,()=>{this.amount=olympe.j.ja();this.C().Nw(this.amount)});J(this.amount,a);return this}nf(a){const b=c=>{this.C().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.wn.prototype.C.K=new olympe.j.J(()=>olympe.N.P.wn,[]);olympe.ui.P.Ol=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Ol,olympe.host.ra.ob.BK));this.O=void 0}U(){return this.qa()}setRadius(a){this.O||R(this,()=>{this.O=olympe.j.ja();this.U().setRadius(this.O)});J(this.O,a);return this}Kr(){this.O||this.setRadius(1);return this.O}};olympe.ui.P.Ol.prototype.U.K=new olympe.j.J(()=>olympe.N.P.Ol,[]);olympe.ui.P.Sq=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Sq,olympe.host.ra.ob.FK));this.C=null}setMatrix(a){this.C||R(this,()=>{this.C=olympe.j.qb(olympe.pa.Jn);this.qa().setMatrix(this.C.getStringValue())});J(this.C,a);return this}nf(a){const b=c=>{this.qa().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.yn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.yn,olympe.host.ra.ob.GK));this.mode=void 0}ex(a){this.mode||R(this,()=>{this.mode=olympe.j.yb();this.qa().ex(this.mode)});J(this.mode,a);return this}nf(a){const b=c=>{this.qa().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}$w(a){const b=c=>{this.qa().$w(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.An=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.An,olympe.host.ra.ob.CK));this.O=void 0}setRadius(a){const b=this;this.O||R(this,()=>{b.O=olympe.j.Yc();b.qa().setRadius(b.O.ma(),b.O.sa())});J(this.O,a);return this}Kr(){this.O||this.setRadius(new olympe.j.ia);return this.O}};olympe.ui.P.Bn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Bn,olympe.host.ra.ob.HK))}};olympe.ui.P.xh=class extends olympe.ui.P.Be{constructor(a){super(a)}Nv(a,b){this.qa().Nv(a.qa(),b);return this}fu(a){this.qa().fu(a);return this}};olympe.ui.P.Lk=class extends olympe.ui.P.Be{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.P.Lk,olympe.host.ra.ob.LK));this.offset=olympe.j.ja();this.C=olympe.j.Wc();this.qa().gx(this.offset);this.qa().nA(this.C.sk(),this.C.qk(),this.C.nk(),this.C.bl());void 0!==a&&J(this.offset,a);void 0!==b&&J(this.C,b)}gx(a){J(this.offset,a);return this}};olympe.ui.P.ar=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.ar,olympe.host.ra.ob.MK))}appendChild(a,b){this.qa().appendChild(a.qa(),b);return this}removeChild(a){this.qa().removeChild(a);return this}};olympe.ui.P.Image=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Image,olympe.host.ra.ob.NK));this.U=this.O=this.aspectRatio=this.source=void 0}he(a){const b=this;this.source||R(this,()=>{b.source=olympe.j.yb();b.qa().he(b.source)});J(this.source,a);return this}vl(a){const b=this;this.aspectRatio||R(this,()=>{b.aspectRatio=olympe.j.yb();b.qa().vl(b.aspectRatio)});J(this.aspectRatio,a);return this}Po(a){const b=this;this.O||R(this,()=>{b.O=olympe.j.yb();b.qa().ms(b.O)});
795
796
  J(this.O,a);return this}zl(a){const b=this;this.U||R(this,()=>{b.U=olympe.j.yb();b.qa().zl(b.U)});J(this.U,a);return this}};olympe.ui.P.Nk=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Nk,olympe.host.ra.ob.IK));this.O=this.C=this.aspectRatio=this.source=void 0}he(a){const b=this;this.source||R(this,()=>{b.source=olympe.j.yb();b.qa().he(b.source)});J(this.source,a);return this}vl(a){const b=this;this.aspectRatio||R(this,()=>{b.aspectRatio=olympe.j.yb();b.qa().vl(b.aspectRatio)});J(this.aspectRatio,a);return this}Po(a){const b=this;this.C||R(this,()=>{b.C=olympe.j.yb();b.qa().ms(b.C)});J(this.C,
796
797
  a);return this}zl(a){const b=this;this.O||R(this,()=>{b.O=olympe.j.yb();b.qa().zl(b.O)});J(this.O,a);return this}};olympe.ui.P.ni=class extends olympe.ui.P.xh{constructor(){super(olympe.ui.Wa.C(olympe.N.P.ni,olympe.host.ra.ob.OK));this.F=this.C=void 0}ix(a){this.C||R(this,function(){this.C=olympe.j.Yc();this.qa().ix(this.C.ma(),this.C.sa())}.bind(this));J(this.C,a);return this}jx(a){this.F||R(this,function(){this.F=olympe.j.Yc();this.qa().jx(this.F.ma(),this.F.sa())}.bind(this));J(this.F,a);return this}};olympe.ui.P.In=class extends olympe.ui.P.vd{constructor(){super(olympe.ui.Wa.C(olympe.N.P.In,olympe.host.ra.ob.PK));this.absolute=void 0}appendChild(a,b){this.qa().appendChild(a.qa(),b);return this}removeChild(a){this.qa().removeChild(a);return this}Di(a){this.absolute||R(this,()=>{this.absolute=olympe.j.Xc();this.qa().Di(this.absolute)});J(this.absolute,a);return this}};olympe.ui.P.Kn=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Kn,olympe.host.ra.ob.JK))}Kv(a,b){const c=d=>{this.qa().nf(ce(d),b)};a.bh?Cb(a,c):c(a);return this}du(a){this.qa().du(a);return this}};olympe.ui.P.Sk=class extends olympe.ui.P.Bg{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Sk,olympe.host.ra.ob.KK));this.offset=void 0}Vw(a){this.offset||R(this,()=>{this.offset=olympe.j.Yc();this.qa().Vw(this.offset.ma(),this.offset.sa())});J(this.offset,a);return this}nf(a){const b=c=>{this.qa().nf(ce(c))};a.bh?Cb(a,b):b(a);return this}};olympe.ui.P.Tk=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Tk,olympe.host.ra.ob.QK));this.O=this.U=void 0;this.V=1}Qw(a){const b=this;this.U||R(this,()=>{b.U=olympe.j.Xc();b.qa().Qw(b.U)});J(this.U,a);return this}fh(a){const b=this;this.O||R(this,()=>{b.O=olympe.j.yb();b.qa().fh(b.O)});J(this.O,a);return this}Kp(a,b){this.qa().Kp(a.qa(),b);return this}eu(a){this.qa().eu(a);return this}moveTo(a){this.Kp(new olympe.ui.P.Ey(a),'seg'+this.V++);return this}lineTo(a){this.Kp(new olympe.ui.P.Dy(a),
797
798
  'seg'+this.V++);return this}arcTo(a,b,c,d,e,f){this.Kp(new olympe.ui.P.Si(a,b,c,d,e,f),'seg'+this.V++);return this}};olympe.ui.P.Of=class extends olympe.ui.P.Be{constructor(a,b){super(a);this.position=olympe.j.Yc();this.qa().setPosition(this.position.ma(),this.position.sa());b&&J(this.position,b)}setPosition(a){J(this.position,a);return this}ge(){return this.position}};olympe.ui.P.Of.prototype.ge.K=olympe.j.J.V;olympe.ui.P.Si=class extends olympe.ui.P.Of{constructor(a,b,c,d,e,f){super(olympe.ui.Wa.C(olympe.N.P.Si,olympe.host.ra.ob.RK),a);this.O=olympe.j.ja();this.C=olympe.j.ja();this.U=olympe.j.ja(0);this.F=olympe.j.Xc(!1);this.R=olympe.j.Xc(!1);this.qa().kx(this.O);this.qa().lx(this.C);this.qa().tx(this.U);this.qa().ax(this.F);this.qa().qx(this.R);void 0!==b&&(J(this.O,b),J(this.C,b));void 0!==c&&J(this.C,c);void 0!==d&&J(this.U,d);void 0!==e&&J(this.F,e);void 0!==f&&J(this.R,f)}kx(a){J(this.O,a);return this}lx(a){J(this.C,
798
- a);return this}tx(a){J(this.U,a);return this}ax(a){J(this.F,a);return this}qx(a){J(this.R,a);return this}};olympe.ui.P.pi=class extends olympe.ui.P.Of{constructor(a,b,c){super(olympe.ui.Wa.C(olympe.N.P.pi,olympe.host.ra.ob.SK),a);this.C=olympe.j.Yc();this.F=olympe.j.Yc();this.qa().Sw(this.C.ma(),this.C.sa());this.qa().Tw(this.F.ma(),this.F.sa());b&&J(this.C,b);c&&J(this.F,c)}Sw(a){J(this.C,a);return this}Tw(a){J(this.F,a);return this}};olympe.ui.P.Dy=class extends olympe.ui.P.Of{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.P.Dy,olympe.host.ra.ob.TK),a);this.C=null;void 0!==b&&this.qd(b)}qd(a){null===this.C&&this.C.ac.destroy();this.C=this.qa().qd(a);return this}};olympe.ui.P.Ey=class extends olympe.ui.P.Of{constructor(a){super(olympe.ui.Wa.C(olympe.N.P.Ey,olympe.host.ra.ob.UK),a)}};olympe.ui.P.Ln=class extends olympe.ui.P.Of{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.P.Ln,olympe.host.ra.ob.VK),a);this.C=olympe.j.Yc();this.qa().Rw(this.C.ma(),this.C.sa());b&&J(this.C,b)}Rw(a){J(this.C,a);return this}};olympe.ui.P.On=class extends olympe.ui.P.xh{constructor(){super(olympe.ui.Wa.C(olympe.N.P.On,olympe.host.ra.ob.WK));this.F=this.C=void 0}Ow(a){this.C||R(this,()=>{this.C=olympe.j.Yc();this.qa().Ow(this.C.ma(),this.C.sa())});J(this.C,a);return this}Zw(a){this.F||R(this,()=>{this.F=olympe.j.Yc();this.qa().Zw(this.F.ma(),this.F.sa())});J(this.F,a);return this}};olympe.ui.P.te=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.te,olympe.host.ra.ob.XK))}lc(a){void 0!==this.O&&this.O.ac.destroy();this.O=this.qa().lc(a);return this}};olympe.ui.P.u_=class{constructor(){this.height=this.width=100;this.strokeWidth=1;this.strokeColor='rgb(0,0,0)';this.F='Arial,Helvetica';this.fontSize=12;this.C=this.path=''}Lb(a,b){this.width=a;this.height=b;return this}Cu(a){this.strokeWidth=a}setStrokeColor(a,b,c,d){this.strokeColor=void 0===d?`rgb(${a},${b},${c})`:`rgba(${a},${b},${c},${d})`}moveTo(a,b){this.path+=`M${a} ${b}`;return this}lineTo(a,b){this.path+=`L${a} ${b}`;return this}zb(a){this.F=a;return this}Bb(a){this.fontSize=a;return this}clear(){this.path=
799
+ a);return this}tx(a){J(this.U,a);return this}ax(a){J(this.F,a);return this}qx(a){J(this.R,a);return this}};olympe.ui.P.pi=class extends olympe.ui.P.Of{constructor(a,b,c){super(olympe.ui.Wa.C(olympe.N.P.pi,olympe.host.ra.ob.SK),a);this.C=olympe.j.Yc();this.F=olympe.j.Yc();this.qa().Sw(this.C.ma(),this.C.sa());this.qa().Tw(this.F.ma(),this.F.sa());b&&J(this.C,b);c&&J(this.F,c)}Sw(a){J(this.C,a);return this}Tw(a){J(this.F,a);return this}};olympe.ui.P.Dy=class extends olympe.ui.P.Of{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.P.Dy,olympe.host.ra.ob.TK),a);this.C=null;void 0!==b&&this.qd(b)}qd(a){null===this.C&&this.C.ac.destroy();this.C=this.qa().qd(a);return this}};olympe.ui.P.Ey=class extends olympe.ui.P.Of{constructor(a){super(olympe.ui.Wa.C(olympe.N.P.Ey,olympe.host.ra.ob.UK),a)}};olympe.ui.P.Ln=class extends olympe.ui.P.Of{constructor(a,b){super(olympe.ui.Wa.C(olympe.N.P.Ln,olympe.host.ra.ob.VK),a);this.C=olympe.j.Yc();this.qa().Rw(this.C.ma(),this.C.sa());b&&J(this.C,b)}Rw(a){J(this.C,a);return this}};olympe.ui.P.On=class extends olympe.ui.P.xh{constructor(){super(olympe.ui.Wa.C(olympe.N.P.On,olympe.host.ra.ob.WK));this.F=this.C=void 0}Ow(a){this.C||R(this,()=>{this.C=olympe.j.Yc();this.qa().Ow(this.C.ma(),this.C.sa())});J(this.C,a);return this}Zw(a){this.F||R(this,()=>{this.F=olympe.j.Yc();this.qa().Zw(this.F.ma(),this.F.sa())});J(this.F,a);return this}};olympe.ui.P.te=class extends olympe.ui.P.Bc{constructor(){super(olympe.ui.Wa.C(olympe.N.P.te,olympe.host.ra.ob.XK))}lc(a){void 0!==this.O&&this.O.ac.destroy();this.O=this.qa().lc(a);return this}};olympe.ui.P.v_=class{constructor(){this.height=this.width=100;this.strokeWidth=1;this.strokeColor='rgb(0,0,0)';this.F='Arial,Helvetica';this.fontSize=12;this.C=this.path=''}Lb(a,b){this.width=a;this.height=b;return this}Cu(a){this.strokeWidth=a}setStrokeColor(a,b,c,d){this.strokeColor=void 0===d?`rgb(${a},${b},${c})`:`rgba(${a},${b},${c},${d})`}moveTo(a,b){this.path+=`M${a} ${b}`;return this}lineTo(a,b){this.path+=`L${a} ${b}`;return this}zb(a){this.F=a;return this}Bb(a){this.fontSize=a;return this}clear(){this.path=
799
800
  this.C='';return this}toString(){var a='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+this.width+' '+this.height+'">';''!==this.C&&(a+='<g font-family="'+this.F+'" font-size="'+this.fontSize+'" stroke="none" fill="rgb(255,255,255)">'+this.C+'</g>');''!==this.path&&(a+='<path stroke-width="'+this.strokeWidth+'" stroke="'+this.strokeColor+'" d="'+this.path+'"/>');return a+'</svg>'}ZD(){return'data:image/svg+xml,'+encodeURIComponent(this.toString())}};olympe.ui.P.oK=class extends olympe.ui.P.Bc{constructor(a){super(a);this.text=null;this.ga=this.V=this.U=this.fontSize=void 0;this.O=null}Sb(a){const b=this;this.text||R(this,()=>{b.text=olympe.j.yb();b.qa().Sb(b.text)});J(this.text,a);return this}ol(){this.text||this.Sb('');return this.text}Lb(){return this}la(){this.O||R(this,()=>{this.O=new olympe.j.ia(0,0);this.qa().Jo((a,b)=>{this.O.re(a);this.O.Ie(b)})});return this.O}Bb(a){const b=this;this.fontSize||R(this,()=>{b.fontSize=olympe.j.ja();b.qa().Bb(b.fontSize)});
800
- J(this.fontSize,a);return this}zb(a){const b=this;this.U||R(this,()=>{b.U=olympe.j.yb();b.qa().zb(b.U)});J(this.U,a);return this}Eb(a){const b=this;this.V||R(this,()=>{b.V=olympe.j.ja();b.qa().Eb(b.V)});J(this.V,a);return this}ms(a){const b=this;this.ga||R(this,()=>{b.ga=olympe.j.yb();b.qa().ms(b.ga)});J(this.ga,a);return this}};olympe.ui.P.Text=class extends olympe.ui.P.oK{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Text,olympe.host.ra.ob.ZK))}};olympe.ui.P.Dv=class extends olympe.ui.P.oK{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Dv,olympe.host.ra.ob.$K))}qs(a){olympe.j.bb([a],b=>{this.qa().qs(b.qa())});return this}};olympe.ui.Qg={};olympe.ui.Qg.lb=class{constructor(a,b){this.Y=a;this.U=b;this.V=olympe.j.qb(olympe.ui.D.ba.oh,new olympe.ui.D.ba.Ux);this.$=new olympe.j.Qy;this.ca=new olympe.ui.D.Pf(this)}C(a,b){return mc(this.U,a,b)}kf(){return this.ca}ei(a){this.kf().ei(a);return this}F(){return this.V}ga(a){J(this.V,a)}O(a){return gc(this.$,a)}R(a){ec(this.$,a)}Gb(){return this.Y}Yp(a){a=this.U.C.get(a.LC().fL)||null;return null!==a&&'function'===typeof a.Yp?a.Yp():null}};olympe.ui.Qg.lb.ua=[olympe.ui.lb];olympe.ui.fa={sb:'ui.Manager',Qb:'ui.Logger',wB:'ui.MediaDeviceProvider'};olympe.ui.Wa=null;olympe.oa.Fe(function(a){A(a,olympe.ui.fa.sb,[olympe.ui.fa.Qb,olympe.host.fa.sb],(b,c)=>{null===olympe.ui.Wa&&(olympe.ui.Wa=new olympe.ui.Qg.lb(b,c));return olympe.ui.Wa},!0);A(a,olympe.ui.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('ui'));z(a,olympe.ui.fa.wB,olympe.ui.media.zp)},'olympe.ui');olympe.oa.run([olympe.ui.fa.sb],a=>a,'olympe.ui');olympe.G.H.ui={};olympe.G.H.ui.Df=class extends olympe.G.H.host.Pi{constructor(a,b){super(a,b)}};olympe.G.H.ui.Df.ua=[olympe.N.Df];olympe.G.H.ui.pa={};const de='b i s sub sup u br'.split(' '),ee=new RegExp('</?('+de.join('|')+')/?>'),fe=new RegExp('<(?!/?('+de.join('|')+')/?>)','g'),ge=new RegExp('>(?!/?('+de.map(a=>a.split('').reverse().join('')).join('|')+')/?<)','g');olympe.G.H.ui.pa.qZ=class{};olympe.G.H.ui.Sa={};olympe.G.H.ui.Sa.dv=class{constructor(a){this.C=a}addEventListener(a,b,c){this.C.addEventListener(a,b,c||!1)}removeEventListener(a,b,c){this.C.removeEventListener(a,b,c||!1)}};olympe.G.H.ui.Sa.cr=class extends olympe.G.H.ui.Sa.dv{constructor(a){super(a);this.F=void 0}tl(a){void 0===this.F&&(this.F=b=>{b.stopPropagation();a(this.C.value)},this.addEventListener('input',this.F,!1))}Ll(){this.F&&(this.removeEventListener('input',this.F),this.F=void 0)}};olympe.G.H.ui.Sa.cr.prototype.unregisterValueChanged=olympe.G.H.ui.Sa.cr.prototype.Ll;olympe.G.H.ui.Sa.cr.prototype.registerValueChanged=olympe.G.H.ui.Sa.cr.prototype.tl;olympe.G.H.ui.Sa.cr.ua=[olympe.N.Z.fr];olympe.G.H.ui.Sa.Oh=class extends olympe.G.H.ui.Sa.dv{constructor(a){super(a);this.R=this.F=this.O=null}Ek(a){null===this.O&&(this.O=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)},this.addEventListener('keypress',this.O,!1))}rj(){this.removeEventListener('keypress',this.O);this.O=null}Dk(a){null===this.F&&(this.F=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||
801
+ J(this.fontSize,a);return this}zb(a){const b=this;this.U||R(this,()=>{b.U=olympe.j.yb();b.qa().zb(b.U)});J(this.U,a);return this}Eb(a){const b=this;this.V||R(this,()=>{b.V=olympe.j.ja();b.qa().Eb(b.V)});J(this.V,a);return this}ms(a){const b=this;this.ga||R(this,()=>{b.ga=olympe.j.yb();b.qa().ms(b.ga)});J(this.ga,a);return this}};olympe.ui.P.Text=class extends olympe.ui.P.oK{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Text,olympe.host.ra.ob.ZK))}};olympe.ui.P.Dv=class extends olympe.ui.P.oK{constructor(){super(olympe.ui.Wa.C(olympe.N.P.Dv,olympe.host.ra.ob.$K))}qs(a){olympe.j.bb([a],b=>{this.qa().qs(b.qa())});return this}};olympe.ui.Qg={};olympe.ui.Qg.lb=class{constructor(a,b){this.Y=a;this.U=b;this.V=olympe.j.qb(olympe.ui.D.ba.oh,new olympe.ui.D.ba.Ux);this.$=new olympe.j.Qy;this.ca=new olympe.ui.D.Pf(this)}C(a,b){return mc(this.U,a,b)}kf(){return this.ca}ei(a){this.kf().ei(a);return this}F(){return this.V}ga(a){J(this.V,a)}O(a){return gc(this.$,a)}R(a){ec(this.$,a)}Gb(){return this.Y}Yp(a){a=this.U.C.get(a.LC().fL)||null;return null!==a&&'function'===typeof a.Yp?a.Yp():null}};olympe.ui.Qg.lb.ua=[olympe.ui.lb];olympe.ui.fa={sb:'ui.Manager',Qb:'ui.Logger',wB:'ui.MediaDeviceProvider'};olympe.ui.Wa=null;olympe.oa.Fe(function(a){A(a,olympe.ui.fa.sb,[olympe.ui.fa.Qb,olympe.host.fa.sb],(b,c)=>{null===olympe.ui.Wa&&(olympe.ui.Wa=new olympe.ui.Qg.lb(b,c));return olympe.ui.Wa},!0);A(a,olympe.ui.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('ui'));z(a,olympe.ui.fa.wB,olympe.ui.media.zp)},'olympe.ui');olympe.oa.run([olympe.ui.fa.sb],a=>a,'olympe.ui');olympe.G.H.ui={};olympe.G.H.ui.Df=class extends olympe.G.H.host.Pi{constructor(a,b){super(a,b)}};olympe.G.H.ui.Df.ua=[olympe.N.Df];olympe.G.H.ui.pa={};const de='b i s sub sup u br'.split(' '),ee=new RegExp('</?('+de.join('|')+')/?>'),fe=new RegExp('<(?!/?('+de.join('|')+')/?>)','g'),ge=new RegExp('>(?!/?('+de.map(a=>a.split('').reverse().join('')).join('|')+')/?<)','g');olympe.G.H.ui.pa.rZ=class{};olympe.G.H.ui.Sa={};olympe.G.H.ui.Sa.dv=class{constructor(a){this.C=a}addEventListener(a,b,c){this.C.addEventListener(a,b,c||!1)}removeEventListener(a,b,c){this.C.removeEventListener(a,b,c||!1)}};olympe.G.H.ui.Sa.cr=class extends olympe.G.H.ui.Sa.dv{constructor(a){super(a);this.F=void 0}tl(a){void 0===this.F&&(this.F=b=>{b.stopPropagation();a(this.C.value)},this.addEventListener('input',this.F,!1))}Ll(){this.F&&(this.removeEventListener('input',this.F),this.F=void 0)}};olympe.G.H.ui.Sa.cr.prototype.unregisterValueChanged=olympe.G.H.ui.Sa.cr.prototype.Ll;olympe.G.H.ui.Sa.cr.prototype.registerValueChanged=olympe.G.H.ui.Sa.cr.prototype.tl;olympe.G.H.ui.Sa.cr.ua=[olympe.N.Z.fr];olympe.G.H.ui.Sa.Oh=class extends olympe.G.H.ui.Sa.dv{constructor(a){super(a);this.R=this.F=this.O=null}Ek(a){null===this.O&&(this.O=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)},this.addEventListener('keypress',this.O,!1))}rj(){this.removeEventListener('keypress',this.O);this.O=null}Dk(a){null===this.F&&(this.F=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||
801
802
  b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)},this.addEventListener('keydown',this.F,!1))}qj(){this.removeEventListener('keydown',this.F);this.F=null}Fk(a){null===this.R&&(this.R=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)},this.addEventListener('keyup',this.R,!1))}sj(){this.removeEventListener('keyup',this.R);this.R=null}};olympe.G.H.ui.Sa.Oh.prototype.unregisterKeyUp=olympe.G.H.ui.Sa.Oh.prototype.sj;
802
803
  olympe.G.H.ui.Sa.Oh.prototype.registerKeyUp=olympe.G.H.ui.Sa.Oh.prototype.Fk;olympe.G.H.ui.Sa.Oh.prototype.unregisterKeyDown=olympe.G.H.ui.Sa.Oh.prototype.qj;olympe.G.H.ui.Sa.Oh.prototype.registerKeyDown=olympe.G.H.ui.Sa.Oh.prototype.Dk;olympe.G.H.ui.Sa.Oh.prototype.unregisterKeyPressed=olympe.G.H.ui.Sa.Oh.prototype.rj;olympe.G.H.ui.Sa.Oh.prototype.registerKeyPressed=olympe.G.H.ui.Sa.Oh.prototype.Ek;olympe.G.H.ui.Sa.Oh.ua=[olympe.N.Z.rg];olympe.G.H.ui.Sa.Hc=class a extends olympe.G.H.ui.Sa.dv{constructor(b){super(b);this.R=Object.create(null);this.V=!1}ga(){this.V=!0}static C(b){let c=0;switch(b){case 0:c=1;break;case 1:c=4;break;case 2:c=2;break;case 3:c=8;break;case 4:c=16}return c}O(b,c){if(!this.R[b]){const d=e=>{e.stopPropagation();e.target!==this.C&&void 0!==e.target.tagName&&'a'===e.target.tagName.toLowerCase()||e.preventDefault();if('click'===b||'mouseup'===b||'mousedown'===b)document.activeElement&&document.activeElement.blur(),
803
804
  e.target.focus();if('click'===b&&this.V)this.V=!1;else{const f=this.C.getBoundingClientRect();c(e.pageX-f.left,e.pageY-f.top,e.pageX,e.pageY,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,a.C(e.button),e.buttons)}};this.R[b]=[d,!1];this.addEventListener(b,d,!1)}}$(b){if(!this.R.wheel){let c=d=>{d.stopPropagation();d.preventDefault();let e=this.C.getBoundingClientRect();b(d.deltaX,d.deltaY,d.pageX-e.left,d.pageY-e.top,d.pageX,d.pageY,d.ctrlKey,d.shiftKey,d.altKey,d.metaKey,olympe.G.H.ui.Sa.Hc.C(d.button),
@@ -853,7 +854,7 @@ olympe.G.H.ui.D.HTMLElement.ua=[olympe.N.D.Element];const qe=new Map,re=document
853
854
  olympe.G.H.ui.D.ce=class extends olympe.G.H.ui.D.HTMLElement{constructor(a,b){super(a,b,document.body);window.oncontextmenu=function(c){return 0===c.buttons};this.children=new Map;this.C=this.F=null;this.ya().style.width='100%';this.ya().style.height='100%';this.ya().style.position='fixed';this.ya().style.margin='0';this.ya().style.lineHeight='normal'}Iv(a){const b=document.createElement('link');b.type='text/css';b.rel='stylesheet';b.href=a;document.head.appendChild(b);for(const c of this.children.values())c.Hj()}Ww(a){let b=
854
855
  document.querySelector("link[rel~='icon']");b||(b=document.createElement('link'),b.rel='icon',document.getElementsByTagName('head')[0].appendChild(b));b.href=a}appendChild(a,b){a instanceof olympe.G.H.ui.D.tc||this.Gb().warn('Trying to attach a wrongly typed object to absPosLayer (only HTMLDockableElement objects can be used with DOM UI implementation');b||(b=olympe.G.H.ui.D.ce.Ag);this.children.get(b)&&this.removeChild(b);this.children.set(b,a);this.ya().appendChild(a.ya());a.setAttribute('name_As_A_Child',
855
856
  b);a.pf(this,b);a.kj();a.Hj()}removeChild(a){a||(a=olympe.G.H.ui.D.ce.Ag);const b=this.children.get(a);if(void 0!==b)try{this.ya().removeChild(b.ya()),b.parent=null,b.na=null,b.xl()}catch(c){this.Gb().debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.Gb().warn('Trying to remove a non existing child: '+a)}Cr(a){void 0!==a&&this.children.delete(a)}kg(){for(const a of this.children.keys())this.removeChild(a);this.children.clear()}ei(a){document.title=
856
- a}ad(){this.F||(this.F=new olympe.G.H.ui.Sa.Oh(this.ya()));return this.F}Ek(a){return this.ad().Ek(a)}rj(){return this.ad().rj()}Dk(a){return this.ad().Dk(a)}qj(){return this.ad().qj()}Fk(a){return this.ad().Fk(a)}sj(){return this.ad().sj()}Yz(a){this.C||(this.C=function(){setTimeout(function(){90===Math.abs(window.orientation)?a(olympe.ui.ha.$I.oR):a(olympe.ui.ha.$I.bS)},0)},{}.hasOwnProperty.call(window,'orientation')&&window.addEventListener('resize',this.C))}bE(){window.removeEventListener('resize',
857
+ a}ad(){this.F||(this.F=new olympe.G.H.ui.Sa.Oh(this.ya()));return this.F}Ek(a){return this.ad().Ek(a)}rj(){return this.ad().rj()}Dk(a){return this.ad().Dk(a)}qj(){return this.ad().qj()}Fk(a){return this.ad().Fk(a)}sj(){return this.ad().sj()}Yz(a){this.C||(this.C=function(){setTimeout(function(){90===Math.abs(window.orientation)?a(olympe.ui.ha.$I.pR):a(olympe.ui.ha.$I.cS)},0)},{}.hasOwnProperty.call(window,'orientation')&&window.addEventListener('resize',this.C))}bE(){window.removeEventListener('resize',
857
858
  this.C);this.C=null}O(a,b,c,d,e,f){f='font_'+f;let g=document.getElementById(f);g||(g=document.createElement('style'),g.id=f,document.body.appendChild(g));g.innerHTML=`@font-face {font-family:'${a}'; font-style:${b}; font-weight:${c}; src:${`url('${e}') format('${d}')`};`;b=()=>{(qe.get(a)||new Set).forEach(k=>k());qe.delete(a)};re?(qe.set(a,new Set),re.load(`1em ${a}`).then(b)):setTimeout(b,50)}R(a){(a=document.getElementById('font_'+a))&&a.parentNode.removeChild(a)}};
858
859
  olympe.G.H.ui.D.ce.prototype.unregisterScreenOrientation=olympe.G.H.ui.D.ce.prototype.bE;olympe.G.H.ui.D.ce.prototype.registerScreenOrientation=olympe.G.H.ui.D.ce.prototype.Yz;olympe.G.H.ui.D.ce.prototype.unregisterKeyUp=olympe.G.H.ui.D.ce.prototype.sj;olympe.G.H.ui.D.ce.prototype.registerKeyUp=olympe.G.H.ui.D.ce.prototype.Fk;olympe.G.H.ui.D.ce.prototype.unregisterKeyDown=olympe.G.H.ui.D.ce.prototype.qj;olympe.G.H.ui.D.ce.prototype.registerKeyDown=olympe.G.H.ui.D.ce.prototype.Dk;
859
860
  olympe.G.H.ui.D.ce.prototype.unregisterKeyPressed=olympe.G.H.ui.D.ce.prototype.rj;olympe.G.H.ui.D.ce.prototype.registerKeyPressed=olympe.G.H.ui.D.ce.prototype.Ek;olympe.G.H.ui.D.ce.prototype.getKeyEvent=olympe.G.H.ui.D.ce.prototype.ad;olympe.G.H.ui.D.ce.prototype.setTitle=olympe.G.H.ui.D.ce.prototype.ei;olympe.G.H.ui.D.ce.prototype.removeAllChildren=olympe.G.H.ui.D.ce.prototype.kg;olympe.G.H.ui.D.ce.prototype.childDestroyed=olympe.G.H.ui.D.ce.prototype.Cr;
@@ -910,8 +911,8 @@ this.nb('-user-select','text');this.ya().setAttribute('autocomplete','off');this
910
911
  b=this.C,c=this.F,d=Math.min(this.Ba,this.td()-2*a-this.C),e=Math.min(this.ca,this.ve()-2*a-this.F),f=this.td()-Math.min(2*this.xi()+this.C+this.Ba,this.td()),g=this.ve()-Math.min(2*this.xi()+this.F+this.ca,this.ve());b=b+.5|0;c=c+.5|0;d=d+.5|0;e=e+.5|0;f=f+.5|0;g=g+.5|0;this.nb('border',(a+.5|0)+'px solid '+this.cl());this.nb('padding-left',b+'px');this.nb('padding-right',d+'px');this.nb('padding-top',c+'px');this.nb('padding-bottom',e+'px');ve(this,f,g)}Jf(a){this.ya().disabled=a}Eb(a){this.nb('fontWeight',
911
912
  a.toString())}Kc(a){this.C=a||0;this.O()}Lc(a){this.Ba=a||0;this.O()}sd(a){this.F=a||0;this.O()}rd(a){this.ca=a||0;this.O()}zb(a){this.nb('fontFamily',a||'')}Bb(a){this.nb('fontSize',a.toString()+'px')}Td(a){this.nb('fontStyle',a.toString())}pb(a){this.nb('color',a)}wl(a,b,c,d){this.nb('color','rgba('+a+', '+b+', '+c+', '+d+')')}bc(a){switch(a){case olympe.ui.ha.Jb.Mf:this.nb('text-align','left');break;case olympe.ui.ha.Jb.Xb:this.nb('text-align','center');break;case olympe.ui.ha.Jb.Ng:this.nb('text-align',
912
913
  'right');break;default:this.Gb().warn('Unexpected text horizontal align value '+a+' ignored')}}fc(a){switch(a){case olympe.ui.ha.uc.ah:this.nb('vertical-align','left');break;case olympe.ui.ha.uc.Qc:this.nb('vertical-align','center');break;case olympe.ui.ha.uc.th:this.nb('vertical-align','right');break;default:this.Gb().warn('Unexpected text vertical align value '+a+' ignored')}}gu(){return this.ya().select()}getValue(){return this.ya().value}Bf(a){''!==document.activeElement.id&&document.activeElement.id===
913
- this.ya().id||this.ya().value===a||(this.ya().value=a,a=document.createEvent('HTMLEvents'),a.initEvent('input',!0,!0),a.C='input',this.ya().dispatchEvent(a))}Kg(a){this.ya().placeholder=a}Tg(a){me(ke(),this,'color:'+a)}dn(a){switch(a){case olympe.ui.ha.wr.Ty:this.ya().type='text';break;case olympe.ui.ha.wr.uv:this.ya().type='password';break;case olympe.ui.ha.wr.NR:this.ya().type='number';break;case olympe.ui.ha.wr.pF:this.ya().type='email';break;case olympe.ui.ha.wr.aS:this.ya().type='phone';break;
914
- default:this.Gb().warn('Unexpected text field type '+a+' ignored')}}uu(a){this.ya().min=a}ru(a){this.ya().max=a}Bu(a){this.ya().step=a}hu(a){switch(a){case olympe.ui.ha.Wy.NONE:this.ya().autocapitalize='off';break;case olympe.ui.ha.Wy.TO:this.ya().autocapitalize='characters';break;case olympe.ui.ha.Wy.hT:this.ya().autocapitalize='words';break;case olympe.ui.ha.Wy.wS:this.ya().autocapitalize='sentences';break;default:this.Gb().warn('Unexpected text field capitalization mode '+a+' ignored')}}di(a){const b=
914
+ this.ya().id||this.ya().value===a||(this.ya().value=a,a=document.createEvent('HTMLEvents'),a.initEvent('input',!0,!0),a.C='input',this.ya().dispatchEvent(a))}Kg(a){this.ya().placeholder=a}Tg(a){me(ke(),this,'color:'+a)}dn(a){switch(a){case olympe.ui.ha.wr.Ty:this.ya().type='text';break;case olympe.ui.ha.wr.uv:this.ya().type='password';break;case olympe.ui.ha.wr.OR:this.ya().type='number';break;case olympe.ui.ha.wr.pF:this.ya().type='email';break;case olympe.ui.ha.wr.bS:this.ya().type='phone';break;
915
+ default:this.Gb().warn('Unexpected text field type '+a+' ignored')}}uu(a){this.ya().min=a}ru(a){this.ya().max=a}Bu(a){this.ya().step=a}hu(a){switch(a){case olympe.ui.ha.Wy.NONE:this.ya().autocapitalize='off';break;case olympe.ui.ha.Wy.TO:this.ya().autocapitalize='characters';break;case olympe.ui.ha.Wy.iT:this.ya().autocapitalize='words';break;case olympe.ui.ha.Wy.xS:this.ya().autocapitalize='sentences';break;default:this.Gb().warn('Unexpected text field capitalization mode '+a+' ignored')}}di(a){const b=
915
916
  ()=>{this.removeAttribute('overflow');this.nb('text-overflow','clip')};switch(a){case olympe.ui.ha.Rn.Ru:b();break;case olympe.ui.ha.Rn.oF:this.nb('text-overflow','ellipsis');this.nb('overflow','hidden');break;case olympe.ui.ha.Rn.BF:this.Gb().warn('Fade is not supported yet');b();break;default:this.Gb().warn('Unexpected text overflow handling',a,'ignored'),b()}}Mo(a){this.ya().setAttribute('autocomplete',a.valueOf()?'on':'off')}ad(){this.V||(this.V=new olympe.G.H.ui.Sa.Oh(this.ya()));return this.V}Xp(){this.R||
916
917
  (this.R=new olympe.G.H.ui.Sa.cr(this.ya()));return this.R}tl(a){U(this,'valueChanged',this.Ll.bind(this));return this.Xp().tl(a)}Ll(){V(this,'valueChanged');return this.Xp().Ll()}Ek(a){U(this,'keyPressed',this.rj.bind(this));return this.ad().Ek(a)}rj(){V(this,'keyPressed');return this.ad().rj()}Dk(a){U(this,'keyDown',this.qj.bind(this));return this.ad().Dk(a)}qj(){V(this,'keyDown');return this.ad().qj()}Fk(a){U(this,'keyUp',this.sj.bind(this));return this.ad().Fk(a)}sj(){V(this,'keyUp');return this.ad().sj()}destroy(){super.destroy();
917
918
  this.R=this.V=null}};olympe.G.H.ui.D.Yb.prototype.destroy=olympe.G.H.ui.D.Yb.prototype.destroy;olympe.G.H.ui.D.Yb.prototype.unregisterKeyUp=olympe.G.H.ui.D.Yb.prototype.sj;olympe.G.H.ui.D.Yb.prototype.registerKeyUp=olympe.G.H.ui.D.Yb.prototype.Fk;olympe.G.H.ui.D.Yb.prototype.unregisterKeyDown=olympe.G.H.ui.D.Yb.prototype.qj;olympe.G.H.ui.D.Yb.prototype.registerKeyDown=olympe.G.H.ui.D.Yb.prototype.Dk;olympe.G.H.ui.D.Yb.prototype.unregisterKeyPressed=olympe.G.H.ui.D.Yb.prototype.rj;
@@ -979,9 +980,9 @@ olympe.G.H.ui.media.ck.prototype.getAllVideoInputDevices=olympe.G.H.ui.media.ck.
979
980
  olympe.G.H.ui.media.ec.hp.prototype.setIdAndName=olympe.G.H.ui.media.ec.hp.prototype.Qo;olympe.host.cd.register(olympe.host.ra.ob.FI,olympe.G.H.ui.media.ec.hp);olympe.G.H.ui.media.ec.hp.ua=[olympe.N.media.ec.Vo];olympe.G.H.ui.media.ec.rp=class extends olympe.G.H.ui.media.ec.dr{constructor(a,b){super(a,b);this.name=this.id=''}Qo(a,b){this.id=a;this.name=b}Oa(){return this.name}Iu(a){var b=this.id;a.R=b;switch(b){case olympe.ui.ha.up.AF:a.C={facingMode:'user'};break;case olympe.ui.ha.up.fF:Me(a);break;case olympe.ui.ha.up.sF:Me(a);break;default:a.C={deviceId:{exact:b}}}}};olympe.G.H.ui.media.ec.rp.prototype.updateConstraints=olympe.G.H.ui.media.ec.rp.prototype.Iu;
980
981
  olympe.G.H.ui.media.ec.rp.prototype.getName=olympe.G.H.ui.media.ec.rp.prototype.Oa;olympe.G.H.ui.media.ec.rp.prototype.setIdAndName=olympe.G.H.ui.media.ec.rp.prototype.Qo;olympe.host.cd.register(olympe.host.ra.ob.JI,olympe.G.H.ui.media.ec.rp);olympe.G.H.ui.media.ec.rp.ua=[olympe.N.media.ec.jm];olympe.G.H.ui.Xa={};olympe.G.H.ui.Xa.Za={};function Qe(a){var b=document.createElement('link');b.rel='stylesheet';b.type='text/css';b.href='https://unpkg.com/leaflet@1.7.1/dist/leaflet.css';document.head.appendChild(b);b=document.createElement('script');b.type='text/javascript';b.src='https://unpkg.com/leaflet@1.7.1/dist/leaflet.js';b.id='LEAFLET';b.onload=a;document.body.appendChild(b)}
981
982
  olympe.G.H.ui.Xa.Za.Map=class extends olympe.G.H.ui.D.qg{constructor(a,b){super(a,b);this.map=null;this.Bh=[];this.C=!1;this.R=new Map;this.F=new Map;this.V={};a=document.createElement('div');this.Ba=olympe.pa.DL('leafletMap');a.id=this.Ba;a.style.height='100%';this.ya().appendChild(a);this.BN()}lf(a){this.Bh.push(a);this.C&&a()}BN(){Qe(()=>{this.map=window.L.map(this.Ba);this.C=!0;this.Bh.forEach(a=>a())})}us(a,b,c,d){this.C?this.map.setView({lon:a,lat:b},c,d):this.lf(this.us.bind(this,a,b,c,d));
982
- return this}Ju(a,b){var c=()=>{switch(a){case olympe.N.Xa.Za.Map.C.EI:return void 0===b&&(this.Y.warn('No layer style provided. Defaulting to "streets-v11"'),b='streets-v11'),{url:'https://api.mapbox.com/styles/v1/mapbox/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',options:{attributionControl:!1,maxZoom:18,id:b,accessToken:'pk.eyJ1Ijoib2x5bXBlIiwiYSI6ImNqaXB5ZHU2dzA5azMzd252OWpsOTl6bmMifQ.8WQkMAXowdeuNj4x34NYfA',tileSize:512,zoomOffset:-1}};case olympe.N.Xa.Za.Map.C.SR:return{url:'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
983
+ return this}Ju(a,b){var c=()=>{switch(a){case olympe.N.Xa.Za.Map.C.EI:return void 0===b&&(this.Y.warn('No layer style provided. Defaulting to "streets-v11"'),b='streets-v11'),{url:'https://api.mapbox.com/styles/v1/mapbox/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',options:{attributionControl:!1,maxZoom:18,id:b,accessToken:'pk.eyJ1Ijoib2x5bXBlIiwiYSI6ImNqaXB5ZHU2dzA5azMzd252OWpsOTl6bmMifQ.8WQkMAXowdeuNj4x34NYfA',tileSize:512,zoomOffset:-1}};case olympe.N.Xa.Za.Map.C.TR:return{url:'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
983
984
  options:{maxZoom:16}};default:return{url:'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',options:{}}}};this.C?(c=c(),this.map.removeLayer(this.V),this.V=window.L.tileLayer(c.url,c.options),this.V.addTo(this.map),this.V.on('tileerror',()=>{this.Y.error('Failed to fetch tile.')})):this.lf(this.Ju.bind(this,a,b));return this}ut(a,b,c){this.C?(this.R.has(c)&&this.cs(c),a=window.L.marker({lon:a,lat:b}).addTo(this.map),this.R.set(c,a)):this.lf(this.ut.bind(this,a,b,c));return this}Mv(a){this.C?a.forEach(b=>
984
- {window.L.marker({lon:b.KC(),lat:b.IC()}).addTo(this.map)}):this.lf(this.Mv.bind(this,a));return this}cs(a){this.R.has(a)&&(this.R.get(a).remove(),this.R.delete(a));return this}Jv(a,b){this.C?(this.F.has(b)&&this.cu(b),a=window.L.geoJSON(a,{style:c=>c.Ld&&c.Ld.style,N0:(c,d)=>{c.Ld&&c.Ld.NW&&d.p0(c.Ld.NW)},Q0:(c,d)=>window.L.circleMarker(d,c.Ld.style)}).addTo(this.map),this.F.set(b,a)):this.lf(this.Jv.bind(this,a,b));return this}cu(a){this.F.has(a)&&(this.F.get(a).remove(),this.F.delete(a));return this}vs(a,
985
+ {window.L.marker({lon:b.KC(),lat:b.IC()}).addTo(this.map)}):this.lf(this.Mv.bind(this,a));return this}cs(a){this.R.has(a)&&(this.R.get(a).remove(),this.R.delete(a));return this}Jv(a,b){this.C?(this.F.has(b)&&this.cu(b),a=window.L.geoJSON(a,{style:c=>c.Ld&&c.Ld.style,O0:(c,d)=>{c.Ld&&c.Ld.OW&&d.q0(c.Ld.OW)},R0:(c,d)=>window.L.circleMarker(d,c.Ld.style)}).addTo(this.map),this.F.set(b,a)):this.lf(this.Jv.bind(this,a,b));return this}cu(a){this.F.has(a)&&(this.F.get(a).remove(),this.F.delete(a));return this}vs(a,
985
986
  b){this.C?this.map.setZoom(a,b):this.lf(this.vs.bind(this,a,b));return this.map}Jw(a){this.C?this.map.addEventListener('zoom',function(){a(this.map.getZoom())}.bind(this)):this.lf(this.Jw.bind(this,a))}os(a){this.C?this.map.setView({lon:a,lat:this.map.getCenter().lat},this.map.getZoom()):this.lf(this.os.bind(this,a));return this}ns(a){this.C?this.map.setView({lon:this.map.getCenter().lng,lat:a},this.map.getZoom()):this.lf(this.ns.bind(this,a));return this}Iw(a){this.C?this.map.addEventListener('moveend',
986
987
  function(){a(this.map.getCenter().lng)}.bind(this)):this.lf(this.Iw.bind(this,a))}Hw(a){this.C?this.map.addEventListener('moveend',function(){a(this.map.getCenter().lat)}.bind(this)):this.lf(this.Hw.bind(this,a))}Ku(a,b){this.C?this.map.zoomIn(a,b):this.lf(this.Ku.bind(this,a,b));return this}Lu(a,b){this.C?this.map.zoomOut(a,b):this.lf(this.Lu.bind(this,a,b));return this}Fu(a,b,c){this.C?this.map.setZoomAround(a,b,c):this.lf(this.Fu.bind(this,a,b,c));return this}At(a,b){this.C?this.map.fitBounds(a,
987
988
  b):this.lf(this.At.bind(this,a,b));return this}Bt(a){this.C?this.map.fitWorld(a):this.lf(this.Bt.bind(this,a));return this}au(a,b){this.C?this.map.panTo(a,b):this.lf(this.au.bind(this,a,b));return this}Zt(a,b){this.C?this.map.panBy(a,b):this.lf(this.Zt.bind(this,a,b));return this}Ct(a,b,c){this.C?this.map.flyTo(a,b,c):this.lf(this.Ct.bind(this,a,b,c));return this}Dt(a,b){this.C?this.map.flyToBounds(a,b):this.lf(this.Dt.bind(this,a,b));return this}su(a){this.C?this.map.setMaxBounds(a):this.lf(this.su.bind(this,
@@ -990,7 +991,7 @@ olympe.G.H.ui.Xa.Za.Map.prototype.invalidateSize=olympe.G.H.ui.Xa.Za.Map.prototy
990
991
  olympe.G.H.ui.Xa.Za.Map.prototype.flyTo=olympe.G.H.ui.Xa.Za.Map.prototype.Ct;olympe.G.H.ui.Xa.Za.Map.prototype.panBy=olympe.G.H.ui.Xa.Za.Map.prototype.Zt;olympe.G.H.ui.Xa.Za.Map.prototype.panTo=olympe.G.H.ui.Xa.Za.Map.prototype.au;olympe.G.H.ui.Xa.Za.Map.prototype.fitWorld=olympe.G.H.ui.Xa.Za.Map.prototype.Bt;olympe.G.H.ui.Xa.Za.Map.prototype.fitBounds=olympe.G.H.ui.Xa.Za.Map.prototype.At;olympe.G.H.ui.Xa.Za.Map.prototype.setZoomAround=olympe.G.H.ui.Xa.Za.Map.prototype.Fu;
991
992
  olympe.G.H.ui.Xa.Za.Map.prototype.zoomOut=olympe.G.H.ui.Xa.Za.Map.prototype.Lu;olympe.G.H.ui.Xa.Za.Map.prototype.zoomIn=olympe.G.H.ui.Xa.Za.Map.prototype.Ku;olympe.G.H.ui.Xa.Za.Map.prototype.registerLatitudeCallback=olympe.G.H.ui.Xa.Za.Map.prototype.Hw;olympe.G.H.ui.Xa.Za.Map.prototype.registerLongitudeCallback=olympe.G.H.ui.Xa.Za.Map.prototype.Iw;olympe.G.H.ui.Xa.Za.Map.prototype.setLatitude=olympe.G.H.ui.Xa.Za.Map.prototype.ns;olympe.G.H.ui.Xa.Za.Map.prototype.setLongitude=olympe.G.H.ui.Xa.Za.Map.prototype.os;
992
993
  olympe.G.H.ui.Xa.Za.Map.prototype.registerZoomCallback=olympe.G.H.ui.Xa.Za.Map.prototype.Jw;olympe.G.H.ui.Xa.Za.Map.prototype.setZoom=olympe.G.H.ui.Xa.Za.Map.prototype.vs;olympe.G.H.ui.Xa.Za.Map.prototype.removeGeoJson=olympe.G.H.ui.Xa.Za.Map.prototype.cu;olympe.G.H.ui.Xa.Za.Map.prototype.setView=olympe.G.H.ui.Xa.Za.Map.prototype.us;olympe.G.H.ui.Xa.Za.Map.prototype.initMap=olympe.G.H.ui.Xa.Za.Map.prototype.BN;olympe.G.H.ui.Xa.Za.Map.prototype.onLoad=olympe.G.H.ui.Xa.Za.Map.prototype.lf;
993
- olympe.host.cd.register(olympe.host.ra.ob.gK,olympe.G.H.ui.Xa.Za.Map);olympe.G.H.ui.Xa.Za.Map.ua=[olympe.N.Xa.Za.Map];olympe.G.H.ui.P={};olympe.G.H.ui.P.md={We:{Uf:'http://www.w3.org/2000/svg',WX:'http://www.w3.org/2000/xmlns/',vA:'http://www.w3.org/1999/xlink'},Ag:'default'};olympe.G.H.ui.P.Li=class extends olympe.G.H.ui.D.tc{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'svg'));this.C=null;this.children=new Map;this.ya().setAttribute('xmlns',olympe.G.H.ui.P.md.We.Uf);this.ya().setAttributeNS(olympe.G.H.ui.P.md.We.WX,'xmlns:xlink',olympe.G.H.ui.P.md.We.vA);this.ya().addEventListener('focus',()=>{});ye(this,()=>{for(const c of this.children.values())c.Tf(this)});ze(this,()=>{for(const c of this.children.values())c.Tf(null)})}tk(){null===
994
+ olympe.host.cd.register(olympe.host.ra.ob.gK,olympe.G.H.ui.Xa.Za.Map);olympe.G.H.ui.Xa.Za.Map.ua=[olympe.N.Xa.Za.Map];olympe.G.H.ui.P={};olympe.G.H.ui.P.md={We:{Uf:'http://www.w3.org/2000/svg',XX:'http://www.w3.org/2000/xmlns/',vA:'http://www.w3.org/1999/xlink'},Ag:'default'};olympe.G.H.ui.P.Li=class extends olympe.G.H.ui.D.tc{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'svg'));this.C=null;this.children=new Map;this.ya().setAttribute('xmlns',olympe.G.H.ui.P.md.We.Uf);this.ya().setAttributeNS(olympe.G.H.ui.P.md.We.XX,'xmlns:xlink',olympe.G.H.ui.P.md.We.vA);this.ya().addEventListener('focus',()=>{});ye(this,()=>{for(const c of this.children.values())c.Tf(this)});ze(this,()=>{for(const c of this.children.values())c.Tf(null)})}tk(){null===
994
995
  this.C&&(this.C=this.ya().insertBefore(document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'defs'),this.ya().firstChild));return this.C}sx(a,b,c,d){this.setAttribute('viewBox',a+' '+b+' '+c+' '+d)}appendChild(a,b){b||(b=olympe.G.H.ui.P.md.Ag);this.children.has(b)&&this.removeChild(b);this.children.set(b,a);this.ya().appendChild(a.ya());a.pf(this);a.Tf(this)}removeChild(a){a||(a=olympe.G.H.ui.P.md.Ag);const b=this.children.get(a);if(b)try{this.ya().removeChild(b.ya()),b.pf(null),b.Tf(null)}catch(c){this.Y.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.Y.debug('Trying to remove a non existing child: '+
995
996
  a)}lw(){return this.ya().outerHTML}HC(){return'data:image/svg+xml;utf8,'+this.lw()}};olympe.G.H.ui.P.Li.prototype.getImageUrl=olympe.G.H.ui.P.Li.prototype.HC;olympe.G.H.ui.P.Li.prototype.getImageContent=olympe.G.H.ui.P.Li.prototype.lw;olympe.G.H.ui.P.Li.prototype.removeChild=olympe.G.H.ui.P.Li.prototype.removeChild;olympe.G.H.ui.P.Li.prototype.appendChild=olympe.G.H.ui.P.Li.prototype.appendChild;olympe.G.H.ui.P.Li.prototype.setViewbox=olympe.G.H.ui.P.Li.prototype.sx;
996
997
  olympe.G.H.ui.P.Li.prototype.getSvgDefsElement=olympe.G.H.ui.P.Li.prototype.tk;olympe.host.cd.register(olympe.host.ra.ob.YK,olympe.G.H.ui.P.Li);olympe.G.H.ui.P.Li.ua=[olympe.N.P.vi];olympe.G.H.ui.P.Me=class extends olympe.G.H.ui.Df{constructor(a,b,c){super(a,b);this.C=c;this.V=this.parent=null;this.id=''}ya(){return this.C}tk(){return this.V?this.V.tk():null}setAttribute(a,b,c){c?this.ya().setAttributeNS(c||'',a,String(b)):this.ya().setAttribute(a,String(b))}qu(a){this.setAttribute('id',this.id=a)}xa(){this.id||this.qu(this.uid);return this.id}pf(a){this.parent=a}getParent(){return this.parent}Tf(a){this.V=a}ao(){return this.V}destroy(){this.parent&&(this.parent=null);if(this.C){const a=
@@ -1018,12 +1019,12 @@ olympe.G.H.ui.P.Ma.prototype.setStrokeLinecap=olympe.G.H.ui.P.Ma.prototype.px;ol
1018
1019
  olympe.G.H.ui.P.Ma.prototype.setFillColorAndOpacity=olympe.G.H.ui.P.Ma.prototype.fA;olympe.G.H.ui.P.Ma.prototype.setFillOpacity=olympe.G.H.ui.P.Ma.prototype.vD;olympe.G.H.ui.P.Ma.prototype.setFillColor=olympe.G.H.ui.P.Ma.prototype.setFillColor;olympe.G.H.ui.P.Ma.prototype.setFilled=olympe.G.H.ui.P.Ma.prototype.Xw;olympe.G.H.ui.P.Ma.prototype.rotate=olympe.G.H.ui.P.Ma.prototype.rotate;olympe.G.H.ui.P.Ma.prototype.refreshBox=olympe.G.H.ui.P.Ma.prototype.le;olympe.G.H.ui.P.Ma.ua=[olympe.N.P.Bc];olympe.G.H.ui.P.HTMLFilter=class extends olympe.G.H.ui.P.se{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'filter'));this.children=new Map}Di(a){this.setAttribute('filterUnits',a?'userSpaceOnUse':'objectBoundingBox')}addElement(a,b){b||(b=olympe.G.H.ui.P.md.Ag);this.children.get(b)&&this.bu(b);this.children.set(b,a);this.ya().appendChild(a.ya());a.pf(this)}bu(a){a||(a=olympe.G.H.ui.P.md.Ag);const b=this.children.get(a);if(void 0!==b)try{this.ya().removeChild(b.ya()),
1019
1020
  b.pf(null)}catch(c){this.Gb().debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.Gb().warn('Trying to remove a non existing child: '+a)}Kw(){this.children.clear();let a;const b=this.ya();for(;a=b.firstChild;)b.removeChild(a)}QN(a,b){this.ya().replaceChild(b,a)}le(){olympe.G.H.ui.P.se.prototype.le.call(this);const a=this.td(),b=this.ve(),c=this.ma(),d=this.sa();for(const e of this.children.values())e.Uw(c,d,a,b)}};
1020
1021
  olympe.G.H.ui.P.HTMLFilter.prototype.refreshBox=olympe.G.H.ui.P.HTMLFilter.prototype.le;olympe.G.H.ui.P.HTMLFilter.prototype.replaceChildHtmlElement=olympe.G.H.ui.P.HTMLFilter.prototype.QN;olympe.G.H.ui.P.HTMLFilter.prototype.removeAllElements=olympe.G.H.ui.P.HTMLFilter.prototype.Kw;olympe.G.H.ui.P.HTMLFilter.prototype.removeElement=olympe.G.H.ui.P.HTMLFilter.prototype.bu;olympe.G.H.ui.P.HTMLFilter.prototype.addElement=olympe.G.H.ui.P.HTMLFilter.prototype.addElement;
1021
- olympe.G.H.ui.P.HTMLFilter.prototype.setAbsolute=olympe.G.H.ui.P.HTMLFilter.prototype.Di;olympe.host.cd.register(olympe.host.ra.ob.DK,olympe.G.H.ui.P.HTMLFilter);olympe.G.H.ui.P.HTMLFilter.ua=[olympe.N.P.be];olympe.G.H.ui.P.yh=class extends olympe.G.H.ui.P.se{constructor(a,b,c){super(a,b,c);this.na=null}qu(a){this.setAttribute('result',this.id=a)}Wp(a){if(a instanceof olympe.G.H.ui.P.yh)a=a.xa();else switch(a){case olympe.ui.ha.Ks.DS:a='SourceGraphic';break;case olympe.ui.ha.Ks.CS:a='SourceAlpha';break;case olympe.ui.ha.Ks.JO:a='BackgroundImage';break;case olympe.ui.ha.Ks.IO:a='BackgroundAlpha';break;case olympe.ui.ha.Ks.yP:a='FillPaint';break;case olympe.ui.ha.Ks.IS:a='StrokePaint';break;default:a=String(a)}return a}Vj(a){this.na=
1022
+ olympe.G.H.ui.P.HTMLFilter.prototype.setAbsolute=olympe.G.H.ui.P.HTMLFilter.prototype.Di;olympe.host.cd.register(olympe.host.ra.ob.DK,olympe.G.H.ui.P.HTMLFilter);olympe.G.H.ui.P.HTMLFilter.ua=[olympe.N.P.be];olympe.G.H.ui.P.yh=class extends olympe.G.H.ui.P.se{constructor(a,b,c){super(a,b,c);this.na=null}qu(a){this.setAttribute('result',this.id=a)}Wp(a){if(a instanceof olympe.G.H.ui.P.yh)a=a.xa();else switch(a){case olympe.ui.ha.Ks.ES:a='SourceGraphic';break;case olympe.ui.ha.Ks.DS:a='SourceAlpha';break;case olympe.ui.ha.Ks.JO:a='BackgroundImage';break;case olympe.ui.ha.Ks.IO:a='BackgroundAlpha';break;case olympe.ui.ha.Ks.yP:a='FillPaint';break;case olympe.ui.ha.Ks.JS:a='StrokePaint';break;default:a=String(a)}return a}Vj(a){this.na=
1022
1023
  a}Fg(){return this.na}};olympe.G.H.ui.P.yh.prototype.getNext=olympe.G.H.ui.P.yh.prototype.Fg;olympe.G.H.ui.P.yh.prototype.setNext=olympe.G.H.ui.P.yh.prototype.Vj;olympe.G.H.ui.P.yh.prototype.getFilterInput=olympe.G.H.ui.P.yh.prototype.Wp;olympe.G.H.ui.P.yh.prototype.setId=olympe.G.H.ui.P.yh.prototype.qu;olympe.G.H.ui.P.yh.ua=[olympe.N.P.Bg];olympe.G.H.ui.P.Ps=class extends olympe.G.H.ui.P.yh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feGaussianBlur'));this.setAttribute('color-interpolation-filters','sRGB');this.amount=null}Nw(a){this.setAttribute('stdDeviation',this.amount=a)}nf(a){this.setAttribute('in',this.Wp(a))}};olympe.G.H.ui.P.Ps.prototype.setInput=olympe.G.H.ui.P.Ps.prototype.nf;olympe.G.H.ui.P.Ps.prototype.setAmount=olympe.G.H.ui.P.Ps.prototype.Nw;
1023
1024
  olympe.host.cd.register(olympe.host.ra.ob.EK,olympe.G.H.ui.P.Ps);olympe.G.H.ui.P.Ps.ua=[olympe.N.P.wn];olympe.G.H.ui.P.Qs=class extends olympe.G.H.ui.P.Ma{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'circle'));this.F=1}le(){olympe.G.H.ui.P.Ma.prototype.le.call(this);this.setAttribute('r',this.F-this.Dm()/2)}mw(){return this.F}setRadius(a){this.F=Math.abs(a);this.le()}};olympe.G.H.ui.P.Qs.prototype.setRadius=olympe.G.H.ui.P.Qs.prototype.setRadius;olympe.G.H.ui.P.Qs.prototype.refreshBox=olympe.G.H.ui.P.Qs.prototype.le;olympe.host.cd.register(olympe.host.ra.ob.BK,olympe.G.H.ui.P.Qs);
1024
1025
  olympe.G.H.ui.P.Qs.ua=[olympe.N.P.Ol];olympe.G.H.ui.P.Rs=class extends olympe.G.H.ui.P.yh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feColorMatrix'));this.setAttribute('type','matrix')}nf(a){this.setAttribute('in',this.Wp(a))}setMatrix(a){a instanceof olympe.pa.Jn&&(a=a.getStringValue());this.setAttribute('values',a)}};olympe.G.H.ui.P.Rs.prototype.setMatrix=olympe.G.H.ui.P.Rs.prototype.setMatrix;olympe.G.H.ui.P.Rs.prototype.setInput=olympe.G.H.ui.P.Rs.prototype.nf;
1025
- olympe.host.cd.register(olympe.host.ra.ob.FK,olympe.G.H.ui.P.Rs);olympe.G.H.ui.P.Rs.ua=[olympe.N.P.Sq];olympe.G.H.ui.P.ip=class extends olympe.G.H.ui.P.yh{constructor(a,b){const c=document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feBlend');super(a,b,c);this.F=c;this.O=document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feComposite');this.mode='normal';this.ca=this.ga=null}nf(a){this.setAttribute('in',this.ga=this.Wp(a))}$w(a){this.setAttribute('in2',this.ca=this.Wp(a))}ex(a){let b;switch(a){case olympe.ui.ha.Wo.dP:a='darken';b=this.F;break;case olympe.ui.ha.Wo.pR:a='lighten';b=this.F;break;case olympe.ui.ha.Wo.HR:a=
1026
- 'multiply';b=this.F;break;case olympe.ui.ha.Wo.vS:a='screen';b=this.F;break;case olympe.ui.ha.Wo.FS:a='in';b=this.O;break;case olympe.ui.ha.Wo.GS:a='out';b=this.O;break;case olympe.ui.ha.Wo.ES:a='atop';b=this.O;break;case olympe.ui.ha.Wo.lT:a='xor';b=this.O;break;default:a='normal',b=this.F}b!==this.C&&(this.getParent()instanceof olympe.G.H.ui.P.HTMLFilter&&this.getParent().QN(this.C,b),this.C=b,this.ga&&this.setAttribute('in',this.ga),this.ca&&this.setAttribute('in2',this.ca));this.setAttribute(this.C===
1026
+ olympe.host.cd.register(olympe.host.ra.ob.FK,olympe.G.H.ui.P.Rs);olympe.G.H.ui.P.Rs.ua=[olympe.N.P.Sq];olympe.G.H.ui.P.ip=class extends olympe.G.H.ui.P.yh{constructor(a,b){const c=document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feBlend');super(a,b,c);this.F=c;this.O=document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feComposite');this.mode='normal';this.ca=this.ga=null}nf(a){this.setAttribute('in',this.ga=this.Wp(a))}$w(a){this.setAttribute('in2',this.ca=this.Wp(a))}ex(a){let b;switch(a){case olympe.ui.ha.Wo.dP:a='darken';b=this.F;break;case olympe.ui.ha.Wo.qR:a='lighten';b=this.F;break;case olympe.ui.ha.Wo.IR:a=
1027
+ 'multiply';b=this.F;break;case olympe.ui.ha.Wo.wS:a='screen';b=this.F;break;case olympe.ui.ha.Wo.GS:a='in';b=this.O;break;case olympe.ui.ha.Wo.HS:a='out';b=this.O;break;case olympe.ui.ha.Wo.FS:a='atop';b=this.O;break;case olympe.ui.ha.Wo.mT:a='xor';b=this.O;break;default:a='normal',b=this.F}b!==this.C&&(this.getParent()instanceof olympe.G.H.ui.P.HTMLFilter&&this.getParent().QN(this.C,b),this.C=b,this.ga&&this.setAttribute('in',this.ga),this.ca&&this.setAttribute('in2',this.ca));this.setAttribute(this.C===
1027
1028
  this.F?'mode':'operator',this.mode=a)}};olympe.G.H.ui.P.ip.prototype.setMode=olympe.G.H.ui.P.ip.prototype.ex;olympe.G.H.ui.P.ip.prototype.setInput2=olympe.G.H.ui.P.ip.prototype.$w;olympe.G.H.ui.P.ip.prototype.setInput=olympe.G.H.ui.P.ip.prototype.nf;olympe.host.cd.register(olympe.host.ra.ob.GK,olympe.G.H.ui.P.ip);olympe.G.H.ui.P.ip.ua=[olympe.N.P.yn];olympe.G.H.ui.P.Rl=class extends olympe.G.H.ui.P.Ma{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'ellipse'));this.O=this.F=1}QC(){const a=this.Dm();return Fa(this.ma()+a/2,this.sa()+a/2)}le(){olympe.G.H.ui.P.Ma.prototype.le.call(this);const a=this.Dm();this.setAttribute('rx',this.F-a/2);this.setAttribute('ry',this.O-a/2)}mw(){return Math.min(this.F,this.O)}CD(a){this.F=Math.abs(a);this.le()}DD(a){this.O=Math.abs(a);this.le()}setRadius(a,b){this.F=Math.abs(a);this.O=
1028
1029
  Math.abs(b);this.le()}};olympe.G.H.ui.P.Rl.prototype.setRadius=olympe.G.H.ui.P.Rl.prototype.setRadius;olympe.G.H.ui.P.Rl.prototype.setRy=olympe.G.H.ui.P.Rl.prototype.DD;olympe.G.H.ui.P.Rl.prototype.setRx=olympe.G.H.ui.P.Rl.prototype.CD;olympe.G.H.ui.P.Rl.prototype.refreshBox=olympe.G.H.ui.P.Rl.prototype.le;olympe.host.cd.register(olympe.host.ra.ob.CK,olympe.G.H.ui.P.Rl);olympe.G.H.ui.P.Rl.ua=[olympe.N.P.An];olympe.G.H.ui.P.jp=class extends olympe.G.H.ui.P.yh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'feFlood'));this.F=this.O=null}wD(a){this.O=a;this.setAttribute('flood-color',this.O)}yD(a){this.F=a;this.setAttribute('flood-opacity',this.F)}xD(a,b,c,d){this.setAttribute('flood-color',this.O='rgb('+a+','+b+','+c+')');this.F=d;this.setAttribute('flood-opacity',this.F)}};olympe.G.H.ui.P.jp.prototype.setFloodColorAndOpacity=olympe.G.H.ui.P.jp.prototype.xD;
1029
1030
  olympe.G.H.ui.P.jp.prototype.setFloodOpacity=olympe.G.H.ui.P.jp.prototype.yD;olympe.G.H.ui.P.jp.prototype.setFloodColor=olympe.G.H.ui.P.jp.prototype.wD;olympe.host.cd.register(olympe.host.ra.ob.HK,olympe.G.H.ui.P.jp);olympe.G.H.ui.P.jp.ua=[olympe.N.P.Bn];olympe.G.H.ui.P.Cn=class extends olympe.G.H.ui.P.Me{constructor(a,b,c){super(a,b,c);this.F=new Map}Di(a){this.setAttribute('gradientUnits',a?'userSpaceOnUse':'objectBoundingBox')}Nv(a,b){b||(b=olympe.G.H.ui.P.md.Ag);this.F.has(b)&&this.fu(b);this.F.set(b,a);this.ya().appendChild(a.ya())}fu(a){a||(a=olympe.G.H.ui.P.md.Ag);const b=this.F.get(a);if(void 0!==b)try{this.ya().removeChild(b.ya())}catch(c){this.Gb().debug('Not able to remove a child, has probably already been removed')}finally{this.F.delete(a)}else this.Gb().warn('Trying to remove a non existing child: '+
@@ -1052,27 +1053,27 @@ olympe.G.H.ui.P.Ts.prototype.setCornerRadius=olympe.G.H.ui.P.Ts.prototype.lc;oly
1052
1053
  olympe.G.H.ui.P.Zg=class extends olympe.G.H.ui.P.Ma{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'text'));this.na=this.ca=this.text=this.fontSize=null;this.O='inherit';this.ga=null}Bb(a){this.fontSize=a;this.setAttribute('font-size',this.fontSize);Xe(this)}Sb(a){this.text=a;this.ya().textContent=this.text;this.setAttribute('text',this.text);Xe(this)}zb(a){this.ca=a;this.setAttribute('font-family',this.ca);Xe(this)}Eb(a){this.na=a;this.setAttribute('font-weight',this.na);
1053
1054
  Xe(this)}ms(a){switch(a){case olympe.ui.ha.Jb.Xb:this.O='middle';break;case olympe.ui.ha.Jb.Ng:this.O='end';break;default:this.O='left'}this.setAttribute('text-anchor',this.O)}Tf(a){olympe.G.H.ui.P.Ma.prototype.Tf.call(this,a);Xe(this)}Jo(a){this.ga=a;Xe(this)}Mq(){this.ga=null}};olympe.G.H.ui.P.Zg.prototype.unregisterTextSize=olympe.G.H.ui.P.Zg.prototype.Mq;olympe.G.H.ui.P.Zg.prototype.registerTextSize=olympe.G.H.ui.P.Zg.prototype.Jo;olympe.G.H.ui.P.Zg.prototype.setContainer=olympe.G.H.ui.P.Zg.prototype.Tf;
1054
1055
  olympe.G.H.ui.P.Zg.prototype.setHorizontalAlign=olympe.G.H.ui.P.Zg.prototype.ms;olympe.G.H.ui.P.Zg.prototype.setFontWeight=olympe.G.H.ui.P.Zg.prototype.Eb;olympe.G.H.ui.P.Zg.prototype.setFontFamily=olympe.G.H.ui.P.Zg.prototype.zb;olympe.G.H.ui.P.Zg.prototype.setText=olympe.G.H.ui.P.Zg.prototype.Sb;olympe.G.H.ui.P.Zg.prototype.setFontSize=olympe.G.H.ui.P.Zg.prototype.Bb;olympe.host.cd.register(olympe.host.ra.ob.ZK,olympe.G.H.ui.P.Zg);olympe.G.H.ui.P.Zg.ua=[olympe.N.P.Text];olympe.G.H.ui.P.pp=class extends olympe.G.H.ui.P.Zg{constructor(a,b){super(a,b);this.path=null;this.F=document.createElementNS(olympe.G.H.ui.P.md.We.Uf,'textPath');this.ya().appendChild(this.F)}qs(a){this.path=a;this.F.setAttributeNS(olympe.G.H.ui.P.md.We.vA,'xlink:href','#'+this.path.xa());a=this.tk();const b=this.path.ya();a&&b.parentNode!==a&&a.appendChild(b)}Sb(a){let b;for(;b=this.F.firstChild;)this.F.removeChild(b);this.F.appendChild(document.createTextNode(a))}Br(){olympe.G.H.ui.P.Ma.prototype.Br.call(this);
1055
- if(this.path){const a=this.tk();a&&a.appendChild(this.path.ya())}}};olympe.G.H.ui.P.pp.prototype.appendDefs=olympe.G.H.ui.P.pp.prototype.Br;olympe.G.H.ui.P.pp.prototype.setText=olympe.G.H.ui.P.pp.prototype.Sb;olympe.G.H.ui.P.pp.prototype.setPath=olympe.G.H.ui.P.pp.prototype.qs;olympe.host.cd.register(olympe.host.ra.ob.$K,olympe.G.H.ui.P.pp);olympe.G.H.ui.P.pp.ua=[olympe.N.P.Dv];olympe.G.H.He={};olympe.G.H.He.tG=class{constructor(a){this.F={};this.Y=a}C(a){void 0===this.F[a]&&(this.F[a]=new olympe.G.H.He.tp(a,this.Y));return Ye(this.F[a])}};olympe.G.H.He.tG.ua=[olympe.He.mR];const Ze=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;function Ye(a){if(a.O)return a;a.O=!0;a.C=[];const b=Ze.open('Olympe_'+a.name);b.onerror=c=>{a.Y.error('IndexedDBKVStore: '+c.target.errorCode)};b.onblocked=()=>{a.Y.error('IndexedDBKVStore: database blocked')};b.onupgradeneeded=()=>{const c=b.result;c.objectStoreNames.contains('main')||c.createObjectStore('main')};b.onsuccess=()=>{a.db=b.result;$e(a)};return a}
1056
+ if(this.path){const a=this.tk();a&&a.appendChild(this.path.ya())}}};olympe.G.H.ui.P.pp.prototype.appendDefs=olympe.G.H.ui.P.pp.prototype.Br;olympe.G.H.ui.P.pp.prototype.setText=olympe.G.H.ui.P.pp.prototype.Sb;olympe.G.H.ui.P.pp.prototype.setPath=olympe.G.H.ui.P.pp.prototype.qs;olympe.host.cd.register(olympe.host.ra.ob.$K,olympe.G.H.ui.P.pp);olympe.G.H.ui.P.pp.ua=[olympe.N.P.Dv];olympe.G.H.He={};olympe.G.H.He.tG=class{constructor(a){this.F={};this.Y=a}C(a){void 0===this.F[a]&&(this.F[a]=new olympe.G.H.He.tp(a,this.Y));return Ye(this.F[a])}};olympe.G.H.He.tG.ua=[olympe.He.nR];const Ze=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB;function Ye(a){if(a.O)return a;a.O=!0;a.C=[];const b=Ze.open('Olympe_'+a.name);b.onerror=c=>{a.Y.error('IndexedDBKVStore: '+c.target.errorCode)};b.onblocked=()=>{a.Y.error('IndexedDBKVStore: database blocked')};b.onupgradeneeded=()=>{const c=b.result;c.objectStoreNames.contains('main')||c.createObjectStore('main')};b.onsuccess=()=>{a.db=b.result;$e(a)};return a}
1056
1057
  function $e(a){a.F||(a.C&&0<a.C.length?a.C.shift()():a.R&&af(a))}function af(a){a.db.close();a.db=null;a.C=null;a.O=!1;a.R=!1}function bf(a,b){a.F=!0;b=a.db.transaction('main',b);b.oncomplete=()=>{a.F=!1;$e(a)};return b.objectStore('main')}
1057
1058
  olympe.G.H.He.tp=class{constructor(a,b){this.name=a;this.Y=b;this.C=null;this.F=this.R=this.O=!1;this.db=null}close(){this.O&&!this.R&&(this.R=!0,null===this.db||null!==this.C||this.F||af(this))}get(a,b){this.O||Ye(this);if(null===this.db||this.F)this.C.push(()=>this.get(a,b));else{var c=bf(this,olympe.G.H.He.tp.C.READ_ONLY).get(a);c.onsuccess=()=>{b(c.result,a)}}}set(a,b,c){this.O||Ye(this);if(null===this.db||this.F)this.C.push(()=>this.set(a,b,c));else{var d=bf(this,olympe.G.H.He.tp.C.READ_WRITE).put(b,
1058
1059
  a);d.onsuccess=()=>c&&c(!0);d.onerror=()=>c&&c(!1)}}forEach(a,b){this.O||Ye(this);null===this.db||this.F?this.C.push(()=>this.forEach(a,b)):bf(this,olympe.G.H.He.tp.C.READ_ONLY).openCursor().onsuccess=c=>{(c=c.target.result)?(a(c.value,c.key),c.continue()):'function'===typeof b&&b()}}remove(a,b){this.O||Ye(this);null===this.db||this.F?this.C.push(()=>this.remove(a,b)):bf(this,olympe.G.H.He.tp.C.READ_WRITE).delete(a).onsuccess=()=>b&&b()}clear(){this.O||Ye(this);null===this.db||this.F?this.C.push(()=>
1059
- this.clear()):bf(this,olympe.G.H.He.tp.C.READ_WRITE).clear()}};olympe.G.H.He.tp.C={READ_ONLY:'readonly',READ_WRITE:'readwrite'};olympe.G.H.He.tp.ua=[olympe.He.nR];olympe.oa.Fe(function(a){z(a,olympe.He.fa.ty,olympe.G.H.He.tG,olympe.He.fa.Qb)},'olympe.native.html.localstorage');olympe.G.H.storage={};function cf(a,b,c,d,e,f){const g=new XMLHttpRequest;g.open('GET',`bootstrap/${b}`,!0);g.onload=()=>{if(200===g.status)if(a.F.includes(b)||a.F.push(b),c){const k=g.response.slice(0,g.response.size,d);e(k)}else e(g.responseText);else f&&f(`File ${b} not found`)};g.onerror=k=>{f&&f(k.toString())};g.responseType=c?'blob':'text';g.send(null)}function df(a,b=''){a=new Uint8Array(olympe.pa.mk().O(a));return new Blob([a],{type:b})}
1060
+ this.clear()):bf(this,olympe.G.H.He.tp.C.READ_WRITE).clear()}};olympe.G.H.He.tp.C={READ_ONLY:'readonly',READ_WRITE:'readwrite'};olympe.G.H.He.tp.ua=[olympe.He.oR];olympe.oa.Fe(function(a){z(a,olympe.He.fa.ty,olympe.G.H.He.tG,olympe.He.fa.Qb)},'olympe.native.html.localstorage');olympe.G.H.storage={};function cf(a,b,c,d,e,f){const g=new XMLHttpRequest;g.open('GET',`bootstrap/${b}`,!0);g.onload=()=>{if(200===g.status)if(a.F.includes(b)||a.F.push(b),c){const k=g.response.slice(0,g.response.size,d);e(k)}else e(g.responseText);else f&&f(`File ${b} not found`)};g.onerror=k=>{f&&f(k.toString())};g.responseType=c?'blob':'text';g.send(null)}function df(a,b=''){a=new Uint8Array(olympe.pa.mk().O(a));return new Blob([a],{type:b})}
1060
1061
  olympe.G.H.storage.Storage=class{constructor(a){this.Y=a;this.F=[]}O(a,b,c,d){a=`${b}/${a}`;b=localStorage.getItem(a);null!==b?c(b):cf(this,a,!1,'text/plain',c,d)}V(a,b,c,d,e){a=`${b}/${a}`;b=localStorage.getItem(a);null!==b?(c=df(b,c),d(c)):cf(this,a,!0,c,d,e)}write(a,b,c,d,e){const f=`${b}/${a}`;if(c instanceof Blob){const g=new FileReader;g.onloadend=()=>{localStorage.setItem(f,olympe.pa.mk().C(g.result));e()};g.readAsArrayBuffer(c)}else localStorage.setItem(f,c),e()}R(a,b,c){for(let d=0;d<localStorage.length;d++){const e=
1061
1062
  localStorage.key(d);if(e.startsWith(`${a}/`)){const f=localStorage.getItem(e),g=e.lastIndexOf('/');b(e.substr(g+1),f)}}c(null)}U(a,b){const c=[];for(var d=0;d<localStorage.length;d++){const e=localStorage.key(d);if(e.startsWith(`${a}/`)){const f=e.lastIndexOf('/');c.push(e.substr(f+1))}}for(const e of this.F)e.startsWith(a+'/')&&(d=e.lastIndexOf('/'),d=e.substr(d+1),c.includes(d)||c.push(d));b(c)}C(a,b,c,d){a=`${a}/${b}`;null!==localStorage.getItem(a)?(localStorage.removeItem(a),c()):d&&d('File not found!')}close(a){a(null)}};
1062
- olympe.G.H.storage.Storage.ua=[olympe.He.Storage];olympe.oa.Fe(function(a){ua(a,olympe.He.fa.Av,olympe.G.H.storage.Storage,olympe.host.fa.Qb)},'olympe.native.html.storage');olympe.gq={};olympe.gq.za={VERSION:'version.version',NO:'version.branch',Yo:'version.commit',US:'version.tag',HF:'version.olympe-framework',OO:'version.build'};olympe.oa.Fe(function(a){C(a,olympe.gq.za.VERSION,'');C(a,olympe.gq.za.NO,'');C(a,olympe.gq.za.Yo,'');C(a,olympe.gq.za.US,'');C(a,olympe.gq.za.HF,'');C(a,olympe.gq.za.OO,'')},'olympe.main');let ef,ff,gf=!1;
1063
+ olympe.G.H.storage.Storage.ua=[olympe.He.Storage];olympe.oa.Fe(function(a){ua(a,olympe.He.fa.Av,olympe.G.H.storage.Storage,olympe.host.fa.Qb)},'olympe.native.html.storage');olympe.gq={};olympe.gq.za={VERSION:'version.version',NO:'version.branch',Yo:'version.commit',VS:'version.tag',HF:'version.olympe-framework',OO:'version.build'};olympe.oa.Fe(function(a){C(a,olympe.gq.za.VERSION,'');C(a,olympe.gq.za.NO,'');C(a,olympe.gq.za.Yo,'');C(a,olympe.gq.za.VS,'');C(a,olympe.gq.za.HF,'');C(a,olympe.gq.za.OO,'')},'olympe.main');let ef,ff,gf=!1;
1063
1064
  const hf=(a,b)=>{const c=new XMLHttpRequest;c.onload=function(){try{let d;200===c.status&&c.responseText?d=JSON.parse(c.responseText):d=Object.create(null);b(d)}catch(d){console.error(d)}};c.open('GET',a);c.send()},kf=a=>{ef=a;jf()},lf=a=>{ff=a||void 0;jf()},mf=()=>{gf=!0;window.removeEventListener?window.removeEventListener('DOMContentLoaded',mf):window.detachEvent('load',mf);jf()},jf=()=>{if(void 0!==ef&&void 0!==ff&&gf){0===Object.keys(ff).length&&console.warn('No configuration found. Check presence of oConfig.json');0===
1064
1065
  Object.keys(ef).length&&console.warn('No version found. Check presence of version.json');var a=olympe.pa.MN(location.href).parameters;a=new olympe.oa.bP(ff,ef,Object.assign({},a));var b=a.Gb();b.debug('Registering configurations...');b.C++;for(let e=0,f=la.length;e<f;e++){var c=a,d=la[e];ta(c.Y,'Registering configure callback '+(d.C?'for module '+d.C:''));c.F.push(d.F)}ra(b);b.debug('done registering');a=a.compile();d=a.Gb();d.debug('Running run callbacks of container...');for(let e=0,f=ma.length;e<
1065
- f;e++){d.C++;b=ma[e];c=a;const g=oa(c,b.cw());c.Y.debug('Calling run callback '+(b.C?'for module '+b.C:''));b.F.apply(null,g);ra(d)}d.debug('done calling run callbacks. DI process completed!')}};window.XMLHttpRequest?(olympe.pa.CC('oConfig.json',hf,lf),hf('version.json',kf)):console.error(Error('XMLHttpRequest is not available: cannot load configuration'));window.addEventListener?window.addEventListener('DOMContentLoaded',mf):window.attachEvent('load',mf);olympe.dc={};olympe.dc.Pb={ORIGIN:'<',DESTINATION:'>'};q('olympe.dc.Direction',olympe.dc.Pb);olympe.dc.Yf={Sh:'ff022000000000000000',Gs:'ff02200000000000000e',NE:'ff02200000000000000f'};olympe.dc.Lf={VERSION:'@v',Ej:'@s'};olympe.dc.Yl={cf:'?'};olympe.dc.Ry={TI:'online',AB:'offline',$P:'invalidate'};olympe.dc.Zb={Bd:'self',$g:'server',aJ:'peer',cf:'server'};olympe.dc.Hb=function(a){if('string'===typeof a)return a;let b=null;a=olympe.j.Ua(a);void 0!==a&&null!==a&&(a=a.valueOf(),'string'===typeof a?b=a:a.da?b=a.da():'function'===typeof a&&(b=olympe.dc.Na.$e(a)));return b||''};q('olympe.dc.instanceToTag',olympe.dc.Hb);olympe.dc.cc=function(){return olympe.dc.yi().view};olympe.dc.register=function(a,b){olympe.dc.Na.C(a,b)};olympe.dc.defineProperty=function(a){return new olympe.dc.vb.Property(a)};
1066
- olympe.dc.Dr=function(a,b=olympe.dc.Pb.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.Pb.DESTINATION){const e=olympe.dc.Pb.DESTINATION;return b===olympe.dc.Pb.ORIGIN||b===e?new olympe.dc.vb.Relation(a,b):new olympe.dc.vb.Relation(a,d,b,c)};olympe.dc.$T=function(a){return a.Pe()};olympe.dc.pt=class{F(){}ng(){}dh(){}Ob(){}Qf(){}};olympe.dc.IB=class{qh(){}xa(){}hd(){}};function nf(a,b,c,d,e,f,g){d=new olympe.dc.ab(olympe.dc.ab.gb.Ev,{file:b,url:null,content:c,Lm:e?k=>{of(a,b,c);f(k)}:f,mimeType:d,yk:g||null},[olympe.dc.cc().source(b)||olympe.dc.Zb.$g]);a.F.send(d)}function pf(a,b,c,d,e,f){c=c instanceof olympe.j.mb?c.valueOf():c;'string'===typeof c?c=new Blob([La(c)],{type:d}):c instanceof ArrayBuffer&&(c=new Blob([c],{type:d}));nf(a,b,c,d,a.O,e,f)}
1066
+ f;e++){d.C++;b=ma[e];c=a;const g=oa(c,b.cw());c.Y.debug('Calling run callback '+(b.C?'for module '+b.C:''));b.F.apply(null,g);ra(d)}d.debug('done calling run callbacks. DI process completed!')}};window.XMLHttpRequest?(olympe.pa.CC('oConfig.json',hf,lf),hf('version.json',kf)):console.error(Error('XMLHttpRequest is not available: cannot load configuration'));window.addEventListener?window.addEventListener('DOMContentLoaded',mf):window.attachEvent('load',mf);olympe.dc={};olympe.dc.Pb={ORIGIN:'<',DESTINATION:'>'};q('olympe.dc.Direction',olympe.dc.Pb);olympe.dc.Yf={Sh:'ff022000000000000000',Gs:'ff02200000000000000e',NE:'ff02200000000000000f'};olympe.dc.Lf={VERSION:'@v',Ej:'@s'};olympe.dc.Yl={cf:'?'};olympe.dc.Ry={TI:'online',AB:'offline',aQ:'invalidate'};olympe.dc.Zb={Bd:'self',$g:'server',aJ:'peer',cf:'server'};olympe.dc.Hb=function(a){if('string'===typeof a)return a;let b=null;a=olympe.j.Ua(a);void 0!==a&&null!==a&&(a=a.valueOf(),'string'===typeof a?b=a:a.da?b=a.da():'function'===typeof a&&(b=olympe.dc.Na.$e(a)));return b||''};q('olympe.dc.instanceToTag',olympe.dc.Hb);olympe.dc.cc=function(){return olympe.dc.yi().view};olympe.dc.register=function(a,b){olympe.dc.Na.C(a,b)};olympe.dc.defineProperty=function(a){return new olympe.dc.vb.Property(a)};
1067
+ olympe.dc.Dr=function(a,b=olympe.dc.Pb.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.Pb.DESTINATION){const e=olympe.dc.Pb.DESTINATION;return b===olympe.dc.Pb.ORIGIN||b===e?new olympe.dc.vb.Relation(a,b):new olympe.dc.vb.Relation(a,d,b,c)};olympe.dc.aU=function(a){return a.Pe()};olympe.dc.pt=class{F(){}ng(){}dh(){}Ob(){}Qf(){}};olympe.dc.IB=class{qh(){}xa(){}hd(){}};function nf(a,b,c,d,e,f,g){d=new olympe.dc.ab(olympe.dc.ab.gb.Ev,{file:b,url:null,content:c,Lm:e?k=>{of(a,b,c);f(k)}:f,mimeType:d,yk:g||null},[olympe.dc.cc().source(b)||olympe.dc.Zb.$g]);a.F.send(d)}function pf(a,b,c,d,e,f){c=c instanceof olympe.j.mb?c.valueOf():c;'string'===typeof c?c=new Blob([La(c)],{type:d}):c instanceof ArrayBuffer&&(c=new Blob([c],{type:d}));nf(a,b,c,d,a.O,e,f)}
1067
1068
  function of(a,b,c){const d=olympe.dc.Hb(b);a.C.set(d,c);const e=olympe.pa.Xi();qf(olympe.dc.cc(),d,f=>{f||(a.C.delete(d),rf(olympe.dc.cc(),d,e))},e)}function sf(a,b,c,d){olympe.j.Gw([b.FN(),b.da(),b.sh(),b.Ot()],(e,f,g,k)=>{a.C.has(f)?c(a.C.get(f)):(e=new olympe.dc.ab(olympe.dc.ab.gb.Uu,{file:f,url:e.valueOf()?null:g,mimeType:k.valueOf(),Lm:a.O?l=>{of(a,f,l);c(l)}:c,yk:d},[olympe.dc.cc().source(f)||olympe.dc.Zb.$g]),a.F.send(e))})}
1068
1069
  olympe.dc.CP=class{constructor(a,b,c,d,e){this.Y=a;this.F=c;this.O=e;this.C=new Map}};olympe.dc.lb=class{constructor(a){this.Y=a}};function tf(a,b){a.F=b;return a}function uf(a,b){a.Ij.unshift(b);return a}olympe.dc.ab=class{constructor(a,b,c){this.type=a;this.content=b;this.C=c;this.Ij=[];this.F=olympe.j.jb()}getContext(){return this.F}validate(a=null){this.Ij.forEach(b=>{b(a||null)})}toString(){const a=olympe.pa.xM(olympe.dc.ab.gb,this.type);return a?a:'UNKNOWN_MESSAGE'}};
1069
- olympe.dc.ab.gb={dg:1,ir:2,Zq:10,lZ:11,JS:20,r_:21,s_:22,LS:23,Yu:24,Xu:25,mZ:26,RF:28,nJ:30,qJ:31,$Z:32,it:40,Vy:41,Pu:45,EA:46,Zx:47,Ev:50,Uu:51,Sx:52,bT:60,nS:61,FP:62,GP:63,VO:64,DA:65,kZ:90,Rx:91,VA:92,SF:93,tI:94,zy:95,KS:96,QUERY_RESULT:97,pJ:98};olympe.dc.Dp=class{process(){}};olympe.dc.JB=class{constructor(...a){this.ff=a}process(a,b,c){const d=this.ff.length,e=(f,g,k)=>{g||f>=d?c(g,k):this.ff[f].process(a,k,e.bind(null,f+1))};e(0,null,b)}};olympe.dc.JB.ua=[olympe.dc.Dp];function vf(a){return olympe.dc.CloudObject.get(a.tag)}olympe.dc.ig=class{constructor(a){this.tag='string'===typeof a?a:a.da()}da(){return this.tag}toJSON(){return'{ "type": "reference", "tag": '+JSON.stringify(this.tag)+' }'}Oc(a){return a instanceof olympe.dc.ig&&this.tag===a.tag}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.dc.ig(b.tag)}};olympe.dc.ig.ua=[olympe.dc.dk];olympe.dc.ig.prototype.toJSON.K=olympe.j.J.O;olympe.dc.ig.prototype.Oc.K=olympe.j.J.O;olympe.dc.Ep=class{send(){}C(){}ca(){}};const wf=olympe.dc.Pb.ORIGIN,xf=olympe.dc.Pb.DESTINATION,yf=new Map,zf=new Map,Af=new Map,Bf=new Map;function Cf(a,b){var c=olympe.dm.File;let d=c;'function'===typeof c&&(d=b.entry);c=[...(d.XD||[])];return olympe.dc.Na.C(a,b,...c)}function Df(a,b){Bf.set(a,b);return a}function Ef(a){return(a=yf.get(a))&&a.F||olympe.dc.CloudObject}function Ff(a,b,c){const d=a+'@'+(b===xf?wf:xf);if(zf.has(d))throw Error(`Try to register the same relation (${b+a}) multiple times.`);zf.set(d,c)}
1070
+ olympe.dc.ab.gb={dg:1,ir:2,Zq:10,mZ:11,KS:20,s_:21,t_:22,MS:23,Yu:24,Xu:25,nZ:26,RF:28,nJ:30,qJ:31,a_:32,it:40,Vy:41,Pu:45,EA:46,Zx:47,Ev:50,Uu:51,Sx:52,cT:60,oS:61,FP:62,GP:63,VO:64,DA:65,lZ:90,Rx:91,VA:92,SF:93,tI:94,zy:95,LS:96,QUERY_RESULT:97,pJ:98};olympe.dc.Dp=class{process(){}};olympe.dc.JB=class{constructor(...a){this.ff=a}process(a,b,c){const d=this.ff.length,e=(f,g,k)=>{g||f>=d?c(g,k):this.ff[f].process(a,k,e.bind(null,f+1))};e(0,null,b)}};olympe.dc.JB.ua=[olympe.dc.Dp];function vf(a){return olympe.dc.CloudObject.get(a.tag)}olympe.dc.ig=class{constructor(a){this.tag='string'===typeof a?a:a.da()}da(){return this.tag}toJSON(){return'{ "type": "reference", "tag": '+JSON.stringify(this.tag)+' }'}Oc(a){return a instanceof olympe.dc.ig&&this.tag===a.tag}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.dc.ig(b.tag)}};olympe.dc.ig.ua=[olympe.dc.dk];olympe.dc.ig.prototype.toJSON.K=olympe.j.J.O;olympe.dc.ig.prototype.Oc.K=olympe.j.J.O;olympe.dc.Ep=class{send(){}C(){}ca(){}};const wf=olympe.dc.Pb.ORIGIN,xf=olympe.dc.Pb.DESTINATION,yf=new Map,zf=new Map,Af=new Map,Bf=new Map;function Cf(a,b){var c=olympe.dm.File;let d=c;'function'===typeof c&&(d=b.entry);c=[...(d.XD||[])];return olympe.dc.Na.C(a,b,...c)}function Df(a,b){Bf.set(a,b);return a}function Ef(a){return(a=yf.get(a))&&a.F||olympe.dc.CloudObject}function Ff(a,b,c){const d=a+'@'+(b===xf?wf:xf);if(zf.has(d))throw Error(`Try to register the same relation (${b+a}) multiple times.`);zf.set(d,c)}
1070
1071
  function Gf(a){a=a.da()+'@'+a.rc();return zf.get(a)||olympe.dc.CloudObject}function X(a,b){b.NAME=a;Af.set(a,b)}function Y(a){return a.NAME||null}
1071
1072
  olympe.dc.Na=class{constructor(){}static C(a,b,...c){if(yf.has(a))throw Error(`Tag: ${a} - overwriting already defined sync ${yf.get(a).F.name} with ${b.name}`);let d=null;const e=c.length;if(0<e){d=Array(e);for(let f=0;f<e;f++){let g=c[f];d[f]='string'===typeof g?new olympe.oa.ue(g):g}}b=new olympe.dc.vb.Entry(a,b,d);yf.set(a,b);return b.F.entry=b}static $e(a){return(a=a.entry)&&a.da()||null}};olympe.dc.vb={};function Hf(a,b){a.C=b}function Z(a,b){b=b.Pe();Ff(b.da(),b.rc(),a.F);return b}function If(a){a.O=!0;return a}
1072
1073
  olympe.dc.vb.Entry=class{constructor(a,b,c){this.tag=a;this.F=b;this.XD=c||null;this.C=null;this.O=!1}da(){return this.tag}instantiate(a,b){const c=this.F;if(this.xw()&&b.getParameter(olympe.dc.za.tF)){var d=olympe.dc.cc();d=`Trying to instantiate an abstract class ${d.name(this)} (${this.da()}).`+` This may happen when the implementation of another class extending ${d.name(this)} has not been registered`;olympe.ub.Gb('dc').error(d)}return this.XD?(a=[void 0,a].concat(oa(b,this.XD)),new c(...a)):
1073
1074
  new c(void 0,a)}ea(a){return new olympe.dc.vb.Property(a)}Ib(a,b=olympe.dc.Pb.DESTINATION){Ff(a,b,this.F);return new olympe.dc.wa.Xe(a,b)}xw(){return this.O}};q('olympe.dc.registry.Entry',olympe.dc.vb.Entry);olympe.dc.vb.Entry.prototype.addRelation=olympe.dc.vb.Entry.prototype.Ib;olympe.dc.vb.Entry.prototype.addProperty=olympe.dc.vb.Entry.prototype.ea;olympe.dc.vb.Entry.ua=[olympe.dc.dk];olympe.dc.vb.Property=class{constructor(a){this.tag=a}da(){return this.tag}};olympe.dc.vb.Property.prototype.getTag=olympe.dc.vb.Property.prototype.da;olympe.dc.vb.Property.ua=[olympe.dc.dk];olympe.dc.vb.Relation=class{constructor(a,b=olympe.dc.Pb.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.CloudObject){this.tag=olympe.dc.Hb(a);this.direction=b;this.origin=c;this.destination=d}da(){return this.tag}rc(){return this.direction}type(){return this.destination}Pe(){return new olympe.dc.vb.Relation(this.tag,this.direction===olympe.dc.Pb.DESTINATION?olympe.dc.Pb.ORIGIN:olympe.dc.Pb.DESTINATION,this.destination,this.origin)}Oc(a){return a instanceof olympe.dc.vb.Relation?a.da()===this.da()&&
1074
1075
  a.rc()===this.rc():!1}toString(){return this.direction+this.tag}};olympe.dc.vb.Relation.prototype.getInverse=olympe.dc.vb.Relation.prototype.Pe;olympe.dc.vb.Relation.prototype.getDirection=olympe.dc.vb.Relation.prototype.rc;olympe.dc.vb.Relation.prototype.getTag=olympe.dc.vb.Relation.prototype.da;olympe.dc.vb.Relation.ua=[olympe.dc.dk];olympe.dc.db={};function Jf(a,b,c,d,e,f=olympe.dc.Zb.Bd){const g=c.xa();Kf(a.F,b,c,d,e,f);return k=>{if(k)a.F.push(g);else{k=a.F;const l=k.O.get(g);if(void 0!==l){const m=k.F.indexOf(g);k.F.splice(m,1);Lf(k,Mf(k,l.C,k.F.length),l.source);k.O.delete(g)}}}}function Nf(a,b){a.C.na(b)}function Of(a,b,c){b&&a.C.cb(b);c&&a.C.Mb(c)}
1075
- olympe.dc.db.lP=class{constructor(a,b,c,d,e){this.Y=a;this.C=b;this.F=new olympe.dc.db.aP(a,b,d);this.view=new olympe.dc.nd(a,b);this.oW=new olympe.dc.db.MR(this.Y,this.view,b,e)}Gb(){return this.Y}persist(a){this.C.ca();this.C.Fa(a,olympe.dc.db.Instance.C.eJ);this.C.$()}Nm(a,b){this.F.Nm(a,b)}};const Pf=olympe.dc.Lf.VERSION,Qf=olympe.dc.Lf.Ej,Rf=olympe.dc.Yf.Sh,Sf=olympe.dc.Yf.Gs;
1076
+ olympe.dc.db.lP=class{constructor(a,b,c,d,e){this.Y=a;this.C=b;this.F=new olympe.dc.db.aP(a,b,d);this.view=new olympe.dc.nd(a,b);this.pW=new olympe.dc.db.NR(this.Y,this.view,b,e)}Gb(){return this.Y}persist(a){this.C.ca();this.C.Fa(a,olympe.dc.db.Instance.C.eJ);this.C.$()}Nm(a,b){this.F.Nm(a,b)}};const Pf=olympe.dc.Lf.VERSION,Qf=olympe.dc.Lf.Ej,Rf=olympe.dc.Yf.Sh,Sf=olympe.dc.Yf.Gs;
1076
1077
  olympe.dc.db.Database=class a extends Map{constructor(b,c){super();this.id=olympe.pa.we();this.Y=b;this.Ka=olympe.j.jb();this.vc=c.get('defaultSource')||olympe.dc.Zb.Bd;this.R=olympe.dc.db.Database.C.IDLE;this.ga=new Map;this.La=[];this.F=[];this.Pa=new Map;b=c.get('garbageCollector')||olympe.dc.db.Zu.C.MA;new olympe.dc.db.Zu(this,b,this.Ka);c.get('debug')&&this.Rc()}xa(){return this.id}getState(){return this.R}Gb(){return this.Y}create(b,c){const d=this.O(b,!0);d.Mb(c&&parseInt(c.get(Pf),10)||1);
1077
1078
  d.he(c&&c.get(Qf)||this.vc);c&&(c.delete(Pf),c.delete(Qf),this.jc(d,c));this.C(a.Event.pG,b)}update(b,c,d=!1){if(void 0!==c&&null!==c){b=this.O(b,!0);var e=c&&parseInt(c.get(Pf),10);0>e||!d&&b.version()>=e||(c.delete(Pf),b.Mb(isNaN(e)?b.version()+1:e),this.jc(b,c))}}dh(b){const c=this.get(b);void 0!==c&&(this.Ba(c,!1),this.C(a.Event.qG,b))}Rb(b,c,d){c=this.O(c,!0);d=this.O(d,!0);switch(b){case Rf:c.Mc(d);break;case Sf:c.Fc(d);break;default:c.Fa(b,d)}}yc(b,c,d){c=this.get(c);d=this.get(d);if(void 0!==
1078
1079
  c&&void 0!==d)switch(b){case Rf:c.Hf(d);break;case Sf:c.vg(d);break;default:c.O(b,d)}}cb(b){for(const c of b)this.O(c).$()}Mb(b){for(const c of b)(b=this.get(c))&&b.ca()}Fa(b,c){b.forEach(d=>{this.O(d).qe(c)})}Cb(b){const c=this.get(b);void 0!==c&&(c.clear(),super.delete(b),this.C(a.Event.rF,b))}O(b,c=!1){let d=this.get(b);void 0===d&&(d=new olympe.dc.db.Instance(b,this),this.set(b,d),this.C(a.Event.qF,b),c&&this.C(a.Event.Zy,b));return d}U(b,c,d=!1,e=null){return{[Symbol.iterator]:function*(f){const g=
@@ -1080,8 +1081,8 @@ olympe.dm.Relation.C.Yy,k=olympe.dm.Relation.C.Jy,l=olympe.dc.Pb.ORIGIN,m=olympe
1080
1081
  b)}V(b){if(0===this.F.length)debugger;this.F[0].C.delete(b)}C(b,c,...d){this.ga.has(b)&&this.ga.get(b).forEach(e=>{e(c,...d)})}Ba(b,c){this.Pa.set(b,c)}Fc(b,c,d,e){0<this.F.length&&Tf(this.F[0],b).ea(e?Uf+c:c,d)}Mc(b,c,d,e,f){if(0<this.F.length){var g=this.F[0];d===Vf?f?Tf(g,b).ga(c,e):Tf(g,b).$(c,e):f?Tf(g,b).Pa(c,e):Tf(g,b).Ka(c,e)}}addEventListener(b,c){let d=this.ga.get(b);void 0===d&&(d=[],this.ga.set(b,d));d.push(c)}na(b){this.La.push(b)}Kb(b){return this.F.reduce((c,d)=>d.F.has(b)||c,!1)}ca(){this.R===
1081
1082
  a.C.IDLE&&(this.R=a.C.LO);this.F.unshift(new olympe.dc.db.tP(this,this.Ka))}$(){this.R=a.C.Yo;this.Kd();Wf(this.F[0]);this.F.shift();0===this.F.length&&(this.R=a.C.IDLE,this.La.forEach(b=>{b()}))}jc(b,c){const d=a.sf.cf;for(const [e,f]of c)void 0!==f&&(e[0]===d?b.ai(e.substr(1),f):b.update(e,f))}Kd(){const b=a.sf.ORIGIN,c=new Set,d=(f,g=[])=>{const k=f.tag();if(!c.has(k)&&(c.add(k),g.push(f),f=f.get(b+Rf)))for(const l of f.values())d(l,g);return g},e=this.F[0];for(const [f,g]of this.Pa)d(f).filter(k=>
1082
1083
  k.yc(g)).forEach(k=>{k=k.tag();g?Tf(e,k).create():Tf(e,k).delete()});this.Pa.clear()}Rc(){const b=a.sf.DESTINATION,c=a.Event.OA,d=a.Event.Iy,e=new Set,f=new Map;this.addEventListener(a.Event.pG,g=>{e.add(g)});this.addEventListener(c,g=>{e.delete(g);f.delete(g)});this.addEventListener(d,(g,...k)=>{if(k[0]===Sf&&k[1]===b){const l=k[2];this.get(l).pe()||(k=f.get(l)||new Set,0===k.size&&f.set(l,k),k.add(g))}});this.na(()=>{e.forEach(g=>{const k=this.get(g);k&&null===k.model()&&this.Y.error(`\n[DEBUG - DATABASE]\nInstance ${g} created but does not exist !\n${k.toString()}`)});
1083
- e.clear();f.forEach((g,k)=>{const l=this.get(k);l&&this.Y.error(`\n[DEBUG - DATABASE]\nThe model ${k} is extended by other models but does not exist !`+`\nExtension models: ${Array.from(g.values()).join(', ')}`+`\n\n ${l.toString()}`)});f.clear()})}};olympe.dc.db.Database.sf={bt:'$',XP:'~',cf:'?',wA:'=',HE:'@',ORIGIN:olympe.dc.Pb.ORIGIN,DESTINATION:olympe.dc.Pb.DESTINATION};olympe.dc.db.Database.Event={qF:0,rF:1,sK:2,Zy:3,IE:4,JE:5,OA:6,hh:7,Iy:8,LB:9,pG:10,qG:11,vJ:12};
1084
- olympe.dc.db.Database.C={IDLE:0,LO:1,Yo:2};const Xf=olympe.dc.db.Database.Event,Yf=olympe.dc.db.Database.sf.bt,Zf=olympe.dc.db.Database.sf.XP,$f=olympe.dc.db.Database.sf.cf,ag=olympe.dc.db.Database.sf.wA,bg=olympe.dc.db.Database.sf.HE,cg=olympe.dc.Pb.ORIGIN,dg=olympe.dc.Pb.DESTINATION,eg=olympe.dc.Yf.Sh,fg=olympe.dc.Yf.Gs;
1084
+ e.clear();f.forEach((g,k)=>{const l=this.get(k);l&&this.Y.error(`\n[DEBUG - DATABASE]\nThe model ${k} is extended by other models but does not exist !`+`\nExtension models: ${Array.from(g.values()).join(', ')}`+`\n\n ${l.toString()}`)});f.clear()})}};olympe.dc.db.Database.sf={bt:'$',YP:'~',cf:'?',wA:'=',HE:'@',ORIGIN:olympe.dc.Pb.ORIGIN,DESTINATION:olympe.dc.Pb.DESTINATION};olympe.dc.db.Database.Event={qF:0,rF:1,sK:2,Zy:3,IE:4,JE:5,OA:6,hh:7,Iy:8,LB:9,pG:10,qG:11,vJ:12};
1085
+ olympe.dc.db.Database.C={IDLE:0,LO:1,Yo:2};const Xf=olympe.dc.db.Database.Event,Yf=olympe.dc.db.Database.sf.bt,Zf=olympe.dc.db.Database.sf.YP,$f=olympe.dc.db.Database.sf.cf,ag=olympe.dc.db.Database.sf.wA,bg=olympe.dc.db.Database.sf.HE,cg=olympe.dc.Pb.ORIGIN,dg=olympe.dc.Pb.DESTINATION,eg=olympe.dc.Yf.Sh,fg=olympe.dc.Yf.Gs;
1085
1086
  olympe.dc.db.Instance=class a extends Map{constructor(b,c){super();this.C=b;this.Rb=olympe.dc.Zb.Bd;this.e=!1;this.cb=0;this.F=void 0;this.c=0;this.Ba=a.C.eJ;this.db=c}tag(){return this.C}pe(){return this.e}Ab(){return this.db.Kb(this.C)}source(){return this.Rb}version(){return this.cb}model(){const b=this.get(dg+eg);return b&&b.values().next().value||null}$n(){const b=this.get(dg+fg);return b&&b.values().next().value||null}persisted(){return this.Ba!==a.C.aL}toString(){var b=this.kd(olympe.dc.CloudObject.nameProp.da());
1086
1087
  b=`Instance: ${this.C}, Exist: ${this.e}, Name: ${b}`;var c=this.model();if(c){var d=c.kd(olympe.dc.CloudObject.nameProp.da())||'No model name';b+=`\nModel: ${c.C}, Exist: ${c.e}, Model name: ${d}`}else b+='\nModel: no model';(c=this.$n())?(d=c.kd(olympe.dc.CloudObject.nameProp.da())||'No extension name',b+=`\nExtension: ${c.C}, Exist: ${c.e}, Extension name: ${d}`):b+='\nExtension: no extension';return b}kd(b,c=!1){const d=this.get(Yf+b);return c||void 0!==d?d:this.get(ag+b)}Pa(b,c=!1){const d=this.get($f+
1087
1088
  b);return c||void 0!==d?d:this.get(Zf+b)}update(b,c){const d=Yf+b;var e=this.get(d),f=e=void 0===e?null:e;(null!==f&&'function'===typeof f.Oc?f.Oc(c):f===c)||(e instanceof olympe.dc.ig&&(this.db.get(e.da()).Kb(),this.db.dh(e.da())),c instanceof olympe.dc.ig&&(e=this.db.O(c.da(),!0),e.F&&e.F.tag!==this.C&&this.db.Gb().fatal('Instance',c.da(),'referenced multiple times!\nThis instance is currently property of',e.F.tag,'(for the property '+e.F.pd+')','and is assigned as a property of',this.C,'(for the property '+
@@ -1096,12 +1097,12 @@ d&&d.forEach(e=>{b.forEach((f,g)=>e.Ka(g,f))});d=this.get(cg+fg);void 0!==d&&d.f
1096
1097
  d.get(c);d.delete(c);0===d.size&&this.delete(b);return e}}};olympe.dc.db.Instance.C={aL:0,fJ:1,eJ:2};const Vf=olympe.dc.db.Database.sf.DESTINATION,Uf=olympe.dc.db.Database.sf.wA,gg=olympe.dc.db.Database.sf.bt,hg=olympe.dc.db.Database.sf.HE,ig=olympe.dc.db.Database.sf.ORIGIN+Vf,jg=gg+gg;
1097
1098
  function Wf(a){const b=a.R;a.Z.forEach((c,d)=>{const e=b.get(d);if(c.vk()||c.R()){var f=e.get(hg);f&&kg(a,f,c.vk(),d);c.R()&&a.F.add(d)}for(const [m,n]of c.Gg()){var g=m[0]===Uf;d=a;var k=e;f=g?m.substr(1):m;var l=n;const p=k.get(hg+gg+f);p&&kg(d,p,l,g);(k=k.get(hg+jg))&&kg(d,k,f,l,g)}for(const m of c.Cb())lg(a,e,...m)});a.Z.clear();mg(a)}function Tf(a,b){let c=a.Z.get(b);void 0===c&&(c=new olympe.dc.db.vp(b),a.Z.set(b,c));return c}
1098
1099
  function kg(a,b,...c){b.forEach((d,e)=>{a.km(e,d.bind(null,...c))})}function lg(a,b,c,d,e,f){const g=b.get(hg+d+c);g&&kg(a,g,f,e);(b=b.get(hg+ig))&&kg(a,b,c,d,f,e)}function mg(a){a.O.run(()=>{const b=a.C;for(const [d,e]of a.buffer){var c=b.get(d);(c=c&&c[e])&&c()}});a.C.clear();a.buffer.length=0}
1099
- olympe.dc.db.tP=class{constructor(a,b){this.R=a;this.O=b;this.Z=new Map;this.F=new Set;this.C=new Map;this.buffer=[]}km(a,b){let c=this.C.get(a);void 0===c&&(c=[],this.C.set(a,c));this.buffer.push([a,c.length]);c.push(b)}};olympe.dc.db.MR=class{constructor(a,b,c,d){this.Y=a;this.view=b;this.C=c;d&&this.init()}debug(a){const b=olympe.dc.Hb(a);if(this.C.has(b)){var c=this.C.get(a);a='\n[DEBUG - DATABASE]\n'+c.toString();if(!c.pe()){const d=[];for(;null!==c&&!d.includes(c.tag());)d.push(c.tag()),c=c.model();c=this.C.get(d[d.length-1]);const e=olympe.dc.db.Database.sf.bt+olympe.dc.CloudObject.nameProp.da();d.push('???');a+='\n\nThe instance <<'+b+'>> does not exists because the instance '+c.tag()+' (name: '+c.get(e)+') has no model.\nList: '+
1100
+ olympe.dc.db.tP=class{constructor(a,b){this.R=a;this.O=b;this.Z=new Map;this.F=new Set;this.C=new Map;this.buffer=[]}km(a,b){let c=this.C.get(a);void 0===c&&(c=[],this.C.set(a,c));this.buffer.push([a,c.length]);c.push(b)}};olympe.dc.db.NR=class{constructor(a,b,c,d){this.Y=a;this.view=b;this.C=c;d&&this.init()}debug(a){const b=olympe.dc.Hb(a);if(this.C.has(b)){var c=this.C.get(a);a='\n[DEBUG - DATABASE]\n'+c.toString();if(!c.pe()){const d=[];for(;null!==c&&!d.includes(c.tag());)d.push(c.tag()),c=c.model();c=this.C.get(d[d.length-1]);const e=olympe.dc.db.Database.sf.bt+olympe.dc.CloudObject.nameProp.da();d.push('???');a+='\n\nThe instance <<'+b+'>> does not exists because the instance '+c.tag()+' (name: '+c.get(e)+') has no model.\nList: '+
1100
1101
  d.join(' --M--\x3e ')}this.Y.info(a)}else this.Y.info('[DATABASE] Instance',b,'has never been created or referred by the database')}init(){const a=olympe.dc.db.Database.Event.rF,b=olympe.dc.db.Database.Event.OA,c=olympe.dc.db.Database.Event.hh,d=olympe.dc.db.Database.Event.Iy,e=olympe.dc.db.Database.Event.LB,f=olympe.dc.db.Database.Event.IE,g=olympe.dc.db.Database.Event.JE,k=()=>{};this.C.addEventListener(olympe.dc.db.Database.Event.qF,()=>{});this.C.addEventListener(a,()=>{});this.C.addEventListener(b,
1101
- l=>{this.C.Ab(()=>{og(this.view,l,k,`monitorRelations${l}`)})});this.C.addEventListener(c,l=>{this.C.Ab(()=>{pg(this.view,l,`monitorRelations${l}`)})});this.C.addEventListener(d,()=>{});this.C.addEventListener(e,()=>{});this.C.addEventListener(f,()=>{});this.C.addEventListener(g,()=>{})}};olympe.dc.db.Zu=class a{constructor(b,c,d){this.Y=b.Gb();this.C=b;this.O=new Set;this.mode=c;this.U=d;this.F=!1;c!==a.C.MA&&this.init()}run(){if(!this.F)switch(this.mode){case a.C.CO:this.F=!0;this.U.run(()=>{tc(()=>{this.R();this.F=!1},0)});break;case a.C.YJ:this.F=!0,this.R(),this.F=!1}}R(){const b=this.C,c=olympe.dc.Ve.ri,d=this.O,e=k=>b.get(k);var f=k=>!(k.persisted()||k.na());for(var g of d){const k=b.get(g);if(k&&!k.na()){if(!k.persisted())continue;Array.from(b.U(g,c,!1,f)).forEach(l=>{d.add(l)});
1102
+ l=>{this.C.Ab(()=>{ng(this.view,l,k,`monitorRelations${l}`)})});this.C.addEventListener(c,l=>{this.C.Ab(()=>{pg(this.view,l,`monitorRelations${l}`)})});this.C.addEventListener(d,()=>{});this.C.addEventListener(e,()=>{});this.C.addEventListener(f,()=>{});this.C.addEventListener(g,()=>{})}};olympe.dc.db.Zu=class a{constructor(b,c,d){this.Y=b.Gb();this.C=b;this.O=new Set;this.mode=c;this.U=d;this.F=!1;c!==a.C.MA&&this.init()}run(){if(!this.F)switch(this.mode){case a.C.CO:this.F=!0;this.U.run(()=>{tc(()=>{this.R();this.F=!1},0)});break;case a.C.YJ:this.F=!0,this.R(),this.F=!1}}R(){const b=this.C,c=olympe.dc.Ve.ri,d=this.O,e=k=>b.get(k);var f=k=>!(k.persisted()||k.na());for(var g of d){const k=b.get(g);if(k&&!k.na()){if(!k.persisted())continue;Array.from(b.U(g,c,!1,f)).forEach(l=>{d.add(l)});
1102
1103
  b.Cb(g)}d.delete(g)}for(const k of d)f=Array.from(b.U(k,c,!0)).map(e),g=Array.from(b.U(k,c)).map(e),f.some(l=>l.na())?g.filter(l=>!l.persisted()).forEach(l=>{d.delete(l.tag())}):f.concat(g).filter(l=>!l.persisted()).map(l=>l.tag()).forEach(l=>{d.delete(l);b.Cb(l)});d.clear()}init(){this.C.na(this.run.bind(this));const b=olympe.dc.db.Database.Event.sK,c=olympe.dc.db.Database.Event.qG,d=olympe.dc.db.Database.Event.vJ,e=olympe.dc.db.Database.C.IDLE,f=g=>{this.O.add(g);this.C.getState()===e&&this.run()};
1103
1104
  this.C.addEventListener(olympe.dc.db.Database.Event.Zy,f.bind(this));this.C.addEventListener(c,f.bind(this));this.C.addEventListener(b,g=>{this.O.delete(g)});this.C.addEventListener(d,(g,...k)=>{this.Y.error(k[0])})}};olympe.dc.db.Zu.C={MA:0,YJ:1,CO:2};const qg=olympe.dc.db.Database.sf.ORIGIN,rg=olympe.dc.db.Database.sf.DESTINATION,sg=olympe.dc.db.Database.sf.bt,tg=olympe.dc.db.Database.sf.wA,ug=qg+rg,vg=sg+sg,wg=olympe.dc.db.Database.C;function qf(a,b,c,d){const e=a.C.O(olympe.dc.Hb(b));d=d||xg(a);e.km('',d,c);e.pe()&&a.R.run(()=>{c(!0,b)});return d}function rf(a,b,c,d=!1){const e=yg(a,b);if(null!==e){const f=e.V('',c);void 0!==f&&(a.C.getState()===wg.Yo&&a.C.V(c),!d&&e.pe()&&a.R.run(()=>{f(!1,b)}))}}
1104
- function og(a,b,c,d){const e=a.C.O(olympe.dc.Hb(b));b=d||xg(a);const f=e.jc(ug,b,c);e.pe()&&e.forEach((g,k)=>{g=k[0];g!==qg&&g!==rg||zg(a,e,k,!0,f,!0)})}function pg(a,b,c){const d=yg(a,b);if(null!==d){const e=d.V(ug,c);void 0!==e&&(a.C.getState()!==wg.Yo||d.Ab()||a.C.V(c),d.pe()&&d.forEach((f,g)=>{f=g[0];(f===qg||f===rg)&&e&&zg(a,d,g,!1,e,!0)}))}}function xg(a){++a.U;return String(a.U)}
1105
+ function ng(a,b,c,d){const e=a.C.O(olympe.dc.Hb(b));b=d||xg(a);const f=e.jc(ug,b,c);e.pe()&&e.forEach((g,k)=>{g=k[0];g!==qg&&g!==rg||zg(a,e,k,!0,f,!0)})}function pg(a,b,c){const d=yg(a,b);if(null!==d){const e=d.V(ug,c);void 0!==e&&(a.C.getState()!==wg.Yo||d.Ab()||a.C.V(c),d.pe()&&d.forEach((f,g)=>{f=g[0];(f===qg||f===rg)&&e&&zg(a,d,g,!1,e,!0)}))}}function xg(a){++a.U;return String(a.U)}
1105
1106
  function Ag(a,b,c,d,e){b=a.C.O(olympe.dc.Hb(b));c=olympe.dc.Hb(c);const f=sg+c;e=e||xg(a);b.km(f,e,d);if(b.pe()){let g=!1,k=b.get(f);void 0===k&&(g=!0,k=b.get(tg+c));if(void 0===k)return e;a.R.run(()=>{d(k,g)})}return e}function yg(a,b,c=!1){if(null===b||void 0===b)throw Error('Provided tag is null or undefined.');a=a.C.get(olympe.dc.Hb(b));return!a||c&&!a.pe()?null:a}
1106
1107
  function Bg(a,b,c,d){b=a.C.O(olympe.dc.Hb(b));d=d||xg(a);b.km(vg,d,c);b.pe()&&b.forEach((e,f)=>{const g=f[0];g!==sg&&g!==tg||a.R.run(()=>{c(f.substr(1),e,g===tg)})});return d}function Cg(a,b,c){b=yg(a,b);null!==b&&(b.V(vg,c),a.C.getState()===wg.Yo&&a.C.V(c))}function zg(a,b,c,d,e,f){(b=b.get(c))&&b.forEach((g,k)=>{g.pe()&&(f?a.R.run(()=>{e(c.substr(1),c[0],d,k)}):a.R.run(()=>{e(d,k)}))})}
1107
1108
  function Dg(a,b,c,d,e){b=a.C.O(olympe.dc.Hb(b));c=c.rc()+c.da();e=e||xg(a);d=b.jc(c,e,d);b.pe()&&zg(a,b,c,!0,d,!1);return e}function Eg(a,b,c){return c===olympe.dc.Ve.NONE?0:a.kd(b,c,!0)||0}function Fg(a,b){return function*(c){if(c)for(const [d,e]of c)if(c=d[0],c===qg||c===rg){const f=d.substring(1);for(const g of e.keys())yield[f,c,g]}}(yg(a,b,!0))}
@@ -1110,9 +1111,9 @@ function Ig(a,b,c,d){return(c=(a=yg(a,b,!0))&&a.get(d+c))?Array.from(c.values())
1110
1111
  olympe.dc.nd=class{constructor(a,b){this.Y=a;this.R=new olympe.j.Qd('DB View context');this.C=b;this.U=0}xa(){return this.C.xa()}O(a,b,c){a=yg(this,a);null!==a&&(b=olympe.dc.Hb(b),a.V(sg+b,c),this.C.getState()===wg.Yo&&this.C.V(c))}F(a,b,c,d=!1){a=yg(this,a);if(null!==a){b=b.rc()+b.da();const e=a.V(b,c);void 0!==e&&(this.C.getState()!==wg.Yo||a.Ab()&&!d||this.C.V(c),!d&&a.pe()&&zg(this,a,b,!1,e,!1))}}pe(a){a=yg(this,a);return!(!a||!a.pe())}name(a){return(a=yg(this,a))?a.kd(olympe.dc.CloudObject.nameProp.da()):
1111
1112
  ''}model(a){return(a=(a=yg(this,a,!0))?a.model():null)?a.tag():null}$n(a){return(a=(a=yg(this,a,!0))&&a.$n())?a.tag():null}Rz(a){a=yg(this,a,!0);return!(!a||!a.$n())}$h(a,b){a=(a=yg(this,a,!0))&&a.model();return!(!a||!this.yw(a.tag(),b))}version(a){return(a=yg(this,a,!0))&&a.version()}source(a){return(a=yg(this,a,!0))&&a.source()}po(a){return(a=yg(this,a,!1))?!!a.persisted():!0}kd(a,b,c){b=(a=yg(this,a,!0))?a.kd(olympe.dc.Hb(b),c):null;return void 0!==b?b:null}Gg(a,b=!1){var c=yg(this,a,!0);a=new Map;
1112
1113
  if(c)for(const [d,e]of c)c=d[0],(c===sg||!b&&c===tg)&&a.set(d.substring(1),e);return a}zc(a,b){return this.nw(a,[b])}Sz(a,b,c){return this.zc(a,b).includes(olympe.dc.Hb(c))}nw(a,b){a=yg(this,a,!0);if(!a)return[];a=[a.tag()];for(const c of b){b=[];for(const d of a)if(a=yg(this,d,!0).get(c.rc()+c.da()),void 0!==a)for(const e of a.values())e.pe()&&b.push(e.tag());a=b}return a}xe(a,b){var c=yg(this,a,!0);return c?(c=c.get(b.rc()+b.da()))&&1<c.size?(this.Y.warn(`Relation ${b.da()} to instance ${a} is not unique: found ${c.size} related items`),
1113
- null):(a=c?c.values().next().value:null)&&a.pe()?a.tag():null:null}Bm(a,b,c){a=olympe.dc.Hb(a);const d=Gg(this,a,b);d.delete(a);return c?(c=olympe.dc.Hb(c),d.has(c)?Array.from(Gg(this,c,b.Pe()).keys()).filter(e=>d.has(e)):[]):Array.from(d.keys())}AC(a,b,c){if(!this.pe(a))return null;b=Gg(this,a,b);const d=[olympe.dc.Hb(a)];for(const e of d){if(c(e))return e;if(a=b.get(e))for(const f of a.filter(g=>!d.includes(g)))d.push(f)}return null}nz(a,b,c){return this.nw(a,b).find(c)||null}lU(a,b,c){return this.nw(a,
1114
+ null):(a=c?c.values().next().value:null)&&a.pe()?a.tag():null:null}Bm(a,b,c){a=olympe.dc.Hb(a);const d=Gg(this,a,b);d.delete(a);return c?(c=olympe.dc.Hb(c),d.has(c)?Array.from(Gg(this,c,b.Pe()).keys()).filter(e=>d.has(e)):[]):Array.from(d.keys())}AC(a,b,c){if(!this.pe(a))return null;b=Gg(this,a,b);const d=[olympe.dc.Hb(a)];for(const e of d){if(c(e))return e;if(a=b.get(e))for(const f of a.filter(g=>!d.includes(g)))d.push(f)}return null}nz(a,b,c){return this.nw(a,b).find(c)||null}mU(a,b,c){return this.nw(a,
1114
1115
  b).filter(c)}Ir(a,b=olympe.dc.CloudObject){var c=yg(this,a,!0);const d=b&&yg(this,b,!0),e=[c];for(;c&&c!==d;){c=c.$n();if(e.includes(c))throw Error(`Cycle detected when following recursively extend relations from base model instance "${a}".`);if(c&&!c.pe())throw a=`Try to get all extensions of the model ${olympe.dc.Hb(a)} but one of them does not exists (${c.tag()})`,Error(a);null!==c&&e.push(c)}c=yg(this,olympe.dc.CloudObject,!0);if(d!==c&&e[e.length-1]===c)throw Error(`The model "${this.name(a)}" (tag = ${a}) does not extend the expected model "${this.name(b)}" (tag = ${b}).`);
1115
- return e.map(f=>f.tag())}yw(a,b){const c=olympe.dc.Hb(b);return!!this.AC(a,olympe.dc.CloudObject.extendRel,d=>d===c)}aj(a){return this.zc(a,olympe.dc.CloudObject.instancesRel)}};olympe.dc.nd.prototype.getInstances=olympe.dc.nd.prototype.aj;olympe.dc.nd.prototype.isExtending=olympe.dc.nd.prototype.yw;olympe.dc.nd.prototype.getExtendedModels=olympe.dc.nd.prototype.Ir;olympe.dc.nd.prototype.findAllRelated=olympe.dc.nd.prototype.lU;olympe.dc.nd.prototype.findRelated=olympe.dc.nd.prototype.nz;
1116
+ return e.map(f=>f.tag())}yw(a,b){const c=olympe.dc.Hb(b);return!!this.AC(a,olympe.dc.CloudObject.extendRel,d=>d===c)}aj(a){return this.zc(a,olympe.dc.CloudObject.instancesRel)}};olympe.dc.nd.prototype.getInstances=olympe.dc.nd.prototype.aj;olympe.dc.nd.prototype.isExtending=olympe.dc.nd.prototype.yw;olympe.dc.nd.prototype.getExtendedModels=olympe.dc.nd.prototype.Ir;olympe.dc.nd.prototype.findAllRelated=olympe.dc.nd.prototype.mU;olympe.dc.nd.prototype.findRelated=olympe.dc.nd.prototype.nz;
1116
1117
  olympe.dc.nd.prototype.findRecursive=olympe.dc.nd.prototype.AC;olympe.dc.nd.prototype.getRecursiveRelated=olympe.dc.nd.prototype.Bm;olympe.dc.nd.prototype.getUniqueRelated=olympe.dc.nd.prototype.xe;olympe.dc.nd.prototype.getMultiRelated=olympe.dc.nd.prototype.nw;olympe.dc.nd.prototype.isRelated=olympe.dc.nd.prototype.Sz;olympe.dc.nd.prototype.getRelated=olympe.dc.nd.prototype.zc;olympe.dc.nd.prototype.getProperties=olympe.dc.nd.prototype.Gg;olympe.dc.nd.prototype.getProperty=olympe.dc.nd.prototype.kd;
1117
1118
  olympe.dc.nd.prototype.isPersisted=olympe.dc.nd.prototype.po;olympe.dc.nd.prototype.instanceOf=olympe.dc.nd.prototype.$h;olympe.dc.nd.prototype.isModel=olympe.dc.nd.prototype.Rz;olympe.dc.nd.prototype.extension=olympe.dc.nd.prototype.$n;olympe.dc.nd.prototype.model=olympe.dc.nd.prototype.model;olympe.dc.nd.prototype.name=olympe.dc.nd.prototype.name;olympe.dc.nd.prototype.exist=olympe.dc.nd.prototype.pe;olympe.dc.db.fg=class a{constructor(b){this.id=b||olympe.pa.Et();this.C=new Map}toJSON(){let b='{ "id": '+JSON.stringify(this.id)+', "instances": {';for(const c of this.C.keys()){const d=this.C.get(c);b+=JSON.stringify(c)+': '+d.toJSON()+', '}b.endsWith(', ')&&(b=b.substr(0,b.length-2));return b+'}}'}static gf(b){var c;'string'===typeof b?c=JSON.parse(b):c=b;b=new olympe.dc.db.fg(c.id);c=c.instances;for(const d of Object.keys(c)){const e=olympe.dc.db.vp.gf(c[d]);b.C.set(d,e)}return b}xa(){return this.id}qh(b){const c=
1118
1119
  olympe.dc.db.vp.C.yB,d=olympe.dc.db.vp.C.hh,e=olympe.dc.db.vp.C.$y;this.C.forEach((f,g)=>{const k=f.getState();switch(k.id){case c:b.F(g,f.Ba()?f.Gg():void 0);break;case e:f.Ba()&&b.ng(g,f.Gg(),k.Yv);break;case d:b.dh(g,k.Yv)}for(const [l,m,n]of f.Yh())n?b.Ob(l,g,m):b.Qf(l,g,m)})}hd(){let b=0;this.C.forEach(c=>{b+=c.hd()});return b}F(b,c){b=this.O(b).create();c&&b.ca(c)}ng(b,c,d){c&&(b=this.O(b).ca(c),d&&b.cb())}dh(b,c=olympe.dc.Ve.NONE){const d=this.C.get(b);if(d&&d.vk())this.R(b,c);else{this.O(b).delete(c);
@@ -1132,9 +1133,9 @@ function Lg(a,b){const c=a.C,d=olympe.dc.db.Database.sf.bt,e=olympe.dc.db.Databa
1132
1133
  r.version()).set(l,r.source());p.forEach((w,x)=>{const y=x[0],B=x.substr(1);y===d?v.set(B,w):y===e?v.set(x,w):y===f?w.forEach((E,D)=>{m.Ob(B,D,u,0)}):y===g&&w.forEach((E,D)=>{m.Ob(B,u,D,0)})});m.F(u,v,0)}}else{const u=(new Map).set(k,r.version());for(const v of n.Gg().keys()){var t=v[0]===e;const w=t?v.substr(1):v;t=t?r.Pa(w,!0):r.kd(w,!0);u.set(v,void 0===t?null:t)}1<u.size&&m.ng(p,u,!0,0);for(const [v,w,x]of n.Yh())x?m.Qf(v,p,w):m.Ob(v,p,w)}}});return m}
1133
1134
  olympe.dc.db.aP=class{constructor(a,b,c){this.Y=a;this.C=b;this.R=c;this.F=[];this.O=new Map}Nm(a,b){Lf(this,Mf(this,a,this.F.length),b)}push(a){const b=this.F.indexOf(a);if(-1<b){const c=this.O.get(a);this.F.splice(b,1);Mf(this,c.F,b);this.O.delete(a)}}};function Mg(a,b,c,d){const e=olympe.dc.Pb.DESTINATION;c=c.tag();const f=a.C.io(c);b.Gg().forEach((g,k)=>{f.ea(k,g);b.La(k)});for(const [g,k,l,m]of b.Cb()){if(!m)continue;const n=k===e?c:l,p=k===e?l:c;a.C.Ob(g,n,p);d.U(g,n,p)}}
1134
1135
  function Ng(a,b,c,d){const e=olympe.dc.Pb.DESTINATION,f=c.tag(),g=a.C.io(f);b.Gg().forEach((k,l)=>{void 0!==c.kd(l)&&(g.ea(l,k),b.La(l))});for(const [k,l,m]of b.Yh()){const n=c.Ab(k,e,l);void 0!==n&&(d.U(k,f,l),n===m&&a.C.U(k,f,l))}}
1135
- class Kg{constructor(a,b,c){this.F=a;this.C=b;this.source=c;this.db=olympe.dc.cc()}xa(){return this.F.xa()}Nm(a){var b=this.F.C,c=a.C;const d=b.size>c.size,e=d?b:c;b=d?c:b;for(const [g,k]of b){b=g;var f=e.get(b);void 0!==f&&(c=d?f:k,f=d?k:f,f.R()?c.vk()||this.C.R(b,f.getState().Yv):c.R()?(Mg(this,f,c,a),a.R(b,c.getState().Yv)):Ng(this,f,c,a))}return a}};olympe.dc.db.fa={Qb:'dc.db.Logger',sb:'dc.db.DatabaseManager',Px:'dc.db.Database',nd:'dc.db.Driver',HP:'dc.db.Graph',$E:'dc.db.DataProcessor',dF:'dc.db.DebugProcessor',SZ:'dc.db.PermissionProcessor',nv:'dc.db.GraphMonitor'};olympe.dc.db.za={MF:'db.garbageCollector',nv:'db.monitor',cF:'db.debug'};
1136
+ class Kg{constructor(a,b,c){this.F=a;this.C=b;this.source=c;this.db=olympe.dc.cc()}xa(){return this.F.xa()}Nm(a){var b=this.F.C,c=a.C;const d=b.size>c.size,e=d?b:c;b=d?c:b;for(const [g,k]of b){b=g;var f=e.get(b);void 0!==f&&(c=d?f:k,f=d?k:f,f.R()?c.vk()||this.C.R(b,f.getState().Yv):c.R()?(Mg(this,f,c,a),a.R(b,c.getState().Yv)):Ng(this,f,c,a))}return a}};olympe.dc.db.fa={Qb:'dc.db.Logger',sb:'dc.db.DatabaseManager',Px:'dc.db.Database',nd:'dc.db.Driver',HP:'dc.db.Graph',$E:'dc.db.DataProcessor',dF:'dc.db.DebugProcessor',TZ:'dc.db.PermissionProcessor',nv:'dc.db.GraphMonitor'};olympe.dc.db.za={MF:'db.garbageCollector',nv:'db.monitor',cF:'db.debug'};
1136
1137
  olympe.oa.Fe(function(a){C(a,olympe.dc.db.za.MF,olympe.dc.db.Zu.C.YJ);C(a,olympe.dc.db.za.nv,!1);C(a,olympe.dc.db.za.cF,!1);A(a,olympe.dc.db.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc.db'));A(a,olympe.dc.db.fa.Px,[olympe.dc.db.fa.Qb,new olympe.oa.Ta(olympe.dc.za.gF),new olympe.oa.Ta(olympe.dc.db.za.MF),new olympe.oa.Ta(olympe.dc.za.Gp),new olympe.oa.Ta(olympe.dc.db.za.cF)],(b,c,d,e,f)=>{d=e?olympe.dc.db.Zu.C.MA:d;c=(new Map).set('defaultSource',c).set('garbageCollector',d).set('debug',f);return new olympe.dc.db.Database(b,
1137
- c)});A(a,olympe.dc.db.fa.nd,[olympe.dc.db.fa.sb],b=>b.view);A(a,olympe.dc.db.fa.nv,[olympe.dc.db.fa.sb],b=>b.oW);z(a,olympe.dc.db.fa.dF,olympe.dc.db.ff.mF,olympe.dc.fa.Qb);A(a,olympe.dc.db.fa.$E,[olympe.dc.db.fa.Qb,olympe.dc.db.fa.Px,olympe.oa.fa.xn,new olympe.oa.Ta(olympe.dc.za.$o)],(b,c,d,e)=>{b=new olympe.dc.db.ff.dL(b,c);e&&(b=new olympe.dc.JB(na(d,olympe.dc.db.fa.dF),b));return b});z(a,olympe.dc.db.fa.sb,olympe.dc.db.lP,olympe.dc.db.fa.Qb,olympe.dc.db.fa.Px,olympe.dc.fa.ik,olympe.dc.db.fa.$E,
1138
+ c)});A(a,olympe.dc.db.fa.nd,[olympe.dc.db.fa.sb],b=>b.view);A(a,olympe.dc.db.fa.nv,[olympe.dc.db.fa.sb],b=>b.pW);z(a,olympe.dc.db.fa.dF,olympe.dc.db.ff.mF,olympe.dc.fa.Qb);A(a,olympe.dc.db.fa.$E,[olympe.dc.db.fa.Qb,olympe.dc.db.fa.Px,olympe.oa.fa.xn,new olympe.oa.Ta(olympe.dc.za.$o)],(b,c,d,e)=>{b=new olympe.dc.db.ff.dL(b,c);e&&(b=new olympe.dc.JB(na(d,olympe.dc.db.fa.dF),b));return b});z(a,olympe.dc.db.fa.sb,olympe.dc.db.lP,olympe.dc.db.fa.Qb,olympe.dc.db.fa.Px,olympe.dc.fa.ik,olympe.dc.db.fa.$E,
1138
1139
  new olympe.oa.Ta(olympe.dc.db.za.nv))},'olympe.dc.db');olympe.oa.run([olympe.dc.db.fa.Px,olympe.dc.db.fa.nv],(a,b)=>{olympe.jw().db=a;olympe.jw().dbMonitor=b},'DC.DB debug service injection');olympe.dc.db.ff={};olympe.dc.db.ff.dL=class{constructor(a,b){this.Y=a;this.C=b;this.buffer=[]}process(a,b,c){this.C.ca();b.qh(this);this.C.$();c(null,b)}F(a,b){this.C.create(a,b)}ng(a,b,c){this.C.update(a,b,c)}dh(a,b=olympe.dc.Ve.NONE){for(const c of this.C.U(a,b))this.C.dh(c)}Ob(a,b,c){this.C.Rb(a,b,c)}Qf(a,b,c){this.C.yc(a,b,c)}};olympe.dc.db.ff.dL.ua=[olympe.dc.Dp,olympe.dc.pt];function Og(a,b,c){if(!b)return'';let d='';if(c&&1<c)return'...';for(const [e,f]of b)d+=(d?', "':'"')+e+'":',f?f instanceof olympe.dc.ig||f instanceof olympe.dc.CloudObject?d+='new olympe.dc.Reference("'+f.da()+'")':f instanceof olympe.j.Color?d+='new olympe.df.Color("'+f.sk()+','+f.qk()+','+f.nk()+','+f.bl()+'")':f.constructor&&Object.prototype.hasOwnProperty.call(f.constructor.prototype,'toString')?d+=JSON.stringify(f.toString()):'object'===typeof f&&(d+=Og(a,f,(c||0)+1)):d+=JSON.stringify(f);return'{'+
1139
1140
  (d?d:'')+'}'}
1140
1141
  olympe.dc.db.ff.mF=class{constructor(a){this.Y=a;this.C=''}process(a,b,c){this.C='Patch #'+b.xa()+' (source: '+a+')';b.qh(this);this.Y.info(this.C);this.C='';c(null,b)}log(a,b){this.C+='\ndb.'+a+';'+(b?' // '+b:'')}F(a,b){this.log('createInstance("'+a+'", '+Og(this,b)+')')}ng(a,b){this.log('updateInstance("'+a+'", '+Og(this,b)+')')}dh(a,b){var c=olympe.dc.cc();const d=c.model(a);c=d?c.name(d)+' #'+d:'';this.log('deleteInstance("'+a+'", rule: '+b+')',c)}Ob(a,b,c){this.log('createRelation("'+a+'", "'+
@@ -1144,7 +1145,7 @@ c)=>{this.U((d,e)=>{for(const f of this.na)f.unsubscribe();d?b():c(e)})})}update
1144
1145
  !1;null!==this.C&&(clearTimeout(this.C),this.C=null);this.R.clear();const c=this.$(new Set(this.O.keys()));Qg(this,c,!0,b)}else b&&b(!0,null)}toString(){return'Burst transaction #'+this.id}};olympe.dc.Qu.prototype.complete=olympe.dc.Qu.prototype.complete;olympe.dc.Qu.prototype.push=olympe.dc.Qu.prototype.push;olympe.dc.YI=class{Vd(){}toString(){}};olympe.dc.transaction.Ap=class{constructor(a){this.id=a||olympe.pa.Et();this.Fb=[];this.size=0}xa(){return this.id}hd(){return this.size}concat(a){this.Fb.push(...a.Fb)}qh(a){const b=olympe.dc.transaction.Ap.C,c=this.Fb.length;let d=0;for(;d<c;)switch(this.Fb[d]){case b.PE:a.F(this.Fb[d+1],this.Fb[d+2],this.Fb[d+3]);d+=4;break;case b.rK:a.ng(this.Fb[d+1],this.Fb[d+2],this.Fb[d+3],this.Fb[d+4]);d+=5;break;case b.hF:a.dh(this.Fb[d+1],this.Fb[d+2],this.Fb[d+3]);d+=4;break;case b.QE:a.Ob(this.Fb[d+1],
1145
1146
  this.Fb[d+2],this.Fb[d+3],this.Fb[d+4]);d+=5;break;case b.iF:a.Qf(this.Fb[d+1],this.Fb[d+2],this.Fb[d+3],this.Fb[d+4]);d+=5;break;default:throw Error('Invalid Patch operations "'+this.Fb[d]+'"');}}F(a,b,c){this.Fb.push(olympe.dc.transaction.Ap.C.PE,a,b,c);this.size++}ng(a,b,c,d){this.Fb.push(olympe.dc.transaction.Ap.C.rK,a,b,c,d);this.size++}dh(a,b=olympe.dc.Ve.NONE,c){this.Fb.push(olympe.dc.transaction.Ap.C.hF,a,b,c);this.size++}Ob(a,b,c,d){if('string'!==typeof a)throw Error('Relation should be created using a tag as string (most likely a relation object is given here instead)');
1146
1147
  this.Fb.push(olympe.dc.transaction.Ap.C.QE,a,b,c,d);this.size++}Qf(a,b,c,d){this.Fb.push(olympe.dc.transaction.Ap.C.iF,a,b,c,d);this.size++}};olympe.dc.transaction.Ap.C={PE:1,rK:2,hF:3,QE:4,iF:5};olympe.dc.transaction.Ap.ua=[olympe.dc.pt,olympe.dc.IB];function Rg(a,b){return a.V.get(b)||a.db.source(b)||olympe.dc.Zb.cf}function Sg(a,b){return a.U.has(b)?a.U.get(b):a.db.po(b)}function Tg(a,b,c,d){var e=d&&d.get(olympe.dc.Lf.VERSION);a.F.set(b,Number(e)||1);d&&a.V.set(b,d.get(olympe.dc.Lf.Ej));e=Rg(a,b);a.U.set(b,c&&a.O);a.jg(e,c,f=>{f.F(b,d,0)})}
1147
- olympe.dc.transaction.fS=class{constructor(a,b){this.id=b||olympe.pa.we();this.db=a;this.C=new Map;this.R=new olympe.dc.db.fg(b);this.F=new Map;this.V=new Map;this.ga={};this.U=new Map;this.O=!0}dj(){return 0===this.R.C.size}hd(){return this.C.size}persist(a){this.O=a}ng(a,b,c=!1){var d=b&&b.get(olympe.dc.Lf.VERSION);this.F.set(a,Number(d)||1);d=Rg(this,a);if(!d)throw Error('Attempt to update an instance which has an unknown source.');this.jg(d,Sg(this,a),e=>{e.ng(a,b,c,0)})}dh(a,b){const c=Rg(this,
1148
+ olympe.dc.transaction.gS=class{constructor(a,b){this.id=b||olympe.pa.we();this.db=a;this.C=new Map;this.R=new olympe.dc.db.fg(b);this.F=new Map;this.V=new Map;this.ga={};this.U=new Map;this.O=!0}dj(){return 0===this.R.C.size}hd(){return this.C.size}persist(a){this.O=a}ng(a,b,c=!1){var d=b&&b.get(olympe.dc.Lf.VERSION);this.F.set(a,Number(d)||1);d=Rg(this,a);if(!d)throw Error('Attempt to update an instance which has an unknown source.');this.jg(d,Sg(this,a),e=>{e.ng(a,b,c,0)})}dh(a,b){const c=Rg(this,
1148
1149
  a),d=Sg(this,a);this.jg(c,d,e=>{e.dh(a,b)})}Ob(a,b,c){const d=Rg(this,b),e=Rg(this,c);let f=Sg(this,b)&&Sg(this,c);f&&d!==e&&a!==olympe.dc.Yf.Sh&&(olympe.ub.Gb('dc').warn(`Try to create a relation between 2 objects that have different locations: ${b}-[${a}]->${c}`),f=!1);this.jg(d,f,g=>{g.Ob(a,b,c,0)})}Qf(a,b,c){const d=Rg(this,b),e=Rg(this,c);let f=Sg(this,b)&&Sg(this,c);f&&d!==e&&a!==olympe.dc.Yf.Sh&&(olympe.ub.Gb('dc').warn(`Try to delete a relation between 2 objects that have different locations: ${b}-[${a}]->${c}`),
1149
1150
  f=!1);this.jg(d,f,g=>{g.Qf(a,b,c,0)})}jg(a,b,c){c(this.R);b&&this.O&&(b=this.C.get(a),b||(b=new olympe.dc.db.fg(this.id),this.C.set(a,b)),c(b))}};function Ug(a,b,c){const d=Object.create(null);if(!b)return d;for(const f of Array.from(b.keys()).sort()){let g=f;var e=b.get(f);if(g===olympe.dc.Lf.Ej)if(e===olympe.dc.Zb.Bd)d[g]=olympe.dc.cc().xa();else{if(e===olympe.dc.Zb.$g)continue}else g.startsWith(olympe.dc.Lf.VERSION)?(g=g.substr(1),e=null===e?1:e):g.startsWith(olympe.dc.Yl.cf)&&(g='fd'+g.substr(1));e=a.ga(e);c&&e instanceof Object&&8===e.c?a.V.set(g,e):d[g]=e}return d}
1150
1151
  function Vg(a){if(0===a.V.size)return null;const b=Object.create(null);a.V.forEach((c,d)=>{b[d]=c});a.V.clear();return b}
@@ -1163,41 +1164,42 @@ c,b);this.Ob(olympe.dc.CloudObject.containsRel,a,c);return c}Ur(){return!1}hC(a)
1163
1164
  function Qg(a,b,c,d){var e=olympe.dc.Ut();const f=olympe.dc.Lf.VERSION,g=olympe.dc.ab.gb.Pu,k=olympe.dc.ab.gb.DA,l=a.xa(),m=a.Ur(),n=new Map;for(const r of b.keys()){var p=e.db.source(r);if(p===olympe.dc.Zb.Bd)continue;let t=n.get(p);t||(t=new olympe.dc.db.fg(l),n.set(p,t));p=b.get(r);p.set(f,e.db.version(r)+1);t.ng(r,p,!1,0)}for(const [r,t]of n)b=tf(new olympe.dc.ab(c?k:g,{jg:t,Ur:m},[r]),a.getContext()),c&&d&&uf(b,u=>{u?d(!1,u.message):d(!0,null)}),e.O.send(b)}
1164
1165
  function dh(a,b,c){var d=olympe.dc.Ut();if(c&&b){const e=a.xa();d.F.set(e,b);eh(d,a,(f,g)=>{f||(d.F.delete(e),b(f,g))},!1)}else eh(d,a,b,!1)}
1165
1166
  function fh(a){const b=olympe.dc.ab.gb.Zx;a.O.C(olympe.dc.ab.gb.EA,(c,d)=>{c=d.id;var e=d.rollback;d=d.error;const f=a.R.get(c);void 0!==f&&(a.R.delete(c),f.Cb(d));olympe.dc.yi().Nm(e,olympe.dc.Zb.Bd);a.Y.warn(`Fast update (id=${c}) has been refused and is rolled back. Error: ${d}`)});a.O.C(b,(c,d)=>{c=d.finalize;var e=d.error;(d=(d=a.C.get(d.id))&&d.pop())&&d(c,e)})}
1166
- function eh(a,b,c,d=!1){const e=olympe.j.jb(),f=c?e.C(c):void 0;c=olympe.dc.yi();const g=b.xa(),k=new olympe.dc.transaction.fS(a.db,g);b.Vd(k);if(k.dj())f&&f(!0,null);else{a.C.set(g,[]);const l=[],m=[];for(const p of k.F.keys())Sg(k,p)?l.push(p):m.push(p);const n=Jf(c,e,k.R,l,m);gh(a,k,(p,r,t)=>{r?(hh(a,g,l,k.hd()),ih(a,k,d,b.Ur(),(u,v)=>{!u&&a.C.has(g)&&(a.C.get(g).forEach(w=>w(olympe.dc.transaction.Hp.C.zy,v)),jh(a,g));n(u);p&&p(u);f&&f(u,v)})):(a.Y.error(t),n(!1),f&&f(!1,t))})}}
1167
+ function eh(a,b,c,d=!1){const e=olympe.j.jb(),f=c?e.C(c):void 0;c=olympe.dc.yi();const g=b.xa(),k=new olympe.dc.transaction.gS(a.db,g);b.Vd(k);if(k.dj())f&&f(!0,null);else{a.C.set(g,[]);const l=[],m=[];for(const p of k.F.keys())Sg(k,p)?l.push(p):m.push(p);const n=Jf(c,e,k.R,l,m);gh(a,k,(p,r,t)=>{r?(hh(a,g,l,k.hd()),ih(a,k,d,b.Ur(),(u,v)=>{u||jh(a,g,v);n(u);p&&p(u);f&&f(u,v)})):(a.Y.error(t),jh(a,g,t),n(!1),f&&f(!1,t))})}}
1167
1168
  function gh(a,b,c){const d=[];for(const p of b.F.keys())a.db.$h(p,olympe.dm.File)&&Sg(b,p)&&d.push(p);if(0===d.length)c(null,!0,null);else{var e=olympe.dm.File.urlProp.da(),f=olympe.dm.File.F.da(),g=olympe.dm.File.modificationDateProp.da(),k=Array.from(b.C.values()),l=[],m=new olympe.async.Bp(olympe.j.nl()),n=olympe.pa.mk();d.forEach(p=>{m.add((r,t)=>{const u=a.db.kd(p,e,!0),v=a.db.kd(p,olympe.dm.File.mimeTypeProp)||'application/data';u.startsWith('blob:')?n.F(u,w=>{n.V(u);null===w?r():pf(a.V,p,w,
1168
1169
  v,x=>{const y=k.reduce((B,E)=>B||E.io(p),null);null!==y&&(y.ea(e,x).ea(f,!0),l.push([p,x]));r()},x=>{t(x)})}):(2048<u.length&&a.Y.error('Trying to create a file with an URL longer than 2048. It likely is a data url and should be an object url. File tag:',p),r())})});Kc(m,(p,r)=>{let t=null;if(p){const u=new olympe.dc.db.fg;l.forEach(([v,w])=>{const x=new Map;x.set(e,w).set(f,!0).set(g,olympe.j.hc.now());u.ng(v,x,!0,0)});t=Jf(olympe.dc.yi(),olympe.j.nl(),u,[],[])}c(t,p,r)});m.start()}}
1169
1170
  function hh(a,b,c,d){const e=olympe.j.nl(),f=new olympe.async.Bp(e);0<a.timeout&&Jc(f,a.timeout);const g=a.C.get(b);for(let k=0;k<d;k++)f.add((l,m,n)=>{g.push(e.C((p,r)=>{n.set('final',p);r?m(r):l()}))});Kc(f,(k,l,m)=>{k||a.Y.warn(`An error occurred while processing the notification of transaction (${b}): ${l}.`);m.get('final')!==olympe.dc.transaction.Hp.C.SI&&olympe.dc.yi().persist(c);jh(a,b)});f.start()}
1170
- function ih(a,b,c,d,e){b=b.C;if(0===b.size)e(!0,null);else{var f=c?olympe.dc.ab.gb.Vy:olympe.dc.ab.gb.it;c=(k,l,m,n)=>{k=uf(new olympe.dc.ab(f,{jg:k,Ur:d},[l]),p=>{p instanceof Error?n(p.message):m()});a.O.send(k)};var g=new olympe.async.Bp(olympe.j.nl());for(const [k,l]of b)g.add(c.bind(null,l,k));Kc(g,e);g.start()}}function jh(a,b){a.C.delete(b);if(0===a.C.size){for(var c of a.U)c();a.U=[]}a.F.has(b)&&(c=a.F.get(b),a.F.delete(b),c(!0,null))}
1171
- function kh(a,b){0<a.C.size?a.U.push(olympe.j.jb().C(b)):b()}olympe.dc.transaction.Hp=class{constructor(a,b,c,d,e){this.Y=a;this.db=b;this.O=c;this.V=d;this.timeout=e;this.R=new Map;this.C=new Map;this.U=[];this.F=new Map;fh(this)}Gb(){return this.Y}};olympe.dc.transaction.Hp.C={zy:0,RI:1,SI:2};olympe.dc.transaction.fa={Qb:'dc.transaction.Logger',sb:'dc.transaction.Manager'};olympe.dc.transaction.za={TIMEOUT:'dc.transaction.timeout',zE:'dc.transaction.burstInterval'};
1172
- olympe.oa.Fe(function(a){C(a,olympe.dc.transaction.za.TIMEOUT,6E4);C(a,olympe.dc.transaction.za.zE,30);A(a,olympe.dc.transaction.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc'));z(a,olympe.dc.transaction.fa.sb,olympe.dc.transaction.Hp,olympe.dc.transaction.fa.Qb,olympe.dc.fa.Tu,olympe.dc.fa.ik,olympe.dc.fa.Wu,new olympe.oa.Ta(olympe.dc.transaction.za.TIMEOUT))},'olympe.dc.transaction');olympe.dc.transaction.Fb={};function lh(a){return olympe.dc.Hb(a)}function mh(a,b){const c=new Map;for(const [d,e]of b)c.set(d,a.Ua(e));return c}olympe.dc.transaction.Fb.Pq=class{Vd(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}Ua(a){a=olympe.j.Ua(a);return void 0===a||null===a?null:olympe.j.GN(a)?a.valueOf():a}};olympe.dc.transaction.Fb.Pq.ua=[olympe.dc.YI];olympe.dc.transaction.Fb.uj=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b){super();this.tag=void 0!==b?b:olympe.pa.we();this.model=a;this.C=new Map;this.F=!0;this.C.set(olympe.dc.Lf.VERSION,1)}da(){return lh(this.tag)}$e(){return lh(this.model)}persist(a){this.F=a;return this}he(a){this.C.set(olympe.dc.Lf.Ej,a);return this}eW(){this.C.set(olympe.dc.Lf.Ej,olympe.dc.Zb.Bd)}setProperty(a,b){this.C.set(olympe.dc.Hb(a),b);return this}iA(a){this.setProperty(olympe.dc.CloudObject.nameProp.da(),
1171
+ function ih(a,b,c,d,e){b=b.C;if(0===b.size)e(!0,null);else{var f=c?olympe.dc.ab.gb.Vy:olympe.dc.ab.gb.it;c=(k,l,m,n)=>{k=uf(new olympe.dc.ab(f,{jg:k,Ur:d},[l]),p=>{p instanceof Error?n(p.message):m()});a.O.send(k)};var g=new olympe.async.Bp(olympe.j.nl());for(const [k,l]of b)g.add(c.bind(null,l,k));Kc(g,e);g.start()}}
1172
+ function jh(a,b,c){if(void 0!==c){var d;null==(d=a.C.get(b))||d.forEach(e=>{e(olympe.dc.transaction.Hp.C.zy,c)})}a.C.delete(b);if(0===a.C.size){for(const e of a.U)e();a.U=[]}a.F.has(b)&&(d=a.F.get(b),a.F.delete(b),d(!0,null))}function kh(a,b){0<a.C.size?a.U.push(olympe.j.jb().C(b)):b()}olympe.dc.transaction.Hp=class{constructor(a,b,c,d,e){this.Y=a;this.db=b;this.O=c;this.V=d;this.timeout=e;this.R=new Map;this.C=new Map;this.U=[];this.F=new Map;fh(this)}Gb(){return this.Y}};
1173
+ olympe.dc.transaction.Hp.C={zy:0,RI:1,SI:2};olympe.dc.transaction.fa={Qb:'dc.transaction.Logger',sb:'dc.transaction.Manager'};olympe.dc.transaction.za={TIMEOUT:'dc.transaction.timeout',zE:'dc.transaction.burstInterval'};
1174
+ olympe.oa.Fe(function(a){C(a,olympe.dc.transaction.za.TIMEOUT,6E4);C(a,olympe.dc.transaction.za.zE,30);A(a,olympe.dc.transaction.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc'));z(a,olympe.dc.transaction.fa.sb,olympe.dc.transaction.Hp,olympe.dc.transaction.fa.Qb,olympe.dc.fa.Tu,olympe.dc.fa.ik,olympe.dc.fa.Wu,new olympe.oa.Ta(olympe.dc.transaction.za.TIMEOUT))},'olympe.dc.transaction');olympe.dc.transaction.Fb={};function lh(a){return olympe.dc.Hb(a)}function mh(a,b){const c=new Map;for(const [d,e]of b)c.set(d,a.Ua(e));return c}olympe.dc.transaction.Fb.Pq=class{Vd(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}Ua(a){a=olympe.j.Ua(a);return void 0===a||null===a?null:olympe.j.GN(a)?a.valueOf():a}};olympe.dc.transaction.Fb.Pq.ua=[olympe.dc.YI];olympe.dc.transaction.Fb.uj=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b){super();this.tag=void 0!==b?b:olympe.pa.we();this.model=a;this.C=new Map;this.F=!0;this.C.set(olympe.dc.Lf.VERSION,1)}da(){return lh(this.tag)}$e(){return lh(this.model)}persist(a){this.F=a;return this}he(a){this.C.set(olympe.dc.Lf.Ej,a);return this}fW(){this.C.set(olympe.dc.Lf.Ej,olympe.dc.Zb.Bd)}setProperty(a,b){this.C.set(olympe.dc.Hb(a),b);return this}iA(a){this.setProperty(olympe.dc.CloudObject.nameProp.da(),
1173
1175
  a);return this}Vd(a){const b=olympe.dc.cc(),c=this.$e(),d=this.da();if(void 0===c)throw Error('OperationError: Cannot create instance, model tag is undefined');var e=olympe.dc.Lf.Ej;if(!this.C.has(e)){var f=b.source(c);this.C.set(e,null!==f?f:olympe.dc.Zb.cf)}if(b.pe(d)&&!b.po(d)&&this.F){e=new Map([...b.Gg(d,!0),...mh(this,this.C)]);for(const g of e.values())g instanceof olympe.dc.ig&&!Sg(a,g.da())&&(f=new olympe.dc.Uc,f.Yr(g.da()),f.Vd(a));Tg(a,d,this.F,e);a.Ob(olympe.dc.CloudObject.modelRel.da(),
1174
- d,c);for(const [g,k,l]of Fg(b,d))Sg(a,l)&&(k===olympe.dc.Pb.ORIGIN?a.Ob(g,l,d):a.Ob(g,d,l))}else b.pe(d)||(Tg(a,d,this.F,mh(this,this.C)),a.Ob(olympe.dc.CloudObject.modelRel.da(),d,c))}toString(){return`CreateInstance(${this.$e()}, ${this.da()})`}};olympe.dc.transaction.Fb.uj.prototype.setProperty=olympe.dc.transaction.Fb.uj.prototype.setProperty;olympe.dc.transaction.Fb.uj.prototype.localSource=olympe.dc.transaction.Fb.uj.prototype.eW;olympe.dc.transaction.Fb.uj.prototype.persist=olympe.dc.transaction.Fb.uj.prototype.persist;
1176
+ d,c);for(const [g,k,l]of Fg(b,d))Sg(a,l)&&(k===olympe.dc.Pb.ORIGIN?a.Ob(g,l,d):a.Ob(g,d,l))}else b.pe(d)||(Tg(a,d,this.F,mh(this,this.C)),a.Ob(olympe.dc.CloudObject.modelRel.da(),d,c))}toString(){return`CreateInstance(${this.$e()}, ${this.da()})`}};olympe.dc.transaction.Fb.uj.prototype.setProperty=olympe.dc.transaction.Fb.uj.prototype.setProperty;olympe.dc.transaction.Fb.uj.prototype.localSource=olympe.dc.transaction.Fb.uj.prototype.fW;olympe.dc.transaction.Fb.uj.prototype.persist=olympe.dc.transaction.Fb.uj.prototype.persist;
1175
1177
  olympe.dc.transaction.Fb.uj.prototype.getModelTag=olympe.dc.transaction.Fb.uj.prototype.$e;olympe.dc.transaction.Fb.uj.prototype.getTag=olympe.dc.transaction.Fb.uj.prototype.da;olympe.dc.transaction.Fb.uj.ua=[olympe.dc.dk];olympe.dc.transaction.Fb.KA=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b,c){super();this.type=a.rc?a:new olympe.dc.wa.Xe(lh(a));this.C=b;this.F=c}rc(){return this.Ua(this.type).rc()}Vd(a){const b=lh(this.type);if(''===b)throw Error('OperationError: Cannot create relation, type is undefined, null or empty string');if(b===olympe.dc.Yf.Sh)throw Error('OperationError: Cannot create the instance -> model relation');const c=lh(this.C);if(''===c)throw Error('OperationError: Cannot create relation, origin tag is undefined, null or empty string');
1176
- const d=lh(this.F);if(''===d)throw Error('OperationError: Cannot create relation, destination tag is undefined, null or empty string');this.rc()===olympe.dc.Pb.DESTINATION?a.Ob(b,c,d):a.Ob(b,d,c)}toString(){return`CreateRelation('${this.rc()}${lh(this.type)}, ${lh(this.C)}, ${lh(this.F)})`}};olympe.dc.transaction.Fb.yY=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b=olympe.dc.Ve.hh){super();this.model=a;this.C=b}$e(){return lh(this.model)}Vd(a){const b=this.$e();if(void 0===b)throw Error('OperationError: Cannot delete instances of model, model is undefined');const c=olympe.dc.cc();for(const d of c.aj(b))d!==b&&(new olympe.dc.transaction.Fb.Wx(d,this.C)).Vd(a)}toString(){return`DeleteAllInstances(${this.$e()}, ${this.C})`}};olympe.dc.transaction.Fb.nF=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b,c,d){super();this.C=a.rc?a:new olympe.dc.wa.Xe(lh(a));this.F=b;this.O=c||!1;this.R=d instanceof Array?d.map(e=>lh(e)):null}rc(){return this.Ua(this.C).rc()}Vd(a){const b=lh(this.C);if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Yf.Sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=lh(this.F);if(void 0===c)throw Error('OperationError: Cannot delete relation, left tag is undefined');
1178
+ const d=lh(this.F);if(''===d)throw Error('OperationError: Cannot create relation, destination tag is undefined, null or empty string');this.rc()===olympe.dc.Pb.DESTINATION?a.Ob(b,c,d):a.Ob(b,d,c)}toString(){return`CreateRelation('${this.rc()}${lh(this.type)}, ${lh(this.C)}, ${lh(this.F)})`}};olympe.dc.transaction.Fb.zY=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b=olympe.dc.Ve.hh){super();this.model=a;this.C=b}$e(){return lh(this.model)}Vd(a){const b=this.$e();if(void 0===b)throw Error('OperationError: Cannot delete instances of model, model is undefined');const c=olympe.dc.cc();for(const d of c.aj(b))d!==b&&(new olympe.dc.transaction.Fb.Wx(d,this.C)).Vd(a)}toString(){return`DeleteAllInstances(${this.$e()}, ${this.C})`}};olympe.dc.transaction.Fb.nF=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b,c,d){super();this.C=a.rc?a:new olympe.dc.wa.Xe(lh(a));this.F=b;this.O=c||!1;this.R=d instanceof Array?d.map(e=>lh(e)):null}rc(){return this.Ua(this.C).rc()}Vd(a){const b=lh(this.C);if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Yf.Sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=lh(this.F);if(void 0===c)throw Error('OperationError: Cannot delete relation, left tag is undefined');
1177
1179
  var d=olympe.dc.cc();const e=this.rc(),f=this.R;d=d.zc(c,this.C);for(const g of d)e===olympe.dc.Pb.DESTINATION?a.Qf(b,c,g):a.Qf(b,g,c),null!==f&&0<=f.indexOf(g)||this.O&&(new olympe.dc.transaction.Fb.Wx(g,olympe.dc.Ve.hh)).Vd(a)}toString(){return`DeleteAllRelations(${this.rc()}${lh(this.C)}, ${lh(this.F)}, ${this.O})`}};olympe.dc.transaction.Fb.Wx=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b=olympe.dc.Ve.hh){super();this.tag=a;this.C=b}da(){return lh(this.tag)}Vd(a){const b=olympe.dc.cc(),c=this.da();if(void 0===c)throw Error('OperationError: Cannot delete instance, tag is undefined');const d=b.model(c);0<=b.version(c)&&d&&a.dh(c,this.C)}toString(){return'DeleteInstance('+this.da()+', '+this.C+')'}};olympe.dc.transaction.Fb.oP=class extends olympe.dc.transaction.Fb.KA{constructor(a,b,c,d=!1,e=!1){super(a,b,c);this.O=d;this.force=e}Vd(a){const b=lh(this.type);if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Yf.Sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=lh(this.C);if(void 0===c)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=lh(this.F);if(void 0===d)throw Error('OperationError: Cannot delete relation, right tag is undefined');
1178
1180
  this.rc()===olympe.dc.Pb.DESTINATION?a.Qf(b,c,d):a.Qf(b,d,c);this.O&&(new olympe.dc.transaction.Fb.Wx(d,olympe.dc.Ve.hh)).Vd(a)}toString(){return'DeleteRelation('+this.rc()+lh(this.type)+', '+lh(this.C)+', '+lh(this.F)+', '+this.O+')'}};olympe.dc.transaction.Fb.Fv=class extends olympe.dc.transaction.Fb.Pq{constructor(a,b,c){super();this.tag=a;this.C=new Map;this.C.set(olympe.dc.Lf.VERSION,-1);void 0!==b&&this.setProperty(b,c)}da(){return lh(this.tag)}setProperty(a,b){this.C.set(lh(a),b);return this}Vd(a){const b=this.da();if(void 0===b)throw Error('OperationError: Cannot update instance, tag is undefined');const c=olympe.dc.cc();var d=c.version(b),e=a.F.get(b);e=void 0!==e?e:d;if(null===e)throw Error('OperationError: Instance #'+
1179
1181
  b+' not found so it cannot be updated');d=mh(this,this.C);0>=d.get(olympe.dc.Lf.VERSION)&&d.set(olympe.dc.Lf.VERSION,e+1);for(const [f,g]of d)e=c.kd(b,f),e instanceof olympe.dc.ig&&(e=e.da(),a.ga[e]=!0),g instanceof olympe.dc.ig&&!Sg(a,g.da())&&(e=new olympe.dc.Uc,e.Yr(g.da()),e.Vd(a));a.ng(b,d)}toString(){return'UpdateInstance('+this.da()+', '+mh(this,this.C)+')'}};olympe.dc.transaction.Fb.Fv.prototype.setProperty=olympe.dc.transaction.Fb.Fv.prototype.setProperty;
1180
- olympe.dc.transaction.Fb.Fv.prototype.getTag=olympe.dc.transaction.Fb.Fv.prototype.da;olympe.dc.ra={};olympe.dc.dk=class{da(){}};olympe.dc.dk.prototype.getTag=olympe.dc.dk.prototype.da;olympe.dc.rZ=olympe.dc.dk;olympe.dc.ra.Cy={ASC:'ASC',DESC:'DESC'};function nh(a){switch(a.pr){case 1:const c=a.v;switch(a.t){case 1:var b=c;break;case 2:b=new Date(c);break;case 3:b=olympe.dc.CloudObject.get(c);break;case 4:b=new olympe.j.Color(c.r,c.g,c.b,c.a)}return new olympe.dc.ra.ta.Yg(a.p,b,olympe.dc.cc());case 2:return new olympe.dc.ra.ta.uh(a.p,a.s,olympe.dc.cc(),a.c);case 3:return new olympe.dc.ra.ta.gv(a.p,a.b,a.l,a.s);case 4:return new olympe.dc.ra.ta.oi(nh(a.v));case 5:return new olympe.dc.ra.ta.Ui(a.p,new RegExp(a.r),olympe.dc.cc(),a.c);case 6:b=new olympe.dc.ra.ta.Pn(a.d);
1182
+ olympe.dc.transaction.Fb.Fv.prototype.getTag=olympe.dc.transaction.Fb.Fv.prototype.da;olympe.dc.ra={};olympe.dc.dk=class{da(){}};olympe.dc.dk.prototype.getTag=olympe.dc.dk.prototype.da;olympe.dc.sZ=olympe.dc.dk;olympe.dc.ra.Cy={ASC:'ASC',DESC:'DESC'};function nh(a){switch(a.pr){case 1:const c=a.v;switch(a.t){case 1:var b=c;break;case 2:b=new Date(c);break;case 3:b=olympe.dc.CloudObject.get(c);break;case 4:b=new olympe.j.Color(c.r,c.g,c.b,c.a)}return new olympe.dc.ra.ta.Yg(a.p,b,olympe.dc.cc());case 2:return new olympe.dc.ra.ta.uh(a.p,a.s,olympe.dc.cc(),a.c);case 3:return new olympe.dc.ra.ta.gv(a.p,a.b,a.l,a.s);case 4:return new olympe.dc.ra.ta.oi(nh(a.v));case 5:return new olympe.dc.ra.ta.Ui(a.p,new RegExp(a.r),olympe.dc.cc(),a.c);case 6:b=new olympe.dc.ra.ta.Pn(a.d);
1181
1183
  for(const [d,e,f]of a.r)a=new olympe.dc.query.Relation(d,e,f),f?b.$v(a):b.fe(a);return b;case 7:return new olympe.dc.ra.ta.hk(...a.p.map(d=>nh(d)));case 8:return new olympe.dc.ra.ta.Yj(...a.p.map(d=>nh(d)));default:return null}}
1182
1184
  olympe.dc.ra.Sc=class{observe(){}$c(){}clear(){}Ya(){}toString(){}static Oc(a,b){return new olympe.dc.ra.ta.Yg(a,b,olympe.dc.cc())}static contains(a,b,c=!1){return new olympe.dc.ra.ta.uh(a,b,olympe.dc.cc(),c)}static NN(a,b,c=!0){return new olympe.dc.ra.ta.Ui(a,b,olympe.dc.cc(),c)}static Kz(a,b,c=!0){return new olympe.dc.ra.ta.gv(a,b,!1,c)}static ux(a,b,c=!0){return new olympe.dc.ra.ta.gv(a,b,!0,c)}static and(...a){return new olympe.dc.ra.ta.Yj(...a)}static or(...a){return new olympe.dc.ra.ta.hk(...a)}static Sf(a){return new olympe.dc.ra.ta.oi(a)}};
1183
1185
  olympe.dc.ra.Sc.not=olympe.dc.ra.Sc.Sf;olympe.dc.ra.Sc.or=olympe.dc.ra.Sc.or;olympe.dc.ra.Sc.and=olympe.dc.ra.Sc.and;olympe.dc.ra.Sc.smallerThan=olympe.dc.ra.Sc.ux;olympe.dc.ra.Sc.greaterThan=olympe.dc.ra.Sc.Kz;olympe.dc.ra.Sc.regex=olympe.dc.ra.Sc.NN;olympe.dc.ra.Sc.contains=olympe.dc.ra.Sc.contains;olympe.dc.ra.Sc.equals=olympe.dc.ra.Sc.Oc;function oh(a,b){return new olympe.dc.Id(a.O,a.source,b,a.F,{max:a.max,offset:a.offset})}function ph(a){return a.C.filter(b=>b instanceof olympe.dc.ra.mf.Wq||b instanceof olympe.dc.ra.mf.Xq).length}
1184
1186
  function qh(a){const b=olympe.dc.ra.mf.Cv,c=olympe.dc.ra.mf.Wq,d=olympe.dc.ra.mf.Xq,e=0===a.F.size?a.lL():a;let f=-1;a.C.reduce((g,k)=>{k instanceof b&&(f=g);return k instanceof c||k instanceof d?g+1:g},0);if(0<=f&&!e.F.has(f))throw Error('AndReturn was not called for the current level before sortBy operator');return e}
1185
1187
  function rh(a,b){const c=olympe.dc.Nh.SUBSCRIBE,d=olympe.dc.Nh.ct,e=new olympe.dc.xj(a.O,b?c:d);for(const f of a.C)f instanceof olympe.dc.ra.mf.Wq?e.fe(f.Cm()):f instanceof olympe.dc.ra.mf.Xq?e.fe(f.Cm(),!0):f instanceof olympe.dc.ra.mf.be&&(a=f.C,a instanceof olympe.dc.ra.ta.Pn&&(a=a.Yh(),a.forEach(g=>e.fe(g)),sh(e,a.length)));return e}function th(a){return a.source||a.db.source(a.O)||olympe.dc.Zb.cf}
1186
1188
  function uh(a){return new olympe.dc.Id(a.r,a.s,a.qp.map(b=>vh(b)),new Set(a.lv),{max:a.lp.m,offset:a.lp.o})}
1187
- olympe.dc.Id=class{constructor(a,b=null,c=[],d=new Set,e={max:-1,offset:0}){this.db=olympe.dc.cc();this.O=olympe.dc.Hb(a);this.source=b;this.C=c;this.F=d;this.max=-1===e.max?-1:e.max;this.offset=e.offset;this.id=null}static from(a,b){return new olympe.dc.Id(a,b)}static Nz(a,b=olympe.dc.Zb.cf){return(new olympe.dc.Id(a,b)).fe(olympe.dc.CloudObject.instancesRel)}fe(a){const b=Array.from(this.C);b.push(new olympe.dc.ra.mf.Wq(this.db,a));return oh(this,b)}oU(a,b=!1){const c=Array.from(this.C);c.push(new olympe.dc.ra.mf.Xq(this.db,
1189
+ olympe.dc.Id=class{constructor(a,b=null,c=[],d=new Set,e={max:-1,offset:0}){this.db=olympe.dc.cc();this.O=olympe.dc.Hb(a);this.source=b;this.C=c;this.F=d;this.max=-1===e.max?-1:e.max;this.offset=e.offset;this.id=null}static from(a,b){return new olympe.dc.Id(a,b)}static Nz(a,b=olympe.dc.Zb.cf){return(new olympe.dc.Id(a,b)).fe(olympe.dc.CloudObject.instancesRel)}fe(a){const b=Array.from(this.C);b.push(new olympe.dc.ra.mf.Wq(this.db,a));return oh(this,b)}pU(a,b=!1){const c=Array.from(this.C);c.push(new olympe.dc.ra.mf.Xq(this.db,
1188
1190
  a,b));return oh(this,c)}lL(){this.F.add(ph(this));return new olympe.dc.Id(this.O,this.source,this.C,this.F,{max:this.max,offset:this.offset})}filter(a){const b=Array.from(this.C);b.push(new olympe.dc.ra.mf.be(a));return oh(this,b)}Tv(){return this}ZC(a,b=0){return new olympe.dc.Id(this.O,this.source,this.C,this.F,{max:a,offset:b})}Kq(a,b=olympe.dc.ra.Cy.ASC){const c=Array.from(this.C);c.push(new olympe.dc.ra.mf.Cv(this.db,a,b));return oh(this,c)}$c(a){return wh(olympe.dc.mo(),qh(this),'function'===
1189
1191
  typeof a.Ff?a.Ff():a)}observe(a){return xh(olympe.dc.mo(),qh(this),'function'===typeof a.Ff?a.Ff():a)}al(){var a=qh(this);return olympe.dc.mo().U.al(a)}xa(){null===this.id&&(this.id=olympe.pa.yd(this.O+this.C.reduce((a,b)=>a+b.toString(),'')+Array.from(this.F).toString()+this.offset+this.max));return this.id}Ya(){return{r:this.O,qp:this.C.map(a=>a.Ya()),lv:Array.from(this.F),s:this.source,lp:{m:this.max,o:this.offset}}}};olympe.dc.Id.prototype.executeFromCache=olympe.dc.Id.prototype.al;
1190
- olympe.dc.Id.prototype.observe=olympe.dc.Id.prototype.observe;olympe.dc.Id.prototype.execute=olympe.dc.Id.prototype.$c;olympe.dc.Id.prototype.sortBy=olympe.dc.Id.prototype.Kq;olympe.dc.Id.prototype.limit=olympe.dc.Id.prototype.ZC;olympe.dc.Id.prototype.cast=olympe.dc.Id.prototype.Tv;olympe.dc.Id.prototype.filter=olympe.dc.Id.prototype.filter;olympe.dc.Id.prototype.andReturn=olympe.dc.Id.prototype.lL;olympe.dc.Id.prototype.followRecursively=olympe.dc.Id.prototype.oU;olympe.dc.Id.prototype.follow=olympe.dc.Id.prototype.fe;
1192
+ olympe.dc.Id.prototype.observe=olympe.dc.Id.prototype.observe;olympe.dc.Id.prototype.execute=olympe.dc.Id.prototype.$c;olympe.dc.Id.prototype.sortBy=olympe.dc.Id.prototype.Kq;olympe.dc.Id.prototype.limit=olympe.dc.Id.prototype.ZC;olympe.dc.Id.prototype.cast=olympe.dc.Id.prototype.Tv;olympe.dc.Id.prototype.filter=olympe.dc.Id.prototype.filter;olympe.dc.Id.prototype.andReturn=olympe.dc.Id.prototype.lL;olympe.dc.Id.prototype.followRecursively=olympe.dc.Id.prototype.pU;olympe.dc.Id.prototype.follow=olympe.dc.Id.prototype.fe;
1191
1193
  olympe.dc.Id.instancesOf=olympe.dc.Id.Nz;olympe.dc.Id.from=olympe.dc.Id.from;function vh(a){const b=olympe.dc.cc();switch(a.t){case 1:return(a=nh(a.p))?new olympe.dc.ra.mf.be(a):null;case 2:return new olympe.dc.ra.mf.Wq(b,new olympe.dc.query.Relation(a.r.t,a.r.d,!1));case 3:var c=a.s;return new olympe.dc.ra.mf.Xq(b,new olympe.dc.query.Relation(a.r.t,a.r.d,!0),c);case 4:return c=a.o,new olympe.dc.ra.mf.Cv(b,new olympe.dc.vb.Property(a.p),c);default:return null}}olympe.dc.ra.Gy=class{Ya(){}F(){}$c(){}observe(){}toString(){}};function yh(a){a=Array.from(a.F.values()).flat();return new Set(a.map(b=>b.da()))}function zh(a){return new Set(a.R.flatMap(b=>b.split('.')))}function Ah(a,b){var c=olympe.dc.cc();if(c.pe(a)){b.F(a,c.Gg(a,!0),0);b.Ob(olympe.dc.Yf.Sh,a,c.model(a),0);for(const [d,e,f]of Fg(c,a))(c=b.io(f))&&c.vk()&&(e===olympe.dc.Pb.DESTINATION?b.Ob(d,a,f,0):b.Ob(d,f,a,0))}else olympe.ub.Gb('Query Result').error(`Fail to serialize instance with tag ${a} not present in local DBView`)}
1192
1194
  function Bh(a,b,c=olympe.dc.Zb.$g){b&&b((new olympe.dc.pa.GB(c)).C(a.p||[]));const d=olympe.dc.cc();let e=!1;b=a.k.map(f=>{const g=f.split('.').map(k=>d.pe(k)?olympe.dc.CloudObject.get(k):(olympe.ub.Gb('QueryResult').error(`CloudObject with tag ${k} not present but required for deserialization`),e=!0,null));return[f,1===g.length?g[0]:g]});return e?null:olympe.dc.Ec.create(b,a.a,a.r)}
1193
1195
  olympe.dc.Ec=class{constructor(){this.C=[];this.F=new Map;this.O=[];this.R=[];this.hash=''}static empty(){return new olympe.dc.Ec}[Symbol.iterator](){let a=0;return{next:()=>{var b={done:!0};a<this.C.length&&(b=this.C[a],b={value:[b,this.F.get(b)],done:!1},a++);return b}}}entries(){return this.C.map(a=>[a,this.F.get(a)])}values(){return this.F.values()}keys(){return this.C.values()}fn(){return this.C.map(a=>this.F.get(a))}size(){return this.C.length}has(a){return this.F.has(a)||this.fn().includes(a)}indexOf(a){return null===
1194
1196
  a||void 0===a?-1:'string'===typeof a?this.C.indexOf(a):this.fn().indexOf(a)}get(a){return(a=this.F.get(a))?a:null}Rd(){return this.Dh(0)}Dh(a){return a<this.C.length?this.F.get(this.C[a]):null}push(...a){const b=this.fn();b.push(...a);return b}pop(){if(0===this.C.length)return[];const a=this.fn();a.pop();return a}shift(){if(0<this.C.length){const a=this.fn();a.shift();return a}return[]}filter(a){return this.fn().filter(a)}find(a){return(a=this.fn().find(a))?a:null}forEach(a){this.C.forEach((b,c)=>
1195
1197
  a(this.F.get(b),c))}map(a){return this.fn().map(a)}sort(a){const b=this.entries().sort((c,d)=>a(c[1],d[1]));return olympe.dc.Ec.create(b,Array.from(this.O),Array.from(this.R))}reduce(a,b){return this.fn().reduce(a,b)}concat(...a){const b=[this.entries(),...a.map(d=>d.entries())].flat();let c=Array.from(this.O);for(const d of a)c=c.concat(d.O.map(e=>e+c.length));a=this.R.concat(...a.map(d=>d.R));return olympe.dc.Ec.create(b,c,a)}static from(a,b){const c=olympe.dc.cc();var d=Ch(b);if(b.Wi){const {pd:l,
1196
- order:m,Wi:n,ST:p}=b.Wi,r=Array.from(b.O).sort().indexOf(p),t=m===olympe.dc.ra.Cy.ASC?1:-1;d.sort((u,v)=>{v=v[r];u=c.kd(u[r],l);v=c.kd(v,l);return null===u?-t:null===v?t:t*n(u,v)})}else d.sort((l,m)=>l.reduce((n,p,r)=>n||p.localeCompare(m[r]),0));0<b.offset&&(d=d.slice(b.offset));-1<b.max&&(d=d.slice(0,b.max));b=olympe.pa.yd(d.flat().join(''));if(b===a.hash)return a;d=d.map(l=>[l.join('.'),1===l.length?olympe.dc.CloudObject.get(l[0]):l.map(m=>olympe.dc.CloudObject.get(m))]);const e=new Set(d.map(l=>
1198
+ order:m,Wi:n,TT:p}=b.Wi,r=Array.from(b.O).sort().indexOf(p),t=m===olympe.dc.ra.Cy.ASC?1:-1;d.sort((u,v)=>{v=v[r];u=c.kd(u[r],l);v=c.kd(v,l);return null===u?-t:null===v?t:t*n(u,v)})}else d.sort((l,m)=>l.reduce((n,p,r)=>n||p.localeCompare(m[r]),0));0<b.offset&&(d=d.slice(b.offset));-1<b.max&&(d=d.slice(0,b.max));b=olympe.pa.yd(d.flat().join(''));if(b===a.hash)return a;d=d.map(l=>[l.join('.'),1===l.length?olympe.dc.CloudObject.get(l[0]):l.map(m=>olympe.dc.CloudObject.get(m))]);const e=new Set(d.map(l=>
1197
1199
  l[0])),f=new Set(a.keys()),g=[],k=[];d.forEach(([l],m)=>{!f.has(l)&&g.push(m)});f.forEach(l=>{!e.has(l)&&k.push(l)});return olympe.dc.Ec.create(d,g,k,b)}static create(a,b,c,d){const e=new olympe.dc.Ec;e.C=a.map(f=>f[0]);e.F=new Map(a);e.hash=d||olympe.pa.yd(e.C.join(''));e.O=b||e.C.map((f,g)=>g);e.R=c||[];return e}Ya(){const a=new olympe.dc.db.fg;var b=new Set(this.O.flatMap(c=>this.C[c].split('.')));for(const c of b)Ah(c,a);b=new olympe.dc.transaction.Ri;a.qh(b);return{k:this.C,p:Zg(b),a:this.O,
1198
1200
  r:this.R}}};olympe.dc.Ec.prototype.concat=olympe.dc.Ec.prototype.concat;olympe.dc.Ec.prototype.reduce=olympe.dc.Ec.prototype.reduce;olympe.dc.Ec.prototype.sort=olympe.dc.Ec.prototype.sort;olympe.dc.Ec.prototype.map=olympe.dc.Ec.prototype.map;olympe.dc.Ec.prototype.forEach=olympe.dc.Ec.prototype.forEach;olympe.dc.Ec.prototype.find=olympe.dc.Ec.prototype.find;olympe.dc.Ec.prototype.filter=olympe.dc.Ec.prototype.filter;olympe.dc.Ec.prototype.shift=olympe.dc.Ec.prototype.shift;
1199
1201
  olympe.dc.Ec.prototype.pop=olympe.dc.Ec.prototype.pop;olympe.dc.Ec.prototype.push=olympe.dc.Ec.prototype.push;olympe.dc.Ec.prototype.getAt=olympe.dc.Ec.prototype.Dh;olympe.dc.Ec.prototype.getFirst=olympe.dc.Ec.prototype.Rd;olympe.dc.Ec.prototype.get=olympe.dc.Ec.prototype.get;olympe.dc.Ec.prototype.indexOf=olympe.dc.Ec.prototype.indexOf;olympe.dc.Ec.prototype.has=olympe.dc.Ec.prototype.has;olympe.dc.Ec.prototype.size=olympe.dc.Ec.prototype.size;olympe.dc.Ec.prototype.toArray=olympe.dc.Ec.prototype.fn;
1200
- olympe.dc.Ec.prototype.keys=olympe.dc.Ec.prototype.keys;olympe.dc.Ec.prototype.values=olympe.dc.Ec.prototype.values;olympe.dc.Ec.prototype.entries=olympe.dc.Ec.prototype.entries;olympe.dc.Ec.empty=olympe.dc.Ec.empty;function Ch(a){var b=new Set(Dh(a,a.jo()-1).keys());a.C.push((new Map).set('sink',b));b=[];for(const c of Eh(a,'sink',a.jo()-1,''))b.push(c.slice(0,-1).split(';'));a.C.pop();return b}function Fh(a,b,c,d,e){a.Wi={Wi:b,ST:c,order:d,pd:e}}function Gh(a){a.F||(a.F=!0)}function Dh(a,b){return b>=a.jo()?new Map:a.C[b]}
1202
+ olympe.dc.Ec.prototype.keys=olympe.dc.Ec.prototype.keys;olympe.dc.Ec.prototype.values=olympe.dc.Ec.prototype.values;olympe.dc.Ec.prototype.entries=olympe.dc.Ec.prototype.entries;olympe.dc.Ec.empty=olympe.dc.Ec.empty;function Ch(a){var b=new Set(Dh(a,a.jo()-1).keys());a.C.push((new Map).set('sink',b));b=[];for(const c of Eh(a,'sink',a.jo()-1,''))b.push(c.slice(0,-1).split(';'));a.C.pop();return b}function Fh(a,b,c,d,e){a.Wi={Wi:b,TT:c,order:d,pd:e}}function Gh(a){a.F||(a.F=!0)}function Dh(a,b){return b>=a.jo()?new Map:a.C[b]}
1201
1203
  function Eh(a,b,c,d){if(0===c)return a.O.has(c)?(b=Array.from(Dh(a,0).keys())[0],(new Set).add(`${b};${d}`)):(new Set).add(d);const e=Hh(a,b,c),f=a.O.has(c)?`${b};${d}`:d;return e.reduce((g,k)=>{for(const l of Eh(a,k,c-1,f))g.add(l);return g},new Set)}function Hh(a,b,c){return 0===c?null:(a=Dh(a,c))&&a.has(b)?Array.from(a.get(b)):null}
1202
1204
  function Ih(a,b,c,d){var e=Dh(a,c);if(0<c&&(null===d||!Dh(a,c-1).has(d)))return olympe.ub.Gb('dc').error('Try to insert result entry linked to a non existing parent'),null;if(e.has(b)&&null!==d)return b=e.get(b),e=b.size,b.add(d),b.size>e&&Gh(a),!1;if(c>=a.jo())return olympe.ub.Gb('dc').error('Try to insert result entry to a higher level than possible'),null;c=new Set;null!==d&&c.add(d);e.set(b,c);Gh(a);return!0}
1203
1205
  function Jh(a,b,c,d){Dh(a,c+1).forEach((e,f)=>{e.has(d)&&a.remove(f,c+1,b)});Dh(a,c).delete(d);Gh(a)}
@@ -1217,7 +1219,7 @@ olympe.dc.ra.mf.be.ua=[olympe.dc.ra.Gy];olympe.dc.ra.mf.Wq=class{constructor(a,b
1217
1219
  olympe.dc.ra.mf.Wq.ua=[olympe.dc.ra.Gy];olympe.dc.ra.mf.Xq=class{constructor(a,b,c=!1){this.db=a;this.C=b;this.O=c}Cm(){return this.C}F(a){return a+1}$c(a,b){for(const c of Dh(a,b).keys())this.O&&Ih(a,c,b+1,c),this.db.Bm(c,this.C).forEach(d=>{Ih(a,d,b+1,c)})}observe(a,b,c){const d=(g,k,l,m)=>olympe.pa.yd(g+k+l+m+this.toString()),e=new Set,f=(g,k,l,m,n)=>{k=d(k,g,n,l);(this.O||0<l)&&(m?Ih(a,n,b+1,g):a.remove(n,b+1,g))&&c(m,n,g,k);m?e.has(n)||(e.add(n),Dg(this.db,n,this.C,f.bind(this,g,k,l+1),k)):(e.delete(n),this.db.F(n,this.C,k))};return(g,
1218
1220
  k,l,m)=>f(k,m,0,g,k)}Ya(){return{t:3,s:this.O,r:{t:this.C.da(),d:this.C.rc()}}}toString(){return'followRecursivelyQueryPart-'+this.C.rc()+this.C.da()}};olympe.dc.ra.mf.Xq.C=3;olympe.dc.ra.mf.Xq.ua=[olympe.dc.ra.Gy];function Nh(a){a=a.db.xe(a.pd,olympe.dm.Property.typeRel);const b=olympe.dc.Hb;if(a===b(olympe.dm.String))return Oh((c,d)=>c.localeCompare(d));if(a===b(olympe.dm.Number)||a===b(olympe.dm.Boolean))return Oh((c,d)=>c-d);if(a===b(olympe.dm.DateTime))return Oh((c,d)=>c.getTime()-d.getTime());olympe.ub.Gb('dc').warn(`No comparator found for type with tag ${a}`);return Oh(()=>-1)}function Oh(a){return(b,c)=>{const d=null===b,e=null===c;return d||e?d&&e?0:d?1:-1:a(b,c)}}
1219
1221
  olympe.dc.ra.mf.Cv=class{constructor(a,b,c){this.db=a;this.pd=b;this.order=c}F(a){return a}$c(a,b){Fh(a,Nh(this),b,this.order,this.pd)}observe(a,b,c){Fh(a,Nh(this),b,this.order,this.pd);return(d,e,f,g)=>{g=olympe.pa.yd(g+this.toString());d?Ag(this.db,e,this.pd,()=>{Gh(a)},g):this.db.O(e,this.pd,g);c(d,e,f,g)}}Ya(){return{t:4,p:this.pd.da(),o:this.order}}toString(){return'sortByQueryPart-'+this.order+this.pd.da()}kd(){return this.pd}};olympe.dc.ra.mf.Cv.C=4;olympe.dc.ra.mf.Cv.ua=[olympe.dc.ra.Gy];olympe.dc.query={};function Ph(a,b,c,d){let e=a.C.get(b);void 0===e&&(e=new Set,a.C.set(b,e));a=olympe.pa.we();e.add(a);d.set(a,c)}function Qh(a,b,c){Ph(a,b,c,a.F)}function Rh(a,b,c){if(a.C.has(b)){for(const d of a.C.get(b))c.delete(d);a.C.delete(b)}}function Sh(a,b,c,d,e){if(a.C.has(b)){if(!a.R.has(b)){a.R.add(b);for(const f of a.C.get(b))e=d.get(f),d.delete(f),c instanceof olympe.dc.query.errors.iy?e(Error(c.ga()),c):'string'===typeof c?e(Error(c),null):e(null,c);a.C.delete(b);a.R.delete(b)}}else a.Y.warn(e)}
1220
- function Th(a,b,c){Sh(a,b,c,a.F,`Graph result of graphdef ${b} has no associated handler in the datacloud`)}function Uh(a,b,c){Ph(a,b,c,a.O)}olympe.dc.query.$O=class{constructor(a){this.Y=a;this.C=new Map;this.F=new Map;this.O=new Map;this.R=new Set}};olympe.dc.Pl=class{Oa(){}R(){}O(){}U(){}Ya(){}toString(){}};olympe.dc.Nh={SUBSCRIBE:0,ct:1,KB:2,p_:0,GET:1};olympe.dc.Nh.toString=function(a){for(const [b,c]of Object.entries(olympe.dc.Nh))if(c===a)return b;return null};function sh(a,b=1){a.validate(olympe.dc.Ve.NONE,'back');let c=a.V;for(let d=0;d<b&&null!==c;d++)c=a.F.get(c.F)||null;a.V=c}function Vh(a){return'not_defined'===a.C?olympe.dc.Ve.NONE:a.C}function Wh(a,b){a.validate(b,'activateFollowRules');return a}function Xh(a){return'not_defined'!==a.C&&a.C!==olympe.dc.Ve.NONE}
1222
+ function Th(a,b,c){Sh(a,b,c,a.F,`Graph result of graphdef ${b} has no associated handler in the datacloud`)}function Uh(a,b,c){Ph(a,b,c,a.O)}olympe.dc.query.$O=class{constructor(a){this.Y=a;this.C=new Map;this.F=new Map;this.O=new Map;this.R=new Set}};olympe.dc.Pl=class{Oa(){}R(){}O(){}U(){}Ya(){}toString(){}};olympe.dc.Nh={SUBSCRIBE:0,ct:1,KB:2,q_:0,GET:1};olympe.dc.Nh.toString=function(a){for(const [b,c]of Object.entries(olympe.dc.Nh))if(c===a)return b;return null};function sh(a,b=1){a.validate(olympe.dc.Ve.NONE,'back');let c=a.V;for(let d=0;d<b&&null!==c;d++)c=a.F.get(c.F)||null;a.V=c}function Vh(a){return'not_defined'===a.C?olympe.dc.Ve.NONE:a.C}function Wh(a,b){a.validate(b,'activateFollowRules');return a}function Xh(a){return'not_defined'!==a.C&&a.C!==olympe.dc.Ve.NONE}
1221
1223
  function Yh(a){if(Xh(a))throw Error('An implicit GraphDef has no blocks');return a.F.values()}
1222
1224
  function Zh(a,b,c){c=new olympe.dc.query.Relation(b.da(),b.rc(),c||b instanceof olympe.dc.wa.hg);b=[];var d;for(var e of $h(a)){if(d=a.F.get(e)){var f=new olympe.dc.query.hy(c,d.id);d.children.has(f.xa())?d=d.children.get(f.xa()):(d.children.set(f.xa(),f),d=f)}else{d=a;var g=c;const k=olympe.pa.yd(d.O);f=olympe.pa.yd(k+g.toString());g=d.F.get(f)||new olympe.dc.query.hy(g,k);d.U.set(f,g);d=g}f=d.xa();a.F.set(f,d);b.push(f)}e=b[0];a.ca.set(e,b);return a.F.get(e)}
1223
1225
  function ai(a,b){if(Xh(a))a.ga.push(b);else throw Error('You cannot add a "skip predicate" to an explicit graphdef. Please activate a follow rule first.');return a}function bi(a,b){a.$=b;return a}function ci(a,b){return Xh(a)?new olympe.dc.query.iB(a.clone(),b||olympe.j.jb()):new olympe.dc.query.gy(a.clone(),b||olympe.j.jb())}
@@ -1238,38 +1240,38 @@ olympe.dc.query.iB=class extends olympe.dc.query.gy{constructor(a,b){super(a,b);
1238
1240
  b=olympe.dm.Relation.C.Yy;c=olympe.dm.Relation.C.Jy;const e=olympe.dc.cc();for(const k of d){var f=k.Cm(),g=f.da();d=f.rc();if(d!==pi||g!==mi&&g!==ni){if(!e.pe(f))return this.Y.info('ImplicitGraphQuery: checking coverage of graphPath',a.xa(),'failed at the relation',g,'which is not in local DB'),!1;f=Eg(e,f,Vh(this.Tr));g=0===k.Gr().length;if(!(f&(d===oi?g?12:c:g?3:b)))return!1}}return!0}};function ri(a){let b=null;for(a=[...a.wa];null===b&&0<a.length;)b=a.pop().Qe();return b}function si(a,b){a.V()||(a=`Calling "${b}" on subscription with id ${a.xa()} while it is not ready (thus no data is available).`+'This call should be made within an onReady callback.',olympe.ub.Gb('dc').warn(a))}
1239
1241
  function ti(a,b){const c=new olympe.j.Qd('listDef toObservable',a.getSubscription().getContext());return new rxjs.Observable(d=>{c.run(()=>{olympe.j.bb([b],e=>{d.next(e.valueOf())})});c.onDestroy(()=>{d.complete()});return c.destroy.bind(c)})}
1240
1242
  olympe.dc.Db=class{constructor(a,b,c){void 0===a||null===a?olympe.ub.Gb('dc').warn('attempt to create a listdef with a null or undefind basetag. This listdef is thus without effect.'):(this.F=olympe.j.fb([a],olympe.dc.Hb,String),this.wa=void 0!==b&&(Array.isArray(b)?b:[b])||[],this.valueType=c||ri(this),this.C=null)}Eg(){return olympe.dc.Eg()}$c(){if(null===this.C){const a=olympe.dc.mo();this.C=ui(a,this);null!==this.valueType&&this.C.mi(this.valueType);olympe.j.jb().Sd(()=>{vi(a,this.C.xa());this.C=
1241
- null})}return this}getSubscription(){null===this.C&&this.$c();return this.C}mi(a){this.valueType=a;null!==this.C&&this.C.mi(this.valueType)}Qe(){return null!==this.C?this.C.Qe():null===this.valueType?olympe.dc.CloudObject:this.valueType}Yi(){return this.F}qB(){return this.wa}Km(a,b){return this.getSubscription().Km(a,b)}Dw(a){this.getSubscription().Dw(a)}VQ(){return this.getSubscription().Mc()}UQ(){return this.getSubscription().V()}get(a){return this.getSubscription().get(a)}Lt(){return this.getSubscription().Lt()}Cg(a){const b=
1242
- this.getSubscription();si(b,'getCurrent');return b.Cg(a)}has(a){return this.getSubscription().has(a)}Zh(a){const b=this.getSubscription();si(b,'hasCurrent');return b.Zh(a)}Dh(a){return this.getSubscription().Dh(a)}zW(a){return ti(this,this.Dh(a))}dl(a){const b=this.getSubscription();si(b,'getCurrentAt');return b.dl(a)}zm(a){return this.getSubscription().zm(a)}el(a){const b=this.getSubscription();si(b,'getCurrentKeyAt');return b.el(a)}jf(a){return this.getSubscription().jf(a)}FW(a){return ti(this,
1243
- this.jf(a))}om(a){const b=this.getSubscription();si(b,'getCurrentRank');return b.om(a)}Rd(){return this.getSubscription().Rd()}AW(){return ti(this,this.Rd())}ll(){return this.getSubscription().ll()}hd(){return this.getSubscription().hd()}GW(){return ti(this,this.hd())}$i(){const a=this.getSubscription();si(a,'getCurrentSize');return a.$i()}forEach(a,b){this.getSubscription().forEach(a,b)}Xh(a){const b=this.getSubscription();si(b,'forEachCurrentValue');return b.Xh(a)}aw(a,b,c,d){a=new olympe.dc.wa.Aj(a,
1243
+ null})}return this}getSubscription(){null===this.C&&this.$c();return this.C}mi(a){this.valueType=a;null!==this.C&&this.C.mi(this.valueType)}Qe(){return null!==this.C?this.C.Qe():null===this.valueType?olympe.dc.CloudObject:this.valueType}Yi(){return this.F}qB(){return this.wa}Km(a,b){return this.getSubscription().Km(a,b)}Dw(a){this.getSubscription().Dw(a)}WQ(){return this.getSubscription().Mc()}VQ(){return this.getSubscription().V()}get(a){return this.getSubscription().get(a)}Lt(){return this.getSubscription().Lt()}Cg(a){const b=
1244
+ this.getSubscription();si(b,'getCurrent');return b.Cg(a)}has(a){return this.getSubscription().has(a)}Zh(a){const b=this.getSubscription();si(b,'hasCurrent');return b.Zh(a)}Dh(a){return this.getSubscription().Dh(a)}AW(a){return ti(this,this.Dh(a))}dl(a){const b=this.getSubscription();si(b,'getCurrentAt');return b.dl(a)}zm(a){return this.getSubscription().zm(a)}el(a){const b=this.getSubscription();si(b,'getCurrentKeyAt');return b.el(a)}jf(a){return this.getSubscription().jf(a)}GW(a){return ti(this,
1245
+ this.jf(a))}om(a){const b=this.getSubscription();si(b,'getCurrentRank');return b.om(a)}Rd(){return this.getSubscription().Rd()}BW(){return ti(this,this.Rd())}ll(){return this.getSubscription().ll()}hd(){return this.getSubscription().hd()}HW(){return ti(this,this.hd())}$i(){const a=this.getSubscription();si(a,'getCurrentSize');return a.$i()}forEach(a,b){this.getSubscription().forEach(a,b)}Xh(a){const b=this.getSubscription();si(b,'forEachCurrentValue');return b.Xh(a)}aw(a,b,c,d){a=new olympe.dc.wa.Aj(a,
1244
1246
  b);(new olympe.dc.Db(this.F,[...this.wa,a],this.valueType)).forEach(c,d)}transform(...a){var b=a;if(Array.isArray(a[0])){if(1<a.length)throw Error('ListDef.transform() should be called either with one array argument, or with ... arguments, but not both');b=a[0]}a=[...this.wa];for(const c of b){if(void 0===c)throw Error('ListDef.transform(): Trying to set an undefined transformer');if(c instanceof olympe.dc.vb.Property)throw Error(`ListDef.transform(): Properties cannot be used as transformer, unlike relations ${c}`);
1245
1247
  if(!c||'function'!==typeof c.getTransform)break;a.push(c)}b=new olympe.dc.Db(this.F,a);b.mi(ri(b)||this.valueType||Object);return b}Hu(a){return this.transform(new olympe.dc.wa.Un(a))}filter(a){return this.transform(new olympe.dc.wa.be(a))}Vh(){const a=new olympe.dc.kr(this.F,null===this.valueType?void 0:this.valueType);let b=this.wa;b instanceof Array||(b=b?[b]:[]);a.transform(b);return a}toString(){let a=this.wa;a=a?', '+(a.join?a.join(', '):a.toString()):'';return'ListDef(#'+olympe.j.Ua(this.F)+
1246
- a+')'}TQ(){return this.getSubscription().gr()}mg(){return olympe.j.fb([this.hd()],a=>{let b='[';for(let c=0;c<a;c++){const d=this.dl(c).toString();b=0<c&&c<a?b+(', '+d):b+d}return olympe.j.kc(b+']')},olympe.j.mb)}};olympe.dc.Db.prototype.filter=olympe.dc.Db.prototype.filter;olympe.dc.Db.prototype.union=olympe.dc.Db.prototype.Hu;olympe.dc.Db.prototype.transform=olympe.dc.Db.prototype.transform;olympe.dc.Db.prototype.forEachCurrentValue=olympe.dc.Db.prototype.Xh;olympe.dc.Db.prototype.forEach=olympe.dc.Db.prototype.forEach;
1247
- olympe.dc.Db.prototype.getCurrentSize=olympe.dc.Db.prototype.$i;olympe.dc.Db.prototype.observeSize=olympe.dc.Db.prototype.GW;olympe.dc.Db.prototype.observeFirst=olympe.dc.Db.prototype.AW;olympe.dc.Db.prototype.getCurrentRank=olympe.dc.Db.prototype.om;olympe.dc.Db.prototype.observeRank=olympe.dc.Db.prototype.FW;olympe.dc.Db.prototype.getCurrentAt=olympe.dc.Db.prototype.dl;olympe.dc.Db.prototype.observeAt=olympe.dc.Db.prototype.zW;olympe.dc.Db.prototype.offReady=olympe.dc.Db.prototype.Dw;
1248
- olympe.dc.Db.prototype.onReady=olympe.dc.Db.prototype.Km;olympe.dc.Db.prototype.getBaseTag=olympe.dc.Db.prototype.Yi;olympe.dc.Db.ua=[olympe.j.Og];h=olympe.dc.Db.prototype;h.Eg.K=olympe.j.J.O;h.$c.K=olympe.j.J.C([]);h.getSubscription.K=new olympe.j.J(()=>olympe.dc.query.Subscription,[]);h.mi.K=new olympe.j.J(()=>{},[]);h.Yi.K=new olympe.j.J(()=>String,[]);h.qB.K=new olympe.j.J(()=>Array,[]);h.Km.K=new olympe.j.J(()=>String,[]);h.Dw.K=new olympe.j.J(()=>{},[]);h.VQ.K=olympe.j.J.U;h.UQ.K=olympe.j.J.O;
1248
+ a+')'}UQ(){return this.getSubscription().gr()}mg(){return olympe.j.fb([this.hd()],a=>{let b='[';for(let c=0;c<a;c++){const d=this.dl(c).toString();b=0<c&&c<a?b+(', '+d):b+d}return olympe.j.kc(b+']')},olympe.j.mb)}};olympe.dc.Db.prototype.filter=olympe.dc.Db.prototype.filter;olympe.dc.Db.prototype.union=olympe.dc.Db.prototype.Hu;olympe.dc.Db.prototype.transform=olympe.dc.Db.prototype.transform;olympe.dc.Db.prototype.forEachCurrentValue=olympe.dc.Db.prototype.Xh;olympe.dc.Db.prototype.forEach=olympe.dc.Db.prototype.forEach;
1249
+ olympe.dc.Db.prototype.getCurrentSize=olympe.dc.Db.prototype.$i;olympe.dc.Db.prototype.observeSize=olympe.dc.Db.prototype.HW;olympe.dc.Db.prototype.observeFirst=olympe.dc.Db.prototype.BW;olympe.dc.Db.prototype.getCurrentRank=olympe.dc.Db.prototype.om;olympe.dc.Db.prototype.observeRank=olympe.dc.Db.prototype.GW;olympe.dc.Db.prototype.getCurrentAt=olympe.dc.Db.prototype.dl;olympe.dc.Db.prototype.observeAt=olympe.dc.Db.prototype.AW;olympe.dc.Db.prototype.offReady=olympe.dc.Db.prototype.Dw;
1250
+ olympe.dc.Db.prototype.onReady=olympe.dc.Db.prototype.Km;olympe.dc.Db.prototype.getBaseTag=olympe.dc.Db.prototype.Yi;olympe.dc.Db.ua=[olympe.j.Og];h=olympe.dc.Db.prototype;h.Eg.K=olympe.j.J.O;h.$c.K=olympe.j.J.C([]);h.getSubscription.K=new olympe.j.J(()=>olympe.dc.query.Subscription,[]);h.mi.K=new olympe.j.J(()=>{},[]);h.Yi.K=new olympe.j.J(()=>String,[]);h.qB.K=new olympe.j.J(()=>Array,[]);h.Km.K=new olympe.j.J(()=>String,[]);h.Dw.K=new olympe.j.J(()=>{},[]);h.WQ.K=olympe.j.J.U;h.VQ.K=olympe.j.J.O;
1249
1251
  h.get.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.Lt.K=new olympe.j.J(()=>Array,[]);h.Cg.K=olympe.j.J.O;h.has.K=olympe.j.J.U;h.Zh.K=olympe.j.J.O;h.Dh.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.dl.K=olympe.j.J.O;h.zm.K=new olympe.j.J(()=>String,[]);h.el.K=olympe.j.J.O;h.jf.K=olympe.j.J.F;h.om.K=olympe.j.J.O;h.Rd.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.ll.K=new olympe.j.J(()=>String,[]);h.hd.K=olympe.j.J.F;h.$i.K=olympe.j.J.O;
1250
- h.forEach.K=new olympe.j.J(()=>{},[]);h.Xh.K=olympe.j.J.O;h.aw.K=new olympe.j.J(()=>{},[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Hu.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.filter.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Vh.K=new olympe.j.J(()=>olympe.dc.kr,[]);h.toString.K=olympe.j.J.O;h.TQ.K=olympe.j.J.O;h.mg.K=olympe.j.J.R;const wi={ZX:'append',QA:'filter_not',FF:'filter_and',GF:'filter_or'};function xi(a,b){a=yi(a);a=olympe.dc.CloudObject.get(a);return(new olympe.dc.ib.nE(a,b)).F}
1252
+ h.forEach.K=new olympe.j.J(()=>{},[]);h.Xh.K=olympe.j.J.O;h.aw.K=new olympe.j.J(()=>{},[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Hu.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.filter.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Vh.K=new olympe.j.J(()=>olympe.dc.kr,[]);h.toString.K=olympe.j.J.O;h.UQ.K=olympe.j.J.O;h.mg.K=olympe.j.J.R;const wi={$X:'append',QA:'filter_not',FF:'filter_and',GF:'filter_or'};function xi(a,b){a=yi(a);a=olympe.dc.CloudObject.get(a);return(new olympe.dc.ib.nE(a,b)).F}
1251
1253
  olympe.dc.kr=class{constructor(a,b){this.C=yi(a);this.Y=olympe.dc.mo().Gb();this.valueType=void 0===b?olympe.dc.CloudObject:b;this.wa=[];this.Fb=[]}Vd(){return new olympe.dc.Db(this.C,this.wa,this.valueType)}transform(a){for(let b=0,c=a.length,d;b<c;b++){d=a[b];if(void 0===d)throw new zi('transform','Trying to set an undefined transformer');if(d instanceof olympe.dc.vb.Property)throw new zi('transform','Properties cannot be used as transformer, unlike relations '+d);if(!d||'function'!==typeof d.getTransform)throw new zi('transform',
1252
- 'one of the argument is not a Transformer '+d);const e=d.Qe();null!==e&&(this.valueType=e);this.wa.push(d)}return this}Hu(a){this.wa.push(new olympe.dc.wa.Un(a));return this}RX(a){this.wa.push(new olympe.dc.wa.Un(yi(a)));return this}WQ(a){this.valueType=a;return this}fe(a){this.wa.push(a);this.valueType=a.Qe()||olympe.dc.CloudObject;return this}BL(){var a=[olympe.dc.CloudObject.containsRel,olympe.dc.CloudObject.containsRel];for(const b of a)this.wa.push(b),this.valueType=b.Qe()||olympe.dc.CloudObject;
1253
- return this}$v(a,b,c){a=new olympe.dc.wa.hg(a,a.rc(),b,c);this.wa.push(a);this.valueType=a.Qe()||olympe.dc.CloudObject;return this}nU(a){const b=[];let c;for(let d=0;d<a.length;d++){const e=a[d];b.push(e.da());void 0===c&&(c=e.rc())}a=new olympe.dc.wa.Rk(b,c);this.wa.push(a);this.valueType=a.Qe()||olympe.dc.CloudObject;return this}pI(){this.fe(olympe.dc.CloudObject.instancesRel);return this}mm(a){var b=this.Fb.pop();b===wi.QA&&(a=new olympe.dc.ta.oi(a),b=this.Fb.pop());switch(b){case wi.FF:b=this.wa.pop().C;
1254
- b instanceof olympe.dc.ta.Yj?(b=b.ta,b.push(a),a=new olympe.dc.ta.Yj(...b)):a=new olympe.dc.ta.Yj(b,a);b=this.Fb.pop();break;case wi.GF:b=this.wa.pop().C,b instanceof olympe.dc.ta.hk?(b=b.ta,b.push(a),a=new olympe.dc.ta.hk(...b)):a=new olympe.dc.ta.hk(b,a),b=this.Fb.pop()}b===wi.QA&&(a=new olympe.dc.ta.oi(a),this.Fb.pop());this.wa.push(new olympe.dc.wa.be(a));return this}iU(a,b,c){return this.mm(new olympe.dc.ta.Yg(xi(a,c),new olympe.dc.ib.Ii(b)))}contains(a,b,c=!1,d){return this.mm(new olympe.dc.ta.uh(xi(a,
1255
- d),new olympe.dc.ib.Ii(b),c))}$h(a){if(!(a instanceof Array))throw new zi('instanceOf','Provided argument "models" must be an array.');const b=[];for(let c=0;c<a.length;c++)b.push(yi(a[c]));return this.mm(new olympe.dc.ta.En(b))}Mz(a){return this.mm(new olympe.dc.ta.Yg(new olympe.dc.ib.Qn,new olympe.dc.ib.Ii(yi(a))))}jU(a){if(!Array.isArray(a))throw Error('ExcludeInstances should be called with an array');if(0<a.length){this.Sf().Mz(a[0]);for(let b=1,c=a.length;b<c;b++)this.and().Sf().Mz(a[b])}return this}vw(a,
1256
- b){if(!(a instanceof Array))throw new zi('hasRelated','Provided argument "relations" must be an array.');const c=[],d=[];a.forEach(e=>{c.push(e);d.push(e.rc())});return this.mm(new olympe.dc.ta.Xl(c,d,b))}Kz(a,b,c){a=xi(a,c);return this.mm(new olympe.dc.ta.Mk(a,new olympe.dc.ib.Ii(b)))}ux(a,b,c){a=xi(a,c);return this.mm(new olympe.dc.ta.Wk(a,new olympe.dc.ib.Ii(b)))}lW(a,b,c,d){a=xi(a,d);return this.mm(new olympe.dc.ta.Ui(a,b,c))}filter(a){const b=new class extends olympe.dc.ta.Oq{C(c,d){return a(olympe.dc.CloudObject.get(d))}};
1254
+ 'one of the argument is not a Transformer '+d);const e=d.Qe();null!==e&&(this.valueType=e);this.wa.push(d)}return this}Hu(a){this.wa.push(new olympe.dc.wa.Un(a));return this}SX(a){this.wa.push(new olympe.dc.wa.Un(yi(a)));return this}XQ(a){this.valueType=a;return this}fe(a){this.wa.push(a);this.valueType=a.Qe()||olympe.dc.CloudObject;return this}BL(){var a=[olympe.dc.CloudObject.containsRel,olympe.dc.CloudObject.containsRel];for(const b of a)this.wa.push(b),this.valueType=b.Qe()||olympe.dc.CloudObject;
1255
+ return this}$v(a,b,c){a=new olympe.dc.wa.hg(a,a.rc(),b,c);this.wa.push(a);this.valueType=a.Qe()||olympe.dc.CloudObject;return this}oU(a){const b=[];let c;for(let d=0;d<a.length;d++){const e=a[d];b.push(e.da());void 0===c&&(c=e.rc())}a=new olympe.dc.wa.Rk(b,c);this.wa.push(a);this.valueType=a.Qe()||olympe.dc.CloudObject;return this}pI(){this.fe(olympe.dc.CloudObject.instancesRel);return this}mm(a){var b=this.Fb.pop();b===wi.QA&&(a=new olympe.dc.ta.oi(a),b=this.Fb.pop());switch(b){case wi.FF:b=this.wa.pop().C;
1256
+ b instanceof olympe.dc.ta.Yj?(b=b.ta,b.push(a),a=new olympe.dc.ta.Yj(...b)):a=new olympe.dc.ta.Yj(b,a);b=this.Fb.pop();break;case wi.GF:b=this.wa.pop().C,b instanceof olympe.dc.ta.hk?(b=b.ta,b.push(a),a=new olympe.dc.ta.hk(...b)):a=new olympe.dc.ta.hk(b,a),b=this.Fb.pop()}b===wi.QA&&(a=new olympe.dc.ta.oi(a),this.Fb.pop());this.wa.push(new olympe.dc.wa.be(a));return this}jU(a,b,c){return this.mm(new olympe.dc.ta.Yg(xi(a,c),new olympe.dc.ib.Ii(b)))}contains(a,b,c=!1,d){return this.mm(new olympe.dc.ta.uh(xi(a,
1257
+ d),new olympe.dc.ib.Ii(b),c))}$h(a){if(!(a instanceof Array))throw new zi('instanceOf','Provided argument "models" must be an array.');const b=[];for(let c=0;c<a.length;c++)b.push(yi(a[c]));return this.mm(new olympe.dc.ta.En(b))}Mz(a){return this.mm(new olympe.dc.ta.Yg(new olympe.dc.ib.Qn,new olympe.dc.ib.Ii(yi(a))))}kU(a){if(!Array.isArray(a))throw Error('ExcludeInstances should be called with an array');if(0<a.length){this.Sf().Mz(a[0]);for(let b=1,c=a.length;b<c;b++)this.and().Sf().Mz(a[b])}return this}vw(a,
1258
+ b){if(!(a instanceof Array))throw new zi('hasRelated','Provided argument "relations" must be an array.');const c=[],d=[];a.forEach(e=>{c.push(e);d.push(e.rc())});return this.mm(new olympe.dc.ta.Xl(c,d,b))}Kz(a,b,c){a=xi(a,c);return this.mm(new olympe.dc.ta.Mk(a,new olympe.dc.ib.Ii(b)))}ux(a,b,c){a=xi(a,c);return this.mm(new olympe.dc.ta.Wk(a,new olympe.dc.ib.Ii(b)))}mW(a,b,c,d){a=xi(a,d);return this.mm(new olympe.dc.ta.Ui(a,b,c))}filter(a){const b=new class extends olympe.dc.ta.Oq{C(c,d){return a(olympe.dc.CloudObject.get(d))}};
1257
1259
  return this.mm(b)}Sf(){this.Fb.push(wi.QA);return this}and(){this.wa[this.wa.length-1]instanceof olympe.dc.wa.be&&this.Fb.push(wi.FF);return this}or(){this.wa[this.wa.length-1]instanceof olympe.dc.wa.be&&this.Fb.push(wi.GF);return this}Kq(a,b,c){a=yi(a);let d=null;switch(olympe.dc.cc().xe(a,olympe.dm.Property.typeRel)){case olympe.dm.String.T.da():d=new olympe.dc.je.String(new olympe.dc.ib.kk(a,c));break;case olympe.dm.Number.T.da():d=new olympe.dc.je.Number(new olympe.dc.ib.Bj(a,c));break;case olympe.dm.DateTime.T.da():d=
1258
- new olympe.dc.je.DateTime(new olympe.dc.ib.$j(a,c))}c=d;null!==c&&this.wa.push(new olympe.dc.wa.ti(c,b));return this}sort(a,b,c){const d=new class extends olympe.dc.je.Oq{R(e,f){return a(olympe.dc.CloudObject.get(f))}O(e,f){return b(e,f).valueOf()}};this.wa.push(new olympe.dc.wa.ti(d,c));return this}dU(){this.wa.push(new olympe.dc.wa.Jk);return this}ZC(a,b){this.wa.push(new olympe.dc.wa.Aj(a,b));return this}};class zi extends Error{constructor(a,b){super(`ListDefBuilder.${a}(): ${b}`)}}
1259
- function yi(a){return'string'===typeof a||a instanceof olympe.j.mb?a:'function'===typeof a?olympe.dc.Na.$e(a):olympe.j.nc(a)?a.dz===olympe.j.mb?a:olympe.j.fb([a],b=>olympe.j.kc(olympe.dc.Hb(b)),olympe.j.mb):a.da()}h=olympe.dc.kr.prototype;h.Vd.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.transform.K=olympe.j.J.C([]);h.Hu.K=olympe.j.J.C([]);h.RX.K=olympe.j.J.C([]);h.WQ.K=olympe.j.J.C([]);h.fe.K=olympe.j.J.C([]);h.BL.K=olympe.j.J.C([]);h.$v.K=olympe.j.J.C([]);h.nU.K=olympe.j.J.C([]);h.pI.K=olympe.j.J.C([]);
1260
- h.mm.K=olympe.j.J.C([]);h.iU.K=olympe.j.J.C([]);h.contains.K=olympe.j.J.C([]);h.$h.K=olympe.j.J.C([]);h.Mz.K=olympe.j.J.C([]);h.jU.K=olympe.j.J.C([]);h.vw.K=olympe.j.J.C([]);h.Kz.K=olympe.j.J.C([]);h.ux.K=olympe.j.J.C([]);h.lW.K=olympe.j.J.C([]);h.filter.K=olympe.j.J.C([]);h.Sf.K=olympe.j.J.C([]);h.and.K=olympe.j.J.C([]);h.or.K=olympe.j.J.C([]);h.Kq.K=olympe.j.J.C([]);h.sort.K=olympe.j.J.C([]);h.dU.K=olympe.j.J.C([]);h.ZC.K=olympe.j.J.C([]);olympe.dc.query.AI=class{constructor(a){this.id=a;this.C=[];this.data=new olympe.dc.db.fg}F(a){this.C.push(olympe.dc.Hb(a))}xa(){return this.id}};function Ai(a){return olympe.j.nc(a)?'Node#'+a.ac.xa():String(a)}function Bi(a,b){return olympe.j.nc(b)?'{"c":"Parameter","v":"'+a.add(b)+'"}':JSON.stringify(b)}
1261
- olympe.dc.query.eS=class{constructor(){this.uid=0;this.values=null}add(a){let b;b=olympe.j.nc(a)?'n'+a.ac.xa():'p'+ ++this.uid;null===this.values&&(this.values={});this.values[b]=a;return b}get(a){return this.values[a]}clear(){const a=this.values;if(null!==a)for(let b=Object.keys(a),c=b.length,d=0;d<c;d++)delete a[b[d]]}forEach(a){const b=this.values;if(null!==b)for(let c=Object.keys(b),d=c.length,e=0;e<d;e++)a(b[c[e]],c[e])}};olympe.dc.Sc=class{Oa(){}C(){}F(){}Ya(){}toString(){}};function wh(a,b,c){return a.O.run(()=>a.U.$c(b,c))}function xh(a,b,c){return a.O.run(()=>Ci(a.U,b,c))}
1260
+ new olympe.dc.je.DateTime(new olympe.dc.ib.$j(a,c))}c=d;null!==c&&this.wa.push(new olympe.dc.wa.ti(c,b));return this}sort(a,b,c){const d=new class extends olympe.dc.je.Oq{R(e,f){return a(olympe.dc.CloudObject.get(f))}O(e,f){return b(e,f).valueOf()}};this.wa.push(new olympe.dc.wa.ti(d,c));return this}eU(){this.wa.push(new olympe.dc.wa.Jk);return this}ZC(a,b){this.wa.push(new olympe.dc.wa.Aj(a,b));return this}};class zi extends Error{constructor(a,b){super(`ListDefBuilder.${a}(): ${b}`)}}
1261
+ function yi(a){return'string'===typeof a||a instanceof olympe.j.mb?a:'function'===typeof a?olympe.dc.Na.$e(a):olympe.j.nc(a)?a.dz===olympe.j.mb?a:olympe.j.fb([a],b=>olympe.j.kc(olympe.dc.Hb(b)),olympe.j.mb):a.da()}h=olympe.dc.kr.prototype;h.Vd.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.transform.K=olympe.j.J.C([]);h.Hu.K=olympe.j.J.C([]);h.SX.K=olympe.j.J.C([]);h.XQ.K=olympe.j.J.C([]);h.fe.K=olympe.j.J.C([]);h.BL.K=olympe.j.J.C([]);h.$v.K=olympe.j.J.C([]);h.oU.K=olympe.j.J.C([]);h.pI.K=olympe.j.J.C([]);
1262
+ h.mm.K=olympe.j.J.C([]);h.jU.K=olympe.j.J.C([]);h.contains.K=olympe.j.J.C([]);h.$h.K=olympe.j.J.C([]);h.Mz.K=olympe.j.J.C([]);h.kU.K=olympe.j.J.C([]);h.vw.K=olympe.j.J.C([]);h.Kz.K=olympe.j.J.C([]);h.ux.K=olympe.j.J.C([]);h.mW.K=olympe.j.J.C([]);h.filter.K=olympe.j.J.C([]);h.Sf.K=olympe.j.J.C([]);h.and.K=olympe.j.J.C([]);h.or.K=olympe.j.J.C([]);h.Kq.K=olympe.j.J.C([]);h.sort.K=olympe.j.J.C([]);h.eU.K=olympe.j.J.C([]);h.ZC.K=olympe.j.J.C([]);olympe.dc.query.AI=class{constructor(a){this.id=a;this.C=[];this.data=new olympe.dc.db.fg}F(a){this.C.push(olympe.dc.Hb(a))}xa(){return this.id}};function Ai(a){return olympe.j.nc(a)?'Node#'+a.ac.xa():String(a)}function Bi(a,b){return olympe.j.nc(b)?'{"c":"Parameter","v":"'+a.add(b)+'"}':JSON.stringify(b)}
1263
+ olympe.dc.query.fS=class{constructor(){this.uid=0;this.values=null}add(a){let b;b=olympe.j.nc(a)?'n'+a.ac.xa():'p'+ ++this.uid;null===this.values&&(this.values={});this.values[b]=a;return b}get(a){return this.values[a]}clear(){const a=this.values;if(null!==a)for(let b=Object.keys(a),c=b.length,d=0;d<c;d++)delete a[b[d]]}forEach(a){const b=this.values;if(null!==b)for(let c=Object.keys(b),d=c.length,e=0;e<d;e++)a(b[c[e]],c[e])}};olympe.dc.Sc=class{Oa(){}C(){}F(){}Ya(){}toString(){}};function wh(a,b,c){return a.O.run(()=>a.U.$c(b,c))}function xh(a,b,c){return a.O.run(()=>Ci(a.U,b,c))}
1262
1264
  function di(a,b,c){var d=olympe.dc.Zb.Bd;const e=b.xa();let f=Di(a.vb,e),g=olympe.dc.Zb.Bd;null===f&&(f=ci(b,a.O),a.R||(g=ii(f)));Ei(a.vb,f,d,g);c&&Qh(a.F,e,c);b=olympe.dc.ab.gb.Yu;const k=olympe.dc.ab.gb.Xu,l=m=>{if(null!==m){a.Y.error(`graph subscription "${e}" failed to subscribe ${m}`);Fi(a.vb,e,d);var n=a.F;Rh(n,e,n.F);c(m,null)}};g===olympe.dc.Zb.Bd?(a.Y.debug('QueryManager: [ID:',e,'] GraphQuery processed locally'),a.V.process(d,f,l)):(b=uf(new olympe.dc.ab(f.Tr.R===olympe.dc.Nh.ct?k:b,f,[g]),
1263
1265
  l),a.Y.debug('QueryManager: [ID:',e,'] sending GraphQuery to',g),a.C.send(b));return f}function ei(a,b){var c=olympe.dc.Zb.Bd;const d=olympe.dc.Zb.Bd;if(c===d){const e=Di(a.vb,b).Tr.R,f=Gi(a.vb,b);Fi(a.vb,b,c)&&f!==d&&e===olympe.dc.Nh.SUBSCRIBE&&(c=uf(new olympe.dc.ab(olympe.dc.ab.gb.RF,String(b),[f]),g=>{g&&a.Y.error(`Unsubscription of graphdef ${b} failed: ${g.message}`)}),a.C.send(c))}else Fi(a.vb,b,c)}
1264
1266
  function fi(a,b,c){var d=olympe.dc.Zb.Bd;b=ci(b,a.O);const e=b.xa();var f=a.F.C.has(e);c&&Qh(a.F,e,c);if(!f){f=k=>{if(k){var l=a.F;Rh(l,e,l.F);c(k,null)}};var g=ii(b);g===olympe.dc.Zb.Bd?a.V.process(d,b,f):(d=uf(new olympe.dc.ab(olympe.dc.ab.gb.Xu,b,[g]),f),a.C.send(d))}}
1265
- function ui(a,b){var c=olympe.dc.Zb.Bd;const d=b.Yi();var e=new olympe.dc.query.eS;let f;f=d;olympe.j.nc(f)&&(f=e.add(d));b=(b=b.qB())?Array.isArray(b)?b:[b]:null;const g=olympe.dc.query.Subscription.O(f,b,e);e=Hi(a.vb,g);null===e&&(a.Y.debug('QueryMGR: new',a.R?'local':'remote','subscription "',g,'": #',`${f},`,b),e=new olympe.dc.query.Subscription(g,d,b,a.O),a.R||e.Rb());a.Ba.process(c,e,k=>{k&&(Ii(a.vb,g,c||olympe.dc.Zb.Bd),a.Y.error(`subscription "${g}" failed to subscribe ${k}`))});return e}
1266
- function vi(a,b){var c=olympe.dc.Zb.Bd;if(c===olympe.dc.Zb.Bd){const d=Gi(a.vb,b);a.Y.debug('QueryMGR: [ID:',b,'] - Unregistered');Ii(a.vb,b,c)&&d!==olympe.dc.Zb.Bd&&(c=uf(new olympe.dc.ab(olympe.dc.ab.gb.LS,String(b),[d]),e=>{e&&a.Y.error(`Unsubscription of listdef ${b} failed, ${e.message}`)}),a.C.send(c))}else Ii(a.vb,b,c)}
1267
+ function ui(a,b){var c=olympe.dc.Zb.Bd;const d=b.Yi();var e=new olympe.dc.query.fS;let f;f=d;olympe.j.nc(f)&&(f=e.add(d));b=(b=b.qB())?Array.isArray(b)?b:[b]:null;const g=olympe.dc.query.Subscription.O(f,b,e);e=Hi(a.vb,g);null===e&&(a.Y.debug('QueryMGR: new',a.R?'local':'remote','subscription "',g,'": #',`${f},`,b),e=new olympe.dc.query.Subscription(g,d,b,a.O),a.R||e.Rb());a.Ba.process(c,e,k=>{k&&(Ii(a.vb,g,c||olympe.dc.Zb.Bd),a.Y.error(`subscription "${g}" failed to subscribe ${k}`))});return e}
1268
+ function vi(a,b){var c=olympe.dc.Zb.Bd;if(c===olympe.dc.Zb.Bd){const d=Gi(a.vb,b);a.Y.debug('QueryMGR: [ID:',b,'] - Unregistered');Ii(a.vb,b,c)&&d!==olympe.dc.Zb.Bd&&(c=uf(new olympe.dc.ab(olympe.dc.ab.gb.MS,String(b),[d]),e=>{e&&a.Y.error(`Unsubscription of listdef ${b} failed, ${e.message}`)}),a.C.send(c))}else Ii(a.vb,b,c)}
1267
1269
  function Ji(a){const b=olympe.dc.ab.gb.SF,c=olympe.dc.ab.gb.Rx,d=olympe.dc.ab.gb.tI;a.C.C(olympe.dc.ab.gb.VA,(e,f)=>{Ki(a,f,e)});a.C.C(b,(e,f)=>{Li(a,f,e)});a.C.C(c,(e,f)=>{a.ga.Nm(f,e)});a.C.C(d,(e,f)=>{Mi(a,f,e)});a.C.ca((e,f)=>{Ni(a,f,e)})}function Oi(a,b){a.Y.log('Received subscribeToAll command');b=b?olympe.j.jb().C(b):void 0;const c=new olympe.dc.ab(olympe.dc.ab.gb.Zq,null,[olympe.dc.Zb.$g]);b&&uf(c,b);a.C.send(c)}
1268
1270
  function Ki(a,b,c=olympe.dc.Zb.Bd){b.destination!==olympe.dc.Zb.Bd?a.Y.error(`Graphdefs registered from peers is not supported yet ! (id: ${b.xa()})`):a.ca.process(c,b,d=>{d&&a.Y.error(`An error occurred during the process of a graphdef result ${b.xa()}: ${d.message}`)})}
1269
1271
  function Li(a,b,c=olympe.dc.Zb.Bd){const d=Pi(a.vb,b.xa());0!==d.length&&(1<d.length||d[0]!==olympe.dc.Zb.Bd?a.Y.error(`Notification received for graphdefs subscription registered from peers. Not supported yet ! (id: ${b.xa()})`):a.$.process(c,b,e=>{e&&a.Y.error(`An error occurred during the process of a graphNotification ${b.xa()}`)}))}
1270
1272
  function Mi(a,b,c=olympe.dc.Zb.Bd){const d=Qi(a.vb,b.xa());1<d.length||d[0]!==olympe.dc.Zb.Bd?a.Y.error(`Listdefs registered from peers is not supported yet ! (id: ${b.xa()})`):a.na.process(c,b,e=>{e&&a.Y.error(`An error occurred during the process of a listNotification ${b.xa()}`)})}
1271
- function Ni(a,b,c){a.Y.debug('Source event',b,'received for source',c);if(b===olympe.dc.Ry.TI){const d=(e,f)=>{f&&a.Y.error(`Error after trying to resubscribe to ${e}: ${f}`)};Ri(a.vb,c).forEach(e=>{Qh(a.F,e.xa(),d.bind(a,e.xa()));a.Y.debug(`resubscribing graph subscription ${e.xa()} to destination : ${c}`);e=uf(new olympe.dc.ab(olympe.dc.ab.gb.Yu,e,[c]),d.bind(a,e.xa()));a.C.send(e)});Si(a.vb,c).forEach(e=>{a.Y.debug(`resubscribing list subscription ${e.xa()} to destination : ${c}`);e=uf(new olympe.dc.ab(olympe.dc.ab.gb.JS,
1272
- e,[c]),d.bind(a,e.xa()));a.C.send(e)})}}olympe.dc.query.jS=class{constructor(a,b,c,d,e,f,g,k){this.Y=a;this.R=b;this.C=c;this.ga=d;this.vb=e;this.F=f;this.O=new olympe.j.Qd('Query Manager context');this.Ba=g[0];this.V=g[1];this.ca=g[2];this.$=g[3];this.na=g[4];this.U=k;Ji(this)}Gb(){return this.Y}};olympe.dc.query.Relation=class extends olympe.dc.vb.Relation{constructor(a,b,c){super(a,b);this.recursive=c}toJSON(){let a='{ "tag": '+JSON.stringify(this.da())+', ';a+='"direction": '+JSON.stringify(this.rc())+', ';a+='"recursive": '+JSON.stringify(this.recursive);return a+'}'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.dc.query.Relation(b.tag,b.direction,b.recursive)}static from(a){return new olympe.dc.query.Relation(a.da(),a.rc(),a instanceof olympe.dc.wa.hg)}Pe(){const a=
1273
+ function Ni(a,b,c){a.Y.debug('Source event',b,'received for source',c);if(b===olympe.dc.Ry.TI){const d=(e,f)=>{f&&a.Y.error(`Error after trying to resubscribe to ${e}: ${f}`)};Ri(a.vb,c).forEach(e=>{Qh(a.F,e.xa(),d.bind(a,e.xa()));a.Y.debug(`resubscribing graph subscription ${e.xa()} to destination : ${c}`);e=uf(new olympe.dc.ab(olympe.dc.ab.gb.Yu,e,[c]),d.bind(a,e.xa()));a.C.send(e)});Si(a.vb,c).forEach(e=>{a.Y.debug(`resubscribing list subscription ${e.xa()} to destination : ${c}`);e=uf(new olympe.dc.ab(olympe.dc.ab.gb.KS,
1274
+ e,[c]),d.bind(a,e.xa()));a.C.send(e)})}}olympe.dc.query.kS=class{constructor(a,b,c,d,e,f,g,k){this.Y=a;this.R=b;this.C=c;this.ga=d;this.vb=e;this.F=f;this.O=new olympe.j.Qd('Query Manager context');this.Ba=g[0];this.V=g[1];this.ca=g[2];this.$=g[3];this.na=g[4];this.U=k;Ji(this)}Gb(){return this.Y}};olympe.dc.query.Relation=class extends olympe.dc.vb.Relation{constructor(a,b,c){super(a,b);this.recursive=c}toJSON(){let a='{ "tag": '+JSON.stringify(this.da())+', ';a+='"direction": '+JSON.stringify(this.rc())+', ';a+='"recursive": '+JSON.stringify(this.recursive);return a+'}'}static gf(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.dc.query.Relation(b.tag,b.direction,b.recursive)}static from(a){return new olympe.dc.query.Relation(a.da(),a.rc(),a instanceof olympe.dc.wa.hg)}Pe(){const a=
1273
1275
  olympe.dc.Pb.DESTINATION,b=olympe.dc.Pb.ORIGIN;return new olympe.dc.query.Relation(this.tag,this.direction===a?b:a,this.recursive)}toString(){return`${this.direction}${this.tag}${this.recursive?'-r':''}`}};olympe.dc.query.Subscription=class a extends olympe.j.Fx{constructor(b,c,d,e){super(olympe.dc.CloudObject,new olympe.j.Qd('context subscription '+b,e));this.id=b;this.Fc=c;this.wa=d||null;this.O=this.U.run(()=>olympe.j.ja(olympe.dc.query.Subscription.C.INIT));this.vc=!1;this.$=this.yc=null}static O(b,c,d){let e;try{e=b;if(c)for(let f=0,g=c.length;f<g;f++)e+='|'+c[f].Ya(d);else e+='|null';e=olympe.pa.yd(e)}catch(f){e=olympe.pa.we()}return e}xa(){return this.id}Yi(){return this.Fc}$p(){return this.wa}Rb(){const b=
1274
1276
  olympe.dc.cc(),c=olympe.j.Ua(this.Yi());return c?b.po(c)?b.source(c)||olympe.dc.Zb.$g:olympe.dc.Zb.Bd:olympe.dc.Zb.$g}qe(){const b=G(this.O);return b&&b.valueOf()>=olympe.dc.query.Subscription.C.WJ}af(){if(this.O.ac.Jc())throw Error(`Cannot set destroyed subscription '${this.id}' as subscribed`);const b=this.yc;this.yc=null;for(let c in b)if(Object.prototype.hasOwnProperty.call(b,c))b[c](this);J(this.O,olympe.j.ja(olympe.dc.query.Subscription.C.WJ))}Mc(){return olympe.j.fb([this.O],()=>{},olympe.j.ka)}V(){const b=
1275
1277
  G(this.O);return b&&b.valueOf()>=olympe.dc.query.Subscription.C.tJ}Km(b,c){this.V()?b(this):(null===this.$&&(this.$=new Map),void 0===c&&(c=olympe.pa.we()),this.$.set(c,olympe.j.jb().C(b)));return c||''}Dw(b){null!==this.$&&b&&this.$.delete(b)}Mb(){const b=olympe.dc.query.Subscription.C.tJ;if(!this.O.ac.Jc()&&olympe.j.Ua(this.O)!==b&&(this.Xn(),J(this.O,b),null!==this.$)){for(const c of this.$.values())c(this);this.$=null}}onDestroy(b){this.U.onDestroy(b)}jc(){this.U.destroy()}La(b){if(!this.O.ac.Jc()){for(let c=
@@ -1277,15 +1279,15 @@ G(this.O);return b&&b.valueOf()>=olympe.dc.query.Subscription.C.tJ}Km(b,c){this.
1277
1279
  d)){b=!1;break}b&&this.Mb()}}Ab(b){this.O.ac.Jc()||(this.bC(b),this.Gv(b,!this.V()))}gr(){return this.V()?super.gr():'Subscription is not ready!'}Rc(){const b=olympe.j.Ua(this.Yi());return olympe.dc.query.Subscription.F(b,this.$p())}static F(b,c){var d=new olympe.dc.xj(b,olympe.dc.Nh.SUBSCRIBE);if(null===c)return[d];b=[];b.push(d);for(let e=0,f=c.length;e<f;e++){const g=c[e];if(g instanceof olympe.dc.wa.Xe||g instanceof olympe.dc.wa.hg)b.forEach(k=>{const l=olympe.dc.query.Relation.from(g);k.fe(l,
1278
1280
  l.recursive)});else if(g instanceof olympe.dc.wa.Un)d=a.F(olympe.j.Ua(g.Yi()),g.$p()),b.push(...d);else if(g instanceof olympe.dc.wa.be||g instanceof olympe.dc.wa.ti){const k=g.F();b.forEach(l=>{for(const m of k){for(const n of m)l.fe(n,n.recursive);sh(l,m.length)}})}}return b}};olympe.dc.query.Subscription.C={INIT:0,WJ:1,tJ:2};olympe.dc.query.Subscription.prototype.gr.K=olympe.j.J.O;function Hi(a,b){return a.F.has(b)?a.F.get(b).getSubscription():null}function Ii(a,b,c){return Ti(a,a.F,b,c)}function Gi(a,b){for(const [c,d]of a.R)if(d.has(b))return c;return null}function Di(a,b){return a.C.has(b)?a.C.get(b).getSubscription():null}function Ei(a,b,c,d){const e=b.xa();let f=a.C.get(e);void 0===f&&(f=new olympe.dc.query.vb.LP(b,a.U,a),a.C.set(e,f));f.O(c);Ui(a,e,d)}function Fi(a,b,c){return Ti(a,a.C,b,c)}function Pi(a,b){return(a=a.C.get(b))?Array.from(a.C.keys()):[]}
1279
1281
  function Qi(a,b){return(a=a.F.get(b))?Array.from(a.C.keys()):[]}function Ri(a,b){const c=new Set;(a.R.get(b)||new Set).forEach(d=>{(d=a.C.get(d))&&c.add(d.getSubscription())});return c}function Si(a,b){const c=new Set;(a.R.get(b)||new Set).forEach(d=>{(d=a.F.get(d))&&c.add(d.getSubscription())});return c}function Vi(a,b,c){a=a.F.get(b);if(void 0===a)throw Error(`Check if the subscription ${b} has been processed, but it has never been registered`);b=a.F.get(c);a.F.set(c,!0);return b||!1}
1280
- function Ui(a,b,c){let d=a.R.get(c);d?d.add(b):(d=(new Set).add(b),a.R.set(c,d))}function Wi(a,b,c){var d=olympe.dc.Zb.Bd;const e=b.xa();let f=a.F.get(e);void 0===f&&(f=new olympe.dc.query.vb.zR(b,a.U),a.F.set(e,f));f.O(c);Ui(a,e,d)}function Ti(a,b,c,d){if(!b.has(c))return!1;const e=b.get(c);var f=e.C.get(d)-1;0===f?(e.C.delete(d),e.F.delete(d),f=0===e.C.size):(e.C.set(d,f),f=!1);return f?((d=Gi(a,c))&&a.R.get(d).delete(c),e.getSubscription().jc(),b.delete(c),!0):0===e.C.get(d)}
1281
- function Xi(a,b){const c=b.xa();let d=a.O.get(c);d||(d=new olympe.dc.query.vb.kS(b),a.O.set(c,d));d.counter++;return d}function Yi(a){a.O.forEach(b=>b.update())}function Zi(a,b,c){const d=a.C.get(b);d?c instanceof olympe.dc.query.Subscription?$i(d,c):aj(d,c):a.Y.error(`Try to set the subscription ${c.xa()} as covered by a graphquery that is not registered (${b}).`)}
1282
- olympe.dc.query.TS=class{constructor(a,b){this.Y=a;this.C=new Map;this.F=new Map;this.O=new Map;this.V=new Set;this.R=new Map;this.U=b}};olympe.dc.ph=class{Oa(){}Qe(){}getTransform(){}Ya(){}toString(){}};olympe.dc.lJ=class{F(){}};olympe.dc.Wn=class{Oa(){}getValue(){}C(){}Ya(){}toString(){}};olympe.dc.query.fa={Qb:'olympe.dc.query.Logger',sb:'olympe.dc.query.QueryManager'};olympe.dc.query.Ne={bm:'olympe.dc.query.SubscriptionRegistry',Lx:'olympe.dc.query.CallbackRegistry',UF:'olympe.dc.query.GraphProcessor',TF:'olympe.dc.query.GraphNotificationProcessor',VF:'olympe.dc.query.GraphResultProcessor',uI:'olympe.dc.query.ListProcessor',vy:'olympe.dc.query.ListNotificationProcessor',oJ:'olympe.dc.query.QueryProcessor',HA:'olympe.dc.query.CoverageProcessor'};olympe.dc.query.za={XJ:'subscription.debug'};
1283
- olympe.oa.Fe(function(a){C(a,olympe.dc.query.za.XJ,!1);A(a,olympe.dc.query.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc.query'));z(a,olympe.dc.query.Ne.bm,olympe.dc.query.TS,olympe.dc.query.fa.Qb,new olympe.oa.Ta(olympe.dc.query.za.XJ));z(a,olympe.dc.query.Ne.Lx,olympe.dc.query.$O,olympe.dc.query.fa.Qb);z(a,olympe.dc.query.Ne.uI,olympe.dc.query.ff.CI,olympe.dc.query.fa.Qb,olympe.dc.fa.Tu,olympe.dc.query.Ne.bm,olympe.dc.query.Ne.HA,olympe.dc.transaction.fa.sb,new olympe.oa.Ta(olympe.dc.za.Gp));z(a,olympe.dc.query.Ne.UF,
1284
- olympe.dc.query.ff.YF,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,new olympe.oa.Ta(olympe.dc.za.Gp));z(a,olympe.dc.query.Ne.VF,olympe.dc.query.ff.ZF,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,olympe.dc.query.Ne.Lx);z(a,olympe.dc.query.Ne.TF,olympe.dc.query.ff.XF,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm);z(a,olympe.dc.query.Ne.vy,olympe.dc.query.ff.BI,olympe.dc.query.fa.Qb,olympe.dc.fa.Tu,olympe.dc.query.Ne.bm);z(a,olympe.dc.query.Ne.oJ,olympe.dc.query.ff.lS,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,
1282
+ function Ui(a,b,c){let d=a.R.get(c);d?d.add(b):(d=(new Set).add(b),a.R.set(c,d))}function Wi(a,b,c){var d=olympe.dc.Zb.Bd;const e=b.xa();let f=a.F.get(e);void 0===f&&(f=new olympe.dc.query.vb.AR(b,a.U),a.F.set(e,f));f.O(c);Ui(a,e,d)}function Ti(a,b,c,d){if(!b.has(c))return!1;const e=b.get(c);var f=e.C.get(d)-1;0===f?(e.C.delete(d),e.F.delete(d),f=0===e.C.size):(e.C.set(d,f),f=!1);return f?((d=Gi(a,c))&&a.R.get(d).delete(c),e.getSubscription().jc(),b.delete(c),!0):0===e.C.get(d)}
1283
+ function Xi(a,b){const c=b.xa();let d=a.O.get(c);d||(d=new olympe.dc.query.vb.lS(b),a.O.set(c,d));d.counter++;return d}function Yi(a){a.O.forEach(b=>b.update())}function Zi(a,b,c){const d=a.C.get(b);d?c instanceof olympe.dc.query.Subscription?$i(d,c):aj(d,c):a.Y.error(`Try to set the subscription ${c.xa()} as covered by a graphquery that is not registered (${b}).`)}
1284
+ olympe.dc.query.US=class{constructor(a,b){this.Y=a;this.C=new Map;this.F=new Map;this.O=new Map;this.V=new Set;this.R=new Map;this.U=b}};olympe.dc.ph=class{Oa(){}Qe(){}getTransform(){}Ya(){}toString(){}};olympe.dc.lJ=class{F(){}};olympe.dc.Wn=class{Oa(){}getValue(){}C(){}Ya(){}toString(){}};olympe.dc.query.fa={Qb:'olympe.dc.query.Logger',sb:'olympe.dc.query.QueryManager'};olympe.dc.query.Ne={bm:'olympe.dc.query.SubscriptionRegistry',Lx:'olympe.dc.query.CallbackRegistry',UF:'olympe.dc.query.GraphProcessor',TF:'olympe.dc.query.GraphNotificationProcessor',VF:'olympe.dc.query.GraphResultProcessor',uI:'olympe.dc.query.ListProcessor',vy:'olympe.dc.query.ListNotificationProcessor',oJ:'olympe.dc.query.QueryProcessor',HA:'olympe.dc.query.CoverageProcessor'};olympe.dc.query.za={XJ:'subscription.debug'};
1285
+ olympe.oa.Fe(function(a){C(a,olympe.dc.query.za.XJ,!1);A(a,olympe.dc.query.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc.query'));z(a,olympe.dc.query.Ne.bm,olympe.dc.query.US,olympe.dc.query.fa.Qb,new olympe.oa.Ta(olympe.dc.query.za.XJ));z(a,olympe.dc.query.Ne.Lx,olympe.dc.query.$O,olympe.dc.query.fa.Qb);z(a,olympe.dc.query.Ne.uI,olympe.dc.query.ff.CI,olympe.dc.query.fa.Qb,olympe.dc.fa.Tu,olympe.dc.query.Ne.bm,olympe.dc.query.Ne.HA,olympe.dc.transaction.fa.sb,new olympe.oa.Ta(olympe.dc.za.Gp));z(a,olympe.dc.query.Ne.UF,
1286
+ olympe.dc.query.ff.YF,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,new olympe.oa.Ta(olympe.dc.za.Gp));z(a,olympe.dc.query.Ne.VF,olympe.dc.query.ff.ZF,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,olympe.dc.query.Ne.Lx);z(a,olympe.dc.query.Ne.TF,olympe.dc.query.ff.XF,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm);z(a,olympe.dc.query.Ne.vy,olympe.dc.query.ff.BI,olympe.dc.query.fa.Qb,olympe.dc.fa.Tu,olympe.dc.query.Ne.bm);z(a,olympe.dc.query.Ne.oJ,olympe.dc.query.ff.mS,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,
1285
1287
  olympe.dc.query.Ne.HA,olympe.dc.query.Ne.Lx,olympe.dc.fa.ik,olympe.dc.db.fa.sb);z(a,olympe.dc.query.Ne.HA,olympe.dc.query.ff.cP,olympe.dc.query.fa.Qb,olympe.dc.query.Ne.bm,olympe.dc.transaction.fa.sb);A(a,olympe.dc.query.fa.sb,[olympe.dc.query.fa.Qb,new olympe.oa.Ta(olympe.dc.za.Gp),olympe.dc.fa.ik,olympe.dc.db.fa.sb,olympe.dc.query.Ne.bm,olympe.dc.query.Ne.Lx,olympe.dc.query.Ne.uI,olympe.dc.query.Ne.UF,olympe.dc.query.Ne.VF,olympe.dc.query.Ne.TF,olympe.dc.query.Ne.vy,olympe.dc.query.Ne.oJ],(b,c,
1286
- d,e,f,g,k,l,m,n,p,r)=>new olympe.dc.query.jS(b,c,d,e,f,g,[k,l,m,n,p],r))});olympe.oa.run([olympe.dc.query.Ne.bm],a=>{olympe.jw().subscriptions=a});olympe.dc.query.vb={};function bj(){const a=Error.stackTraceLimit;Error.stackTraceLimit=16;let b=Error().stack||'';b=b.split('\n').map(d=>d.trim());var c='Error'===b[0]?2:1;b=b.slice(c,Error.stackTraceLimit+c).reverse();c=[];for(const d of b)if(c.push(' '+d),d.includes('at ListDef.')||d.includes('at GraphDef.'))break;Error.stackTraceLimit=a;3<c.length&&(c=c.slice(c.length-3));return c.join('\n')||b.join('\n')}
1287
- olympe.dc.query.vb.eK=class{constructor(a,b){this.C=new Map;this.F=new Map;this.R=a;this.ga=b}getSubscription(){}O(a){var b=this.C.get(a);this.C.set(a,void 0!==b?b+1:1);b=this.F.get(a);this.F.set(a,void 0!==b?b:!1)}};function $i(a,b){const c=b.xa();a.U.set(c,b);olympe.j.jb().onDestroy(()=>{a.U.delete(c)})}function aj(a,b){const c=b.xa();a.V.set(c,b);olympe.j.jb().onDestroy(()=>{a.V.delete(c)})}olympe.dc.query.vb.LP=class extends olympe.dc.query.vb.eK{constructor(a,b,c){super(a,b);this.vb=c;this.U=new Map;this.V=new Map;b&&bj()}getSubscription(){return this.R}};olympe.dc.query.vb.zR=class extends olympe.dc.query.vb.eK{constructor(a,b){super(a,b);this.U=new Map}getSubscription(){return this.R}O(a){super.O(a);if(this.ga){const b='md_'+olympe.pa.we();this.U.set(b,bj());olympe.j.jb().onDestroy(()=>{this.U.delete(b)})}}};function cj(a,b){let c;a.C!==b&&(null==(c=a.C)?void 0:c.hash)!==b.hash&&(a.C=b,dj(a,!1),a.O.forEach(d=>d(b)))}function dj(a,b){var c=th(a.query);if(c!==olympe.dc.Zb.Bd&&c!==olympe.dc.Zb.$g){var d;c=null!=(d=a.C)?d:olympe.dc.Ec.empty();Of(a.U,null,b?yh(c):zh(c))}}function ej(a,b){const c=a.V++;a.O.set(c,b);a.C&&b(a.C);return()=>a.O.delete(c)}
1288
- olympe.dc.query.vb.kS=class{constructor(a){this.query=a;this.U=olympe.dc.yi();this.id=a.xa();this.C=null;this.F=new olympe.dc.ra.jJ(a);this.counter=this.V=0;this.O=new Map;this.R=[]}update(){var a=this.F;a.F?(a.F=!1,a=!0):a=!1;if(a){var b;a=null!=(b=this.C)?b:olympe.dc.Ec.empty();b=olympe.dc.Ec.from(a,this.F);cj(this,b)}}onDestroy(a){this.R.push(a)}destroy(){dj(this,!0);this.R.forEach(a=>a())}};olympe.dc.query.ff={};function fj(a,b,c,d,e){a.Y.debug('CoverageProcessor: [ID:',d,'] - checking coverage of remote query over',b.length,'paths.');const f=new olympe.async.Bp(olympe.j.jb()),g=l=>{f.add((m,n)=>{l.$c(p=>{p?n(`The query ${d} is not covered by an existing graphdef, `+`and the specific graphdef id ${l.xa()} has encountered an error: ${p}`):m()});Zi(a.vb,l.xa(),c)})},k=Array.from(Ri(a.vb,olympe.dc.Zb.$g));b.forEach(l=>{const m=ci(l);let n=!1;for(let p=0,r=k.length;p<r;p++){const t=k[p];if(t.uL(m)){g(t.Tr,!1);
1288
+ d,e,f,g,k,l,m,n,p,r)=>new olympe.dc.query.kS(b,c,d,e,f,g,[k,l,m,n,p],r))});olympe.oa.run([olympe.dc.query.Ne.bm],a=>{olympe.jw().subscriptions=a});olympe.dc.query.vb={};function bj(){const a=Error.stackTraceLimit;Error.stackTraceLimit=16;let b=Error().stack||'';b=b.split('\n').map(d=>d.trim());var c='Error'===b[0]?2:1;b=b.slice(c,Error.stackTraceLimit+c).reverse();c=[];for(const d of b)if(c.push(' '+d),d.includes('at ListDef.')||d.includes('at GraphDef.'))break;Error.stackTraceLimit=a;3<c.length&&(c=c.slice(c.length-3));return c.join('\n')||b.join('\n')}
1289
+ olympe.dc.query.vb.eK=class{constructor(a,b){this.C=new Map;this.F=new Map;this.R=a;this.ga=b}getSubscription(){}O(a){var b=this.C.get(a);this.C.set(a,void 0!==b?b+1:1);b=this.F.get(a);this.F.set(a,void 0!==b?b:!1)}};function $i(a,b){const c=b.xa();a.U.set(c,b);olympe.j.jb().onDestroy(()=>{a.U.delete(c)})}function aj(a,b){const c=b.xa();a.V.set(c,b);olympe.j.jb().onDestroy(()=>{a.V.delete(c)})}olympe.dc.query.vb.LP=class extends olympe.dc.query.vb.eK{constructor(a,b,c){super(a,b);this.vb=c;this.U=new Map;this.V=new Map;b&&bj()}getSubscription(){return this.R}};olympe.dc.query.vb.AR=class extends olympe.dc.query.vb.eK{constructor(a,b){super(a,b);this.U=new Map}getSubscription(){return this.R}O(a){super.O(a);if(this.ga){const b='md_'+olympe.pa.we();this.U.set(b,bj());olympe.j.jb().onDestroy(()=>{this.U.delete(b)})}}};function cj(a,b){let c;a.C!==b&&(null==(c=a.C)?void 0:c.hash)!==b.hash&&(a.C=b,dj(a,!1),a.O.forEach(d=>d(b)))}function dj(a,b){var c=th(a.query);if(c!==olympe.dc.Zb.Bd&&c!==olympe.dc.Zb.$g){var d;c=null!=(d=a.C)?d:olympe.dc.Ec.empty();Of(a.U,null,b?yh(c):zh(c))}}function ej(a,b){const c=a.V++;a.O.set(c,b);a.C&&b(a.C);return()=>a.O.delete(c)}
1290
+ olympe.dc.query.vb.lS=class{constructor(a){this.query=a;this.U=olympe.dc.yi();this.id=a.xa();this.C=null;this.F=new olympe.dc.ra.jJ(a);this.counter=this.V=0;this.O=new Map;this.R=[]}update(){var a=this.F;a.F?(a.F=!1,a=!0):a=!1;if(a){var b;a=null!=(b=this.C)?b:olympe.dc.Ec.empty();b=olympe.dc.Ec.from(a,this.F);cj(this,b)}}onDestroy(a){this.R.push(a)}destroy(){dj(this,!0);this.R.forEach(a=>a())}};olympe.dc.query.ff={};function fj(a,b,c,d,e){a.Y.debug('CoverageProcessor: [ID:',d,'] - checking coverage of remote query over',b.length,'paths.');const f=new olympe.async.Bp(olympe.j.jb()),g=l=>{f.add((m,n)=>{l.$c(p=>{p?n(`The query ${d} is not covered by an existing graphdef, `+`and the specific graphdef id ${l.xa()} has encountered an error: ${p}`):m()});Zi(a.vb,l.xa(),c)})},k=Array.from(Ri(a.vb,olympe.dc.Zb.$g));b.forEach(l=>{const m=ci(l);let n=!1;for(let p=0,r=k.length;p<r;p++){const t=k[p];if(t.uL(m)){g(t.Tr,!1);
1289
1291
  n=!0;break}}n?a.Y.debug('CoverageProcessor: [ID:',d,'] - graphPath',l,' is covered'):g(l,!0)});Kc(f,(l,m)=>e(m));f.start()}function gj(a,b,c){const d=[b.Yi()],e=g=>g instanceof olympe.dc.wa.Un,f=(b.$p()||[]).filter(e);for(const g of f)d.push(g.Yi()),f.push(...(g.$p()||[]).filter(e));kh(a.C,()=>{olympe.j.bb(d,()=>{const g=b.Rc();fj(a,g,b,b.xa(),c)})})}function hj(a,b,c,d){const e=b.xa(),f=[rh(b,c)];kh(a.C,()=>fj(a,f,b,e,d))}olympe.dc.query.ff.cP=class{constructor(a,b,c){this.Y=a;this.vb=b;this.C=c}};olympe.dc.query.ff.XF=class{constructor(a,b){this.Y=a;this.vb=b}process(a,b,c){const d=b.xa();this.vb.C.has(d)?(Di(this.vb,d).ca(b),olympe.dc.yi().Nm(b.data,a),c(null,b)):c(Error(`Received a notification for the graphdef ${d} which does not exist.`),b)}};olympe.dc.query.ff.XF.ua=[olympe.dc.Dp];olympe.dc.query.ff.YF=class{constructor(a,b,c){this.Y=a;this.vb=b;this.C=c}process(a,b,c){var d=b.xa();if(a===olympe.dc.Zb.Bd||this.vb.C.has(d)){if(c(null,b),a=Di(this.vb,d),this.C||a&&a.R)a=olympe.dc.Zb.Bd,d=new olympe.dc.query.Os(d,a,a,new olympe.dc.db.fg),Ki(olympe.dc.mo(),d)}else c(Error('The local Graph Engine is not implemented yet. It should handle Graphdefs addressed to instances owned by this local OVM'),b)}};olympe.dc.query.ff.YF.ua=[olympe.dc.Dp];olympe.dc.query.ff.ZF=class{constructor(a,b,c){this.Y=a;this.C=b;this.F=c}process(a,b,c){const d=b.xa();if(this.C.C.has(d)){const f=Di(this.C,d);if(b instanceof olympe.dc.query.errors.iy)Fi(this.C,d,a);else if(!f.R){f.$(b);const g=olympe.dc.yi();Of(g,f.V());g.Nm(b.jg,b.destination);f.onDestroy(()=>{Of(g,null,f.V())});ki(f)}}let e;b instanceof olympe.dc.query.errors.iy&&(e=`graph subscription "${d}" failed to create the initial result: ${b.ga()}`,this.Y.error(e));Th(this.F,b.xa(),b);c(e?Error(e):null,
1290
1292
  b)}};olympe.dc.query.ff.ZF.ua=[olympe.dc.Dp];const ij=[],jj=new Map;function kj(a,b,c,d){qf(a.db,d,e=>{e?b.Zh(c)?a.Y.warn('Adding the same index twice (should never happen) for sub #'+b.xa()+', index #'+c+', tag #'+d):b.cb(c,d):lj(a,b,c,d)},c)}function lj(a,b,c,d){rf(a.db,d,c,!0);b.Ab(c);ij.length=0;b.Kb(function(e,f){ij[e]=f});c=a=0;for(d=ij.length;a<d;a++)'string'===typeof ij[a]&&(ij[c++]=ij[a]);ij.length=c;b.La(ij)}
1291
1293
  olympe.dc.query.ff.BI=class{constructor(a,b,c){this.Y=a;this.db=b;this.vb=c}process(a,b,c){const d=b.xa();a=b.C;const e=Hi(this.vb,d);if(null===e)c(Error(`Received list notification for undefined subscription "${d}"`),b);else{ij.length=a.length;e.Kb((f,g)=>{if(f=e.Cg(g)){f=f.da();var k=jj.get(f);void 0===k?jj.set(f,g):'string'===typeof k?jj.set(f,[k,g]):k.push(g)}else this.Y.warn('Subscription #'+d+' has a rank for index #'+g+' but no instance. This is caused by receiving a new list notification before receiving all instances of the previous list notification.')});
@@ -1297,7 +1299,7 @@ e=!0),rj(c,n))});if(null!==g){const l=olympe.dc.Eg();for(let m=g.length-1;0<=m;m
1297
1299
  olympe.dc.query.ff.CI=class{constructor(a,b,c,d,e,f){this.Y=a;this.db=b;this.vb=c;this.C=d;this.F=f}process(a,b,c){mj(this,a,b,c)}notify(a,b){const c=b.xa();this.Y.debug(`Register notification of list subscription ${c} for destination ${a}`);const d=()=>{const f=new olympe.dc.query.AI(c);b.Xh(g=>f.F(g));Mi(olympe.dc.mo(),f)};let e=!1;b.forEach(()=>{e&&d()});b.Km(()=>{e=!0;d()})}};olympe.dc.query.ff.CI.ua=[olympe.dc.Dp];function Ci(a,b,c){const d=b.xa(),e=th(b),f=a.vb.O.has(d),g=Xi(a.vb,b);return new rxjs.Observable(k=>{const l=ej(g,k.next.bind(k)),m=()=>{l();n&&c.yc(n);{var p=a.vb;const t=p.O.get(d);var r;if(r=t)r=t,0<r.counter?r.counter--:olympe.ub.Gb('dc').warn('Try to decrement counter of query metadata below 0. Investigate...'),r=0===r.counter;r&&(t.destroy(),p.O.delete(d),p.V.delete(d))}},n=c.Sd(m);if(!f)if(e===olympe.dc.Zb.$g)hj(a.R,b,!0,p=>{p?(k.error(p),m()):tj(a,d,b,g)});else if(e===olympe.dc.Zb.Bd)tj(a,
1298
1300
  d,b,g);else{const p=uf(tf(new olympe.dc.ab(olympe.dc.ab.gb.qJ,b,[e]),c),r=>{r&&(k.error(r.message),m())});a.O.send(p)}return m})}
1299
1301
  function tj(a,b,c,d){let e=(p,r)=>{p?a.Y.debug(`New result tuple for query ${b}, ${r}`):a.Y.debug(`Removed result tuple for query ${b}, ${r}`)};const f=c.C,g=f.reduce((p,r)=>{p.push(r.F(p[p.length-1]));return p},[0]),k=d.F;for(let p=f.length-1;0<=p;p--)e=f[p].observe(k,g[p],e);const l=a.F.view,m=c.O,n=qf(l,m,(p,r)=>{p?Ih(k,r,0,null):k.remove(r,0,null);e(p,r,null,b)});d.onDestroy(()=>rf(l,m,n));Gh(k);d.update()}
1300
- olympe.dc.query.ff.lS=class{constructor(a,b,c,d,e,f){this.Y=a;this.vb=b;this.R=c;this.C=d;this.O=e;this.F=f;this.init()}$c(a,b){return new Promise((c,d)=>{var e=th(a);if(e===olympe.dc.Zb.$g)hj(this.R,a,!1,f=>{f?d(f):c(this.al(a))});else if(e===olympe.dc.Zb.Bd)c(this.al(a));else{const f=a.xa(),g=this.C.C.has(f),k=m=>{var n=this.C;Rh(n,f,n.O);d(m||`The execution of the query ${f} has been interrupted`)},l=b.Sd(k);Uh(this.C,f,(m,n)=>{b.yc(l);m?d(m.message):(b.Sd(()=>{Of(this.F,null,yh(n))}),c(n))});
1302
+ olympe.dc.query.ff.mS=class{constructor(a,b,c,d,e,f){this.Y=a;this.vb=b;this.R=c;this.C=d;this.O=e;this.F=f;this.init()}$c(a,b){return new Promise((c,d)=>{var e=th(a);if(e===olympe.dc.Zb.$g)hj(this.R,a,!1,f=>{f?d(f):c(this.al(a))});else if(e===olympe.dc.Zb.Bd)c(this.al(a));else{const f=a.xa(),g=this.C.C.has(f),k=m=>{var n=this.C;Rh(n,f,n.O);d(m||`The execution of the query ${f} has been interrupted`)},l=b.Sd(k);Uh(this.C,f,(m,n)=>{b.yc(l);m?d(m.message):(b.Sd(()=>{Of(this.F,null,yh(n))}),c(n))});
1301
1303
  g||(e=uf(tf(new olympe.dc.ab(olympe.dc.ab.gb.nJ,a,[e]),b),m=>m&&k(m.message)),this.O.send(e))}})}al(a){const b=new olympe.dc.ra.jJ(a);Ih(b,a.O,0,null);let c=0;for(const d of a.C)d.$c(b,c),c=d.F(c);return olympe.dc.Ec.from(olympe.dc.Ec.empty(),b)}init(){const a=olympe.dc.ab.gb.pJ,b=(c,d)=>Bh(c,e=>{Of(this.F,Array.from(e.aj()).filter(f=>f.vk()).map(f=>f.tag()));this.F.Nm(e,d)},d);this.O.C(olympe.dc.ab.gb.QUERY_RESULT,(c,{i:d,r:e,s:f})=>{c=b(e,f);null===c?(c=this.C,Sh(c,d,`Error while deserialization of QueryResult for query ${d}`,
1302
1304
  c.O,`Query result of query ${d} has no associated handler in the datacloud`)):(e=this.C,Sh(e,d,c,e.O,`Query result of query ${d} has no associated handler in the datacloud`))});this.O.C(a,(c,{i:d,r:e,s:f})=>{if(c=b(e,f)){let g;null==(g=this.vb.O.get(d))||cj(g,c)}});Nf(this.F,()=>Yi(this.vb))}};olympe.dc.query.errors={};olympe.dc.query.errors.iy=class extends olympe.dc.query.Os{constructor(a,b,c,d){super(a,b,c,new olympe.dc.db.fg);this.error=d}ga(){return this.error}};olympe.dc.$f={};function sj(a,b,c,d){b?a.U[d]=c:delete a.U[d];null===a.F&&(a.F=new olympe.dc.$f.Vx(a.Wa,a));return a.F}function uj(a,b){for(let c=0;c<b;c++)if(null!==a.F)a=a.F;else break;return a}function vj(a,b){a=a.U;if(null!==a)for(let c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c)}olympe.dc.$f.Vx=class{constructor(a,b){this.Wa=a;this.parent=b||null;this.ga=b?b.ga+1:0;this.U=Object.create(null);this.F=null}Eg(){return this.Wa}Jp(){this.Wa.U()?this.Wa.O():this.Wa.ga(this.ga-1)}};olympe.dc.$f.lb=class{constructor(){}C(){}U(){}ga(){}O(){}Iq(){}};olympe.dc.$f.Ix=class{constructor(){this.V=this.item=this.R=this.F=null}U(){return null!==this.F}ga(a){if(null!==this.F)throw Error('Manager already activated (depth='+this.F+')');this.F=a;this.O()}C(a,b,c){b=this.item;if(a&&null!==b)throw Error('The AutoManger handles only a single item.');a?(b=new olympe.dc.$f.Vx(this),this.R=c,this.item=b):this.item=this.R=null;return b}O(){if(null===this.F)throw Error('Manager not activated, need to set a depth before updating ranks');if(null!==this.V){const a=
1303
1305
  [];null!==this.item&&(0<=this.F?vj(uj(this.item,this.F),a):a.push(this.R));this.V(a)}}Iq(a){this.V=a}};olympe.dc.$f.Ix.ua=[olympe.dc.$f.lb];function wj(a,b){olympe.j.Rg(a.value)?(a.C=olympe.j.If(a.value,b),jb(a.C)||b()):b()}function xj(a,b){if(olympe.j.Rg(a.value)){const c=olympe.j.jb(),d=a.R;olympe.j.bb([a.value],e=>{d!==e.valueOf()&&(c.run(()=>wj(a,b)),olympe.j.jb().destroy())})}}
@@ -1330,7 +1332,7 @@ function Uj(a,b,c,d){const e=Object.create(null);d+=olympe.pa.Xi();const f=(g,k,
1330
1332
  '')+'('+a.toString()+','+this.value.toString()+')'}};X('olympe.dc.predicates.BitMask',olympe.dc.ta.GA);olympe.dc.ta.GA.ua=[olympe.dc.Sc];let Vj=0;olympe.dc.ta.Oq=class{constructor(){this.id=Vj++}Oa(){return'CustomLocalPredicate#'+this.id}F(){return[]}C(){throw Error('Test function was not implemented.');}Ya(){return`{"c":"${this.Oa()}"}`}toString(){return this.Oa()+'()'}};olympe.dc.ta.Oq.ua=[olympe.dc.Sc];olympe.dc.ta.bB=class{constructor(a,b,c){this.O=[];this.R=void 0!==c?c.map(olympe.dc.Hb):null;a=Array.isArray(a)?a:[a];for(let d=0,e=a.length;d<e;d++)c=a[d],c instanceof olympe.dc.wa.hg?this.O.push(new Wj(c.da(),c.rc(),c.F,c.C)):this.O.push(new Wj(olympe.dc.Hb(c),b[d],1,1))}Oa(){return Y(olympe.dc.ta.bB)}F(){return[this.O.reduce((a,b)=>a.concat(b),[])]}C(a,b){const c=olympe.j.createNode(Boolean),d=olympe.dc.cc(),e=olympe.pa.Xi();a=(k,l,m)=>{l&&(null===this.R||this.R.includes(m))&&k(1)};const f=this.O;
1331
1333
  for(let k=f.length-1;0<=k;k--)a=f[k].getTransform(d,a,e+k);let g=0;qf(d,b,a.bind(null,k=>{c.ug()||c.Jc()||(g+=k,lb(c,0<g))}),e);olympe.j.jb().onDestroy(()=>rf(d,b,e));c.ci(!1);return c}Ya(){return'{"c":"'+this.Oa()+'","a":['+JSON.stringify(this.O.map(a=>a.Ya()))+(null!==this.R?',"'+this.R.toString():'')+'"]}'}toString(){return'HasRelatedTree('+(null!==this.R?'#['+this.R.toString()+'], ':'')+this.O.map(a=>a.Ya())+')'}};X('olympe.dc.predicates.HasRelatedTree',olympe.dc.ta.bB);
1332
1334
  class Wj extends olympe.dc.query.Relation{constructor(a,b,c,d){super(a,b,1!==c||1!==d);this.F=c;this.C=d;this.R=new Map;this.O=new Map}getTransform(a,b,c){const d=this.O,e=this.R,f=new Set,g=(l,m,n)=>{e.has(m)?e.get(m).set(c+n,l):e.set(m,(new Map).set(c+n,l))},k=(l,m,n,p,r)=>{const t=olympe.pa.Xi();if(p){const u=n+r,v=w=>{const x=e.get(r);if(f.has(u))throw Error(`Try to use the predicate HasRelatedTree with recursion in a graph cluster containing a loop around instances ${n} and ${r}`);void 0!==x&&
1333
- null!==x&&(f.add(u),d.set(r,(d.get(r)||0)+w),Array.from(x.values()).forEach(y=>y(w)));f.delete(u)};g(l,r,n);d.has(r)?l(d.get(r)):(m>=this.F&&b(w=>{d.set(r,(d.get(r)||0)+w);l(w)},p,r),(0>this.C||m<=this.C)&&r!==n&&Dg(a,r,this,k.bind(this,v,m+1,r),t))}else l(-d.get(r)),e.get(r).delete(c+n),0===e.get(r).size&&(d.delete(r),e.delete(r),a.F(r,this,t))};return(l,m,n)=>k(l,0,'origin',m,n)}Ya(){return`${this.da()}, ${this.rc()}, ${this.F}, ${this.C}`}}olympe.dc.ta.bB.ua=[olympe.dc.Sc];olympe.dc.wa={};olympe.dc.wa.yv={zP:1,VP:-1,gB:0};olympe.dc.wa.t_={$X:!0,uY:!1};olympe.dc.wa.Xe=class extends olympe.dc.vb.Relation{constructor(a,b){super(a,b||olympe.dc.Pb.DESTINATION)}Qe(){return Gf(this)}Oa(){return Y(olympe.dc.wa.Xe)}Pe(){return new olympe.dc.wa.Xe(this.tag,this.direction===olympe.dc.Pb.DESTINATION?olympe.dc.Pb.ORIGIN:olympe.dc.Pb.DESTINATION)}getTransform(a,b,c){const d=olympe.dc.cc(),e=this.da(),f=this.rc();return(g,k,l,m)=>{Gj(b,l,k,e,f);g?Dg(d,k,this,(n,p)=>{const r=olympe.pa.yd(l+f+e+p,20),t=sj(m,n,p,r);n&&b.register(r,l,k,e,f);c(n,p,r,t)},l):d.F(k,
1335
+ null!==x&&(f.add(u),d.set(r,(d.get(r)||0)+w),Array.from(x.values()).forEach(y=>y(w)));f.delete(u)};g(l,r,n);d.has(r)?l(d.get(r)):(m>=this.F&&b(w=>{d.set(r,(d.get(r)||0)+w);l(w)},p,r),(0>this.C||m<=this.C)&&r!==n&&Dg(a,r,this,k.bind(this,v,m+1,r),t))}else l(-d.get(r)),e.get(r).delete(c+n),0===e.get(r).size&&(d.delete(r),e.delete(r),a.F(r,this,t))};return(l,m,n)=>k(l,0,'origin',m,n)}Ya(){return`${this.da()}, ${this.rc()}, ${this.F}, ${this.C}`}}olympe.dc.ta.bB.ua=[olympe.dc.Sc];olympe.dc.wa={};olympe.dc.wa.yv={zP:1,WP:-1,gB:0};olympe.dc.wa.u_={aY:!0,vY:!1};olympe.dc.wa.Xe=class extends olympe.dc.vb.Relation{constructor(a,b){super(a,b||olympe.dc.Pb.DESTINATION)}Qe(){return Gf(this)}Oa(){return Y(olympe.dc.wa.Xe)}Pe(){return new olympe.dc.wa.Xe(this.tag,this.direction===olympe.dc.Pb.DESTINATION?olympe.dc.Pb.ORIGIN:olympe.dc.Pb.DESTINATION)}getTransform(a,b,c){const d=olympe.dc.cc(),e=this.da(),f=this.rc();return(g,k,l,m)=>{Gj(b,l,k,e,f);g?Dg(d,k,this,(n,p)=>{const r=olympe.pa.yd(l+f+e+p,20),t=sj(m,n,p,r);n&&b.register(r,l,k,e,f);c(n,p,r,t)},l):d.F(k,
1334
1336
  this,l)}}Ya(){return'{"c":"'+this.Oa()+'","a":["'+this.da()+'","'+this.rc()+'"]}'}toString(){return'Related('+this.rc()+this.da()+')'}};X('olympe.dc.transformers.Related',olympe.dc.wa.Xe);olympe.dc.wa.Xe.ua=[olympe.dc.ph];olympe.dc.wa.hg=class extends olympe.dc.vb.Relation{constructor(a,b=olympe.dc.Pb.DESTINATION,c=1,d=-1){super(a,b);this.F=c;this.C=d}Qe(){return Gf(this)}Oa(){return Y(olympe.dc.wa.hg)}getTransform(a,b,c){const d=olympe.dc.cc(),e=Object.create(null),f=olympe.dc.Pb.ORIGIN,g=olympe.dc.Pb.DESTINATION,k=this.da(),l=this.rc(),m=(p,r,t)=>{if(!(0<=this.C&&p>=this.C)){var u=d.zc(t,this);p+=1;for(let v=0,w=u.length;v<w;v++){if(void 0!==e[u[v]]||t===u[v])continue;const x=olympe.pa.yd(r+l+(k+'_'+p)+u[v],20);
1335
1337
  b.register(x,r,t,k,l||g);null===l&&b.register(x,r,t,k,f)}}},n=(p,r,t,u,v,w)=>{v&&!b.F&&m(p,u,w);p>=this.F?c(v,w,u,sj(t,v,w,u)):Gj(b,u,w,k,l);0<=this.C&&p>=this.C||(v?e[w]||(e[w]=!0,Dg(d,w,this,(x,y)=>{const B=p+1,E=olympe.pa.yd(u+l+(k+'_'+B)+y,20);n(B,w,t,E,x,y)},u)):(d.F(w,this,u),delete e[w]))};return(p,r,t,u)=>n(0,null,u,t,p,r)}Ya(){return'{"c":"'+this.Oa()+'","a":["'+this.da()+'","'+this.rc()+'",'+this.F+','+this.C+']}'}toString(){return'RecursiveRelated('+this.rc()+this.da()+'['+this.F+'..'+
1336
1338
  this.C+'])'}};X('olympe.dc.transformers.RecursiveRelated',olympe.dc.wa.hg);olympe.dc.wa.hg.ua=[olympe.dc.ph];function Xj(a){return a.C.map(b=>b.da())}
@@ -1343,71 +1345,71 @@ delete e[k])}}Ya(a){return'{"c":"'+this.Oa()+'","a":['+this.C.Ya(a)+']}'}toStrin
1343
1345
  this.Oa()+'","a":['+Bi(a,this.start)+','+Bi(a,this.C)+']}'}toString(){return`Limit(${olympe.j.Ua(this.start)},${olympe.j.Ua(this.C)})`}};X('olympe.dc.transformers.Limit',olympe.dc.wa.Aj);olympe.dc.wa.Aj.ua=[olympe.dc.ph];function Yj(a,b,c,d,e,f){function g(p,r){if(m)for(var t=m.length-1;0<=t;t--)f=m[t].getTransform(b,e,n.C(f));f=n.C(f);e.register(k,null);t=d.C(p,r,c,null);f(p,r,k,sj(t,p,r,k))}const k=olympe.pa.we(),l=olympe.dc.cc(),m=a.wa,n=olympe.j.jb();olympe.j.bb([a.C],p=>{Zj(l,p,g,k);void 0===l.model(p)&&pj(e)})}function Zj(a,b,c,d){const e=b&&b.valueOf();e&&(qf(a,e,c,d),olympe.j.jb().Sd(()=>rf(a,e,d)))}
1344
1346
  olympe.dc.wa.Un=class{constructor(a,b){this.wa=this.C=null;a instanceof olympe.dc.Db?(this.C=a.Yi(),this.wa=a.qB()):(this.C=a,b&&(this.wa=b))}Qe(){return null}Oa(){return Y(olympe.dc.wa.Un)||''}$p(){return this.wa}Yi(){return this.C}getTransform(a,b,c){const d=new olympe.dc.$f.xB,e=new olympe.dc.$f.Ix;let f=[],g=[],k=!1,l=!1;const m=Ij(b),n=Ij(b);Lj(b,()=>{const p=f.concat(g);0<p.length?b.F||(b.C.C=p[p.length-1]):Mj(b);Cj(d,p,0,p.length,c)});Hj(b,n);Yj(this,a,this.C,e,b,(p,r,t,u)=>{const v=olympe.j.jb();
1345
1347
  v.ug()||v.Jc()||(l||(u.Eg().Iq(w=>{g=w;Mj(b,n)}),qj(b,()=>u.Jp(),n),l=!0),d.C(p,r,t),rj(b,t,n))});Hj(b,m);return(p,r,t,u)=>{k||(u.Eg().Iq(v=>{f=v;Mj(b,m)}),qj(b,()=>u.Jp(),m),k=!0);d.C(p,r,t,m);rj(b,t,m)}}Ya(a){const b=this.wa?'['+this.wa.map(c=>c.Ya(a)).join(',')+']':'null';return'{"c":"'+this.Oa()+'","a":['+Bi(a,this.C)+','+b+']}'}toString(){const a=olympe.j.nc(this.C)?'N:'+this.C.ac.xa():this.C.valueOf(),b=this.wa?','+this.wa.map(c=>c.toString()).join(','):'';return'Union('+a+b+')'}};
1346
- X('olympe.dc.transformers.Union',olympe.dc.wa.Un);olympe.dc.wa.Un.ua=[olympe.dc.ph];olympe.dc.en={};function ak(a,b){let c=yf.get(b)||null,d=null;for(;!c&&b&&b!==d;){d=b;b=a.db.$n(b);if(null===b)break;c=yf.get(b)||null}return c||null}olympe.dc.en.SyncManager=class{constructor(a,b,c){this.Y=a;this.db=b;this.C=c}};olympe.dc.en.fa={Qb:'dc.syncs.Logger',sb:'dc.syncs.SyncManager'};olympe.oa.Fe(function(a){A(a,olympe.dc.en.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc'));z(a,olympe.dc.en.fa.sb,olympe.dc.en.SyncManager,olympe.dc.en.fa.Qb,olympe.dc.fa.Tu,olympe.oa.fa.xn)});olympe.dc.pa={};olympe.dc.pa.E0=function(a){a=olympe.dc.Hb(a);const b=olympe.j.rb(olympe.j.mb,'getInstanceName'),c=olympe.dc.cc(),d=Ag(c,a,olympe.dc.CloudObject.nameProp,b.update.bind(b));olympe.j.jb().Sd(c.O.bind(c,a,olympe.dc.CloudObject.nameProp,d));return b.Ca()};olympe.dc.pa.H0=function(a){return olympe.j.fb([a],b=>olympe.j.Xc(olympe.dc.cc().Rz(b)),olympe.j.ka)};olympe.dc.pa.I0=function(a){return(a=olympe.j.Ua(a))?olympe.dc.cc().Rz(a):!1};olympe.dc.pa.GB=class a{constructor(b=olympe.dc.Zb.$g){this.O=b}C(b){const c=new olympe.dc.db.fg;this.F(b,c);return c}U(b,c,d){const e=new olympe.dc.db.fg(b),f=new olympe.dc.query.Os(b,this.O,c,e);this.F(d,e,(g,k)=>{k=k||[];const l=f.C.get(g)||new Set;for(const m of k)l.add(m);f.C.set(g,l)});return f}R(b,c){const d=new olympe.dc.db.fg(b),e=new olympe.dc.query.MP(b,d);this.F(c,d,(f,g,k)=>{k=k||[];const l=new hi(f);l.add=g||[];l.remove=k;e.C.set(f,l)});return e}F(b,c,d){const e=olympe.dc.Lf.Ej;for(const f of b)switch(b=
1348
+ X('olympe.dc.transformers.Union',olympe.dc.wa.Un);olympe.dc.wa.Un.ua=[olympe.dc.ph];olympe.dc.en={};function ak(a,b){let c=yf.get(b)||null,d=null;for(;!c&&b&&b!==d;){d=b;b=a.db.$n(b);if(null===b)break;c=yf.get(b)||null}return c||null}olympe.dc.en.SyncManager=class{constructor(a,b,c){this.Y=a;this.db=b;this.C=c}};olympe.dc.en.fa={Qb:'dc.syncs.Logger',sb:'dc.syncs.SyncManager'};olympe.oa.Fe(function(a){A(a,olympe.dc.en.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc'));z(a,olympe.dc.en.fa.sb,olympe.dc.en.SyncManager,olympe.dc.en.fa.Qb,olympe.dc.fa.Tu,olympe.oa.fa.xn)});olympe.dc.pa={};olympe.dc.pa.F0=function(a){a=olympe.dc.Hb(a);const b=olympe.j.rb(olympe.j.mb,'getInstanceName'),c=olympe.dc.cc(),d=Ag(c,a,olympe.dc.CloudObject.nameProp,b.update.bind(b));olympe.j.jb().Sd(c.O.bind(c,a,olympe.dc.CloudObject.nameProp,d));return b.Ca()};olympe.dc.pa.I0=function(a){return olympe.j.fb([a],b=>olympe.j.Xc(olympe.dc.cc().Rz(b)),olympe.j.ka)};olympe.dc.pa.J0=function(a){return(a=olympe.j.Ua(a))?olympe.dc.cc().Rz(a):!1};olympe.dc.pa.GB=class a{constructor(b=olympe.dc.Zb.$g){this.O=b}C(b){const c=new olympe.dc.db.fg;this.F(b,c);return c}U(b,c,d){const e=new olympe.dc.db.fg(b),f=new olympe.dc.query.Os(b,this.O,c,e);this.F(d,e,(g,k)=>{k=k||[];const l=f.C.get(g)||new Set;for(const m of k)l.add(m);f.C.set(g,l)});return f}R(b,c){const d=new olympe.dc.db.fg(b),e=new olympe.dc.query.MP(b,d);this.F(c,d,(f,g,k)=>{k=k||[];const l=new hi(f);l.add=g||[];l.remove=k;e.C.set(f,l)});return e}F(b,c,d){const e=olympe.dc.Lf.Ej;for(const f of b)switch(b=
1347
1349
  f.i?f.i:-1,f.o){case 1:const g=a.C(f.p||{});g.has(e)||g.set(e,this.O);c.F(f.t,g,b);break;case 2:c.ng(f.t,a.C(f.p),!0,b);break;case 3:c.dh(f.t,f.f,b);break;case 4:c.Ob(f.m,f.l,f.r,b);break;case 5:c.Qf(f.m,f.l,f.r,b);break;case 6:d&&d(f.i,f.a,f.d);break;default:throw Error('Undefined patch operation: '+f.o);}}static C(b){const c=new Map;for(const [d,e]of Object.entries(b)){b=d;if(b===olympe.dc.Lf.Ej||b===olympe.dc.Lf.VERSION){c.set(b,e);continue}else if('v'===d){c.set(olympe.dc.Lf.VERSION,e);continue}let f=
1348
1350
  typeof e;b.startsWith('fd')&&(b=olympe.dc.Yl.cf+b.substr(2));'object'===f&&(f=e&&e.c?String(e.c):'untyped');switch(f){case '1':case '2':case '3':throw Error('Complex format for primitive types not supported.');case 'string':c.set(b,String(e));break;case 'boolean':c.set(b,!!e);break;case 'number':c.set(b,Number(e));break;case '4':c.set(b,new Date(Date.UTC(e.y,e.M-1,e.d,e.h,e.m,e.s,e.S)));break;case '5':c.set(b,new Date(Date.UTC(e.y,e.M-1,e.d)));break;case '6':c.set(b,new Date(Date.UTC(e.y||1970,e.M&&
1349
1351
  e.M-1||0,e.d||1,e.h,e.m,e.s,e.S)));break;case '7':c.set(b,new olympe.j.Color(e.r,e.g,e.b,e.a));break;case '8':c.set(b,new olympe.dc.ig(e.t));break;case 'untyped':null===e&&c.set(b,null)}}return c}};olympe.dc.pa.Ye={};olympe.dc.pa.Ye.pC=a=>'string'===typeof a||'number'===typeof a||'boolean'===typeof a||a instanceof String?olympe.j.kc(a):a instanceof olympe.j.mb?a:null;olympe.dc.pa.Ye.mC=a=>'boolean'===typeof a||a instanceof Boolean?olympe.j.Pc(a):a instanceof olympe.j.ka?a:null;olympe.dc.pa.Ye.oC=a=>'number'===typeof a||a instanceof Number?olympe.j.Da(a):'string'===typeof a||a instanceof String?olympe.j.Da(Number.parseFloat(a.valueOf())):a instanceof olympe.j.aa?a:null;
1350
1352
  olympe.dc.pa.Ye.nC=function(a){return'number'===typeof a||a instanceof Number?Pb(a.valueOf()):'string'===typeof a||a instanceof String?Lb(a.valueOf()):a instanceof Date?Ob(a):a instanceof olympe.j.hc?a:null};olympe.dc.pa.Ye.sL=function(a){return a instanceof olympe.j.Color?a:'string'===typeof a||a instanceof String?Wb(a.valueOf()):null};olympe.dc.pa.Ye.tL=a=>a instanceof olympe.dc.CloudObject?a:a instanceof olympe.dc.ig?vf(a):null;olympe.dc.pa.Ye.Np=a=>a instanceof olympe.dc.ig?vf(a):a;
1351
- olympe.dc.pa.Ye.OT=a=>{switch(typeof a){case 'boolean':return olympe.j.Pc(a);case 'number':return olympe.j.Da(a);case 'string':return olympe.j.kc(a);case 'object':if(a instanceof Date)return olympe.j.yW(a)}return a};
1352
- olympe.dc.pa.Ye.C0=a=>{switch(a){case olympe.j.ka:return olympe.dc.pa.Ye.mC;case olympe.j.mb:return olympe.dc.pa.Ye.pC;case olympe.j.aa:return olympe.dc.pa.Ye.oC;case olympe.j.hc:return olympe.dc.pa.Ye.nC;case olympe.j.Color:return olympe.dc.pa.Ye.sL;case olympe.dc.CloudObject:return olympe.dc.pa.Ye.tL;default:return olympe.dc.pa.Ye.Np}};olympe.dc.fa={sb:'dc.Manager',HP:'dc.Graph',Tu:'dc.DBView',Qb:'dc.Logger',XS:'dc.TransactionLogger',Wu:'dc.FileServiceManager',ik:'dc.Router'};olympe.dc.za={$o:'dc.debug',Gp:'dc.subscribeAll',gF:'dc.defaultSource',DF:'dc.fileCache',tF:'dc.errorOnAbstractInstantiation'};
1353
- olympe.oa.Fe(function(a){C(a,olympe.dc.za.$o,!1);C(a,olympe.dc.za.Gp,!1);C(a,olympe.dc.za.gF,olympe.dc.Zb.$g);C(a,olympe.dc.za.DF,!0);C(a,olympe.dc.za.tF,!0);A(a,olympe.dc.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc'));va(a,olympe.dc.fa.XS,olympe.dc.transaction.fa.Qb);va(a,olympe.dc.fa.Tu,olympe.dc.db.fa.nd);z(a,olympe.dc.fa.Wu,olympe.dc.CP,olympe.dc.fa.Qb,olympe.Nb.fa.sb,olympe.dc.fa.ik,olympe.pa.fa.Cs,new olympe.oa.Ta(olympe.dc.za.DF));wa(a,olympe.dc.fa.ik);z(a,olympe.dc.fa.sb,olympe.dc.lb,olympe.dc.fa.Qb,
1354
- olympe.dc.db.fa.sb,olympe.dc.query.fa.sb,olympe.dc.transaction.fa.sb,olympe.dc.en.fa.sb,olympe.dc.fa.Wu)},'olympe.dc');olympe.oa.run([olympe.dc.db.fa.sb,olympe.dc.query.fa.sb,olympe.dc.transaction.fa.sb,olympe.dc.en.fa.sb,olympe.dc.fa.sb,olympe.dc.fa.Wu],(a,b,c,d,e,f)=>{olympe.dc.yi=()=>a;olympe.dc.mo=()=>b;olympe.dc.Ut=()=>c;olympe.dc.TM=()=>d;olympe.dc.Eg=()=>e;olympe.dc.WU=()=>f},'DC singleton getter initialization');function bk(a,b,c,...d){b=olympe.dc.Hb(b);var e=yf.get(b)||null;if(e=e&&e.C)return e(a,c,...d);a=a.create(b);void 0!==c&&null!==c&&a.setProperty(olympe.dc.CloudObject.nameProp,c);return a.da()}function ck(a){const b=olympe.dc.cc(),c=new Map;b.Ir(a).forEach(d=>{b.zc(d,olympe.dc.CloudObject.propertyRel).forEach(e=>{const f=b.name(e);c.has(f)||c.set(f,e)})});return c}
1353
+ olympe.dc.pa.Ye.PT=a=>{switch(typeof a){case 'boolean':return olympe.j.Pc(a);case 'number':return olympe.j.Da(a);case 'string':return olympe.j.kc(a);case 'object':if(a instanceof Date)return olympe.j.zW(a)}return a};
1354
+ olympe.dc.pa.Ye.D0=a=>{switch(a){case olympe.j.ka:return olympe.dc.pa.Ye.mC;case olympe.j.mb:return olympe.dc.pa.Ye.pC;case olympe.j.aa:return olympe.dc.pa.Ye.oC;case olympe.j.hc:return olympe.dc.pa.Ye.nC;case olympe.j.Color:return olympe.dc.pa.Ye.sL;case olympe.dc.CloudObject:return olympe.dc.pa.Ye.tL;default:return olympe.dc.pa.Ye.Np}};olympe.dc.fa={sb:'dc.Manager',HP:'dc.Graph',Tu:'dc.DBView',Qb:'dc.Logger',YS:'dc.TransactionLogger',Wu:'dc.FileServiceManager',ik:'dc.Router'};olympe.dc.za={$o:'dc.debug',Gp:'dc.subscribeAll',gF:'dc.defaultSource',DF:'dc.fileCache',tF:'dc.errorOnAbstractInstantiation'};
1355
+ olympe.oa.Fe(function(a){C(a,olympe.dc.za.$o,!1);C(a,olympe.dc.za.Gp,!1);C(a,olympe.dc.za.gF,olympe.dc.Zb.$g);C(a,olympe.dc.za.DF,!0);C(a,olympe.dc.za.tF,!0);A(a,olympe.dc.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dc'));va(a,olympe.dc.fa.YS,olympe.dc.transaction.fa.Qb);va(a,olympe.dc.fa.Tu,olympe.dc.db.fa.nd);z(a,olympe.dc.fa.Wu,olympe.dc.CP,olympe.dc.fa.Qb,olympe.Nb.fa.sb,olympe.dc.fa.ik,olympe.pa.fa.Cs,new olympe.oa.Ta(olympe.dc.za.DF));wa(a,olympe.dc.fa.ik);z(a,olympe.dc.fa.sb,olympe.dc.lb,olympe.dc.fa.Qb,
1356
+ olympe.dc.db.fa.sb,olympe.dc.query.fa.sb,olympe.dc.transaction.fa.sb,olympe.dc.en.fa.sb,olympe.dc.fa.Wu)},'olympe.dc');olympe.oa.run([olympe.dc.db.fa.sb,olympe.dc.query.fa.sb,olympe.dc.transaction.fa.sb,olympe.dc.en.fa.sb,olympe.dc.fa.sb,olympe.dc.fa.Wu],(a,b,c,d,e,f)=>{olympe.dc.yi=()=>a;olympe.dc.mo=()=>b;olympe.dc.Ut=()=>c;olympe.dc.TM=()=>d;olympe.dc.Eg=()=>e;olympe.dc.XU=()=>f},'DC singleton getter initialization');function bk(a,b,c,...d){b=olympe.dc.Hb(b);var e=yf.get(b)||null;if(e=e&&e.C)return e(a,c,...d);a=a.create(b);void 0!==c&&null!==c&&a.setProperty(olympe.dc.CloudObject.nameProp,c);return a.da()}function ck(a){const b=olympe.dc.cc(),c=new Map;b.Ir(a).forEach(d=>{b.zc(d,olympe.dc.CloudObject.propertyRel).forEach(e=>{const f=b.name(e);c.has(f)||c.set(f,e)})});return c}
1355
1357
  olympe.dc.CloudObject=class{constructor(a,b){this.tag=b;this.Wa=olympe.dc.Eg&&olympe.dc.Eg();this.db=olympe.dc.cc();this.model=null}static get(a){{var b=olympe.dc.TM();a=olympe.dc.Hb(a);const c=ak(b,b.db.model(a));null===c?(b.Y.error(`Instantiation of a CloudObject (tag = '${a}') that does not exist (or incompletely exists) in the local database.\n
1356
1358
  This could lead to unwanted behaviour and must be fixed.
1357
- For more information, activate the database debug mode or call "dbMonitor.debug(${a})" from this console.`),b=new olympe.dc.CloudObject(void 0,a)):b=c.instantiate(a,b.C)}return b}static ZT(a,b,c=olympe.dc.Zb.cf){if('undefined'===typeof olympe.sc)throw Error('Method CloudObject.createWith should only be used at runtime, when sc package exists');const d=olympe.dc.cc();let e=null;const f=k=>{null===e&&(e=ck(b||this));return e.has(k)?e.get(k):null},g=new Map;a.forEach((k,l)=>{d.pe(olympe.dc.Hb(l))?
1358
- g.set(l,k):(l=f(l))&&g.set(l,k)});a=new olympe.sc.Uc(!1);c=a.create(b||this,g,c);a.$c().catch(k=>olympe.ub.Gb('dc').error(`Error occurred for transaction executed by CloudObject.createWith: ${k}`));return this.get(c)}static GT(){return this.get(this)}static Nz(a){return olympe.dc.Id.Nz(a)}static Gg(){return olympe.dc.cc().zc(this,olympe.dc.CloudObject.propertyRel).map(a=>new olympe.dc.vb.Property(a))}static Yh(){const a=olympe.dc.cc();return a.zc(this,olympe.dc.CloudObject.R).map(b=>new olympe.dc.vb.Relation(b)).concat(a.zc(this,
1359
- olympe.dc.CloudObject.ca).map(b=>new olympe.dc.vb.Relation(b,olympe.dc.Pb.ORIGIN)))}static io(a){return olympe.dc.CloudObject.get(a)}static fV(a){var b=ak(olympe.dc.TM(),olympe.dc.Hb(a));b=b&&b.F;return new olympe.dc.Db(olympe.dc.Hb(a),olympe.dc.CloudObject.instancesRel,b)}da(){return this.tag}name(){return this.db.name(this)}Oa(){return this.ke(olympe.dc.CloudObject.nameProp)}Jr(){this.model||(this.model=olympe.dc.CloudObject.get(this.db.model(this)));return this.model}query(){return olympe.dc.Id.from(this)}po(){return this.db.po(this)}RV(){return this.db.version(this)}XQ(){return this.db.source(this)}fM(){return olympe.j.fb([this.Oa()],
1360
- a=>olympe.j.kc(a),olympe.j.mb,'getDisplayName',olympe.j.kc('('+this.toString()+')'))}$e(){return this.model?this.model.da():this.db.model(this)}observe(a,b,c=!0){const d='function'===typeof a.Ff?a.Ff():a;return new rxjs.Observable(e=>{const f=this.db.kd(this.tag,b);c||null!==f||e.next(f);const g=Ag(this.db,this.tag,b,k=>{null===k||void 0===k?e.next(null):e.next(k)});d.Sd(()=>{e.complete();this.db.O(this.tag,b,g)});return()=>this.db.O(this.tag,b,g)})}DW(a){const b='function'===typeof a.Ff?a.Ff():a;
1361
- return new rxjs.Observable(c=>{const d=Bg(this.db,this.tag,(e,f)=>{null===f||void 0===f?c.next([new olympe.dc.vb.Property(e),null]):c.next([new olympe.dc.vb.Property(e),f])});b.Sd(()=>{c.complete();Cg(this.db,this.tag,d)});return()=>Cg(this.db,this.tag,d)})}EW(a){return this.observe(olympe.j.jb(),a)}get(a){return this.db.kd(this.tag,a,!0)}kd(a){return this.get(a)}fe(a){return olympe.dc.Id.from(this).fe(a)}pU(a){return olympe.dc.Ti.from(this).fe(a)}ao(){return this.Gf(olympe.dc.CloudObject.cb,olympe.dc.CloudObject)}gw(){return this.zc(olympe.dc.CloudObject.containsRel,
1359
+ For more information, activate the database debug mode or call "dbMonitor.debug(${a})" from this console.`),b=new olympe.dc.CloudObject(void 0,a)):b=c.instantiate(a,b.C)}return b}static $T(a,b,c=olympe.dc.Zb.cf){if('undefined'===typeof olympe.sc)throw Error('Method CloudObject.createWith should only be used at runtime, when sc package exists');const d=olympe.dc.cc();let e=null;const f=k=>{null===e&&(e=ck(b||this));return e.has(k)?e.get(k):null},g=new Map;a.forEach((k,l)=>{d.pe(olympe.dc.Hb(l))?
1360
+ g.set(l,k):(l=f(l))&&g.set(l,k)});a=new olympe.sc.Uc(!1);c=a.create(b||this,g,c);a.$c().catch(k=>olympe.ub.Gb('dc').error(`Error occurred for transaction executed by CloudObject.createWith: ${k}`));return this.get(c)}static HT(){return this.get(this)}static Nz(a){return olympe.dc.Id.Nz(a)}static Gg(){return olympe.dc.cc().zc(this,olympe.dc.CloudObject.propertyRel).map(a=>new olympe.dc.vb.Property(a))}static Yh(){const a=olympe.dc.cc();return a.zc(this,olympe.dc.CloudObject.R).map(b=>new olympe.dc.vb.Relation(b)).concat(a.zc(this,
1361
+ olympe.dc.CloudObject.ca).map(b=>new olympe.dc.vb.Relation(b,olympe.dc.Pb.ORIGIN)))}static io(a){return olympe.dc.CloudObject.get(a)}static gV(a){var b=ak(olympe.dc.TM(),olympe.dc.Hb(a));b=b&&b.F;return new olympe.dc.Db(olympe.dc.Hb(a),olympe.dc.CloudObject.instancesRel,b)}da(){return this.tag}name(){return this.db.name(this)}Oa(){return this.ke(olympe.dc.CloudObject.nameProp)}Jr(){this.model||(this.model=olympe.dc.CloudObject.get(this.db.model(this)));return this.model}query(){return olympe.dc.Id.from(this)}po(){return this.db.po(this)}SV(){return this.db.version(this)}YQ(){return this.db.source(this)}fM(){return olympe.j.fb([this.Oa()],
1362
+ a=>olympe.j.kc(a),olympe.j.mb,'getDisplayName',olympe.j.kc('('+this.toString()+')'))}$e(){return this.model?this.model.da():this.db.model(this)}observe(a,b,c=!0){const d='function'===typeof a.Ff?a.Ff():a;return new rxjs.Observable(e=>{const f=this.db.kd(this.tag,b);c||null!==f||e.next(f);const g=Ag(this.db,this.tag,b,k=>{null===k||void 0===k?e.next(null):e.next(k)});d.Sd(()=>{e.complete();this.db.O(this.tag,b,g)});return()=>this.db.O(this.tag,b,g)})}EW(a){const b='function'===typeof a.Ff?a.Ff():a;
1363
+ return new rxjs.Observable(c=>{const d=Bg(this.db,this.tag,(e,f)=>{null===f||void 0===f?c.next([new olympe.dc.vb.Property(e),null]):c.next([new olympe.dc.vb.Property(e),f])});b.Sd(()=>{c.complete();Cg(this.db,this.tag,d)});return()=>Cg(this.db,this.tag,d)})}FW(a){return this.observe(olympe.j.jb(),a)}get(a){return this.db.kd(this.tag,a,!0)}kd(a){return this.get(a)}fe(a){return olympe.dc.Id.from(this).fe(a)}qU(a){return olympe.dc.Ti.from(this).fe(a)}ao(){return this.Gf(olympe.dc.CloudObject.cb,olympe.dc.CloudObject)}gw(){return this.zc(olympe.dc.CloudObject.containsRel,
1362
1364
  olympe.dc.CloudObject)}no(a,b,c){const d=olympe.j.rb(c,'Sync valueType'),e=Ag(this.db,this.tag,a,olympe.j.jb().C(f=>{b&&null!==f&&void 0!==f&&(f=b(f));null===f||void 0===f?d.clear():d.update(f)}));d.getContext().onDestroy(()=>this.db.O(this.tag,a,e));return d.getContext()}ke(a){return nb(this.no(a,olympe.dc.pa.Ye.pC,olympe.j.mb))}hf(a){return nb(this.no(a,olympe.dc.pa.Ye.oC,olympe.j.aa))}rk(a){return nb(this.no(a,olympe.dc.pa.Ye.mC,olympe.j.ka))}pw(a){return nb(this.no(a,olympe.dc.pa.Ye.nC,olympe.j.hc))}NM(){return nb(this.no(olympe.dm.Color.valueProp,
1363
1365
  olympe.dc.pa.Ye.sL,olympe.j.Color))}Dz(a){return nb(this.no(a,olympe.dc.pa.Ye.tL,olympe.dc.CloudObject))}zc(a,b){a=a instanceof olympe.dc.wa.Xe?a:new olympe.dc.wa.Xe(a.da(),a.rc());return new olympe.dc.Db(this.da(),a,b)}Gf(a,b){return this.zc(a,b).Rd()}BC(a,b){const c=this.db,d=olympe.pa.we(),e=olympe.j.jb(),f=new Map;Dg(c,this.tag,a,(g,k)=>{g?(g=new olympe.j.Qd(`forEachRelated: (${this.tag})-[:${a.da()}]-(${k})`,e),f.set(k,g),g.run(b,olympe.dc.CloudObject.get(k))):f.has(k)&&(f.get(k).destroy(),f.delete(k))},
1364
1366
  d);e.Sd(()=>{c.F(this.tag,a,d)})}xO(){return new olympe.dc.Db(this.da(),[],Ef(this.da()))}transform(...a){return(new olympe.dc.Db(this.da(),[],this.constructor)).transform(...a)}mg(){return this.fM()}toString(){if(!this.db.pe(this.tag))return`unknown object #${this.tag||'NULL_TAG'}`;const a=this.db.model(this.tag);var b=this.db.name(this);b=b?` instanceName: '${b}'`:'';return a?`${this.db.name(a)}#${this.tag}${b}`:`orphan object (no model) #${this.tag}${b}`}toJSON(){if(!this.db.pe(this.tag))return{CloudObject:'Unknown tag'};
1365
- const a=this.db.model(this.tag),b=this.db.name(a),c=this.db.name(this.tag);return{CloudObject:this.tag,Name:c,Model:`${b} (${a})`}}aE(a=!1,b=!0){const c={};this.db.Gg(this,b).forEach((d,e)=>{e=a?this.db.name(e):e;c[e]=d});return c}Oc(a){return a instanceof olympe.dc.CloudObject?this.da()===a.da():!1}ef(a){return olympe.j.fb([a],b=>olympe.j.Pc(this.Oc(b)),olympe.j.ka)}aU(a){const b=this.db;let c=!1;if(void 0===a||null===a)a=new olympe.dc.Uc,c=!0;const d=olympe.dc.Pb.ORIGIN;for(const [e,f,g]of Fg(b,
1366
- this))f===d?a.Qf(e,g,this):e!==olympe.dc.CloudObject.modelRel.da()&&a.Qf(e,this,g);a.delete(this,olympe.dc.Ve.NONE);c&&a.$c()}};olympe.dc.CloudObject.prototype.equals=olympe.dc.CloudObject.prototype.Oc;olympe.dc.CloudObject.prototype.toObject=olympe.dc.CloudObject.prototype.aE;olympe.dc.CloudObject.prototype.followSingle=olympe.dc.CloudObject.prototype.pU;olympe.dc.CloudObject.prototype.follow=olympe.dc.CloudObject.prototype.fe;olympe.dc.CloudObject.prototype.getProperty=olympe.dc.CloudObject.prototype.kd;
1367
- olympe.dc.CloudObject.prototype.get=olympe.dc.CloudObject.prototype.get;olympe.dc.CloudObject.prototype.observeProperty=olympe.dc.CloudObject.prototype.EW;olympe.dc.CloudObject.prototype.observeProperties=olympe.dc.CloudObject.prototype.DW;olympe.dc.CloudObject.prototype.observe=olympe.dc.CloudObject.prototype.observe;olympe.dc.CloudObject.prototype.getModelTag=olympe.dc.CloudObject.prototype.$e;olympe.dc.CloudObject.prototype.isPersisted=olympe.dc.CloudObject.prototype.po;
1368
- olympe.dc.CloudObject.prototype.query=olympe.dc.CloudObject.prototype.query;olympe.dc.CloudObject.prototype.getModel=olympe.dc.CloudObject.prototype.Jr;olympe.dc.CloudObject.prototype.name=olympe.dc.CloudObject.prototype.name;olympe.dc.CloudObject.prototype.getTag=olympe.dc.CloudObject.prototype.da;olympe.dc.CloudObject.getInstancesOf=olympe.dc.CloudObject.fV;olympe.dc.CloudObject.getInstance=olympe.dc.CloudObject.io;olympe.dc.CloudObject.getRelations=olympe.dc.CloudObject.Yh;
1369
- olympe.dc.CloudObject.getProperties=olympe.dc.CloudObject.Gg;olympe.dc.CloudObject.instancesOf=olympe.dc.CloudObject.Nz;olympe.dc.CloudObject.asInstance=olympe.dc.CloudObject.GT;olympe.dc.CloudObject.createWith=olympe.dc.CloudObject.ZT;olympe.dc.CloudObject.get=olympe.dc.CloudObject.get;olympe.dc.CloudObject.T=olympe.dc.Na.C('ff021000000000000001',olympe.dc.CloudObject);olympe.dc.CloudObject.af=olympe.dc.CloudObject.T.ea(olympe.dc.Lf.VERSION);olympe.dc.CloudObject.nameProp=olympe.dc.CloudObject.T.ea('ff023000000000000011');
1367
+ const a=this.db.model(this.tag),b=this.db.name(a),c=this.db.name(this.tag);return{CloudObject:this.tag,Name:c,Model:`${b} (${a})`}}aE(a=!1,b=!0){const c={};this.db.Gg(this,b).forEach((d,e)=>{e=a?this.db.name(e):e;c[e]=d});return c}Oc(a){return a instanceof olympe.dc.CloudObject?this.da()===a.da():!1}ef(a){return olympe.j.fb([a],b=>olympe.j.Pc(this.Oc(b)),olympe.j.ka)}bU(a){const b=this.db;let c=!1;if(void 0===a||null===a)a=new olympe.dc.Uc,c=!0;const d=olympe.dc.Pb.ORIGIN;for(const [e,f,g]of Fg(b,
1368
+ this))f===d?a.Qf(e,g,this):e!==olympe.dc.CloudObject.modelRel.da()&&a.Qf(e,this,g);a.delete(this,olympe.dc.Ve.NONE);c&&a.$c()}};olympe.dc.CloudObject.prototype.equals=olympe.dc.CloudObject.prototype.Oc;olympe.dc.CloudObject.prototype.toObject=olympe.dc.CloudObject.prototype.aE;olympe.dc.CloudObject.prototype.followSingle=olympe.dc.CloudObject.prototype.qU;olympe.dc.CloudObject.prototype.follow=olympe.dc.CloudObject.prototype.fe;olympe.dc.CloudObject.prototype.getProperty=olympe.dc.CloudObject.prototype.kd;
1369
+ olympe.dc.CloudObject.prototype.get=olympe.dc.CloudObject.prototype.get;olympe.dc.CloudObject.prototype.observeProperty=olympe.dc.CloudObject.prototype.FW;olympe.dc.CloudObject.prototype.observeProperties=olympe.dc.CloudObject.prototype.EW;olympe.dc.CloudObject.prototype.observe=olympe.dc.CloudObject.prototype.observe;olympe.dc.CloudObject.prototype.getModelTag=olympe.dc.CloudObject.prototype.$e;olympe.dc.CloudObject.prototype.isPersisted=olympe.dc.CloudObject.prototype.po;
1370
+ olympe.dc.CloudObject.prototype.query=olympe.dc.CloudObject.prototype.query;olympe.dc.CloudObject.prototype.getModel=olympe.dc.CloudObject.prototype.Jr;olympe.dc.CloudObject.prototype.name=olympe.dc.CloudObject.prototype.name;olympe.dc.CloudObject.prototype.getTag=olympe.dc.CloudObject.prototype.da;olympe.dc.CloudObject.getInstancesOf=olympe.dc.CloudObject.gV;olympe.dc.CloudObject.getInstance=olympe.dc.CloudObject.io;olympe.dc.CloudObject.getRelations=olympe.dc.CloudObject.Yh;
1371
+ olympe.dc.CloudObject.getProperties=olympe.dc.CloudObject.Gg;olympe.dc.CloudObject.instancesOf=olympe.dc.CloudObject.Nz;olympe.dc.CloudObject.asInstance=olympe.dc.CloudObject.HT;olympe.dc.CloudObject.createWith=olympe.dc.CloudObject.$T;olympe.dc.CloudObject.get=olympe.dc.CloudObject.get;olympe.dc.CloudObject.T=olympe.dc.Na.C('ff021000000000000001',olympe.dc.CloudObject);olympe.dc.CloudObject.af=olympe.dc.CloudObject.T.ea(olympe.dc.Lf.VERSION);olympe.dc.CloudObject.nameProp=olympe.dc.CloudObject.T.ea('ff023000000000000011');
1370
1372
  q('olympe.dc.CloudObject.nameProp',olympe.dc.CloudObject.nameProp);olympe.dc.CloudObject.ga=olympe.dc.CloudObject.T.ea('ff023000000000000012');olympe.dc.CloudObject.R=olympe.dc.CloudObject.T.Ib('ff02200000000000000a');olympe.dc.CloudObject.ca=olympe.dc.CloudObject.T.Ib('ff02200000000000000b',olympe.dc.Pb.ORIGIN);olympe.dc.CloudObject.Rc=olympe.dc.CloudObject.T.Ib('017e9c4ba4c847d71cbf');olympe.dc.CloudObject.Fc=olympe.dc.CloudObject.T.Ib('017ea013caf8e89cedb2');olympe.dc.CloudObject.propertyRel=olympe.dc.CloudObject.T.Ib('ff02200000000000000c');
1371
1373
  q('olympe.dc.CloudObject.propertyRel',olympe.dc.CloudObject.propertyRel);olympe.dc.CloudObject.typeRel=olympe.dc.CloudObject.T.Ib('ff02200000000000000d',olympe.dc.Pb.ORIGIN);olympe.dc.CloudObject.modelRel=olympe.dc.CloudObject.T.Ib(olympe.dc.Yf.Sh);q('olympe.dc.CloudObject.modelRel',olympe.dc.CloudObject.modelRel);olympe.dc.CloudObject.instancesRel=Z(olympe.dc.CloudObject.T,olympe.dc.CloudObject.modelRel);q('olympe.dc.CloudObject.instancesRel',olympe.dc.CloudObject.instancesRel);
1372
1374
  olympe.dc.CloudObject.extendRel=olympe.dc.CloudObject.T.Ib(olympe.dc.Yf.Gs);q('olympe.dc.CloudObject.extendRel',olympe.dc.CloudObject.extendRel);olympe.dc.CloudObject.extendedByRel=Z(olympe.dc.CloudObject.T,olympe.dc.CloudObject.extendRel);q('olympe.dc.CloudObject.extendedByRel',olympe.dc.CloudObject.extendedByRel);olympe.dc.CloudObject.containsRel=olympe.dc.CloudObject.T.Ib(olympe.dc.Yf.NE);q('olympe.dc.CloudObject.containsRel',olympe.dc.CloudObject.containsRel);
1373
- olympe.dc.CloudObject.cb=Z(olympe.dc.CloudObject.T,olympe.dc.CloudObject.containsRel);olympe.dc.v_=olympe.dc.CloudObject;olympe.dc.CloudObject.ua=[olympe.dc.dk];h=olympe.dc.CloudObject.prototype;h.da.K=new olympe.j.J(()=>String,[]);h.name.K=new olympe.j.J(()=>String,[]);h.Oa.K=olympe.j.J.R;h.Jr.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.RV.K=new olympe.j.J(()=>Number,[]);h.XQ.K=new olympe.j.J(()=>String,[]);h.fM.K=olympe.j.J.R;h.$e.K=new olympe.j.J(()=>String,[]);
1375
+ olympe.dc.CloudObject.cb=Z(olympe.dc.CloudObject.T,olympe.dc.CloudObject.containsRel);olympe.dc.w_=olympe.dc.CloudObject;olympe.dc.CloudObject.ua=[olympe.dc.dk];h=olympe.dc.CloudObject.prototype;h.da.K=new olympe.j.J(()=>String,[]);h.name.K=new olympe.j.J(()=>String,[]);h.Oa.K=olympe.j.J.R;h.Jr.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.SV.K=new olympe.j.J(()=>Number,[]);h.YQ.K=new olympe.j.J(()=>String,[]);h.fM.K=olympe.j.J.R;h.$e.K=new olympe.j.J(()=>String,[]);
1374
1376
  h.ao.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.gw.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.no.K=new olympe.j.J(()=>olympe.j.Node,[]);h.ke.K=olympe.j.J.R;h.hf.K=olympe.j.J.F;h.rk.K=olympe.j.J.U;h.pw.K=new olympe.j.J(()=>olympe.j.hc,[]);h.NM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Dz.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.zc.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Gf.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.BC.K=new olympe.j.J(()=>{},[]);
1375
- h.xO.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.mg.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Oc.K=olympe.j.J.O;h.ef.K=olympe.j.J.U;h.aU.K=new olympe.j.J(()=>{},[]);olympe.dc.Zs=class{constructor(a){this.instance=a}da(){return this.instance.da()}xw(){return Eb(this.instance.rk(olympe.dc.CloudObject.ga),olympe.j.ka.xb)}UU(){return this.instance.Gf(olympe.dc.CloudObject.extendRel,olympe.dc.CloudObject)}Ir(){return this.instance.transform(new olympe.dc.wa.hg(olympe.dc.CloudObject.extendRel.da(),olympe.dc.Pb.DESTINATION,olympe.dc.wa.yv.zP))}NC(){return this.instance.transform(new olympe.dc.wa.hg(olympe.dc.CloudObject.extendRel.da(),olympe.dc.Pb.DESTINATION,olympe.dc.wa.yv.gB))}Gg(){return this.NC().transform(olympe.dc.CloudObject.propertyRel,
1376
- new olympe.dc.wa.Jk)}FM(){return this.instance.transform(olympe.dc.CloudObject.propertyRel)}Yh(){return this.NC().transform(olympe.dc.CloudObject.R,new olympe.dc.wa.Jk)}qV(){return this.instance.transform(olympe.dc.CloudObject.R)}static from(a){return olympe.j.fb([a],b=>{const c=b.da(),d=olympe.dc.cc();if(!d.Rz(c))throw Error(`Instance "${d.name(c)}" (tag=${c}) is not a model.`);return new olympe.dc.Zs(b)},olympe.dc.Zs,'transformToModelInfo')}static xw(){return Eb((void 0).rk(olympe.dc.CloudObject.ga),
1377
- olympe.j.ka.xb)}};olympe.dc.Zs.ua=[olympe.dc.dk];h=olympe.dc.Zs.prototype;h.UU.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.Ir.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.NC.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Gg.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.FM.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Yh.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.qV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dc.GZ=class{};olympe.dc.Ra={};olympe.dc.Ra.rG=class{constructor(a){this.Y=a}};olympe.dc.Ra.rG.fm={Bv:0,c_:1,e_:3,IZ:4};olympe.dc.Ra.ly=class{};function dk(a){if(a.V)throw Error('Cannot modify definition after definition is written');}
1377
+ h.xO.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.mg.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Oc.K=olympe.j.J.O;h.ef.K=olympe.j.J.U;h.bU.K=new olympe.j.J(()=>{},[]);olympe.dc.Zs=class{constructor(a){this.instance=a}da(){return this.instance.da()}xw(){return Eb(this.instance.rk(olympe.dc.CloudObject.ga),olympe.j.ka.xb)}VU(){return this.instance.Gf(olympe.dc.CloudObject.extendRel,olympe.dc.CloudObject)}Ir(){return this.instance.transform(new olympe.dc.wa.hg(olympe.dc.CloudObject.extendRel.da(),olympe.dc.Pb.DESTINATION,olympe.dc.wa.yv.zP))}NC(){return this.instance.transform(new olympe.dc.wa.hg(olympe.dc.CloudObject.extendRel.da(),olympe.dc.Pb.DESTINATION,olympe.dc.wa.yv.gB))}Gg(){return this.NC().transform(olympe.dc.CloudObject.propertyRel,
1378
+ new olympe.dc.wa.Jk)}FM(){return this.instance.transform(olympe.dc.CloudObject.propertyRel)}Yh(){return this.NC().transform(olympe.dc.CloudObject.R,new olympe.dc.wa.Jk)}rV(){return this.instance.transform(olympe.dc.CloudObject.R)}static from(a){return olympe.j.fb([a],b=>{const c=b.da(),d=olympe.dc.cc();if(!d.Rz(c))throw Error(`Instance "${d.name(c)}" (tag=${c}) is not a model.`);return new olympe.dc.Zs(b)},olympe.dc.Zs,'transformToModelInfo')}static xw(){return Eb((void 0).rk(olympe.dc.CloudObject.ga),
1379
+ olympe.j.ka.xb)}};olympe.dc.Zs.ua=[olympe.dc.dk];h=olympe.dc.Zs.prototype;h.VU.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.Ir.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.NC.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Gg.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.FM.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Yh.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.rV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dc.HZ=class{};olympe.dc.Ra={};olympe.dc.Ra.rG=class{constructor(a){this.Y=a}};olympe.dc.Ra.rG.fm={Bv:0,d_:1,f_:3,JZ:4};olympe.dc.Ra.ly=class{};function dk(a){if(a.V)throw Error('Cannot modify definition after definition is written');}
1378
1380
  olympe.dc.Ra.rf=class{constructor(a,b){a=this.C=a;if(a.C)throw b=a.C.Oa(),a=a.C.da(),Error('Cannot work on a new definition without calling done on the previous one or popping it. '+`Make sure done() method has been called on previous definition ${b} (${a})`);if(void 0===this)throw Error('Current def cannot be set to undefined.');a.C=this;this.tag=b;this.Ld=new Map;this.ga=olympe.dc.CloudObject.T.da();this.na=new Map;this.ca=new Map;this.V=this.$=!1;this.U=null}AD(a){dk(this);this.ga=a;return this}$e(){return this.ga}mu(a){dk(this);
1379
- this.U=a;return this}uX(){this.$=!0;return this}qX(a){dk(this);const b=new Map;if('string'===typeof a){const c=olympe.dc.CloudObject.nameProp.da();b.set(c,a||'')}else Object.keys(a).forEach(c=>{b.set(c,a[c])});this.Ld=b;return this}xu(a){dk(this);Object.keys(a).forEach(b=>{this.Ld.set(b,a[b])});return this}setProperty(a,b){dk(this);this.Ld.set(a,b);return this}iA(a){dk(this);const b=olympe.dc.CloudObject.nameProp.da();this.Ld.set(b,a);return this}fC(a,b){dk(this);if(!a)throw Error('Cannot relate an object to another without a relation tag');
1381
+ this.U=a;return this}vX(){this.$=!0;return this}rX(a){dk(this);const b=new Map;if('string'===typeof a){const c=olympe.dc.CloudObject.nameProp.da();b.set(c,a||'')}else Object.keys(a).forEach(c=>{b.set(c,a[c])});this.Ld=b;return this}xu(a){dk(this);Object.keys(a).forEach(b=>{this.Ld.set(b,a[b])});return this}setProperty(a,b){dk(this);this.Ld.set(a,b);return this}iA(a){dk(this);const b=olympe.dc.CloudObject.nameProp.da();this.Ld.set(b,a);return this}fC(a,b){dk(this);if(!a)throw Error('Cannot relate an object to another without a relation tag');
1380
1382
  if(a===olympe.dc.CloudObject.containsRel.da())throw Error('Container must be defined using dedicated helpers setContainedIn');b&&this.na.set(a+'.'+b,[a,b]);return this}eC(a,b){dk(this);if(!a)throw Error('Cannot relate an object to another without a relation tag');if(a===olympe.dc.CloudObject.containsRel.da())throw Error('Container must be defined using dedicated helper setContainedIn');b&&this.ca.set(a+'.'+b,[a,b]);return this}done(){if(this.V)return this;const a=ek(this.C,this.$);a.F(this.tag,this.Ld,
1381
1383
  -1);fk(this.C,this);a.Ob(olympe.dc.Yf.Sh,this.tag,this.ga,-1);this.U&&a.Ob(olympe.dc.Yf.NE,this.U,this.tag,-1);this.F(-1);this.na.forEach(b=>{a.Ob(b[0],this.tag,b[1],-1)});this.ca.forEach(b=>{a.Ob(b[0],b[1],this.tag,-1)});this.V=!0;this.C.C=void 0;return this}F(){}da(){return this.tag}Oa(){return this.Ld.get('ff023000000000000011')}};olympe.dc.Ra.rf.prototype.getName=olympe.dc.Ra.rf.prototype.Oa;olympe.dc.Ra.rf.prototype.getTag=olympe.dc.Ra.rf.prototype.da;olympe.dc.Ra.rf.prototype.done=olympe.dc.Ra.rf.prototype.done;
1382
- olympe.dc.Ra.rf.prototype.addRelationFrom=olympe.dc.Ra.rf.prototype.eC;olympe.dc.Ra.rf.prototype.addRelationTo=olympe.dc.Ra.rf.prototype.fC;olympe.dc.Ra.rf.prototype.setName=olympe.dc.Ra.rf.prototype.iA;olympe.dc.Ra.rf.prototype.setProperty=olympe.dc.Ra.rf.prototype.setProperty;olympe.dc.Ra.rf.prototype.setProperties=olympe.dc.Ra.rf.prototype.xu;olympe.dc.Ra.rf.prototype.setNameOrProperties=olympe.dc.Ra.rf.prototype.qX;olympe.dc.Ra.rf.prototype.setOptional=olympe.dc.Ra.rf.prototype.uX;
1384
+ olympe.dc.Ra.rf.prototype.addRelationFrom=olympe.dc.Ra.rf.prototype.eC;olympe.dc.Ra.rf.prototype.addRelationTo=olympe.dc.Ra.rf.prototype.fC;olympe.dc.Ra.rf.prototype.setName=olympe.dc.Ra.rf.prototype.iA;olympe.dc.Ra.rf.prototype.setProperty=olympe.dc.Ra.rf.prototype.setProperty;olympe.dc.Ra.rf.prototype.setProperties=olympe.dc.Ra.rf.prototype.xu;olympe.dc.Ra.rf.prototype.setNameOrProperties=olympe.dc.Ra.rf.prototype.rX;olympe.dc.Ra.rf.prototype.setOptional=olympe.dc.Ra.rf.prototype.vX;
1383
1385
  olympe.dc.Ra.rf.prototype.setContainedIn=olympe.dc.Ra.rf.prototype.mu;olympe.dc.Ra.rf.prototype.setModelTag=olympe.dc.Ra.rf.prototype.AD;olympe.dc.Ra.zh=class extends olympe.dc.Ra.rf{constructor(a,b){super(a,b);this.R=this.C.OBJECT;this.Ba=new Map;this.Pa=new Map}iO(a){dk(this);this.R=a;return this}extends(a){return this.iO(a)}Hv(){dk(this);this.setProperty(olympe.dc.CloudObject.ga.da(),!0);return this}defineProperty(a,b,c,d,e){dk(this);this.Ba.set(a,new olympe.dc.Ra.zh.Property(a,b,c,d));void 0!==d&&super.setProperty(olympe.dc.Yl.cf+a,d);void 0!==e&&(this.C.push(),this.C.hq(this.C.Hz(a),olympe.sc.Vf.T.da()).setProperty(olympe.sc.Vf.C.da(),
1384
1386
  e).mu(this.tag).fC(olympe.sc.Vf.F.da(),a).done(),this.C.pop());return this}Dr(a,b,c,d,e,{Sv:f=0,Mw:g=0,pA:k=d,Rv:l=olympe.dm.Vg.NONE,Fw:m=olympe.dm.Relation.O|l}={}){dk(this);b=new olympe.dc.Ra.zh.Relation(a,this.da(),b,c||'',d,e,g,k,f,m,l);this.Pa.set(a,b);return this}F(a){super.F(a);ek(this.C).Ob(olympe.dc.CloudObject.extendRel.da(),this.tag,this.R,a);this.Ba.forEach(b=>{const c={[olympe.dc.CloudObject.nameProp.da()]:b.name||''},d=olympe.dc.Hb(olympe.dm.Property),e=olympe.dc.CloudObject.propertyRel.da(),
1385
1387
  f=b.tag;this.C.push();this.C.hq(f,d).xu(c).done();this.C.pop();b=b.type;ek(this.C).Ob(e,this.da(),f,a);ek(this.C).Ob(olympe.dm.Property.typeRel.da(),f,b,a)});this.Pa.forEach(b=>{this.C.Dr(b.C,b.O,b.F,b.name,b.zL,b.wL,{Mw:b.Mw,pA:b.pA,Sv:b.Sv,Fw:b.Fw,Rv:b.Rv},a)})}};olympe.dc.Ra.zh.prototype.defineRelation=olympe.dc.Ra.zh.prototype.Dr;olympe.dc.Ra.zh.prototype.defineProperty=olympe.dc.Ra.zh.prototype.defineProperty;olympe.dc.Ra.zh.prototype['abstract']=olympe.dc.Ra.zh.prototype.Hv;
1386
1388
  olympe.dc.Ra.zh.prototype['extends']=olympe.dc.Ra.zh.prototype.extends;olympe.dc.Ra.zh.prototype.setParentTag=olympe.dc.Ra.zh.prototype.iO;olympe.dc.Ra.zh.Property=class{constructor(a,b,c,d){this.tag=a;this.type=b;this.name=c||'';this.defaultValue=d}};olympe.dc.Ra.zh.Relation=class{constructor(a,b,c,d,e,f,g,k,l,m,n){this.C=a;this.O=b;this.F=c;this.name=d;this.zL=e;this.wL=f;this.Mw=g;this.pA=k;this.Sv=l;this.Fw=m;this.Rv=n}};function ek(a,b){return b?a.V:a.F}function fk(a,b){0<a.R.length&&(b.U||a.F.Ob(olympe.dc.CloudObject.containsRel.da(),a.R[a.R.length-1].da(),b.da(),-1))}
1387
1389
  olympe.dc.Ra.qc=class{constructor(a){if(a&&void 0===a.log)throw Error('Argument of OSaveFileBuilder is not a logger - might be a source, adapt implementing classes');this.F=new olympe.dc.transaction.Ri(!0);this.V=new olympe.dc.transaction.Ri(!0);this.Y=a||null;this.na=!1;this.O=null;this.ca=new Map;this.ga=null;this.$=Object.create(null);this.C=void 0;this.R=[];this.U=!0;this.NN=/eval \(eval at process .*<anonymous>:(\d+):(\d+)\)/m;this.DEFAULT=olympe.dc.Yl.cf;this.OBJECT=olympe.dc.CloudObject.T.da();
1388
- this.PROPERTY=olympe.dm.Property.T.da();this.RELATION=olympe.dm.Relation.T.da();this.STRING=olympe.dm.String.T.da();this.BOOLEAN=olympe.dm.Boolean.T.da();this.NUMBER=olympe.dm.Number.T.da();this.DATETIME=olympe.dm.DateTime.T.da();this.COLOR=olympe.dm.Color.T.da();this.FILE=olympe.dm.File.T.da();this.ROLE=olympe.dm.Ah.T.da();this.USER=olympe.dm.User.T.da();this.ONE_ONE=olympe.dm.Relation.F.RR;this.ONE_MANY=olympe.dm.Relation.F.DB;this.MANY_ONE=olympe.dm.Relation.F.BR;this.MANY_MANY=olympe.dm.Relation.F.AR;
1389
- this.NONE=olympe.dm.Vg.NONE;this.DESTINATION_READ=olympe.dm.Vg.hP;this.DESTINATION_CREATE=olympe.dm.Vg.jF;this.DESTINATION_WRITE=olympe.dm.Vg.iP;this.DESTINATION_DELETE=olympe.dm.Vg.eP;this.DESTINATION_LINK=olympe.dm.Vg.gP;this.DESTINATION_FULL=olympe.dm.Vg.fP;this.ORIGIN_READ=olympe.dm.Vg.XR;this.ORIGIN_CREATE=olympe.dm.Vg.UR;this.ORIGIN_WRITE=olympe.dm.Vg.YR;this.ORIGIN_DELETE=olympe.dm.Vg.VR;this.ORIGIN_LINK=olympe.dm.Vg.XI;this.ORIGIN_FULL=olympe.dm.Vg.WR;this.FULL=olympe.dm.Vg.AP;this.DUMP_IGNORE=
1390
- olympe.dm.Relation.C.fB;this.DUMP_REF=olympe.dm.Relation.C.wJ;this.DUMP_REVERSE_REF=olympe.dm.Relation.C.sS;this.DUMP_UNILATERAL=olympe.dm.Relation.C.Yy;this.DUMP_REVERSE_UNILATERAL=olympe.dm.Relation.C.Jy;this.DUMP_EVERYTHING=olympe.dm.Relation.C.vF;this.DUMP_DEFAULT=olympe.dm.Relation.C.cf;this.DUMP_REV_DEFAULT=olympe.dm.Relation.C.rS;this.DELETE_REF=this.DUMP_BOTH_REF=olympe.dm.Relation.C.BA;this.DELETE_REF_AND_DESTINATION=olympe.dm.Relation.C.oS;this.DELETE_REF_AND_ORIGIN=olympe.dm.Relation.C.pS;
1391
- this.DELETE_EVERYTHING=olympe.dm.Relation.C.vF;this.OLYMPE_AUTHENTICATED_USERS=olympe.dm.Ah.F}push(){this.R.push(this.C);this.C=void 0}pop(){if(this.C)throw Error('Cannot unstack definition: current definition not closed');this.C=this.R.pop()}mU(){const a=new Map,b=olympe.dc.Ra.OS.Vd(this.ga,this.F,this.V);for(const [c,d]of b.entries())a.set(c,d.aE());return a}AV(){return this.ga}mX(a){this.U=a}log(...a){this.U&&this.Y&&this.Y.log(...a)}bD(...a){this.U&&this.Y&&this.Y.debug(...a)}gW(...a){this.U&&
1392
- this.Y&&this.Y.warn(...a)}fW(...a){this.U&&this.Y&&this.Y.error(...a)}IT(a){if(a&&20===a.length&&!this.na){if(this.$[a])throw Error('Tag '+a+' is used to define more than one keyword');return this.$[a]=a}this.O=null===this.O?olympe.pa.Et():olympe.pa.yV(this.O);this.log('Generating new tag to replace '+a+'. New tag is: '+this.O);return this.O}Hz(a){const b=this.ca.get(a)||1,c=olympe.pa.Hz(a,b);this.ca.set(a,b+1);return c}HX(a){this.na=a}cU(){}xX(a){this.ga=a}hq(a,b){return(new olympe.dc.Ra.rf(this,
1393
- a)).AD(b)}vW(a,b){return(new olympe.dc.Ra.zh(this,a)).iA(b)}uW(a,b){return(new olympe.dc.Ra.zh(this,a)).iA(b).Hv()}wW(a){return new olympe.dc.Ra.Vn(this,a)}Vz(a,b,c){this.F.Ob(a,b,c,-1)}defineProperty(a,b,c,d,e){this.bD('Defining property ',d,' on model ',a);d={[olympe.dc.CloudObject.nameProp.da()]:d||''};void 0!==e&&this.ng(a,{[olympe.dc.Yl.cf+c]:e});this.C?(this.push(),this.hq(c,olympe.dm.Property.T.da()).xu(d).done(),this.pop()):this.hq(c,olympe.dm.Property.T.da()).xu(d).mu(a).done();this.Vz(olympe.dc.CloudObject.propertyRel.da(),
1390
+ this.PROPERTY=olympe.dm.Property.T.da();this.RELATION=olympe.dm.Relation.T.da();this.STRING=olympe.dm.String.T.da();this.BOOLEAN=olympe.dm.Boolean.T.da();this.NUMBER=olympe.dm.Number.T.da();this.DATETIME=olympe.dm.DateTime.T.da();this.COLOR=olympe.dm.Color.T.da();this.FILE=olympe.dm.File.T.da();this.ROLE=olympe.dm.Ah.T.da();this.USER=olympe.dm.User.T.da();this.ONE_ONE=olympe.dm.Relation.F.SR;this.ONE_MANY=olympe.dm.Relation.F.DB;this.MANY_ONE=olympe.dm.Relation.F.CR;this.MANY_MANY=olympe.dm.Relation.F.BR;
1391
+ this.NONE=olympe.dm.Vg.NONE;this.DESTINATION_READ=olympe.dm.Vg.hP;this.DESTINATION_CREATE=olympe.dm.Vg.jF;this.DESTINATION_WRITE=olympe.dm.Vg.iP;this.DESTINATION_DELETE=olympe.dm.Vg.eP;this.DESTINATION_LINK=olympe.dm.Vg.gP;this.DESTINATION_FULL=olympe.dm.Vg.fP;this.ORIGIN_READ=olympe.dm.Vg.YR;this.ORIGIN_CREATE=olympe.dm.Vg.VR;this.ORIGIN_WRITE=olympe.dm.Vg.ZR;this.ORIGIN_DELETE=olympe.dm.Vg.WR;this.ORIGIN_LINK=olympe.dm.Vg.XI;this.ORIGIN_FULL=olympe.dm.Vg.XR;this.FULL=olympe.dm.Vg.AP;this.DUMP_IGNORE=
1392
+ olympe.dm.Relation.C.fB;this.DUMP_REF=olympe.dm.Relation.C.wJ;this.DUMP_REVERSE_REF=olympe.dm.Relation.C.tS;this.DUMP_UNILATERAL=olympe.dm.Relation.C.Yy;this.DUMP_REVERSE_UNILATERAL=olympe.dm.Relation.C.Jy;this.DUMP_EVERYTHING=olympe.dm.Relation.C.vF;this.DUMP_DEFAULT=olympe.dm.Relation.C.cf;this.DUMP_REV_DEFAULT=olympe.dm.Relation.C.sS;this.DELETE_REF=this.DUMP_BOTH_REF=olympe.dm.Relation.C.BA;this.DELETE_REF_AND_DESTINATION=olympe.dm.Relation.C.pS;this.DELETE_REF_AND_ORIGIN=olympe.dm.Relation.C.qS;
1393
+ this.DELETE_EVERYTHING=olympe.dm.Relation.C.vF;this.OLYMPE_AUTHENTICATED_USERS=olympe.dm.Ah.F}push(){this.R.push(this.C);this.C=void 0}pop(){if(this.C)throw Error('Cannot unstack definition: current definition not closed');this.C=this.R.pop()}nU(){const a=new Map,b=olympe.dc.Ra.PS.Vd(this.ga,this.F,this.V);for(const [c,d]of b.entries())a.set(c,d.aE());return a}BV(){return this.ga}nX(a){this.U=a}log(...a){this.U&&this.Y&&this.Y.log(...a)}bD(...a){this.U&&this.Y&&this.Y.debug(...a)}hW(...a){this.U&&
1394
+ this.Y&&this.Y.warn(...a)}gW(...a){this.U&&this.Y&&this.Y.error(...a)}JT(a){if(a&&20===a.length&&!this.na){if(this.$[a])throw Error('Tag '+a+' is used to define more than one keyword');return this.$[a]=a}this.O=null===this.O?olympe.pa.Et():olympe.pa.zV(this.O);this.log('Generating new tag to replace '+a+'. New tag is: '+this.O);return this.O}Hz(a){const b=this.ca.get(a)||1,c=olympe.pa.Hz(a,b);this.ca.set(a,b+1);return c}IX(a){this.na=a}dU(){}yX(a){this.ga=a}hq(a,b){return(new olympe.dc.Ra.rf(this,
1395
+ a)).AD(b)}wW(a,b){return(new olympe.dc.Ra.zh(this,a)).iA(b)}vW(a,b){return(new olympe.dc.Ra.zh(this,a)).iA(b).Hv()}xW(a){return new olympe.dc.Ra.Vn(this,a)}Vz(a,b,c){this.F.Ob(a,b,c,-1)}defineProperty(a,b,c,d,e){this.bD('Defining property ',d,' on model ',a);d={[olympe.dc.CloudObject.nameProp.da()]:d||''};void 0!==e&&this.ng(a,{[olympe.dc.Yl.cf+c]:e});this.C?(this.push(),this.hq(c,olympe.dm.Property.T.da()).xu(d).done(),this.pop()):this.hq(c,olympe.dm.Property.T.da()).xu(d).mu(a).done();this.Vz(olympe.dc.CloudObject.propertyRel.da(),
1394
1396
  a,c);this.Vz(olympe.dm.Property.typeRel.da(),c,b)}Dr(a,b,c,d,e,f,{Sv:g=olympe.dm.Relation.F.DB,Mw:k=olympe.dm.Relation.C.fB,pA:l=e,Rv:m=olympe.dm.Vg.NONE,Fw:n=olympe.dm.Relation.O|m}={},p=-1){if(void 0===e||null===e)throw Error('Cannot define a relation without defining the dump follow rules (must be set to db.DUMP_<something> and cannot be undefined or null)');if(void 0===f||null===f)throw Error('Cannot define a relation without defining the delete follow rules (must be set to db.DELETE_<something> and cannot be undefined or null)');
1395
- const r=olympe.dm.Relation;d={[olympe.dc.CloudObject.nameProp.da()]:d||'',[r.lC.da()]:g,[r.eD.da()]:n,[r.wC.da()]:e,[r.vC.da()]:f,[r.qD.da()]:k,[r.WD.da()]:l,[r.nL.da()]:m};this.C?(this.push(),this.hq(a,r.T.da()).xu(d).done(),this.pop()):this.hq(a,r.T.da()).xu(d).mu(b).done();this.F.Ob(r.originModelRel.da(),b,a,p);this.F.Ob(r.destinationModelRel.da(),a,c,p)}dW(a,b){this.F.Ob(olympe.dm.Ah.C.da(),a,b,-1)}ng(a,b,c=!1){this.bD('Updating instance ',a);delete b[olympe.dc.Lf.Ej];delete b[olympe.dc.Lf.VERSION];
1396
- const d=new Map;Object.keys(b).forEach(e=>{d.set(e,b[e])});this.F.ng(a,d,c,-1)}assign(a,b,c){this.Vz(b,a,c)}HT(a,b,c){this.V.Ob(b,a,c,-1)}YT(a){return new olympe.dc.ig(a)}TT(a,b,c,d){const e={c:7};e.r=a;e.g=b;e.b=c;e.a=d;return e}UT({year:a=1970,month:b=1,day:c=1,hour:d=1,minute:e=0,second:f=0,nW:g=0,W0:k=0}={}){const l={c:4};l.y=a;l.M=b;l.d=c;l.h=d;l.m=e;l.s=f;l.S=g;l.z=k;return l}qU(a){a=new Date(Date.parse(a));const b={c:4};b.y=a.getFullYear();b.M=a.getMonth()+1;b.d=a.getDate();b.h=a.getHours();
1397
- b.m=a.getMinutes();b.s=a.getSeconds();b.S=a.getMilliseconds();b.z=-a.getTimezoneOffset();return b}VT(a){a='number'===typeof a?new Date(a):a;const b={c:4};b.h=a.getHours();b.m=a.getMinutes();b.s=a.getSeconds();b.S=a.getMilliseconds();b.z=a.getTimezoneOffset();b.y=a.getFullYear();b.M=a.getMonth()+1;b.d=a.getDate();return b}bw(a,b,c){return olympe.Aa.ud.Vi.bw(a,c)}CL(a,b){return olympe.Aa.ud.Vi.bw(a,b)}Qf(){throw Error('DeleteRelation method on OSaveFile is deprecated');}dh(){throw Error('DeleteInstance method on OSaveFile is deprecated');
1398
- }};olympe.dc.Ra.qc.prototype.deleteInstance=olympe.dc.Ra.qc.prototype.dh;olympe.dc.Ra.qc.prototype.deleteRelation=olympe.dc.Ra.qc.prototype.Qf;olympe.dc.Ra.qc.prototype.generateAuthenticationData=olympe.dc.Ra.qc.prototype.CL;olympe.dc.Ra.qc.prototype.generateAuthData=olympe.dc.Ra.qc.prototype.bw;olympe.dc.Ra.qc.prototype.createDateTimeLegacy=olympe.dc.Ra.qc.prototype.VT;olympe.dc.Ra.qc.prototype.fromISODate=olympe.dc.Ra.qc.prototype.qU;olympe.dc.Ra.qc.prototype.createDateTime=olympe.dc.Ra.qc.prototype.UT;
1399
- olympe.dc.Ra.qc.prototype.createColor=olympe.dc.Ra.qc.prototype.TT;olympe.dc.Ra.qc.prototype.createReference=olympe.dc.Ra.qc.prototype.YT;olympe.dc.Ra.qc.prototype.assignOptional=olympe.dc.Ra.qc.prototype.HT;olympe.dc.Ra.qc.prototype.assign=olympe.dc.Ra.qc.prototype.assign;olympe.dc.Ra.qc.prototype.updateInstance=olympe.dc.Ra.qc.prototype.ng;olympe.dc.Ra.qc.prototype.linkRoleToUser=olympe.dc.Ra.qc.prototype.dW;olympe.dc.Ra.qc.prototype.defineRelation=olympe.dc.Ra.qc.prototype.Dr;
1400
- olympe.dc.Ra.qc.prototype.defineProperty=olympe.dc.Ra.qc.prototype.defineProperty;olympe.dc.Ra.qc.prototype.newRelation=olympe.dc.Ra.qc.prototype.Vz;olympe.dc.Ra.qc.prototype.newUser=olympe.dc.Ra.qc.prototype.wW;olympe.dc.Ra.qc.prototype.newAbstractModel=olympe.dc.Ra.qc.prototype.uW;olympe.dc.Ra.qc.prototype.newModel=olympe.dc.Ra.qc.prototype.vW;olympe.dc.Ra.qc.prototype.newInstance=olympe.dc.Ra.qc.prototype.hq;olympe.dc.Ra.qc.prototype.setRootInstanceTag=olympe.dc.Ra.qc.prototype.xX;
1401
- olympe.dc.Ra.qc.prototype.disableChecks=olympe.dc.Ra.qc.prototype.cU;olympe.dc.Ra.qc.prototype.setUseNewTags=olympe.dc.Ra.qc.prototype.HX;olympe.dc.Ra.qc.prototype.assignTag=olympe.dc.Ra.qc.prototype.IT;olympe.dc.Ra.qc.prototype.logError=olympe.dc.Ra.qc.prototype.fW;olympe.dc.Ra.qc.prototype.logWarn=olympe.dc.Ra.qc.prototype.gW;olympe.dc.Ra.qc.prototype.logDebug=olympe.dc.Ra.qc.prototype.bD;olympe.dc.Ra.qc.prototype.log=olympe.dc.Ra.qc.prototype.log;olympe.dc.Ra.qc.prototype.setLoggingEnabled=olympe.dc.Ra.qc.prototype.mX;
1402
- olympe.dc.Ra.qc.prototype.getRootInstanceTag=olympe.dc.Ra.qc.prototype.AV;olympe.dc.Ra.qc.prototype.flushContents=olympe.dc.Ra.qc.prototype.mU;olympe.dc.Ra.Fp=class extends olympe.dc.Ra.zh{constructor(a,b,c){super(a,b);this.O=this.description=null;this.setProperty(olympe.dm.BrickMetadata.Ka.da(),olympe.dm.BrickMetadata.Cb.cS);null!==c&&this.kL(c)}kL(a){this.mu(a);this.eC(olympe.dm.Ue.C.da(),a);return this}zD(a){this.Ld.set(olympe.dm.vj.Ba.da(),a);return this}dX(a){dk(this);this.description=a;return this}DX(a){dk(this);this.O=a;return this}F(a){super.F(a);if(null!==this.description||null!==this.O)this.C.push(),a=this.C.hq(this.C.Hz(this.tag),
1403
- olympe.sc.Vf.T.da()),this.description&&a.setProperty(olympe.sc.Vf.C.da(),this.description),this.O&&a.setProperty(olympe.sc.Vf.O.da(),this.O),a.mu(this.tag).fC(olympe.sc.Vf.F.da(),this.tag).done(),this.C.pop()}};olympe.dc.Ra.Fp.prototype.setSummary=olympe.dc.Ra.Fp.prototype.DX;olympe.dc.Ra.Fp.prototype.setDescription=olympe.dc.Ra.Fp.prototype.dX;olympe.dc.Ra.Fp.prototype.setIcon=olympe.dc.Ra.Fp.prototype.zD;olympe.dc.Ra.Fp.prototype.addToFolder=olympe.dc.Ra.Fp.prototype.kL;olympe.dc.Ra.OS=class a{constructor(b,c,d){this.F=b;this.Fb=c||[];this.C=d||[]}static Vd(b,c,d){if(c instanceof olympe.dc.transaction.Ri&&d instanceof olympe.dc.transaction.Ri){c=Yg(c);var e=Yg(d)}else e=new olympe.dc.transaction.Ri(!0),c.qh(e),c=Yg(e),d.qh(e),e=Yg(e);d=new Map;var f=new a(b,c.Op,e.Op);f.dj()||d.set('delRel',f);f=new a(b,c.lm,e.lm);f.dj()||d.set('detInst',f);f=new a(b,c.iq,e.iq);f.dj()||d.set('newInst',f);f=new a(b,c.So,e.So);f.dj()||d.set('updateInst',f);b=new a(b,c.jq,e.jq);b.dj()||
1397
+ const r=olympe.dm.Relation;d={[olympe.dc.CloudObject.nameProp.da()]:d||'',[r.lC.da()]:g,[r.eD.da()]:n,[r.wC.da()]:e,[r.vC.da()]:f,[r.qD.da()]:k,[r.WD.da()]:l,[r.nL.da()]:m};this.C?(this.push(),this.hq(a,r.T.da()).xu(d).done(),this.pop()):this.hq(a,r.T.da()).xu(d).mu(b).done();this.F.Ob(r.originModelRel.da(),b,a,p);this.F.Ob(r.destinationModelRel.da(),a,c,p)}eW(a,b){this.F.Ob(olympe.dm.Ah.C.da(),a,b,-1)}ng(a,b,c=!1){this.bD('Updating instance ',a);delete b[olympe.dc.Lf.Ej];delete b[olympe.dc.Lf.VERSION];
1398
+ const d=new Map;Object.keys(b).forEach(e=>{d.set(e,b[e])});this.F.ng(a,d,c,-1)}assign(a,b,c){this.Vz(b,a,c)}IT(a,b,c){this.V.Ob(b,a,c,-1)}ZT(a){return new olympe.dc.ig(a)}UT(a,b,c,d){const e={c:7};e.r=a;e.g=b;e.b=c;e.a=d;return e}VT({year:a=1970,month:b=1,day:c=1,hour:d=1,minute:e=0,second:f=0,oW:g=0,X0:k=0}={}){const l={c:4};l.y=a;l.M=b;l.d=c;l.h=d;l.m=e;l.s=f;l.S=g;l.z=k;return l}rU(a){a=new Date(Date.parse(a));const b={c:4};b.y=a.getFullYear();b.M=a.getMonth()+1;b.d=a.getDate();b.h=a.getHours();
1399
+ b.m=a.getMinutes();b.s=a.getSeconds();b.S=a.getMilliseconds();b.z=-a.getTimezoneOffset();return b}WT(a){a='number'===typeof a?new Date(a):a;const b={c:4};b.h=a.getHours();b.m=a.getMinutes();b.s=a.getSeconds();b.S=a.getMilliseconds();b.z=a.getTimezoneOffset();b.y=a.getFullYear();b.M=a.getMonth()+1;b.d=a.getDate();return b}bw(a,b,c){return olympe.Aa.ud.Vi.bw(a,c)}CL(a,b){return olympe.Aa.ud.Vi.bw(a,b)}Qf(){throw Error('DeleteRelation method on OSaveFile is deprecated');}dh(){throw Error('DeleteInstance method on OSaveFile is deprecated');
1400
+ }};olympe.dc.Ra.qc.prototype.deleteInstance=olympe.dc.Ra.qc.prototype.dh;olympe.dc.Ra.qc.prototype.deleteRelation=olympe.dc.Ra.qc.prototype.Qf;olympe.dc.Ra.qc.prototype.generateAuthenticationData=olympe.dc.Ra.qc.prototype.CL;olympe.dc.Ra.qc.prototype.generateAuthData=olympe.dc.Ra.qc.prototype.bw;olympe.dc.Ra.qc.prototype.createDateTimeLegacy=olympe.dc.Ra.qc.prototype.WT;olympe.dc.Ra.qc.prototype.fromISODate=olympe.dc.Ra.qc.prototype.rU;olympe.dc.Ra.qc.prototype.createDateTime=olympe.dc.Ra.qc.prototype.VT;
1401
+ olympe.dc.Ra.qc.prototype.createColor=olympe.dc.Ra.qc.prototype.UT;olympe.dc.Ra.qc.prototype.createReference=olympe.dc.Ra.qc.prototype.ZT;olympe.dc.Ra.qc.prototype.assignOptional=olympe.dc.Ra.qc.prototype.IT;olympe.dc.Ra.qc.prototype.assign=olympe.dc.Ra.qc.prototype.assign;olympe.dc.Ra.qc.prototype.updateInstance=olympe.dc.Ra.qc.prototype.ng;olympe.dc.Ra.qc.prototype.linkRoleToUser=olympe.dc.Ra.qc.prototype.eW;olympe.dc.Ra.qc.prototype.defineRelation=olympe.dc.Ra.qc.prototype.Dr;
1402
+ olympe.dc.Ra.qc.prototype.defineProperty=olympe.dc.Ra.qc.prototype.defineProperty;olympe.dc.Ra.qc.prototype.newRelation=olympe.dc.Ra.qc.prototype.Vz;olympe.dc.Ra.qc.prototype.newUser=olympe.dc.Ra.qc.prototype.xW;olympe.dc.Ra.qc.prototype.newAbstractModel=olympe.dc.Ra.qc.prototype.vW;olympe.dc.Ra.qc.prototype.newModel=olympe.dc.Ra.qc.prototype.wW;olympe.dc.Ra.qc.prototype.newInstance=olympe.dc.Ra.qc.prototype.hq;olympe.dc.Ra.qc.prototype.setRootInstanceTag=olympe.dc.Ra.qc.prototype.yX;
1403
+ olympe.dc.Ra.qc.prototype.disableChecks=olympe.dc.Ra.qc.prototype.dU;olympe.dc.Ra.qc.prototype.setUseNewTags=olympe.dc.Ra.qc.prototype.IX;olympe.dc.Ra.qc.prototype.assignTag=olympe.dc.Ra.qc.prototype.JT;olympe.dc.Ra.qc.prototype.logError=olympe.dc.Ra.qc.prototype.gW;olympe.dc.Ra.qc.prototype.logWarn=olympe.dc.Ra.qc.prototype.hW;olympe.dc.Ra.qc.prototype.logDebug=olympe.dc.Ra.qc.prototype.bD;olympe.dc.Ra.qc.prototype.log=olympe.dc.Ra.qc.prototype.log;olympe.dc.Ra.qc.prototype.setLoggingEnabled=olympe.dc.Ra.qc.prototype.nX;
1404
+ olympe.dc.Ra.qc.prototype.getRootInstanceTag=olympe.dc.Ra.qc.prototype.BV;olympe.dc.Ra.qc.prototype.flushContents=olympe.dc.Ra.qc.prototype.nU;olympe.dc.Ra.Fp=class extends olympe.dc.Ra.zh{constructor(a,b,c){super(a,b);this.O=this.description=null;this.setProperty(olympe.dm.BrickMetadata.Ka.da(),olympe.dm.BrickMetadata.Cb.dS);null!==c&&this.kL(c)}kL(a){this.mu(a);this.eC(olympe.dm.Ue.C.da(),a);return this}zD(a){this.Ld.set(olympe.dm.vj.Ba.da(),a);return this}eX(a){dk(this);this.description=a;return this}EX(a){dk(this);this.O=a;return this}F(a){super.F(a);if(null!==this.description||null!==this.O)this.C.push(),a=this.C.hq(this.C.Hz(this.tag),
1405
+ olympe.sc.Vf.T.da()),this.description&&a.setProperty(olympe.sc.Vf.C.da(),this.description),this.O&&a.setProperty(olympe.sc.Vf.O.da(),this.O),a.mu(this.tag).fC(olympe.sc.Vf.F.da(),this.tag).done(),this.C.pop()}};olympe.dc.Ra.Fp.prototype.setSummary=olympe.dc.Ra.Fp.prototype.EX;olympe.dc.Ra.Fp.prototype.setDescription=olympe.dc.Ra.Fp.prototype.eX;olympe.dc.Ra.Fp.prototype.setIcon=olympe.dc.Ra.Fp.prototype.zD;olympe.dc.Ra.Fp.prototype.addToFolder=olympe.dc.Ra.Fp.prototype.kL;olympe.dc.Ra.PS=class a{constructor(b,c,d){this.F=b;this.Fb=c||[];this.C=d||[]}static Vd(b,c,d){if(c instanceof olympe.dc.transaction.Ri&&d instanceof olympe.dc.transaction.Ri){c=Yg(c);var e=Yg(d)}else e=new olympe.dc.transaction.Ri(!0),c.qh(e),c=Yg(e),d.qh(e),e=Yg(e);d=new Map;var f=new a(b,c.Op,e.Op);f.dj()||d.set('delRel',f);f=new a(b,c.lm,e.lm);f.dj()||d.set('detInst',f);f=new a(b,c.iq,e.iq);f.dj()||d.set('newInst',f);f=new a(b,c.So,e.So);f.dj()||d.set('updateInst',f);b=new a(b,c.jq,e.jq);b.dj()||
1404
1406
  d.set('newRel',b);return d}dj(){return 0===this.Fb.length+this.C.length}static Uz(b){const c=Object.create(null),d=[],e=[];b.forEach(f=>{0===Object.keys(c).length&&(c.rootTag=f.rootTag);d.push(...(f.operations||[]));e.push(...(f.optionalOperations||[]))});0!==d.length&&(c.operations=d);0!==e.length&&(c.optionalOperations=e);return c}aE(){const b=(d,e)=>{var f=d.o,g=e.o;return f!==g?f<g?-1:1:1===f||2===f||3===f?(f=d.t,g=e.t,f===g?(d=Object.keys(d.p)[0],e=Object.keys(e.p)[0],void 0!==d?d.localeCompare(e):
1405
- 1):f.localeCompare(g)):4===f||5===f?(f=d.l,g=e.l,f===g?(f=d.m,g=e.m,f===g?d.r.localeCompare(e.r):f.localeCompare(g)):f.localeCompare(g)):JSON.stringify(f).localeCompare(JSON.stringify(g))},c=Object.create(null);this.Fb.sort(b);this.C.sort(b);c.rootTag=this.F;c.operations=this.Fb;c.optionalOperations=this.C;return c}};olympe.dc.Ra.Vn=class extends olympe.dc.Ra.rf{constructor(a,b){super(a,b);this.O=this.R=null;this.AD(olympe.dc.Hb(olympe.dm.User))}IX(a){dk(this);this.R=a;return this}jA(a){dk(this);this.O=a;return this}fX(){return this}JT(a){dk(this);this.eC(olympe.dm.User.C.da(),a);return this}F(a){super.F(a);if(null==this.R||''===this.R)throw Error('A username must be set when calling new User');if(null==this.O||''===this.O)throw Error('A password must be set when calling new User');const b=this.C.CL(this.R,this.O),
1406
- c=new Map;c.set(olympe.dm.User.loginProp.da(),b.login);c.set(olympe.dm.User.saltProp.da(),b.salt);c.set(olympe.dm.User.verifierProp.da(),b.verifier);ek(this.C).ng(this.da(),c,!1,a)}};olympe.dc.Ra.Vn.prototype.awardRole=olympe.dc.Ra.Vn.prototype.JT;olympe.dc.Ra.Vn.prototype.setDomain=olympe.dc.Ra.Vn.prototype.fX;olympe.dc.Ra.Vn.prototype.setPassword=olympe.dc.Ra.Vn.prototype.jA;olympe.dc.Ra.Vn.prototype.setUsername=olympe.dc.Ra.Vn.prototype.IX;olympe.dc.Ra.fa={bQ:'dc.io.IOService',Vs:'dc.io.IOUrlsProvider'};olympe.oa.Fe(function(a){wa(a,olympe.dc.Ra.fa.Vs);A(a,olympe.dc.Ra.fa.bQ,[olympe.ub.fa.sb,olympe.Nb.fa.sb,olympe.Aa.fa.sb,olympe.dc.Ra.fa.Vs],b=>new olympe.dc.Ra.rG(b.Pg('dc.io')))},'olympe.dc.io');olympe.dc.Ra.K0=function(a,b,c=!1){if(a.startsWith('@')||a.startsWith('v'))return!1;a.startsWith(olympe.dc.Yl.cf)&&(a=a.substring(1));const d=olympe.dc.cc();return b?c?Hg(d,a,b):Hg(d,a,d.model(b)):d.pe(a)};olympe.Vc={};olympe.Vc.ur=class{constructor(a){this.Y=a;this.R=new olympe.j.Qd(`${this.xa()} source context`);this.V=this.C=null}xa(){}U(){}close(){this.V&&this.V(this.xa(),olympe.dc.Ry.$P);this.R.destroy()}getContext(){return this.R}};function gk(a){olympe.j.bb([ad(a.ca)],b=>{if(b.valueOf()){const c=a.O.keys();hk(a,d=>{if(d)a.Y.error('An error occurred while auto synchronising:\n'+d.message);else if(a.Y.debug('Auto synchronise transactions successfully'),a.ga)for(const e of c)Pc(a.F,e,()=>{},f=>{a.Y.error(`Could not clear transactions for ${e}: ${f}.`)})})}})}
1407
+ 1):f.localeCompare(g)):4===f||5===f?(f=d.l,g=e.l,f===g?(f=d.m,g=e.m,f===g?d.r.localeCompare(e.r):f.localeCompare(g)):f.localeCompare(g)):JSON.stringify(f).localeCompare(JSON.stringify(g))},c=Object.create(null);this.Fb.sort(b);this.C.sort(b);c.rootTag=this.F;c.operations=this.Fb;c.optionalOperations=this.C;return c}};olympe.dc.Ra.Vn=class extends olympe.dc.Ra.rf{constructor(a,b){super(a,b);this.O=this.R=null;this.AD(olympe.dc.Hb(olympe.dm.User))}JX(a){dk(this);this.R=a;return this}jA(a){dk(this);this.O=a;return this}gX(){return this}KT(a){dk(this);this.eC(olympe.dm.User.C.da(),a);return this}F(a){super.F(a);if(null==this.R||''===this.R)throw Error('A username must be set when calling new User');if(null==this.O||''===this.O)throw Error('A password must be set when calling new User');const b=this.C.CL(this.R,this.O),
1408
+ c=new Map;c.set(olympe.dm.User.loginProp.da(),b.login);c.set(olympe.dm.User.saltProp.da(),b.salt);c.set(olympe.dm.User.verifierProp.da(),b.verifier);ek(this.C).ng(this.da(),c,!1,a)}};olympe.dc.Ra.Vn.prototype.awardRole=olympe.dc.Ra.Vn.prototype.KT;olympe.dc.Ra.Vn.prototype.setDomain=olympe.dc.Ra.Vn.prototype.gX;olympe.dc.Ra.Vn.prototype.setPassword=olympe.dc.Ra.Vn.prototype.jA;olympe.dc.Ra.Vn.prototype.setUsername=olympe.dc.Ra.Vn.prototype.JX;olympe.dc.Ra.fa={cQ:'dc.io.IOService',Vs:'dc.io.IOUrlsProvider'};olympe.oa.Fe(function(a){wa(a,olympe.dc.Ra.fa.Vs);A(a,olympe.dc.Ra.fa.cQ,[olympe.ub.fa.sb,olympe.Nb.fa.sb,olympe.Aa.fa.sb,olympe.dc.Ra.fa.Vs],b=>new olympe.dc.Ra.rG(b.Pg('dc.io')))},'olympe.dc.io');olympe.dc.Ra.L0=function(a,b,c=!1){if(a.startsWith('@')||a.startsWith('v'))return!1;a.startsWith(olympe.dc.Yl.cf)&&(a=a.substring(1));const d=olympe.dc.cc();return b?c?Hg(d,a,b):Hg(d,a,d.model(b)):d.pe(a)};olympe.Vc={};olympe.Vc.ur=class{constructor(a){this.Y=a;this.R=new olympe.j.Qd(`${this.xa()} source context`);this.V=this.C=null}xa(){}U(){}close(){this.V&&this.V(this.xa(),olympe.dc.Ry.aQ);this.R.destroy()}getContext(){return this.R}};function gk(a){olympe.j.bb([ad(a.ca)],b=>{if(b.valueOf()){const c=a.O.keys();hk(a,d=>{if(d)a.Y.error('An error occurred while auto synchronising:\n'+d.message);else if(a.Y.debug('Auto synchronise transactions successfully'),a.ga)for(const e of c)Pc(a.F,e,()=>{},f=>{a.Y.error(`Could not clear transactions for ${e}: ${f}.`)})})}})}
1407
1409
  function ik(a){let b;olympe.j.bb([ad(a.ca)],c=>{c.valueOf()?(a.ga=!1,b&&(wc(b),b=null)):(a.ga=!0,b=vc(()=>{if(a.$){a.$=!1;for(const d of a.O.keys())Nc(a.F,d,a.O.get(d),()=>{},e=>{a.Y.error(`Could persist transaction for ${d}: ${e}`)})}},5E3))})}
1408
1410
  function hk(a,b){const c=olympe.async.Py.create(),d=c.getContext();c.add((e,f,g)=>{Sc(a.F,k=>{g.set('files',k);e()})});c.add((e,f,g)=>{const k=olympe.dc.Zb.Bd,l=g.get('files'),m=new olympe.async.Bp(d);a.O.forEach((n,p)=>{if(p!==k){const r=a.na.U(p);null!==r?(m.add(a.Ba.bind(a,n,r,l)),Pc(a.F,p,()=>{})):f(`The source: ${p} is not reachable.`)}});Kc(m,(n,p)=>{n?e():f(p||void 0)});m.start()});Kc(c,(e,f)=>{b(e?null:Error(f));e&&(a.$=!1,a.O.clear())});c.start()}
1409
1411
  function jk(a,b){const c=new olympe.async.Py(olympe.j.jb());c.add((d,e)=>{Oc(a.F,(f,g)=>{let k=a.O.get(f);void 0===k&&(k=new olympe.dc.db.fg,a.O.set(f,k));g.qh(k)},f=>null===f?d():e(f))});c.add(d=>{const e=olympe.dc.yi();a.O.forEach((f,g)=>{const k=Array.from(f.aj()).map(l=>l.tag());Jf(e,olympe.j.jb(),f,k,[],g)(!0)});d()});Kc(c,(d,e)=>{b(e?Error(e):null)});c.start()}
1410
- olympe.Vc.Ys=class extends olympe.Vc.ur{constructor(a,b,c,d,e){super(a);this.O=new Map;this.ca=c;this.F=d;this.na=b;this.$=this.ga=!1;e.get('syncTimeout');e.get('autoSync')&&gk(this);e.get('autoPersist')&&ik(this)}Ba(a,b,c,d,e){const f=olympe.dc.ab.gb.Vy,g=olympe.dc.ab.gb.Rx,k=new olympe.dc.db.fg,l=new olympe.async.Bp(olympe.j.jb()),m=(n,p,r)=>{const t=n.tag(),u=n.kd(olympe.dm.File.mimeTypeProp.da());Rc(this.F,t,u,v=>{pf(olympe.dc.WU(),t,v,u,w=>{n.ea(olympe.dm.File.urlProp.da(),w);const x=new Map;
1412
+ olympe.Vc.Ys=class extends olympe.Vc.ur{constructor(a,b,c,d,e){super(a);this.O=new Map;this.ca=c;this.F=d;this.na=b;this.$=this.ga=!1;e.get('syncTimeout');e.get('autoSync')&&gk(this);e.get('autoPersist')&&ik(this)}Ba(a,b,c,d,e){const f=olympe.dc.ab.gb.Vy,g=olympe.dc.ab.gb.Rx,k=new olympe.dc.db.fg,l=new olympe.async.Bp(olympe.j.jb()),m=(n,p,r)=>{const t=n.tag(),u=n.kd(olympe.dm.File.mimeTypeProp.da());Rc(this.F,t,u,v=>{pf(olympe.dc.XU(),t,v,u,w=>{n.ea(olympe.dm.File.urlProp.da(),w);const x=new Map;
1411
1413
  x.set(olympe.dm.File.urlProp.da(),w);k.ng(t,x);this.F.storage.C('files',t,p,r)})},r)};for(const n of c)(c=a.io(n))&&c.vk()&&l.add(m.bind(this,c));Kc(l,(n,p)=>{n?(n=uf(new olympe.dc.ab(f,a,[b.xa()]),r=>{r?e(r.message):(this.C(b.xa(),g,k),r=Array.from(a.aj()).map(t=>t.tag()),olympe.dc.yi().persist(r),d())}),b.U(n)):e(`Transaction synchronisation failed! ${p?p:''}`)});l.start()}xa(){return olympe.dc.Zb.Bd}U(a){var b=olympe.dc.ab.gb.it,c=olympe.dc.ab.gb.Pu;const d=olympe.dc.ab.gb.Yu,e=olympe.dc.ab.gb.Xu,
1412
1414
  f=olympe.dc.ab.gb.Zq,g=olympe.dc.ab.gb.Rx,k=olympe.dc.ab.gb.VA;var l=olympe.dc.ab.gb.Ev;const m=olympe.dc.ab.gb.Sx,n=olympe.dc.ab.gb.Uu;var p=olympe.dc.ab.gb.Zx;const r=a.type;switch(r){case f:const t=a.C[0];a.validate(null);Mc(this.F,()=>{Lc(this.F,'context',y=>{this.C(t,g,y.jg)},y=>{a.validate(Error(y))})});jk(this,y=>{null!==y&&this.Y.error(`Could not load transactions: ${y.message}`)});break;case b:case c:const u=a.content;a.C.forEach(y=>{let B=this.O.get(y);void 0===B&&(B=new olympe.dc.db.fg,
1413
1415
  this.O.set(y,B));u.qh(B);this.ga&&(this.$=!0)});a.validate(null);l=olympe.dc.transaction.Hp.C.SI;this.C(olympe.dc.Zb.Bd,p,{id:u.xa(),finalize:l});break;case e:case d:const v=a.C[0],w=a.content;a.validate(null);Lc(this.F,w.xa(),y=>{this.C(v,k,y)},y=>{this.Y.warn('No graphresult for subscription : '+w.xa(),y,'\n',w.Tr.toJSON());this.Y.warn();this.C(v,k,new olympe.dc.query.Os(w.xa(),v,olympe.dc.Zb.Bd,new olympe.dc.db.fg))});break;case l:case n:case m:p=a.content;b=p.file;const x=p.Lm;c=p.yk;r===l?Qc(this.F,
@@ -1416,7 +1418,7 @@ function yk(a,b,c,d,e){const f=c.xa();c={t:kk,q:c.Ya()};olympe.W.Tb.Md.ue.get(b,
1416
1418
  function Bk(a,b,c,d){const e=c.jg;c=new olympe.dc.transaction.Ri;e.qh(c);c={t:ok,i:e.xa(),p:Zg(c)};olympe.W.Tb.Md.ue.send(b,c).then(()=>{d(null);a.C(b,qk,{id:e.xa(),finalize:olympe.dc.transaction.Hp.C.RI})}).catch(f=>d(Error(f)))}function Ck(a,b,c,d,e){var f=c.jg;c=f.xa();const g=new olympe.dc.transaction.Ri;f.qh(g);f={t:rk,i:c,p:Zg(g)};olympe.W.Tb.Md.ue.publish(b,f).then(()=>e(null)).catch(k=>e(Error(k)));Dk(a,c,b,d)}
1417
1419
  function Ak(a,b,c){const d=()=>{const f=setInterval(()=>{0===a.F.size?clearInterval(f):a.F.forEach((g,k)=>{olympe.W.Tb.Md.ue.send(k,{t:xk,s:Array.from(g)}).catch(l=>a.Y.warn(`Error occurred while keeping alive subscription list: ${l}`))})},a.ga)},e=a.F.get(b)||new Set;e.add(c);a.F.set(b,e);1===a.F.size&&d()}
1418
1420
  function Dk(a,b,c,d){const e=new olympe.W.Tb.Md.ue(b,d);e.aD().subscribe(f=>{f=f.body();if(f.t===sk){a.Y.error(`Burst Transaction ${b} failed. Local rollback is not supported yet. Refresh the application`);const g=new olympe.dc.db.fg;a.C(c,sk,{id:b,rollback:g,error:f.r})}});d.Sd(()=>e.stop())}
1419
- olympe.Vc.gS=class extends olympe.Vc.ur{constructor(a,b,c){super(a);this.F=new Map;this.O=b;this.ga=c}xa(){return olympe.dc.Zb.aJ}U(a){const b=a.C[0],c=a.type,d=a.validate.bind(a),e=a.content;a=a.getContext();switch(c){case kk:yk(this,b,e,d);break;case lk:zk(this,b,e,a,d);break;case ok:case pk:Bk(this,b,e,d);break;case rk:Ck(this,b,e,a,d);break;case tk:e.t=c;olympe.W.Tb.Md.ue.publish(b,e).then(d).catch(f=>d(Error(f)));break;case uk:case vk:case wk:olympe.W.Tb.Md.ue.get(b,{t:c,f:e.file}).then(f=>{this.O.$(e.file,
1421
+ olympe.Vc.hS=class extends olympe.Vc.ur{constructor(a,b,c){super(a);this.F=new Map;this.O=b;this.ga=c}xa(){return olympe.dc.Zb.aJ}U(a){const b=a.C[0],c=a.type,d=a.validate.bind(a),e=a.content;a=a.getContext();switch(c){case kk:yk(this,b,e,d);break;case lk:zk(this,b,e,a,d);break;case ok:case pk:Bk(this,b,e,d);break;case rk:Ck(this,b,e,a,d);break;case tk:e.t=c;olympe.W.Tb.Md.ue.publish(b,e).then(d).catch(f=>d(Error(f)));break;case uk:case vk:case wk:olympe.W.Tb.Md.ue.get(b,{t:c,f:e.file}).then(f=>{this.O.$(e.file,
1420
1422
  b,f);c===uk?this.O.V(e.file,e.content,e.mimeType,e.Lm,e.yk):c===vk?this.O.U(e.file,e.url,e.mimeType,e.Lm,e.yk):this.O.R(e.file,e.Lm,e.yk)}).catch(e.yk);break;default:this.Y.info(`Messages of type ${c} is not supported by the source ${this.xa()}`)}}};olympe.Vc.QO=class{constructor(){this.counter=0;this.Re=new Map}buffer(a){const b=this.counter++;this.Re.set(b,a);return this.clear.bind(this,b)}clear(a){this.Re.delete(a)}};olympe.Vc.Ep=class a{constructor(b,c,d){this.Y=b;this.V=c;this.$=new olympe.Vc.QO;this.R=new Map;this.O=this.Cb(d);new olympe.j.Qd('Data Router context');this.F=new Map;this.ga=new Map;this.Pa()}Pa(){this.Y.info('Initializing DR layer');olympe.j.eb(ad(this.V),()=>{this.Y.info('Router: ONLINE')},()=>{this.Y.log('Router: OFFLINE (no auth layer not online)');for(const b of this.$.Re.values())this.na(b)});this.Y.log('DONE initializing DR layer (waiting for AUTH layer session to be established)')}send(b){uf(b,
1421
1423
  this.$.buffer(b));this.na(b)}C(b,c){const d=olympe.pa.we();let e=this.F.get(b);void 0===e&&(e=new Map,this.F.set(b,e));e.set(d,c)}ca(b){this.ga.set(olympe.pa.Xi(),b)}Fa(b,c,d){this.F.has(c)&&this.F.get(c).forEach(e=>{e(b,d)})}La(b,c){this.R.set(b,c);c.C=this.Fa.bind(this);c.V=this.Ba.bind(this)}U(b){return this.R.get(b)||this.R.get(olympe.dc.Zb.aJ)}Ba(b,c){this.ga.forEach(d=>{d(b,c)})}na(b){this.Y.debug('Processing message',b.toString());this.Ka(b).forEach(c=>{(c=this.U(c))&&c.U(b)})}Ka(b){var c=
1422
1424
  olympe.dc.ab.gb.Zq,d=olympe.dc.ab.gb.Xu,e=olympe.dc.ab.gb.Yu,f=olympe.dc.ab.gb.it,g=olympe.dc.ab.gb.Pu;const k=olympe.dc.ab.gb.Ev,l=olympe.dc.ab.gb.Sx,m=olympe.dc.ab.gb.Uu;switch(b.type){case c:d=this.O.get(a.C.Zq)||[];break;case d:case e:d=this.O.get(a.C.KB)||[];break;case f:case g:d=this.O.get(a.C.TRANSACTION)||[];break;case k:case m:case l:d=this.O.get(a.C.xP)||[];break;default:d=[]}c=b.content;e=olympe.Aa.lb.C.To;f=olympe.Aa.lb.C.$q;g=$c(this.V);e=!(g===e||g===f);for(var n of d)if(d=n,f=c&&c.xa&&
@@ -1424,20 +1426,20 @@ c.xa(),g=d.get('type'),g===a.F.AB&&e||g===a.F.iG&&d.get('id')===f||g===a.F.cf)re
1424
1426
  Array?(n=(new Map).set('type',m).set('destinations',n),k.push(n),m===a.F.iG&&n.set('id',l.id)):this.Y.error('Routing rule',f,m,'is not valid. Destinations must be stored in an array')}else this.Y.error('Routing rule',f,m,'is not valid. Valid rules are',d.toString())})}else this.Y.error('Routing rule',f,'is not valid. Rules must be ordered in an array');else this.Y.error('Routing rule',f,'is not valid. Valid messages are',c.toString())});return e}};
1425
1427
  olympe.Vc.Ep.C={Zq:'getContext',KB:'query',TRANSACTION:'transaction',xP:'file'};olympe.Vc.Ep.F={cf:'default',AB:'offline',iG:'id'};olympe.Vc.Ep.ua=[olympe.dc.Ep];olympe.Vc.$x=class{$(){}V(){}U(){}R(){}};olympe.Vc.fa={sb:'dr.Manager',Qb:'dr.Logger',ik:'dr.sources.Router',wI:'dr.sources.Local',OB:'dr.sources.Server',dJ:'dr.sources.Peer',Vq:'dr.sources.FileSource'};olympe.Vc.za={rI:'dr.keepAliveTimeout',kE:'dr.autoSync',jE:'dr.autoPersist',ZJ:'dr.syncTimeout',DJ:'dr.routing'};
1426
1428
  olympe.oa.Fe(function(a){C(a,olympe.Vc.za.DJ,{});C(a,olympe.Vc.za.rI,3E5);C(a,olympe.Vc.za.kE,!1);C(a,olympe.Vc.za.jE,!1);C(a,olympe.Vc.za.ZJ,3E4);A(a,olympe.Vc.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('dr'));A(a,olympe.Vc.fa.wI,[olympe.Vc.fa.Qb,olympe.Vc.fa.ik,olympe.Aa.fa.sb,olympe.He.fa.bF,new olympe.oa.Ta(olympe.Vc.za.kE),new olympe.oa.Ta(olympe.Vc.za.jE),new olympe.oa.Ta(olympe.Vc.za.ZJ)],(b,c,d,e,f,g,k)=>{f=(new Map).set('autoSync',f).set('autoPersist',g).set('syncTimeout',k);return new olympe.Vc.Ys(b,
1427
- c,d,e,f)});wa(a,olympe.Vc.fa.OB);z(a,olympe.Vc.fa.dJ,olympe.Vc.gS,olympe.Vc.fa.Qb,olympe.Vc.fa.Vq,new olympe.oa.Ta(olympe.Vc.za.rI));wa(a,olympe.Vc.fa.Vq);z(a,olympe.Vc.fa.ik,olympe.Vc.Ep,olympe.Vc.fa.Qb,olympe.Aa.fa.sb,new olympe.oa.Ta(olympe.Vc.za.DJ));va(a,olympe.dc.fa.ik,olympe.Vc.fa.ik);A(a,olympe.dc.query.Ne.vy,[olympe.dc.query.Ne.vy],b=>new olympe.dc.JB(b))},'olympe.dr');olympe.oa.run([olympe.Vc.fa.ik,olympe.Vc.fa.wI,olympe.Vc.fa.OB,olympe.Vc.fa.dJ],(a,...b)=>{b.forEach(c=>a.La(c.xa(),c))});olympe.W={};olympe.W.kh={Su:1,$o:2,dg:3,Gn:4,mY:5,bv:6,QZ:7};olympe.W.gb={bv:1,cT:2,wP:3,ir:5};olympe.W.lb=class{Fa(){}connect(){}Fc(){}Mc(){}V(){}Cb(){}La(){}na(){}jc(){}};olympe.W.lb.C={INIT:'initialize',CONNECTING:'connecting',cp:'disconnected',Mx:'connected',nr:'reconnecting',dg:'error'};olympe.W.lb.O={CB:1,EP:-1,aQ:-2,VS:-3};function Ek(a,b){const c=a.O.get(b)||a.Ba;a.O.delete(b);return`${c}/${b}`}
1429
+ c,d,e,f)});wa(a,olympe.Vc.fa.OB);z(a,olympe.Vc.fa.dJ,olympe.Vc.hS,olympe.Vc.fa.Qb,olympe.Vc.fa.Vq,new olympe.oa.Ta(olympe.Vc.za.rI));wa(a,olympe.Vc.fa.Vq);z(a,olympe.Vc.fa.ik,olympe.Vc.Ep,olympe.Vc.fa.Qb,olympe.Aa.fa.sb,new olympe.oa.Ta(olympe.Vc.za.DJ));va(a,olympe.dc.fa.ik,olympe.Vc.fa.ik);A(a,olympe.dc.query.Ne.vy,[olympe.dc.query.Ne.vy],b=>new olympe.dc.JB(b))},'olympe.dr');olympe.oa.run([olympe.Vc.fa.ik,olympe.Vc.fa.wI,olympe.Vc.fa.OB,olympe.Vc.fa.dJ],(a,...b)=>{b.forEach(c=>a.La(c.xa(),c))});olympe.W={};olympe.W.kh={Su:1,$o:2,dg:3,Gn:4,nY:5,bv:6,RZ:7};olympe.W.gb={bv:1,dT:2,wP:3,ir:5};olympe.W.lb=class{Fa(){}connect(){}Fc(){}Mc(){}V(){}Cb(){}La(){}na(){}jc(){}};olympe.W.lb.C={INIT:'initialize',CONNECTING:'connecting',cp:'disconnected',Mx:'connected',nr:'reconnecting',dg:'error'};olympe.W.lb.O={CB:1,EP:-1,bQ:-2,WS:-3};function Ek(a,b){const c=a.O.get(b)||a.Ba;a.O.delete(b);return`${c}/${b}`}
1428
1430
  olympe.W.$x=class{constructor(a,b,c,d,e){this.Y=a;this.F=b;this.ca=c;this.Ba=d;this.Pa=e;this.C=new Map;this.O=new Map;this.ga=new Map;this.na=new olympe.j.Qd('File manager context')}$(a,b,c){b&&this.O.set(a,`${this.Pa}/${b}`);c&&this.ga.set(a,c)}V(a,b,c,d,e){const f=Bc(Ek(this,a),olympe.Nb.Cf.ov.iJ,b,olympe.Nb.Cf.ResponseType.wE);Cc(f,{[olympe.Nb.Cf.Headers.AA]:this.rh(a),[olympe.Nb.Cf.Headers.YE]:c||'application/octet-stream'});this.F.C(f,g=>{g=g.status;g===olympe.Nb.Cf.fm.CB||g===olympe.Nb.Cf.fm.OE?
1429
1431
  (g=new URL(f.sh()),d(g.pathname)):e&&(g=`Failed to create file ${a}. Response code ${g}`,this.Y.error(g),e(g))})}U(a,b,c,d,e){const f=olympe.j.jb();d={Lm:f.C(d),yk:e&&f.C(e)};if(this.C.has(a))this.C.get(a).push(d);else{this.C.set(a,[d]);if(null===b){var g=Bc(Ek(this,a));Cc(g,{[olympe.Nb.Cf.Headers.AA]:this.rh(a)})}else g=Bc(b);g.F=olympe.Nb.Cf.ResponseType.wE;Cc(g,{[olympe.Nb.Cf.Headers.YE]:c||'application/octet-stream'});this.na.run(()=>{this.F.C(g,k=>{const l=k.status,m=this.C.get(a);if(200<=l&&
1430
1432
  300>l){const n=k.data;m&&m.forEach(p=>{if(f.Jc()){const r=f.Rb(),t=f.xa();this.Y.warn(`Context ${r} ${t} is being destroyed while file tag ${a} is being downloaded`)}p.Lm(n)})}else{const n=`Failed to download file ${a}. Response code ${l}`;m&&m.forEach(p=>{p.yk&&p.yk(n)})}this.C.delete(a)})})}}R(a,b,c){const d=Bc(Ek(this,a),olympe.Nb.Cf.ov.hh);Cc(d,{[olympe.Nb.Cf.Headers.AA]:this.rh(a)});this.F.C(d,e=>{e=e.status;200<=e&&300>e?b():(e=`Failed to delete file ${a}. Response code ${e}`,this.Y.error(e),
1431
- c&&c(e))})}rh(a){const b=this.ga.get(a);b&&this.ga.delete(a);return b||olympe.j.Ua(cd(this.ca))}};olympe.W.$x.ua=[olympe.Vc.$x];const Fk=olympe.dc.ab.gb.Zq,Gk=olympe.dc.ab.gb.it,Hk=olympe.dc.ab.gb.Vy,Ik=olympe.dc.ab.gb.Pu,Jk=olympe.dc.ab.gb.Xu,Kk=olympe.dc.ab.gb.Yu,Lk=olympe.dc.ab.gb.RF,Mk=olympe.dc.ab.gb.SF,Nk=olympe.dc.ab.gb.VA,Ok=olympe.dc.ab.gb.Sx,Pk=olympe.dc.ab.gb.Uu,Qk=olympe.dc.ab.gb.Ev,Rk=olympe.dc.ab.gb.Zx,Sk=olympe.dc.ab.gb.bT,Tk=olympe.dc.ab.gb.nS,Uk=olympe.dc.ab.gb.FP,Vk=olympe.dc.ab.gb.DA,Wk=olympe.dc.ab.gb.VO;
1433
+ c&&c(e))})}rh(a){const b=this.ga.get(a);b&&this.ga.delete(a);return b||olympe.j.Ua(cd(this.ca))}};olympe.W.$x.ua=[olympe.Vc.$x];const Fk=olympe.dc.ab.gb.Zq,Gk=olympe.dc.ab.gb.it,Hk=olympe.dc.ab.gb.Vy,Ik=olympe.dc.ab.gb.Pu,Jk=olympe.dc.ab.gb.Xu,Kk=olympe.dc.ab.gb.Yu,Lk=olympe.dc.ab.gb.RF,Mk=olympe.dc.ab.gb.SF,Nk=olympe.dc.ab.gb.VA,Ok=olympe.dc.ab.gb.Sx,Pk=olympe.dc.ab.gb.Uu,Qk=olympe.dc.ab.gb.Ev,Rk=olympe.dc.ab.gb.Zx,Sk=olympe.dc.ab.gb.cT,Tk=olympe.dc.ab.gb.oS,Uk=olympe.dc.ab.gb.FP,Vk=olympe.dc.ab.gb.DA,Wk=olympe.dc.ab.gb.VO;
1432
1434
  function Xk(a,b,c){const d=b.jg;b=new olympe.dc.transaction.Ri(!0);d.qh(b);Yk(a,a.Fa,Gk,!0,Zg(b),e=>{c&&c(e);a.C(a.xa(),Rk,{id:d.xa(),finalize:olympe.dc.transaction.Hp.C.RI})})}
1433
- function Zk(a,b,c,d){const e=c.xa();a.Y.log('Graphdef (ID ',e,') sent: ',c);const f=c instanceof olympe.dc.query.iB?a.Pa:a.ca,g=(new olympe.W.Ea.gy).Ya(c);c=new olympe.async.Bp(a.R);b===Kk&&c.add((l,m)=>{a.F.set(e,{notification:null,JW:a.R.C(n=>n?m(n):l())});$k(a,b,g,n=>n&&m(n.message))});const k=olympe.j.jb();c.add((l,m)=>{k.run(()=>{Yk(a,f,Jk,!1,g,a.R.C(n=>n?m(n.message):l()))})});Kc(c,(l,m)=>{const n=a.F.get(e);l&&n&&n.notification?a.C(a.xa(),Mk,n.notification):!l&&n&&al(a,Lk,e,p=>p&&a.Y.warn(p));
1435
+ function Zk(a,b,c,d){const e=c.xa();a.Y.log('Graphdef (ID ',e,') sent: ',c);const f=c instanceof olympe.dc.query.iB?a.Pa:a.ca,g=(new olympe.W.Ea.gy).Ya(c);c=new olympe.async.Bp(a.R);b===Kk&&c.add((l,m)=>{a.F.set(e,{notification:null,KW:a.R.C(n=>n?m(n):l())});$k(a,b,g,n=>n&&m(n.message))});const k=olympe.j.jb();c.add((l,m)=>{k.run(()=>{Yk(a,f,Jk,!1,g,a.R.C(n=>n?m(n.message):l()))})});Kc(c,(l,m)=>{const n=a.F.get(e);l&&n&&n.notification?a.C(a.xa(),Mk,n.notification):!l&&n&&al(a,Lk,e,p=>p&&a.Y.warn(p));
1434
1436
  a.F.delete(e);d(m?Error(m):null)});c.start()}function al(a,b,c,d){a.Y.log('Unsubscribe to: ',c);$k(a,b,{i:c},d)}function $k(a,b,c,d){b={c:b};Object.assign(b,c);a.Wa.V(olympe.W.kh.Su,b,d&&(e=>{d(e)}))}function Yk(a,b,c,d,e,f){if(a.Wa.Fa()){const g=olympe.W.kh.Su;!d&&e&&Object.assign(e,{c});c=olympe.j.Ua(cd(a.$)).valueOf();a.Wa.Cb(b,g,c,d,e,f)}else a.Y.error('Server is disconnected, data request of type',c,'on url',b,'is canceled.'),f(Error('Server is disconnected'))}
1435
1437
  olympe.W.ur=class extends olympe.Vc.ur{constructor(a,b,c,d,e){super(a);this.Wa=b;this.$=c;new olympe.W.Ea.Id;this.O=new olympe.dc.pa.GB(this.xa());this.ga=d;if(4!==e.length)throw Error('Some HTTP end points to the orchestrator are not specified ! Please check DI of olympe.communication module; wants 4 urls but got: '+e.length);this.na=e[0];this.Pa=e[1];this.ca=e[2];this.Fa=e[3];this.F=new Map;this.init()}xa(){return olympe.dc.Zb.$g}U(a){var b=a.type;const c=a.validate.bind(a);a=a.content;switch(b){case Fk:Yk(this,
1436
1438
  this.na,olympe.dc.ab.gb.Zq,!1,null,c);break;case Ik:b=new olympe.dc.transaction.Ri;var d=a.jg;a=a.Ur;d.qh(b);$k(this,Ik,{i:d.xa(),r:a,p:Zg(b)});c(null);break;case Vk:b=new olympe.dc.transaction.Ri;a=a.jg;a.qh(b);$k(this,Vk,{i:a.xa(),p:Zg(b)},c);break;case Gk:b=new olympe.dc.transaction.Ri;d=a.jg;a=a.Ur;d.qh(b);$k(this,olympe.dc.ab.gb.it,{i:d.xa(),r:a,p:Zg(b)},c);break;case Hk:Xk(this,a,c);break;case Jk:case Kk:Zk(this,b,a,c);break;case Lk:al(this,b,a,c);break;case Sk:$k(this,Sk,{},c);break;case Tk:$k(this,
1437
- Tk,{},c);break;case Uk:$k(this,Uk,{},c);break;case Wk:$k(this,Wk,{},c);break;case Pk:this.ga.U(a.file,a.url,a.mimeType,a.Lm,a.yk);break;case Ok:this.ga.R(a.file,a.Lm,a.yk);break;case Qk:this.ga.V(a.file,a.content,a.mimeType,a.Lm,a.yk);break;default:this.Y.info(`Message of type ${b} not supported yet`)}}Ba(a){var b=olympe.dc.ab.gb.Rx,c=olympe.dc.ab.gb.EA;const d=olympe.dc.ab.gb.zy,e=olympe.dc.ab.gb.KS,f=olympe.dc.ab.gb.tI;var g=olympe.dc.ab.gb.GP;const k=a.c;k===b?(a=this.O.C(a.p),this.C(this.xa(),
1439
+ Tk,{},c);break;case Uk:$k(this,Uk,{},c);break;case Wk:$k(this,Wk,{},c);break;case Pk:this.ga.U(a.file,a.url,a.mimeType,a.Lm,a.yk);break;case Ok:this.ga.R(a.file,a.Lm,a.yk);break;case Qk:this.ga.V(a.file,a.content,a.mimeType,a.Lm,a.yk);break;default:this.Y.info(`Message of type ${b} not supported yet`)}}Ba(a){var b=olympe.dc.ab.gb.Rx,c=olympe.dc.ab.gb.EA;const d=olympe.dc.ab.gb.zy,e=olympe.dc.ab.gb.LS,f=olympe.dc.ab.gb.tI;var g=olympe.dc.ab.gb.GP;const k=a.c;k===b?(a=this.O.C(a.p),this.C(this.xa(),
1438
1440
  b,a)):k===c?(g=a.error.reason,b=this.O.C(a.p),this.C(this.xa(),c,{id:a.i,rollback:b,error:g})):k===Nk?(g=olympe.dc.Zb.Bd,c=olympe.dc.Zb.$g,b=a.i,0<a.s?g=new olympe.dc.query.errors.iy(b,c,g,a.info.error.reason):(g=this.O.U(b,g,a.p),this.Y.debug('< Graphdef Result (ID ',g.xa(),'):',a.p),this.Y.log('< Graphdef Result (ID ',g.xa(),') with',g.jg.hd(),'operations')),this.C(this.xa(),Nk,g)):k===Mk?(g=a.i,a=this.O.R(g,a.p),this.F.has(g)?(g=this.F.get(g),g.notification?a.kz(g.notification):g.notification=
1439
- a):this.C(this.xa(),Mk,a)):k===f?(g=new olympe.dc.query.AI(a.i),a.l.forEach(g.F.bind(g)),this.C(this.xa(),f,g)):k===d?(g=olympe.dc.transaction.Hp.C.zy,c=0<a.s?a.info.error.reason:null,this.C(this.xa(),Rk,{id:a.i,finalize:g,error:c})):k===e?(g=this.F.get(a.i))&&g.JW(0<a.s?a.info.error.reason:null):k===g&&(c=a.ids,b=a.undo_stack_size,a=a.redo_stack_size,this.C(this.xa(),g,{G0:c,X0:b,S0:a}))}init(){this.Wa.na(olympe.W.kh.Su,this.Ba.bind(this));olympe.j.bb([ad(this.$)],a=>{a=a.valueOf()?olympe.dc.Ry.TI:
1440
- olympe.dc.Ry.AB;this.V&&this.V(this.xa(),a)},'Server source is online')}};olympe.W.ur.F={tZ:1,q_:2};olympe.W.ur.C={100:'Insufficient Rights',200:'Constraints',300:'IOException',400:'Unexpected',500:'Non Existing Subscription'};olympe.W.ly=class{constructor(){}};olympe.W.ly.ua=[olympe.dc.Ra.ly];olympe.W.Tb={};function bl(a,b,c,d){return new Promise((e,f)=>{const g=a.O;a.O++;var k=olympe.j.Ua(cd(a.U));k=new olympe.W.Tb.Re.Request(b,a.F,k,g,c,d);a.C.publish(b,k.Ya(),void 0,l=>l?f(l):e(g))})}function cl(a,b,c){Gc(a.C,b,d=>{d=new olympe.W.Tb.Re.Request(d.dest,d.src,d.auth,d.seq,d.type,d.content);return c(d)})}function dl(a,b,c){a.R.set(b,c)}function el(a,b){return new Promise((c,d)=>{Hc(a.C,b,e=>e?d(e):c())})}
1441
+ a):this.C(this.xa(),Mk,a)):k===f?(g=new olympe.dc.query.AI(a.i),a.l.forEach(g.F.bind(g)),this.C(this.xa(),f,g)):k===d?(g=olympe.dc.transaction.Hp.C.zy,c=0<a.s?a.info.error.reason:null,this.C(this.xa(),Rk,{id:a.i,finalize:g,error:c})):k===e?(g=this.F.get(a.i))&&g.KW(0<a.s?a.info.error.reason:null):k===g&&(c=a.ids,b=a.undo_stack_size,a=a.redo_stack_size,this.C(this.xa(),g,{H0:c,Y0:b,T0:a}))}init(){this.Wa.na(olympe.W.kh.Su,this.Ba.bind(this));olympe.j.bb([ad(this.$)],a=>{a=a.valueOf()?olympe.dc.Ry.TI:
1442
+ olympe.dc.Ry.AB;this.V&&this.V(this.xa(),a)},'Server source is online')}};olympe.W.ur.F={uZ:1,r_:2};olympe.W.ur.C={100:'Insufficient Rights',200:'Constraints',300:'IOException',400:'Unexpected',500:'Non Existing Subscription'};olympe.W.ly=class{constructor(){}};olympe.W.ly.ua=[olympe.dc.Ra.ly];olympe.W.Tb={};function bl(a,b,c,d){return new Promise((e,f)=>{const g=a.O;a.O++;var k=olympe.j.Ua(cd(a.U));k=new olympe.W.Tb.Re.Request(b,a.F,k,g,c,d);a.C.publish(b,k.Ya(),void 0,l=>l?f(l):e(g))})}function cl(a,b,c){Gc(a.C,b,d=>{d=new olympe.W.Tb.Re.Request(d.dest,d.src,d.auth,d.seq,d.type,d.content);return c(d)})}function dl(a,b,c){a.R.set(b,c)}function el(a,b){return new Promise((c,d)=>{Hc(a.C,b,e=>e?d(e):c())})}
1441
1443
  function fl(a,b){return new Promise((c,d)=>{const e=b.rh(),f=a.V.get(e);void 0!==f?c(f):a.U.Rr(b.rh(),(g,k)=>{g?d(g):(a.V.set(e,k),c(k))})})}
1442
1444
  olympe.W.Tb.lb=class{constructor(a,b,c,d){this.Y=a;this.U=c;a=new olympe.pa.UB(d.get('messageTimeout'));a.C=this.ga.bind(this);this.R=a;a=d.get('url');b=d.get('connectionOptions');this.C=new olympe.Nb.xy(a,b);this.V=new olympe.pa.UB(d.get('tokenTimeout'));this.O=1;this.F=olympe.pa.we()}connect(){return new Promise(a=>{Fc(this.C)?a():this.C.connect(()=>{Gc(this.C,this.F,b=>{b=new olympe.W.Tb.Re.Response(b.dest,b.src,b.seq,b.type,b.content);const c=this.R.get(b.O);c&&(this.R.delete(b.O),c(b))});a()})})}es(a,
1443
1445
  b,c){return new Promise((d,e)=>{const f=a.source,g=new olympe.W.Tb.Re.Response(f,this.F,a.O,b,c);this.C.publish(f,g.Ya(),void 0,k=>k?e(k):d())})}notify(a,b,c){return new Promise((d,e)=>{var f=this.O;this.O++;f=new olympe.W.Tb.Re.Response(b,a,f,olympe.W.Tb.Re.Response.gb.YB,c);this.C.publish(b,f.Ya(),void 0,g=>g?e(g):d())})}ga(a,b){b(new olympe.W.Tb.Re.Response(this.F,this.F,a,olympe.W.Tb.Re.Response.gb.dg,{reason:'Timeout'}))}};olympe.W.Tb.Re={};olympe.W.Tb.Re.Request=class{constructor(a,b,c,d,e,f){this.O=d;this.destination=a;this.source=b;this.R=c;this.C=e;this.F=f||null}rh(){return this.R}Ya(){return{dest:this.destination,src:this.source,seq:this.O,auth:this.R,type:this.C,content:this.F}}toString(){return JSON.stringify(this)}};olympe.W.Tb.Re.Request.gb={SEND:0,GET:1,PUBLISH:2,SUBSCRIBE:3};olympe.W.Tb.Re.Response=class{constructor(a,b,c,d,e){this.O=c;this.destination=a;this.source=b;this.F=d;this.C=e||null}Ya(){return{dest:this.destination,src:this.source,seq:this.O,type:this.F,content:this.C}}toString(){return JSON.stringify(this)}};olympe.W.Tb.Re.Response.gb={YB:0,dE:1,iK:2,dg:3};olympe.W.Tb.Md={};const gl=olympe.W.Tb.Re.Response.gb.dE,hl=olympe.W.Tb.Re.Response.gb.dg,il=olympe.W.Tb.Re.Response.gb.YB,jl=olympe.W.Tb.Re.Response.gb.iK,kl=olympe.W.Tb.Re.Request.gb.SEND,ll=olympe.W.Tb.Re.Request.gb.GET,ml=olympe.W.Tb.Re.Request.gb.PUBLISH,nl=olympe.W.Tb.Re.Request.gb.SUBSCRIBE;
@@ -1446,24 +1448,24 @@ c));return b})}stop(){this.F.destroy()}static publish(a,b){const c=olympe.W.Tb.E
1446
1448
  bl(e,a,ll,b)).then(f=>{dl(e,f,g=>{switch(g.F){case il:(g=g.C)?c(g):d('No payload after request to service: '+a);break;case hl:d(g.C.reason);break;default:d('Unsupported response type for a GET request')}})}).catch(f=>d(f))})}static observe(a,b,c){const d='function'===typeof b.Ff?b.Ff():b;return new rxjs.Observable(e=>{const f=olympe.W.Tb.Eg();let g=null;const k=()=>{e.complete();g&&el(f,g).catch(l=>olympe.ub.Gb('Service '+a).error('Failed to unsubscribe from a topic '+l))};d.Sd(k);f.connect().then(()=>
1447
1449
  bl(f,a,nl,c)).then(l=>{dl(f,l,m=>{switch(m.F){case jl:g=m.C.topic;cl(f,g,n=>{n.C===ml?e.next(n.F):(e.error('Unsupported notification message. It should be a publish'),k())});break;case hl:e.error(m.C.reason);break;default:e.error('Unsupported response type for a SUBSCRIBE request')}})}).catch(l=>e.error(l));return k})}};olympe.W.Tb.Md.ue.observe=olympe.W.Tb.Md.ue.observe;olympe.W.Tb.Md.ue.get=olympe.W.Tb.Md.ue.get;olympe.W.Tb.Md.ue.send=olympe.W.Tb.Md.ue.send;olympe.W.Tb.Md.ue.publish=olympe.W.Tb.Md.ue.publish;
1448
1450
  olympe.W.Tb.Md.ue.prototype.stop=olympe.W.Tb.Md.ue.prototype.stop;olympe.W.Tb.Md.ue.prototype.listen=olympe.W.Tb.Md.ue.prototype.aD;const ol=olympe.W.Tb.Re.Response.gb.dE,pl=olympe.W.Tb.Re.Response.gb.dg,ql=olympe.W.Tb.Re.Response.gb.YB,rl=olympe.W.Tb.Re.Response.gb.iK,sl=olympe.W.Tb.Re.Request.gb.SEND,tl=olympe.W.Tb.Re.Request.gb.GET,ul=olympe.W.Tb.Re.Request.gb.SUBSCRIBE;
1449
- olympe.W.Tb.Md.ab=class{constructor(a,b){this.C=a;this.Wa=b;this.F=null}Bx(){return null!==this.F?Promise.resolve(this.F):fl(this.Wa,this.C).then(a=>this.F=a)}source(){return this.C.source}body(){return this.C.F}rT(){return this.C.C===sl?this.Wa.es(this.C,ol,void 0):Promise.reject('Should only call `ack` on SEND requests')}es(a){return this.C.C===tl?this.Wa.es(this.C,ql,a):Promise.reject('Should only call `reply` on GET requests')}xW(a){return this.C.C===ul?this.Wa.es(this.C,rl,{topic:a}):Promise.reject('Should only call `notifyOn` on SUBSCRIBE requests')}yC(a){return this.Wa.es(this.C,
1450
- pl,{reason:a.message})}};olympe.W.Tb.Md.ab.prototype.fail=olympe.W.Tb.Md.ab.prototype.yC;olympe.W.Tb.Md.ab.prototype.notifyOn=olympe.W.Tb.Md.ab.prototype.xW;olympe.W.Tb.Md.ab.prototype.reply=olympe.W.Tb.Md.ab.prototype.es;olympe.W.Tb.Md.ab.prototype.ack=olympe.W.Tb.Md.ab.prototype.rT;olympe.W.Tb.Md.ab.prototype.body=olympe.W.Tb.Md.ab.prototype.body;olympe.W.Tb.Md.ab.prototype.source=olympe.W.Tb.Md.ab.prototype.source;olympe.W.Tb.Md.ab.prototype.userTag=olympe.W.Tb.Md.ab.prototype.Bx;olympe.W.Ef={};function vl(a,b,c,d){c.c=b;a.C.V(olympe.W.kh.Gn,c,d)}
1451
- olympe.W.Ef.Dc=class{constructor(a,b,c,d,e,f,g,k,l){this.Y=a;this.C=b;this.F=k;this.Pa=c;this.O=g;this.storage=l;const m=this.storage.C('AUTH');m&&(m.get('redirectTo',n=>{n&&(m.remove('redirectTo'),m.close(),this.F.redirect(n,null,olympe.Aa.et.C.GET))}),m.close())}U(a){this.C.Fc(a)}R(a){this.C.Mc(a)}Ba(a){this.C.jc(olympe.W.kh.Gn,'logoutHandler');this.C.na(olympe.W.kh.Gn,b=>{const c=b.c;c===olympe.W.Ef.Dc.C.sR?(this.C.La(),a(olympe.Aa.lb.F.Dx,b)):c===olympe.W.Ef.Dc.C.uS&&a(olympe.Aa.lb.F.jG,b)},'logoutHandler')}V(a,
1452
- b){vl(this,olympe.W.Ef.Dc.C.Gn,{token:a.lo()},(c,d)=>{if(null!==c)b(c);else switch(d.c){case olympe.W.Ef.Dc.C.dg:b(Error('Invalid token'));break;case olympe.W.Ef.Dc.C.Bv:c=null;var e=d.payload;if(e){d=e.userName;const f=e.userTag,g=e.rndCook,k=e.payload,l=e.protocol;'SAML'===l?(e=e.samlToken,c=new olympe.Aa.GJ(d,f,g,k),c.C=e):'openid'===l&&(c=new olympe.Aa.FB(d,f,g,k))}b(null,c);break;default:b(Error('Unknown response from server'))}})}ca(a,b){vl(this,olympe.W.Ef.Dc.C.UP,{I:a.cj()},(c,d)=>{if(null!==
1453
- c)b(c);else switch(d.c){case olympe.W.Ef.Dc.C.dg:b(Error(`Username '${a.cj()}' invalid, or password does not match`));break;case olympe.W.Ef.Dc.C.MS:c=d.payload;b(null,c.S,c.B);break;default:b(Error('Unknown response from server'))}})}na(a,b){vl(this,olympe.W.Ef.Dc.C.FO,{A:a.get('a'),M:a.get('m1'),I:a.cj()},(c,d)=>{if(null!==c)b(c);else switch(d.c){case olympe.W.Ef.Dc.C.dg:this.Y.debug('Login failed, invalid username or password');b(Error('Invalid username or password'));break;case olympe.W.Ef.Dc.C.Bv:c=
1451
+ olympe.W.Tb.Md.ab=class{constructor(a,b){this.C=a;this.Wa=b;this.F=null}Bx(){return null!==this.F?Promise.resolve(this.F):fl(this.Wa,this.C).then(a=>this.F=a)}source(){return this.C.source}body(){return this.C.F}sT(){return this.C.C===sl?this.Wa.es(this.C,ol,void 0):Promise.reject('Should only call `ack` on SEND requests')}es(a){return this.C.C===tl?this.Wa.es(this.C,ql,a):Promise.reject('Should only call `reply` on GET requests')}yW(a){return this.C.C===ul?this.Wa.es(this.C,rl,{topic:a}):Promise.reject('Should only call `notifyOn` on SUBSCRIBE requests')}yC(a){return this.Wa.es(this.C,
1452
+ pl,{reason:a.message})}};olympe.W.Tb.Md.ab.prototype.fail=olympe.W.Tb.Md.ab.prototype.yC;olympe.W.Tb.Md.ab.prototype.notifyOn=olympe.W.Tb.Md.ab.prototype.yW;olympe.W.Tb.Md.ab.prototype.reply=olympe.W.Tb.Md.ab.prototype.es;olympe.W.Tb.Md.ab.prototype.ack=olympe.W.Tb.Md.ab.prototype.sT;olympe.W.Tb.Md.ab.prototype.body=olympe.W.Tb.Md.ab.prototype.body;olympe.W.Tb.Md.ab.prototype.source=olympe.W.Tb.Md.ab.prototype.source;olympe.W.Tb.Md.ab.prototype.userTag=olympe.W.Tb.Md.ab.prototype.Bx;olympe.W.Ef={};function vl(a,b,c,d){c.c=b;a.C.V(olympe.W.kh.Gn,c,d)}
1453
+ olympe.W.Ef.Dc=class{constructor(a,b,c,d,e,f,g,k,l){this.Y=a;this.C=b;this.F=k;this.Pa=c;this.O=g;this.storage=l;const m=this.storage.C('AUTH');m&&(m.get('redirectTo',n=>{n&&(m.remove('redirectTo'),m.close(),this.F.redirect(n,null,olympe.Aa.et.C.GET))}),m.close())}U(a){this.C.Fc(a)}R(a){this.C.Mc(a)}Ba(a){this.C.jc(olympe.W.kh.Gn,'logoutHandler');this.C.na(olympe.W.kh.Gn,b=>{const c=b.c;c===olympe.W.Ef.Dc.C.tR?(this.C.La(),a(olympe.Aa.lb.F.Dx,b)):c===olympe.W.Ef.Dc.C.vS&&a(olympe.Aa.lb.F.jG,b)},'logoutHandler')}V(a,
1454
+ b){vl(this,olympe.W.Ef.Dc.C.Gn,{token:a.lo()},(c,d)=>{if(null!==c)b(c);else switch(d.c){case olympe.W.Ef.Dc.C.dg:b(Error('Invalid token'));break;case olympe.W.Ef.Dc.C.Bv:c=null;var e=d.payload;if(e){d=e.userName;const f=e.userTag,g=e.rndCook,k=e.payload,l=e.protocol;'SAML'===l?(e=e.samlToken,c=new olympe.Aa.GJ(d,f,g,k),c.C=e):'openid'===l&&(c=new olympe.Aa.FB(d,f,g,k))}b(null,c);break;default:b(Error('Unknown response from server'))}})}ca(a,b){vl(this,olympe.W.Ef.Dc.C.VP,{I:a.cj()},(c,d)=>{if(null!==
1455
+ c)b(c);else switch(d.c){case olympe.W.Ef.Dc.C.dg:b(Error(`Username '${a.cj()}' invalid, or password does not match`));break;case olympe.W.Ef.Dc.C.NS:c=d.payload;b(null,c.S,c.B);break;default:b(Error('Unknown response from server'))}})}na(a,b){vl(this,olympe.W.Ef.Dc.C.FO,{A:a.get('a'),M:a.get('m1'),I:a.cj()},(c,d)=>{if(null!==c)b(c);else switch(d.c){case olympe.W.Ef.Dc.C.dg:this.Y.debug('Login failed, invalid username or password');b(Error('Invalid username or password'));break;case olympe.W.Ef.Dc.C.Bv:c=
1454
1456
  d.payload;this.Y.debug('Login successful, creating token');d=c.payload?JSON.parse(c.payload):void 0;b(null,new olympe.Aa.Sn(c.userName,c.userTag,c.rndCook,d));break;default:b(Error(`Unknown response from server (type ${d.c})`))}})}$(a){vl(this,olympe.W.Ef.Dc.C.jk,{},(b,c)=>{null!==b?a(b):c.url&&c.request?a(null,c.url,c.request.replace(/\s/g,''),c.id):a(Error('Missing parameters from server response'))})}ga(a){const b=olympe.j.Ua(olympe.Aa.Eg().C.Ca())||null;if(b instanceof olympe.Aa.FB){const c=e=>
1455
- {const f=Object.create(null);f.url=e;f.olympe_token=b.lo();f.access_token=b.ny().access_token||null;this.F.redirect(`${this.O}/logout`,f)};a=this.F.C();const d=new URL(a);if(0!==d.hash.length||0!==d.search.length){const e=this.storage.C('AUTH');d.hash='';d.search='';e&&e.set('redirectTo',a,()=>{e.close();c(d.toString())})}else c(a)}else this.C.V(olympe.W.kh.Gn,{c:olympe.W.Ef.Dc.C.tR},a)}fs(a){this.C.V(olympe.W.kh.Gn,{c:olympe.W.Ef.Dc.C.ir},a)}Rr(a,b,c){this.C.Cb(this.Pa+'/'+a,olympe.W.kh.Gn,b,!1,
1456
- null,(d,e)=>{c(d,e)})}DM(){return this.O}};olympe.W.Ef.Dc.C={Gn:1,tR:2,dg:3,ir:5,Bv:6,UP:10,MS:11,FO:12,jk:13,uS:14,sR:20};olympe.W.Ef.Dc.ua=[olympe.Aa.PS,olympe.Aa.ud.Ef.xp,olympe.Aa.ud.Ef.Vi,olympe.Aa.ud.Ef.jk];olympe.W.Ea={};olympe.W.Ea.ph=function(){};olympe.W.Ea.ph.prototype.Ya=function(){};olympe.W.Ea.Pl=function(){};olympe.W.Ea.Pl.prototype.Ya=function(){};olympe.W.Ea.Sc=function(){};olympe.W.Ea.Sc.prototype.Ya=function(){};olympe.W.Ea.Wn=function(){};olympe.W.Ea.Wn.prototype.Ya=function(){};olympe.W.Ea.Id=function(){this.wa={};this.je={};this.ta={};this.ib=Object.create(null);this.init()};olympe.W.Ea.Id.prototype.constructor=olympe.W.Ea.Id;function wl(a,b,c){var d=b.Oa(),e=a.ta[d];if(void 0===e)throw Error('No predicate registered for predicate: '+d);return e.Ya(b,c,a)}function xl(a,b,c){var d=b.Oa(),e=a.ib[d];if(void 0===e)throw Error('No valueDef registered for valueDef: '+d);return e.Ya(b,c,a)}
1457
+ {const f=Object.create(null);f.url=e;f.olympe_token=b.lo();f.access_token=b.ny().access_token||null;this.F.redirect(`${this.O}/logout`,f)};a=this.F.C();const d=new URL(a);if(0!==d.hash.length||0!==d.search.length){const e=this.storage.C('AUTH');d.hash='';d.search='';e&&e.set('redirectTo',a,()=>{e.close();c(d.toString())})}else c(a)}else this.C.V(olympe.W.kh.Gn,{c:olympe.W.Ef.Dc.C.uR},a)}fs(a){this.C.V(olympe.W.kh.Gn,{c:olympe.W.Ef.Dc.C.ir},a)}Rr(a,b,c){this.C.Cb(this.Pa+'/'+a,olympe.W.kh.Gn,b,!1,
1458
+ null,(d,e)=>{c(d,e)})}DM(){return this.O}};olympe.W.Ef.Dc.C={Gn:1,uR:2,dg:3,ir:5,Bv:6,VP:10,NS:11,FO:12,jk:13,vS:14,tR:20};olympe.W.Ef.Dc.ua=[olympe.Aa.QS,olympe.Aa.ud.Ef.xp,olympe.Aa.ud.Ef.Vi,olympe.Aa.ud.Ef.jk];olympe.W.Ea={};olympe.W.Ea.ph=function(){};olympe.W.Ea.ph.prototype.Ya=function(){};olympe.W.Ea.Pl=function(){};olympe.W.Ea.Pl.prototype.Ya=function(){};olympe.W.Ea.Sc=function(){};olympe.W.Ea.Sc.prototype.Ya=function(){};olympe.W.Ea.Wn=function(){};olympe.W.Ea.Wn.prototype.Ya=function(){};olympe.W.Ea.Id=function(){this.wa={};this.je={};this.ta={};this.ib=Object.create(null);this.init()};olympe.W.Ea.Id.prototype.constructor=olympe.W.Ea.Id;function wl(a,b,c){var d=b.Oa(),e=a.ta[d];if(void 0===e)throw Error('No predicate registered for predicate: '+d);return e.Ya(b,c,a)}function xl(a,b,c){var d=b.Oa(),e=a.ib[d];if(void 0===e)throw Error('No valueDef registered for valueDef: '+d);return e.Ya(b,c,a)}
1457
1459
  function yl(a,b){return a&&a.bh?'"$'+b.add(a)+'"':a instanceof olympe.j.ka||a instanceof olympe.j.aa?String(a):a instanceof olympe.j.mb?'"'+a+'"':a instanceof olympe.j.hc?(a=a.Lq(),String(`{"c":4,"y":${a.getUTCFullYear()},"M":${a.getUTCMonth()+1},"d":${a.getUTCDate()},"h":${a.getUTCHours()},"m":${a.getUTCMinutes()},"s":${a.getUTCSeconds()},"S":${a.getUTCMilliseconds()},"z":0}`)):a instanceof olympe.j.Color?'{"c":7,"r":'+a.sk().valueOf()+',"g":'+a.qk().valueOf()+',"b":'+a.nk().valueOf()+',"a":'+a.bl().valueOf()+
1458
1460
  '}':a instanceof olympe.dc.ig?'{"c":8,"t":"'+a.da()+'"}':JSON.stringify(a)}
1459
1461
  olympe.W.Ea.Id.prototype.init=function(){var a=new olympe.W.Ea.wa.Xe;this.wa[Y(olympe.dc.wa.Xe)]=a;a=new olympe.W.Ea.wa.Rk;this.wa[Y(olympe.dc.wa.Rk)]=a;a=new olympe.W.Ea.wa.hg;this.wa[Y(olympe.dc.wa.hg)]=a;this.wa[Y(olympe.dc.wa.ti)]=new olympe.W.Ea.wa.ti;a=new olympe.W.Ea.wa.be;this.wa[Y(olympe.dc.wa.be)]=a;this.wa[Y(olympe.dc.wa.Aj)]=new olympe.W.Ea.wa.Aj;this.wa[Y(olympe.dc.wa.Jk)]=new olympe.W.Ea.wa.Jk;a=new olympe.W.Ea.je.Number;this.je[Y(olympe.dc.je.Number)]=a;a=new olympe.W.Ea.je.String;
1460
1462
  this.je[Y(olympe.dc.je.String)]=a;a=new olympe.W.Ea.ta.Yg;this.ta[Y(olympe.dc.ta.Yg)]=a;this.ta[Y(olympe.dc.ta.Mk)]=new olympe.W.Ea.ta.Mk;this.ta[Y(olympe.dc.ta.Wk)]=new olympe.W.Ea.ta.Wk;a=new olympe.W.Ea.ta.uh;this.ta[Y(olympe.dc.ta.uh)]=a;a=new olympe.W.Ea.ta.Ui;this.ta[Y(olympe.dc.ta.Ui)]=a;this.ta[Y(olympe.dc.ta.oi)]=new olympe.W.Ea.ta.oi;a=new olympe.W.Ea.ta.Xl;this.ta[Y(olympe.dc.ta.Xl)]=a;a=new olympe.W.Ea.ta.En;this.ta[Y(olympe.dc.ta.En)]=a;this.ib[Y(olympe.dc.ib.Ii)]=new olympe.W.Ea.ib.Ii;
1461
1463
  a=new olympe.W.Ea.ib.Bj;this.ib[Y(olympe.dc.ib.Bj)]=a;a=new olympe.W.Ea.ib.kk;this.ib[Y(olympe.dc.ib.kk)]=a;a=new olympe.W.Ea.ib.Ik;this.ib[Y(olympe.dc.ib.Ik)]=a;a=new olympe.W.Ea.ib.$j;this.ib[Y(olympe.dc.ib.$j)]=a;this.ib[Y(olympe.dc.ib.Qn)]=new olympe.W.Ea.ib.Qn};olympe.W.Ea.gy=class{Ya(a){const b=Object.create(null);b.i=a.xa();b.b=[a.C];b.m=!0;b.v=!0;b.f=a instanceof olympe.dc.query.iB?Vh(a.Tr):olympe.dc.Ve.NONE;b.q=ji(a).map(this.C.bind(this));return b}C(a){const b=a.Cm(),c=b.rc()===olympe.dc.Pb.ORIGIN?olympe.W.Ea.wa.Xe.C.Mf:olympe.W.Ea.wa.Xe.C.Ng,d=Object.create(null);d.t=b.da();d.d=c;d.v=a.apply;d.r=b.recursive;d.q=a.Gr().map(this.C.bind(this));return d}};olympe.W.Ea.wa={};olympe.W.Ea.wa.Jk=class{Ya(){return'{"y":15}'}};olympe.W.Ea.wa.Jk.ua=[olympe.W.Ea.ph];olympe.W.Ea.wa.be=function(){};olympe.W.Ea.wa.be.prototype.constructor=olympe.W.Ea.wa.be;olympe.W.Ea.wa.be.prototype.Ya=function(a,b,c){return'{"y":21,"p":'+wl(c,a.C,b)+'}'};olympe.W.Ea.wa.be.ua=[olympe.W.Ea.ph];olympe.W.Ea.wa.Rk=function(){};olympe.W.Ea.wa.Rk.prototype.constructor=olympe.W.Ea.wa.Rk;olympe.W.Ea.wa.Rk.prototype.Ya=function(a){var b=null!==a.rc()?a.rc()===olympe.dc.Pb.ORIGIN?olympe.W.Ea.wa.Xe.C.Mf:olympe.W.Ea.wa.Xe.C.Ng:olympe.W.Ea.wa.Xe.C.xE;return'{"y":12,"t":'+JSON.stringify(Xj(a))+',"d":'+b+'}'};olympe.W.Ea.wa.Rk.ua=[olympe.W.Ea.ph];olympe.W.Ea.wa.hg=function(){};olympe.W.Ea.wa.hg.prototype.constructor=olympe.W.Ea.wa.hg;olympe.W.Ea.wa.hg.prototype.Ya=function(a){const b=null!==a.rc()?a.rc()===olympe.dc.Pb.ORIGIN?olympe.W.Ea.wa.Xe.C.Mf:olympe.W.Ea.wa.Xe.C.Ng:olympe.W.Ea.wa.Xe.C.xE;return'{"y":11,"t":"'+a.da()+'","d":'+b+',"s":'+a.F+',"e":'+a.C+'}'};olympe.W.Ea.wa.hg.ua=[olympe.W.Ea.ph];olympe.W.Ea.wa.Xe=function(){};olympe.W.Ea.wa.Xe.C={xE:0,Mf:1,Ng:2};olympe.W.Ea.wa.Xe.prototype.constructor=olympe.W.Ea.wa.Xe;olympe.W.Ea.wa.Xe.prototype.Ya=function(a){const b=a.rc()===olympe.dc.Pb.ORIGIN?olympe.W.Ea.wa.Xe.C.Mf:olympe.W.Ea.wa.Xe.C.Ng;return'{"y":10,"t":"'+a.da()+'","d":'+b+'}'};olympe.W.Ea.wa.Xe.ua=[olympe.W.Ea.ph];olympe.W.Ea.wa.ti=function(){};olympe.W.Ea.wa.ti.prototype.constructor=olympe.W.Ea.wa.ti;olympe.W.Ea.wa.ti.prototype.Ya=function(a,b,c){var d=a.Wi;const e=d.Oa();var f=c.je[e];if(void 0===f)throw Error('No comparator registered for comparator: '+e);return'{"y":20,"o":'+f.Ya(d,b,c)+(a.C?'':',"a":false')+'}'};olympe.W.Ea.wa.ti.ua=[olympe.W.Ea.ph];olympe.W.Ea.wa.Aj=function(){};olympe.W.Ea.wa.Aj.prototype.constructor=olympe.W.Ea.wa.Aj;olympe.W.Ea.wa.Aj.prototype.Ya=function(a,b){var c=a.start;c=c&&c.bh?'"$'+b.add(c)+'"':JSON.stringify(c);a=(a=a.C)&&a.bh?'"$'+b.add(a)+'"':JSON.stringify(a);return'{"y":22,"s":'+c+',"n":'+a+'}'};olympe.W.Ea.wa.Aj.ua=[olympe.W.Ea.ph];olympe.W.Ea.je={};olympe.W.Ea.je.Number=class{constructor(){}Ya(a,b,c){return`{"y":11,"v":${xl(c,a.C,b)}}`}};olympe.W.Ea.je.Number.ua=[olympe.W.Ea.Pl];olympe.W.Ea.je.String=class{constructor(){}Ya(a,b,c){return`{"y":10,"v":${xl(c,a.C,b)}}`}};olympe.W.Ea.je.String.ua=[olympe.W.Ea.Pl];olympe.W.Ea.ta={};olympe.W.Ea.ta.uh=function(){};olympe.W.Ea.ta.uh.prototype.constructor=olympe.W.Ea.ta.uh;olympe.W.Ea.ta.uh.prototype.Ya=function(a,b,c){const d=xl(c,a.source,b);c=xl(c,a.getValue(),b);a=yl(a.O,b);return'{"y":20,"s":'+d+',"v":'+c+',"a":'+a+'}'};olympe.W.Ea.ta.uh.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.Yg=function(){};olympe.W.Ea.ta.Yg.prototype.constructor=olympe.W.Ea.ta.Yg;olympe.W.Ea.ta.Yg.prototype.Ya=function(a,b,c){const d=xl(c,a.O,b);a=xl(c,a.R,b);return'{"y":10,"l":'+d+',"r":'+a+'}'};olympe.W.Ea.ta.Yg.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.Mk=function(){};olympe.W.Ea.ta.Mk.prototype.constructor=olympe.W.Ea.ta.Mk;olympe.W.Ea.ta.Mk.prototype.Ya=function(a,b,c){const d=xl(c,a.O,b);a=xl(c,a.R,b);return'{"y":11,"l":'+d+',"r":'+a+'}'};olympe.W.Ea.ta.Mk.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.Xl=class{Ya(a){const b=Rj(a).map(d=>'"'+d+'"'),c=Sj(a).map(d=>d===olympe.dc.Pb.DESTINATION?'2':'1');a=a.R;return'{"y":81,"r":['+b.toString()+'],"d":['+c.toString()+']'+(0!==a.length?',"t":"'+a.toString()+'"':'')+'}'}};olympe.W.Ea.ta.Xl.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.En=class{Ya(a){return'{"y":80,"m":['+Array.from(a.O).map(b=>'"'+b+'"').toString()+']}'}};olympe.W.Ea.ta.En.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.oi=class{Ya(a,b,c){return'{"y":30,"p":'+wl(c,a.O,b)+'}'}};olympe.W.Ea.ta.oi.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.Ui=class{Ya(a,b,c){c=xl(c,a.source,b);const d=a.R;a=yl(a.O,b);return'{"y":23,"s":'+c+',"r":"'+d+'","a":'+a+'}'}};olympe.W.Ea.ta.Ui.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ta.Wk=function(){};olympe.W.Ea.ta.Wk.prototype.constructor=olympe.W.Ea.ta.Wk;olympe.W.Ea.ta.Wk.prototype.Ya=function(a,b,c){var d=xl(c,a.O,b);a=xl(c,a.R,b);return'{"y":12,"l":'+d+',"r":'+a+'}'};olympe.W.Ea.ta.Wk.ua=[olympe.W.Ea.Sc];olympe.W.Ea.ib={};olympe.W.Ea.ib.Wg=function(){};olympe.W.Ea.ib.Wg.prototype.constructor=olympe.W.Ea.ib.Wg;olympe.W.Ea.ib.Wg.prototype.C=function(){};
1462
- olympe.W.Ea.ib.Wg.prototype.Ya=function(a,b,c){var d=yl(a.R,b),e=a.Yi();e=e?',"b":'+yl(e,b):'';if(a=a.$p()){var f='[';for(let n=0,p=a.length;n<p;n++){var g=0===n?'':',';var k=c;var l=a[n],m=b;const r=l.Oa(),t=k.wa[r];if(void 0===t)throw Error('No serializer registered for transformer: '+r);k=t.Ya(l,m,k);f+=g+k}b=',"q":'+(f+']')}else b='';return'{"y":'+this.C()+',"t":'+d+e+b+'}'};olympe.W.Ea.ib.Wg.ua=[olympe.W.Ea.Wn];olympe.W.Ea.ib.Ik=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.Ik.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.Ik.prototype.constructor=olympe.W.Ea.ib.Ik;olympe.W.Ea.ib.Ik.prototype.C=function(){return 13};olympe.W.Ea.ib.Ii=class{Ya(a,b){return'{"y":10,"v":'+yl(a.value,b)+'}'}};olympe.W.Ea.ib.Ii.ua=[olympe.W.Ea.Wn];olympe.W.Ea.ib.$j=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.$j.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.$j.prototype.constructor=olympe.W.Ea.ib.$j;olympe.W.Ea.ib.$j.prototype.C=function(){return 14};olympe.W.Ea.ib.Bj=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.Bj.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.Bj.prototype.constructor=olympe.W.Ea.ib.Bj;olympe.W.Ea.ib.Bj.prototype.C=function(){return 11};olympe.W.Ea.ib.kk=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.kk.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.kk.prototype.constructor=olympe.W.Ea.ib.kk;olympe.W.Ea.ib.kk.prototype.C=function(){return 12};olympe.W.Ea.ib.Qn=class{Ya(){return'{"y":19}'}};olympe.W.Ea.ib.Qn.ua=[olympe.W.Ea.Wn];olympe.W.Qg={};function zl(a,b){a.Y.info('Initializing SERVER layer');if(a.Y.O()){const c=['Server layer parameters:'];b.forEach((d,e)=>{c.push(e+'="'+d+'"')});a.Y.debug(c.join('\n\t'))}a.na(olympe.W.kh.dg,c=>{switch(c.c){case olympe.W.gb.cT:a.Y.error('Unknown message sent to the server:',olympe.W.lb.F[c.s]);break;case olympe.W.gb.wP:a.Y.error('Fatal error, the last message is probably too big according to the websocket config.'),a.C.forEach((d,e)=>{null!==d.sD&&Al(a,e,c.i)})}});b.get('autoConnect')&&(a.Y.debug('Connecting automatically'),
1464
+ olympe.W.Ea.ib.Wg.prototype.Ya=function(a,b,c){var d=yl(a.R,b),e=a.Yi();e=e?',"b":'+yl(e,b):'';if(a=a.$p()){var f='[';for(let n=0,p=a.length;n<p;n++){var g=0===n?'':',';var k=c;var l=a[n],m=b;const r=l.Oa(),t=k.wa[r];if(void 0===t)throw Error('No serializer registered for transformer: '+r);k=t.Ya(l,m,k);f+=g+k}b=',"q":'+(f+']')}else b='';return'{"y":'+this.C()+',"t":'+d+e+b+'}'};olympe.W.Ea.ib.Wg.ua=[olympe.W.Ea.Wn];olympe.W.Ea.ib.Ik=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.Ik.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.Ik.prototype.constructor=olympe.W.Ea.ib.Ik;olympe.W.Ea.ib.Ik.prototype.C=function(){return 13};olympe.W.Ea.ib.Ii=class{Ya(a,b){return'{"y":10,"v":'+yl(a.value,b)+'}'}};olympe.W.Ea.ib.Ii.ua=[olympe.W.Ea.Wn];olympe.W.Ea.ib.$j=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.$j.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.$j.prototype.constructor=olympe.W.Ea.ib.$j;olympe.W.Ea.ib.$j.prototype.C=function(){return 14};olympe.W.Ea.ib.Bj=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.Bj.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.Bj.prototype.constructor=olympe.W.Ea.ib.Bj;olympe.W.Ea.ib.Bj.prototype.C=function(){return 11};olympe.W.Ea.ib.kk=function(){olympe.W.Ea.ib.Wg.call(this)};olympe.W.Ea.ib.kk.prototype=Object.create(olympe.W.Ea.ib.Wg.prototype);olympe.W.Ea.ib.kk.prototype.constructor=olympe.W.Ea.ib.kk;olympe.W.Ea.ib.kk.prototype.C=function(){return 12};olympe.W.Ea.ib.Qn=class{Ya(){return'{"y":19}'}};olympe.W.Ea.ib.Qn.ua=[olympe.W.Ea.Wn];olympe.W.Qg={};function zl(a,b){a.Y.info('Initializing SERVER layer');if(a.Y.O()){const c=['Server layer parameters:'];b.forEach((d,e)=>{c.push(e+'="'+d+'"')});a.Y.debug(c.join('\n\t'))}a.na(olympe.W.kh.dg,c=>{switch(c.c){case olympe.W.gb.dT:a.Y.error('Unknown message sent to the server:',olympe.W.lb.F[c.s]);break;case olympe.W.gb.wP:a.Y.error('Fatal error, the last message is probably too big according to the websocket config.'),a.C.forEach((d,e)=>{null!==d.sD&&Al(a,e,c.i)})}});b.get('autoConnect')&&(a.Y.debug('Connecting automatically'),
1463
1465
  a.connect());olympe.j.eb(a.U.Ca(),()=>{a.Rc.forEach(c=>c());vc(a.qe.bind(a),a.Hf);vc(a.Rb.bind(a),a.yc)},()=>{a.ga=null;a.vc.forEach(c=>c(a.F[2]));a.Rb()});a.Y.log('DONE initializing SERVER layer (waiting for NET layer connection to be opened)')}
1464
1466
  function Bl(a,b){if(a.R!==b)switch(a.Y.debug('State change '+a.R+' --\x3e '+b),a.R=b,b){case olympe.W.lb.C.CONNECTING:break;case olympe.W.lb.C.Mx:a.U.update(olympe.j.ka.C);break;case olympe.W.lb.C.nr:a.F[0]=0;a.F[1]=0;a.connect();break;case olympe.W.lb.C.dg:a.Y.error('Connection to server',a.ca.sh(),'aborted due to error');a.U.update(olympe.j.ka.xb);break;case olympe.W.lb.C.cp:a.U.update(olympe.j.ka.xb);a.Kb&&(a.Y.info('Disconnected, will try to auto reconnect in',a.Ka,'ms'),tc(()=>{a.connect()},
1465
1467
  a.Ka));break;default:throw Error('State machine error in server manager. Should not get in state '+b);}}
1466
- function Cl(a,b){const c=olympe.W.lb.R.Bv,d=olympe.W.lb.R.GR;return e=>{if(null!==e&&void 0!==e){var f=null,g=e.s;if(g===d)a.Y.debug(`Try to unsubscribe multiple times. This could be because you logged out before unsubscribe. ${e.info.error.reason}`);else if(void 0!==g&&g!==c){f=void 0!==olympe.W.lb.F[g]?`Status code = ${g} [${olympe.W.lb.F[g]}]`:`Status code = ${g}`;g=e.info;if(void 0!==g&&void 0!==g.error){var k=g.error.reason;'string'===typeof k&&0<k.length&&(f+=`\nReason:\n${g.error.reason}`);
1468
+ function Cl(a,b){const c=olympe.W.lb.R.Bv,d=olympe.W.lb.R.HR;return e=>{if(null!==e&&void 0!==e){var f=null,g=e.s;if(g===d)a.Y.debug(`Try to unsubscribe multiple times. This could be because you logged out before unsubscribe. ${e.info.error.reason}`);else if(void 0!==g&&g!==c){f=void 0!==olympe.W.lb.F[g]?`Status code = ${g} [${olympe.W.lb.F[g]}]`:`Status code = ${g}`;g=e.info;if(void 0!==g&&void 0!==g.error){var k=g.error.reason;'string'===typeof k&&0<k.length&&(f+=`\nReason:\n${g.error.reason}`);
1467
1469
  k=g.error.detailedReason;'string'===typeof k&&0<k.length&&(f+=`\nDetails:\n${g.error.detailedReason}`)}f=Error('Rejected by orchestrator:\n'+f)}b(f,e)}}}function Dl(a,b,c){var d=c.message;a.Y.O()&&a.Y.debug('>',El(d));(d=a.O.send(JSON.stringify(d)))?null===c.Ij?a.C.delete(b):c.sD=Date.now():Bl(a,olympe.W.lb.C.nr);return d}
1468
1470
  function El(a){var b=JSON.parse(JSON.stringify(a));a=olympe.pa.xM;const c=b.messageFamily,d=a(olympe.W.kh,c),e=b.payload;b='';switch(c){case olympe.W.kh.Su:b=a(olympe.dc.ab.gb,e.c);break;case olympe.W.kh.dg:b=a(olympe.W.gb,e.c);break;case olympe.W.kh.Gn:b=a(olympe.W.Ef.Dc.C,e.c);break;case olympe.W.kh.bv:2===e.c&&(b=a(olympe.W.lb.O,e.status))}a=`${d} message`;b&&0<b.length&&(a+=` with payload "${b}"`);return a}
1469
1471
  function Al(a,b,c){if(a.C.has(b)){const {Ij:d}=a.C.get(b);a.C.delete(b);d&&d({s:23,info:c})}}function Fl(a,b){a.Y.error(b);Bl(a,olympe.W.lb.C.dg)}function Gl(a,b,c){a.Y.info('Connected to',a.ca.sh(),' | ',b?'server version:'+b:'',null!==c?`activity timeout: ${c}s`:'');b=Array.from(a.C).sort(([d],[e])=>d-e);for(const [d,e]of b)if(!Dl(a,d,e))return;Bl(a,olympe.W.lb.C.Mx)}
@@ -1471,17 +1473,17 @@ olympe.W.Qg.lb=class{constructor(a,b,c,d){this.Y=a;this.Ab=b;this.ca=c;this.O=nu
1471
1473
  this.Rc=new Map;this.vc=new Map;this.C=new Map;this.vg=new Map;zl(this,d)}Fa(){return this.R===olympe.W.lb.C.Mx}connect(){const a=olympe.W.lb.C.CONNECTING,b=olympe.W.lb.C.Mx,c=olympe.W.lb.C.cp,d=olympe.W.lb.C.nr,e=olympe.W.lb.C.dg;null!==this.O&&(this.O.U(null),this.O.close());this.Kb=!0;this.Y.log(`Asking NET layer for a connection to ${zc(this.ca)}:${this.ca.port}...`);this.O=this.Ab.ga(this.ca);this.O.$(this.La.bind(this));this.O.ga(this.Mb.bind(this));this.O.U(()=>{this.O=null;this.R===b?Bl(this,
1472
1474
  d):this.R!==e&&Bl(this,c)});this.R!==d&&Bl(this,a)}Fc(a){const b=olympe.pa.we();this.Rc.set(b,a);olympe.j.Ua(this.U)===olympe.j.ka.C&&a()}Mc(a){var b;void 0===b&&(b=olympe.pa.we());this.vc.set(b,a);olympe.j.Ua(this.U)===olympe.j.ka.xb&&a(this.F[2])}La(){this.Y.debug('Websocket connected, sending handshake. Client version:',Za(this.$),'subscribeEverything:',this.cb?'NO':'YES');this.V(olympe.W.kh.bv,{c:olympe.W.gb.bv,cv:Za(this.$),m:this.cb?0:1,s:this.ga},this.af.bind(this))}V(a,b,c){const d=this.Kd;
1473
1475
  this.Kd++;b={message:{seqId:d,messageFamily:a,payload:b},Ij:c?Cl(this,c):null,sD:null};this.C.set(d,b);c=[olympe.W.lb.C.CONNECTING,olympe.W.lb.C.nr];(this.Fa()||a===olympe.W.kh.bv&&c.includes(this.R))&&Dl(this,d,b)}Cb(a,b,c,d,e,f){c&&''!==c||this.Y.warn('Trying to send an http request with an invalid authorizationToken');const g=Bc(a);if(e){g.method=olympe.Nb.Cf.ov.vv;e=d?e:{messageFamily:b,seqId:1,payload:e};const l=JSON.stringify(e);g.body=l;Cc(g,{'Content-Type':'application/json'});this.Y.log('HTTP POST >',
1474
- El(e))}else this.Y.log('HTTP GET call to',a);g.F=olympe.Nb.Cf.ResponseType.Ty;Cc(g,{Authorization:c});const k=()=>{this.Ab.C(g,l=>{switch(l.status){case olympe.Nb.Cf.fm.CB:case olympe.Nb.Cf.fm.OE:case olympe.Nb.Cf.fm.Dx:l=l.data;if(b!==olympe.W.kh.Su||d){f&&f(null,l);break}l=this.Mb(l);f&&f(l);l&&this.Y.error(l.message);break;case olympe.Nb.Cf.fm.xS:tc(k,this.kq);break;case olympe.Nb.Cf.fm.RO:this.Y.debug(`HTTP request canceled (${a}).`);f&&f(null);break;case olympe.Nb.Cf.fm.aT:l=Error(`HTTP request authorization denied: ${a}`);
1475
- f&&f(l);break;default:l=Error(`Server is currently not available, http status: ${l.status}`),f&&f(l)}})};k()}na(a,b,c){void 0===c&&(c=olympe.pa.we());let d=this.Ba.get(a);void 0===d&&(d=new Map,this.Ba.set(a,d));d.set(c,b)}jc(a,b){a=this.Ba.get(a);void 0!==a&&a.delete(b)}af(a,b){if(a)Fl(this,'Error in receiving handshake response: '+a.message);else{this.Y.debug('Handshake response received');var c=olympe.W.lb.O;a=b.sv||'undefined';var d=b.activityTimeout?Math.max(b.activityTimeout-60,5):null;switch(b.status){case c.aQ:Fl(this,
1476
- `Framework version (${Za(this.$)}) provided to the orchestrator was not valid. See orchestrator logs for more info.`);return;case c.VS:Fl(this,`Framework version (${Za(this.$)}) is not compatible with the orchestrator in use. See orchestrator logs for more info.`);return;case c.EP:Fl(this,'Handshake failed. See orchestrator logs for more info.');return}if(this.Pa.Oc(olympe.pa.mt.C))this.Y.warn('Handshake successful but received server version',a,'is invalid. Cannot check against it');else try{var e=
1476
+ El(e))}else this.Y.log('HTTP GET call to',a);g.F=olympe.Nb.Cf.ResponseType.Ty;Cc(g,{Authorization:c});const k=()=>{this.Ab.C(g,l=>{switch(l.status){case olympe.Nb.Cf.fm.CB:case olympe.Nb.Cf.fm.OE:case olympe.Nb.Cf.fm.Dx:l=l.data;if(b!==olympe.W.kh.Su||d){f&&f(null,l);break}l=this.Mb(l);f&&f(l);l&&this.Y.error(l.message);break;case olympe.Nb.Cf.fm.yS:tc(k,this.kq);break;case olympe.Nb.Cf.fm.RO:this.Y.debug(`HTTP request canceled (${a}).`);f&&f(null);break;case olympe.Nb.Cf.fm.bT:l=Error(`HTTP request authorization denied: ${a}`);
1477
+ f&&f(l);break;default:l=Error(`Server is currently not available, http status: ${l.status}`),f&&f(l)}})};k()}na(a,b,c){void 0===c&&(c=olympe.pa.we());let d=this.Ba.get(a);void 0===d&&(d=new Map,this.Ba.set(a,d));d.set(c,b)}jc(a,b){a=this.Ba.get(a);void 0!==a&&a.delete(b)}af(a,b){if(a)Fl(this,'Error in receiving handshake response: '+a.message);else{this.Y.debug('Handshake response received');var c=olympe.W.lb.O;a=b.sv||'undefined';var d=b.activityTimeout?Math.max(b.activityTimeout-60,5):null;switch(b.status){case c.bQ:Fl(this,
1478
+ `Framework version (${Za(this.$)}) provided to the orchestrator was not valid. See orchestrator logs for more info.`);return;case c.WS:Fl(this,`Framework version (${Za(this.$)}) is not compatible with the orchestrator in use. See orchestrator logs for more info.`);return;case c.EP:Fl(this,'Handshake failed. See orchestrator logs for more info.');return}if(this.Pa.Oc(olympe.pa.mt.C))this.Y.warn('Handshake successful but received server version',a,'is invalid. Cannot check against it');else try{var e=
1477
1479
  Ya(a);if(e.ux(this.Pa)){Fl(this,`Framework v${Za(this.$)} is expecting Orchestrator to be at least in v${Za(this.Pa)}`);return}this.Y.log('Handshake successful. Orchestrator version: ',e,'required:',Za(this.Pa))}catch(f){Fl(this,f);return}e=olympe.W.lb.C.cp;if(this.R===olympe.W.lb.C.nr&&null!==this.ga&&this.ga!==b.sessionId)this.Y.warn('Trying to do a session recovering, but got another session id so retry from disconnected state'),Bl(this,e);else{if(e=b.identityProviders)for(const [f,g]of Object.entries(e))this.vg.set(f,
1478
1480
  g);this.ga=b.sessionId||null;Gl(this,a,d)}}}qe(){this.F[0]-this.F[1]>this.ai?(this.Y.debug('Ping did not get answer, try to reconnect'),Bl(this,olympe.W.lb.C.nr)):(this.Y.debug('Sending Ping'),this.F[0]=Date.now(),this.O.send('ping')||(this.Y.debug('Impossible to send ping, try to reconnect'),Bl(this,olympe.W.lb.C.nr)))}Mb(a){this.F[2]=Date.now();if(a.startsWith('pong'))return this.F[1]=this.F[2],null;try{var b=JSON.parse(a)}catch(d){return this.Y.error('Unable to parse response from server: '+d.toString()),
1479
1481
  Error('Unable to parse response from server')}this.Y.O()&&this.Y.debug('<',El(b));a=b.seqId;const c=b.messageFamily;b=b.payload;if(this.C.has(a)){const {Ij:d}=this.C.get(a);this.C.delete(a);d&&d(b)}a=this.Ba.get(c);if(void 0!==a)for(const d of a.values())d(b);return null}Rb(){const a=Date.now();for(const [b,{sD:c}]of this.C)null!==c&&a-c>this.yc&&(this.Y.warn(`No response was received from the server for the seqId = ${b}`),Al(this,b,{error:{reason:'Message timeout: never receive acknowledge'}}))}};
1480
- olympe.W.lb.R={Bv:0,GR:18,uZ:23};
1482
+ olympe.W.lb.R={Bv:0,HR:18,vZ:23};
1481
1483
  olympe.W.lb.F={0:'OK',1:'SRP Authentication First Step Failed',2:'SRP Authentication Last Step Failed',3:'SRP Authentication Bad Credentials',4:'AutoLogin Authentication Failed',5:'AutoLogin Authentication Token Invalid',6:'Logout Failed',7:'SAML Request Generation Failed',8:'SAML Authentication Save Failed',9:'Invalid SAML Response',10:'SAML User Not Found',11:'Transaction Failed',12:'GetContext Failed',13:'Notification Failed',15:'FileService Clean Failed',17:'Try to subscribe multiple times',18:'Try to unsubscribe multiple times',
1482
1484
  21:'GraphDef Query Failed',22:'Client Request Invalid',23:'Internal Server Error',24:'File Retrieval Error',25:'File Does Not Exists',26:'Restore Failed',27:'Permission Error',14:'Handshake Failed',28:'Client Version Too Old',29:'Client Version Invalid Format',34:'Server overloaded, retry later',35:'Add token error',36:'Keep token alive error',37:'Unknown client message',39:'Fetch data while concurrency transaction'};olympe.W.Qg.lb.ua=[olympe.W.lb];olympe.W.fa={sb:'server.Manager',BE:'server.bus.Manager',Qb:'server.Logger',Ej:'server.Source',Vq:'server.FileSource',nG:'server.ImportFileSvcHttpRequest',rE:'server.BackupSvcHttpRequest',WI:'server.OpenIDSvcHttpRequest',OF:'server.GetContextSvcPathRequest',kG:'server.ImplicitGDSvcPathRequest',wF:'server.ExplicitGDSvcPathRequest',lK:'server.TransactionOverHttpPathRequest',zK:'server.UserTokenRequest',xK:'server.UserTagRequest',vK:'server.UserRolesRequest',CJ:'server.RoleMembersRequest',Vs:'server.IOUrlsProvider',
1483
- EF:'server.fileSvcUrl',cJ:'communication.peerFileSvcUrl'};olympe.W.ji={Mu:'server.connectors.Auth',f_:'server.connectors.Signaling'};
1484
- olympe.W.za={li:'server.host',Qi:'server.port',si:'server.ssl',gE:'server.autoConnect',uJ:'server.reconnectionDelay',gJ:'server.pingInterval',ZB:'server.messageTimeout',yJ:'server.retryHttpOnOverload',ME:'server.clientVersion',JJ:'server.serverVersion',AE:'bus.host',CE:'bus.path',DE:'bus.port',EE:'bus.vhost',ir:'bus.keepalive',qS:'bus.reschedulePings',WO:'bus.clientId',UO:'bus.clean',mS:'bus.reconnectPeriod',YO:'bus.connectTimeout',hK:'bus.tokenTimeout',tK:'bus.username',uv:'bus.password',hS:'bus.queueQoSZero'};
1485
+ EF:'server.fileSvcUrl',cJ:'communication.peerFileSvcUrl'};olympe.W.ji={Mu:'server.connectors.Auth',g_:'server.connectors.Signaling'};
1486
+ olympe.W.za={li:'server.host',Qi:'server.port',si:'server.ssl',gE:'server.autoConnect',uJ:'server.reconnectionDelay',gJ:'server.pingInterval',ZB:'server.messageTimeout',yJ:'server.retryHttpOnOverload',ME:'server.clientVersion',JJ:'server.serverVersion',AE:'bus.host',CE:'bus.path',DE:'bus.port',EE:'bus.vhost',ir:'bus.keepalive',rS:'bus.reschedulePings',WO:'bus.clientId',UO:'bus.clean',nS:'bus.reconnectPeriod',YO:'bus.connectTimeout',hK:'bus.tokenTimeout',tK:'bus.username',uv:'bus.password',iS:'bus.queueQoSZero'};
1485
1487
  olympe.W.Ad={Hi:'server.basePath',cL:'server.wsPath',CF:'server.filePath',mG:'server.importFilePath',qE:'server.backupSvcPath',VI:'server.openIDSvcPath',NF:'server.GetContextSvcPath',lG:'server.ImplicitGraphdefSvcPath',xF:'server.ExplicitGraphdefSvcPath',kK:'server.TransactionOverHttpPath',yK:'server.userTokenSvcPath',wK:'server.userTagPath',uK:'server.userRolesPath',BJ:'server.roleMembersPath',bJ:'communication.peerFileSvcPath'};
1486
1488
  olympe.oa.Fe(function(a){var b='object'===typeof window&&window.location&&window.location.hostname||'localhost';const c='localhost'===b;C(a,olympe.W.za.li,b);C(a,olympe.W.za.Qi,c?8080:443);C(a,olympe.W.za.si,'localhost'!==b);C(a,olympe.W.Ad.Hi,'OlympeServer');C(a,olympe.W.Ad.cL,'websocket');C(a,olympe.W.Ad.CF,'rest/filesvc');C(a,olympe.W.Ad.mG,'rest/importsvc');C(a,olympe.W.Ad.qE,'rest/backupsvc');C(a,olympe.W.Ad.VI,'rest/openid');C(a,olympe.W.Ad.NF,'rest/initialData');C(a,olympe.W.Ad.lG,'rest/querysvc/graphDefImplicit');
1487
1489
  C(a,olympe.W.Ad.xF,'rest/querysvc/graphDefExplicit');C(a,olympe.W.Ad.kK,'rest/transaction');C(a,olympe.W.Ad.yK,'rest/token');C(a,olympe.W.Ad.wK,'rest/authorization/getUserTag');C(a,olympe.W.Ad.uK,'rest/authorization/getUserRoles');C(a,olympe.W.Ad.BJ,'rest/authorization/roleMembers');C(a,olympe.W.za.gE,!0);C(a,olympe.W.za.uJ,5E3);C(a,olympe.W.za.gJ,5E3);C(a,olympe.W.za.ZB,15E3);C(a,olympe.W.za.yJ,5E3);C(a,olympe.W.za.JJ,'6.3.1');C(a,olympe.W.za.AE,'');C(a,olympe.W.za.CE,c?'':'/mqtt');C(a,olympe.W.za.DE,
@@ -1492,40 +1494,40 @@ b);A(a,olympe.W.fa.kG,[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.
1492
1494
  new olympe.oa.Ta(olympe.W.Ad.kK)],b);A(a,olympe.W.fa.zK,[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.Qi),new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.Ad.Hi),new olympe.oa.Ta(olympe.W.Ad.yK)],b);A(a,olympe.W.fa.xK,[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.Qi),new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.Ad.Hi),new olympe.oa.Ta(olympe.W.Ad.wK)],b);A(a,olympe.W.fa.vK,[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.Qi),
1493
1495
  new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.Ad.Hi),new olympe.oa.Ta(olympe.W.Ad.uK)],b);A(a,olympe.W.fa.CJ,[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.Qi),new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.Ad.Hi),new olympe.oa.Ta(olympe.W.Ad.BJ)],b);A(a,olympe.W.fa.EF,[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.Qi),new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.Ad.Hi),new olympe.oa.Ta(olympe.W.Ad.CF)],b);A(a,olympe.W.fa.cJ,[new olympe.oa.Ta(olympe.Nb.za.cG),
1494
1496
  new olympe.oa.Ta(olympe.Nb.za.dG),new olympe.oa.Ta(olympe.Nb.za.eG),new olympe.oa.Ta(olympe.W.Ad.bJ)],b);A(a,'server.ManagerConfig',[new olympe.oa.Ta(olympe.W.za.gE),new olympe.oa.Ta(olympe.W.za.uJ),new olympe.oa.Ta(olympe.W.za.gJ),new olympe.oa.Ta(olympe.W.za.ZB),new olympe.oa.Ta(olympe.W.za.ME),new olympe.oa.Ta(olympe.W.za.JJ),new olympe.oa.Ta(olympe.dc.za.Gp),new olympe.oa.Ta(olympe.W.za.yJ)],(...d)=>{const e='autoConnect reconnectionDelay pingInterval messageTimeout clientVersion serverVersion getContextMode retryHttpOverload'.split(' '),
1495
- f=new Map;d.forEach((g,k)=>f.set(e[k],g));return f});A(a,'server.bus.ManagerConfig',[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.AE),new olympe.oa.Ta(olympe.W.za.CE),new olympe.oa.Ta(olympe.W.za.DE),new olympe.oa.Ta(olympe.W.za.EE),new olympe.oa.Ta(olympe.W.za.tK),new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.za.ir),new olympe.oa.Ta(olympe.W.za.qS),new olympe.oa.Ta(olympe.W.za.WO),new olympe.oa.Ta(olympe.W.za.UO),new olympe.oa.Ta(olympe.W.za.mS),new olympe.oa.Ta(olympe.W.za.YO),
1496
- new olympe.oa.Ta(olympe.W.za.uv),new olympe.oa.Ta(olympe.W.za.hS),new olympe.oa.Ta(olympe.W.za.ZB),new olympe.oa.Ta(olympe.W.za.hK)],(d,e,f,g,k,l,m,...n)=>{e=`${m?'wss://':'ws://'}${e||d}:${g}${f}/ws`;const p='keepalive reschedulePings clientId clean reconnectPeriod connectTimeout password queueQoSZero messageTimeout tokenTimeout'.split(' ');n=n.reduce((r,t,u)=>{r[p[u]]=t;return r},{});n.username=`${k||d.split('.')[0]}:${l}`;d=new Map;d.set('url',e);d.set('connectionOptions',n);return d});z(a,olympe.W.fa.sb,
1497
+ f=new Map;d.forEach((g,k)=>f.set(e[k],g));return f});A(a,'server.bus.ManagerConfig',[new olympe.oa.Ta(olympe.W.za.li),new olympe.oa.Ta(olympe.W.za.AE),new olympe.oa.Ta(olympe.W.za.CE),new olympe.oa.Ta(olympe.W.za.DE),new olympe.oa.Ta(olympe.W.za.EE),new olympe.oa.Ta(olympe.W.za.tK),new olympe.oa.Ta(olympe.W.za.si),new olympe.oa.Ta(olympe.W.za.ir),new olympe.oa.Ta(olympe.W.za.rS),new olympe.oa.Ta(olympe.W.za.WO),new olympe.oa.Ta(olympe.W.za.UO),new olympe.oa.Ta(olympe.W.za.nS),new olympe.oa.Ta(olympe.W.za.YO),
1498
+ new olympe.oa.Ta(olympe.W.za.uv),new olympe.oa.Ta(olympe.W.za.iS),new olympe.oa.Ta(olympe.W.za.ZB),new olympe.oa.Ta(olympe.W.za.hK)],(d,e,f,g,k,l,m,...n)=>{e=`${m?'wss://':'ws://'}${e||d}:${g}${f}/ws`;const p='keepalive reschedulePings clientId clean reconnectPeriod connectTimeout password queueQoSZero messageTimeout tokenTimeout'.split(' ');n=n.reduce((r,t,u)=>{r[p[u]]=t;return r},{});n.username=`${k||d.split('.')[0]}:${l}`;d=new Map;d.set('url',e);d.set('connectionOptions',n);return d});z(a,olympe.W.fa.sb,
1497
1499
  olympe.W.Qg.lb,olympe.W.fa.Qb,olympe.Nb.fa.sb,'server.WebSocketRequest','server.ManagerConfig');z(a,olympe.W.ji.Mu,olympe.W.Ef.Dc,olympe.W.fa.Qb,olympe.W.fa.sb,olympe.W.fa.zK,olympe.W.fa.xK,olympe.W.fa.vK,olympe.W.fa.CJ,olympe.W.fa.WI,olympe.Aa.fa.Hy,olympe.He.fa.ty);z(a,olympe.W.fa.BE,olympe.W.Tb.lb,olympe.W.fa.Qb,olympe.Nb.fa.sb,olympe.Aa.fa.sb,'server.bus.ManagerConfig');va(a,olympe.Aa.ji.sb,olympe.W.ji.Mu);va(a,olympe.Aa.ji.xI,olympe.W.ji.Mu);va(a,olympe.Aa.ji.Vi,olympe.W.ji.Mu);va(a,olympe.Aa.ji.jk,
1498
1500
  olympe.W.ji.Mu);z(a,olympe.W.fa.Vq,olympe.W.$x,olympe.W.fa.Qb,olympe.Nb.fa.sb,olympe.Aa.fa.sb,olympe.W.fa.EF,olympe.W.fa.cJ);va(a,olympe.Vc.fa.Vq,olympe.W.fa.Vq);A(a,olympe.W.fa.Ej,[olympe.ub.fa.sb,olympe.W.fa.sb,olympe.Aa.fa.sb,olympe.Vc.fa.Vq,olympe.W.fa.OF,olympe.W.fa.kG,olympe.W.fa.wF,olympe.W.fa.lK],(d,e,f,g,k,l,m,n)=>new olympe.W.ur(d.Pg('server.source'),e,f,g,[k,l,m,n]));z(a,olympe.W.fa.Vs,olympe.W.ly,olympe.W.fa.nG,olympe.W.fa.rE);va(a,olympe.dc.Ra.fa.Vs,olympe.W.fa.Vs);va(a,olympe.Vc.fa.OB,
1499
1501
  olympe.W.fa.Ej)},'olympe.communication');olympe.oa.run([olympe.W.fa.BE],a=>{olympe.W.Tb.Eg=()=>a});olympe.Af={};olympe.Af.oE=class{run(){}};olympe.Af.lb=class{constructor(a,b){this.C=a;this.Y=b;this.F=null;this.O='';this.Y.info('HC Manager will execute application registered as:',this.C)}Dq(a,b,c=''){b||(b='default');b===this.C?(null===this.F?this.Y.log('Application',c,'designated to be launched'):this.Y.log('OVERRIDE: Application',c,'designated to be launched'),this.F=a,this.O=c):this.Y.debug('ignoring application:'+c+' as it is registered under name '+b+' and not '+this.C)}run(){null!==this.F?(this.Y.info('Running application:',this.O),
1500
- this.F.run()):this.Y.error('No app registered under name: '+this.C)}};olympe.Af.Dq=function(a,b,c){const d=a.Gb();c?d.debug('Pre-registering application '+b+' under name '+c+' (use '+olympe.Af.za.Ml+'='+c+' to start it)'):d.debug('Pre-registering application '+b+' as default one');a.Dg(olympe.Af.fa.sb).Fe([b],function(e,f){f.Dq(e,c,b)},'olympe.hc.registerApp')};olympe.Af.fa={sb:'hc.Manager',Qb:'hc.Logger'};olympe.Af.za={Ml:'hc.app',UA:'hc.globalToken'};olympe.oa.Fe(function(a){C(a,olympe.Af.za.Ml,'default');C(a,olympe.Af.za.UA,!1);A(a,olympe.Af.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('hc'));A(a,olympe.Aa.fa.Ex,[new olympe.oa.Ta(olympe.Af.za.Ml),new olympe.oa.Ta(olympe.Af.za.UA)],(b,c)=>new olympe.Aa.yA(c?'':b));z(a,olympe.Af.fa.sb,olympe.Af.lb,new olympe.oa.Ta(olympe.Af.za.Ml),olympe.Af.fa.Qb)},'olympe.hc');olympe.oa.run([olympe.Af.fa.sb],a=>a.run(),'olympe.hc');olympe.dm={};olympe.dm.Vg={NONE:0,hP:1,jF:2,iP:4,eP:8,gP:16,fP:31,XR:32,UR:64,YR:128,VR:256,XI:512,WR:992,AP:1023};olympe.dm.Ah=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}Oa(){return this.ke(olympe.dc.CloudObject.nameProp)}C(){return olympe.j.mb.EMPTY}F(){return olympe.j.ka.xb}};olympe.dm.Ah.T=olympe.dc.Na.C('ff021000000000000002',olympe.dm.Ah);olympe.dm.Ah.V=olympe.dm.Ah.T.ea('ff023000000000000035');olympe.dm.Ah.C=olympe.dm.Ah.T.Ib('ff022000000000000005');olympe.dm.Ah.F=Df('ff011000000000000001','AUTHENTICATED_USERS');olympe.dm.Ah.U=Df('ff011000000000000002','PROJECT_RUNNER_USERS_ROLE');
1501
- olympe.dm.Ah.O=Df('014831d95f83635090ea','ADMIN_USERS_ROLE');olympe.dm.Ah.prototype.Oa.K=olympe.j.J.R;olympe.dm.Ah.prototype.C.K=olympe.j.J.R;olympe.dm.Ah.prototype.F.K=olympe.j.J.U;olympe.dm.User=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}YU(){return this.JC()}Oa(){return this.JC()}JC(){return this.ke(olympe.dm.User.loginProp)}ZQ(){return this.ke(olympe.dm.User.F)}YQ(){return olympe.j.mb.EMPTY}CV(){return this.ke(olympe.dm.User.saltProp)}QV(){return this.ke(olympe.dm.User.verifierProp)}zV(){return this.zc(olympe.dm.User.C,olympe.dm.Ah)}};olympe.dm.User.T=olympe.dc.Na.C('ff021000000000000003',olympe.dm.User);olympe.dm.User.loginProp=olympe.dm.User.T.ea('ff023000000000000001');
1502
+ this.F.run()):this.Y.error('No app registered under name: '+this.C)}};olympe.Af.Dq=function(a,b,c){const d=a.Gb();c?d.debug('Pre-registering application '+b+' under name '+c+' (use '+olympe.Af.za.Ml+'='+c+' to start it)'):d.debug('Pre-registering application '+b+' as default one');a.Dg(olympe.Af.fa.sb).Fe([b],function(e,f){f.Dq(e,c,b)},'olympe.hc.registerApp')};olympe.Af.fa={sb:'hc.Manager',Qb:'hc.Logger'};olympe.Af.za={Ml:'hc.app',UA:'hc.globalToken'};olympe.oa.Fe(function(a){C(a,olympe.Af.za.Ml,'default');C(a,olympe.Af.za.UA,!1);A(a,olympe.Af.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('hc'));A(a,olympe.Aa.fa.Ex,[new olympe.oa.Ta(olympe.Af.za.Ml),new olympe.oa.Ta(olympe.Af.za.UA)],(b,c)=>new olympe.Aa.yA(c?'':b));z(a,olympe.Af.fa.sb,olympe.Af.lb,new olympe.oa.Ta(olympe.Af.za.Ml),olympe.Af.fa.Qb)},'olympe.hc');olympe.oa.run([olympe.Af.fa.sb],a=>a.run(),'olympe.hc');olympe.dm={};olympe.dm.Vg={NONE:0,hP:1,jF:2,iP:4,eP:8,gP:16,fP:31,YR:32,VR:64,ZR:128,WR:256,XI:512,XR:992,AP:1023};olympe.dm.Ah=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}Oa(){return this.ke(olympe.dc.CloudObject.nameProp)}C(){return olympe.j.mb.EMPTY}F(){return olympe.j.ka.xb}};olympe.dm.Ah.T=olympe.dc.Na.C('ff021000000000000002',olympe.dm.Ah);olympe.dm.Ah.V=olympe.dm.Ah.T.ea('ff023000000000000035');olympe.dm.Ah.C=olympe.dm.Ah.T.Ib('ff022000000000000005');olympe.dm.Ah.F=Df('ff011000000000000001','AUTHENTICATED_USERS');olympe.dm.Ah.U=Df('ff011000000000000002','PROJECT_RUNNER_USERS_ROLE');
1503
+ olympe.dm.Ah.O=Df('014831d95f83635090ea','ADMIN_USERS_ROLE');olympe.dm.Ah.prototype.Oa.K=olympe.j.J.R;olympe.dm.Ah.prototype.C.K=olympe.j.J.R;olympe.dm.Ah.prototype.F.K=olympe.j.J.U;olympe.dm.User=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}ZU(){return this.JC()}Oa(){return this.JC()}JC(){return this.ke(olympe.dm.User.loginProp)}$Q(){return this.ke(olympe.dm.User.F)}ZQ(){return olympe.j.mb.EMPTY}DV(){return this.ke(olympe.dm.User.saltProp)}RV(){return this.ke(olympe.dm.User.verifierProp)}AV(){return this.zc(olympe.dm.User.C,olympe.dm.Ah)}};olympe.dm.User.T=olympe.dc.Na.C('ff021000000000000003',olympe.dm.User);olympe.dm.User.loginProp=olympe.dm.User.T.ea('ff023000000000000001');
1502
1504
  q('olympe.dm.User.loginProp',olympe.dm.User.loginProp);olympe.dm.User.F=olympe.dm.User.T.ea('ff023000000000000002');olympe.dm.User.V=olympe.dm.User.T.ea('ff023000000000000003');olympe.dm.User.saltProp=olympe.dm.User.T.ea('ff023000000000000004');q('olympe.dm.User.saltProp',olympe.dm.User.saltProp);olympe.dm.User.verifierProp=olympe.dm.User.T.ea('ff023000000000000005');q('olympe.dm.User.verifierProp',olympe.dm.User.verifierProp);olympe.dm.User.U=olympe.dm.User.T.ea('ff023000000000000020');
1503
- olympe.dm.User.SAMLnameIdProp=olympe.dm.User.T.ea('ff023000000000000036');q('olympe.dm.User.SAMLnameIdProp',olympe.dm.User.SAMLnameIdProp);olympe.dm.User.C=Z(olympe.dm.User.T,olympe.dm.Ah.C);olympe.dm.User.$=olympe.dm.User.T.Ib('ff022000000000000002');olympe.dm.User.O=Df('0163d9653067b6237f62','GUEST_USER');h=olympe.dm.User.prototype;h.YU.K=olympe.j.J.R;h.Oa.K=olympe.j.J.R;h.JC.K=olympe.j.J.R;h.ZQ.K=olympe.j.J.R;h.YQ.K=olympe.j.J.R;h.CV.K=olympe.j.J.R;h.QV.K=olympe.j.J.R;
1504
- h.zV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.vj=class extends olympe.dc.CloudObject{U(){return this.gw()}jc(){return this.ke(olympe.dm.vj.Ba)}};olympe.dm.vj.T=olympe.dc.Na.C('01621fb84e3300000000',olympe.dm.vj);olympe.dm.vj.Ba=olympe.dm.vj.T.ea('01609de3f292e3c2c6ff');olympe.dm.vj.prototype.U.K=new olympe.j.J(()=>olympe.j.Og,[]);olympe.dm.vj.prototype.jc.K=olympe.j.J.R;olympe.dm.BrickMetadata=class extends olympe.dm.vj{Kb(){return this.ke(olympe.dm.BrickMetadata.Ka)}Mb(){return this.ke(olympe.dm.BrickMetadata.La)}R(){return null}};olympe.dm.BrickMetadata.T=If(olympe.dc.Na.C('01621fb84e3500000000',olympe.dm.BrickMetadata));olympe.dm.BrickMetadata.Ka=olympe.dm.BrickMetadata.T.ea('01621fb84e320000f001');olympe.dm.BrickMetadata.La=olympe.dm.BrickMetadata.T.ea('01703376c4a81c0e9d94');olympe.dm.BrickMetadata.Kd=olympe.dm.BrickMetadata.T.Ib('0161ae97622bb21f335b');
1505
- olympe.dm.BrickMetadata.Cb={VZ:'private',cS:'public'};olympe.dm.BrickMetadata.yc=Df('01703376c4a81c0e9d95','BRICK_STATUS');olympe.dm.BrickMetadata.fm={DY:'experimental',h_:'stable',tY:'deprecated'};olympe.dm.BrickMetadata.prototype.Kb.K=olympe.j.J.R;olympe.dm.BrickMetadata.prototype.Mb.K=olympe.j.J.R;olympe.dm.BrickMetadata.prototype.R.K=new olympe.j.J(()=>String,[]);olympe.dm.Ue=class extends olympe.dm.BrickMetadata{ga(){return new olympe.dc.Db(this.da(),[new olympe.dc.wa.hg(olympe.dm.Ue.F.da(),olympe.dc.Pb.DESTINATION,olympe.dc.wa.yv.gB,olympe.dc.wa.yv.VP),olympe.dm.Ue.C])}R(){return null}C(){return this.zc(olympe.dm.Ue.F,olympe.dm.Ue)}F(){return this.zc(olympe.dm.Ue.C)}};olympe.dm.Ue.T=olympe.dc.Na.C('01612df1db9749227626',olympe.dm.Ue);olympe.dm.Ue.F=olympe.dm.Ue.T.Ib('016a697ef00ce7554691');olympe.dm.Ue.Ab=Z(olympe.dm.Ue.T,olympe.dm.Ue.F);
1505
+ olympe.dm.User.SAMLnameIdProp=olympe.dm.User.T.ea('ff023000000000000036');q('olympe.dm.User.SAMLnameIdProp',olympe.dm.User.SAMLnameIdProp);olympe.dm.User.C=Z(olympe.dm.User.T,olympe.dm.Ah.C);olympe.dm.User.$=olympe.dm.User.T.Ib('ff022000000000000002');olympe.dm.User.O=Df('0163d9653067b6237f62','GUEST_USER');h=olympe.dm.User.prototype;h.ZU.K=olympe.j.J.R;h.Oa.K=olympe.j.J.R;h.JC.K=olympe.j.J.R;h.$Q.K=olympe.j.J.R;h.ZQ.K=olympe.j.J.R;h.DV.K=olympe.j.J.R;h.RV.K=olympe.j.J.R;
1506
+ h.AV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.vj=class extends olympe.dc.CloudObject{U(){return this.gw()}jc(){return this.ke(olympe.dm.vj.Ba)}};olympe.dm.vj.T=olympe.dc.Na.C('01621fb84e3300000000',olympe.dm.vj);olympe.dm.vj.Ba=olympe.dm.vj.T.ea('01609de3f292e3c2c6ff');olympe.dm.vj.prototype.U.K=new olympe.j.J(()=>olympe.j.Og,[]);olympe.dm.vj.prototype.jc.K=olympe.j.J.R;olympe.dm.BrickMetadata=class extends olympe.dm.vj{Kb(){return this.ke(olympe.dm.BrickMetadata.Ka)}Mb(){return this.ke(olympe.dm.BrickMetadata.La)}R(){return null}};olympe.dm.BrickMetadata.T=If(olympe.dc.Na.C('01621fb84e3500000000',olympe.dm.BrickMetadata));olympe.dm.BrickMetadata.Ka=olympe.dm.BrickMetadata.T.ea('01621fb84e320000f001');olympe.dm.BrickMetadata.La=olympe.dm.BrickMetadata.T.ea('01703376c4a81c0e9d94');olympe.dm.BrickMetadata.Kd=olympe.dm.BrickMetadata.T.Ib('0161ae97622bb21f335b');
1507
+ olympe.dm.BrickMetadata.Cb={WZ:'private',dS:'public'};olympe.dm.BrickMetadata.yc=Df('01703376c4a81c0e9d95','BRICK_STATUS');olympe.dm.BrickMetadata.fm={EY:'experimental',i_:'stable',uY:'deprecated'};olympe.dm.BrickMetadata.prototype.Kb.K=olympe.j.J.R;olympe.dm.BrickMetadata.prototype.Mb.K=olympe.j.J.R;olympe.dm.BrickMetadata.prototype.R.K=new olympe.j.J(()=>String,[]);olympe.dm.Ue=class extends olympe.dm.BrickMetadata{ga(){return new olympe.dc.Db(this.da(),[new olympe.dc.wa.hg(olympe.dm.Ue.F.da(),olympe.dc.Pb.DESTINATION,olympe.dc.wa.yv.gB,olympe.dc.wa.yv.WP),olympe.dm.Ue.C])}R(){return null}C(){return this.zc(olympe.dm.Ue.F,olympe.dm.Ue)}F(){return this.zc(olympe.dm.Ue.C)}};olympe.dm.Ue.T=olympe.dc.Na.C('01612df1db9749227626',olympe.dm.Ue);olympe.dm.Ue.F=olympe.dm.Ue.T.Ib('016a697ef00ce7554691');olympe.dm.Ue.Ab=Z(olympe.dm.Ue.T,olympe.dm.Ue.F);
1506
1508
  olympe.dm.Ue.C=olympe.dm.Ue.T.Ib('016a697ef00ce7554692');Z(olympe.dc.CloudObject.T,olympe.dm.Ue.C);olympe.dm.Ue.prototype.ga.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.Ue.prototype.C.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.Ue.prototype.F.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.mh=class extends olympe.dm.Ue{C(){return this.da()===olympe.dm.mh.Pa?this.zc(olympe.dm.mh.V,olympe.dm.Ue):this.zc(olympe.dm.mh.$,olympe.dm.Ue)}};olympe.dm.mh.T=olympe.dc.Na.C('ff021000000000000020',olympe.dm.mh);olympe.dm.mh.$=olympe.dm.mh.T.Ib('017e9c34cf48bd6965c1');olympe.dm.mh.V=olympe.dm.mh.T.Ib('017e9c2e013e06bfffd9');olympe.dm.mh.vc=olympe.dm.mh.T.Ib('01811f12ad77673770d4');olympe.dm.mh.Pa=Df('10000000000000000000','ROOT_OF_ROOTS');olympe.dm.mh.jc=Df('10000000000000000001','OLYMPE_FOLDER');
1507
- olympe.dm.mh.prototype.C.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.Module=class extends olympe.dc.CloudObject{VU(){return this.ke(olympe.dm.Module.V)}nV(){return this.hf(olympe.dm.Module.$)}$Q(){return this.ke(olympe.dm.Module.F)}rV(){return this.ke(olympe.dm.Module.na)}FU(){return this.ke(olympe.dm.Module.O)}oV(){return this.zc(olympe.dm.Module.U,olympe.dm.Module)}DV(){return this.zc(olympe.dm.Module.C,olympe.dm.Oi)}};olympe.dm.Module.T=olympe.dc.Na.C('ff021000000000000040',olympe.dm.Module);olympe.dm.Module.V=olympe.dm.Module.T.ea('ff023000000000000042');
1509
+ olympe.dm.mh.prototype.C.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.Module=class extends olympe.dc.CloudObject{WU(){return this.ke(olympe.dm.Module.V)}oV(){return this.hf(olympe.dm.Module.$)}aR(){return this.ke(olympe.dm.Module.F)}sV(){return this.ke(olympe.dm.Module.na)}GU(){return this.ke(olympe.dm.Module.O)}pV(){return this.zc(olympe.dm.Module.U,olympe.dm.Module)}EV(){return this.zc(olympe.dm.Module.C,olympe.dm.Oi)}};olympe.dm.Module.T=olympe.dc.Na.C('ff021000000000000040',olympe.dm.Module);olympe.dm.Module.V=olympe.dm.Module.T.ea('ff023000000000000042');
1508
1510
  olympe.dm.Module.$=olympe.dm.Module.T.ea('ff023000000000000043');olympe.dm.Module.F=olympe.dm.Module.T.ea('ff023000000000000044');olympe.dm.Module.na=olympe.dm.Module.T.ea('ff023000000000000045');olympe.dm.Module.O=olympe.dm.Module.T.ea('ff023000000000000046');olympe.dm.Module.creationDateProp=olympe.dm.Module.T.ea('ff023000000000000049');olympe.dm.Module.C=olympe.dm.Module.T.Ib('ff022000000000000013');olympe.dm.Module.U=olympe.dm.Module.T.Ib('ff022000000000000014');
1509
- olympe.dm.Module.Ba=Df('016a69b9bceabd815b77','OLYMPE_SERVER_MODULE');h=olympe.dm.Module.prototype;h.VU.K=olympe.j.J.R;h.nV.K=olympe.j.J.F;h.$Q.K=olympe.j.J.R;h.rV.K=olympe.j.J.R;h.FU.K=olympe.j.J.R;h.oV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.DV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.File=class extends olympe.dc.CloudObject{static C(a,b,c,d,e,f,g){e=e||'application/data';d=olympe.pa.mk().U(new Blob([d],{type:e}));a=b.create(a,f).he(g||olympe.dc.Zb.cf);b=olympe.j.hc.now();a.setProperty(olympe.dm.File.nameProp,c||'file').setProperty(olympe.dm.File.urlProp,d).setProperty(olympe.dm.File.creationDateProp,b).setProperty(olympe.dm.File.modificationDateProp,b).setProperty(olympe.dm.File.mimeTypeProp,e||'application/data').setProperty(olympe.dm.File.F,!1);return a.da()}constructor(a,
1511
+ olympe.dm.Module.Ba=Df('016a69b9bceabd815b77','OLYMPE_SERVER_MODULE');h=olympe.dm.Module.prototype;h.WU.K=olympe.j.J.R;h.oV.K=olympe.j.J.F;h.aR.K=olympe.j.J.R;h.sV.K=olympe.j.J.R;h.GU.K=olympe.j.J.R;h.pV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.EV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.File=class extends olympe.dc.CloudObject{static C(a,b,c,d,e,f,g){e=e||'application/data';d=olympe.pa.mk().U(new Blob([d],{type:e}));a=b.create(a,f).he(g||olympe.dc.Zb.cf);b=olympe.j.hc.now();a.setProperty(olympe.dm.File.nameProp,c||'file').setProperty(olympe.dm.File.urlProp,d).setProperty(olympe.dm.File.creationDateProp,b).setProperty(olympe.dm.File.modificationDateProp,b).setProperty(olympe.dm.File.mimeTypeProp,e||'application/data').setProperty(olympe.dm.File.F,!1);return a.da()}constructor(a,
1510
1512
  b,c,d,e){super(a,b);this.F=c;this.R=d;this.C=e}Ot(){return this.ke(olympe.dm.File.mimeTypeProp)}fw(a,b){const c=olympe.j.jb().C(a),d=b&&olympe.j.jb().C(b);(a=this.db.kd(this,olympe.dm.File.urlProp,!0))&&a.startsWith('blob:')?this.C.F(a,e=>{this.C.R(e,c)},d):sf(this.F,this,e=>{this.C.R(e,c)},e=>{d&&d(e)})}rz(a,b){this.fw(c=>{a(Ma(c))},b)}Hr(a,b){const c=olympe.j.jb().C(a);b=b&&olympe.j.jb().C(b);const d=this.db.kd(this,olympe.dm.File.F),e=this.db.kd(this,olympe.dm.File.urlProp),f=g=>{const k=this.db.kd(this,
1511
- olympe.dm.File.mimeTypeProp);this.C.R(g,l=>{c(`data:${k};base64,${this.C.C(l)}`)})};d&&d.valueOf()?sf(this.F,this,f.bind(this),b):e&&e.startsWith('blob:')?this.C.F(e,f.bind(this),b):a(e)}mD(a,b){const c=b&&olympe.j.jb().C(b);olympe.j.Gw([a],d=>{const e=new olympe.dc.Uc;e.update(this,olympe.dc.CloudObject.nameProp,d);e.update(this,olympe.dm.File.nameProp,d);e.$c(f=>{c&&c(f)})})}UW(a){this.R.R(this,a,this.db.kd(this,olympe.dm.File.mimeTypeProp))}sh(){return this.ke(olympe.dm.File.urlProp)}my(){return this.ke(olympe.dm.File.nameProp)}GU(){return this.pw(olympe.dm.File.creationDateProp)}mV(){return this.pw(olympe.dm.File.modificationDateProp)}FN(){return this.rk(olympe.dm.File.F)}static WT(a,
1513
+ olympe.dm.File.mimeTypeProp);this.C.R(g,l=>{c(`data:${k};base64,${this.C.C(l)}`)})};d&&d.valueOf()?sf(this.F,this,f.bind(this),b):e&&e.startsWith('blob:')?this.C.F(e,f.bind(this),b):a(e)}mD(a,b){const c=b&&olympe.j.jb().C(b);olympe.j.Gw([a],d=>{const e=new olympe.dc.Uc;e.update(this,olympe.dc.CloudObject.nameProp,d);e.update(this,olympe.dm.File.nameProp,d);e.$c(f=>{c&&c(f)})})}VW(a){this.R.R(this,a,this.db.kd(this,olympe.dm.File.mimeTypeProp))}sh(){return this.ke(olympe.dm.File.urlProp)}my(){return this.ke(olympe.dm.File.nameProp)}HU(){return this.pw(olympe.dm.File.creationDateProp)}nV(){return this.pw(olympe.dm.File.modificationDateProp)}FN(){return this.rk(olympe.dm.File.F)}static XT(a,
1512
1514
  b,c,d,e,f){d=d||'application/data';c=olympe.pa.mk().U(new Blob([c],{type:d}));return olympe.dm.File.vL(a,b,c,d,e,f)}static vL(a,b,c,d,e,f){const g=olympe.j.hc.now();b=(new Map).set(olympe.dm.File.nameProp,b||'file').set(olympe.dm.File.urlProp,c).set(olympe.dm.File.creationDateProp,g).set(olympe.dm.File.modificationDateProp,g).set(olympe.dm.File.mimeTypeProp,d||'application/data').set(olympe.dm.File.F,!1);return a.create(olympe.dm.File,b,e||olympe.dc.Zb.cf,f)}};olympe.dm.File.createFromURL=olympe.dm.File.vL;
1513
- olympe.dm.File.createFromContent=olympe.dm.File.WT;olympe.dm.File.prototype.saveAs=olympe.dm.File.prototype.UW;olympe.dm.File.prototype.getContentUrl=olympe.dm.File.prototype.Hr;olympe.dm.File.prototype.getContentAsString=olympe.dm.File.prototype.rz;olympe.dm.File.prototype.getContentAsBinary=olympe.dm.File.prototype.fw;olympe.dm.File.T=olympe.dc.Na.C('ff021000000000000030',olympe.dm.File,olympe.dc.fa.Wu,olympe.Nb.fa.sb,olympe.pa.fa.Cs);olympe.dm.File.nameProp=olympe.dm.File.T.ea('ff023000000000000050');
1515
+ olympe.dm.File.createFromContent=olympe.dm.File.XT;olympe.dm.File.prototype.saveAs=olympe.dm.File.prototype.VW;olympe.dm.File.prototype.getContentUrl=olympe.dm.File.prototype.Hr;olympe.dm.File.prototype.getContentAsString=olympe.dm.File.prototype.rz;olympe.dm.File.prototype.getContentAsBinary=olympe.dm.File.prototype.fw;olympe.dm.File.T=olympe.dc.Na.C('ff021000000000000030',olympe.dm.File,olympe.dc.fa.Wu,olympe.Nb.fa.sb,olympe.pa.fa.Cs);olympe.dm.File.nameProp=olympe.dm.File.T.ea('ff023000000000000050');
1514
1516
  q('olympe.dm.File.nameProp',olympe.dm.File.nameProp);olympe.dm.File.creationDateProp=olympe.dm.File.T.ea('ff023000000000000051');q('olympe.dm.File.creationDateProp',olympe.dm.File.creationDateProp);olympe.dm.File.modificationDateProp=olympe.dm.File.T.ea('ff023000000000000055');q('olympe.dm.File.modificationDateProp',olympe.dm.File.modificationDateProp);olympe.dm.File.mimeTypeProp=olympe.dm.File.T.ea('ff023000000000000052');q('olympe.dm.File.mimeTypeProp',olympe.dm.File.mimeTypeProp);
1515
1517
  olympe.dm.File.urlProp=olympe.dm.File.T.ea('ff023000000000000053');q('olympe.dm.File.urlProp',olympe.dm.File.urlProp);olympe.dm.File.F=olympe.dm.File.T.ea('ff023000000000000054');olympe.dm.File.T.C=olympe.dm.File.C.bind(null,olympe.dm.File);olympe.dm.File.ua=[olympe.j.File];h=olympe.dm.File.prototype;h.Ot.K=olympe.j.J.R;h.fw.K=new olympe.j.J(()=>{},[]);h.rz.K=new olympe.j.J(()=>{},[]);h.Hr.K=new olympe.j.J(()=>{},[]);h.mD.K=olympe.j.J.O;h.sh.K=olympe.j.J.R;h.my.K=olympe.j.J.R;
1516
- h.GU.K=new olympe.j.J(()=>olympe.j.hc,[]);h.mV.K=new olympe.j.J(()=>olympe.j.hc,[]);h.FN.K=olympe.j.J.U;olympe.dm.Oi=class extends olympe.dc.CloudObject{C(){return this.ke(olympe.dm.Oi.F)}O(){return this.hf(olympe.dm.Oi.O)}F(){return this.zc(olympe.dm.Oi.C,olympe.dm.Module)}};olympe.dm.Oi.T=olympe.dc.Na.C('ff021000000000000041',olympe.dm.Oi);olympe.dm.Oi.F=olympe.dm.Oi.T.ea('ff023000000000000047');olympe.dm.Oi.O=olympe.dm.Oi.T.ea('ff023000000000000048');olympe.dm.Oi.C=olympe.dm.Module.C.Pe();olympe.dm.Oi.prototype.C.K=olympe.j.J.R;olympe.dm.Oi.prototype.O.K=olympe.j.J.F;
1518
+ h.HU.K=new olympe.j.J(()=>olympe.j.hc,[]);h.nV.K=new olympe.j.J(()=>olympe.j.hc,[]);h.FN.K=olympe.j.J.U;olympe.dm.Oi=class extends olympe.dc.CloudObject{C(){return this.ke(olympe.dm.Oi.F)}O(){return this.hf(olympe.dm.Oi.O)}F(){return this.zc(olympe.dm.Oi.C,olympe.dm.Module)}};olympe.dm.Oi.T=olympe.dc.Na.C('ff021000000000000041',olympe.dm.Oi);olympe.dm.Oi.F=olympe.dm.Oi.T.ea('ff023000000000000047');olympe.dm.Oi.O=olympe.dm.Oi.T.ea('ff023000000000000048');olympe.dm.Oi.C=olympe.dm.Module.C.Pe();olympe.dm.Oi.prototype.C.K=olympe.j.J.R;olympe.dm.Oi.prototype.O.K=olympe.j.J.F;
1517
1519
  olympe.dm.Oi.prototype.F.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.oe=class extends olympe.dm.mh{C(){return this.zc(olympe.dm.Ue.F,olympe.dm.Ue)}V(){return this.ke(olympe.dm.oe.na)}$(){return this.ke(olympe.dm.oe.Mb)}O(){return this.zc(olympe.dm.oe.O,olympe.dm.oe)}};olympe.dm.oe.T=olympe.dc.Na.C('0163d9594700fcf61e54',olympe.dm.oe);olympe.dm.oe.na=olympe.dm.oe.T.ea('017869c7d2833c9492c1');olympe.dm.oe.Mb=olympe.dm.oe.T.ea('017869c80bb9929c76d0');olympe.dm.oe.O=olympe.dm.oe.T.Ib('ff02200000000000002b');olympe.dm.oe.Fa=Z(olympe.dm.oe.T,olympe.dm.oe.O);
1518
1520
  olympe.dm.oe.U=olympe.dm.oe.T.Ib('ff02200000000000002a');olympe.dm.oe.Rb=olympe.dm.oe.T.Ib('017e9c412e2b944bd590');olympe.dm.oe.qe=olympe.dm.oe.T.Ib('017e9c416872a89d3415');olympe.dm.oe.Mc=olympe.dm.oe.T.Ib('017ebf8fe5c506662098');Z(olympe.dc.CloudObject.T,olympe.dm.oe.U);olympe.dm.oe.Kb=Df('100000000000000000dd','PRIMORDIAL');olympe.dm.oe.prototype.C.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.oe.prototype.V.K=olympe.j.J.R;olympe.dm.oe.prototype.$.K=olympe.j.J.R;
1519
1521
  olympe.dm.oe.prototype.O.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.dm.Property=class extends olympe.dc.CloudObject{F(){return this.Gf(olympe.dm.Property.definingModelRel,olympe.dc.CloudObject)}C(){return this.Gf(olympe.dm.Property.typeRel,olympe.dc.CloudObject)}mg(){return this.F().Oa().lz(this.Oa(),'.')}};olympe.dm.Property.T=olympe.dc.Na.C('ff021000000000000005',olympe.dm.Property);olympe.dm.Property.definingModelRel=Z(olympe.dm.Property.T,olympe.dc.CloudObject.propertyRel);q('olympe.dm.Property.definingModelRel',olympe.dm.Property.definingModelRel);
1520
- olympe.dm.Property.typeRel=Z(olympe.dm.Property.T,olympe.dc.CloudObject.typeRel);q('olympe.dm.Property.typeRel',olympe.dm.Property.typeRel);olympe.dm.Property.prototype.F.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Property.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Relation=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}iV(){return olympe.j.mb.EMPTY}zU(){return this.hf(olympe.dm.Relation.lC)}tV(){return this.hf(olympe.dm.Relation.eD)}bM(){return this.zc(olympe.dm.Relation.destinationModelRel,olympe.dc.CloudObject).Rd()}EM(){return this.zc(olympe.dm.Relation.originModelRel,olympe.dc.CloudObject).Rd()}mg(){return this.EM().Oa().concat(['-',this.Oa(),'->',this.bM().Oa()])}};olympe.dm.Relation.T=olympe.dc.Na.C('ff021000000000000006',olympe.dm.Relation);
1522
+ olympe.dm.Property.typeRel=Z(olympe.dm.Property.T,olympe.dc.CloudObject.typeRel);q('olympe.dm.Property.typeRel',olympe.dm.Property.typeRel);olympe.dm.Property.prototype.F.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Property.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Relation=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}jV(){return olympe.j.mb.EMPTY}AU(){return this.hf(olympe.dm.Relation.lC)}uV(){return this.hf(olympe.dm.Relation.eD)}bM(){return this.zc(olympe.dm.Relation.destinationModelRel,olympe.dc.CloudObject).Rd()}EM(){return this.zc(olympe.dm.Relation.originModelRel,olympe.dc.CloudObject).Rd()}mg(){return this.EM().Oa().concat(['-',this.Oa(),'->',this.bM().Oa()])}};olympe.dm.Relation.T=olympe.dc.Na.C('ff021000000000000006',olympe.dm.Relation);
1521
1523
  olympe.dm.Relation.eD=olympe.dm.Relation.T.ea('ff023000000000000030');olympe.dm.Relation.lC=olympe.dm.Relation.T.ea('ff023000000000000034');olympe.dm.Relation.wC=olympe.dm.Relation.T.ea('ff023000000000000037');olympe.dm.Relation.vC=olympe.dm.Relation.T.ea('ff023000000000000137');olympe.dm.Relation.qD=olympe.dm.Relation.T.ea('ff023000000000000237');olympe.dm.Relation.WD=olympe.dm.Relation.T.ea('ff023000000000000337');olympe.dm.Relation.nL=olympe.dm.Relation.T.ea('ff023000000000000031');
1522
- olympe.dm.Relation.originModelRel=Z(olympe.dm.Relation.T,olympe.dc.CloudObject.R);q('olympe.dm.Relation.originModelRel',olympe.dm.Relation.originModelRel);olympe.dm.Relation.destinationModelRel=Z(olympe.dm.Relation.T,olympe.dc.CloudObject.ca);q('olympe.dm.Relation.destinationModelRel',olympe.dm.Relation.destinationModelRel);olympe.dc.Ve={NONE:null,wY:olympe.dm.Relation.wC.da(),hh:olympe.dm.Relation.vC.da(),ri:olympe.dm.Relation.qD.da(),g_:olympe.dm.Relation.WD.da()};
1523
- olympe.dc.Ve.toString=function(a){for(const [b,c]of Object.entries(olympe.dc.Ve))if(c===a)return b;return null};olympe.dm.Relation.C={fB:0,BA:5,wJ:1,sS:4,Yy:2,Jy:8,vF:10,oS:6,pS:9,cf:6,rS:9};olympe.dm.Relation.F={RR:3,DB:4,BR:5,AR:6};olympe.dm.Relation.O=olympe.dm.Vg.XI+olympe.dm.Vg.jF;h=olympe.dm.Relation.prototype;h.iV.K=olympe.j.J.R;h.zU.K=olympe.j.J.F;h.tV.K=olympe.j.J.F;h.bM.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.EM.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Mn=class extends olympe.dc.CloudObject{getValue(){}};olympe.dm.Mn.T=olympe.dc.Na.C('ff021000000000000019',olympe.dm.Mn);olympe.dm.String=class extends olympe.dm.Mn{getValue(){return this.ke(olympe.dm.String.valueProp)}toString(){return this.get(olympe.dm.String.valueProp)}};olympe.dm.String.T=olympe.dc.Na.C('ff021000000000000011',olympe.dm.String);olympe.dm.String.valueProp=olympe.dm.String.T.ea('ff023000000000000026');q('olympe.dm.String.valueProp',olympe.dm.String.valueProp);olympe.dm.String.prototype.getValue.K=olympe.j.J.R;olympe.dm.String.prototype.toString.K=olympe.j.J.O;olympe.dm.Boolean=class extends olympe.dm.Mn{getValue(){return this.rk(olympe.dm.Boolean.valueProp)}};olympe.dm.Boolean.T=olympe.dc.Na.C('ff021000000000000012',olympe.dm.Boolean);olympe.dm.Boolean.valueProp=olympe.dm.Boolean.T.ea('ff023000000000000027');q('olympe.dm.Boolean.valueProp',olympe.dm.Boolean.valueProp);olympe.dm.Boolean.prototype.getValue.K=olympe.j.J.U;olympe.dm.Color=class extends olympe.dm.Mn{getValue(){return this.NM()}};olympe.dm.Color.T=olympe.dc.Na.C('ff021000000000000017',olympe.dm.Color);olympe.dm.Color.valueProp=olympe.dm.Color.T.ea('ff023000000000000032');q('olympe.dm.Color.valueProp',olympe.dm.Color.valueProp);olympe.dm.Color.prototype.getValue.K=new olympe.j.J(()=>olympe.j.Color,[]);olympe.dm.DateTime=class extends olympe.dm.Mn{getValue(){return this.pw(olympe.dm.DateTime.valueProp)}};olympe.dm.DateTime.T=olympe.dc.Na.C('ff021000000000000014',olympe.dm.DateTime);olympe.dm.DateTime.valueProp=olympe.dm.DateTime.T.ea('ff023000000000000029');q('olympe.dm.DateTime.valueProp',olympe.dm.DateTime.valueProp);olympe.dm.DateTime.prototype.getValue.K=new olympe.j.J(()=>olympe.j.hc,[]);olympe.dm.Enum=class extends olympe.dm.String{Oa(){return olympe.j.fb([super.Oa(),super.getValue()],(a,b)=>''!==a.valueOf()?a:b,olympe.j.mb)}jf(){return this.hf(olympe.dm.Enum.rankProp)}static create(a,b,c,d,e){const f=olympe.dc.cc();e=void 0!==e?e:f.pe(b)&&f.aj(b).length||0;c=(new Map).set(olympe.dm.String.valueProp,c).set(olympe.dc.CloudObject.nameProp,d||c).set(olympe.dm.Enum.rankProp,e);return a.create(b,c)}};olympe.dm.Enum.create=olympe.dm.Enum.create;
1524
- olympe.dm.Enum.T=olympe.dc.Na.C('016cdd861b32d56c81f7',olympe.dm.Enum);olympe.dm.Enum.rankProp=olympe.dm.Enum.T.ea('017a7690c915975ea995');olympe.dm.Enum.prototype.jf.K=olympe.j.J.F;olympe.dm.fp=class extends olympe.dm.BrickMetadata{OV(){return this.fe(olympe.dc.CloudObject.instancesRel).Kq(olympe.dm.Enum.rankProp,olympe.dc.ra.Cy.ASC).al()}static create(a,b){b=a.create(olympe.dm.fp,(new Map).set(olympe.dc.CloudObject.nameProp,b));a.Ob(olympe.dc.CloudObject.extendRel,b,olympe.dm.Enum);return b}};olympe.dm.fp.create=olympe.dm.fp.create;olympe.dm.fp.prototype.getValues=olympe.dm.fp.prototype.OV;olympe.dm.fp.T=olympe.dc.Na.C('017a768f966fc08ebb98',olympe.dm.fp);olympe.dm.Number=class extends olympe.dm.Mn{getValue(){return this.hf(olympe.dm.Number.valueProp)}};olympe.dm.Number.T=olympe.dc.Na.C('ff021000000000000013',olympe.dm.Number);olympe.dm.Number.valueProp=olympe.dm.Number.T.ea('ff023000000000000028');q('olympe.dm.Number.valueProp',olympe.dm.Number.valueProp);olympe.dm.Number.prototype.getValue.K=olympe.j.J.F;olympe.sc={};olympe.sc.fa={Qb:'sc.Logger',Ky:'sc.RootContext'};olympe.sc.za={Ml:'sc.app',$o:'sc.debug',kF:'sc.disableTheme',PRODUCTION:'sc.production',UI:'sc.onstartTimeout',xJ:'sc.remoteActionTimeout',BB:'sc.offlineStart',CR:'google.apikey'};
1525
- olympe.oa.Fe(a=>{C(a,olympe.sc.za.Ml,'');C(a,olympe.sc.za.BB,!1);C(a,olympe.sc.za.$o,!1);C(a,olympe.sc.za.kF,!1);C(a,olympe.sc.za.PRODUCTION,!1);C(a,olympe.sc.za.UI,2E4);C(a,olympe.sc.za.CR,'AIzaSyD0rTnF3Tq-ZjgdaqyvC8Jg-RSgpZM2jBU');C(a,olympe.sc.za.xJ,1E4);A(a,olympe.sc.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('sc'));A(a,olympe.sc.fa.Ky,[new olympe.oa.Ta(olympe.sc.za.PRODUCTION),new olympe.oa.Ta(olympe.sc.za.UI)],b=>{const c=new olympe.sc.ic('root','root',null);olympe.sc.SN=c;c.set(olympe.sc.ic.Mh.PRODUCTION,
1526
- b);return c})},'olympe.sc');olympe.oa.run([olympe.sc.fa.Ky],a=>{olympe.jw().ctx=a});olympe.sc.Oz=()=>null!==olympe.dc.cc().xe(void 0,olympe.sc.Runnable.ga.Pe());olympe.sc.s0=(a,b,c,d)=>{c=a.create(olympe.sc.Vf).setProperty(olympe.sc.Vf.C,c||null).setProperty(olympe.sc.Vf.O,d||null);a.Ob(olympe.sc.Vf.F,c,b);a.Ob(olympe.dc.CloudObject.containsRel,b,c);return c.da()};olympe.sc.Np=a=>{a=olympe.dc.pa.Ye.Np(a);return a instanceof olympe.sc.gk?a.C():a};olympe.sc.F0=a=>{a=vf(a);return a instanceof olympe.sc.gk?a.C():a};
1527
- olympe.sc.D0=function(a){const b=olympe.dm.Ue.C.Pe(),c=olympe.dc.CloudObject.containsRel.Pe();var d=olympe.dc.Hb(a);if(void 0===d)return[];a=olympe.dc.cc();var e=a.model(d);const f=[],g=[];let k=[];if(a.yw(e,olympe.dm.Ue))k.push(d);else{for(e=[];null===a.xe(d,b);){e.push(d);const l=a.xe(d,c);if(null===l)return olympe.ub.Gb('sc').warn(`Object ${d} has no container`),[];l===a.xe(d,olympe.dc.CloudObject.instancesRel)?(f.push(d),d=a.xe(l,c)):d=l;if(e.includes(d))throw Error(`Instance ${d} (${a.name(d)}) is part of a cyclic contain pattern`);
1528
- }g.push(d);k.push(a.xe(g[0],b))}k=k.concat(a.Bm(k[0],olympe.dm.Ue.Ab));k=k.concat(a.Bm(k[k.length-1],olympe.dm.mh.$.Pe()));k=k.concat(a.Bm(k[k.length-1],olympe.dm.mh.V.Pe()));return[...f,...g,...k].reverse()};olympe.sc.XU=a=>{a=a&&a.valueOf()||'';return a.startsWith('image/')?olympe.sc.Dn:a.startsWith('video/')?olympe.sc.nt:a.startsWith('font/')||a.startsWith('application/font-woff')?olympe.sc.Lg:olympe.dm.File};let Hl=0,Il=0;function Jl(a,b){if(null===a)return null;if(a.has(b))return a.get(b);for(const c of a.values())if(c.iC&&c.Xt()&&(a=Jl(c.children,b)))return a;return null}function Kl(a,b){if(a.children)for(const c of a.children.values())b(c)}function Ll(a,b){b=olympe.dc.Hb(b);let c,d;return(null==(c=a.Yt)?void 0:c.get('O#'+b))||(null==(d=a.Yt)?void 0:d.get('IO#'+b))||b}
1524
+ olympe.dm.Relation.originModelRel=Z(olympe.dm.Relation.T,olympe.dc.CloudObject.R);q('olympe.dm.Relation.originModelRel',olympe.dm.Relation.originModelRel);olympe.dm.Relation.destinationModelRel=Z(olympe.dm.Relation.T,olympe.dc.CloudObject.ca);q('olympe.dm.Relation.destinationModelRel',olympe.dm.Relation.destinationModelRel);olympe.dc.Ve={NONE:null,xY:olympe.dm.Relation.wC.da(),hh:olympe.dm.Relation.vC.da(),ri:olympe.dm.Relation.qD.da(),h_:olympe.dm.Relation.WD.da()};
1525
+ olympe.dc.Ve.toString=function(a){for(const [b,c]of Object.entries(olympe.dc.Ve))if(c===a)return b;return null};olympe.dm.Relation.C={fB:0,BA:5,wJ:1,tS:4,Yy:2,Jy:8,vF:10,pS:6,qS:9,cf:6,sS:9};olympe.dm.Relation.F={SR:3,DB:4,CR:5,BR:6};olympe.dm.Relation.O=olympe.dm.Vg.XI+olympe.dm.Vg.jF;h=olympe.dm.Relation.prototype;h.jV.K=olympe.j.J.R;h.AU.K=olympe.j.J.F;h.uV.K=olympe.j.J.F;h.bM.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.EM.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Mn=class extends olympe.dc.CloudObject{getValue(){}};olympe.dm.Mn.T=olympe.dc.Na.C('ff021000000000000019',olympe.dm.Mn);olympe.dm.String=class extends olympe.dm.Mn{getValue(){return this.ke(olympe.dm.String.valueProp)}toString(){return this.get(olympe.dm.String.valueProp)}};olympe.dm.String.T=olympe.dc.Na.C('ff021000000000000011',olympe.dm.String);olympe.dm.String.valueProp=olympe.dm.String.T.ea('ff023000000000000026');q('olympe.dm.String.valueProp',olympe.dm.String.valueProp);olympe.dm.String.prototype.getValue.K=olympe.j.J.R;olympe.dm.String.prototype.toString.K=olympe.j.J.O;olympe.dm.Boolean=class extends olympe.dm.Mn{getValue(){return this.rk(olympe.dm.Boolean.valueProp)}};olympe.dm.Boolean.T=olympe.dc.Na.C('ff021000000000000012',olympe.dm.Boolean);olympe.dm.Boolean.valueProp=olympe.dm.Boolean.T.ea('ff023000000000000027');q('olympe.dm.Boolean.valueProp',olympe.dm.Boolean.valueProp);olympe.dm.Boolean.prototype.getValue.K=olympe.j.J.U;olympe.dm.Color=class extends olympe.dm.Mn{getValue(){return this.NM()}};olympe.dm.Color.T=olympe.dc.Na.C('ff021000000000000017',olympe.dm.Color);olympe.dm.Color.valueProp=olympe.dm.Color.T.ea('ff023000000000000032');q('olympe.dm.Color.valueProp',olympe.dm.Color.valueProp);olympe.dm.Color.prototype.getValue.K=new olympe.j.J(()=>olympe.j.Color,[]);olympe.dm.DateTime=class extends olympe.dm.Mn{getValue(){return this.pw(olympe.dm.DateTime.valueProp)}};olympe.dm.DateTime.T=olympe.dc.Na.C('ff021000000000000014',olympe.dm.DateTime);olympe.dm.DateTime.valueProp=olympe.dm.DateTime.T.ea('ff023000000000000029');q('olympe.dm.DateTime.valueProp',olympe.dm.DateTime.valueProp);olympe.dm.DateTime.prototype.getValue.K=new olympe.j.J(()=>olympe.j.hc,[]);olympe.dm.Enum=class extends olympe.dm.String{Oa(){return olympe.j.fb([super.Oa(),super.getValue()],(a,b)=>''!==a.valueOf()?a:b,olympe.j.mb)}jf(){return this.hf(olympe.dm.Enum.rankProp)}static create(a,b,c,d,e){const f=olympe.dc.cc();e=void 0!==e?e:f.pe(b)&&f.aj(b).length||0;c=(new Map).set(olympe.dm.String.valueProp,c).set(olympe.dc.CloudObject.nameProp,d||c).set(olympe.dm.Enum.rankProp,e);return a.create(b,c)}};olympe.dm.Enum.create=olympe.dm.Enum.create;
1526
+ olympe.dm.Enum.T=olympe.dc.Na.C('016cdd861b32d56c81f7',olympe.dm.Enum);olympe.dm.Enum.rankProp=olympe.dm.Enum.T.ea('017a7690c915975ea995');olympe.dm.Enum.prototype.jf.K=olympe.j.J.F;olympe.dm.fp=class extends olympe.dm.BrickMetadata{PV(){return this.fe(olympe.dc.CloudObject.instancesRel).Kq(olympe.dm.Enum.rankProp,olympe.dc.ra.Cy.ASC).al()}static create(a,b){b=a.create(olympe.dm.fp,(new Map).set(olympe.dc.CloudObject.nameProp,b));a.Ob(olympe.dc.CloudObject.extendRel,b,olympe.dm.Enum);return b}};olympe.dm.fp.create=olympe.dm.fp.create;olympe.dm.fp.prototype.getValues=olympe.dm.fp.prototype.PV;olympe.dm.fp.T=olympe.dc.Na.C('017a768f966fc08ebb98',olympe.dm.fp);olympe.dm.Number=class extends olympe.dm.Mn{getValue(){return this.hf(olympe.dm.Number.valueProp)}};olympe.dm.Number.T=olympe.dc.Na.C('ff021000000000000013',olympe.dm.Number);olympe.dm.Number.valueProp=olympe.dm.Number.T.ea('ff023000000000000028');q('olympe.dm.Number.valueProp',olympe.dm.Number.valueProp);olympe.dm.Number.prototype.getValue.K=olympe.j.J.F;olympe.sc={};olympe.sc.fa={Qb:'sc.Logger',Ky:'sc.RootContext'};olympe.sc.za={Ml:'sc.app',$o:'sc.debug',kF:'sc.disableTheme',PRODUCTION:'sc.production',UI:'sc.onstartTimeout',xJ:'sc.remoteActionTimeout',BB:'sc.offlineStart',DR:'google.apikey'};
1527
+ olympe.oa.Fe(a=>{C(a,olympe.sc.za.Ml,'');C(a,olympe.sc.za.BB,!1);C(a,olympe.sc.za.$o,!1);C(a,olympe.sc.za.kF,!1);C(a,olympe.sc.za.PRODUCTION,!1);C(a,olympe.sc.za.UI,2E4);C(a,olympe.sc.za.DR,'AIzaSyD0rTnF3Tq-ZjgdaqyvC8Jg-RSgpZM2jBU');C(a,olympe.sc.za.xJ,1E4);A(a,olympe.sc.fa.Qb,[olympe.ub.fa.sb],b=>b.Pg('sc'));A(a,olympe.sc.fa.Ky,[new olympe.oa.Ta(olympe.sc.za.PRODUCTION),new olympe.oa.Ta(olympe.sc.za.UI)],b=>{const c=new olympe.sc.ic('root','root',null);olympe.sc.SN=c;c.set(olympe.sc.ic.Mh.PRODUCTION,
1528
+ b);return c})},'olympe.sc');olympe.oa.run([olympe.sc.fa.Ky],a=>{olympe.jw().ctx=a});olympe.sc.Oz=()=>null!==olympe.dc.cc().xe(void 0,olympe.sc.Runnable.ga.Pe());olympe.sc.t0=(a,b,c,d)=>{c=a.create(olympe.sc.Vf).setProperty(olympe.sc.Vf.C,c||null).setProperty(olympe.sc.Vf.O,d||null);a.Ob(olympe.sc.Vf.F,c,b);a.Ob(olympe.dc.CloudObject.containsRel,b,c);return c.da()};olympe.sc.Np=a=>{a=olympe.dc.pa.Ye.Np(a);return a instanceof olympe.sc.gk?a.C():a};olympe.sc.G0=a=>{a=vf(a);return a instanceof olympe.sc.gk?a.C():a};
1529
+ olympe.sc.E0=function(a){const b=olympe.dm.Ue.C.Pe(),c=olympe.dc.CloudObject.containsRel.Pe();var d=olympe.dc.Hb(a);if(void 0===d)return[];a=olympe.dc.cc();var e=a.model(d);const f=[],g=[];let k=[];if(a.yw(e,olympe.dm.Ue))k.push(d);else{for(e=[];null===a.xe(d,b);){e.push(d);const l=a.xe(d,c);if(null===l)return olympe.ub.Gb('sc').warn(`Object ${d} has no container`),[];l===a.xe(d,olympe.dc.CloudObject.instancesRel)?(f.push(d),d=a.xe(l,c)):d=l;if(e.includes(d))throw Error(`Instance ${d} (${a.name(d)}) is part of a cyclic contain pattern`);
1530
+ }g.push(d);k.push(a.xe(g[0],b))}k=k.concat(a.Bm(k[0],olympe.dm.Ue.Ab));k=k.concat(a.Bm(k[k.length-1],olympe.dm.mh.$.Pe()));k=k.concat(a.Bm(k[k.length-1],olympe.dm.mh.V.Pe()));return[...f,...g,...k].reverse()};olympe.sc.YU=a=>{a=a&&a.valueOf()||'';return a.startsWith('image/')?olympe.sc.Dn:a.startsWith('video/')?olympe.sc.nt:a.startsWith('font/')||a.startsWith('application/font-woff')?olympe.sc.Lg:olympe.dm.File};let Hl=0,Il=0;function Jl(a,b){if(null===a)return null;if(a.has(b))return a.get(b);for(const c of a.values())if(c.iC&&c.Xt()&&(a=Jl(c.children,b)))return a;return null}function Kl(a,b){if(a.children)for(const c of a.children.values())b(c)}function Ll(a,b){b=olympe.dc.Hb(b);let c,d;return(null==(c=a.Yt)?void 0:c.get('O#'+b))||(null==(d=a.Yt)?void 0:d.get('IO#'+b))||b}
1529
1531
  function Ml(a,b,c,d){const e='$'+b;a.zt.add(b);c.map(f=>'@'+f+'.'+b).forEach(f=>{let g,k;null==(g=a.Bh)||null==(k=g.get(f))||k.forEach(l=>{l(d)})});Kl(a,f=>{!f.qC&&f.zt.has(b)||f.data.has(e)||Ml(f,b,c,d)});a.zt.delete(b)}function Nl(a,b){b=olympe.dc.Hb(b);let c,d;return(null==(c=a.Yt)?void 0:c.get('I#'+b))||(null==(d=a.Yt)?void 0:d.get('IO#'+b))||b}
1530
1532
  function Ol(a,b,c){a.zt.add(b);let d;const e=null==(d=a.Bh)?void 0:d.get('&'+b);if(e)for(const f of e.values())f(c);Kl(a,f=>{f.zt.has(b)||Ol(f,b,c)});a.zt.delete(b)}function Pl(a,b){let c;return(null==(c=a.Yt)?void 0:c.get('IO#'+b))||null}function Ql(a,b){if(a.lk&&a.lk.has(b)){var c=a.lk.get(b);--c[0];0===c[0]&&(a.lk.delete(b),0===a.lk.size&&(a.lk=null),Of(olympe.dc.yi(),null,c[1]))}}function Rl(a,b){null===a.children&&(a.children=new Map);a.children.set(b.id,b)}
1531
1533
  function Sl(a,b){let c;null==(c=a.children)||c.delete(b.xa());let d;0===(null==(d=a.children)?void 0:d.size)&&(a.children=null)}
@@ -1539,9 +1541,9 @@ b){this.lk||(this.lk=new Map);const c=this.lk.get(a);c?c[0]+=1:(this.lk.set(a,[1
1539
1541
  this.Ze.onDestroy(()=>{this.lk&&this.lk.forEach(([c],d)=>{for(let e=0;e<c;e++)Ql(this,d)});let b;null==(b=this.parent)||Sl(b,this);this.Ar.clear();this.parent=null;null!==this.get(olympe.sc.ic.Mh.TRANSACTION)&&this.Y.warn(`The context ${this.id} is being destroyed but still has unreleased transactions. You probably forgot to end a transaction.`)});let a;null==(a=this.parent)||Rl(a,this)}km(a,b){this.Bh||(this.Bh=new Map);let c=this.Bh.get(a);void 0===c&&(c=new Map,this.Bh.set(a,c));++Hl;const d=Hl;
1540
1542
  c.set(d,b);return()=>{const e=this.Bh.get(a);e&&(e.delete(d),0===e.size&&this.Bh.delete(a))}}Jc(){return this.Ze.Jc()}oo(){const a=this.Ua(olympe.sc.ic.Mh.EDITION);return a?a:!1}Wt(){const a=this.Ua(olympe.sc.ic.Mh.PRODUCTION);return a?a:!1}};olympe.sc.ic.prototype.clear=olympe.sc.ic.prototype.clear;olympe.sc.ic.prototype.offDestroy=olympe.sc.ic.prototype.rl;olympe.sc.ic.prototype.onDestroy=olympe.sc.ic.prototype.onDestroy;olympe.sc.ic.prototype.offClear=olympe.sc.ic.prototype.Cw;
1541
1543
  olympe.sc.ic.prototype.onClear=olympe.sc.ic.prototype.Wr;olympe.sc.ic.prototype.destroy=olympe.sc.ic.prototype.destroy;olympe.sc.ic.prototype.getOtherContext=olympe.sc.ic.prototype.Pt;olympe.sc.ic.prototype.onContext=olympe.sc.ic.prototype.Ew;olympe.sc.ic.prototype.createChild=olympe.sc.ic.prototype.Zn;olympe.sc.ic.prototype.setParentElement=olympe.sc.ic.prototype.hx;olympe.sc.ic.prototype.waitFor=olympe.sc.ic.prototype.Cx;olympe.sc.ic.prototype.runner=olympe.sc.ic.prototype.$z;
1542
- olympe.sc.ic.prototype.repeat=olympe.sc.ic.prototype.repeat;olympe.sc.ic.prototype.observe=olympe.sc.ic.prototype.observe;olympe.sc.ic.prototype.has=olympe.sc.ic.prototype.has;olympe.sc.ic.prototype.get=olympe.sc.ic.prototype.get;olympe.sc.ic.prototype.remove=olympe.sc.ic.prototype.remove;olympe.sc.ic.prototype.trigger=olympe.sc.ic.prototype.gn;olympe.sc.ic.prototype.set=olympe.sc.ic.prototype.set;olympe.sc.ic.prototype.getParent=olympe.sc.ic.prototype.getParent;olympe.sc.ic.sf={YP:'I#',ZR:'O#',ZP:'IO#'};
1543
- olympe.sc.ic.Mh={PRODUCTION:'__production',EDITION:'__editionMode',TRANSACTION:'__transaction',xn:'__htmlContainer',Tq:'__dockableElement'};olympe.sc.Metadata=class extends olympe.dc.CloudObject{};olympe.sc.Metadata.T=olympe.dc.Na.C('0161ae936c62f9fcd131',olympe.sc.Metadata);olympe.sc.Vf=class extends olympe.dc.CloudObject{F(){return this.ke(olympe.sc.Vf.O)}C(){return this.ke(olympe.sc.Vf.C)}};olympe.sc.Vf.T=olympe.dc.Na.C('01703376c4a81c0e9d90',olympe.sc.Vf);olympe.sc.Vf.O=olympe.sc.Vf.T.ea('01703376c4a81c0e9d91');olympe.sc.Vf.C=olympe.sc.Vf.T.ea('01703376c4a81c0e9d92');olympe.sc.Vf.F=olympe.sc.Vf.T.Ib('01703376c4a81c0e9d93');Z(olympe.dc.CloudObject.T,olympe.sc.Vf.F);olympe.sc.Vf.prototype.F.K=olympe.j.J.R;olympe.sc.Vf.prototype.C.K=olympe.j.J.R;olympe.sc.pa={};olympe.sc.pa.hZ=class{constructor(a,b,c){this.Y=a;b.Y.error('Try to set cors policies on a web server with the browser implementation.');this.F=c;new olympe.pa.UB(3E4);this.C=new olympe.j.Qd('FileService context')}start(a){this.Y.debug(`Started file service with path : ${`/${this.F}/${a}/:${'fileTag'}`.replace(/\/+/g,'/').replace(/\/$/,'')}`);a=Promise.reject('Try to open a route on a web server using the browser implementation.');this.C.onDestroy(()=>{Promise.reject('Try to close a route on a web server using the browser implementation.').catch(b=>
1544
- this.Y.error(`An error occurred while stopping the file service: ${b}`))});return a}stop(){this.C.destroy()}};olympe.sc.wc={};olympe.sc.wc.$k={lY:null,IJ:'screenflow',WB:'ui-design',KJ:'software-intelligence',Qx:'data-management'};olympe.sc.Uh=class extends olympe.dm.BrickMetadata{R(){return olympe.sc.wc.$k.KJ}C(){return this.zc(olympe.sc.Uh.C,olympe.sc.logic.mr)}F(){return this.zc(olympe.sc.Uh.F,olympe.sc.logic.Cp)}};olympe.sc.Uh.T=olympe.dc.Na.C('011100000000000adef0',olympe.sc.Uh);olympe.sc.Uh.C=olympe.sc.Uh.T.Ib('016ac4f59a2917fdef01');olympe.sc.Uh.F=olympe.sc.Uh.T.Ib('016ac4f59a2917fdef02');olympe.sc.Uh.T.C=(a,b)=>bh(a,b||'New function signature',olympe.sc.Uh,olympe.sc.logic.ak).da();
1544
+ olympe.sc.ic.prototype.repeat=olympe.sc.ic.prototype.repeat;olympe.sc.ic.prototype.observe=olympe.sc.ic.prototype.observe;olympe.sc.ic.prototype.has=olympe.sc.ic.prototype.has;olympe.sc.ic.prototype.get=olympe.sc.ic.prototype.get;olympe.sc.ic.prototype.remove=olympe.sc.ic.prototype.remove;olympe.sc.ic.prototype.trigger=olympe.sc.ic.prototype.gn;olympe.sc.ic.prototype.set=olympe.sc.ic.prototype.set;olympe.sc.ic.prototype.getParent=olympe.sc.ic.prototype.getParent;olympe.sc.ic.sf={ZP:'I#',$R:'O#',$P:'IO#'};
1545
+ olympe.sc.ic.Mh={PRODUCTION:'__production',EDITION:'__editionMode',TRANSACTION:'__transaction',xn:'__htmlContainer',Tq:'__dockableElement'};olympe.sc.Metadata=class extends olympe.dc.CloudObject{};olympe.sc.Metadata.T=olympe.dc.Na.C('0161ae936c62f9fcd131',olympe.sc.Metadata);olympe.sc.Vf=class extends olympe.dc.CloudObject{F(){return this.ke(olympe.sc.Vf.O)}C(){return this.ke(olympe.sc.Vf.C)}};olympe.sc.Vf.T=olympe.dc.Na.C('01703376c4a81c0e9d90',olympe.sc.Vf);olympe.sc.Vf.O=olympe.sc.Vf.T.ea('01703376c4a81c0e9d91');olympe.sc.Vf.C=olympe.sc.Vf.T.ea('01703376c4a81c0e9d92');olympe.sc.Vf.F=olympe.sc.Vf.T.Ib('01703376c4a81c0e9d93');Z(olympe.dc.CloudObject.T,olympe.sc.Vf.F);olympe.sc.Vf.prototype.F.K=olympe.j.J.R;olympe.sc.Vf.prototype.C.K=olympe.j.J.R;olympe.sc.pa={};olympe.sc.pa.iZ=class{constructor(a,b,c){this.Y=a;b.Y.error('Try to set cors policies on a web server with the browser implementation.');this.F=c;new olympe.pa.UB(3E4);this.C=new olympe.j.Qd('FileService context')}start(a){this.Y.debug(`Started file service with path : ${`/${this.F}/${a}/:${'fileTag'}`.replace(/\/+/g,'/').replace(/\/$/,'')}`);a=Promise.reject('Try to open a route on a web server using the browser implementation.');this.C.onDestroy(()=>{Promise.reject('Try to close a route on a web server using the browser implementation.').catch(b=>
1546
+ this.Y.error(`An error occurred while stopping the file service: ${b}`))});return a}stop(){this.C.destroy()}};olympe.sc.wc={};olympe.sc.wc.$k={mY:null,IJ:'screenflow',WB:'ui-design',KJ:'software-intelligence',Qx:'data-management'};olympe.sc.Uh=class extends olympe.dm.BrickMetadata{R(){return olympe.sc.wc.$k.KJ}C(){return this.zc(olympe.sc.Uh.C,olympe.sc.logic.mr)}F(){return this.zc(olympe.sc.Uh.F,olympe.sc.logic.Cp)}};olympe.sc.Uh.T=olympe.dc.Na.C('011100000000000adef0',olympe.sc.Uh);olympe.sc.Uh.C=olympe.sc.Uh.T.Ib('016ac4f59a2917fdef01');olympe.sc.Uh.F=olympe.sc.Uh.T.Ib('016ac4f59a2917fdef02');olympe.sc.Uh.T.C=(a,b)=>bh(a,b||'New function signature',olympe.sc.Uh,olympe.sc.logic.ak).da();
1545
1547
  olympe.sc.Uh.prototype.C.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.Uh.prototype.F.K=new olympe.j.J(()=>olympe.dc.Db,[]);function Tl(a,b){const c=[];for(const d of b)b=a.db.kd(d,olympe.sc.logic.Zf.C,!0),c[b]=d;return c}function Ul(a){return Tl(a,a.db.zc(a.tag,olympe.sc.Zc.F))}function Vl(a){return Tl(a,a.db.zc(a.tag,olympe.sc.Zc.O))}
1546
1548
  olympe.sc.Zc=class extends olympe.dm.BrickMetadata{Ha(a,b,c,d,e=!0){e||olympe.ub.Gb('sc').error('parameter own= false ignored, investigate');return olympe.j.ci(nb(this.no(a,olympe.dc.pa.Ye.Np,c)),d)}Al(a){this.F().forEach(b=>b.call(this,a,(c,d)=>{null===d?a.remove(c):a.set(c,d)}))}F(){return[]}ga(a,b){const c=this.db,d=olympe.pa.Xi();a=olympe.j.jb();Bg(c,this.tag,a.C((e,f)=>{null===f||void 0===f?b(e,null):b(e,olympe.sc.Np(f))}),d);a.onDestroy(()=>{Cg(c,this.tag,d)})}qw(){return this.zc(olympe.sc.Zc.U,
1547
1549
  olympe.sc.Runnable)}aM(){return this.zc(olympe.sc.Zc.V,olympe.sc.Runnable)}zw(){return this.db.kd(this,olympe.sc.Zc.Ab)}Oz(){return null!==this.db.xe(this.tag,olympe.sc.Runnable.ga.Pe())}getInputs(){return this.zc(olympe.sc.Zc.F,olympe.sc.logic.de)}getOutputs(){return this.zc(olympe.sc.Zc.O,olympe.sc.logic.Ae)}};olympe.sc.Zc.T=olympe.dc.Na.C('0112000000000000def0',olympe.sc.Zc);olympe.sc.Zc.Ab=olympe.sc.Zc.T.ea('01692aa71f3108454479');olympe.sc.Zc.Mb=olympe.sc.Zc.T.ea('0166446c1f128ebc903a');
@@ -1553,21 +1555,21 @@ Xl(this,d,olympe.sc.Zc.U,a),this.cb()&&Xl(this,d,olympe.sc.Zc.na,a)}Ka(a){a.gn(o
1553
1555
  d=`Brick ${c} successfully run`,e=`Brick ${c} successfully cleared`,f=this.Pa(a);b=this.setupExecution(a).pipe(rxjs.operators.map(g=>a.Jc()||(a.clear(),null===g)?!1:(a.Ff().run(this.update.bind(this,new olympe.sc.fd(a),Array.isArray(g)?g:[g],f)),!0))).subscribe(rxjs.Subscriber.create(g=>g?this.Y.debug(d):this.Y.debug(e),this.Ab.bind(this,a),()=>this.Y.debug(`Brick ${c} completed`)));a.onDestroy(b.unsubscribe.bind(b))}Ha(a,b,c,d,e=!0){a=b.Ca(a,c,e);void 0!==d&&olympe.j.ci(a,d);return a}O(a,b,c,d,e){olympe.j.Jg([d],
1554
1556
  f=>{b.set(a,olympe.j.GN(f)?f.valueOf():f)});return this.Ha(a,b,c,e)}Al(a){a.$C(this);this.Dg().Al(a);const b=this.V(),c=Yl(a,b),d=[];b.forEach((e,f)=>{e===this.$?d[0]=f:e===this.ga&&(d[1]=f)});void 0!==d[0]&&void 0!==d[1]&&(Zl(this,c[d[0]],c[d[1]]),b[d[0]]=null,b[d[1]]=null);b.forEach((e,f)=>{e&&e.call(this,a,c[f])})}V(){return[this.$,this.ga]}$(a,b){Zl(this,b,null)}ga(a,b){Zl(this,null,b)}Fa(a,b){const c=this.db,d=olympe.sc.logic.wd.O.Pe(),e=olympe.sc.logic.wd.C,f=olympe.sc.logic.wd.F;this.BC(d,
1555
1557
  g=>{var k=g.da();if(k=c.xe(k,e)||c.xe(k,f))g=g.Al(a,b.bind(null,k)),olympe.j.jb().onDestroy(g)})}Rb(a,b){const c=olympe.sc.pg.O.Pe();this.BC(c,d=>{d.La().forEach(e=>{const f=e.da();a.on($l(d,f),g=>{b(f,g)})})})}Ab(a,b){const c=this.$e();let d=this.db.name(c);try{const e=[a.dw()];let f=a.getParent();for(;null!==f&&f!==olympe.sc.SN;)e.unshift(f.dw()),f=f.getParent();d=e.map(g=>{if(null!==g){const k=this.db.model(g);return this.db.name(g)||k&&this.db.name(k)||g}return'?'}).join(' > ')}catch(e){this.Y.warn(`Impossible to retrieve the stack for brick ${this.db.name(c)}.`)}this.Y.error(`An error occurred in brick ${d} (${c}): ${b}\n${b.stack}`)}};
1556
- olympe.sc.Runnable.T=If(olympe.dc.Na.C('01130000000000ca1100',olympe.sc.Runnable));olympe.sc.Runnable.na=olympe.sc.Runnable.T.Ib('01692a4af82e8984742b');olympe.sc.Runnable.ga=olympe.sc.Runnable.T.Ib('01756a18d4921c103111');olympe.sc.Runnable.hU=Z(olympe.sc.Runnable.T,olympe.sc.Zc.U);olympe.sc.Runnable.M0=Z(olympe.sc.Runnable.T,olympe.sc.Zc.V);olympe.sc.Runnable.P0=Z(olympe.sc.Runnable.T,olympe.sc.Zc.na);Z(olympe.sc.Zc.T,olympe.sc.Runnable.na);Z(olympe.sc.Zc.T,olympe.sc.Runnable.ga);
1558
+ olympe.sc.Runnable.T=If(olympe.dc.Na.C('01130000000000ca1100',olympe.sc.Runnable));olympe.sc.Runnable.na=olympe.sc.Runnable.T.Ib('01692a4af82e8984742b');olympe.sc.Runnable.ga=olympe.sc.Runnable.T.Ib('01756a18d4921c103111');olympe.sc.Runnable.iU=Z(olympe.sc.Runnable.T,olympe.sc.Zc.U);olympe.sc.Runnable.N0=Z(olympe.sc.Runnable.T,olympe.sc.Zc.V);olympe.sc.Runnable.Q0=Z(olympe.sc.Runnable.T,olympe.sc.Zc.na);Z(olympe.sc.Zc.T,olympe.sc.Runnable.na);Z(olympe.sc.Zc.T,olympe.sc.Runnable.ga);
1557
1559
  olympe.sc.Runnable.prototype.Dg.K=new olympe.j.J(()=>olympe.sc.Zc,[]);olympe.sc.Runnable.prototype.Ha.K=new olympe.j.J(()=>Object,[]);olympe.sc.Runnable.prototype.O.K=olympe.j.J.O;function am(a){if(a){if('string'===typeof a)return a;if(a instanceof olympe.sc.gk)return(a=a.F())?a.valueOf():null;if('function'===typeof a.da)return a.da()}return null}olympe.sc.gk=class extends olympe.dc.CloudObject{F(){return this.db.zc(this,olympe.sc.gk.C)[0]}C(){return olympe.dc.CloudObject.get(am(this))}toString(){const a=am(this);let b;a&&(b=this.db.name(a));return b||super.toString()}};olympe.sc.gk.T=olympe.dc.Na.C('0163c9ae01f2d6e9ca49',olympe.sc.gk);olympe.sc.gk.C=olympe.sc.gk.T.Ib('0169b5a8a33144fb0b49');
1558
1560
  Z(olympe.dc.CloudObject.T,olympe.sc.gk.C);olympe.sc.gk.prototype.F.K=new olympe.j.J(()=>String,[]);olympe.sc.gk.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.lF=class extends olympe.dm.Ue{R(){return olympe.sc.wc.$k.Qx}};olympe.sc.lF.T=olympe.dc.Na.C('0163a68ce44f3d1fa84c',olympe.sc.lF);olympe.sc.Qq=class extends olympe.dm.BrickMetadata{};olympe.sc.Qq.T=olympe.dc.Na.C('016324fde11a836f76c2',olympe.sc.Qq);olympe.sc.Qq.T.C=function(a,b){return bh(a,b||'New model',olympe.sc.Qq).da()};let bm=null;
1559
1561
  function cm(a,b){bm=a;(new olympe.dc.xj(a,olympe.dc.Nh.ct)).fe(olympe.sc.Vb.tj.C).fe(olympe.sc.Kh.F.Pe()).$c((c,d)=>{if(c)olympe.ub.Gb('sc').error('Error while loading business container:',c.message),b(olympe.sc.Kh.C.dg);else{c=null;for(const [e,f]of d.jg.Yh())e===olympe.sc.Kh.F.da()&&(c=f);null!==c?ai(Wh(new olympe.dc.xj(c),olympe.dc.Ve.ri),(e,f)=>{const g=olympe.dc.Yf.Sh,k=olympe.dc.Yf.Gs,l=f.da();f=f.rc();return olympe.dc.cc().$h(e,olympe.sc.Qq)&&f===olympe.dc.Pb.ORIGIN&&(l===g||l===k)}).$c(()=>
1560
1562
  b(olympe.sc.Kh.C.vI)):(olympe.ub.Gb('sc').error('No container found for the application',a),b(olympe.sc.Kh.C.zB))}})}olympe.sc.Kh=class extends olympe.dc.CloudObject{};olympe.sc.Kh.C={vI:0,zB:1,dg:2};olympe.sc.Kh.T=olympe.dc.Na.C('017b3aa8fae1e3d044dc',olympe.sc.Kh);olympe.sc.Kh.F=olympe.sc.Kh.T.Ib('017b3aa8fd1659291b92');olympe.sc.Kh.O=olympe.sc.Kh.T.Ib('017b3aa8fe7ec3fd52f2');olympe.sc.Map=class extends olympe.dc.CloudObject{};olympe.sc.Map.T=olympe.dc.Na.C('018119241abce0e5696e',olympe.sc.Map);olympe.sc.Ee=class extends olympe.sc.Map{};olympe.sc.Ee.T=olympe.dc.Na.C('01631aacd8276ea98490',olympe.sc.Ee);olympe.sc.Dn=class extends olympe.dm.File{O(){const a=olympe.j.rb(olympe.j.mb);this.Hr(b=>{a.update(olympe.j.kc(b))});return a.Ca()}};olympe.sc.Dn.T=Cf('01644b6297305d62fca2',olympe.sc.Dn);olympe.sc.Dn.T.C=olympe.dm.File.C.bind(null,olympe.sc.Dn);olympe.sc.Dn.prototype.O.K=olympe.j.J.R;olympe.sc.Lg=class extends olympe.dm.File{zi(){return this.ke(olympe.sc.Lg.O)}ml(){return this.ke(olympe.sc.Lg.U)}Ai(){return this.hf(olympe.sc.Lg.V)}};olympe.sc.Lg.T=Cf('01647e113043c637b541',olympe.sc.Lg);olympe.sc.Lg.O=olympe.sc.Lg.T.ea('01647e35ecd24ef0b88d');olympe.sc.Lg.U=olympe.sc.Lg.T.ea('01647e677f5d1cfbdf42');olympe.sc.Lg.V=olympe.sc.Lg.T.ea('01647e6780999bf8bd25');olympe.sc.Lg.T.C=(a,b,c,d)=>{c=olympe.dm.File.C(olympe.sc.Lg,a,b,c,d);a.update(c,olympe.sc.Lg.O,b.split('.')[0]);return c};
1561
1563
  olympe.sc.Lg.prototype.zi.K=olympe.j.J.R;olympe.sc.Lg.prototype.ml.K=olympe.j.J.R;olympe.sc.Lg.prototype.Ai.K=olympe.j.J.F;olympe.sc.nt=class extends olympe.dm.File{};olympe.sc.nt.T=Cf('0164643c432146a71d5c',olympe.sc.nt);olympe.sc.nt.T.C=olympe.dm.File.C.bind(null,olympe.sc.nt);olympe.sc.bL=class extends olympe.dc.CloudObject{};olympe.sc.bL.T=olympe.dc.Na.C('016421bb3797e22d1c4e',olympe.sc.bL);olympe.sc.logic={};olympe.sc.logic.WF=(a,b)=>a===b?0:a>b?1:-1;
1562
- olympe.sc.logic.yZ=(a,b,c,d,e,f,g)=>{const k=b.da();b=olympe.j.Ua(b.C().da());let l,m;if(b===olympe.dc.Hb(olympe.dm.String))l=c.valueOf().toLowerCase(),m=p=>p.ke(k).toLowerCase();else if(b===olympe.dc.Hb(olympe.dm.Number))l=c.valueOf(),m=p=>p.hf(k);else if(b===olympe.dc.Hb(olympe.dm.DateTime))l=c.getTime(),m=p=>olympe.j.fb([p.pw(k)],r=>r.getTime(),Number,'FilterList Date&DateTime TransformFlows');else{c=olympe.dc.cc().name(b);g.warn(`Properties of type ${c} are not supported. List will not be filtered.`);e(a);
1564
+ olympe.sc.logic.zZ=(a,b,c,d,e,f,g)=>{const k=b.da();b=olympe.j.Ua(b.C().da());let l,m;if(b===olympe.dc.Hb(olympe.dm.String))l=c.valueOf().toLowerCase(),m=p=>p.ke(k).toLowerCase();else if(b===olympe.dc.Hb(olympe.dm.Number))l=c.valueOf(),m=p=>p.hf(k);else if(b===olympe.dc.Hb(olympe.dm.DateTime))l=c.getTime(),m=p=>olympe.j.fb([p.pw(k)],r=>r.getTime(),Number,'FilterList Date&DateTime TransformFlows');else{c=olympe.dc.cc().name(b);g.warn(`Properties of type ${c} are not supported. List will not be filtered.`);e(a);
1563
1565
  return}let n;if('<'===f)n=(p,r)=>olympe.sc.logic.WF(r,p);else if('>'===f)n=(p,r)=>olympe.sc.logic.WF(p,r);else{g.error(`Unknown inequality ${f}. Please use '<' or '>'`);return}e(a.Vh().filter(p=>olympe.j.fb([m(p)],r=>{r=n(r.valueOf(),l);return olympe.j.Pc(d.valueOf()?1===r:0<=r)},olympe.j.ka,'FilterList ListDefBuilder Filter TransformFlows')).Vd())};
1564
- olympe.sc.logic.r0=(a,b)=>{if(a instanceof olympe.j.aa)return a;if(a instanceof olympe.j.mb)return a.yO();if(a instanceof olympe.j.ka)return a.BM();if('string'===typeof a||'number'===typeof a)return olympe.j.Da(Number(a));b.error(`Could not parse provided value ${a} into a number`);return olympe.j.aa.OI};olympe.sc.logic.vb={};function dm(a){Hf(a.T,(b,c)=>{b=b.create(a.T.F);b.setProperty(olympe.dc.CloudObject.nameProp,c);return b.da()})}olympe.sc.logic.vb.LF=class{constructor(a,b,c){this.T=olympe.dc.Na.C(a,b,...c);dm(this)}da(){return this.T.da()}getInputs(){return Ul(olympe.dc.CloudObject.get(this.T))}getOutputs(){return Vl(olympe.dc.CloudObject.get(this.T))}};olympe.sc.logic.vb.LF.ua=[olympe.dc.dk];const em=Object.create(null),fm=new Map;function gm(a){if(void 0===em[a])throw Error(`Tag: ${a} - does not correspond to a registered function`);return Ef(a)}function hm(a,b,c=olympe.sc.logic.Function){if(fm.has(a))throw c=gm(a),Error(`Tag: ${a} - overwriting existing function definition "${c.name}" with "${b.name}"`);const d=olympe.dc.Na.C(a,b,...[]);fm.set(a,{T:d,B0:b,o0:c});return d}
1565
- olympe.sc.logic.Na=class{constructor(){}static C(a,b,...c){if(em[a])throw c=gm(a),Error(`Tag: ${a} - overwriting already defined function "${c.name}" with "${b.name}"`);b=new olympe.sc.logic.vb.LF(a,b,[olympe.sc.fa.Qb].concat(c));return em[a]=b}};olympe.sc.logic.ZE=class a{static C(b){var c=olympe.sc.ui.Ud.O;let d=!1;const e=olympe.dc.Hb(c),f=olympe.dc.cc();f.zc(b,olympe.sc.pg.O.Pe()).forEach(g=>{d=d||f.zc(g,olympe.sc.pg.C).includes(e)});!1===d&&(d=null!==a.F(c,b));return d}static F(b,c){const d=olympe.sc.logic.wd.C,e=olympe.sc.logic.wd.Gu,f=olympe.dc.cc();let g=null;f.zc(c,olympe.sc.logic.wd.O.Pe()).some(k=>f.xe(k,d)===b.da()?(g=f.xe(k,e)||null,!0):!1);return g}};olympe.sc.logic.Ox=class extends olympe.dc.CloudObject{};olympe.sc.logic.Ox.T=olympe.dc.Na.C('01621fb84e320000cf00',olympe.sc.logic.Ox);olympe.sc.logic.Error=class{constructor(a,b){this.code=a;this.IN=b}static create(a,b){return new olympe.sc.logic.Error(b,a)}kV(){return this.IN}EU(){return this.code}};q('olympe.sc.logic.Error',olympe.sc.logic.Error);olympe.sc.logic.Error.prototype.getCode=olympe.sc.logic.Error.prototype.EU;olympe.sc.logic.Error.prototype.getMessage=olympe.sc.logic.Error.prototype.kV;olympe.sc.logic.Error.create=olympe.sc.logic.Error.create;
1566
- olympe.sc.logic.Yx=class extends olympe.sc.logic.Ox{static create(a,b){return new olympe.sc.logic.Error(b,a)}};olympe.sc.logic.Yx.T=olympe.dc.Na.C('016eeb5ede9f3094d8f0',olympe.sc.logic.Yx);olympe.sc.logic.Th=class extends olympe.dc.CloudObject{C(){return this.Gf(olympe.sc.logic.Th.C,olympe.dc.CloudObject)}};olympe.sc.logic.Th.T=olympe.dc.Na.C('016ac4f59ee8ea2081ba',olympe.sc.logic.Th);olympe.sc.logic.Th.F=olympe.sc.logic.Th.T.ea('017bc044aeacce7ffc8f');olympe.sc.logic.Th.C=olympe.sc.logic.Th.T.Ib('016ac4f5a0091c4790e2');Z(olympe.dc.CloudObject.T,olympe.sc.logic.Th.C);olympe.sc.logic.Th.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.logic.mr=class extends olympe.sc.logic.Th{};olympe.sc.logic.mr.T=olympe.dc.Na.C('016ac4f59c592b862457',olympe.sc.logic.mr);olympe.sc.logic.mr.O=olympe.sc.Uh.C.Pe();olympe.sc.logic.mr.T.C=(a,b,c,d,e)=>{b=bh(a,b||'New Predefined Input',olympe.sc.logic.mr,olympe.sc.logic.de);b.setProperty(olympe.sc.logic.Th.F,e);a.Ob(olympe.sc.logic.Th.C,b,c);a.Ob(olympe.sc.Uh.C,d,b);return b.da()};olympe.sc.logic.Cp=class extends olympe.sc.logic.Th{};olympe.sc.logic.Cp.T=olympe.dc.Na.C('016ac4f59dd99f5df3e1',olympe.sc.logic.Cp);olympe.sc.logic.Cp.O=Z(olympe.sc.logic.Cp.T,olympe.sc.Uh.F);olympe.sc.logic.Cp.T.C=(a,b,c,d,e)=>{b=bh(a,b||'New Predefined Output',olympe.sc.logic.Cp,olympe.sc.logic.Ae);b.setProperty(olympe.sc.logic.Th.F,e);a.Ob(olympe.sc.logic.Th.C,b,c);a.Ob(olympe.sc.Uh.F,d,b);return b.da()};olympe.sc.logic.ak=class extends olympe.sc.Zc{R(){return olympe.sc.wc.$k.KJ}U(){return this.gw().Vh().$h([olympe.sc.logic.Function]).and().Sf().$h([olympe.sc.logic.Jh,olympe.sc.logic.Lh]).Vd()}ZU(){return this.getInputs().Vh().vw([olympe.dc.CloudObject.modelRel,olympe.sc.logic.mr.O]).Vd()}$U(){return this.getOutputs().Vh().vw([olympe.dc.CloudObject.modelRel,olympe.sc.logic.Cp.O]).Vd()}Mj(a){const b=this.db.nz(this,[olympe.sc.Zc.F],c=>this.db.model(c)===olympe.dc.Hb(a));return b?olympe.dc.CloudObject.get(b):
1567
- null}ho(a){const b=this.db.nz(this,[olympe.sc.Zc.O],c=>this.db.model(c)===olympe.dc.Hb(a));return b?olympe.dc.CloudObject.get(b):null}MV(){return this.getInputs().Vh().vw([olympe.dc.CloudObject.modelRel],olympe.sc.logic.de).Vd()}NV(){return this.getOutputs().Vh().vw([olympe.dc.CloudObject.modelRel],olympe.sc.logic.Ae).Vd()}};hm('01621fb84e320000f000',olympe.sc.logic.ak,olympe.sc.logic.Function);h=olympe.sc.logic.ak.prototype;h.ZU.K=new olympe.j.J(()=>olympe.dc.Db,[]);
1568
- h.$U.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Mj.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.ho.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.MV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.NV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.logic.Uo=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63229782039429f')}O(){return this.ho('016ac6322acf67eebfe7')}V(){return this.getOutputs().Vh().fe(olympe.sc.logic.Zf.typeRel).Mz(olympe.sc.logic.Yx).Vd().hd().Nj(olympe.j.aa.ZERO)}};olympe.sc.logic.Uo.C='016ac63229782039429f';olympe.sc.logic.Uo.$='016ac6322acf67eebfe7';olympe.sc.logic.Uo.T=hm('01621fb84e320000a000',olympe.sc.logic.Uo,olympe.sc.logic.Action);
1569
- olympe.sc.logic.Uo.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.Uo.prototype.O.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.Uo.prototype.V.K=olympe.j.J.U;olympe.sc.logic.VE=class extends olympe.sc.logic.ak{};olympe.sc.logic.VE.T=hm('01621fb84e320000f011',olympe.sc.logic.VE);olympe.sc.logic.UE=class extends olympe.sc.logic.Uo{};olympe.sc.logic.UE.T=hm('01621fb84e320000f012',olympe.sc.logic.UE);function im(a,b,c){a.update=(d,e,f)=>{e.forEach((g,k)=>{e[k]=olympe.dc.pa.Ye.OT(g)});c(...e,...f)};a.Al(b);a.ca(b)}
1570
- olympe.sc.logic.Function=class extends olympe.sc.Runnable{V(){return[this.Fa]}na(){const a=olympe.sc.ic.sf.YP,b=olympe.sc.ic.sf.ZR,c=this.db,d=new Map;this.getInputs().forEach(e=>{d.set(a+c.name(e),e)});this.getOutputs().forEach(e=>{d.set(b+c.name(e),e)});return d}Pa(a){return this.getOutputs().map(b=>this.db.Sz(b,olympe.sc.logic.Zf.typeRel,olympe.sc.logic.Ox)?a.gn.bind(a,b):a.set.bind(a,b))}setupExecution(a){const b=this.getInputs();return 0<b.length?rxjs.combineLatest(b.map(c=>a.observe(c))).pipe(rxjs.operators.map(c=>
1566
+ olympe.sc.logic.s0=(a,b)=>{if(a instanceof olympe.j.aa)return a;if(a instanceof olympe.j.mb)return a.yO();if(a instanceof olympe.j.ka)return a.BM();if('string'===typeof a||'number'===typeof a)return olympe.j.Da(Number(a));b.error(`Could not parse provided value ${a} into a number`);return olympe.j.aa.OI};olympe.sc.logic.vb={};function dm(a){Hf(a.T,(b,c)=>{b=b.create(a.T.F);b.setProperty(olympe.dc.CloudObject.nameProp,c);return b.da()})}olympe.sc.logic.vb.LF=class{constructor(a,b,c){this.T=olympe.dc.Na.C(a,b,...c);dm(this)}da(){return this.T.da()}getInputs(){return Ul(olympe.dc.CloudObject.get(this.T))}getOutputs(){return Vl(olympe.dc.CloudObject.get(this.T))}};olympe.sc.logic.vb.LF.ua=[olympe.dc.dk];const em=Object.create(null),fm=new Map;function gm(a){if(void 0===em[a])throw Error(`Tag: ${a} - does not correspond to a registered function`);return Ef(a)}function hm(a,b,c=olympe.sc.logic.Function){if(fm.has(a))throw c=gm(a),Error(`Tag: ${a} - overwriting existing function definition "${c.name}" with "${b.name}"`);const d=olympe.dc.Na.C(a,b,...[]);fm.set(a,{T:d,C0:b,p0:c});return d}
1567
+ olympe.sc.logic.Na=class{constructor(){}static C(a,b,...c){if(em[a])throw c=gm(a),Error(`Tag: ${a} - overwriting already defined function "${c.name}" with "${b.name}"`);b=new olympe.sc.logic.vb.LF(a,b,[olympe.sc.fa.Qb].concat(c));return em[a]=b}};olympe.sc.logic.ZE=class a{static C(b){var c=olympe.sc.ui.Ud.O;let d=!1;const e=olympe.dc.Hb(c),f=olympe.dc.cc();f.zc(b,olympe.sc.pg.O.Pe()).forEach(g=>{d=d||f.zc(g,olympe.sc.pg.C).includes(e)});!1===d&&(d=null!==a.F(c,b));return d}static F(b,c){const d=olympe.sc.logic.wd.C,e=olympe.sc.logic.wd.Gu,f=olympe.dc.cc();let g=null;f.zc(c,olympe.sc.logic.wd.O.Pe()).some(k=>f.xe(k,d)===b.da()?(g=f.xe(k,e)||null,!0):!1);return g}};olympe.sc.logic.Ox=class extends olympe.dc.CloudObject{};olympe.sc.logic.Ox.T=olympe.dc.Na.C('01621fb84e320000cf00',olympe.sc.logic.Ox);olympe.sc.logic.Error=class{constructor(a,b){this.code=a;this.IN=b}static create(a,b){return new olympe.sc.logic.Error(b,a)}lV(){return this.IN}FU(){return this.code}};q('olympe.sc.logic.Error',olympe.sc.logic.Error);olympe.sc.logic.Error.prototype.getCode=olympe.sc.logic.Error.prototype.FU;olympe.sc.logic.Error.prototype.getMessage=olympe.sc.logic.Error.prototype.lV;olympe.sc.logic.Error.create=olympe.sc.logic.Error.create;
1568
+ olympe.sc.logic.Yx=class extends olympe.sc.logic.Ox{static create(a,b){return new olympe.sc.logic.Error(b,a)}};olympe.sc.logic.Yx.T=olympe.dc.Na.C('016eeb5ede9f3094d8f0',olympe.sc.logic.Yx);olympe.sc.logic.Th=class extends olympe.dc.CloudObject{C(){return this.Gf(olympe.sc.logic.Th.C,olympe.dc.CloudObject)}};olympe.sc.logic.Th.T=olympe.dc.Na.C('016ac4f59ee8ea2081ba',olympe.sc.logic.Th);olympe.sc.logic.Th.F=olympe.sc.logic.Th.T.ea('017bc044aeacce7ffc8f');olympe.sc.logic.Th.C=olympe.sc.logic.Th.T.Ib('016ac4f5a0091c4790e2');Z(olympe.dc.CloudObject.T,olympe.sc.logic.Th.C);olympe.sc.logic.Th.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.logic.mr=class extends olympe.sc.logic.Th{};olympe.sc.logic.mr.T=olympe.dc.Na.C('016ac4f59c592b862457',olympe.sc.logic.mr);olympe.sc.logic.mr.O=olympe.sc.Uh.C.Pe();olympe.sc.logic.mr.T.C=(a,b,c,d,e)=>{b=bh(a,b||'New Predefined Input',olympe.sc.logic.mr,olympe.sc.logic.de);b.setProperty(olympe.sc.logic.Th.F,e);a.Ob(olympe.sc.logic.Th.C,b,c);a.Ob(olympe.sc.Uh.C,d,b);return b.da()};olympe.sc.logic.Cp=class extends olympe.sc.logic.Th{};olympe.sc.logic.Cp.T=olympe.dc.Na.C('016ac4f59dd99f5df3e1',olympe.sc.logic.Cp);olympe.sc.logic.Cp.O=Z(olympe.sc.logic.Cp.T,olympe.sc.Uh.F);olympe.sc.logic.Cp.T.C=(a,b,c,d,e)=>{b=bh(a,b||'New Predefined Output',olympe.sc.logic.Cp,olympe.sc.logic.Ae);b.setProperty(olympe.sc.logic.Th.F,e);a.Ob(olympe.sc.logic.Th.C,b,c);a.Ob(olympe.sc.Uh.F,d,b);return b.da()};olympe.sc.logic.ak=class extends olympe.sc.Zc{R(){return olympe.sc.wc.$k.KJ}U(){return this.gw().Vh().$h([olympe.sc.logic.Function]).and().Sf().$h([olympe.sc.logic.Jh,olympe.sc.logic.Lh]).Vd()}$U(){return this.getInputs().Vh().vw([olympe.dc.CloudObject.modelRel,olympe.sc.logic.mr.O]).Vd()}aV(){return this.getOutputs().Vh().vw([olympe.dc.CloudObject.modelRel,olympe.sc.logic.Cp.O]).Vd()}Mj(a){const b=this.db.nz(this,[olympe.sc.Zc.F],c=>this.db.model(c)===olympe.dc.Hb(a));return b?olympe.dc.CloudObject.get(b):
1569
+ null}ho(a){const b=this.db.nz(this,[olympe.sc.Zc.O],c=>this.db.model(c)===olympe.dc.Hb(a));return b?olympe.dc.CloudObject.get(b):null}NV(){return this.getInputs().Vh().vw([olympe.dc.CloudObject.modelRel],olympe.sc.logic.de).Vd()}OV(){return this.getOutputs().Vh().vw([olympe.dc.CloudObject.modelRel],olympe.sc.logic.Ae).Vd()}};hm('01621fb84e320000f000',olympe.sc.logic.ak,olympe.sc.logic.Function);h=olympe.sc.logic.ak.prototype;h.$U.K=new olympe.j.J(()=>olympe.dc.Db,[]);
1570
+ h.aV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.Mj.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.ho.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.NV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.OV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.logic.Uo=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63229782039429f')}O(){return this.ho('016ac6322acf67eebfe7')}V(){return this.getOutputs().Vh().fe(olympe.sc.logic.Zf.typeRel).Mz(olympe.sc.logic.Yx).Vd().hd().Nj(olympe.j.aa.ZERO)}};olympe.sc.logic.Uo.C='016ac63229782039429f';olympe.sc.logic.Uo.$='016ac6322acf67eebfe7';olympe.sc.logic.Uo.T=hm('01621fb84e320000a000',olympe.sc.logic.Uo,olympe.sc.logic.Action);
1571
+ olympe.sc.logic.Uo.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.Uo.prototype.O.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.Uo.prototype.V.K=olympe.j.J.U;olympe.sc.logic.VE=class extends olympe.sc.logic.ak{};olympe.sc.logic.VE.T=hm('01621fb84e320000f011',olympe.sc.logic.VE);olympe.sc.logic.UE=class extends olympe.sc.logic.Uo{};olympe.sc.logic.UE.T=hm('01621fb84e320000f012',olympe.sc.logic.UE);function im(a,b,c){a.update=(d,e,f)=>{e.forEach((g,k)=>{e[k]=olympe.dc.pa.Ye.PT(g)});c(...e,...f)};a.Al(b);a.ca(b)}
1572
+ olympe.sc.logic.Function=class extends olympe.sc.Runnable{V(){return[this.Fa]}na(){const a=olympe.sc.ic.sf.ZP,b=olympe.sc.ic.sf.$R,c=this.db,d=new Map;this.getInputs().forEach(e=>{d.set(a+c.name(e),e)});this.getOutputs().forEach(e=>{d.set(b+c.name(e),e)});return d}Pa(a){return this.getOutputs().map(b=>this.db.Sz(b,olympe.sc.logic.Zf.typeRel,olympe.sc.logic.Ox)?a.gn.bind(a,b):a.set.bind(a,b))}setupExecution(a){const b=this.getInputs();return 0<b.length?rxjs.combineLatest(b.map(c=>a.observe(c))).pipe(rxjs.operators.map(c=>
1571
1573
  c.includes(null)?null:c)):rxjs.of([])}};olympe.sc.logic.Function.T=olympe.dc.Na.C('0168c6f020f2a96f0000',olympe.sc.logic.Function,olympe.sc.fa.Qb);olympe.sc.logic.Zf=class extends olympe.dc.CloudObject{C(){return this.Gf(olympe.sc.logic.Zf.typeRel,olympe.dc.CloudObject)}F(){return this.hf(olympe.sc.logic.Zf.C)}};olympe.sc.logic.Zf.T=olympe.dc.Na.C('0168a431d25001540000',olympe.sc.logic.Zf);olympe.sc.logic.Zf.C=olympe.sc.logic.Zf.T.ea('01740c5d4ae4b520dd01');olympe.sc.logic.Zf.typeRel=olympe.sc.logic.Zf.T.Ib('0168a431d3b9b7438424');Z(olympe.dc.CloudObject.T,olympe.sc.logic.Zf.typeRel);
1572
1574
  olympe.sc.logic.Zf.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.logic.Zf.prototype.F.K=olympe.j.J.F;olympe.sc.logic.de=class extends olympe.sc.logic.Zf{};olympe.sc.logic.de.T=olympe.dc.Na.C('0168a431d25001540001',olympe.sc.logic.de);olympe.sc.logic.de.$=olympe.sc.logic.Zf.T.ea('01740c5d4ae4b520dd02');olympe.sc.logic.de.V=Z(olympe.sc.logic.de.T,olympe.sc.Zc.F);olympe.sc.logic.de.F=olympe.sc.logic.de.T.Ib('0168a431d91f2578000b',olympe.dc.Pb.ORIGIN);olympe.sc.logic.de.O=olympe.sc.logic.de.T.Ib('01621fb84e32000000a1',olympe.dc.Pb.ORIGIN);
1573
1575
  olympe.sc.logic.de.U=olympe.sc.logic.de.T.Ib('01621fb84e32000000d1',olympe.dc.Pb.ORIGIN);olympe.sc.logic.de.T.C=function(a,b,c,d,e,f=olympe.sc.logic.de){f=a.create(f);f.setProperty(olympe.dc.CloudObject.nameProp,b||'New input');a.Ob(olympe.sc.logic.Zf.typeRel,f,c);void 0!==e&&f.setProperty(olympe.sc.logic.Zf.C,e);d&&a.Ob(olympe.sc.Zc.F,d,f);return f.da()};olympe.sc.logic.Ae=class extends olympe.sc.logic.Zf{};olympe.sc.logic.Ae.T=olympe.dc.Na.C('0168a431d25001540002',olympe.sc.logic.Ae);olympe.sc.logic.Ae.V=Z(olympe.sc.logic.Ae.T,olympe.sc.Zc.O);olympe.sc.logic.Ae.F=olympe.sc.logic.Ae.T.Ib('0168a431d91f25780003',olympe.dc.Pb.ORIGIN);olympe.sc.logic.Ae.U=olympe.sc.logic.Ae.T.Ib('01621fb84e32000000a2',olympe.dc.Pb.ORIGIN);olympe.sc.logic.Ae.O=olympe.sc.logic.Ae.T.Ib('01621fb84e32000000d2',olympe.dc.Pb.ORIGIN);
@@ -1575,10 +1577,10 @@ olympe.sc.logic.Ae.T.C=function(a,b,c,d,e,f=olympe.sc.logic.Ae){f=a.create(f);f.
1575
1577
  olympe.sc.logic.Jh.C=Z(olympe.sc.logic.Jh.T,olympe.sc.logic.Ae.U);olympe.sc.logic.Jh.T.C=function(a,b,c){b=a.create(olympe.sc.logic.Jh);a.Ob(olympe.sc.logic.Jh.C,b,c);return b.da()};olympe.sc.logic.Jh.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.Jh.prototype.F.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.Lh=class extends olympe.sc.logic.Function{run(a){const b=a.getParent(),c=this.db.xe(this,olympe.sc.logic.Lh.C),d=this.db.xe(this,olympe.sc.logic.Lh.F);b.on(c,e=>a.set(d,e),b.xa())}F(){return this.Gf(olympe.sc.logic.Lh.C,olympe.sc.logic.de)}C(){return this.Gf(olympe.sc.logic.Lh.F,olympe.sc.logic.Ae)}};olympe.sc.logic.Lh.T=olympe.dc.Na.C('01621fb84e32000000d0',olympe.sc.logic.Lh,olympe.sc.fa.Qb);olympe.sc.logic.Lh.C=Z(olympe.sc.logic.Lh.T,olympe.sc.logic.de.U);
1576
1578
  olympe.sc.logic.Lh.F=Z(olympe.sc.logic.Lh.T,olympe.sc.logic.Ae.O);olympe.sc.logic.Lh.T.C=function(a,b,c){b=a.create(olympe.sc.logic.Lh);a.Ob(olympe.sc.logic.Lh.C,b,c);return b.da()};olympe.sc.logic.Lh.prototype.F.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.Lh.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wd=class extends olympe.dc.CloudObject{constructor(a,b,c){super(a,b);this.Y=c;this.C=`detachObject${this.tag}`}Al(a,b){const c=this.db.xe(this,olympe.sc.logic.wd.U)||this.db.xe(this,olympe.sc.logic.wd.qA),d=this.db.xe(this,olympe.sc.logic.wd.Gu),e=this.db.yw((()=>{let k=null,l=this.db.xe(this,olympe.sc.logic.wd.C);l?k=this.db.xe(l,olympe.dm.Property.typeRel):(l=this.db.xe(this,olympe.sc.logic.wd.F))&&(k=this.db.xe(l,olympe.sc.logic.Zf.typeRel));return k||olympe.dc.CloudObject.T.da()})(),
1577
1579
  olympe.dm.Mn)?new olympe.j.Qd('Pipe Context'):null,f=this.F.bind(this,a,b,e);if(null!==c&&null!==d){let k;const l=a.Ew(d,m=>{k&&k();k=m.on(c,f,d)});return()=>{f(null);l();k&&k()}}const g=Ag(this.db,this,olympe.sc.logic.wd.valueProp,f);return()=>{f(null);this.db.O(this,olympe.sc.logic.wd.valueProp,g)}}F(a,b,c,d){null!==c&&c.ga();const e=a.get(this.C);e&&(e(),a.remove(this.C));const f=olympe.sc.Np(d);if(f instanceof olympe.dc.CloudObject){if(d=f.da(),this.vt(a,d,[d]),null!==c&&'function'===typeof f.getValue){c.run(()=>
1578
- {olympe.j.bb([f.getValue()],g=>{b(g.valueOf())})});return}}else f instanceof olympe.dc.Ec&&this.vt(a,`qr-${f.hash}`,yh(f));b(f)}vt(a,b,c){const d=a.getParent();d.vt(b,c);a.set(this.C,()=>Ql(d,b))}getValue(a){return this.no(olympe.sc.logic.wd.valueProp,a||olympe.dc.pa.Ye.Np,Object)}aR(){const a=this.transform(olympe.sc.logic.wd.F,olympe.sc.logic.Zf.typeRel);a.mi(olympe.dc.CloudObject);return a.Rd()}KV(){return this.Gf(olympe.sc.logic.wd.Gu,olympe.dc.CloudObject)}IV(){return this.Gf(olympe.sc.logic.wd.U,
1579
- olympe.sc.logic.Ae)}JV(){return this.Gf(olympe.sc.logic.wd.qA,olympe.dm.Property)}OU(){return this.Gf(olympe.sc.logic.wd.O,olympe.dc.CloudObject)}MU(){return this.Gf(olympe.sc.logic.wd.F,olympe.sc.logic.de)}NU(){return this.Gf(olympe.sc.logic.wd.C,olympe.dm.Property)}};olympe.sc.logic.wd.T=olympe.dc.Na.C('0168a431d91f25780000',olympe.sc.logic.wd,olympe.sc.fa.Qb);olympe.sc.logic.wd.valueProp=olympe.sc.logic.wd.T.ea('0168a431d91f25780001');olympe.sc.logic.wd.Gu=olympe.sc.logic.wd.T.Ib('0168a431d91f25780002');
1580
+ {olympe.j.bb([f.getValue()],g=>{b(g.valueOf())})});return}}else f instanceof olympe.dc.Ec&&this.vt(a,`qr-${f.hash}`,yh(f));b(f)}vt(a,b,c){const d=a.getParent();d.vt(b,c);a.set(this.C,()=>Ql(d,b))}getValue(a){return this.no(olympe.sc.logic.wd.valueProp,a||olympe.dc.pa.Ye.Np,Object)}bR(){const a=this.transform(olympe.sc.logic.wd.F,olympe.sc.logic.Zf.typeRel);a.mi(olympe.dc.CloudObject);return a.Rd()}LV(){return this.Gf(olympe.sc.logic.wd.Gu,olympe.dc.CloudObject)}JV(){return this.Gf(olympe.sc.logic.wd.U,
1581
+ olympe.sc.logic.Ae)}KV(){return this.Gf(olympe.sc.logic.wd.qA,olympe.dm.Property)}PU(){return this.Gf(olympe.sc.logic.wd.O,olympe.dc.CloudObject)}NU(){return this.Gf(olympe.sc.logic.wd.F,olympe.sc.logic.de)}OU(){return this.Gf(olympe.sc.logic.wd.C,olympe.dm.Property)}};olympe.sc.logic.wd.T=olympe.dc.Na.C('0168a431d91f25780000',olympe.sc.logic.wd,olympe.sc.fa.Qb);olympe.sc.logic.wd.valueProp=olympe.sc.logic.wd.T.ea('0168a431d91f25780001');olympe.sc.logic.wd.Gu=olympe.sc.logic.wd.T.Ib('0168a431d91f25780002');
1580
1582
  olympe.sc.logic.wd.U=Z(olympe.sc.logic.wd.T,olympe.sc.logic.Ae.F);olympe.sc.logic.wd.qA=olympe.sc.logic.wd.T.Ib('0168a431d91f25780004');olympe.sc.logic.wd.O=olympe.sc.logic.wd.T.Ib('0168a431d91f2578000a');olympe.sc.logic.wd.F=Z(olympe.sc.logic.wd.T,olympe.sc.logic.de.F);olympe.sc.logic.wd.C=olympe.sc.logic.wd.T.Ib('0168a431d91f2578000c');Z(olympe.dc.CloudObject.T,olympe.sc.logic.wd.Gu);Z(olympe.dm.Property.T,olympe.sc.logic.wd.qA);Z(olympe.dc.CloudObject.T,olympe.sc.logic.wd.O);
1581
- Z(olympe.dm.Property.T,olympe.sc.logic.wd.C);h=olympe.sc.logic.wd.prototype;h.aR.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.KV.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.IV.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.JV.K=new olympe.j.J(()=>olympe.dm.Property,[]);h.OU.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.MU.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.NU.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.logic.Zo=class extends olympe.sc.logic.Function{};olympe.sc.logic.Zo.T=olympe.dc.Na.C('017dc8c114aa61a0e27f',olympe.sc.logic.Zo);olympe.sc.logic.Zo.F=olympe.sc.logic.Zo.T.Ib('017dc8d6d8ef9135f08a');olympe.sc.logic.Zo.C=olympe.sc.logic.Zo.T.Ib('017dc8d6d8ef9135f08b');Z(olympe.dm.oe.T,olympe.sc.logic.Zo.C);function jm(a,b){const c=a.Dg(),d=c.rB().da(),e=c.sB().da(),f=c.tB().da();b.on(d,g=>{g&&(g=new Map(a.getInputs().map(k=>[k,b.get(k)])),g=olympe.sc.logic.Ly.Ya(g),olympe.W.Tb.Md.ue.get(a.$e(),g).then(k=>{k=km(k,a.C.bind(a,b));for(const [l,m]of k)l!==e&&l!==f&&b.set(l,m);b.set(e,k.get(e));b.set(f,k.get(f))}).catch(k=>{b.set(f,olympe.sc.logic.Yx.create(k.toString(),1))}))},b.xa())}
1583
+ Z(olympe.dm.Property.T,olympe.sc.logic.wd.C);h=olympe.sc.logic.wd.prototype;h.bR.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.LV.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.JV.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.KV.K=new olympe.j.J(()=>olympe.dm.Property,[]);h.PU.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.NU.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.OU.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.logic.Zo=class extends olympe.sc.logic.Function{};olympe.sc.logic.Zo.T=olympe.dc.Na.C('017dc8c114aa61a0e27f',olympe.sc.logic.Zo);olympe.sc.logic.Zo.F=olympe.sc.logic.Zo.T.Ib('017dc8d6d8ef9135f08a');olympe.sc.logic.Zo.C=olympe.sc.logic.Zo.T.Ib('017dc8d6d8ef9135f08b');Z(olympe.dm.oe.T,olympe.sc.logic.Zo.C);function jm(a,b){const c=a.Dg(),d=c.rB().da(),e=c.sB().da(),f=c.tB().da();b.on(d,g=>{g&&(g=new Map(a.getInputs().map(k=>[k,b.get(k)])),g=olympe.sc.logic.Ly.Ya(g),olympe.W.Tb.Md.ue.get(a.$e(),g).then(k=>{k=km(k,a.C.bind(a,b));for(const [l,m]of k)l!==e&&l!==f&&b.set(l,m);b.set(e,k.get(e));b.set(f,k.get(f))}).catch(k=>{b.set(f,olympe.sc.logic.Yx.create(k.toString(),1))}))},b.xa())}
1582
1584
  function lm(a,b,c,d,e,f){const g=n=>{if(null!==n){e.cancel();l&&l();m&&m();try{const p=new Map(a.getOutputs().map(t=>[t,b.get(t)])),r=olympe.sc.logic.Ly.Ya(p);f.es(r).finally(()=>b.destroy())}catch(p){n=Error(`Error while serializing the response from remote action ${a.$e()}: ${p.message}`),f.yC(n).finally(()=>b.destroy())}}},k=b.xa(),l=b.on(c,g,k),m=b.on(d,g,k)}
1583
1585
  olympe.sc.logic.ft=class extends olympe.sc.logic.Function{constructor(a,b,c,d,e){super(a,b,c);this.F=d;this.timeout=e}run(a){a.oo()||(this.db.kd(this,olympe.sc.logic.ft.C)?this.La(a):(this.Al(a),jm(this,a)))}La(a){const b=this.$e(),c=this.Dg(),d=c.qI().da(),e=c.rB().da(),f=c.sB().da(),g=c.tB().da();(new olympe.W.Tb.Md.ue(b,a)).aD().subscribe(rxjs.Subscriber.create(k=>{const l=a.Zn('remote call'),m=km(k.body(),this.C.bind(this,l)),n=tc(()=>{k.yC(Error(`Timeout reached on remote action ${this.db.name(this)} (${this.tag})`));
1584
1586
  l.destroy()},this.timeout);lm(this,l,f,g,n,k);super.run(l);for(const [p,r]of m)p!==e&&l.set(p,r);k.Bx().then(p=>{var r=l.get(d);null!==r&&olympe.dc.Hb(r)!==p&&(r=this.$e(),this.Y.warn(`Remote action ${this.db.name(r)} ${r}: try to run it with an input user that is not the real authenticated user.`));l.set(d,p);l.set(e,m.get(e))})},k=>{const l=this.$e();this.Y.error(`Error while listening on remote action ${this.db.name(l)} (${l}): ${k.message}`)}))}C(a,b){const c=Array.from(b.aj()).map(d=>d.tag());
@@ -1587,39 +1589,39 @@ function mm(a,b,c){if(null===b||void 0===b)return null;switch(b.t){case 1:return
1587
1589
  function nm(a,b){var c=a.db;a=a.jg;if(c.pe(b)){a.F(b,c.Gg(b,!0),0);a.Ob(olympe.dc.Yf.Sh,b,c.model(b),0);for(const [d,e,f]of Fg(c,b))(c=a.io(f))&&c.vk()&&(e===olympe.dc.Pb.DESTINATION?a.Ob(d,b,f,0):a.Ob(d,f,b,0))}else olympe.ub.Gb('Remote Action').error(`Try to serialize an instance ${b} that does not exist in the local datacloud.`)}
1588
1590
  olympe.sc.logic.Ly=class{constructor(){this.db=olympe.dc.cc();this.init()}init(){this.jg=new olympe.dc.db.fg;this.values=Object.create(null)}static Ya(a){const b=new olympe.sc.logic.Ly;a.forEach((c,d)=>{null!==c&&void 0!==c&&(b.values[d]=b.C(c))});return b.flush()}flush(){const a=Object.create(null),b=new olympe.dc.transaction.Ri;this.jg.qh(b);a.p=Zg(b);a.v=this.values;this.init();return a}C(a){switch(!0){case a instanceof olympe.j.hc:return{t:1,d:a.valueOf().toISOString()};case a instanceof Date:return{t:1,
1589
1591
  d:a.toISOString()};case a instanceof olympe.j.Color:return{t:2,r:a.sk().valueOf(),g:a.qk().valueOf(),b:a.nk().valueOf(),a:a.bl().valueOf()};case a instanceof olympe.sc.logic.Error:return{t:3,c:a.code,m:a.IN};case a&&'function'===typeof a.da:return a=a.da(),nm(this,a),{t:4,v:a};case a instanceof olympe.dc.Id:return{t:5,v:a.Ya()};case a instanceof olympe.dc.Ec:return{t:6,v:a.Ya()};case Array.isArray(a):return a.map(this.C.bind(this));case a instanceof Map:const b=Object.create(null);for(const [c,d]of a)'string'===
1590
- typeof c&&(b[c]=this.C(d));return{t:7,m:b};case null===a:case void 0===a:return null;case 'object'===typeof a:return Object.entries(a).reduce((c,[d,e])=>{c[d]=this.C(e);return c},{});default:return a}}};olympe.sc.logic.controllers={};olympe.sc.logic.controllers.hB=class{constructor(a){this.db=olympe.dc.cc();this.typeRel=a}};olympe.sc.logic.controllers.hB.C={sY:-1,sZ:1};olympe.sc.logic.controllers.ZZ=class extends olympe.sc.logic.controllers.hB{constructor(){super(olympe.sc.logic.Th.C)}};olympe.sc.logic.controllers.b_=class extends olympe.sc.logic.controllers.hB{constructor(){super(olympe.sc.logic.Zf.typeRel)}};olympe.sc.logic.oz={};olympe.sc.logic.oz.SS=class extends olympe.sc.logic.Function{update(a,[b,c],[d]){const e=olympe.dc.Hb(b);e?bi(Wh(new olympe.dc.xj(e),olympe.dc.Ve.ri),c).$c(()=>{d(olympe.dc.CloudObject.get(e))}):this.Y.warn('Cannot subscribe to an instance with no tag: '+e)}};olympe.sc.logic.Na.C('0174bf4b7e006e4b788a',olympe.sc.logic.oz.SS);olympe.sc.logic.actions={};olympe.sc.logic.oz.yR=class extends olympe.sc.logic.Function{run(a){this.Al(a);const [b,c,d]=this.Pa(a);let e,f=null,g=null;const k=a.getParent(),l=()=>{null===g||0===e?(this.Y.warn('No list to iter upon'),this.Y.info(a.xa())):f<e?(b(g.dl(f)),f++,c((new Date).getTime())):(k.rA(),d((new Date).getTime()))};this.getInputs().forEach((m,n)=>a.on(m,p=>{if(p)switch(n){case 0:g=p;break;case 1:e=g.$i();f=0;k.hz();l();break;case 2:l();break;default:this.Y.error('Unhandled input')}},this.tag))}};
1591
- olympe.sc.logic.Na.C('0171889b060b6cd54300',olympe.sc.logic.oz.yR);olympe.sc.logic.wf={};olympe.sc.logic.wf.aF=class extends olympe.sc.logic.ak{C(){return this.Mj('017dc92292107fb98b21')}};hm('017dc8d6c8fd8c8bd2f0',olympe.sc.logic.wf.aF);olympe.sc.logic.wf.aF.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.jB=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63808535703691c')}};olympe.sc.logic.wf.jB.T=hm('0169b6876a03f139d50a',olympe.sc.logic.wf.jB);olympe.sc.logic.wf.jB.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.EB=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63809a9a8e6db96')}O(){return this.ho('016ac6380ab003363b3e')}};hm('01646ad602f933b8caaf',olympe.sc.logic.wf.EB);olympe.sc.logic.wf.EB.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.EB.prototype.O.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wf.By=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac6380bd98f1d91a0')}V(){return this.ho('016ac63c589ae38ca3ae')}O(){return this.ho('016ac63c5a377fceabaa')}};hm('0168ec42fc01747a98b6',olympe.sc.logic.wf.By);olympe.sc.logic.wf.By.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.By.prototype.V.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wf.By.prototype.O.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wf.qr=class extends olympe.sc.logic.ak{rB(){return this.Mj('017a7b07b09e3b22c8b4')}qI(){return this.Mj('017a7b07ba05807a74b0')}sB(){return this.ho('017a7b0818c12388d731')}tB(){return this.ho('017a7b085146d5e69aec')}bR(){return olympe.j.ka.C}};olympe.sc.logic.wf.qr.$='017a7b07b09e3b22c8b4';olympe.sc.logic.wf.qr.Fa='017a7b07ba05807a74b0';olympe.sc.logic.wf.qr.Pa='017a7b0818c12388d731';olympe.sc.logic.wf.qr.C='017a7b085146d5e69aec';
1592
- olympe.sc.logic.wf.qr.T=hm('017a7b07a948e30508fa',olympe.sc.logic.wf.qr,olympe.sc.logic.ft);h=olympe.sc.logic.wf.qr.prototype;h.rB.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.qI.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.sB.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.tB.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.bR.K=olympe.j.J.U;olympe.sc.logic.wf.aK=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63c5b3ed0562740')}};hm('016a9766c230916ea5ec',olympe.sc.logic.wf.aK);olympe.sc.logic.wf.aK.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.query={};olympe.sc.query.pE=class extends olympe.sc.Ee{};olympe.sc.query.pE.T=olympe.dc.Na.C('01631aacd8276ea98491',olympe.sc.query.pE);olympe.sc.query.ZI=class extends olympe.dm.Enum{};olympe.sc.query.ZI.T=olympe.dc.Na.C('01631aacd8276ea98495',olympe.sc.query.ZI);olympe.sc.query.mJ=class extends olympe.dm.Enum{};olympe.sc.query.mJ.T=olympe.dc.Na.C('01631aacd8276ea98494',olympe.sc.query.mJ);olympe.sc.query.rJ=class extends olympe.sc.Ee{};olympe.sc.query.rJ.T=olympe.dc.Na.C('01631aacd8276ea98492',olympe.sc.query.rJ);olympe.sc.query.sJ=class extends olympe.dc.CloudObject{};olympe.sc.query.sJ.T=olympe.dc.Na.C('01631aacd8276ea98493',olympe.sc.query.sJ);olympe.sc.workflow={};olympe.sc.workflow.ObjectState=class extends olympe.dc.CloudObject{};olympe.sc.workflow.ObjectState.T=olympe.dc.Na.C('017ffdd8f0b1e31fe138',olympe.sc.workflow.ObjectState);olympe.sc.workflow.ObjectState.workflowProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13e');olympe.sc.workflow.ObjectState.stateProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe139');olympe.sc.workflow.ObjectState.assigneeProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13a');
1593
- olympe.sc.workflow.ObjectState.dateTimeProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13b');olympe.sc.workflow.ObjectState.serializedObjectProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13d');olympe.sc.workflow.ObjectState.objectRel=olympe.sc.workflow.ObjectState.T.Ib('017ffdd8f0b1e31fe13c');olympe.sc.workflow.ObjectState.currentObjectRel=olympe.sc.workflow.ObjectState.T.Ib('017ffdd8f0b1e31fe13f');olympe.sc.workflow.Nn=class extends olympe.sc.logic.ak{cR(){return this.Mj('017ffe02381f9fac5060')}fR(){return this.Mj('017ffe02381f9fac5061')}gR(){return this.Mj('017ffe02381f9fac5062')}KU(){return this.Mj('017ffe02381f9fac5065')}dR(){return this.ho('017ffe02381f9fac5063')}eR(){return this.ho('017ffe02381f9fac5064')}};olympe.sc.workflow.Nn.T=hm('017ffde21f5fe0f704ce',olympe.sc.workflow.Nn);olympe.sc.workflow.Nn.C='017ffe02381f9fac5060';olympe.sc.workflow.Nn.jc='017ffe02381f9fac5061';
1594
- olympe.sc.workflow.Nn.Kb='017ffe02381f9fac5062';olympe.sc.workflow.Nn.Pa='017ffe02381f9fac5065';olympe.sc.workflow.Nn.$='017ffe02381f9fac5063';olympe.sc.workflow.Nn.Fa='017ffe02381f9fac5064';h=olympe.sc.workflow.Nn.prototype;h.cR.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.fR.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.gR.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.KU.K=new olympe.j.J(()=>Map,[]);h.dR.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.eR.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.workflow.em=class extends olympe.dm.BrickMetadata{mg(){return this.Gf(olympe.sc.workflow.Workflow.statesRel.Pe(),olympe.sc.workflow.Workflow).Oa().concat(['.',this.Oa()])}};olympe.sc.workflow.em.T=olympe.dc.Na.C('017ffdc2dda51d46b430',olympe.sc.workflow.em);olympe.sc.workflow.Transition=class extends olympe.dc.CloudObject{F(){return this.Dz(olympe.sc.workflow.Transition.processRefProp)}C(){return this.Gf(olympe.sc.workflow.Transition.fromStateRel,olympe.sc.workflow.em)}O(){return this.Gf(olympe.sc.workflow.Transition.toStateRel,olympe.sc.workflow.em)}mg(){const a=this.Gf(olympe.sc.workflow.Transition.fromStateRel,olympe.sc.workflow.em);return a.Gf(olympe.sc.workflow.Workflow.statesRel.Pe(),olympe.sc.workflow.Workflow).Oa().concat(['.',a.Oa(),'->',this.Oa()])}};
1592
+ typeof c&&(b[c]=this.C(d));return{t:7,m:b};case null===a:case void 0===a:return null;case 'object'===typeof a:return Object.entries(a).reduce((c,[d,e])=>{c[d]=this.C(e);return c},{});default:return a}}};olympe.sc.logic.controllers={};olympe.sc.logic.controllers.hB=class{constructor(a){this.db=olympe.dc.cc();this.typeRel=a}};olympe.sc.logic.controllers.hB.C={tY:-1,tZ:1};olympe.sc.logic.controllers.$Z=class extends olympe.sc.logic.controllers.hB{constructor(){super(olympe.sc.logic.Th.C)}};olympe.sc.logic.controllers.c_=class extends olympe.sc.logic.controllers.hB{constructor(){super(olympe.sc.logic.Zf.typeRel)}};olympe.sc.logic.oz={};olympe.sc.logic.oz.TS=class extends olympe.sc.logic.Function{update(a,[b,c],[d]){const e=olympe.dc.Hb(b);e?bi(Wh(new olympe.dc.xj(e),olympe.dc.Ve.ri),c).$c(()=>{d(olympe.dc.CloudObject.get(e))}):this.Y.warn('Cannot subscribe to an instance with no tag: '+e)}};olympe.sc.logic.Na.C('0174bf4b7e006e4b788a',olympe.sc.logic.oz.TS);olympe.sc.logic.actions={};olympe.sc.logic.oz.zR=class extends olympe.sc.logic.Function{run(a){this.Al(a);const [b,c,d]=this.Pa(a);let e,f=null,g=null;const k=a.getParent(),l=()=>{null===g||0===e?(this.Y.warn('No list to iter upon'),this.Y.info(a.xa())):f<e?(b(g.dl(f)),f++,c((new Date).getTime())):(k.rA(),d((new Date).getTime()))};this.getInputs().forEach((m,n)=>a.on(m,p=>{if(p)switch(n){case 0:g=p;break;case 1:e=g.$i();f=0;k.hz();l();break;case 2:l();break;default:this.Y.error('Unhandled input')}},this.tag))}};
1593
+ olympe.sc.logic.Na.C('0171889b060b6cd54300',olympe.sc.logic.oz.zR);olympe.sc.logic.wf={};olympe.sc.logic.wf.aF=class extends olympe.sc.logic.ak{C(){return this.Mj('017dc92292107fb98b21')}};hm('017dc8d6c8fd8c8bd2f0',olympe.sc.logic.wf.aF);olympe.sc.logic.wf.aF.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.jB=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63808535703691c')}};olympe.sc.logic.wf.jB.T=hm('0169b6876a03f139d50a',olympe.sc.logic.wf.jB);olympe.sc.logic.wf.jB.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.EB=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63809a9a8e6db96')}O(){return this.ho('016ac6380ab003363b3e')}};hm('01646ad602f933b8caaf',olympe.sc.logic.wf.EB);olympe.sc.logic.wf.EB.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.EB.prototype.O.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wf.By=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac6380bd98f1d91a0')}V(){return this.ho('016ac63c589ae38ca3ae')}O(){return this.ho('016ac63c5a377fceabaa')}};hm('0168ec42fc01747a98b6',olympe.sc.logic.wf.By);olympe.sc.logic.wf.By.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.logic.wf.By.prototype.V.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wf.By.prototype.O.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.logic.wf.qr=class extends olympe.sc.logic.ak{rB(){return this.Mj('017a7b07b09e3b22c8b4')}qI(){return this.Mj('017a7b07ba05807a74b0')}sB(){return this.ho('017a7b0818c12388d731')}tB(){return this.ho('017a7b085146d5e69aec')}cR(){return olympe.j.ka.C}};olympe.sc.logic.wf.qr.$='017a7b07b09e3b22c8b4';olympe.sc.logic.wf.qr.Fa='017a7b07ba05807a74b0';olympe.sc.logic.wf.qr.Pa='017a7b0818c12388d731';olympe.sc.logic.wf.qr.C='017a7b085146d5e69aec';
1594
+ olympe.sc.logic.wf.qr.T=hm('017a7b07a948e30508fa',olympe.sc.logic.wf.qr,olympe.sc.logic.ft);h=olympe.sc.logic.wf.qr.prototype;h.rB.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.qI.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.sB.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.tB.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.cR.K=olympe.j.J.U;olympe.sc.logic.wf.aK=class extends olympe.sc.logic.ak{C(){return this.Mj('016ac63c5b3ed0562740')}};hm('016a9766c230916ea5ec',olympe.sc.logic.wf.aK);olympe.sc.logic.wf.aK.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);olympe.sc.query={};olympe.sc.query.pE=class extends olympe.sc.Ee{};olympe.sc.query.pE.T=olympe.dc.Na.C('01631aacd8276ea98491',olympe.sc.query.pE);olympe.sc.query.ZI=class extends olympe.dm.Enum{};olympe.sc.query.ZI.T=olympe.dc.Na.C('01631aacd8276ea98495',olympe.sc.query.ZI);olympe.sc.query.mJ=class extends olympe.dm.Enum{};olympe.sc.query.mJ.T=olympe.dc.Na.C('01631aacd8276ea98494',olympe.sc.query.mJ);olympe.sc.query.rJ=class extends olympe.sc.Ee{};olympe.sc.query.rJ.T=olympe.dc.Na.C('01631aacd8276ea98492',olympe.sc.query.rJ);olympe.sc.query.sJ=class extends olympe.dc.CloudObject{};olympe.sc.query.sJ.T=olympe.dc.Na.C('01631aacd8276ea98493',olympe.sc.query.sJ);olympe.sc.workflow={};olympe.sc.workflow.ObjectState=class extends olympe.dc.CloudObject{};olympe.sc.workflow.ObjectState.T=olympe.dc.Na.C('017ffdd8f0b1e31fe138',olympe.sc.workflow.ObjectState);olympe.sc.workflow.ObjectState.workflowProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13e');olympe.sc.workflow.ObjectState.stateProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe139');olympe.sc.workflow.ObjectState.assigneeProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13a');
1595
+ olympe.sc.workflow.ObjectState.dateTimeProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13b');olympe.sc.workflow.ObjectState.serializedObjectProp=olympe.sc.workflow.ObjectState.T.ea('017ffdd8f0b1e31fe13d');olympe.sc.workflow.ObjectState.objectRel=olympe.sc.workflow.ObjectState.T.Ib('017ffdd8f0b1e31fe13c');olympe.sc.workflow.ObjectState.currentObjectRel=olympe.sc.workflow.ObjectState.T.Ib('017ffdd8f0b1e31fe13f');olympe.sc.workflow.Nn=class extends olympe.sc.logic.ak{dR(){return this.Mj('017ffe02381f9fac5060')}gR(){return this.Mj('017ffe02381f9fac5061')}hR(){return this.Mj('017ffe02381f9fac5062')}LU(){return this.Mj('017ffe02381f9fac5065')}eR(){return this.ho('017ffe02381f9fac5063')}fR(){return this.ho('017ffe02381f9fac5064')}};olympe.sc.workflow.Nn.T=hm('017ffde21f5fe0f704ce',olympe.sc.workflow.Nn);olympe.sc.workflow.Nn.C='017ffe02381f9fac5060';olympe.sc.workflow.Nn.jc='017ffe02381f9fac5061';
1596
+ olympe.sc.workflow.Nn.Kb='017ffe02381f9fac5062';olympe.sc.workflow.Nn.Pa='017ffe02381f9fac5065';olympe.sc.workflow.Nn.$='017ffe02381f9fac5063';olympe.sc.workflow.Nn.Fa='017ffe02381f9fac5064';h=olympe.sc.workflow.Nn.prototype;h.dR.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.gR.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.hR.K=new olympe.j.J(()=>olympe.sc.logic.de,[]);h.LU.K=new olympe.j.J(()=>Map,[]);h.eR.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);h.fR.K=new olympe.j.J(()=>olympe.sc.logic.Ae,[]);olympe.sc.workflow.em=class extends olympe.dm.BrickMetadata{mg(){return this.Gf(olympe.sc.workflow.Workflow.statesRel.Pe(),olympe.sc.workflow.Workflow).Oa().concat(['.',this.Oa()])}};olympe.sc.workflow.em.T=olympe.dc.Na.C('017ffdc2dda51d46b430',olympe.sc.workflow.em);olympe.sc.workflow.Transition=class extends olympe.dc.CloudObject{F(){return this.Dz(olympe.sc.workflow.Transition.processRefProp)}C(){return this.Gf(olympe.sc.workflow.Transition.fromStateRel,olympe.sc.workflow.em)}O(){return this.Gf(olympe.sc.workflow.Transition.toStateRel,olympe.sc.workflow.em)}mg(){const a=this.Gf(olympe.sc.workflow.Transition.fromStateRel,olympe.sc.workflow.em);return a.Gf(olympe.sc.workflow.Workflow.statesRel.Pe(),olympe.sc.workflow.Workflow).Oa().concat(['.',a.Oa(),'->',this.Oa()])}};
1595
1597
  olympe.sc.workflow.Transition.T=olympe.dc.Na.C('017ffdc633219f16beea',olympe.sc.workflow.Transition);olympe.sc.workflow.Transition.processRefProp=olympe.sc.workflow.Transition.T.ea('017ffdc633219f16beec');olympe.sc.workflow.Transition.fromStateRel=olympe.sc.workflow.Transition.T.Ib('017ffdc2dda51d46b431');olympe.sc.workflow.Transition.toStateRel=olympe.sc.workflow.Transition.T.Ib('017ffdc633219f16beeb');olympe.sc.workflow.Transition.prototype.F.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);
1596
1598
  olympe.sc.workflow.Transition.prototype.C.K=new olympe.j.J(()=>olympe.sc.workflow.em,[]);olympe.sc.workflow.Transition.prototype.O.K=new olympe.j.J(()=>olympe.sc.workflow.em,[]);olympe.sc.workflow.Workflow=class extends olympe.dm.BrickMetadata{R(){return olympe.sc.wc.$k.Qx}O(){return this.rk(olympe.sc.workflow.Workflow.serializationEnabledProp)}C(){return this.Gf(olympe.sc.workflow.Workflow.dataTypeRel,olympe.sc.Qq)}F(){return this.Gf(olympe.sc.workflow.Workflow.initialStateRel,olympe.sc.workflow.em)}};olympe.sc.workflow.Workflow.T=olympe.dc.Na.C('017ffdc010e5bcc9c971',olympe.sc.workflow.Workflow);olympe.sc.workflow.Workflow.serializationEnabledProp=olympe.sc.workflow.Workflow.T.ea('017ffdc010e5bcc9c972');
1597
1599
  olympe.sc.workflow.Workflow.dataTypeRel=olympe.sc.workflow.Workflow.T.Ib('017ffdc010e5bcc9c973');olympe.sc.workflow.Workflow.statesRel=olympe.sc.workflow.Workflow.T.Ib('017ffdc010e5bcc9c974');olympe.sc.workflow.Workflow.initialStateRel=olympe.sc.workflow.Workflow.T.Ib('017ffdc010e5bcc9c975');olympe.sc.workflow.Workflow.prototype.O.K=olympe.j.J.U;olympe.sc.workflow.Workflow.prototype.C.K=new olympe.j.J(()=>olympe.sc.Qq,[]);
1598
- olympe.sc.workflow.Workflow.prototype.F.K=new olympe.j.J(()=>olympe.sc.workflow.em,[]);olympe.sc.Vb={};olympe.sc.Vb.tj=class extends olympe.sc.Zc{R(){return olympe.sc.wc.$k.IJ}};olympe.sc.Vb.tj.T=If(olympe.dc.Na.C('01120300000000adef00',olympe.sc.Vb.tj));olympe.sc.Vb.tj.C=olympe.sc.Vb.tj.T.Ib('0171bc1f15da96dfdb89');Z(olympe.dm.mh.T,olympe.sc.Vb.tj.C);olympe.sc.Vb.Ou=class extends olympe.sc.Runnable{Ba(){return[this.$e()]}F(){return olympe.dc.Ti.from(this.$e()).fe(olympe.sc.Vb.tj.C).al()}};olympe.sc.Vb.Ou.T=If(olympe.dc.Na.C('0113030000000aca1100',olympe.sc.Vb.Ou));olympe.sc.Vb.Ou.prototype.F.K=new olympe.j.J(()=>olympe.dm.oe,[]);olympe.sc.Vb.Gd=class extends olympe.dc.CloudObject{jR(){return this.rk(olympe.sc.Vb.Gd.F)}sW(){return this.rk(olympe.sc.Vb.Gd.Ka)}iR(){return this.hf(olympe.sc.Vb.Gd.C)}TU(){return this.ke(olympe.sc.Vb.Gd.V)}xV(){return this.ke(olympe.sc.Vb.Gd.Fa)}wV(){return this.ke(olympe.sc.Vb.Gd.Ba)}CC(){this.ke(olympe.sc.Vb.Gd.Pa)}jV(){return this.ke(olympe.sc.Vb.Gd.$)}wU(){return this.ke(olympe.sc.Vb.Gd.O)}uV(){return this.ke(olympe.sc.Vb.Gd.na)}hR(){return this.ke(olympe.sc.Vb.Gd.U)}};
1600
+ olympe.sc.workflow.Workflow.prototype.F.K=new olympe.j.J(()=>olympe.sc.workflow.em,[]);olympe.sc.Vb={};olympe.sc.Vb.tj=class extends olympe.sc.Zc{R(){return olympe.sc.wc.$k.IJ}};olympe.sc.Vb.tj.T=If(olympe.dc.Na.C('01120300000000adef00',olympe.sc.Vb.tj));olympe.sc.Vb.tj.C=olympe.sc.Vb.tj.T.Ib('0171bc1f15da96dfdb89');Z(olympe.dm.mh.T,olympe.sc.Vb.tj.C);olympe.sc.Vb.Ou=class extends olympe.sc.Runnable{Ba(){return[this.$e()]}F(){return olympe.dc.Ti.from(this.$e()).fe(olympe.sc.Vb.tj.C).al()}};olympe.sc.Vb.Ou.T=If(olympe.dc.Na.C('0113030000000aca1100',olympe.sc.Vb.Ou));olympe.sc.Vb.Ou.prototype.F.K=new olympe.j.J(()=>olympe.dm.oe,[]);olympe.sc.Vb.Gd=class extends olympe.dc.CloudObject{kR(){return this.rk(olympe.sc.Vb.Gd.F)}tW(){return this.rk(olympe.sc.Vb.Gd.Ka)}jR(){return this.hf(olympe.sc.Vb.Gd.C)}UU(){return this.ke(olympe.sc.Vb.Gd.V)}yV(){return this.ke(olympe.sc.Vb.Gd.Fa)}xV(){return this.ke(olympe.sc.Vb.Gd.Ba)}CC(){this.ke(olympe.sc.Vb.Gd.Pa)}kV(){return this.ke(olympe.sc.Vb.Gd.$)}xU(){return this.ke(olympe.sc.Vb.Gd.O)}vV(){return this.ke(olympe.sc.Vb.Gd.na)}iR(){return this.ke(olympe.sc.Vb.Gd.U)}};
1599
1601
  olympe.sc.Vb.Gd.T=olympe.dc.Na.C('011203300000000adef5',olympe.sc.Vb.Gd);olympe.sc.Vb.Gd.F=olympe.sc.Vb.Gd.T.ea('011203300000000adef6');olympe.sc.Vb.Gd.Ka=olympe.sc.Vb.Gd.T.ea('011203300000000adef7');olympe.sc.Vb.Gd.C=olympe.sc.Vb.Gd.T.ea('011203300000000adef8');olympe.sc.Vb.Gd.V=olympe.sc.Vb.Gd.T.ea('011203300000000adef9');olympe.sc.Vb.Gd.Fa=olympe.sc.Vb.Gd.T.ea('011203300000000adefa');olympe.sc.Vb.Gd.Ba=olympe.sc.Vb.Gd.T.ea('011203300000000adefb');olympe.sc.Vb.Gd.O=olympe.sc.Vb.Gd.T.ea('011203300000000adefc');
1600
- olympe.sc.Vb.Gd.Pa=olympe.sc.Vb.Gd.T.ea('011203300000000adefd');olympe.sc.Vb.Gd.$=olympe.sc.Vb.Gd.T.ea('011203300000000adefe');olympe.sc.Vb.Gd.na=olympe.sc.Vb.Gd.T.ea('011203300000000adeff');olympe.sc.Vb.Gd.U=olympe.sc.Vb.Gd.T.ea('011203300000000adee0');olympe.sc.Vb.Gd.La={INIT:0,iY:1,n_:2,j_:3,i_:4,o_:5,dg:9};h=olympe.sc.Vb.Gd.prototype;h.jR.K=olympe.j.J.U;h.sW.K=olympe.j.J.U;h.iR.K=olympe.j.J.F;h.TU.K=olympe.j.J.R;h.xV.K=olympe.j.J.R;h.wV.K=olympe.j.J.R;h.CC.K=olympe.j.J.R;h.jV.K=olympe.j.J.R;
1601
- h.wU.K=olympe.j.J.R;h.uV.K=olympe.j.J.R;h.hR.K=olympe.j.J.R;olympe.sc.Vb.cB=class extends olympe.sc.Vb.Ou{cb(){return!0}};olympe.sc.Vb.cB.T=olympe.dc.Na.C('0113032000000aca1102',olympe.sc.Vb.cB,olympe.sc.fa.Qb);olympe.sc.Vb.cm=class extends olympe.sc.Vb.tj{C(){return(new olympe.dc.kr(this.da(),olympe.sc.Vb.Gd)).fe(olympe.sc.Vb.cm.$).Vd().Rd()}};olympe.sc.Vb.cm.T=olympe.dc.Na.C('011203300000000adef3',olympe.sc.Vb.cm);olympe.sc.Vb.cm.$=olympe.sc.Vb.cm.T.Ib('011203300000000adef4');Z(olympe.sc.Vb.Gd.T,olympe.sc.Vb.cm.$);
1602
- olympe.sc.Vb.cm.T.C=(a,b,c)=>{b=bh(a,b||'New Service Application model',olympe.sc.Vb.cm,olympe.sc.Vb.cB);a.Ob(olympe.sc.Vb.tj.C,b,c);c=a.create(olympe.sc.Vb.Gd).da();a.Ob(olympe.sc.Vb.cm.$,b,c);return b.da()};olympe.sc.Vb.cm.prototype.C.K=new olympe.j.J(()=>olympe.sc.Vb.Gd,[]);olympe.sc.vr=class extends olympe.dc.CloudObject{static get(){return olympe.dc.CloudObject.get('011203300000000adf0f')}};olympe.sc.vr.T=olympe.dc.Na.C('011203300000000adf00',olympe.sc.vr);olympe.sc.vr.F=olympe.sc.vr.T.ea('011203300000000adf01');olympe.sc.vr.C=olympe.sc.vr.T.ea('011203300000000adf02');olympe.sc.vr.O='011203300000000adf0f';olympe.sc.rY=class{};olympe.sc.fd=class{constructor(a){this.Nd=a}xa(){return this.Nd.xa()}RC(){return this.Nd.RC()}getParent(){return this.Nd.getParent()}dw(){return this.Nd.dw()}Ff(){return this.Nd.Ff()}$C(a){this.Nd.$C(a)}hz(){this.Nd.hz()}rA(){this.Nd.rA()}set(a,b){this.Nd.set(a,b);return this}gn(a){this.Nd.gn(a);return this}remove(a){this.Nd.remove(a)}Ca(a,b,c=!1){return this.Nd.Ca(a,b,c)}get(a,b=!1){return this.Nd.get(a,b)}has(a,b=!1){return this.Nd.has(a,b)}observe(a,b=!0,c=!1){return new rxjs.Observable(d=>{const e=
1602
+ olympe.sc.Vb.Gd.Pa=olympe.sc.Vb.Gd.T.ea('011203300000000adefd');olympe.sc.Vb.Gd.$=olympe.sc.Vb.Gd.T.ea('011203300000000adefe');olympe.sc.Vb.Gd.na=olympe.sc.Vb.Gd.T.ea('011203300000000adeff');olympe.sc.Vb.Gd.U=olympe.sc.Vb.Gd.T.ea('011203300000000adee0');olympe.sc.Vb.Gd.La={INIT:0,jY:1,o_:2,k_:3,j_:4,p_:5,dg:9};h=olympe.sc.Vb.Gd.prototype;h.kR.K=olympe.j.J.U;h.tW.K=olympe.j.J.U;h.jR.K=olympe.j.J.F;h.UU.K=olympe.j.J.R;h.yV.K=olympe.j.J.R;h.xV.K=olympe.j.J.R;h.CC.K=olympe.j.J.R;h.kV.K=olympe.j.J.R;
1603
+ h.xU.K=olympe.j.J.R;h.vV.K=olympe.j.J.R;h.iR.K=olympe.j.J.R;olympe.sc.Vb.cB=class extends olympe.sc.Vb.Ou{cb(){return!0}};olympe.sc.Vb.cB.T=olympe.dc.Na.C('0113032000000aca1102',olympe.sc.Vb.cB,olympe.sc.fa.Qb);olympe.sc.Vb.cm=class extends olympe.sc.Vb.tj{C(){return(new olympe.dc.kr(this.da(),olympe.sc.Vb.Gd)).fe(olympe.sc.Vb.cm.$).Vd().Rd()}};olympe.sc.Vb.cm.T=olympe.dc.Na.C('011203300000000adef3',olympe.sc.Vb.cm);olympe.sc.Vb.cm.$=olympe.sc.Vb.cm.T.Ib('011203300000000adef4');Z(olympe.sc.Vb.Gd.T,olympe.sc.Vb.cm.$);
1604
+ olympe.sc.Vb.cm.T.C=(a,b,c)=>{b=bh(a,b||'New Service Application model',olympe.sc.Vb.cm,olympe.sc.Vb.cB);a.Ob(olympe.sc.Vb.tj.C,b,c);c=a.create(olympe.sc.Vb.Gd).da();a.Ob(olympe.sc.Vb.cm.$,b,c);return b.da()};olympe.sc.Vb.cm.prototype.C.K=new olympe.j.J(()=>olympe.sc.Vb.Gd,[]);olympe.sc.vr=class extends olympe.dc.CloudObject{static get(){return olympe.dc.CloudObject.get('011203300000000adf0f')}};olympe.sc.vr.T=olympe.dc.Na.C('011203300000000adf00',olympe.sc.vr);olympe.sc.vr.F=olympe.sc.vr.T.ea('011203300000000adf01');olympe.sc.vr.C=olympe.sc.vr.T.ea('011203300000000adf02');olympe.sc.vr.O='011203300000000adf0f';olympe.sc.sY=class{};olympe.sc.fd=class{constructor(a){this.Nd=a}xa(){return this.Nd.xa()}RC(){return this.Nd.RC()}getParent(){return this.Nd.getParent()}dw(){return this.Nd.dw()}Ff(){return this.Nd.Ff()}$C(a){this.Nd.$C(a)}hz(){this.Nd.hz()}rA(){this.Nd.rA()}set(a,b){this.Nd.set(a,b);return this}gn(a){this.Nd.gn(a);return this}remove(a){this.Nd.remove(a)}Ca(a,b,c=!1){return this.Nd.Ca(a,b,c)}get(a,b=!1){return this.Nd.get(a,b)}has(a,b=!1){return this.Nd.has(a,b)}observe(a,b=!0,c=!1){return new rxjs.Observable(d=>{const e=
1603
1605
  this.get(a);b||null!==e||d.next(e);const f=this.on(a,d.next.bind(d),c?void 0:this.xa(),!1);this.Wr(()=>{f();d.complete()});return f})}repeat(a,b){this.Nd.repeat(a,b);return this}$z(a){return this.Nd.$z(a)}Cx(a,b=!0,c=!1){return rxjs.firstValueFrom(this.observe(a,b,c))}hx(a){this.Nd.hx(a);return this}Ua(a,b=!0){return this.Nd.Ua(a,b)}on(a,b,c,d=!0){return this.Nd.on(a,b,c,d)}Zn(a){return this.Nd.Zn(a)}Am(a,b){return this.Nd.Am(a,b)}Ew(a,b){return this.Nd.Ew(a,b)}Pt(a){return this.Nd.Pt(a)}Xt(){return this.Nd.Xt()}Wr(a,
1604
1606
  b){const c=b||olympe.pa.we();return this.Nd.Wr(()=>{this.Nd.Cw(c);a()},c)}Cw(a){this.Nd.Cw(a)}onDestroy(a){return this.Nd.onDestroy(a)}rl(a){this.Nd.rl(a)}destroy(){this.Nd.destroy()}clear(){this.Nd.clear()}Jc(){return this.Nd.Jc()}oo(){return this.Nd.oo()}Wt(){return this.Nd.Wt()}kd(a){if('function'!==typeof this.Nd.getProperty)throw Error('Trying to call deprecated method $.getProperty() in a non-UI brick');return this.Nd.getProperty(a)}uz(a){if('function'!==typeof this.Nd.getEvent)throw Error('Trying to call deprecated method $.getEvent() in a non-UI brick');
1605
- return this.Nd.getEvent(a)}BW(...a){if('function'!==typeof this.Nd.observeMany)throw Error('Trying to call deprecated method $.observeMany() in a non-UI brick');return this.Nd.observeMany(a)}};olympe.sc.fd.prototype.observeMany=olympe.sc.fd.prototype.BW;olympe.sc.fd.prototype.getEvent=olympe.sc.fd.prototype.uz;olympe.sc.fd.prototype.getProperty=olympe.sc.fd.prototype.kd;olympe.sc.fd.prototype.clear=olympe.sc.fd.prototype.clear;olympe.sc.fd.prototype.destroy=olympe.sc.fd.prototype.destroy;
1607
+ return this.Nd.getEvent(a)}DW(...a){if('function'!==typeof this.Nd.observeMany)throw Error('Trying to call deprecated method $.observeMany() in a non-UI brick');return this.Nd.observeMany(a)}};olympe.sc.fd.prototype.observeMany=olympe.sc.fd.prototype.DW;olympe.sc.fd.prototype.getEvent=olympe.sc.fd.prototype.uz;olympe.sc.fd.prototype.getProperty=olympe.sc.fd.prototype.kd;olympe.sc.fd.prototype.clear=olympe.sc.fd.prototype.clear;olympe.sc.fd.prototype.destroy=olympe.sc.fd.prototype.destroy;
1606
1608
  olympe.sc.fd.prototype.offDestroy=olympe.sc.fd.prototype.rl;olympe.sc.fd.prototype.onDestroy=olympe.sc.fd.prototype.onDestroy;olympe.sc.fd.prototype.offClear=olympe.sc.fd.prototype.Cw;olympe.sc.fd.prototype.onClear=olympe.sc.fd.prototype.Wr;olympe.sc.fd.prototype.getOtherContext=olympe.sc.fd.prototype.Pt;olympe.sc.fd.prototype.onContext=olympe.sc.fd.prototype.Ew;olympe.sc.fd.prototype.createChild=olympe.sc.fd.prototype.Zn;olympe.sc.fd.prototype.setParentElement=olympe.sc.fd.prototype.hx;
1607
1609
  olympe.sc.fd.prototype.waitFor=olympe.sc.fd.prototype.Cx;olympe.sc.fd.prototype.runner=olympe.sc.fd.prototype.$z;olympe.sc.fd.prototype.repeat=olympe.sc.fd.prototype.repeat;olympe.sc.fd.prototype.observe=olympe.sc.fd.prototype.observe;olympe.sc.fd.prototype.has=olympe.sc.fd.prototype.has;olympe.sc.fd.prototype.get=olympe.sc.fd.prototype.get;olympe.sc.fd.prototype.remove=olympe.sc.fd.prototype.remove;olympe.sc.fd.prototype.trigger=olympe.sc.fd.prototype.gn;olympe.sc.fd.prototype.set=olympe.sc.fd.prototype.set;
1608
1610
  olympe.sc.fd.prototype.getParent=olympe.sc.fd.prototype.getParent;function $l(a,b){return`delegated^${olympe.dc.Hb(a)}^${olympe.dc.Hb(b)}`}olympe.sc.pg=class extends olympe.sc.Runnable{Cb(){return this.zc(olympe.sc.pg.O,olympe.sc.Runnable)}La(){return this.zc(olympe.sc.pg.C,olympe.dm.Property)}};olympe.sc.pg.T=If(olympe.dc.Na.C('016c2d996d9ca27fa9d8',olympe.sc.pg));olympe.sc.pg.O=olympe.sc.pg.T.Ib('016c3cb7742ec9309e0b');olympe.sc.pg.C=olympe.sc.pg.T.Ib('016c42d3454636f90533');olympe.sc.pg.prototype.Cb.K=new olympe.j.J(()=>olympe.dc.Db,[]);
1609
1611
  olympe.sc.pg.prototype.La.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.yF=class extends olympe.dm.Ue{R(){return olympe.sc.wc.$k.Qx}};olympe.sc.yF.T=olympe.dc.Na.C('017a7a9ff057958e5678',olympe.sc.yF);olympe.sc.LI=class extends olympe.dm.Ue{R(){return olympe.sc.wc.$k.WB}};olympe.sc.LI.T=olympe.dc.Na.C('01644b6d4543b344b857',olympe.sc.LI);olympe.sc.MI=class extends olympe.dc.CloudObject{};olympe.sc.MI.T=olympe.dc.Na.C('0162f672366be5ca7a86',olympe.sc.MI);function om(a,b,c,d){const e=$l(a,c);olympe.j.bb([d],f=>{b.set(e,f)});olympe.j.jb().Sd(()=>{b.remove(e)})}olympe.sc.tr=class extends olympe.sc.pg{};olympe.sc.tr.T=olympe.dc.Na.C('016d3f37610ae4fc3962',olympe.sc.tr);olympe.sc.gt=class extends olympe.dm.BrickMetadata{R(){return olympe.sc.wc.$k.Qx}};olympe.sc.gt.T=olympe.dc.Na.C('01645fe6873aeea59e64',olympe.sc.gt);olympe.sc.gt.C=olympe.sc.gt.T.Ib('017ed8ac775f48d4d589');olympe.sc.gt.F=olympe.sc.gt.T.Ib('017ed8ac775f48d4d590');olympe.sc.Text=class extends olympe.dm.String{};olympe.sc.Text.T=olympe.dc.Na.C('016cfca73e63f9ab5ba4',olympe.sc.Text);olympe.sc.Uc=class{constructor(a=!0){this.C=(new olympe.dc.Uc).persist(a);this.F=new Map;this.source=olympe.dc.Zb.cf}static from(a){const b=olympe.sc.ic.Mh.TRANSACTION;return a.has(b,!0)?a.get(b,!0):new olympe.sc.Uc}static process(a,b){return a.has(olympe.sc.ic.Mh.TRANSACTION,!0)?Promise.resolve(!1):b.$c().then(()=>!0)}xa(){return this.C.xa()}create(a,b=new Map,c=this.source,d){d=this.C.create(a,d).he(c);this.F.set(d.da(),olympe.dc.Hb(a));for(const [e,f]of b)d.setProperty(e,f);c===olympe.dc.Zb.$g&&
1610
- (b=olympe.dc.cc(),b=null!==bm?b.nw(bm,[olympe.sc.Vb.tj.C,olympe.sc.Kh.F.Pe()])[0]||null:null,null!==b?this.Ob(olympe.sc.Kh.O,b,d):olympe.ub.Gb('sc').warn('No business container for new instance of',olympe.dc.Hb(a)));return d.da()}update(a,b,c){this.C.update(a,b,c);return this}pW(a,b){a=this.C.update(a);for(const [c,d]of b)a.setProperty(c,d);return this}delete(a){this.C.delete(a);return this}Ob(a,b,c){this.C.Ob(a,b,c);return this}Qf(a,b,c){this.C.Qf(a,b,c);return this}uC(a,b){this.C.uC(a,b);return this}persist(a=
1612
+ (b=olympe.dc.cc(),b=null!==bm?b.nw(bm,[olympe.sc.Vb.tj.C,olympe.sc.Kh.F.Pe()])[0]||null:null,null!==b?this.Ob(olympe.sc.Kh.O,b,d):olympe.ub.Gb('sc').warn('No business container for new instance of',olympe.dc.Hb(a)));return d.da()}update(a,b,c){this.C.update(a,b,c);return this}qW(a,b){a=this.C.update(a);for(const [c,d]of b)a.setProperty(c,d);return this}delete(a){this.C.delete(a);return this}Ob(a,b,c){this.C.Ob(a,b,c);return this}Qf(a,b,c){this.C.Qf(a,b,c);return this}uC(a,b){this.C.uC(a,b);return this}persist(a=
1611
1613
  !0){this.C.persist(a);return this}Yr(a,b=!0){this.C.Yr(a,b);return this}he(a){this.source=a;return this}model(a){return this.F.get(olympe.dc.Hb(a))||olympe.dc.cc().model(a)}Uz(a){ah(this.C,a.C);return this}hC(a){this.C.hC(a);return this}$c(){return new Promise((a,b)=>{this.C.$c((c,d)=>{c?a():b(d)})})}xC(){return new Promise((a,b)=>{this.C.xC((c,d)=>{c?a():b(d)})})}};olympe.sc.Uc.prototype.executeAsLarge=olympe.sc.Uc.prototype.xC;olympe.sc.Uc.prototype.execute=olympe.sc.Uc.prototype.$c;
1612
1614
  olympe.sc.Uc.prototype.afterExecution=olympe.sc.Uc.prototype.hC;olympe.sc.Uc.prototype.merge=olympe.sc.Uc.prototype.Uz;olympe.sc.Uc.prototype.model=olympe.sc.Uc.prototype.model;olympe.sc.Uc.prototype.setSource=olympe.sc.Uc.prototype.he;olympe.sc.Uc.prototype.persistInstance=olympe.sc.Uc.prototype.Yr;olympe.sc.Uc.prototype.persist=olympe.sc.Uc.prototype.persist;olympe.sc.Uc.prototype.deleteAllRelations=olympe.sc.Uc.prototype.uC;olympe.sc.Uc.prototype.deleteRelation=olympe.sc.Uc.prototype.Qf;
1613
- olympe.sc.Uc.prototype.createRelation=olympe.sc.Uc.prototype.Ob;olympe.sc.Uc.prototype['delete']=olympe.sc.Uc.prototype.delete;olympe.sc.Uc.prototype.multiUpdate=olympe.sc.Uc.prototype.pW;olympe.sc.Uc.prototype.update=olympe.sc.Uc.prototype.update;olympe.sc.Uc.prototype.create=olympe.sc.Uc.prototype.create;olympe.sc.Uc.prototype.getId=olympe.sc.Uc.prototype.xa;olympe.sc.Uc.process=olympe.sc.Uc.process;olympe.sc.Uc.from=olympe.sc.Uc.from;olympe.sc.wc.BrickMetadata=olympe.dm.BrickMetadata;olympe.sc.wc.vj=olympe.dm.vj;olympe.sc.bn={};function pm(a){a.Y.info('Starting application '+a.C);let b=!1;const c=olympe.dc.cc();if(0<a.C.length){const d=qf(c,a.C,(e,f)=>{if(e){const g=Wl(f);g.run?(a.Y.debug('application retrieved: running'),(new olympe.j.Qd('Application execution context',a.O.Ff())).run(()=>{b=!0;g.run(new olympe.sc.ic(g.da()))}),a.R()):a.Y.error('application retrieved: not an Application with a run() method')}else qm(a)});olympe.j.jb().onDestroy(()=>{rf(c,a.C,d)});tc(()=>{b||a.Y.warn(`requested application ${a.C} may not be available (it may not exist or the logged user may not have the correct permissions)`)},
1615
+ olympe.sc.Uc.prototype.createRelation=olympe.sc.Uc.prototype.Ob;olympe.sc.Uc.prototype['delete']=olympe.sc.Uc.prototype.delete;olympe.sc.Uc.prototype.multiUpdate=olympe.sc.Uc.prototype.qW;olympe.sc.Uc.prototype.update=olympe.sc.Uc.prototype.update;olympe.sc.Uc.prototype.create=olympe.sc.Uc.prototype.create;olympe.sc.Uc.prototype.getId=olympe.sc.Uc.prototype.xa;olympe.sc.Uc.process=olympe.sc.Uc.process;olympe.sc.Uc.from=olympe.sc.Uc.from;olympe.sc.wc.BrickMetadata=olympe.dm.BrickMetadata;olympe.sc.wc.vj=olympe.dm.vj;olympe.sc.bn={};function pm(a){a.Y.info('Starting application '+a.C);let b=!1;const c=olympe.dc.cc();if(0<a.C.length){const d=qf(c,a.C,(e,f)=>{if(e){const g=Wl(f);g.run?(a.Y.debug('application retrieved: running'),(new olympe.j.Qd('Application execution context',a.O.Ff())).run(()=>{b=!0;g.run(new olympe.sc.ic(g.da()))}),a.R()):a.Y.error('application retrieved: not an Application with a run() method')}else qm(a)});olympe.j.jb().onDestroy(()=>{rf(c,a.C,d)});tc(()=>{b||a.Y.warn(`requested application ${a.C} may not be available (it may not exist or the logged user may not have the correct permissions)`)},
1614
1616
  1E4)}}
1615
1617
  function rm(a,b){if(a.Ba)a.Y.debug('Sending getContext request'),Oi(a.Pa,d=>{d?a.Y.error('failed to synchronise (authenticated) with server: '+d.message):(a.Y.debug('synchronisation request successful'),bm=a.C,b())});else{var c=olympe.dc.Nh.SUBSCRIBE;const d=olympe.dc.Nh.ct,e=a.O.Wt()?d:c;a.Y.debug((a.O.Wt()?'PULLING':'SUBSCRIBING')+' application '+a.C);const f=olympe.j.jb();c=new olympe.async.Py(f);c.add((g,k)=>{Wh(new olympe.dc.xj(a.C,e),olympe.dc.Ve.ri).$c(l=>{var m=olympe.dc.Zb;var n=(n=olympe.dc.Ti.from(a.C).fe(olympe.sc.Vb.tj.C).fe(olympe.sc.logic.Zo.C.Pe()).al())&&
1616
1618
  n.da()||olympe.dc.Zb.$g;m.cf=n;l?k(l.message):g()})});c.add(g=>{olympe.j.bb([a.F.cq()],k=>{(new olympe.dc.Db(k)).Km(f.C(g))})});c.add((g,k)=>{const l=olympe.sc.Kh.C.vI,m=olympe.sc.Kh.C.zB;cm(a.C,n=>{switch(n){case l:case m:g();break;default:k('Error while loading the business container')}})});Kc(c,(g,k)=>{if(k)throw Error(k);b()});c.start()}}function qm(a){a.Y.debug('Stop the application');a.R();a.O.Ff().ga()}
1617
1619
  olympe.sc.bn.sr=class{constructor(a,b,c,d,e,f,g){this.F=a;this.Pa=b;this.Y=c;this.O=d;this.C=e;this.Ba=f;this.$=g||!1}run(){const a=olympe.Aa.lb.C.To,b=olympe.Aa.lb.C.cp,c=olympe.Aa.lb.C.$q,d=olympe.Aa.lb.C.As;this.Y.debug('runtime starting for app #'+this.C);let e=!1;const f=()=>{e||(pm(this),e=!0)};olympe.j.bb([this.F.getState()],g=>{switch(g){case a:case c:this.Y.debug('Server session opened, calling once connected callback');e||this.U();rm(this,f);break;case b:this.Y.debug('Disconnected, working offline.');
1618
1620
  this.$&&!e&&rm(this,f);break;case d:this.Y.debug('waiting for authentication');break;default:this.Y.debug('No server session available, waiting for connection'),e=!1,qm(this)}},'Runtime initial auth state listener')}U(){}R(){}};olympe.sc.bn.sr.C='app_instance';olympe.sc.bn.sr.ua=[olympe.Af.oE];olympe.sc.bn.vn={ri:'sc.runtime.Main'};
1619
1621
  olympe.oa.Fe(function(a){A(a,olympe.Aa.fa.Ex,[new olympe.oa.Ta(olympe.Af.za.Ml),new olympe.oa.Ta(olympe.sc.za.Ml),new olympe.oa.Ta(olympe.Af.za.UA)],(b,c,d)=>new olympe.Aa.yA(d?'':b+(c?'-'+c:'')));z(a,olympe.sc.bn.vn.ri,olympe.sc.bn.sr,olympe.Aa.fa.sb,olympe.dc.query.fa.sb,olympe.sc.fa.Qb,olympe.sc.fa.Ky,new olympe.oa.Ta(olympe.sc.za.Ml),new olympe.oa.Ta(olympe.dc.za.Gp),new olympe.oa.Ta(olympe.sc.za.BB));olympe.Af.Dq(a,olympe.sc.bn.vn.ri,'sc.runtime');olympe.Af.Dq(a,olympe.sc.bn.vn.ri,'sc.headless');
1620
- olympe.Af.Dq(a,olympe.sc.bn.vn.ri)},'olympe.sc.runtime');olympe.sc.ui={};olympe.sc.ui.J0=function(a){return a instanceof olympe.sc.ui.Zd};function sm(a){const b=olympe.dc.cc(),c=[a.da()].concat(b.Bm(a,olympe.dm.oe.O));return b.aj(olympe.sc.Lg).filter(d=>c.includes(b.xe(d,olympe.dm.oe.U.Pe()))).map(d=>olympe.dc.CloudObject.get(d))}function tm(a){return(new olympe.dc.Db(olympe.sc.Lg)).transform(olympe.dc.CloudObject.instancesRel).transform(new olympe.dc.wa.be(new olympe.dc.ta.Xl([olympe.dm.oe.U,new olympe.dc.wa.hg(olympe.dm.oe.Fa,olympe.dc.Pb.ORIGIN,0)],[olympe.dc.Pb.ORIGIN,olympe.dc.Pb.ORIGIN],a)))}
1622
+ olympe.Af.Dq(a,olympe.sc.bn.vn.ri)},'olympe.sc.runtime');olympe.sc.ui={};olympe.sc.ui.K0=function(a){return a instanceof olympe.sc.ui.Zd};function sm(a){const b=olympe.dc.cc(),c=[a.da()].concat(b.Bm(a,olympe.dm.oe.O));return b.aj(olympe.sc.Lg).filter(d=>c.includes(b.xe(d,olympe.dm.oe.U.Pe()))).map(d=>olympe.dc.CloudObject.get(d))}function tm(a){return(new olympe.dc.Db(olympe.sc.Lg)).transform(olympe.dc.CloudObject.instancesRel).transform(new olympe.dc.wa.be(new olympe.dc.ta.Xl([olympe.dm.oe.U,new olympe.dc.wa.hg(olympe.dm.oe.Fa,olympe.dc.Pb.ORIGIN,0)],[olympe.dc.Pb.ORIGIN,olympe.dc.Pb.ORIGIN],a)))}
1621
1623
  function um(a,b=!1){const c=new olympe.j.Map,d=e=>{let f,g;const k=olympe.j.rb(olympe.j.mb);e.Hr(l=>k.update(olympe.j.kc(l)));olympe.j.bb([e.zi(),e.ml(),e.Ai(),e.Ot(),k],(l,m,n,p,r)=>{const t=l+':'+m+':'+n;var u=c.Cg(t);const v=u?u.Iz():Object.create(null);u=u?u.xa():null;const w=f?c.Cg(f):null;p=p.valueOf().replace(/^font\//,'');g&&g!==p&&delete v[g];if(w&&t!==f){const x=w.Iz();delete x[g];0===Object.keys(x).length?c.remove(f):c.set(f,new olympe.ui.Ls(w.FC(),w.Gz(),w.SC(),x,w.xa()))}g=p;f=t;v[p]=
1622
- r.valueOf();c.set(t,new olympe.ui.Ls(l.valueOf(),m.valueOf(),n.valueOf(),v,u))});if(!b)olympe.j.jb().onDestroy(()=>{f&&c.remove(f)})};b?sm(a).forEach(d):tm(a).forEach(d);return c}olympe.sc.ui.jZ=class{};function vm(a,b=!0){const c=d=>{d=a.db.xe(d,olympe.sc.ui.tf.propertyRel.Pe());return a.db.kd(d,olympe.sc.ui.tf.F)};return[a.tag].concat(a.db.Ir(a,olympe.sc.ui.Renderable)).reduce((d,e)=>{e=a.db.zc(e,olympe.dc.CloudObject.propertyRel);b&&e.sort((f,g)=>c(f)-c(g));return d.concat(e)},[])}olympe.sc.ui.Dj=class extends olympe.sc.Zc{C(){const a=olympe.dc.cc().Ir(this,olympe.sc.ui.Renderable).length;return(new olympe.dc.kr(this.tag)).$v(olympe.dc.CloudObject.extendRel,olympe.dc.wa.yv.gB,a-1).fe(olympe.dc.CloudObject.propertyRel).Vd()}R(){return olympe.sc.wc.$k.WB}U(){return null}};
1624
+ r.valueOf();c.set(t,new olympe.ui.Ls(l.valueOf(),m.valueOf(),n.valueOf(),v,u))});if(!b)olympe.j.jb().onDestroy(()=>{f&&c.remove(f)})};b?sm(a).forEach(d):tm(a).forEach(d);return c}olympe.sc.ui.kZ=class{};function vm(a,b=!0){const c=d=>{d=a.db.xe(d,olympe.sc.ui.tf.propertyRel.Pe());return a.db.kd(d,olympe.sc.ui.tf.F)};return[a.tag].concat(a.db.Ir(a,olympe.sc.ui.Renderable)).reduce((d,e)=>{e=a.db.zc(e,olympe.dc.CloudObject.propertyRel);b&&e.sort((f,g)=>c(f)-c(g));return d.concat(e)},[])}olympe.sc.ui.Dj=class extends olympe.sc.Zc{C(){const a=olympe.dc.cc().Ir(this,olympe.sc.ui.Renderable).length;return(new olympe.dc.kr(this.tag)).$v(olympe.dc.CloudObject.extendRel,olympe.dc.wa.yv.gB,a-1).fe(olympe.dc.CloudObject.propertyRel).Vd()}R(){return olympe.sc.wc.$k.WB}U(){return null}};
1623
1625
  olympe.sc.ui.Dj.T=olympe.dc.Na.C('01612df1f810c91e8997',olympe.sc.ui.Dj);olympe.sc.ui.Dj.$=olympe.sc.ui.Dj.T.Ib('016951f802614c4350bf');Z(olympe.dm.Property.T,olympe.sc.ui.Dj.$);olympe.sc.ui.Dj.T.C=(a,b)=>bh(a,b||'New Abstract Visual Component',olympe.sc.ui.Dj,olympe.sc.ui.oc).setProperty(olympe.dc.CloudObject.ga,!0).da();olympe.sc.ui.Dj.prototype.C.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.ui.Nx=class extends olympe.sc.ui.Dj{};olympe.sc.ui.Nx.T=olympe.dc.Na.C('017a8a97979d7c51ab6a',olympe.sc.ui.Nx);olympe.sc.ui.Nx.T.C=function(a,b){return bh(a,b||'New Coded Visual Component',olympe.sc.ui.Nx,olympe.sc.ui.oc).da()};function wm(a,b,c,d,e){const f=olympe.j.aa,g=olympe.j.ka,k=olympe.sc.ui.Zd.Pa,l=olympe.sc.ui.Zd.Fa,m=xm(a,b,e);a=c.Ha(k,b,g,g.xb);b=c.Ha(l,b,g,g.xb);return new olympe.j.ia(olympe.j.eb(a,()=>Jb(m.ma(),d.ma()),()=>d.ma(),f),olympe.j.eb(b,()=>Jb(m.sa(),d.sa()),()=>d.sa(),f))}
1624
1626
  function ym(a,b,c,d,e,f,g,k){const l=olympe.j.aa,m=olympe.sc.ui.Zd.Kb,n=olympe.sc.ui.Zd.Rb;a=a.Ha(olympe.sc.ui.Zd.jc,b,olympe.j.ka,olympe.j.ka.xb);const p=new olympe.ui.D.Cd(e);p.rs(g);p.zu(k);p.Au(a);olympe.j.eb(a,()=>{var r=p.U();const t=c.O(m,b,l,r.ma());r=c.O(n,b,l,r.sa());zd(p,new olympe.j.ia(t,r));const u=e.ma(),v=e.sa();zm(d,v,u,r,f.sa(),!1);zm(d,u,v,t,f.ma(),!0)});return p}
1625
1627
  function xm(a,b,c){const d=olympe.sc.ui.Renderable.C,e=olympe.sc.ui.Renderable.F,f=olympe.sc.ui.oc.R,g=olympe.sc.ui.oc.U,k=olympe.j.aa;a=void 0===c?a.qw().Vh().$h([olympe.sc.ui.oc]).Kq(olympe.sc.ui.Renderable.V).Vd():c;c=(l,m,n)=>{const p=new olympe.j.Map(k);p.set('0',k.ZERO);l.forEach(r=>{var t=r.da(),u=b.Am(t);t=r.Ha(m,u,k);u=r.Ha(n,u,k);p.set(r.da(),t.$a(u))},r=>{p.remove(r)});return k.max(p)};return new olympe.j.ia(c(a,f,d),c(a,g,e))}
@@ -1630,7 +1632,7 @@ olympe.sc.ui.Zd.C=olympe.sc.ui.Zd.T.ea('016be61ab921cb3bdef9');olympe.sc.ui.Zd.P
1630
1632
  olympe.sc.ui.Zd.T.C=function(a,b,c,d){b=b||'Group';d=d||bh(a,b,olympe.sc.ui.Zd,olympe.sc.ui.oc);d.setProperty(olympe.dc.Yl.cf+olympe.dc.CloudObject.nameProp.da(),b);a=a.create(olympe.sc.ui.Ub.Je,c);d.setProperty(olympe.sc.ui.Zd.C.da(),new olympe.dc.ig(a));return d.da()};olympe.sc.ui.Zd.prototype.V.K=new olympe.j.J(()=>olympe.sc.ui.jr,[]);olympe.sc.ui.Zd.prototype.O.K=new olympe.j.J(()=>olympe.ui.D.Je,[]);olympe.sc.ui.Ny=class extends olympe.sc.ui.Zd{};olympe.sc.ui.Ny.T=olympe.dc.Na.C('01612df349e137bbb30b',olympe.sc.ui.Ny);olympe.sc.ui.Ny.T.C=function(a,b,c){b=b||'New Screen';const d=bh(a,b,olympe.sc.ui.Ny,olympe.sc.ui.Screen);bk(a,olympe.sc.ui.Zd,b,c,d);return d.da()};olympe.sc.ui.bz=class extends olympe.sc.ui.Zd{};olympe.sc.ui.bz.T=olympe.dc.Na.C('0166446c1f124f078a5f',olympe.sc.ui.bz);olympe.sc.ui.bz.T.C=function(a,b,c){b=b||'New Visual Component';c=bh(a,b,olympe.sc.ui.bz,c||olympe.sc.ui.oc);bk(a,olympe.sc.ui.Zd,b,void 0,c);c.setProperty(olympe.dc.Yl.cf+olympe.sc.ui.Renderable.C.da(),600);c.setProperty(olympe.dc.Yl.cf+olympe.sc.ui.Renderable.F.da(),300);return c.da()};const Am=new Map;function Bm(a,b,c,d){if(void 0!==d){if(null!==d){const e=a.updateParent(c,d),f=b.Ff();f.Sd(()=>{e&&e();f.yc('_unreg_element')},'_unreg_element')}}else a.draw(b,c);b.remove('_off_container')}
1631
1633
  function Cm(a){const b=olympe.sc.logic.wd,c=olympe.j.jb(),d=a.da(),e=Object.create(null),f=Object.create(null);for(const [k,l]of Am)f[k]=l,Am.delete(k);const g=Dg(a.db,d,b.Gu.Pe(),c.C((k,l)=>{k?(k=a.db.xe(l,b.qA),void 0!==f[k]&&(e[l]=k,f[k].enable())):(k=e[l],void 0!==k&&(f[k].disable(),delete e[l]))}));c.onDestroy(()=>{a.db.F(d,b.Gu.Pe(),g)})}function Dm(a,b,c,d){a=new Em(b,a);void 0!==d?Fm(a,c,d):Gm(a,c);Am.set(olympe.dc.Hb(b),a)}
1632
1634
  function Hm(a,b){const c=`finalThemeClass-${a.tag}`;let d;const e=f=>{d&&d();const g=Im(f,a.$e(),'');let k=!1;d=b.on(g,l=>{k=!0;b.set(c,l?f:'default')});k||b.set(c,'default');olympe.j.jb().onDestroy(()=>{d&&d()})};b.set(c,'default');b.on(olympe.sc.ui.Renderable.cb.da(),f=>e(f))}function Jm(a,b){olympe.j.bb([a.ma()],c=>{b.set(olympe.sc.ui.Renderable.C,c.valueOf())});olympe.j.bb([a.sa()],c=>{b.set(olympe.sc.ui.Renderable.F,c.valueOf())})}
1633
- olympe.sc.ui.Renderable=class extends olympe.sc.Runnable{constructor(a,b){super(a,b,olympe.ub.Gb('sc'))}Ba(){return this.Dg()instanceof olympe.sc.ui.Zd?[this.$e()]:[]}na(){const a=olympe.sc.ic.sf.ZP,b=this.db,c=new Map,d=this.Dg();for(const e of vm(d,!1))c.set(a+b.name(e),e);return c}update(a,b,c){const d=olympe.sc.ic.Mh.xn,e=olympe.sc.ic.Mh.Tq,f=this.Dg().zw(),g=olympe.sc.ui.Renderable.prototype.F!==this.F;!f&&super.update(a,b,c);c=a.get(e);if(!c){c=a.getParent();const l=new olympe.j.Qd('wrapper context for renderable',
1635
+ olympe.sc.ui.Renderable=class extends olympe.sc.Runnable{constructor(a,b){super(a,b,olympe.ub.Gb('sc'))}Ba(){return this.Dg()instanceof olympe.sc.ui.Zd?[this.$e()]:[]}na(){const a=olympe.sc.ic.sf.$P,b=this.db,c=new Map,d=this.Dg();for(const e of vm(d,!1))c.set(a+b.name(e),e);return c}update(a,b,c){const d=olympe.sc.ic.Mh.xn,e=olympe.sc.ic.Mh.Tq,f=this.Dg().zw(),g=olympe.sc.ui.Renderable.prototype.F!==this.F;!f&&super.update(a,b,c);c=a.get(e);if(!c){c=a.getParent();const l=new olympe.j.Qd('wrapper context for renderable',
1634
1636
  c?c.Ff():a.Ff());a.onDestroy(()=>{l.destroy()});c=l.run(()=>this.F(a));a.set(e,c)}const k=f&&!g?this.render(a,b):c.Yp();if(!g&&(f||!a.Xt())){a.has('_off_container')&&a.get('_off_container')();if(a.has(d))Bm(this,a,a.get(d),k);else{const l=a.on(d,m=>{Bm(this,a,m,k);l()},a.xa());a.set('_off_container',l)}a.onDestroy(()=>{a.has('_off_container')&&this.Y.debug(`No parent container has been found to render the brick ${this.db.name(this)}, ${this.tag}`)})}}render(){}updateParent(a,b){b&&a.appendChild(b);
1635
1637
  return()=>{}}F(a){var b=this.Dg();if(b.zw()){const c=olympe.j.ka;b=new olympe.ui.D.De(this.tag,this.la(a));b.qd(this.Ha(olympe.sc.ui.oc.Cb,a,c,c.xb));b.Km(d=>{a.hx(d)})}else b=b.O(a,this),this.C(b,a);return b}Gg(){return vm(this.Dg())}draw(a,b){a=this.db.name(this.$e());this.Y.warn(`Visual brick ${this.db.name(this.tag)} (${this.tag}) is hardcoded but no code is associated to its model ${a} (${this.$e()})`);a=document.createElement('p');a.innerHTML='Not Implemented';a.style['vertical-align']='middle';
1636
1638
  a.style['text-align']='center';a.style.width='inherit';a.style.height='inherit';a.style.display='table-cell';a.style['background-color']='rgba(192, 192, 192, 0.5)';a.style['font-family']='Roboto';b.appendChild(a)}C(a,b){a.Qa(this.Ha(olympe.sc.ui.Renderable.ca,b,olympe.j.Color,O()));Cm(this)}V(){return[this.Rb,this.Fa,this.$,this.La,this.ga]}La(a,b){Hm(this,a);const c=olympe.j.jb(),d=this.$e(),e=olympe.sc.ui.Dj.$,f=this.db.Ir(this.$e(),olympe.sc.ui.Renderable);f.push(d);let g=[];f.forEach(l=>{g=g.concat(this.db.zc(l,
@@ -1639,20 +1641,20 @@ olympe.sc.ui.Renderable.prototype.getProperties=olympe.sc.ui.Renderable.prototyp
1639
1641
  class Em{constructor(a,b){++Km;this.O=a;this.F=b;this.Ze=new olympe.j.Qd('InteractionBinder context '+Km);this.R=null;this.C=0}enable(){++this.C;1===this.C&&this.R()}disable(){--this.C;0===this.C&&this.Ze.destroy()}}olympe.sc.ui.Renderable.T=If(olympe.dc.Na.C('01612df219d0691f6b4d',olympe.sc.ui.Renderable));olympe.sc.ui.Renderable.cb=olympe.sc.ui.Renderable.T.ea('0161d7ba2406f5d75a37');olympe.sc.ui.Renderable.ca=olympe.sc.ui.Renderable.T.ea('01611d9c686bbed5fdba');olympe.sc.ui.Renderable.C=olympe.sc.ui.Renderable.T.ea('01611d99ec0553b5926e');
1640
1642
  olympe.sc.ui.Renderable.F=olympe.sc.ui.Renderable.T.ea('01611d9a0452a179c68f');olympe.sc.ui.Renderable.V=olympe.sc.ui.Renderable.T.ea('016c23bd12493a7e1b2e');olympe.sc.ui.Renderable.prototype.la.K=olympe.j.J.V;olympe.sc.ui.Renderable.prototype.jf.K=olympe.j.J.F;olympe.sc.ui.oc=class extends olympe.sc.ui.Renderable{constructor(a,b){super(a,b)}ca(a){a.getProperty=b=>(b=Pl(a,b))&&new olympe.sc.ui.Ql(b,a);a.getEvent=b=>(b=Pl(a,b))&&new olympe.sc.ui.JA(b,a);a.observeMany=(...b)=>rxjs.combineLatest(b.map(c=>{c=Pl(a,c);return null!==c?a.observe(c):rxjs.of(null)}));super.ca(a)}ge(a){return new olympe.j.ia(this.Ha(olympe.sc.ui.oc.R,a,olympe.j.aa,olympe.j.aa.ZERO),this.Ha(olympe.sc.ui.oc.U,a,olympe.j.aa,olympe.j.aa.ZERO))}U(a){const b=this.Dg();return b.Oz()?b.qw().Vh().$h([olympe.sc.ui.oc]).Kq(olympe.sc.ui.Renderable.V).Vd():
1641
1643
  a.includes(this.da())?this.db.zc(b,olympe.dc.CloudObject.propertyRel).filter(c=>this.db.yw(this.db.xe(c,olympe.dm.Property.typeRel),olympe.sc.ui.oc)).reduce((c,d)=>{olympe.j.bb([this.Dz(d)],e=>{e=e.Jr();a.includes(olympe.dc.Hb(e))&&c.set(d,e)});return c},new olympe.j.Ee(olympe.dm.vj)):null}C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ka,f=olympe.j.mb;a.qd(this.Ha(olympe.sc.ui.oc.Cb,b,e,e.xb));a.ed(Jb(this.Ha(olympe.sc.ui.oc.af,b,d),0));a.ld(this.Ha(olympe.sc.ui.oc.Kd,b,c));a.lc(this.Ha(olympe.sc.ui.oc.qe,
1642
- b,d));a.ts(this.Ha(olympe.sc.ui.oc.SV,b,d,d.ZERO));olympe.j.bb([this.Ha(olympe.sc.ui.oc.vg,b,f)],g=>{g=g.valueOf().split(';').filter(k=>''!==k).map(k=>k.split(':')).filter(([k,l])=>void 0!==k&&void 0!==l);for(const [k,l]of g)a.nb(k.trim(),l.trim());T(a).O()});olympe.j.bb([this.Ha(olympe.sc.ui.oc.yc,b,e,e.xb)],g=>{a.nb('overflow',g.valueOf()?'visible':'hidden')});Dm(b,olympe.sc.ui.oc.BP,a.bd.bind(a),a.Pj.bind(a));super.C(a,b)}};olympe.sc.ui.oc.T=olympe.dc.Na.C('01664466071746f5e167',olympe.sc.ui.oc);
1643
- olympe.sc.ui.oc.R=olympe.sc.ui.oc.T.ea('01611d99243ad989b91b');olympe.sc.ui.oc.U=olympe.sc.ui.oc.T.ea('01611d9962e7f4f9a26d');olympe.sc.ui.oc.Cb=olympe.sc.ui.oc.T.ea('01611d9a88f340465399');olympe.sc.ui.oc.SV=olympe.sc.ui.oc.T.ea('016b08fd79c14bad3193');olympe.sc.ui.oc.vg=olympe.sc.ui.oc.T.ea('017c5114f14f96c4f187');olympe.sc.ui.oc.yc=olympe.sc.ui.oc.T.ea('017e6d4a0974fd84338f');olympe.sc.ui.oc.af=olympe.sc.ui.oc.T.ea('0163ba941097ae1920b0');olympe.sc.ui.oc.Kd=olympe.sc.ui.oc.T.ea('0163ba942b6ee2bc78c0');
1644
- olympe.sc.ui.oc.qe=olympe.sc.ui.oc.T.ea('0163ba9e1428240acec7');olympe.sc.ui.oc.rW=olympe.sc.ui.oc.T.ea('0162e2bd70fb607442d4');olympe.sc.ui.oc.BP=olympe.sc.ui.oc.T.ea('01619aacf66faf45a75d');olympe.sc.ui.Ql=class{constructor(a,b){this.tag=a;this.C=b}da(){return this.tag}get(){return this.C.get(this.tag)}observe(){return this.C.observe(this.tag)}set(a){this.C.set(this.tag,a)}};olympe.sc.ui.Ql.prototype.set=olympe.sc.ui.Ql.prototype.set;olympe.sc.ui.Ql.prototype.observe=olympe.sc.ui.Ql.prototype.observe;
1645
- olympe.sc.ui.Ql.prototype.get=olympe.sc.ui.Ql.prototype.get;olympe.sc.ui.Ql.prototype.getTag=olympe.sc.ui.Ql.prototype.da;olympe.sc.ui.JA=class extends olympe.sc.ui.Ql{gn(){this.set(Date.now())}};olympe.sc.ui.JA.prototype.trigger=olympe.sc.ui.JA.prototype.gn;olympe.sc.ui.oc.ua=[olympe.dc.dk];olympe.sc.ui.oc.prototype.ge.K=olympe.j.J.V;function Lm(a,b){const c=(d,e,f)=>{Dm(b,d,e,f)};Dm(b,olympe.sc.ui.Ja.IP,a.Jm.bind(a),a.lq.bind(a));Dm(b,olympe.sc.ui.Ja.uR,a.eh.bind(a),a.wk.bind(a));Dm(b,olympe.sc.ui.Ja.iS,a.Sg.bind(a),a.Ig.bind(a));Dm(b,olympe.sc.ui.Ja.IR,a.ij.bind(a),a.xk.bind(a));Dm(b,olympe.sc.ui.Ja.OR,a.Ci.bind(a),a.Qj.bind(a));Dm(b,olympe.sc.ui.Ja.$R,a.Ak.bind(a),a.sl.bind(a));Dm(b,olympe.sc.ui.Ja.dS,a.uo.bind(a),a.qq.bind(a));Dm(b,olympe.sc.ui.Ja.tS,a.vo.bind(a),a.rq.bind(a));Dm(b,olympe.sc.ui.Ja.nT,a.Ck.bind(a),a.ro.bind(a));
1646
- Dm(b,olympe.sc.ui.Ja.iT,a.Bk.bind(a),a.fj.bind(a));Dm(b,olympe.sc.ui.Ja.mT,a.Bo.bind(a),a.uq.bind(a));Dm(b,olympe.sc.ui.Ja.dT,a.Mm.bind(a),a.qo.bind(a));Dm(b,olympe.sc.ui.Ja.RP,a.wq.bind(a),a.mq.bind(a));Dm(b,olympe.sc.ui.Ja.oT,a.Cq.bind(a),a.vq.bind(a));Dm(b,olympe.sc.ui.Ja.gQ,a.xq.bind(a),a.nq.bind(a));Dm(b,olympe.sc.ui.Ja.kR,a.yq.bind(a),a.oq.bind(a));Dm(b,olympe.sc.ui.Ja.lR,a.zq.bind(a),a.pq.bind(a));Dm(b,olympe.sc.ui.Ja.YS,a.Bq.bind(a),a.tq.bind(a));Dm(b,olympe.sc.ui.Ja.NS,a.Aq.bind(a),a.Ba.bind(a));
1647
- c(olympe.sc.ui.Ja.VX,()=>{a.bo()});c(olympe.sc.ui.Ja.XX,()=>{a.pm()});c(olympe.sc.ui.Ja.PO,()=>{a.pk()});c(olympe.sc.ui.Ja.YX,()=>{a.rm()});c(olympe.sc.ui.Ja.GO,()=>{a.sm()});c(olympe.sc.ui.Ja.ZO,()=>{a.tm()});c(olympe.sc.ui.Ja.gD,()=>{a.Fm()});c(olympe.sc.ui.Ja.YD,()=>{a.Gm()});c(olympe.sc.ui.Ja.rD,()=>{a.Eh()});c(olympe.sc.ui.Ja.cW,()=>{a.xm()});c(olympe.sc.ui.Ja.bW,()=>{a.wm()});c(olympe.sc.ui.Ja.aW,()=>{a.vm()});c(olympe.sc.ui.Ja.UV,()=>{a.um()});c(olympe.sc.ui.Ja.kq,()=>{a.fl()});c(olympe.sc.ui.Ja.mW,
1648
- ()=>{a.kl()});c(olympe.sc.ui.Ja.Wz,()=>{a.gl()});c(olympe.sc.ui.Ja.SX,()=>{a.hl()});c(olympe.sc.ui.Ja.TX,()=>{a.qm()});c(olympe.sc.ui.Ja.MT,()=>{a.jl()});c(olympe.sc.ui.Ja.BO,()=>{a.il()})}
1649
- olympe.sc.ui.Ja=class extends olympe.sc.ui.oc{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ka;a.Jq(this.Ha(olympe.sc.ui.Ja.PT,b,d,d.ZERO));a.gh(new olympe.j.ia(this.Ha(olympe.sc.ui.Ja.jP,b,d,d.ZERO),this.Ha(olympe.sc.ui.Ja.qP,b,d,d.ZERO)),Jb(this.Ha(olympe.sc.ui.Ja.pT,b,d,d.ZERO),0),this.Ha(olympe.sc.ui.Ja.rU,b,d,d.ZERO),this.Ha(olympe.sc.ui.Ja.kU,b,c,O()),this.Ha(olympe.sc.ui.Ja.fD,b,e,e.xb));Lm(a,b);super.C(a,b)}};olympe.sc.ui.Ja.T=olympe.dc.Na.C('01612df263119ee77622',olympe.sc.ui.Ja);
1650
- olympe.sc.ui.Ja.PT=olympe.sc.ui.Ja.T.ea('01631febba3ab94ae368');olympe.sc.ui.Ja.jP=olympe.sc.ui.Ja.T.ea('0163baa7ccf69a395b87');olympe.sc.ui.Ja.qP=olympe.sc.ui.Ja.T.ea('0163bab1436a39979789');olympe.sc.ui.Ja.pT=olympe.sc.ui.Ja.T.ea('0163baa7e220ba9a58da');olympe.sc.ui.Ja.rU=olympe.sc.ui.Ja.T.ea('0163baa7f80f046eaf31');olympe.sc.ui.Ja.kU=olympe.sc.ui.Ja.T.ea('0163baa80bd84ac855fc');olympe.sc.ui.Ja.fD=olympe.sc.ui.Ja.T.ea('0163baa821c816754827');olympe.sc.ui.Ja.VX=olympe.sc.ui.Ja.T.ea('0168dc764f26c7e92f9b');
1651
- olympe.sc.ui.Ja.XX=olympe.sc.ui.Ja.T.ea('0168dc76919c78c432de');olympe.sc.ui.Ja.PO=olympe.sc.ui.Ja.T.ea('0168c7726a7e3da3f394');olympe.sc.ui.Ja.YX=olympe.sc.ui.Ja.T.ea('0168dc77a52c67b749ec');olympe.sc.ui.Ja.GO=olympe.sc.ui.Ja.T.ea('0168dc77cf5a80ff7502');olympe.sc.ui.Ja.ZO=olympe.sc.ui.Ja.T.ea('0168dc77f26c3af6380e');olympe.sc.ui.Ja.gD=olympe.sc.ui.Ja.T.ea('0168dc76c4ce4dfa21ce');olympe.sc.ui.Ja.YD=olympe.sc.ui.Ja.T.ea('0168dc771521d4989f44');olympe.sc.ui.Ja.rD=olympe.sc.ui.Ja.T.ea('0168dc776679ae991d32');
1652
- olympe.sc.ui.Ja.kq=olympe.sc.ui.Ja.T.ea('0168dcdbac93683e961f');olympe.sc.ui.Ja.mW=olympe.sc.ui.Ja.T.ea('0168dcdbe096622948a4');olympe.sc.ui.Ja.Wz=olympe.sc.ui.Ja.T.ea('0168dcdc172e489c48b9');olympe.sc.ui.Ja.SX=olympe.sc.ui.Ja.T.ea('0168dcdc4ef0492f7be9');olympe.sc.ui.Ja.TX=olympe.sc.ui.Ja.T.ea('0168dcdc6d186bf8c60d');olympe.sc.ui.Ja.MT=olympe.sc.ui.Ja.T.ea('0168dcdcaa879e1d49ec');olympe.sc.ui.Ja.BO=olympe.sc.ui.Ja.T.ea('0168dcdcd0e43889eeaf');olympe.sc.ui.Ja.cW=olympe.sc.ui.Ja.T.ea('0168e13a2c9eff4b1bb2');
1653
- olympe.sc.ui.Ja.bW=olympe.sc.ui.Ja.T.ea('0168e13a668be409860f');olympe.sc.ui.Ja.aW=olympe.sc.ui.Ja.T.ea('0168e13a9bbb31492482');olympe.sc.ui.Ja.UV=olympe.sc.ui.Ja.T.ea('0168e13ad49117906a9b');olympe.sc.ui.Ja.IP=olympe.sc.ui.Ja.T.ea('016880862139c3324a2b');olympe.sc.ui.Ja.uR=olympe.sc.ui.Ja.T.ea('0168808622067a6ccc86');olympe.sc.ui.Ja.iS=olympe.sc.ui.Ja.T.ea('01688086226bdf417abe');olympe.sc.ui.Ja.$R=olympe.sc.ui.Ja.T.ea('0168808622d577c581a5');olympe.sc.ui.Ja.dS=olympe.sc.ui.Ja.T.ea('0168c772451ab8b1295c');
1654
- olympe.sc.ui.Ja.IR=olympe.sc.ui.Ja.T.ea('0168c772458260728005');olympe.sc.ui.Ja.OR=olympe.sc.ui.Ja.T.ea('0168c77245ec33d5d3d6');olympe.sc.ui.Ja.tS=olympe.sc.ui.Ja.T.ea('0168c7724654174d5289');olympe.sc.ui.Ja.nT=olympe.sc.ui.Ja.T.ea('0168c7724990f6c6e2c5');olympe.sc.ui.Ja.iT=olympe.sc.ui.Ja.T.ea('0168c77249f71507f1a0');olympe.sc.ui.Ja.mT=olympe.sc.ui.Ja.T.ea('0168c7724a5ffdb8603c');olympe.sc.ui.Ja.dT=olympe.sc.ui.Ja.T.ea('0168c7724ac89011b0f1');olympe.sc.ui.Ja.RP=olympe.sc.ui.Ja.T.ea('0168c7724ccef19bd4fe');
1655
- olympe.sc.ui.Ja.oT=olympe.sc.ui.Ja.T.ea('0168c7724d3698b4bacc');olympe.sc.ui.Ja.gQ=olympe.sc.ui.Ja.T.ea('0168c7724d9a84b5addb');olympe.sc.ui.Ja.kR=olympe.sc.ui.Ja.T.ea('0168c7724dff8c67d120');olympe.sc.ui.Ja.lR=olympe.sc.ui.Ja.T.ea('0168c7724e65de8791ac');olympe.sc.ui.Ja.YS=olympe.sc.ui.Ja.T.ea('0168c7724eca5653c809');olympe.sc.ui.Ja.NS=olympe.sc.ui.Ja.T.ea('0168c7724f30c049da91');olympe.sc.ui.Tn=class extends olympe.sc.ui.Dj{O(){return this.Gf(olympe.sc.ui.Tn.C,olympe.sc.ui.Screen)}};olympe.sc.ui.Tn.T=olympe.dc.Na.C('0112025000000015def0',olympe.sc.ui.Tn);olympe.sc.ui.Tn.C=olympe.sc.ui.Tn.T.Ib('0163f988aa658051daeb');olympe.sc.ui.Tn.prototype.O.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.jr=class extends olympe.sc.pg{init(a){const b=(c,d)=>null===d?a.remove(c):a.set(c,d);Zl(this,b,b)}run(){}ds(){}F(){}C(){}};olympe.sc.ui.jr.T=If(olympe.dc.Na.C('016be61abe39070d9c42',olympe.sc.ui.jr));olympe.sc.ui.jr.prototype.ds.K=new olympe.j.J(()=>olympe.ui.D.wb,[]);olympe.sc.ui.Ud=class extends olympe.sc.ui.Ja{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ka,f=olympe.j.mb;a instanceof olympe.ui.D.od||(a.Sb(this.Ha(olympe.sc.ui.Ud.O,b,f)),a.zb(this.Ha(olympe.sc.ui.Ud.Fa,b,f)),a.Bb(this.Ha(olympe.sc.ui.Ud.ai,b,d)),a.Eb(this.Ha(olympe.sc.ui.Ud.La,b,d)),a.Td(olympe.j.eb(this.Ha(olympe.sc.ui.Ud.Ka,b,e,e.xb),()=>olympe.ui.ha.ey.cQ,()=>olympe.ui.ha.ey.yy,f)),a.pb(this.Ha(olympe.sc.ui.Ud.Pa,b,c)),a.bc(this.Ha(olympe.sc.ui.Ud.Ab,b,f)),a.fc(this.Ha(olympe.sc.ui.Ud.Mb,
1644
+ b,d));a.ts(this.Ha(olympe.sc.ui.oc.TV,b,d,d.ZERO));olympe.j.bb([this.Ha(olympe.sc.ui.oc.vg,b,f)],g=>{g=g.valueOf().split(';').filter(k=>''!==k).map(k=>k.split(':')).filter(([k,l])=>void 0!==k&&void 0!==l);for(const [k,l]of g)a.nb(k.trim(),l.trim());T(a).O()});olympe.j.bb([this.Ha(olympe.sc.ui.oc.yc,b,e,e.xb)],g=>{a.nb('overflow',g.valueOf()?'visible':'hidden')});Dm(b,olympe.sc.ui.oc.BP,a.bd.bind(a),a.Pj.bind(a));super.C(a,b)}};olympe.sc.ui.oc.T=olympe.dc.Na.C('01664466071746f5e167',olympe.sc.ui.oc);
1645
+ olympe.sc.ui.oc.R=olympe.sc.ui.oc.T.ea('01611d99243ad989b91b');olympe.sc.ui.oc.U=olympe.sc.ui.oc.T.ea('01611d9962e7f4f9a26d');olympe.sc.ui.oc.Cb=olympe.sc.ui.oc.T.ea('01611d9a88f340465399');olympe.sc.ui.oc.TV=olympe.sc.ui.oc.T.ea('016b08fd79c14bad3193');olympe.sc.ui.oc.vg=olympe.sc.ui.oc.T.ea('017c5114f14f96c4f187');olympe.sc.ui.oc.yc=olympe.sc.ui.oc.T.ea('017e6d4a0974fd84338f');olympe.sc.ui.oc.af=olympe.sc.ui.oc.T.ea('0163ba941097ae1920b0');olympe.sc.ui.oc.Kd=olympe.sc.ui.oc.T.ea('0163ba942b6ee2bc78c0');
1646
+ olympe.sc.ui.oc.qe=olympe.sc.ui.oc.T.ea('0163ba9e1428240acec7');olympe.sc.ui.oc.sW=olympe.sc.ui.oc.T.ea('0162e2bd70fb607442d4');olympe.sc.ui.oc.BP=olympe.sc.ui.oc.T.ea('01619aacf66faf45a75d');olympe.sc.ui.Ql=class{constructor(a,b){this.tag=a;this.C=b}da(){return this.tag}get(){return this.C.get(this.tag)}observe(){return this.C.observe(this.tag)}set(a){this.C.set(this.tag,a)}};olympe.sc.ui.Ql.prototype.set=olympe.sc.ui.Ql.prototype.set;olympe.sc.ui.Ql.prototype.observe=olympe.sc.ui.Ql.prototype.observe;
1647
+ olympe.sc.ui.Ql.prototype.get=olympe.sc.ui.Ql.prototype.get;olympe.sc.ui.Ql.prototype.getTag=olympe.sc.ui.Ql.prototype.da;olympe.sc.ui.JA=class extends olympe.sc.ui.Ql{gn(){this.set(Date.now())}};olympe.sc.ui.JA.prototype.trigger=olympe.sc.ui.JA.prototype.gn;olympe.sc.ui.oc.ua=[olympe.dc.dk];olympe.sc.ui.oc.prototype.ge.K=olympe.j.J.V;function Lm(a,b){const c=(d,e,f)=>{Dm(b,d,e,f)};Dm(b,olympe.sc.ui.Ja.IP,a.Jm.bind(a),a.lq.bind(a));Dm(b,olympe.sc.ui.Ja.vR,a.eh.bind(a),a.wk.bind(a));Dm(b,olympe.sc.ui.Ja.jS,a.Sg.bind(a),a.Ig.bind(a));Dm(b,olympe.sc.ui.Ja.JR,a.ij.bind(a),a.xk.bind(a));Dm(b,olympe.sc.ui.Ja.PR,a.Ci.bind(a),a.Qj.bind(a));Dm(b,olympe.sc.ui.Ja.aS,a.Ak.bind(a),a.sl.bind(a));Dm(b,olympe.sc.ui.Ja.eS,a.uo.bind(a),a.qq.bind(a));Dm(b,olympe.sc.ui.Ja.uS,a.vo.bind(a),a.rq.bind(a));Dm(b,olympe.sc.ui.Ja.oT,a.Ck.bind(a),a.ro.bind(a));
1648
+ Dm(b,olympe.sc.ui.Ja.jT,a.Bk.bind(a),a.fj.bind(a));Dm(b,olympe.sc.ui.Ja.nT,a.Bo.bind(a),a.uq.bind(a));Dm(b,olympe.sc.ui.Ja.eT,a.Mm.bind(a),a.qo.bind(a));Dm(b,olympe.sc.ui.Ja.SP,a.wq.bind(a),a.mq.bind(a));Dm(b,olympe.sc.ui.Ja.pT,a.Cq.bind(a),a.vq.bind(a));Dm(b,olympe.sc.ui.Ja.hQ,a.xq.bind(a),a.nq.bind(a));Dm(b,olympe.sc.ui.Ja.lR,a.yq.bind(a),a.oq.bind(a));Dm(b,olympe.sc.ui.Ja.mR,a.zq.bind(a),a.pq.bind(a));Dm(b,olympe.sc.ui.Ja.ZS,a.Bq.bind(a),a.tq.bind(a));Dm(b,olympe.sc.ui.Ja.OS,a.Aq.bind(a),a.Ba.bind(a));
1649
+ c(olympe.sc.ui.Ja.WX,()=>{a.bo()});c(olympe.sc.ui.Ja.YX,()=>{a.pm()});c(olympe.sc.ui.Ja.PO,()=>{a.pk()});c(olympe.sc.ui.Ja.ZX,()=>{a.rm()});c(olympe.sc.ui.Ja.GO,()=>{a.sm()});c(olympe.sc.ui.Ja.ZO,()=>{a.tm()});c(olympe.sc.ui.Ja.gD,()=>{a.Fm()});c(olympe.sc.ui.Ja.YD,()=>{a.Gm()});c(olympe.sc.ui.Ja.rD,()=>{a.Eh()});c(olympe.sc.ui.Ja.dW,()=>{a.xm()});c(olympe.sc.ui.Ja.cW,()=>{a.wm()});c(olympe.sc.ui.Ja.bW,()=>{a.vm()});c(olympe.sc.ui.Ja.VV,()=>{a.um()});c(olympe.sc.ui.Ja.kq,()=>{a.fl()});c(olympe.sc.ui.Ja.nW,
1650
+ ()=>{a.kl()});c(olympe.sc.ui.Ja.Wz,()=>{a.gl()});c(olympe.sc.ui.Ja.TX,()=>{a.hl()});c(olympe.sc.ui.Ja.UX,()=>{a.qm()});c(olympe.sc.ui.Ja.NT,()=>{a.jl()});c(olympe.sc.ui.Ja.BO,()=>{a.il()})}
1651
+ olympe.sc.ui.Ja=class extends olympe.sc.ui.oc{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ka;a.Jq(this.Ha(olympe.sc.ui.Ja.QT,b,d,d.ZERO));a.gh(new olympe.j.ia(this.Ha(olympe.sc.ui.Ja.jP,b,d,d.ZERO),this.Ha(olympe.sc.ui.Ja.qP,b,d,d.ZERO)),Jb(this.Ha(olympe.sc.ui.Ja.qT,b,d,d.ZERO),0),this.Ha(olympe.sc.ui.Ja.sU,b,d,d.ZERO),this.Ha(olympe.sc.ui.Ja.lU,b,c,O()),this.Ha(olympe.sc.ui.Ja.fD,b,e,e.xb));Lm(a,b);super.C(a,b)}};olympe.sc.ui.Ja.T=olympe.dc.Na.C('01612df263119ee77622',olympe.sc.ui.Ja);
1652
+ olympe.sc.ui.Ja.QT=olympe.sc.ui.Ja.T.ea('01631febba3ab94ae368');olympe.sc.ui.Ja.jP=olympe.sc.ui.Ja.T.ea('0163baa7ccf69a395b87');olympe.sc.ui.Ja.qP=olympe.sc.ui.Ja.T.ea('0163bab1436a39979789');olympe.sc.ui.Ja.qT=olympe.sc.ui.Ja.T.ea('0163baa7e220ba9a58da');olympe.sc.ui.Ja.sU=olympe.sc.ui.Ja.T.ea('0163baa7f80f046eaf31');olympe.sc.ui.Ja.lU=olympe.sc.ui.Ja.T.ea('0163baa80bd84ac855fc');olympe.sc.ui.Ja.fD=olympe.sc.ui.Ja.T.ea('0163baa821c816754827');olympe.sc.ui.Ja.WX=olympe.sc.ui.Ja.T.ea('0168dc764f26c7e92f9b');
1653
+ olympe.sc.ui.Ja.YX=olympe.sc.ui.Ja.T.ea('0168dc76919c78c432de');olympe.sc.ui.Ja.PO=olympe.sc.ui.Ja.T.ea('0168c7726a7e3da3f394');olympe.sc.ui.Ja.ZX=olympe.sc.ui.Ja.T.ea('0168dc77a52c67b749ec');olympe.sc.ui.Ja.GO=olympe.sc.ui.Ja.T.ea('0168dc77cf5a80ff7502');olympe.sc.ui.Ja.ZO=olympe.sc.ui.Ja.T.ea('0168dc77f26c3af6380e');olympe.sc.ui.Ja.gD=olympe.sc.ui.Ja.T.ea('0168dc76c4ce4dfa21ce');olympe.sc.ui.Ja.YD=olympe.sc.ui.Ja.T.ea('0168dc771521d4989f44');olympe.sc.ui.Ja.rD=olympe.sc.ui.Ja.T.ea('0168dc776679ae991d32');
1654
+ olympe.sc.ui.Ja.kq=olympe.sc.ui.Ja.T.ea('0168dcdbac93683e961f');olympe.sc.ui.Ja.nW=olympe.sc.ui.Ja.T.ea('0168dcdbe096622948a4');olympe.sc.ui.Ja.Wz=olympe.sc.ui.Ja.T.ea('0168dcdc172e489c48b9');olympe.sc.ui.Ja.TX=olympe.sc.ui.Ja.T.ea('0168dcdc4ef0492f7be9');olympe.sc.ui.Ja.UX=olympe.sc.ui.Ja.T.ea('0168dcdc6d186bf8c60d');olympe.sc.ui.Ja.NT=olympe.sc.ui.Ja.T.ea('0168dcdcaa879e1d49ec');olympe.sc.ui.Ja.BO=olympe.sc.ui.Ja.T.ea('0168dcdcd0e43889eeaf');olympe.sc.ui.Ja.dW=olympe.sc.ui.Ja.T.ea('0168e13a2c9eff4b1bb2');
1655
+ olympe.sc.ui.Ja.cW=olympe.sc.ui.Ja.T.ea('0168e13a668be409860f');olympe.sc.ui.Ja.bW=olympe.sc.ui.Ja.T.ea('0168e13a9bbb31492482');olympe.sc.ui.Ja.VV=olympe.sc.ui.Ja.T.ea('0168e13ad49117906a9b');olympe.sc.ui.Ja.IP=olympe.sc.ui.Ja.T.ea('016880862139c3324a2b');olympe.sc.ui.Ja.vR=olympe.sc.ui.Ja.T.ea('0168808622067a6ccc86');olympe.sc.ui.Ja.jS=olympe.sc.ui.Ja.T.ea('01688086226bdf417abe');olympe.sc.ui.Ja.aS=olympe.sc.ui.Ja.T.ea('0168808622d577c581a5');olympe.sc.ui.Ja.eS=olympe.sc.ui.Ja.T.ea('0168c772451ab8b1295c');
1656
+ olympe.sc.ui.Ja.JR=olympe.sc.ui.Ja.T.ea('0168c772458260728005');olympe.sc.ui.Ja.PR=olympe.sc.ui.Ja.T.ea('0168c77245ec33d5d3d6');olympe.sc.ui.Ja.uS=olympe.sc.ui.Ja.T.ea('0168c7724654174d5289');olympe.sc.ui.Ja.oT=olympe.sc.ui.Ja.T.ea('0168c7724990f6c6e2c5');olympe.sc.ui.Ja.jT=olympe.sc.ui.Ja.T.ea('0168c77249f71507f1a0');olympe.sc.ui.Ja.nT=olympe.sc.ui.Ja.T.ea('0168c7724a5ffdb8603c');olympe.sc.ui.Ja.eT=olympe.sc.ui.Ja.T.ea('0168c7724ac89011b0f1');olympe.sc.ui.Ja.SP=olympe.sc.ui.Ja.T.ea('0168c7724ccef19bd4fe');
1657
+ olympe.sc.ui.Ja.pT=olympe.sc.ui.Ja.T.ea('0168c7724d3698b4bacc');olympe.sc.ui.Ja.hQ=olympe.sc.ui.Ja.T.ea('0168c7724d9a84b5addb');olympe.sc.ui.Ja.lR=olympe.sc.ui.Ja.T.ea('0168c7724dff8c67d120');olympe.sc.ui.Ja.mR=olympe.sc.ui.Ja.T.ea('0168c7724e65de8791ac');olympe.sc.ui.Ja.ZS=olympe.sc.ui.Ja.T.ea('0168c7724eca5653c809');olympe.sc.ui.Ja.OS=olympe.sc.ui.Ja.T.ea('0168c7724f30c049da91');olympe.sc.ui.Tn=class extends olympe.sc.ui.Dj{O(){return this.Gf(olympe.sc.ui.Tn.C,olympe.sc.ui.Screen)}};olympe.sc.ui.Tn.T=olympe.dc.Na.C('0112025000000015def0',olympe.sc.ui.Tn);olympe.sc.ui.Tn.C=olympe.sc.ui.Tn.T.Ib('0163f988aa658051daeb');olympe.sc.ui.Tn.prototype.O.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.jr=class extends olympe.sc.pg{init(a){const b=(c,d)=>null===d?a.remove(c):a.set(c,d);Zl(this,b,b)}run(){}ds(){}F(){}C(){}};olympe.sc.ui.jr.T=If(olympe.dc.Na.C('016be61abe39070d9c42',olympe.sc.ui.jr));olympe.sc.ui.jr.prototype.ds.K=new olympe.j.J(()=>olympe.ui.D.wb,[]);olympe.sc.ui.Ud=class extends olympe.sc.ui.Ja{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ka,f=olympe.j.mb;a instanceof olympe.ui.D.od||(a.Sb(this.Ha(olympe.sc.ui.Ud.O,b,f)),a.zb(this.Ha(olympe.sc.ui.Ud.Fa,b,f)),a.Bb(this.Ha(olympe.sc.ui.Ud.ai,b,d)),a.Eb(this.Ha(olympe.sc.ui.Ud.La,b,d)),a.Td(olympe.j.eb(this.Ha(olympe.sc.ui.Ud.Ka,b,e,e.xb),()=>olympe.ui.ha.ey.dQ,()=>olympe.ui.ha.ey.yy,f)),a.pb(this.Ha(olympe.sc.ui.Ud.Pa,b,c)),a.bc(this.Ha(olympe.sc.ui.Ud.Ab,b,f)),a.fc(this.Ha(olympe.sc.ui.Ud.Mb,
1656
1658
  b,f)));super.C(a,b)}};olympe.sc.ui.Ud.T=If(olympe.dc.Na.C('01633e9252d8e1c4f25b',olympe.sc.ui.Ud));olympe.sc.ui.Ud.Fa=olympe.sc.ui.Ud.T.ea('01635eaa384788490dc5');olympe.sc.ui.Ud.ai=olympe.sc.ui.Ud.T.ea('01633fa38ad45c58d04d');olympe.sc.ui.Ud.Ka=olympe.sc.ui.Ud.T.ea('01633fa38c309356404a');olympe.sc.ui.Ud.La=olympe.sc.ui.Ud.T.ea('01633fa38d2863f0a464');olympe.sc.ui.Ud.Pa=olympe.sc.ui.Ud.T.ea('01633fa5303ccd8c1801');olympe.sc.ui.Ud.Ab=olympe.sc.ui.Ud.T.ea('0164229fd527ecd56900');
1657
1659
  olympe.sc.ui.Ud.Mb=olympe.sc.ui.Ud.T.ea('016422a069b9bd45e8a8');olympe.sc.ui.Ud.O=olympe.sc.ui.Ud.T.ea('01633fa386be67e6fd1d');olympe.sc.ui.Oe=class extends olympe.sc.ui.Ud{C(a,b){const c=olympe.j.aa,d=olympe.j.ka;a.Kg(this.Ha(olympe.sc.ui.Oe.$,b,olympe.j.mb));a.Tg(this.Ha(olympe.sc.ui.Oe.Mc,b,olympe.j.Color));a.sd(this.Ha(olympe.sc.ui.Oe.Hf,b,c,c.ZERO));a.rd(this.Ha(olympe.sc.ui.Oe.jc,b,c,c.ZERO));a.Kc(this.Ha(olympe.sc.ui.Oe.Rb,b,c,c.ZERO));a.Lc(this.Ha(olympe.sc.ui.Oe.Rc,b,c,c.ZERO));a.Jf(this.Ha(olympe.sc.ui.Oe.Kb,b,d,d.xb));Dm(b,olympe.sc.ui.Oe.Fc,a.hj.bind(a),a.O.bind(a));Dm(b,olympe.sc.ui.Oe.vc,a.gj.bind(a),a.F.bind(a));
1658
1660
  super.C(a,b)}};olympe.sc.ui.Oe.T=olympe.dc.Na.C('016e64ba43b2367826cd',olympe.sc.ui.Oe);olympe.sc.ui.Oe.$=olympe.sc.ui.Oe.T.ea('0164b26aecbaa5ca5b23');olympe.sc.ui.Oe.Mc=olympe.sc.ui.Oe.T.ea('0164b69dd71d223649bc');olympe.sc.ui.Oe.Kb=olympe.sc.ui.Oe.T.ea('016e64de79ddfffad3ea');olympe.sc.ui.Oe.Hf=olympe.sc.ui.Oe.T.ea('0168387e0011b88e3095');olympe.sc.ui.Oe.jc=olympe.sc.ui.Oe.T.ea('0168387e0527edb9bd2a');olympe.sc.ui.Oe.Rb=olympe.sc.ui.Oe.T.ea('0168387e0a992ee500be');olympe.sc.ui.Oe.Rc=olympe.sc.ui.Oe.T.ea('0168387e0e5bfd3e00d8');
@@ -1667,11 +1669,11 @@ olympe.sc.ui.Screen.Pa=olympe.sc.ui.Screen.T.ea('01648dde0de26fef1ae0');olympe.s
1667
1669
  Z(olympe.dm.Property.T,olympe.sc.ui.lh.F);olympe.sc.ui.lh.prototype.It.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.lh.prototype.Tt.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.qK=class extends olympe.dc.CloudObject{};olympe.sc.ui.qK.T=olympe.dc.Na.C('0162d3ede786c89fb31b',olympe.sc.ui.qK);olympe.sc.ui.UIEvent=class extends olympe.dc.CloudObject{};olympe.sc.ui.UIEvent.T=olympe.dc.Na.C('0163fe51d83dad2a0f4b',olympe.sc.ui.UIEvent);olympe.sc.ui.pK=class extends olympe.dc.CloudObject{};olympe.sc.ui.pK.T=olympe.dc.Na.C('016c865bbf883591cc25',olympe.sc.ui.pK);function Im(a,b,c){return a+'^'+b+'^'+('string'===typeof c?c:c.da())}function Nm(a,b){void 0===a.C[b]&&(a.C[b]=new olympe.dc.Db(b,[new olympe.dc.wa.hg(olympe.dc.Yf.Gs,olympe.dc.Pb.DESTINATION,0),olympe.sc.ui.Dj.$],olympe.dm.Property));return a.C[b].getSubscription()}
1668
1670
  olympe.sc.ui.oh=class extends olympe.dm.BrickMetadata{constructor(a,b,c){super(a,b);this.C={};this.O=c}kz(a){if(!this.O){var b=this.db;this.F().forEach(c=>{const d=b.model(c);olympe.j.bb([c.Oa(),c.ke(olympe.sc.ui.Renderable.cb)],(e,f)=>{const g=Im(e,d,'');a.Ua(g)||(a.set(g,!0),Nm(this,d).forEach(k=>{const l=Im(e,d,k);let m=null,n=null;const p=()=>{null!==m?a.set(l,m):null!==n?a.set(l,n):a.remove(l)},r=Ag(b,c,k,(t,u)=>{m=u?null:t;p()});if(!e.Oc(f)){const t=Im(f,d,k);a.on(t,u=>{n=u;p()})}olympe.j.jb().Sd(()=>
1669
1671
  {b.O(c,k,r);a.remove(l)})}),olympe.j.jb().Sd(()=>{a.set(g,!1)}))})})}}R(){return olympe.sc.wc.$k.WB}F(){return this.zc(olympe.sc.ui.oh.C,olympe.sc.ui.Renderable)}};olympe.sc.ui.oh.T=olympe.dc.Na.C('0161d7b7e11e93199927',olympe.sc.ui.oh,new olympe.oa.Ta(olympe.sc.za.kF));olympe.sc.ui.oh.O=Z(olympe.sc.ui.oh.T,olympe.sc.ui.Gj.$);olympe.sc.ui.oh.C=olympe.sc.ui.oh.T.Ib('0170171c1c9e2f1555bb');Z(olympe.sc.ui.Renderable.T,olympe.sc.ui.oh.C);olympe.sc.ui.oh.F=Df('01644110be563fae3bf9','DEFAULT_THEME');
1670
- olympe.sc.ui.oh.prototype.kz.K=new olympe.j.J(()=>{},[]);olympe.sc.ui.oh.prototype.F.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.ui.gg=class extends olympe.dm.vj{jf(){return this.hf(olympe.sc.ui.gg.C)}AU(){return this.zc(olympe.sc.ui.gg.propertyRel,olympe.dm.Property).Rd()}LV(){return this.zc(olympe.sc.ui.gg.F,olympe.sc.ui.gg)}lV(){return this.zc(olympe.sc.ui.tf.C.Pe(),olympe.sc.ui.tf)}HV(){return new olympe.dc.Db(this.da(),[olympe.dc.CloudObject.containsRel,new olympe.dc.wa.ti(new olympe.dc.je.Number(new olympe.dc.ib.Bj(olympe.sc.ui.gg.C)))],olympe.sc.ui.gg)}};
1672
+ olympe.sc.ui.oh.prototype.kz.K=new olympe.j.J(()=>{},[]);olympe.sc.ui.oh.prototype.F.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.ui.gg=class extends olympe.dm.vj{jf(){return this.hf(olympe.sc.ui.gg.C)}BU(){return this.zc(olympe.sc.ui.gg.propertyRel,olympe.dm.Property).Rd()}MV(){return this.zc(olympe.sc.ui.gg.F,olympe.sc.ui.gg)}mV(){return this.zc(olympe.sc.ui.tf.C.Pe(),olympe.sc.ui.tf)}IV(){return new olympe.dc.Db(this.da(),[olympe.dc.CloudObject.containsRel,new olympe.dc.wa.ti(new olympe.dc.je.Number(new olympe.dc.ib.Bj(olympe.sc.ui.gg.C)))],olympe.sc.ui.gg)}};
1671
1673
  olympe.sc.ui.gg.T=olympe.dc.Na.C('01611e77c1becc16025b',olympe.sc.ui.gg);olympe.sc.ui.gg.C=olympe.sc.ui.gg.T.ea('01611e7ad37b715e393d');olympe.sc.ui.gg.propertyRel=olympe.sc.ui.gg.T.Ib('01611e7cd458bd5607ac');olympe.sc.ui.gg.F=olympe.sc.ui.gg.T.Ib('016952415429cb0a0c0a');olympe.sc.ui.gg.$=Df('0164188f5cc0c205bc06','CUSTOM_PROPERTIES_TAB_CAT');olympe.sc.ui.gg.V=Df('0165335122d2ea44dd92','CUSTOM_EVENT_CAT');olympe.sc.ui.gg.U=Df('0161bd31111c6b32e43d','CATEGORY_SPECIFIC_VALUE');
1672
- olympe.sc.ui.gg.O=Df('016362a33e99ca8f8ade','CATEGORY_SPECIFIC_FONT');olympe.sc.ui.gg.na=Df('016122a51eea77d3dd8a','ROOT_CATEGORY');h=olympe.sc.ui.gg.prototype;h.jf.K=olympe.j.J.F;h.AU.K=new olympe.j.J(()=>olympe.dm.Property,[]);h.LV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.lV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.HV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.ui.tf=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}jf(){return this.hf(olympe.sc.ui.tf.F)}XV(){return this.rk(olympe.sc.ui.tf.O)}$V(){return this.rk(olympe.sc.ui.tf.V)}YV(){return this.rk(olympe.sc.ui.tf.U)}Gg(){return this.zc(olympe.sc.ui.tf.propertyRel,olympe.dm.Property)}BU(){return this.zc(olympe.sc.ui.tf.C,olympe.sc.ui.gg).Rd()}};olympe.sc.ui.tf.T=olympe.dc.Na.C('016d1bb681929c2cc3f0',olympe.sc.ui.tf);olympe.sc.ui.tf.F=olympe.sc.ui.tf.T.ea('016d1bb681929c2cc3f1');
1673
- olympe.sc.ui.tf.V=olympe.sc.ui.tf.T.ea('016d1bb681929c2cc3f2');olympe.sc.ui.tf.O=olympe.sc.ui.tf.T.ea('016d1bb681929c2cc3f3');olympe.sc.ui.tf.U=olympe.sc.ui.tf.T.ea('0170beccaac4129d72a9');olympe.sc.ui.tf.C=olympe.sc.ui.tf.T.Ib('016d1bb681929c2cc3f4');olympe.sc.ui.tf.propertyRel=olympe.sc.ui.tf.T.Ib('016d1bb681929c2cc3f5');Z(olympe.dm.Property.T,olympe.sc.ui.tf.propertyRel);Z(olympe.sc.ui.gg.T,olympe.sc.ui.tf.C);h=olympe.sc.ui.tf.prototype;h.jf.K=olympe.j.J.F;h.XV.K=olympe.j.J.U;h.$V.K=olympe.j.J.U;
1674
- h.YV.K=olympe.j.J.U;h.Gg.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.BU.K=new olympe.j.J(()=>olympe.sc.ui.gg,[]);olympe.sc.ui.X={};olympe.sc.ui.X.ne=class extends olympe.sc.ui.Ja{constructor(a,b){super(a,b)}F(a){const b=new olympe.ui.D.Audio(this.la(a));b.he(this.Ha(olympe.sc.ui.X.ne.urlProp,a,olympe.j.mb));this.C(b,a);b.Fi(this.Ha(olympe.sc.ui.X.ne.Ba,a,olympe.j.ka,olympe.j.ka.xb));olympe.j.Jg([b.F.Ca()],()=>{});b.fi(this.Ha(olympe.sc.ui.X.ne.Pa,a,olympe.j.ka));b.bi(this.Ha(olympe.sc.ui.X.ne.$,a,olympe.j.ka));olympe.j.Jg([this.Ha(olympe.sc.ui.X.ne.O,a,olympe.j.ka)],c=>{c.valueOf()?b.play():b.pause()});olympe.j.Jg([b.C.Ca()],
1674
+ olympe.sc.ui.gg.O=Df('016362a33e99ca8f8ade','CATEGORY_SPECIFIC_FONT');olympe.sc.ui.gg.na=Df('016122a51eea77d3dd8a','ROOT_CATEGORY');h=olympe.sc.ui.gg.prototype;h.jf.K=olympe.j.J.F;h.BU.K=new olympe.j.J(()=>olympe.dm.Property,[]);h.MV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.mV.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.IV.K=new olympe.j.J(()=>olympe.dc.Db,[]);olympe.sc.ui.tf=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}jf(){return this.hf(olympe.sc.ui.tf.F)}YV(){return this.rk(olympe.sc.ui.tf.O)}aW(){return this.rk(olympe.sc.ui.tf.V)}ZV(){return this.rk(olympe.sc.ui.tf.U)}Gg(){return this.zc(olympe.sc.ui.tf.propertyRel,olympe.dm.Property)}CU(){return this.zc(olympe.sc.ui.tf.C,olympe.sc.ui.gg).Rd()}};olympe.sc.ui.tf.T=olympe.dc.Na.C('016d1bb681929c2cc3f0',olympe.sc.ui.tf);olympe.sc.ui.tf.F=olympe.sc.ui.tf.T.ea('016d1bb681929c2cc3f1');
1675
+ olympe.sc.ui.tf.V=olympe.sc.ui.tf.T.ea('016d1bb681929c2cc3f2');olympe.sc.ui.tf.O=olympe.sc.ui.tf.T.ea('016d1bb681929c2cc3f3');olympe.sc.ui.tf.U=olympe.sc.ui.tf.T.ea('0170beccaac4129d72a9');olympe.sc.ui.tf.C=olympe.sc.ui.tf.T.Ib('016d1bb681929c2cc3f4');olympe.sc.ui.tf.propertyRel=olympe.sc.ui.tf.T.Ib('016d1bb681929c2cc3f5');Z(olympe.dm.Property.T,olympe.sc.ui.tf.propertyRel);Z(olympe.sc.ui.gg.T,olympe.sc.ui.tf.C);h=olympe.sc.ui.tf.prototype;h.jf.K=olympe.j.J.F;h.YV.K=olympe.j.J.U;h.aW.K=olympe.j.J.U;
1676
+ h.ZV.K=olympe.j.J.U;h.Gg.K=new olympe.j.J(()=>olympe.dc.Db,[]);h.CU.K=new olympe.j.J(()=>olympe.sc.ui.gg,[]);olympe.sc.ui.X={};olympe.sc.ui.X.ne=class extends olympe.sc.ui.Ja{constructor(a,b){super(a,b)}F(a){const b=new olympe.ui.D.Audio(this.la(a));b.he(this.Ha(olympe.sc.ui.X.ne.urlProp,a,olympe.j.mb));this.C(b,a);b.Fi(this.Ha(olympe.sc.ui.X.ne.Ba,a,olympe.j.ka,olympe.j.ka.xb));olympe.j.Jg([b.F.Ca()],()=>{});b.fi(this.Ha(olympe.sc.ui.X.ne.Pa,a,olympe.j.ka));b.bi(this.Ha(olympe.sc.ui.X.ne.$,a,olympe.j.ka));olympe.j.Jg([this.Ha(olympe.sc.ui.X.ne.O,a,olympe.j.ka)],c=>{c.valueOf()?b.play():b.pause()});olympe.j.Jg([b.C.Ca()],
1675
1677
  c=>{a.set(olympe.sc.ui.X.ne.O,c.Sf())});b.oj(this.O(olympe.sc.ui.X.ne.Ka,a,olympe.j.aa,b.volume.Ca(),olympe.j.aa.ONE));olympe.j.Jg([this.Ha(olympe.sc.ui.X.ne.Fa,a,olympe.j.aa)],c=>{olympe.j.Ua(this.Ha(olympe.sc.ui.X.ne.O,a,olympe.j.ka)).valueOf()||b.Xj(c)});olympe.j.Jg([b.O.Ca()],c=>{a.set(olympe.sc.ui.X.ne.Fa,c.kb(100).trunc().Va(100))});olympe.j.bb([b.duration.Ca()],c=>{a.set(olympe.sc.ui.X.ne.La,c)});return b}};olympe.sc.ui.X.ne.T=olympe.dc.Na.C('016c04e78462a540a8e0',olympe.sc.ui.X.ne);
1676
1678
  olympe.sc.ui.X.ne.urlProp=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e1');olympe.sc.ui.X.ne.Pa=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e2');olympe.sc.ui.X.ne.$=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e3');olympe.sc.ui.X.ne.Ka=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e5');olympe.sc.ui.X.ne.O=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e4');olympe.sc.ui.X.ne.La=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e7');olympe.sc.ui.X.ne.Fa=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e6');olympe.sc.ui.X.ne.Ba=olympe.sc.ui.X.ne.T.ea('016c04e78462a540a8e8');
1677
1679
  olympe.sc.ui.X.ne.T.C=function(a,b){a=a.create(olympe.sc.ui.X.ne);b&&a.setProperty(olympe.dc.CloudObject.nameProp,b);a.setProperty(olympe.sc.ui.Renderable.C,olympe.j.Da(384));a.setProperty(olympe.sc.ui.Renderable.F,olympe.j.Da(55));a.setProperty(olympe.sc.ui.X.ne.Pa,olympe.j.ka.C);a.setProperty(olympe.sc.ui.X.ne.$,olympe.j.ka.xb);a.setProperty(olympe.sc.ui.X.ne.Ba,olympe.j.ka.xb);a.setProperty(olympe.sc.ui.X.ne.Ka,olympe.j.aa.ONE);return a.da()};olympe.sc.ui.X.pc=class extends olympe.sc.ui.Ud{F(a){var b=olympe.j.Color,c=olympe.j.ka;const d=olympe.sc.ui.X.pc.$;var e=olympe.sc.ui.X.pc.Ba;const f=olympe.sc.ui.X.pc.XB,g=olympe.sc.ui.Renderable.C,k=olympe.sc.ui.Renderable.F,l=new olympe.ui.D.pc(this.la(a));this.C(l,a);const m=this.Ha(olympe.sc.ui.Renderable.ca,a,b);var n=this.Ha(olympe.sc.ui.X.pc.Hf,a,b);l.Wj(n);l.lB(this.Ha(olympe.sc.ui.X.pc.Kb,a,b));const p=this.Ha(olympe.sc.ui.X.pc.vc,a,b);l.Qa(olympe.j.eb(l.Eh(),()=>p,()=>m,olympe.j.Color));
@@ -1680,8 +1682,8 @@ u=>u.valueOf(),Number))});olympe.j.eb(c,()=>{om(this.Ha(f,a,olympe.sc.tr),a,k,ol
1680
1682
  olympe.sc.ui.X.pc.$=olympe.sc.ui.X.pc.T.ea('016c8b3713bf8f4db872');olympe.sc.ui.X.pc.Mc=olympe.sc.ui.X.pc.T.ea('0170ca4983528b9f6bd7');olympe.sc.ui.X.pc.Rc=olympe.sc.ui.X.pc.T.ea('0170ca4991f5dcc3a484');olympe.sc.ui.X.pc.Hf=olympe.sc.ui.X.pc.T.ea('016437688914581fea4d');olympe.sc.ui.X.pc.vc=olympe.sc.ui.X.pc.T.ea('016437688914b03261ce');olympe.sc.ui.X.pc.Kb=olympe.sc.ui.X.pc.T.ea('0168997eefed6611afa2');olympe.sc.ui.X.pc.xx=olympe.sc.ui.X.pc.T.ea('016437688914bcb67a39');olympe.sc.ui.X.pc.Fc=olympe.sc.ui.X.pc.T.ea('016437688914221515ed');
1681
1683
  olympe.sc.ui.X.pc.Rb=olympe.sc.ui.X.pc.T.ea('0168997f731e2170e16e');olympe.sc.ui.X.pc.jc=olympe.sc.ui.X.pc.T.ea('0168990cc9a77f2a16b8');olympe.sc.ui.X.pc.XB=olympe.sc.ui.X.pc.T.ea('016d3f37610ae4fc3964');olympe.sc.ui.X.pc.T.C=function(a,b){a=a.create(olympe.sc.ui.X.pc);b&&(a.setProperty(olympe.dc.CloudObject.nameProp,b),a.setProperty(olympe.sc.ui.Ud.O,b));return a.da()};olympe.sc.ui.X.pc.prototype.F.K=new olympe.j.J(()=>olympe.ui.D.pc,[]);olympe.sc.ui.X.Ke=class extends olympe.sc.ui.Ja{F(a){const b=new olympe.ui.D.Ke(this.la(a)),c=olympe.j.fb([b.yz()],d=>d.valueOf(),Boolean);b.Bf(this.O(olympe.sc.ui.X.Ke.valueProp,a,Boolean,c));this.C(b,a);b.Qa(olympe.j.eb(b.yz(),()=>this.Ha(olympe.sc.ui.X.Ke.Ba,a,olympe.j.Color),()=>this.Ha(olympe.sc.ui.Renderable.ca,a,olympe.j.Color),olympe.j.Color));b.OC().Fd(this.Ha(olympe.sc.ui.X.Ke.Fa,a,olympe.j.aa),this.Ha(olympe.sc.ui.X.Ke.Pa,a,olympe.j.Color));b.OC().Qa(olympe.j.eb(b.yz(),()=>this.Ha(olympe.sc.ui.X.Ke.La,
1682
1684
  a,olympe.j.Color),()=>this.Ha(olympe.sc.ui.X.Ke.Ka,a,olympe.j.Color),olympe.j.Color));b.Kf(this.Ha(olympe.sc.ui.X.Ke.O,a,olympe.j.aa,olympe.j.aa.ZERO));Dm(a,olympe.sc.ui.X.Ke.$,b.Ka.bind(b),b.Fa.bind(b));return b}};olympe.sc.ui.X.Ke.T=olympe.dc.Na.C('0161bce1f151ed95683f',olympe.sc.ui.X.Ke);olympe.sc.ui.X.Ke.valueProp=olympe.sc.ui.X.Ke.T.ea('0161bce236ebb4125ff7');olympe.sc.ui.X.Ke.$=olympe.sc.ui.X.Ke.T.ea('0161bce2516b5beb66ee');olympe.sc.ui.X.Ke.Ba=olympe.sc.ui.X.Ke.T.ea('016952bd9b2945e0cf2d');
1683
- olympe.sc.ui.X.Ke.Fa=olympe.sc.ui.X.Ke.T.ea('016eef124b767b01de0e');olympe.sc.ui.X.Ke.Pa=olympe.sc.ui.X.Ke.T.ea('016eef2694489f36a6d3');olympe.sc.ui.X.Ke.Ka=olympe.sc.ui.X.Ke.T.ea('016eeb3de5c4036fe1fa');olympe.sc.ui.X.Ke.La=olympe.sc.ui.X.Ke.T.ea('016eeb3df78614f0290b');olympe.sc.ui.X.Ke.O=olympe.sc.ui.X.Ke.T.ea('016eeb5e545fbe43dd7a');olympe.sc.ui.X.Ke.T.C=function(a,b){a=a.create(olympe.sc.ui.X.Ke);b&&a.setProperty(olympe.dc.CloudObject.nameProp,b);return a.da()};olympe.sc.ui.X.bg=class extends olympe.sc.ui.Ja{F(a){const b=new Intl.DateTimeFormat(void 0,{month:'long'});var c=this.hf(olympe.sc.ui.X.bg.$),d=this.hf(olympe.sc.ui.X.bg.O);const e=new olympe.ui.D.RE(new olympe.j.ia(c,d),{NX:(m,n)=>{m.Sb(olympe.j.kc(n.day));m.Qa(olympe.j.eb(n.fq,()=>N(),()=>O(),olympe.j.Color));m.fc(olympe.ui.ha.uc.Qc);m.bc(olympe.ui.ha.Jb.Xb);m.pb(olympe.j.eb(n.fq,()=>Tb('dark slate gray',69,90,100,1),()=>olympe.j.eb(n.YC,()=>Tb('dark cyan',0,150,136,1),()=>olympe.j.eb(n.VC,()=>
1684
- N(),()=>M(),olympe.j.Color),olympe.j.Color),olympe.j.Color));m.Eb(olympe.j.eb(n.YC.and(n.fq.Sf()),()=>700,()=>400,Number));m.lc(5)},TV:(m,n,p)=>{m.Sb(olympe.j.fb([p],r=>olympe.j.kc(b.format(r.Lq())),olympe.j.mb)).Eb(800).pb(N());n.Sb(p.getYear().mg()).Eb(800).pb(N());m.fc(olympe.ui.ha.uc.Qc);m.bc(olympe.ui.ha.Jb.Xb);n.fc(olympe.ui.ha.uc.Qc);n.bc(olympe.ui.ha.Jb.Xb)},FT:(m,n)=>{m.Sb('<'===n?'\uf104':'\uf105').Eb(800).zb('FontAwesome').pb(N()).fc(olympe.ui.ha.uc.Qc).bc(olympe.ui.ha.Jb.Xb)},UX:(m,n)=>
1685
+ olympe.sc.ui.X.Ke.Fa=olympe.sc.ui.X.Ke.T.ea('016eef124b767b01de0e');olympe.sc.ui.X.Ke.Pa=olympe.sc.ui.X.Ke.T.ea('016eef2694489f36a6d3');olympe.sc.ui.X.Ke.Ka=olympe.sc.ui.X.Ke.T.ea('016eeb3de5c4036fe1fa');olympe.sc.ui.X.Ke.La=olympe.sc.ui.X.Ke.T.ea('016eeb3df78614f0290b');olympe.sc.ui.X.Ke.O=olympe.sc.ui.X.Ke.T.ea('016eeb5e545fbe43dd7a');olympe.sc.ui.X.Ke.T.C=function(a,b){a=a.create(olympe.sc.ui.X.Ke);b&&a.setProperty(olympe.dc.CloudObject.nameProp,b);return a.da()};olympe.sc.ui.X.bg=class extends olympe.sc.ui.Ja{F(a){const b=new Intl.DateTimeFormat(void 0,{month:'long'});var c=this.hf(olympe.sc.ui.X.bg.$),d=this.hf(olympe.sc.ui.X.bg.O);const e=new olympe.ui.D.RE(new olympe.j.ia(c,d),{OX:(m,n)=>{m.Sb(olympe.j.kc(n.day));m.Qa(olympe.j.eb(n.fq,()=>N(),()=>O(),olympe.j.Color));m.fc(olympe.ui.ha.uc.Qc);m.bc(olympe.ui.ha.Jb.Xb);m.pb(olympe.j.eb(n.fq,()=>Tb('dark slate gray',69,90,100,1),()=>olympe.j.eb(n.YC,()=>Tb('dark cyan',0,150,136,1),()=>olympe.j.eb(n.VC,()=>
1686
+ N(),()=>M(),olympe.j.Color),olympe.j.Color),olympe.j.Color));m.Eb(olympe.j.eb(n.YC.and(n.fq.Sf()),()=>700,()=>400,Number));m.lc(5)},UV:(m,n,p)=>{m.Sb(olympe.j.fb([p],r=>olympe.j.kc(b.format(r.Lq())),olympe.j.mb)).Eb(800).pb(N());n.Sb(p.getYear().mg()).Eb(800).pb(N());m.fc(olympe.ui.ha.uc.Qc);m.bc(olympe.ui.ha.Jb.Xb);n.fc(olympe.ui.ha.uc.Qc);n.bc(olympe.ui.ha.Jb.Xb)},GT:(m,n)=>{m.Sb('<'===n?'\uf104':'\uf105').Eb(800).zb('FontAwesome').pb(N()).fc(olympe.ui.ha.uc.Qc).bc(olympe.ui.ha.Jb.Xb)},VX:(m,n)=>
1685
1687
  {m.Sb('Mo Tu We Th Fr Sa Su'.split(' ')[n]);m.pb(N());m.fc(olympe.ui.ha.uc.Qc);m.bc(olympe.ui.ha.Jb.Xb)}});e.Qa(olympe.j.Color.create(69,90,100));d=olympe.j.Ua(olympe.j.hc.now());e.mx(d);e.cA(d);olympe.j.bb([this.Ha(olympe.sc.ui.X.bg.Ba,a,olympe.j.mb)],m=>{'DD.MM.YYYY'!==m.valueOf()&&this.Y.warn('[DatePicker] Using custom format is no longer supported! Date will be formatted as DD.MM.YYYY!')});d=this.O(olympe.sc.ui.X.bg.valueProp,a,String,olympe.j.fb([e.Ez()],m=>m.Ro().valueOf(),String),olympe.j.hc.now().Ro().valueOf());
1686
1688
  olympe.j.bb([d],m=>{const n=Mb(m),p=olympe.j.Ua(e.Ez());n&&n.ql().valueOf()&&!p.Ro().Oc(m)&&(e.mx(n),e.cA(n))});e.lc(5);const f=olympe.j.rb(olympe.j.ka);f.update(olympe.j.ka.xb);d=new olympe.ui.D.ie(40,8);const g=(new olympe.ui.D.Wb(new olympe.j.ia(140,40))).Sb(e.Ez().Ro()).ag('default');g.hj(()=>{const m=Mb(olympe.j.Ua(g.ol()));m&&m.ql().valueOf()&&(e.mx(m),e.cA(m))});var k=(new olympe.ui.D.pc(new olympe.j.ia(60,40))).Sb('\uf073').zb('FontAwesome').ag('default');let l;k.bd(()=>{const m=olympe.j.Ua(f.Ca()).valueOf(),
1687
1689
  n=olympe.ui.Wa.kf();m?(l&&(n.Pj(l.valueOf()),l=void 0),f.update(olympe.j.ka.xb)):(l=n.bd(()=>{f.update(olympe.j.ka.xb);n.Pj(l.valueOf());l=void 0}),f.update(olympe.j.ka.C))});d.appendChild(g,'datepicker input');d.appendChild(k,'datepicker toggle');c=new olympe.ui.D.Dd(c,0,8);c.appendChild(e,'calendar widget');k=new olympe.ui.D.eg(c.la(),!1,null,'floating');k.hr(f.Ca());k.me(c);k.Qv(d,olympe.ui.D.eg.F.Qc,olympe.ui.D.eg.O.Jx);this.C(d,a);return d}};
@@ -1690,7 +1692,7 @@ olympe.sc.ui.X.bg.T.C=(a,b)=>{a=a.create(olympe.sc.ui.X.bg);a.setProperty(olympe
1690
1692
  e.Lc(10);e.Kg(olympe.j.mb.LJ.lz(this.Ha(olympe.sc.ui.X.od.Kb,a,olympe.j.mb)));this.C(e.Mb,a);e.WN(this.Ha(olympe.sc.ui.X.od.Hf,a,olympe.j.ka,olympe.j.ka.xb));e.eO(d.sa().Va(2).an(this.Ha(olympe.sc.ui.X.od.xx,a,olympe.j.aa,olympe.j.aa.ZERO)));e.UN(this.Ha(olympe.sc.ui.X.od.Rc,a,olympe.j.aa,olympe.j.Da(10)));e.oB(new olympe.j.ia(this.Ha(olympe.sc.ui.X.od.Mc,a,olympe.j.aa),this.Ha(olympe.sc.ui.X.od.vc,a,olympe.j.aa)));e.pB(this.Ha(olympe.sc.ui.X.od.Fc,a,olympe.j.mb));this.C(e,a);olympe.j.If(e.U,g=>{a.set(olympe.sc.ui.X.od.Ba,
1691
1693
  g)});this.O(olympe.sc.ui.X.od.$,a,olympe.j.ka,e.EN(),olympe.j.ka.xb);a.on(olympe.sc.ui.X.od.$,g=>{e.ZN(g)},this);const f=this.Ha(olympe.sc.ui.X.od.Ba,a,olympe.dc.CloudObject);e.na.forEach((g,k)=>{olympe.j.eb(olympe.j.fb([f,g],(l,m)=>olympe.j.Pc(l.da&&l.da()===m.da()),olympe.j.ka),()=>e.mO(k))});Dm(a,olympe.sc.ui.X.od.XB,e.ai.bind(e),e.Hf.bind(e));return e}};olympe.sc.ui.X.od.T=olympe.dc.Na.C('01646ac1cbb34f2ae625',olympe.sc.ui.X.od,olympe.dc.en.fa.sb);olympe.sc.ui.X.od.jc=olympe.sc.ui.X.od.T.ea('01646ac1ce7698272467');
1692
1694
  olympe.sc.ui.X.od.Rb=olympe.sc.ui.X.od.T.ea('01646ac1cf8521b01aba');olympe.sc.ui.X.od.Ba=olympe.sc.ui.X.od.T.ea('01646b41d4fb284e88c4');olympe.sc.ui.X.od.Kb=olympe.sc.ui.X.od.T.ea('016dca2998c1f20c3c6e');olympe.sc.ui.X.od.Rc=olympe.sc.ui.X.od.T.ea('016edaa40fdb543d0176');olympe.sc.ui.X.od.Fc=olympe.sc.ui.X.od.T.ea('016edacf08785409c410');olympe.sc.ui.X.od.Mc=olympe.sc.ui.X.od.T.ea('016edb1bc5fb269bfce8');olympe.sc.ui.X.od.vc=olympe.sc.ui.X.od.T.ea('016edb1bcff460c08af3');olympe.sc.ui.X.od.Hf=olympe.sc.ui.X.od.T.ea('016edb8f1f3e173ffa3e');
1693
- olympe.sc.ui.X.od.xx=olympe.sc.ui.X.od.T.ea('016edbc49fa2c9ef9e8d');olympe.sc.ui.X.od.$=olympe.sc.ui.X.od.T.ea('016eda7c30ccd9936f6d');olympe.sc.ui.X.od.XB=olympe.sc.ui.X.od.T.ea('0165cdf57056f7394839');olympe.sc.ui.X.Le=class extends olympe.sc.ui.Ja{F(a){const b=new olympe.ui.D.Le(this.la(a));b.ps(!0);Ed(b,c=>{const d=new olympe.dc.Uc,e=[];for(const f of c){c=f.Ot().valueOf();const g=olympe.sc.XU(c);c=olympe.dm.File.C(g,d,f.my().valueOf(),f.content,c);d.Yr(c,!1);e.push(c)}d.persist(!1);d.$c(f=>{f?(a.set(olympe.sc.ui.X.Le.O,e.map(olympe.dc.CloudObject.get)),a.gn(olympe.sc.ui.X.Le.$)):this.Y.warn('The application encountered a problem while uploading files. The transaction failed.')})});this.C(b,
1695
+ olympe.sc.ui.X.od.xx=olympe.sc.ui.X.od.T.ea('016edbc49fa2c9ef9e8d');olympe.sc.ui.X.od.$=olympe.sc.ui.X.od.T.ea('016eda7c30ccd9936f6d');olympe.sc.ui.X.od.XB=olympe.sc.ui.X.od.T.ea('0165cdf57056f7394839');olympe.sc.ui.X.Le=class extends olympe.sc.ui.Ja{F(a){const b=new olympe.ui.D.Le(this.la(a));b.ps(!0);Ed(b,c=>{const d=new olympe.dc.Uc,e=[];for(const f of c){c=f.Ot().valueOf();const g=olympe.sc.YU(c);c=olympe.dm.File.C(g,d,f.my().valueOf(),f.content,c);d.Yr(c,!1);e.push(c)}d.persist(!1);d.$c(f=>{f?(a.set(olympe.sc.ui.X.Le.O,e.map(olympe.dc.CloudObject.get)),a.gn(olympe.sc.ui.X.Le.$)):this.Y.warn('The application encountered a problem while uploading files. The transaction failed.')})});this.C(b,
1694
1696
  a);return b}};olympe.sc.ui.X.Le.T=olympe.dc.Na.C('0165cd420a0ddfa948a2',olympe.sc.ui.X.Le);olympe.sc.ui.X.Le.O=olympe.sc.ui.X.Le.T.ea('0165cd42349c06193ae4');olympe.sc.ui.X.Le.$=olympe.sc.ui.X.Le.T.ea('0165cd424c8ac11a98ba');olympe.sc.ui.X.Image=class extends olympe.sc.ui.Ja{F(a){const b=new olympe.ui.D.te(this.la(a));this.C(b,a);const c=olympe.dc.CloudObject.get('016eb13ba1388f7bdd71');b.ks(olympe.j.fb([this.Ha(olympe.sc.ui.X.Image.La,a,olympe.sc.Dn,c)],d=>{d instanceof olympe.sc.gk&&(d=d.C());if(d instanceof olympe.sc.Dn)return d.O();if('string'===typeof d||d instanceof olympe.j.mb)return olympe.j.kc(d);this.Y.warn('Image: cannot set value as background image source',d);return olympe.j.mb.EMPTY},olympe.j.mb));b.Fq(this.Ha(olympe.sc.ui.X.Image.O,
1695
1697
  a,olympe.j.mb));b.Oo(this.Ha(olympe.sc.ui.X.Image.Pa,a,olympe.j.mb));b.hs(new olympe.j.ia(this.Ha(olympe.sc.ui.X.Image.$,a,olympe.j.aa),this.Ha(olympe.sc.ui.X.Image.Ba,a,olympe.j.aa)));b.js(new olympe.j.ia(this.Ha(olympe.sc.ui.X.Image.Fa,a,olympe.j.aa),this.Ha(olympe.sc.ui.X.Image.Ka,a,olympe.j.aa)));return b}};olympe.sc.ui.X.Image.T=olympe.dc.Na.C('0162f1bd4db6b5603fd8',olympe.sc.ui.X.Image);olympe.sc.ui.X.Image.La=olympe.sc.ui.X.Image.T.ea('01642664ca2b59d1a196');olympe.sc.ui.X.Image.$=olympe.sc.ui.X.Image.T.ea('01642664d2bc3e1478f4');
1696
1698
  olympe.sc.ui.X.Image.Ba=olympe.sc.ui.X.Image.T.ea('01642664d44038c8eac1');olympe.sc.ui.X.Image.Fa=olympe.sc.ui.X.Image.T.ea('016426668f80d9bf7693');olympe.sc.ui.X.Image.Ka=olympe.sc.ui.X.Image.T.ea('016426669197f66aef82');olympe.sc.ui.X.Image.O=olympe.sc.ui.X.Image.T.ea('01642664d0eb249710d2');olympe.sc.ui.X.Image.Pa=olympe.sc.ui.X.Image.T.ea('01642664d5baa65fdfc5');
@@ -1727,8 +1729,8 @@ olympe.j.Jg([this.Ha(olympe.sc.ui.X.df.$,a,olympe.j.ka)],d=>{d?c.play():c.pause(
1727
1729
  olympe.sc.ui.X.df.Ba=olympe.sc.ui.X.df.T.ea('016bf9adeb55b015353d');olympe.sc.ui.X.df.Fa=olympe.sc.ui.X.df.T.ea('016bf9adeb55b015353e');olympe.sc.ui.X.df.$=olympe.sc.ui.X.df.T.ea('016bf9adeb55b015353f');
1728
1730
  olympe.sc.ui.X.df.T.C=function(a,b){a=a.create(olympe.sc.ui.X.df);b&&a.setProperty(olympe.dc.CloudObject.nameProp,b);a.setProperty(olympe.sc.ui.Renderable.C,olympe.j.Da(384));a.setProperty(olympe.sc.ui.Renderable.F,olympe.j.Da(216));a.setProperty(olympe.sc.ui.X.df.Pa,olympe.j.ka.xb);a.setProperty(olympe.sc.ui.X.df.O,olympe.j.ka.C);a.setProperty(olympe.sc.ui.X.df.$,olympe.j.ka.C);a.setProperty(olympe.sc.ui.X.df.Ba,olympe.j.ka.C);a.setProperty(olympe.sc.ui.X.df.Fa,olympe.j.aa.ONE);return a.da()};olympe.sc.ui.Ub={};function Xm(a,b,c,d,e,f,g){const k=c.da(),l=f.Am(k);olympe.j.Gw([l.Ca(olympe.sc.ic.Mh.Tq,olympe.ui.D.wb,!0)],m=>{m.jj(!0);b.appendChild(m,k+'_'+a.db.name(k),d,e);Ym(a,f,l,m,g)})}function Zm(a,b,c,d,e,f=olympe.j.mb.EMPTY){f!==olympe.j.mb.EMPTY&&olympe.j.Jg([f],g=>{g=g.valueOf();b.kg();d.Xh((k,l,m)=>{Xm(a,b,k,g,m.jf(l),c,e)})});d.forEach((g,k,l)=>{const m=olympe.j.Ua(f).valueOf();Xm(a,b,g,m,l.jf(k),c,e)})}
1729
1731
  function Ym(a,b,c,d,e){var f=olympe.sc.ui.oc.U,g=olympe.sc.ui.Renderable.C,k=olympe.sc.ui.Renderable.F;const l=$l(a,olympe.sc.ui.oc.R);f=$l(a,f);g=$l(a,g);k=$l(a,k);const m=d.la(),n=a.C(b);a=a.F(b);b=olympe.j.eb(n,()=>e.sa(),()=>m.sa(),olympe.j.aa);const p=olympe.j.eb(a,()=>e.ma(),()=>m.ma(),olympe.j.aa),r=(t,u,v)=>{void 0===v?olympe.j.bb([u],w=>{c.set(t,w.valueOf())}):olympe.j.bb([u,v],(w,x)=>{x.valueOf()?c.set(t,w.valueOf()):c.remove(t)});olympe.j.jb().onDestroy(()=>c.remove(t))};d=d.ge();r(f,d.sa());
1730
- r(l,d.ma());r(g,p,a);r(k,b,n)}olympe.sc.ui.Ub.ek=class extends olympe.sc.ui.jr{ds(){}F(){}C(){}};olympe.sc.ui.Ub.ek.F={Tx:'distributed',Xf:'manual'};olympe.sc.ui.Ub.Je=class extends olympe.sc.ui.jr{ds(a,b){const c=olympe.j.aa,d=olympe.sc.ui.Ja.rW,e=new olympe.j.ia(this.Ha(olympe.sc.ui.Renderable.C,a,c,c.ZERO,!0),this.Ha(olympe.sc.ui.Renderable.F,a,c,c.ZERO,!0)),f=new olympe.ui.D.Je(e),g=new olympe.j.Qd('layout rendering context'),k=[];olympe.j.Jg([b.hd()],l=>{for(let m=k.length,n=l;m>n;m--)f.removeChild('l'+(m-1)),k.pop()});b.forEach((l,m,n)=>{const p=l.da(),r=a.Am(p),t=r.Ca(olympe.sc.ic.Mh.Tq,olympe.ui.D.wb,!0);t.setPosition(l.ge(r));t.Ug(l.Ha(d,
1731
- r,c,c.ZERO));olympe.j.bb([n.jf(m)],u=>{u=u.valueOf();void 0===k[u]&&g.run(()=>{k[u]=(new olympe.ui.D.Je).Mp().jj(!0).Lb(e).Ei(!0);f.appendChild(k[u],'l'+u)});var v=a.dw();null!==v&&this.db.pe(v)&&(v=this.db.model(v),null!==v&&this.db.Sz(p,olympe.sc.Runnable.hU,v)&&k[u].appendChild(t,p+'_'+this.db.name(p)))})});return f}F(){return olympe.j.ka.xb}C(){return olympe.j.ka.xb}};olympe.sc.ui.Ub.Je.T=olympe.dc.Na.C('016c2458e07561155a49',olympe.sc.ui.Ub.Je);olympe.sc.ui.Ub.ie=class extends olympe.sc.ui.Ub.ek{ds(a,b){var c=olympe.j.mb,d=olympe.j.aa;const e=olympe.j.ia,f=olympe.ui.D.ie;var g=olympe.ui.ha.uc.Qc;const k=olympe.sc.ui.Ub.ek.F.Xf,l=olympe.sc.ui.Ub.ek.F.Tx,m=olympe.sc.ui.Ub.ie.R,n=olympe.sc.ui.Ub.ie.$;var p=olympe.sc.ui.Ub.ie.V,r=olympe.sc.ui.Ub.ie.U,t=this.Ha(olympe.sc.ui.Renderable.C,a,d,d.ZERO,!0);const u=this.Ha(olympe.sc.ui.Renderable.F,a,d,d.ZERO,!0);p=this.Ha(p,a,d,d.ZERO,!0);g=this.Ha(n,a,c,g,!0);c=this.Ha(m,a,c,k,!0);r=this.Ha(r,a,
1732
+ r(l,d.ma());r(g,p,a);r(k,b,n)}olympe.sc.ui.Ub.ek=class extends olympe.sc.ui.jr{ds(){}F(){}C(){}};olympe.sc.ui.Ub.ek.F={Tx:'distributed',Xf:'manual'};olympe.sc.ui.Ub.Je=class extends olympe.sc.ui.jr{ds(a,b){const c=olympe.j.aa,d=olympe.sc.ui.Ja.sW,e=new olympe.j.ia(this.Ha(olympe.sc.ui.Renderable.C,a,c,c.ZERO,!0),this.Ha(olympe.sc.ui.Renderable.F,a,c,c.ZERO,!0)),f=new olympe.ui.D.Je(e),g=new olympe.j.Qd('layout rendering context'),k=[];olympe.j.Jg([b.hd()],l=>{for(let m=k.length,n=l;m>n;m--)f.removeChild('l'+(m-1)),k.pop()});b.forEach((l,m,n)=>{const p=l.da(),r=a.Am(p),t=r.Ca(olympe.sc.ic.Mh.Tq,olympe.ui.D.wb,!0);t.setPosition(l.ge(r));t.Ug(l.Ha(d,
1733
+ r,c,c.ZERO));olympe.j.bb([n.jf(m)],u=>{u=u.valueOf();void 0===k[u]&&g.run(()=>{k[u]=(new olympe.ui.D.Je).Mp().jj(!0).Lb(e).Ei(!0);f.appendChild(k[u],'l'+u)});var v=a.dw();null!==v&&this.db.pe(v)&&(v=this.db.model(v),null!==v&&this.db.Sz(p,olympe.sc.Runnable.iU,v)&&k[u].appendChild(t,p+'_'+this.db.name(p)))})});return f}F(){return olympe.j.ka.xb}C(){return olympe.j.ka.xb}};olympe.sc.ui.Ub.Je.T=olympe.dc.Na.C('016c2458e07561155a49',olympe.sc.ui.Ub.Je);olympe.sc.ui.Ub.ie=class extends olympe.sc.ui.Ub.ek{ds(a,b){var c=olympe.j.mb,d=olympe.j.aa;const e=olympe.j.ia,f=olympe.ui.D.ie;var g=olympe.ui.ha.uc.Qc;const k=olympe.sc.ui.Ub.ek.F.Xf,l=olympe.sc.ui.Ub.ek.F.Tx,m=olympe.sc.ui.Ub.ie.R,n=olympe.sc.ui.Ub.ie.$;var p=olympe.sc.ui.Ub.ie.V,r=olympe.sc.ui.Ub.ie.U,t=this.Ha(olympe.sc.ui.Renderable.C,a,d,d.ZERO,!0);const u=this.Ha(olympe.sc.ui.Renderable.F,a,d,d.ZERO,!0);p=this.Ha(p,a,d,d.ZERO,!0);g=this.Ha(n,a,c,g,!0);c=this.Ha(m,a,c,k,!0);r=this.Ha(r,a,
1732
1734
  d,olympe.j.Da(-1),!0);t=olympe.j.fb([c,t,b.hd(),p],(v,w,x,y)=>olympe.j.Da(v.valueOf()===l&&0<x?(w-(x-1)*y)/x:-1),olympe.j.aa);d=new f(u,p,d.ZERO,d.ZERO);Zm(this,d,a,b,new e(t,r),g);return d}F(a){const b=olympe.sc.ui.Ub.ek.F.Tx;return this.Ha(olympe.sc.ui.Ub.ie.R,a,olympe.j.mb,olympe.sc.ui.Ub.ek.F.Xf).ef(b)}C(a){return this.Ha(olympe.sc.ui.Ub.ie.U,a,olympe.j.aa,olympe.j.Da(-1)).Nj(-1)}};olympe.sc.ui.Ub.ie.T=olympe.dc.Na.C('016c2464cd56eb1d285e',olympe.sc.ui.Ub.ie);olympe.sc.ui.Ub.ie.$=olympe.sc.ui.Ub.ie.T.ea('016c2465994ea70d575b');
1733
1735
  olympe.sc.ui.Ub.ie.R=olympe.sc.ui.Ub.ie.T.ea('016c2465d49a1b57c37b');olympe.sc.ui.Ub.ie.V=olympe.sc.ui.Ub.ie.T.ea('016c24662dd291131b36');olympe.sc.ui.Ub.ie.U=olympe.sc.ui.Ub.ie.T.ea('016c246628ec25819a59');olympe.sc.ui.Ub.ie.T.C=a=>{const b=a.create(olympe.sc.ui.Ub.ie);a.Ob(olympe.sc.pg.C,b,olympe.sc.ui.oc.R);a.Ob(olympe.sc.pg.C,b,olympe.sc.ui.oc.U);return b.da()};olympe.sc.ui.Ub.Nf=class extends olympe.sc.ui.Ub.ek{ds(a,b){var c=olympe.j.aa,d=olympe.j.ka;const e=olympe.j.ia;var f=olympe.ui.D.Nf,g=olympe.sc.ui.Ub.Nf.R,k=olympe.sc.ui.Ub.Nf.V,l=olympe.sc.ui.Ub.Nf.ca;const m=olympe.sc.ui.Ub.Nf.$,n=olympe.sc.ui.Ub.Nf.U,p=this.Ha(olympe.sc.ui.Renderable.C,a,c,c.ZERO,!0),r=this.Ha(olympe.sc.ui.Renderable.F,a,c,c.ZERO,!0);g=this.Ha(g,a,c,olympe.j.Da(50),!0);k=this.Ha(k,a,c,c.ZERO,!0);l=this.Ha(l,a,c,c.ZERO,!0);c=this.Ha(m,a,c,c.ZERO,!0);d=this.Ha(n,a,d,d.xb,!0);f=
1734
1736
  new f(p,r,g,k,l,c);f.XN(d);Zm(this,f,a,b,new e(g,-1));return f}F(a){return this.Ha(olympe.sc.ui.Ub.Nf.R,a,olympe.j.aa,olympe.j.Da(50)).Nj(-1)}C(){return olympe.j.ka.xb}};olympe.sc.ui.Ub.Nf.T=olympe.dc.Na.C('016c2466cfdfb79fda99',olympe.sc.ui.Ub.Nf);olympe.sc.ui.Ub.Nf.R=olympe.sc.ui.Ub.Nf.T.ea('016c24674d58a6863271');olympe.sc.ui.Ub.Nf.V=olympe.sc.ui.Ub.Nf.T.ea('016c24679171effcf472');olympe.sc.ui.Ub.Nf.ca=olympe.sc.ui.Ub.Nf.T.ea('016c2467dd3812adac6e');olympe.sc.ui.Ub.Nf.$=olympe.sc.ui.Ub.Nf.T.ea('016c2467fa3c2444dfec');
@@ -1737,41 +1739,41 @@ a,d,olympe.j.Da(-1),!0);u=olympe.j.fb([c,u,b.hd(),p],(v,w,x,y)=>olympe.j.Da(v.va
1737
1739
  olympe.sc.ui.Ub.Dd.U=olympe.sc.ui.Ub.Dd.T.ea('016c245e748f56bc527c');olympe.sc.ui.Ub.Dd.$=olympe.sc.ui.Ub.Dd.T.ea('016c24642a7b84145c27');olympe.sc.ui.Ub.Dd.R=olympe.sc.ui.Ub.Dd.T.ea('016c2464540a0699987e');olympe.sc.ui.Ub.Dd.T.C=a=>{const b=a.create(olympe.sc.ui.Ub.Dd);a.Ob(olympe.sc.pg.C,b,olympe.sc.ui.oc.R);a.Ob(olympe.sc.pg.C,b,olympe.sc.ui.oc.U);return b.da()};olympe.sc.ui.logic={};function $m(a,b,c,d,e){var f=new olympe.ui.media.ec.mP;md(a.F,g=>{a.F.Gt(k=>{let l=null,m=null;k.forEach(n=>{null===l&&(l=n);const p=n.Oa().toLowerCase().toString();if(e instanceof olympe.ui.media.ec.GE&&-1!==p.indexOf('back')||e instanceof olympe.ui.media.ec.IF&&-1!==p.indexOf('front'))m=n});k=[];null!==m?(null!==g&&k.push([m,g]),null!==f&&k.push([m,f])):(null!==l&&null!==g&&k.push([l,g]),null!==e&&null!==g&&k.push([e,g]),null!==l&&null!==f&&k.push([l,f]),null!==e&&null!==f&&k.push([e,f]));a.call(b,
1738
1740
  c,k,d)})})}
1739
1741
  olympe.sc.ui.logic.Ns=class extends olympe.sc.logic.Function{constructor(a,b,c,d){super(a,b,c);this.F=d}C(){olympe.sc.ui.logic.Ns.C||(olympe.sc.ui.logic.Ns.C=new olympe.ui.media.ec.IF);return olympe.sc.ui.logic.Ns.C}run(a){a.oo()||im(this,a,(b,c)=>{$m(this,c,a,b,this.C())})}call(a,b,c,d){if(0===c.length)this.Y.warn('Impossible to create stream: no audio or video available');else{var e=c.pop(),f=an(b,e[0],e[1]);f.gs(!d.valueOf());f.Em();olympe.j.bb([f.C()],g=>{g.valueOf()?a(f):this.call(a,b,c,d)})}}};
1740
- olympe.sc.ui.logic.Ns.C=null;olympe.sc.logic.Na.C('0164220be1a6a1906841',olympe.sc.ui.logic.Ns,olympe.ui.fa.wB);olympe.sc.ui.logic.av=class extends olympe.sc.ui.logic.Ns{constructor(a,b,c,d){super(a,b,c,d)}C(){olympe.sc.ui.logic.av.C||(olympe.sc.ui.logic.av.C=new olympe.ui.media.ec.GE);return olympe.sc.ui.logic.av.C}};olympe.sc.ui.logic.av.C=null;olympe.sc.logic.Na.C('0164220c3088ca9a4810',olympe.sc.ui.logic.av,olympe.ui.fa.wB);const bn=Object.create(null);function an(a,b,c){const d=b?b.Oa().valueOf():'',e=c?c.Oa().valueOf():'',f=d+'_'+e;bn[f]?cn(bn[f]):bn[f]=new dn(b,c);a.onDestroy(()=>{var g;if(g=bn[f])g=bn[f],--g.C,0===g.C?(g.F.destroy(),g.F=null,g.O=null,g=!0):g=!1;g&&delete bn[f]});return bn[f].O}olympe.sc.ui.logic.nZ=class{};function cn(a){a.C+=1}class dn{constructor(a,b){this.F=olympe.j.nl().run(()=>new olympe.j.Qd);this.O=this.F.run(()=>new olympe.ui.media.Rh(a,b));this.C=1}};function en(a,b){olympe.j.bb([b],a)}olympe.sc.ui.logic.JP=class extends olympe.sc.logic.Function{update(a,[b],[c,d,e]){en(c,b.vz().Lq());en(e,b.C());const f=new Map;d(Array.from(f.values()));b.F().forEach((g,k)=>{f.set(k,g);d(Array.from(f.values()))},g=>{f.delete(g);d(Array.from(f.values()))})}};olympe.sc.logic.Na.C('0168e140c1e48a1a37c3',olympe.sc.ui.logic.JP);olympe.sc.ui.logic.KP=class extends olympe.sc.logic.Function{update(a,[b],[c,d,e,f,g,k,l,m,n]){a=(p,r)=>{olympe.j.bb([r],t=>p(t.valueOf()))};a(c,b.kM());a(d,b.bj().ma());a(e,b.bj().sa());a(f,b.tg().ma());a(g,b.tg().sa());a(k,b.Kr().ma());a(l,b.Kr().sa());a(m,b.MC());a(n,b.GC())}};olympe.sc.logic.Na.C('0168e1445d6abf5aba58',olympe.sc.ui.logic.KP);olympe.sc.ui.logic.ZS=class extends olympe.sc.logic.Action{run(a){im(this,a,(b,c,d)=>{b&&b.Bl&&b.Bl(e=>{const f=e.match(/^data:([^;]*);base64,.*/)[1];e=Na(e);const g=(new olympe.dc.Uc).persist(!1),k=olympe.dm.File.C(olympe.sc.Dn,g,'camera',e,f);g.Yr(k,!1);g.$c(()=>{const l=olympe.dc.CloudObject.get(k);c(l);d()})})})}};olympe.sc.logic.Na.C('01646097aaaa10821d13',olympe.sc.ui.logic.ZS);olympe.sc.ui.Rf={};olympe.sc.ui.Rf.hv=class extends olympe.dc.CloudObject{};olympe.sc.ui.Rf.hv.T=olympe.dc.Na.C('0168c77252629e4b7e4b',olympe.sc.ui.Rf.hv);olympe.sc.ui.Rf.GestureEvent=class extends olympe.sc.ui.Rf.hv{};olympe.sc.ui.Rf.GestureEvent.T=olympe.dc.Na.C('0168dcccfca62952a55f',olympe.sc.ui.Rf.GestureEvent);olympe.sc.ui.Rf.GestureEvent.C={oZ:'Horizontal Pan',k0:'Vertical Pan',pZ:'Horizontal Swipe',wZ:'Long Press',xZ:'Long Press Up',a_:'Rotate',TZ:'Pinch'};olympe.sc.ui.Rf.MouseEvent=class extends olympe.sc.ui.Rf.hv{};olympe.sc.ui.Rf.MouseEvent.T=olympe.dc.Na.C('0168c772532efa4be843',olympe.sc.ui.Rf.MouseEvent);olympe.sc.ui.Rf.MouseEvent.C={AZ:'Mouse Click',vY:'Mouse Double Click',DZ:'Mouse Move',BZ:'Mouse Enter',CZ:'Mouse Leave',EZ:'Mouse Wheel'};olympe.sc.ui.Rf.fk=class extends olympe.sc.ui.Rf.MouseEvent{};olympe.sc.ui.Rf.fk.T=olympe.dc.Na.C('0168dc74bc018fb93ca2',olympe.sc.ui.Rf.fk);olympe.sc.ui.Rf.xr=class extends olympe.dc.CloudObject{};olympe.sc.ui.Rf.xr.T=olympe.dc.Na.C('0168e0e2c4621df32516',olympe.sc.ui.Rf.xr);olympe.sc.ui.Rf.TouchEvent=class extends olympe.sc.ui.Rf.hv{};olympe.sc.ui.Rf.TouchEvent.T=olympe.dc.Na.C('0168e0f0f8b8d1b6daa2',olympe.sc.ui.Rf.TouchEvent);olympe.sc.ui.Rf.TouchEvent.C={f0:'Touch Start',e0:'Touch Move',d0:'Touch End',c0:'Touch Cancel'};olympe.sc.ui.wc={};olympe.sc.ui.wc.vh=class extends olympe.sc.Metadata{ma(){return this.hf(olympe.sc.ui.wc.vh.C)}sa(){return this.hf(olympe.sc.ui.wc.vh.F)}ge(){return new olympe.j.ia(this.hf(olympe.sc.ui.wc.vh.C),this.hf(olympe.sc.ui.wc.vh.F))}C(){return this.rk(olympe.sc.ui.wc.vh.O)}};olympe.sc.ui.wc.vh.T=olympe.dc.Na.C('0163a69a2f9d6c38abb9',olympe.sc.ui.wc.vh);olympe.sc.ui.wc.vh.C=olympe.sc.ui.wc.vh.T.ea('0163a69a32631aecdc22');olympe.sc.ui.wc.vh.F=olympe.sc.ui.wc.vh.T.ea('0163a69a343bc8f39e37');
1742
+ olympe.sc.ui.logic.Ns.C=null;olympe.sc.logic.Na.C('0164220be1a6a1906841',olympe.sc.ui.logic.Ns,olympe.ui.fa.wB);olympe.sc.ui.logic.av=class extends olympe.sc.ui.logic.Ns{constructor(a,b,c,d){super(a,b,c,d)}C(){olympe.sc.ui.logic.av.C||(olympe.sc.ui.logic.av.C=new olympe.ui.media.ec.GE);return olympe.sc.ui.logic.av.C}};olympe.sc.ui.logic.av.C=null;olympe.sc.logic.Na.C('0164220c3088ca9a4810',olympe.sc.ui.logic.av,olympe.ui.fa.wB);const bn=Object.create(null);function an(a,b,c){const d=b?b.Oa().valueOf():'',e=c?c.Oa().valueOf():'',f=d+'_'+e;bn[f]?cn(bn[f]):bn[f]=new dn(b,c);a.onDestroy(()=>{var g;if(g=bn[f])g=bn[f],--g.C,0===g.C?(g.F.destroy(),g.F=null,g.O=null,g=!0):g=!1;g&&delete bn[f]});return bn[f].O}olympe.sc.ui.logic.oZ=class{};function cn(a){a.C+=1}class dn{constructor(a,b){this.F=olympe.j.nl().run(()=>new olympe.j.Qd);this.O=this.F.run(()=>new olympe.ui.media.Rh(a,b));this.C=1}};function en(a,b){olympe.j.bb([b],a)}olympe.sc.ui.logic.JP=class extends olympe.sc.logic.Function{update(a,[b],[c,d,e]){en(c,b.vz().Lq());en(e,b.C());const f=new Map;d(Array.from(f.values()));b.F().forEach((g,k)=>{f.set(k,g);d(Array.from(f.values()))},g=>{f.delete(g);d(Array.from(f.values()))})}};olympe.sc.logic.Na.C('0168e140c1e48a1a37c3',olympe.sc.ui.logic.JP);olympe.sc.ui.logic.KP=class extends olympe.sc.logic.Function{update(a,[b],[c,d,e,f,g,k,l,m,n]){a=(p,r)=>{olympe.j.bb([r],t=>p(t.valueOf()))};a(c,b.kM());a(d,b.bj().ma());a(e,b.bj().sa());a(f,b.tg().ma());a(g,b.tg().sa());a(k,b.Kr().ma());a(l,b.Kr().sa());a(m,b.MC());a(n,b.GC())}};olympe.sc.logic.Na.C('0168e1445d6abf5aba58',olympe.sc.ui.logic.KP);olympe.sc.ui.logic.$S=class extends olympe.sc.logic.Action{run(a){im(this,a,(b,c,d)=>{b&&b.Bl&&b.Bl(e=>{const f=e.match(/^data:([^;]*);base64,.*/)[1];e=Na(e);const g=(new olympe.dc.Uc).persist(!1),k=olympe.dm.File.C(olympe.sc.Dn,g,'camera',e,f);g.Yr(k,!1);g.$c(()=>{const l=olympe.dc.CloudObject.get(k);c(l);d()})})})}};olympe.sc.logic.Na.C('01646097aaaa10821d13',olympe.sc.ui.logic.$S);olympe.sc.ui.Rf={};olympe.sc.ui.Rf.hv=class extends olympe.dc.CloudObject{};olympe.sc.ui.Rf.hv.T=olympe.dc.Na.C('0168c77252629e4b7e4b',olympe.sc.ui.Rf.hv);olympe.sc.ui.Rf.GestureEvent=class extends olympe.sc.ui.Rf.hv{};olympe.sc.ui.Rf.GestureEvent.T=olympe.dc.Na.C('0168dcccfca62952a55f',olympe.sc.ui.Rf.GestureEvent);olympe.sc.ui.Rf.GestureEvent.C={pZ:'Horizontal Pan',l0:'Vertical Pan',qZ:'Horizontal Swipe',xZ:'Long Press',yZ:'Long Press Up',b_:'Rotate',UZ:'Pinch'};olympe.sc.ui.Rf.MouseEvent=class extends olympe.sc.ui.Rf.hv{};olympe.sc.ui.Rf.MouseEvent.T=olympe.dc.Na.C('0168c772532efa4be843',olympe.sc.ui.Rf.MouseEvent);olympe.sc.ui.Rf.MouseEvent.C={BZ:'Mouse Click',wY:'Mouse Double Click',EZ:'Mouse Move',CZ:'Mouse Enter',DZ:'Mouse Leave',FZ:'Mouse Wheel'};olympe.sc.ui.Rf.fk=class extends olympe.sc.ui.Rf.MouseEvent{};olympe.sc.ui.Rf.fk.T=olympe.dc.Na.C('0168dc74bc018fb93ca2',olympe.sc.ui.Rf.fk);olympe.sc.ui.Rf.xr=class extends olympe.dc.CloudObject{};olympe.sc.ui.Rf.xr.T=olympe.dc.Na.C('0168e0e2c4621df32516',olympe.sc.ui.Rf.xr);olympe.sc.ui.Rf.TouchEvent=class extends olympe.sc.ui.Rf.hv{};olympe.sc.ui.Rf.TouchEvent.T=olympe.dc.Na.C('0168e0f0f8b8d1b6daa2',olympe.sc.ui.Rf.TouchEvent);olympe.sc.ui.Rf.TouchEvent.C={g0:'Touch Start',f0:'Touch Move',e0:'Touch End',d0:'Touch Cancel'};olympe.sc.ui.wc={};olympe.sc.ui.wc.vh=class extends olympe.sc.Metadata{ma(){return this.hf(olympe.sc.ui.wc.vh.C)}sa(){return this.hf(olympe.sc.ui.wc.vh.F)}ge(){return new olympe.j.ia(this.hf(olympe.sc.ui.wc.vh.C),this.hf(olympe.sc.ui.wc.vh.F))}C(){return this.rk(olympe.sc.ui.wc.vh.O)}};olympe.sc.ui.wc.vh.T=olympe.dc.Na.C('0163a69a2f9d6c38abb9',olympe.sc.ui.wc.vh);olympe.sc.ui.wc.vh.C=olympe.sc.ui.wc.vh.T.ea('0163a69a32631aecdc22');olympe.sc.ui.wc.vh.F=olympe.sc.ui.wc.vh.T.ea('0163a69a343bc8f39e37');
1741
1743
  olympe.sc.ui.wc.vh.O=olympe.sc.ui.wc.vh.T.ea('0163b04743141933648b');olympe.sc.ui.wc.vh.prototype.ma.K=olympe.j.J.F;olympe.sc.ui.wc.vh.prototype.sa.K=olympe.j.J.F;olympe.sc.ui.wc.vh.prototype.ge.K=olympe.j.J.V;olympe.sc.ui.wc.vh.prototype.C.K=olympe.j.J.U;olympe.sc.ui.wc.wj=class extends olympe.sc.Metadata{ma(){return this.hf(olympe.sc.ui.wc.wj.C)}sa(){return this.hf(olympe.sc.ui.wc.wj.F)}ge(){return new olympe.j.ia(this.hf(olympe.sc.ui.wc.wj.C),this.hf(olympe.sc.ui.wc.wj.F))}};olympe.sc.ui.wc.wj.T=olympe.dc.Na.C('01621f6ab29d770a3bba',olympe.sc.ui.wc.wj);olympe.sc.ui.wc.wj.C=olympe.sc.ui.wc.wj.T.ea('01621f6ab58c2f884654');olympe.sc.ui.wc.wj.F=olympe.sc.ui.wc.wj.T.ea('01621f6ab6ac89348f20');olympe.sc.ui.wc.wj.prototype.ma.K=olympe.j.J.F;
1742
1744
  olympe.sc.ui.wc.wj.prototype.sa.K=olympe.j.J.F;olympe.sc.ui.wc.wj.prototype.ge.K=olympe.j.J.V;olympe.sc.ui.wc.Fj=class extends olympe.sc.Metadata{ma(){return this.hf(olympe.sc.ui.wc.Fj.C)}sa(){return this.hf(olympe.sc.ui.wc.Fj.F)}ge(){return new olympe.j.ia(this.hf(olympe.sc.ui.wc.Fj.C),this.hf(olympe.sc.ui.wc.Fj.F))}};olympe.sc.ui.wc.Fj.T=olympe.dc.Na.C('01618a2027d80b4df10a',olympe.sc.ui.wc.Fj);olympe.sc.ui.wc.Fj.C=olympe.sc.ui.wc.Fj.T.ea('01618a205d68abad408d');olympe.sc.ui.wc.Fj.F=olympe.sc.ui.wc.Fj.T.ea('01618a2046c5fefd75b6');olympe.sc.ui.wc.Fj.prototype.ma.K=olympe.j.J.F;
1743
1745
  olympe.sc.ui.wc.Fj.prototype.sa.K=olympe.j.J.F;olympe.sc.ui.wc.Fj.prototype.ge.K=olympe.j.J.V;olympe.sc.Yd={};olympe.sc.Yd.cg=class extends olympe.ui.D.ba.Ux{constructor(a){super();a=a.kf().la();olympe.j.jb();this.size=a.ma().an(a.sa());this.fontSize=olympe.j.Da(16);this.ca=Ub();M();this.yc=Vb();this.Fa=N();this.V=new olympe.j.Color(245,110,50);this.Rb=olympe.j.Color.create(236,101,87);this.cb=olympe.j.Color.create(251,211,131);olympe.j.Color.create(217,83,79);this.$=olympe.j.Color.create(247,247,247);this.C=N();Ub();olympe.j.Color.create(43,43,43);this.Cb=olympe.j.Color.create(255,255,255,.5);this.Ba=olympe.j.Color.create(218,
1744
1746
  218,218);this.U=olympe.j.Color.create(38,38,38);olympe.j.Color.create(172,146,236)}zi(){return'Helvetica'}Ai(){return 100}Tp(){return 0}kf(){return S(this,'rootElement',olympe.ui.D.ba.Uq,void 0,()=>{let a=new olympe.ui.D.ba.Uq;a.Qa(this.$);return a})}nm(a){return S(this,'button',olympe.ui.D.ba.Zj,a,b=>{let c=new olympe.ui.D.ba.Zj;switch(b){case olympe.sc.Yd.cg.C.hJ:c.Lb(new olympe.j.ia(this.fontSize.kb(12),this.fontSize.kb(3)));c.zb('Helvetica');c.Bb(this.fontSize);c.Eb(100);c.Qa(this.V);c.pb(this.Fa);
1745
- c.lc(0);c.ld(this.V);c.ed(1);c.Wj(this.C);J(c.Cb,this.V);J(c.R,this.V);break;case olympe.sc.Yd.cg.C.fT:c.Lb(new olympe.j.ia(this.fontSize.kb(12),this.fontSize.kb(3)));c.zb('Helvetica');c.Bb(this.fontSize);c.Eb(100);c.Qa(this.cb);c.pb(this.ca);c.lc(0);c.ld(this.cb);c.ed(1);break;case olympe.sc.Yd.cg.C.WA:c.Lb(new olympe.j.ia(0,90));c.zb('Helvetica');c.Eb(100);break;case olympe.sc.Yd.cg.C.NB:c.Lb(new olympe.j.ia(10,90));c.zb('Helvetica');c.Eb(100);break;default:c.Lb(new olympe.j.ia(this.fontSize.kb(12),
1747
+ c.lc(0);c.ld(this.V);c.ed(1);c.Wj(this.C);J(c.Cb,this.V);J(c.R,this.V);break;case olympe.sc.Yd.cg.C.gT:c.Lb(new olympe.j.ia(this.fontSize.kb(12),this.fontSize.kb(3)));c.zb('Helvetica');c.Bb(this.fontSize);c.Eb(100);c.Qa(this.cb);c.pb(this.ca);c.lc(0);c.ld(this.cb);c.ed(1);break;case olympe.sc.Yd.cg.C.WA:c.Lb(new olympe.j.ia(0,90));c.zb('Helvetica');c.Eb(100);break;case olympe.sc.Yd.cg.C.NB:c.Lb(new olympe.j.ia(10,90));c.zb('Helvetica');c.Eb(100);break;default:c.Lb(new olympe.j.ia(this.fontSize.kb(12),
1746
1748
  this.fontSize.kb(3))),c.zb('Helvetica'),c.Bb(16),c.Eb(100),c.Qa(olympe.j.Color.create(69,90,100)),b=olympe.j.Color.create(255,255,255,.8),J(c.R,b),c.pb(this.Fa),c.lc(5),c.ld(O()),c.ed(1),c.gh(new olympe.j.ia(0,0),5,1,olympe.j.Color.create(0,0,0,.2)),c.Wj(olympe.j.Color.create(69,90,100))}return c})}Mt(a){return S(this,'label',olympe.ui.D.ba.Qh,a,b=>{let c=new olympe.ui.D.ba.Qh;c.zb('Helvetica');c.Eb(100);c.Bb(this.fontSize);c.pb(this.ca);c.fc(olympe.ui.ha.uc.Qc);switch(b){case olympe.sc.Yd.cg.F.eE:c.Eb(700);
1747
1749
  break;case olympe.sc.Yd.cg.F.lr:c.Kc(this.fontSize.Va(2)),c.Lc(this.fontSize.Va(2)),c.pb(this.Fa),c.Bb(this.fontSize.kb(.8))}return c})}uw(a){return S(this,'textField',olympe.ui.D.ba.Zk,a,b=>{let c=new olympe.ui.D.ba.Zk;c.pb(this.ca);c.Tg(this.yc);c.sd(2);c.rd(2);c.Kc(8);c.Lc(8);c.Bb(this.fontSize.kb(.8));c.Eb(100);c.ld(this.Ba);c.ed(1);c.Qa(this.C);switch(b){case olympe.sc.Yd.cg.V.lr:c.Kc(2);c.Lc(2);c.sd(1);c.rd(1);c.ld(this.U);break;default:c.Qa(olympe.j.Color.create(234,234,234)),c.gh(new olympe.j.ia(0,
1748
- 1),2,0,olympe.j.Color.create(0,0,0,.2),!0),c.lc(5),c.ld(olympe.j.Color.create(128,128,128,.2)),c.pb(olympe.j.Color.create(128,128,128)),c.Eb(400)}return c})}tw(a){return S(this,'textArea',olympe.ui.D.ba.Yk,a,()=>{let b=new olympe.ui.D.ba.Yk;b.Qa(this.$);b.pb(this.ca);b.ld(this.Ba);b.Bb(12);b.zb('Helvetica')})}iw(a){return S(this,olympe.ui.D.ba.ki.$b,olympe.ui.D.ba.ki,a,b=>{let c=new olympe.ui.D.ba.ki;switch(b){case olympe.sc.Yd.cg.O.dQ:c.Qa(this.C);break;case olympe.sc.Yd.cg.O.fQ:c.Qa(this.V);break;
1749
- case olympe.sc.Yd.cg.O.eQ:c.Qa(this.Rb);break;default:c.Qa(this.C),c.ld(this.Ba),c.ed(1),c.py('images/arrow.png'),b=new olympe.j.ia(this.fontSize.kb(.6),this.fontSize.kb(.6)),J(c.C,b),b=new olympe.ui.D.ba.gd,b.Qa(this.C),b.ld(this.Ba),b.ed(1),b.gh(new olympe.j.ia(2,2),5),J(c.F,b)}return c})}ew(){return S(this,olympe.ui.D.ba.ii.$b,olympe.ui.D.ba.ii,void 0,a=>{const b=new olympe.ui.D.ba.ii;b.xz().Lb(new olympe.j.ia(60,30));b.yf().Qa(olympe.j.Color.create(230,230,230));b.yf().ld(olympe.j.Color.create(191,
1750
+ 1),2,0,olympe.j.Color.create(0,0,0,.2),!0),c.lc(5),c.ld(olympe.j.Color.create(128,128,128,.2)),c.pb(olympe.j.Color.create(128,128,128)),c.Eb(400)}return c})}tw(a){return S(this,'textArea',olympe.ui.D.ba.Yk,a,()=>{let b=new olympe.ui.D.ba.Yk;b.Qa(this.$);b.pb(this.ca);b.ld(this.Ba);b.Bb(12);b.zb('Helvetica')})}iw(a){return S(this,olympe.ui.D.ba.ki.$b,olympe.ui.D.ba.ki,a,b=>{let c=new olympe.ui.D.ba.ki;switch(b){case olympe.sc.Yd.cg.O.eQ:c.Qa(this.C);break;case olympe.sc.Yd.cg.O.gQ:c.Qa(this.V);break;
1751
+ case olympe.sc.Yd.cg.O.fQ:c.Qa(this.Rb);break;default:c.Qa(this.C),c.ld(this.Ba),c.ed(1),c.py('images/arrow.png'),b=new olympe.j.ia(this.fontSize.kb(.6),this.fontSize.kb(.6)),J(c.C,b),b=new olympe.ui.D.ba.gd,b.Qa(this.C),b.ld(this.Ba),b.ed(1),b.gh(new olympe.j.ia(2,2),5),J(c.F,b)}return c})}ew(){return S(this,olympe.ui.D.ba.ii.$b,olympe.ui.D.ba.ii,void 0,a=>{const b=new olympe.ui.D.ba.ii;b.xz().Lb(new olympe.j.ia(60,30));b.yf().Qa(olympe.j.Color.create(230,230,230));b.yf().ld(olympe.j.Color.create(191,
1750
1752
  191,191));b.yf().ed(2);b.yf().lc(100);b.Hg().Qa(olympe.j.Color.create(60,187,51));b.Hg().lc(100);b.zf().ld(olympe.j.Color.create(191,191,191));b.zf().ed(2);b.zf().lc(100);b.zf().Qa(olympe.j.Color.create(230,230,230));b.xf().ld(olympe.j.Color.create(191,191,191));b.xf().ed(2);b.xf().lc(100);b.xf().Qa(olympe.j.Color.create(230,230,230));switch(a){case olympe.sc.Yd.cg.R.lr:b.xf().ld(this.U),b.xf().ed(1),b.Hg().ld(this.U),b.Hg().ed(1),b.yf().ld(this.U),b.yf().ed(1),b.zf().ld(this.U),b.zf().ed(1)}return b})}zz(a){return S(this,
1751
1753
  '',olympe.ui.D.ba.Zl,a,()=>{let b=new olympe.ui.D.ba.Zl;var c=new olympe.ui.D.ba.gd;c.Lb(new olympe.j.ia(206,19));c.ed(olympe.j.aa.ONE);c.lc(olympe.j.Da(10));b.C=c;c=new olympe.ui.D.ba.gd;c.Lb(new olympe.j.ia(12,24));c.ed(olympe.j.aa.ONE);c.lc(olympe.j.Da(10));b.F=c;c=new olympe.ui.D.ba.gd;c.Lb(new olympe.j.ia(12,24));c.ed(olympe.j.aa.ONE);c.lc(olympe.j.Da(10));b.O=c;return b})}ow(){return S(this,'popupPanel',olympe.ui.D.ba.Cj,void 0,()=>{let a=new olympe.ui.D.ba.Cj;J(a.C,this.Cb);a.Qa(this.C);return a})}Er(a){return S(this,
1752
1754
  'alert',olympe.ui.D.ba.Hk,a,()=>{let b=new olympe.ui.D.ba.Hk;b.Lb(new olympe.j.ia(360,1));b.ae(!1);b.Xd(!0);J(b.C,this.Cb);b.Qa(this.C);var c=this.fontSize.kb(1.5);J(b.R,c);b.Kf(this.fontSize.kb(1.5));J(b.U,olympe.sc.Yd.cg.F.eE);J(b.V,olympe.sc.Yd.cg.C.hJ);b.lc(0);return b})}sw(a){return S(this,'tabPanel',olympe.ui.D.ba.Xk,a,()=>{let b=new olympe.ui.D.ba.Xk;b.Qa(this.C);rd(b);J(b.C,olympe.j.ja(this.fontSize));J(b.F,olympe.j.ja(100));sd(b);td(b);ud(b);return b})}kw(a){return S(this,'grid',olympe.ui.D.ba.yj,
1753
1755
  a,()=>{let b=new olympe.ui.D.ba.yj;b.Qa(this.$);J(b.C,olympe.sc.Yd.cg.F.WA);J(b.F,olympe.sc.Yd.cg.F.NB);b.Tj(30);qd(b);return b})}qz(a){return S(this,'bubble',olympe.ui.D.ba.Xo,a,()=>{let b=new olympe.ui.D.ba.Xo;J(b.R,10);J(b.U,5);J(b.V,10);var c=olympe.j.Color.create(255,255,255);J(b.ga,c);c=olympe.j.Color.create(200,200,200);J(b.$,c);J(b.ca,1);return b})}Kt(a){return S(this,'inputPopup',olympe.ui.D.ba.Ok,a,()=>{let b=new olympe.ui.D.ba.Ok;b.Lb(new olympe.j.ia(500,1));b.ae(!1);b.Xd(!0);var c=olympe.j.Color.create(0,
1754
1756
  0,0,.6);J(b.C,c);b.Qa(this.$);J(b.R,10);b.Kf(10);J(b.V,5);J(b.ga,5);J(b.U,'Helvetica');return b})}Jz(a){return S(this,'windowComponent',olympe.ui.D.ba.Ip,a,()=>{let b=new olympe.ui.D.ba.Ip;J(b.V,olympe.j.ja(40));J(b.R,olympe.j.ja(100));J(b.U,olympe.j.ja(100));vd(b);wd(b);J(b.C,1);var c=new olympe.j.ia(25,25);J(b.F,c);J(b.O,'images/close.png');return b})}Bz(a){return S(this,olympe.ui.D.ba.$l.$b,olympe.ui.D.ba.$l,a,b=>{const c=new olympe.ui.D.ba.gd,d=new olympe.ui.D.ba.$l;d.pu(!1);d.eA(c);switch(b){case olympe.sc.Yd.cg.U.lr:d.pu(!0),
1755
- d.dA(1),c.Qa(this.U)}return d})}wz(a){return S(this,olympe.ui.D.ba.qf.$b,olympe.ui.D.ba.qf,a,b=>{const c=new olympe.ui.D.ba.qf;switch(b){case olympe.ui.D.ba.qf.F.uF:J(c.C,olympe.ui.D.ba.qf.C.rv);break;default:J(c.C,olympe.ui.D.ba.qf.C.Xx)}return c})}};olympe.sc.Yd.cg.O={dQ:'dropdown-item',fQ:'dropdown-selectedvalue',eQ:'dropdown-mouseoveritem'};olympe.sc.Yd.cg.F={WA:'grid-cell',NB:'grid-selected-cell',eE:'alertTitle',lr:'panel'};olympe.sc.Yd.cg.C={hJ:'selected',fT:'warning',WA:'grid-cell',NB:'grid-selected-cell'};
1757
+ d.dA(1),c.Qa(this.U)}return d})}wz(a){return S(this,olympe.ui.D.ba.qf.$b,olympe.ui.D.ba.qf,a,b=>{const c=new olympe.ui.D.ba.qf;switch(b){case olympe.ui.D.ba.qf.F.uF:J(c.C,olympe.ui.D.ba.qf.C.rv);break;default:J(c.C,olympe.ui.D.ba.qf.C.Xx)}return c})}};olympe.sc.Yd.cg.O={eQ:'dropdown-item',gQ:'dropdown-selectedvalue',fQ:'dropdown-mouseoveritem'};olympe.sc.Yd.cg.F={WA:'grid-cell',NB:'grid-selected-cell',eE:'alertTitle',lr:'panel'};olympe.sc.Yd.cg.C={hJ:'selected',gT:'warning',WA:'grid-cell',NB:'grid-selected-cell'};
1756
1758
  olympe.sc.Yd.cg.V={lr:'panel'};olympe.sc.Yd.cg.R={lr:'panel'};olympe.sc.Yd.cg.U={lr:'panel'};function fn(a,b){a.C=b}
1757
- olympe.sc.Yd.vR=class extends olympe.ui.D.Screen{constructor(a){super();this.Aa=a;this.C=null}render(a){var b=olympe.j.ia,c=olympe.j.Color,d=olympe.j.rb;const e=olympe.j.Da;var f=olympe.ui.D.hb;const g=olympe.ui.D.te,k=olympe.ui.D.pc;var l=olympe.ui.D.Wb,m=a.ma();a=a.sa();const n=d(olympe.j.aa),p=d(olympe.j.aa),r=d(olympe.j.aa),t=d(olympe.j.aa);olympe.j.bb([m],y=>{350<y.valueOf()?(n.update(e(350)),p.update(e(60)),r.update(e(24))):(n.update(e(175)),p.update(e(30)),r.update(e(16)));t.update(e(500>y.valueOf()?
1759
+ olympe.sc.Yd.wR=class extends olympe.ui.D.Screen{constructor(a){super();this.Aa=a;this.C=null}render(a){var b=olympe.j.ia,c=olympe.j.Color,d=olympe.j.rb;const e=olympe.j.Da;var f=olympe.ui.D.hb;const g=olympe.ui.D.te,k=olympe.ui.D.pc;var l=olympe.ui.D.Wb,m=a.ma();a=a.sa();const n=d(olympe.j.aa),p=d(olympe.j.aa),r=d(olympe.j.aa),t=d(olympe.j.aa);olympe.j.bb([m],y=>{350<y.valueOf()?(n.update(e(350)),p.update(e(60)),r.update(e(24))):(n.update(e(175)),p.update(e(30)),r.update(e(16)));t.update(e(500>y.valueOf()?
1758
1760
  .5:1))});d=new b(n.Ca(),p.Ca());m=new olympe.ui.D.Dd(m,15,30,30,!1,a);m.Qa(Ub());b=new g(new b(t.Ca().kb(352),t.Ca().kb(204)));b.xg('images/app_launcher_logo.svg');m.appendChild(b,'logo',olympe.ui.ha.Jb.Xb);const u=new f(d);u.Sb('Invalid user name or password!').pb(c.red()).Eb(800).Bb(r.Ca()).fc(olympe.ui.ha.uc.Qc).zb('Roboto').qd(!0);m.appendChild(u,'errorLabel',olympe.ui.ha.Jb.Xb);b=new f(d);b.Sb('User Name').pb(Vb()).zb('Roboto').Bb(r.Ca()).Eb(800).fc(olympe.ui.ha.uc.Qc);m.appendChild(b,'userNameLabel',
1759
1761
  olympe.ui.ha.Jb.Xb);const v=new l(d);v.dn(olympe.ui.ha.wr.pF).Kg('username').Tg(c.create(132,132,132)).pb(c.create(250,250,250)).Mo().zb('Roboto').Bb(r.Ca()).Fd(0,O()).Qa(K());m.appendChild(v,'userNameField',olympe.ui.ha.Jb.Xb);f=new f(d);f.Sb('Password').pb(Vb()).zb('Roboto').Bb(r.Ca()).Eb(800).fc(olympe.ui.ha.uc.Qc);m.appendChild(f,'pwdLabel',olympe.ui.ha.Jb.Xb);const w=new l(d);w.dn(olympe.ui.ha.wr.uv).Kg('password').Tg(c.create(132,132,132)).pb(c.create(250,250,250)).Mo().zb('Roboto').Bb(r.Ca()).Fd(0,
1760
1762
  O()).Qa(K());m.appendChild(w,'pwd',olympe.ui.ha.Jb.Xb);l=(new k(d,'Sign In')).Wj(c.create(20,100,253)).Qa(c.create(0,86,253)).zb('Roboto').Bb(r).pb(N());m.appendChild(l,'loginButton',olympe.ui.ha.Jb.Xb);this.C&&(c=(new k(d,'Guest')).Wj(c.create(20,100,253)).Qa(c.green()).zb('Roboto').Bb(r).pb(N()),c.bd(()=>{this.C()}),m.appendChild(c,'guestButton',olympe.ui.ha.Jb.Xb));const x=()=>{var y=olympe.j.Ua(v.ol());y=y?y.valueOf().replace(/^\s*|\s*$/,''):'';y=y.split('@');y=y[0];const B=new olympe.Aa.Request;
1761
1763
  B.set('username',y);B.jA(olympe.j.Ua(w.ol()));Vc(this.Aa,B,void 0,E=>{E&&u.qd(!1)})};v.gj(y=>{y.Az().Oc(13)&&w.mj()});w.gj(y=>{y.Az().Oc(13)&&x()});l.bd(x);v.mj();return m}};function gn(a,b){a.F=b}function hn(a,b){a.C=b}
1762
- olympe.sc.Yd.wR=class extends olympe.ui.D.Screen{constructor(a){super();this.C=this.F=null;this.O=a}render(a){const b=olympe.j.ia,c=olympe.ui.D.hb;var d=olympe.ui.D.te,e=a.ma();const f=a.sa(),g=olympe.j.fb([e],m=>olympe.j.Da(500>m.valueOf()?.5:1),olympe.j.aa),k=(new olympe.dc.kr(olympe.sc.ui.Gj.T.da(),olympe.sc.ui.Xy)).pI().Vd();a=new olympe.ui.D.Dd(a.ma(),10,10,30,!1,f);a.Qa(Ub());d=new d(new b(g.kb(352),g.kb(204)));d.xg('images/app_launcher_logo.svg');a.appendChild(d,'logo',olympe.ui.ha.Jb.Xb);
1763
- const l=Ib(e,375);e=new olympe.ui.D.QS(new b(l,f.Ga(g.kb(204).$a(100))),k,m=>{m=(new c(new b(l,70))).Sb(m.Oa());m.fc(olympe.ui.ha.uc.Qc).bc(olympe.ui.ha.Jb.Xb).Bb(32);m.pb(Vb());m.Qa(O());return m},m=>{m&&this.F&&this.F(m)});e.Qa(K());Yd(e,()=>{});a.appendChild(e,'appList',olympe.ui.ha.Jb.Xb);e=new olympe.ui.D.pc(new b(l,50));e.Sb('Logout').pb(K()).zb('Roboto').Bb(20).Eb(800).lc(15).Fd(0,O()).Qa(Vb());e.bd(()=>{this.C&&this.C()});e.qd(ad(this.O).Sf());a.appendChild(e,'logoutButton',olympe.ui.ha.Jb.Xb);
1764
- return a}};function jn(a,b){a.V?b():(a.U(),rm(a,()=>{a.V=!0;b()}))}function kn(a,b,c){var d=new olympe.sc.Yd.vR(a.F);c.jC(d,'login');fn(d,()=>{c.Lw('logged')});c.aO();d=new olympe.sc.Yd.wR(a.F);c.jC(d,'selection');c.gC('login','selection','logged');c.gC('selection','login','logout');b.appendChild(c,'launcher',new olympe.j.ia(0,0));gn(d,e=>{a.C=e.da();b.removeChild('launcher');pm(a)});hn(d,()=>{a.F.Tz();c.Lw('logout')})}
1764
+ olympe.sc.Yd.xR=class extends olympe.ui.D.Screen{constructor(a){super();this.C=this.F=null;this.O=a}render(a){const b=olympe.j.ia,c=olympe.ui.D.hb;var d=olympe.ui.D.te,e=a.ma();const f=a.sa(),g=olympe.j.fb([e],m=>olympe.j.Da(500>m.valueOf()?.5:1),olympe.j.aa),k=(new olympe.dc.kr(olympe.sc.ui.Gj.T.da(),olympe.sc.ui.Xy)).pI().Vd();a=new olympe.ui.D.Dd(a.ma(),10,10,30,!1,f);a.Qa(Ub());d=new d(new b(g.kb(352),g.kb(204)));d.xg('images/app_launcher_logo.svg');a.appendChild(d,'logo',olympe.ui.ha.Jb.Xb);
1765
+ const l=Ib(e,375);e=new olympe.ui.D.RS(new b(l,f.Ga(g.kb(204).$a(100))),k,m=>{m=(new c(new b(l,70))).Sb(m.Oa());m.fc(olympe.ui.ha.uc.Qc).bc(olympe.ui.ha.Jb.Xb).Bb(32);m.pb(Vb());m.Qa(O());return m},m=>{m&&this.F&&this.F(m)});e.Qa(K());Yd(e,()=>{});a.appendChild(e,'appList',olympe.ui.ha.Jb.Xb);e=new olympe.ui.D.pc(new b(l,50));e.Sb('Logout').pb(K()).zb('Roboto').Bb(20).Eb(800).lc(15).Fd(0,O()).Qa(Vb());e.bd(()=>{this.C&&this.C()});e.qd(ad(this.O).Sf());a.appendChild(e,'logoutButton',olympe.ui.ha.Jb.Xb);
1766
+ return a}};function jn(a,b){a.V?b():(a.U(),rm(a,()=>{a.V=!0;b()}))}function kn(a,b,c){var d=new olympe.sc.Yd.wR(a.F);c.jC(d,'login');fn(d,()=>{c.Lw('logged')});c.aO();d=new olympe.sc.Yd.xR(a.F);c.jC(d,'selection');c.gC('login','selection','logged');c.gC('selection','login','logout');b.appendChild(c,'launcher',new olympe.j.ia(0,0));gn(d,e=>{a.C=e.da();b.removeChild('launcher');pm(a)});hn(d,()=>{a.F.Tz();c.Lw('logout')})}
1765
1767
  olympe.sc.Yd.sr=class extends olympe.sc.bn.sr{constructor(a,b,c,d,e,f,g,k,l,m){super(b,c,e,g,k,l,m);this.ba=f;this.ga=a;this.Fa=d;this.na=new olympe.j.Qd('Spinner context',olympe.j.nl());this.ca=this.V=!1}U(){this.ca||(this.ga.ga(this.ba),this.na.run(()=>{const a=this.ga.kf(),b=new olympe.ui.D.te(a.la());b.Qa(K());this.Y.debug('Display loading spinner');b.xg('images/spinner_dark_bg_big.gif',olympe.ui.ha.Xg.Nq,olympe.ui.ha.Se.Xb);a.appendChild(b,'spinner')}),this.ca=!0)}R(){this.Y.debug('Remove loading spinner');
1766
1768
  this.na.ga()}run(){const a=olympe.Aa.lb.C.To,b=olympe.Aa.lb.C.cp,c=olympe.Aa.lb.C.$q,d=olympe.Aa.lb.C.As,e=olympe.Aa.lb.C.INIT;let f=!1,g=olympe.ui.Wa.kf();const k=new olympe.ui.D.dK(g.la());0===this.C.length&&kn(this,g,k);olympe.j.bb([this.F.getState()],m=>{switch(m){case a:this.V=!1;jn(this,()=>{0===this.C.length?(this.R(),k.Lw('logged')):f||(pm(this),f=!0)});break;case c:this.Y.debug('Server session opened, calling once connected callback');0<this.C.length&&jn(this,()=>{f||(pm(this),f=!0)});break;
1767
1769
  case b:this.Y.debug('Disconnected, working offline.');this.$&&!f&&(0<this.C.length?jn(this,()=>{f||(pm(this),f=!0)}):jn(this,()=>{k.Lw('logged')}));break;case e:case d:this.Y.debug('waiting for authentication');break;default:this.Y.debug('No server session available, waiting for connection'),f=!1,qm(this)}},'Runtime initial auth state listener');let l=!1;olympe.j.Jg([ad(this.F)],m=>{l&&m.valueOf()&&olympe.oa.getParameter('server.autoConnect')&&this.Fa.C();l=!m.valueOf()})}};olympe.sc.Yd.sr.ua=[olympe.Af.oE];olympe.sc.Yd.fa={fK:'sc.uiruntime.Theme'};olympe.sc.Yd.vn={ri:'sc.uiruntime.Main'};
1768
1770
  olympe.oa.Fe(function(a){z(a,olympe.sc.Yd.fa.fK,olympe.sc.Yd.cg,olympe.ui.fa.sb);A(a,olympe.sc.Yd.vn.ri,[olympe.ui.fa.sb,olympe.Aa.fa.sb,olympe.dc.query.fa.sb,olympe.host.fa.RB,olympe.sc.fa.Qb,olympe.sc.Yd.fa.fK,olympe.sc.fa.Ky,new olympe.oa.Ta(olympe.sc.za.Ml),new olympe.oa.Ta(olympe.dc.za.Gp),new olympe.oa.Ta(olympe.sc.za.BB)],(b,c,d,e,f,g,k,l,m,n)=>new olympe.sc.Yd.sr(b,c,d,e,f,g,k,l,m,n));olympe.Af.Dq(a,olympe.sc.Yd.vn.ri,'sc.runtime');olympe.Af.Dq(a,olympe.sc.Yd.vn.ri,'sc.ui');olympe.Af.Dq(a,
1769
1771
  olympe.sc.Yd.vn.ri)},'olympe.sc.uiruntime');olympe.public={};function ln(a,b){const c=new olympe.Aa.Request;for(const [d,e]of a)c.set(d,e);return new Promise(d=>{Vc(olympe.public.Dc.get(),c,b,()=>{d()})})}
1770
- olympe.public.Dc=class{static tU(a,b){return olympe.Aa.ud.Vi.bw(a,b)}static getState(){return $c(olympe.public.Dc.get())}static JU(){return olympe.j.Ua(olympe.public.Dc.get().cq())}static HW(a){const b=new olympe.j.Qd('Observe user tag','function'===typeof a.Ff?a.Ff():a);return new rxjs.Observable(c=>{b.run(()=>olympe.j.bb([olympe.public.Dc.get().cq()],d=>{c.next(d);olympe.j.jb().onDestroy(()=>c.complete())}));return()=>b.destroy()})}static rh(){return olympe.j.Ua(cd(olympe.public.Dc.get()))}static cV(){return olympe.j.Ua(olympe.public.Dc.get().Jt())||
1771
- void 0}static fs(){olympe.public.Dc.get().fs()}static Rr(a){return new Promise((b,c)=>{olympe.public.Dc.get().Rr(a,d=>d?c(d):b())})}static jW(a,b){return ln((new Map).set('username',a).set('password',b),olympe.Aa.ud.Vi.$b)}static iW(){return ln(new Map,olympe.Aa.ud.jk.$b)}static kW(a,b){return ln((new Map).set('username',a).set('nonce',b),olympe.Aa.ud.xp.$b)}static hW(){return ln(new Map,olympe.Aa.ud.tv.$b)}static Tz(){return new Promise(a=>{bd(()=>{olympe.public.Dc.get().ca.delete('logoutCallback');
1772
- a()});olympe.public.Dc.get().Tz()})}static get(){return olympe.Aa.Eg()}};olympe.public.Dc.logout=olympe.public.Dc.Tz;olympe.public.Dc.loginOpenID=olympe.public.Dc.hW;olympe.public.Dc.loginToken=olympe.public.Dc.kW;olympe.public.Dc.loginSAML=olympe.public.Dc.iW;olympe.public.Dc.loginSRP=olympe.public.Dc.jW;olympe.public.Dc.getUserFromToken=olympe.public.Dc.Rr;olympe.public.Dc.sendKeepAlive=olympe.public.Dc.fs;olympe.public.Dc.getIDPToken=olympe.public.Dc.cV;olympe.public.Dc.getToken=olympe.public.Dc.rh;
1773
- olympe.public.Dc.observeUser=olympe.public.Dc.HW;olympe.public.Dc.getCurrentUser=olympe.public.Dc.JU;olympe.public.Dc.getState=olympe.public.Dc.getState;olympe.public.Dc.generateSRPData=olympe.public.Dc.tU;olympe.public.Sc=class{static create(a){return new class extends olympe.dc.ta.Oq{C(b,c){b=a(olympe.dc.CloudObject.get(c));if('boolean'===typeof b)return b;const d=olympe.j.rb(olympe.j.ka),e=b.subscribe(f=>d.update(olympe.j.Pc(f)));olympe.j.jb().Sd(()=>e.unsubscribe());return d.Ca()}}}};
1774
- olympe.public.Pl=class{static create(a){return new class extends olympe.dc.je.Oq{R(b,c){return olympe.dc.CloudObject.get(c)}O(b,c){b=a(b,c);if('number'===typeof b)return b;const d=olympe.j.rb(olympe.j.aa),e=b.subscribe(f=>d.update(olympe.j.Da(f)));olympe.j.jb().Sd(()=>e.unsubscribe());return d.Ca()}}}};'object'===typeof exports&&(exports={CloudObject:olympe.dc.CloudObject,Relation:olympe.dc.vb.Relation,Direction:olympe.dc.Pb,generateTag:olympe.pa.Et,tagToString:olympe.dc.Hb,register:olympe.dc.register,defineProperty:olympe.dc.defineProperty,defineRelation:olympe.dc.Dr,defineInverseRelation:olympe.dc.$T,BrickContext:olympe.sc.ic,Brick:olympe.sc.logic.Function,ActionBrick:olympe.sc.logic.Action,GlobalProperties:olympe.sc.ic.Mh,registerBrick:olympe.sc.logic.Na.C,FunctionBrick:olympe.sc.logic.Function,
1772
+ olympe.public.Dc=class{static uU(a,b){return olympe.Aa.ud.Vi.bw(a,b)}static getState(){return $c(olympe.public.Dc.get())}static KU(){return olympe.j.Ua(olympe.public.Dc.get().cq())}static IW(a){const b=new olympe.j.Qd('Observe user tag','function'===typeof a.Ff?a.Ff():a);return new rxjs.Observable(c=>{b.run(()=>olympe.j.bb([olympe.public.Dc.get().cq()],d=>{c.next(d);olympe.j.jb().onDestroy(()=>c.complete())}));return()=>b.destroy()})}static rh(){return olympe.j.Ua(cd(olympe.public.Dc.get()))}static dV(){return olympe.j.Ua(olympe.public.Dc.get().Jt())||
1773
+ void 0}static fs(){olympe.public.Dc.get().fs()}static Rr(a){return new Promise((b,c)=>{olympe.public.Dc.get().Rr(a,d=>d?c(d):b())})}static kW(a,b){return ln((new Map).set('username',a).set('password',b),olympe.Aa.ud.Vi.$b)}static jW(){return ln(new Map,olympe.Aa.ud.jk.$b)}static lW(a,b){return ln((new Map).set('username',a).set('nonce',b),olympe.Aa.ud.xp.$b)}static iW(){return ln(new Map,olympe.Aa.ud.tv.$b)}static Tz(){return new Promise(a=>{bd(()=>{olympe.public.Dc.get().ca.delete('logoutCallback');
1774
+ a()});olympe.public.Dc.get().Tz()})}static get(){return olympe.Aa.Eg()}};olympe.public.Dc.logout=olympe.public.Dc.Tz;olympe.public.Dc.loginOpenID=olympe.public.Dc.iW;olympe.public.Dc.loginToken=olympe.public.Dc.lW;olympe.public.Dc.loginSAML=olympe.public.Dc.jW;olympe.public.Dc.loginSRP=olympe.public.Dc.kW;olympe.public.Dc.getUserFromToken=olympe.public.Dc.Rr;olympe.public.Dc.sendKeepAlive=olympe.public.Dc.fs;olympe.public.Dc.getIDPToken=olympe.public.Dc.dV;olympe.public.Dc.getToken=olympe.public.Dc.rh;
1775
+ olympe.public.Dc.observeUser=olympe.public.Dc.IW;olympe.public.Dc.getCurrentUser=olympe.public.Dc.KU;olympe.public.Dc.getState=olympe.public.Dc.getState;olympe.public.Dc.generateSRPData=olympe.public.Dc.uU;olympe.public.Sc=class{static create(a){return new class extends olympe.dc.ta.Oq{C(b,c){b=a(olympe.dc.CloudObject.get(c));if('boolean'===typeof b)return b;const d=olympe.j.rb(olympe.j.ka),e=b.subscribe(f=>d.update(olympe.j.Pc(f)));olympe.j.jb().Sd(()=>e.unsubscribe());return d.Ca()}}}};
1776
+ olympe.public.Pl=class{static create(a){return new class extends olympe.dc.je.Oq{R(b,c){return olympe.dc.CloudObject.get(c)}O(b,c){b=a(b,c);if('number'===typeof b)return b;const d=olympe.j.rb(olympe.j.aa),e=b.subscribe(f=>d.update(olympe.j.Da(f)));olympe.j.jb().Sd(()=>e.unsubscribe());return d.Ca()}}}};'object'===typeof exports&&(exports={CloudObject:olympe.dc.CloudObject,Relation:olympe.dc.vb.Relation,Direction:olympe.dc.Pb,generateTag:olympe.pa.Et,tagToString:olympe.dc.Hb,register:olympe.dc.register,defineProperty:olympe.dc.defineProperty,defineRelation:olympe.dc.Dr,defineInverseRelation:olympe.dc.aU,BrickContext:olympe.sc.ic,Brick:olympe.sc.logic.Function,ActionBrick:olympe.sc.logic.Action,GlobalProperties:olympe.sc.ic.Mh,registerBrick:olympe.sc.logic.Na.C,FunctionBrick:olympe.sc.logic.Function,
1775
1777
  Context:olympe.sc.ic,Entry:olympe.dc.vb.Entry,PropertyModel:olympe.dm.Property,RelationModel:olympe.dm.Relation,StringModel:olympe.dm.String,NumberModel:olympe.dm.Number,BooleanModel:olympe.dm.Boolean,DatetimeModel:olympe.dm.DateTime,ColorModel:olympe.dm.Color,File:olympe.dm.File,User:olympe.dm.User,Enum:olympe.dm.fp,EnumValue:olympe.dm.Enum,Workflow:olympe.sc.workflow.Workflow,WorkflowState:olympe.sc.workflow.em,WorkflowTransition:olympe.sc.workflow.Transition,WorkflowObjectState:olympe.sc.workflow.ObjectState,
1776
1778
  Transaction:olympe.sc.Uc,BurstTransaction:olympe.dc.Qu,QueryResult:olympe.dc.Ec,Query:olympe.dc.Id,QuerySingle:olympe.dc.Ti,Predicate:olympe.dc.ra.Sc,RelatedTo:olympe.dc.ra.ta.Pn,Order:olympe.dc.ra.Cy,Config:class{static getParameter(a){return olympe.oa.getParameter(a)}},Color:olympe.j.Color,ErrorFlow:olympe.sc.logic.Error,ServiceRequest:olympe.W.Tb.Md.ab,Service:olympe.W.Tb.Md.ue,Auth:olympe.public.Dc,AuthState:{INIT:olympe.Aa.lb.C.INIT,DISCONNECTED:olympe.Aa.lb.C.cp,GUEST:olympe.Aa.lb.C.$q,AUTHENTICATING:olympe.Aa.lb.C.As,
1777
1779
  ERROR:olympe.Aa.lb.C.dg,AUTHENTICATED:olympe.Aa.lb.C.To},Sync:olympe.dc.CloudObject,BusinessObject:olympe.dc.CloudObject,StringPrimitive:olympe.dm.String,NumberPrimitive:olympe.dm.Number,BooleanPrimitive:olympe.dm.Boolean,DatetimePrimitive:olympe.dm.DateTime,ColorPrimitive:olympe.dm.Color,PropertyPrimitive:olympe.dm.Property,RelationPrimitive:olympe.dm.Relation,DBView:class extends olympe.dc.nd{static get(){return olympe.dc.cc()}},ListDef:olympe.dc.Db,instanceToTag:olympe.dc.Hb,registerSync:olympe.dc.Na.C,