@olympeio/runtime-web 9.11.12 → 9.11.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -620,15 +620,15 @@ olympe.ra.$e(function(a){E(a,olympe.xa.Config.qC,olympe.xa.Vg.C.SRP);E(a,olympe.
620
620
  olympe.X.ba.im,olympe.xa.ba.Tz,olympe.xa.ba.xw);Sa(a,olympe.xa.ba.Tz);C(a,olympe.xa.ba.Mb,[olympe.xa.ba.Wb,olympe.X.ba.im,olympe.xa.ba.EL,olympe.host.ba.Am,olympe.host.ba.Vt,new olympe.ra.Od(olympe.xa.ba.xw,olympe.ra.gt.C.lD),new olympe.ra.Od(olympe.xa.ba.Tz,olympe.ra.gt.C.lD),new olympe.ra.xb(olympe.xa.Config.qC),new olympe.ra.xb(olympe.xa.Config.TF),new olympe.ra.xb(olympe.xa.Config.VF),new olympe.ra.xb(olympe.xa.Config.UF),new olympe.ra.xb(olympe.xa.Config.vo),new olympe.ra.xb(olympe.xa.Config.xG)],
621
621
  (b,c,d,e,f,g,h,l,m,n,p,r,t)=>{const u=[new olympe.xa.mj.ET(b,d,g),new olympe.xa.mj.SRP(b,d),new olympe.xa.mj.SAML(b,d,h),new olympe.xa.mj.eU(b,d,h,Ee(d.Ft,olympe.X.ef.Fz))];if(!u.map(v=>v.O()).includes(l))throw Error(`Default provider name ${l} given by parameter ${olympe.xa.Config.qC} cannot be found`);return new olympe.xa.Ec(b,c,d,g,h,e,f,u,new Map([['defaultProvider',l],['autoLogin',m],['autoUser',n],['autoPassword',p],['autoToken',r],['cacheTokenTimeout',t]]))},!0)},'olympe.auth');
622
622
  olympe.ra.run([olympe.xa.ba.Mb],a=>{olympe.xa.wk=()=>a});olympe.G.H.xa={};olympe.G.H.xa.WH=class{redirect(a,b=null,c=olympe.xa.Qt.C.no){let d='';if(b)for(let e in b)Object.prototype.hasOwnProperty.call(b,e)&&(d+=`<input type="hidden" name="${e}" value="${b[e]}"/>`);d=''===d&&'GET'===c.toUpperCase()?`<script>window.location.href='${a}'</script>`:`<form method="${c}" action="${a}" id="redirectorForm">`+d+"</form><script>document.getElementById('redirectorForm').submit()\x3c/script>";document.write('<!DOCTYPE html>\n<html><head><title>Please wait...</title></head>\n<body>'+
623
- d+'</body>\n</html>\n')}D(a,b,c,d){var e=olympe.xa.Qt.C.no;this.redirect(a,{SAMLRequest:b,RelayState:window.btoa(JSON.stringify(Object.assign({},{url:window.location.href},d&&{idpName:d},{id:c})))},e)}C(){return window.location.href}};olympe.G.H.xa.WH.Ba=[olympe.xa.Qt];olympe.ra.$e(a=>{A(a,olympe.xa.ba.Tz,olympe.G.H.xa.WH)},'olympe.native.html.auth');olympe.N={};olympe.N.xf=class extends olympe.host.$a.Xi{};olympe.bi(olympe.N.xf,olympe.host.$a.Xi);olympe.N.Y={};olympe.N.Y.ZH=class{oq(){}};olympe.N.Y.qr=class{Ml(){}em(){}};olympe.N.Y.qr.prototype.unregisterValueChanged=olympe.N.Y.qr.prototype.em;olympe.N.Y.qr.prototype.registerValueChanged=olympe.N.Y.qr.prototype.Ml;olympe.N.Y.$H=class{pb(){}};olympe.N.Y.Nd=class{ip(){}Jn(){}op(){}Tn(){}hp(){}In(){}np(){}Sn(){}jp(){}Kn(){}Rq(){}Ln(){}lp(){}Nn(){}kp(){}Mn(){}};olympe.N.Y.Nd.prototype.unregisterPinch=olympe.N.Y.Nd.prototype.Mn;olympe.N.Y.Nd.prototype.registerPinch=olympe.N.Y.Nd.prototype.kp;olympe.N.Y.Nd.prototype.unregisterRotate=olympe.N.Y.Nd.prototype.Nn;olympe.N.Y.Nd.prototype.registerRotate=olympe.N.Y.Nd.prototype.lp;olympe.N.Y.Nd.prototype.unregisterLongPressUp=olympe.N.Y.Nd.prototype.Ln;
623
+ d+'</body>\n</html>\n')}D(a,b,c,d){var e=olympe.xa.Qt.C.no;this.redirect(a,{SAMLRequest:b,RelayState:window.btoa(JSON.stringify(Object.assign({},{url:window.location.href},d&&{idpName:d},{id:c})))},e)}C(){return window.location.href}};olympe.G.H.xa.WH.Ba=[olympe.xa.Qt];olympe.ra.$e(a=>{A(a,olympe.xa.ba.Tz,olympe.G.H.xa.WH)},'olympe.native.html.auth');olympe.N={};olympe.N.yf=class extends olympe.host.$a.Xi{};olympe.bi(olympe.N.yf,olympe.host.$a.Xi);olympe.N.Y={};olympe.N.Y.ZH=class{oq(){}};olympe.N.Y.qr=class{Ml(){}em(){}};olympe.N.Y.qr.prototype.unregisterValueChanged=olympe.N.Y.qr.prototype.em;olympe.N.Y.qr.prototype.registerValueChanged=olympe.N.Y.qr.prototype.Ml;olympe.N.Y.$H=class{pb(){}};olympe.N.Y.Nd=class{ip(){}Jn(){}op(){}Tn(){}hp(){}In(){}np(){}Sn(){}jp(){}Kn(){}Rq(){}Ln(){}lp(){}Nn(){}kp(){}Mn(){}};olympe.N.Y.Nd.prototype.unregisterPinch=olympe.N.Y.Nd.prototype.Mn;olympe.N.Y.Nd.prototype.registerPinch=olympe.N.Y.Nd.prototype.kp;olympe.N.Y.Nd.prototype.unregisterRotate=olympe.N.Y.Nd.prototype.Nn;olympe.N.Y.Nd.prototype.registerRotate=olympe.N.Y.Nd.prototype.lp;olympe.N.Y.Nd.prototype.unregisterLongPressUp=olympe.N.Y.Nd.prototype.Ln;
624
624
  olympe.N.Y.Nd.prototype.registerLongPressUp=olympe.N.Y.Nd.prototype.Rq;olympe.N.Y.Nd.prototype.unregisterLongPress=olympe.N.Y.Nd.prototype.Kn;olympe.N.Y.Nd.prototype.registerLongPress=olympe.N.Y.Nd.prototype.jp;olympe.N.Y.Nd.prototype.unregisterVerticalPan=olympe.N.Y.Nd.prototype.Sn;olympe.N.Y.Nd.prototype.registerVerticalPan=olympe.N.Y.Nd.prototype.np;olympe.N.Y.Nd.prototype.unregisterHorizontalPan=olympe.N.Y.Nd.prototype.In;olympe.N.Y.Nd.prototype.registerHorizontalPan=olympe.N.Y.Nd.prototype.hp;
625
625
  olympe.N.Y.Nd.prototype.unregisterVerticalSwipe=olympe.N.Y.Nd.prototype.Tn;olympe.N.Y.Nd.prototype.registerVerticalSwipe=olympe.N.Y.Nd.prototype.op;olympe.N.Y.Nd.prototype.unregisterHorizontalSwipe=olympe.N.Y.Nd.prototype.Jn;olympe.N.Y.Nd.prototype.registerHorizontalSwipe=olympe.N.Y.Nd.prototype.ip;olympe.N.Y.LC=class{Vc(){}};olympe.N.Y.tg=class{Jk(){}vj(){}Ik(){}uj(){}Kk(){}wj(){}};olympe.N.Y.tg.prototype.unregisterKeyUp=olympe.N.Y.tg.prototype.wj;olympe.N.Y.tg.prototype.registerKeyUp=olympe.N.Y.tg.prototype.Kk;olympe.N.Y.tg.prototype.unregisterKeyDown=olympe.N.Y.tg.prototype.uj;olympe.N.Y.tg.prototype.registerKeyDown=olympe.N.Y.tg.prototype.Ik;olympe.N.Y.tg.prototype.unregisterKeyPressed=olympe.N.Y.tg.prototype.vj;olympe.N.Y.tg.prototype.registerKeyPressed=olympe.N.Y.tg.prototype.Jk;olympe.N.Y.aI=class{Da(){}};olympe.N.Y.qc=class{qn(){}Vl(){}rn(){}Wl(){}sn(){}Xl(){}xn(){}bm(){}vn(){}$l(){}wn(){}am(){}tn(){}Yl(){}un(){}Zl(){}yn(){}cm(){}Cn(){}Rn(){}An(){}Pn(){}Bn(){}Qn(){}zn(){}On(){}};olympe.N.Y.qc.prototype.unregisterTouchCancel=olympe.N.Y.qc.prototype.On;olympe.N.Y.qc.prototype.registerTouchCancel=olympe.N.Y.qc.prototype.zn;olympe.N.Y.qc.prototype.unregisterTouchMove=olympe.N.Y.qc.prototype.Qn;olympe.N.Y.qc.prototype.registerTouchMove=olympe.N.Y.qc.prototype.Bn;
626
626
  olympe.N.Y.qc.prototype.unregisterTouchEnd=olympe.N.Y.qc.prototype.Pn;olympe.N.Y.qc.prototype.registerTouchEnd=olympe.N.Y.qc.prototype.An;olympe.N.Y.qc.prototype.unregisterTouchStart=olympe.N.Y.qc.prototype.Rn;olympe.N.Y.qc.prototype.registerTouchStart=olympe.N.Y.qc.prototype.Cn;olympe.N.Y.qc.prototype.unregisterMouseWheel=olympe.N.Y.qc.prototype.cm;olympe.N.Y.qc.prototype.registerMouseWheel=olympe.N.Y.qc.prototype.yn;olympe.N.Y.qc.prototype.unregisterMouseLeave=olympe.N.Y.qc.prototype.Zl;
627
627
  olympe.N.Y.qc.prototype.registerMouseLeave=olympe.N.Y.qc.prototype.un;olympe.N.Y.qc.prototype.unregisterMouseEnter=olympe.N.Y.qc.prototype.Yl;olympe.N.Y.qc.prototype.registerMouseEnter=olympe.N.Y.qc.prototype.tn;olympe.N.Y.qc.prototype.unregisterMouseOver=olympe.N.Y.qc.prototype.am;olympe.N.Y.qc.prototype.registerMouseOver=olympe.N.Y.qc.prototype.wn;olympe.N.Y.qc.prototype.unregisterMouseMove=olympe.N.Y.qc.prototype.$l;olympe.N.Y.qc.prototype.registerMouseMove=olympe.N.Y.qc.prototype.vn;
628
628
  olympe.N.Y.qc.prototype.unregisterMouseUp=olympe.N.Y.qc.prototype.bm;olympe.N.Y.qc.prototype.registerMouseUp=olympe.N.Y.qc.prototype.xn;olympe.N.Y.qc.prototype.unregisterMouseDown=olympe.N.Y.qc.prototype.Xl;olympe.N.Y.qc.prototype.registerMouseDown=olympe.N.Y.qc.prototype.sn;olympe.N.Y.qc.prototype.unregisterDoubleClick=olympe.N.Y.qc.prototype.Wl;olympe.N.Y.qc.prototype.registerDoubleClick=olympe.N.Y.qc.prototype.rn;olympe.N.Y.qc.prototype.unregisterClickOrTap=olympe.N.Y.qc.prototype.Vl;
629
- olympe.N.Y.qc.prototype.registerClickOrTap=olympe.N.Y.qc.prototype.qn;olympe.N.Y.WR=class{rq(){}};olympe.N.Y.Vi=class{ws(){}Xs(){}vs(){}Ws(){}xs(){}Ys(){}};olympe.N.Y.Vi.prototype.unregisterSize=olympe.N.Y.Vi.prototype.Ys;olympe.N.Y.Vi.prototype.registerSize=olympe.N.Y.Vi.prototype.xs;olympe.N.Y.Vi.prototype.unregisterBlur=olympe.N.Y.Vi.prototype.Ws;olympe.N.Y.Vi.prototype.registerBlur=olympe.N.Y.Vi.prototype.vs;olympe.N.Y.Vi.prototype.unregisterFocus=olympe.N.Y.Vi.prototype.Xs;olympe.N.Y.Vi.prototype.registerFocus=olympe.N.Y.Vi.prototype.ws;olympe.N.F={};olympe.N.F.Element=class extends olympe.N.xf{$m(){}La(){}Es(){}nF(){}og(){}dh(){}Cs(){}rp(){}Sq(){}Bs(){}As(){}rd(){}Os(){}rj(){}Gn(){}hb(){}Ah(){}gv(){}};olympe.N.F.Element.prototype.setContextMenuEnabled=olympe.N.F.Element.prototype.gv;olympe.N.F.Element.prototype.setIgnoreUserInteraction=olympe.N.F.Element.prototype.Ah;olympe.N.F.Element.prototype.setBlur=olympe.N.F.Element.prototype.Gn;olympe.N.F.Element.prototype.setFocus=olympe.N.F.Element.prototype.rj;
629
+ olympe.N.Y.qc.prototype.registerClickOrTap=olympe.N.Y.qc.prototype.qn;olympe.N.Y.WR=class{rq(){}};olympe.N.Y.Vi=class{ws(){}Xs(){}vs(){}Ws(){}xs(){}Ys(){}};olympe.N.Y.Vi.prototype.unregisterSize=olympe.N.Y.Vi.prototype.Ys;olympe.N.Y.Vi.prototype.registerSize=olympe.N.Y.Vi.prototype.xs;olympe.N.Y.Vi.prototype.unregisterBlur=olympe.N.Y.Vi.prototype.Ws;olympe.N.Y.Vi.prototype.registerBlur=olympe.N.Y.Vi.prototype.vs;olympe.N.Y.Vi.prototype.unregisterFocus=olympe.N.Y.Vi.prototype.Xs;olympe.N.Y.Vi.prototype.registerFocus=olympe.N.Y.Vi.prototype.ws;olympe.N.F={};olympe.N.F.Element=class extends olympe.N.yf{$m(){}La(){}Es(){}nF(){}og(){}dh(){}Cs(){}rp(){}Sq(){}Bs(){}As(){}rd(){}Os(){}rj(){}Gn(){}hb(){}Ah(){}gv(){}};olympe.N.F.Element.prototype.setContextMenuEnabled=olympe.N.F.Element.prototype.gv;olympe.N.F.Element.prototype.setIgnoreUserInteraction=olympe.N.F.Element.prototype.Ah;olympe.N.F.Element.prototype.setBlur=olympe.N.F.Element.prototype.Gn;olympe.N.F.Element.prototype.setFocus=olympe.N.F.Element.prototype.rj;
630
630
  olympe.N.F.Element.prototype.setTabIndex=olympe.N.F.Element.prototype.Os;olympe.N.F.Element.prototype.setHidden=olympe.N.F.Element.prototype.rd;olympe.N.F.Element.prototype.setBackgroundImage=olympe.N.F.Element.prototype.dh;olympe.N.F.Element.prototype.setOpacity=olympe.N.F.Element.prototype.og;olympe.N.F.Element.prototype.setRGBABackgoundColor=olympe.N.F.Element.prototype.nF;olympe.N.F.Element.prototype.setHTMLId=olympe.N.F.Element.prototype.Es;olympe.N.F.Element.prototype.setBackgroundColor=olympe.N.F.Element.prototype.La;
631
- olympe.bi(olympe.N.F.Element,olympe.N.xf,olympe.N.Y.qc,olympe.N.Y.aI,olympe.N.Y.Nd,olympe.N.Y.$H,olympe.N.Y.Vi,olympe.N.Y.WR);olympe.N.F.lb=class extends olympe.N.F.Element{oe(){}Fe(){}CF(){}gh(){}Fg(){}Dg(){}Vq(){}qv(){}qF(){}fh(){}Md(){}ad(){}nd(){}Xb(){}$j(){}Bf(){}VE(){}xQ(){}Ks(){}JE(){}};olympe.N.F.lb.prototype.initAllProperties=olympe.N.F.lb.prototype.JE;olympe.N.F.lb.prototype.unregisterParentHandler=olympe.N.F.lb.prototype.xQ;olympe.N.F.lb.prototype.registerParentHandler=olympe.N.F.lb.prototype.VE;olympe.N.F.lb.prototype.setAccelerated=olympe.N.F.lb.prototype.$j;olympe.N.F.lb.prototype.setCornerRadius=olympe.N.F.lb.prototype.Xb;
631
+ olympe.bi(olympe.N.F.Element,olympe.N.yf,olympe.N.Y.qc,olympe.N.Y.aI,olympe.N.Y.Nd,olympe.N.Y.$H,olympe.N.Y.Vi,olympe.N.Y.WR);olympe.N.F.lb=class extends olympe.N.F.Element{oe(){}Fe(){}CF(){}gh(){}Fg(){}Dg(){}Vq(){}qv(){}qF(){}fh(){}Md(){}ad(){}nd(){}Xb(){}$j(){}Bf(){}VE(){}xQ(){}Ks(){}JE(){}};olympe.N.F.lb.prototype.initAllProperties=olympe.N.F.lb.prototype.JE;olympe.N.F.lb.prototype.unregisterParentHandler=olympe.N.F.lb.prototype.xQ;olympe.N.F.lb.prototype.registerParentHandler=olympe.N.F.lb.prototype.VE;olympe.N.F.lb.prototype.setAccelerated=olympe.N.F.lb.prototype.$j;olympe.N.F.lb.prototype.setCornerRadius=olympe.N.F.lb.prototype.Xb;
632
632
  olympe.N.F.lb.prototype.setBorder=olympe.N.F.lb.prototype.Md;olympe.N.F.lb.prototype.setShadow=olympe.N.F.lb.prototype.fh;olympe.N.F.lb.prototype.setScaleFactorXY=olympe.N.F.lb.prototype.qF;olympe.N.F.lb.prototype.setScaleFactor=olympe.N.F.lb.prototype.qv;olympe.N.F.lb.prototype.setRotationAngle=olympe.N.F.lb.prototype.Vq;olympe.N.F.lb.prototype.setHeight=olympe.N.F.lb.prototype.Dg;olympe.N.F.lb.prototype.setWidth=olympe.N.F.lb.prototype.Fg;olympe.N.F.lb.prototype.setZIndex=olympe.N.F.lb.prototype.gh;
633
633
  olympe.N.F.lb.prototype.setXY=olympe.N.F.lb.prototype.CF;olympe.N.F.lb.prototype.setY=olympe.N.F.lb.prototype.Fe;olympe.N.F.lb.prototype.setX=olympe.N.F.lb.prototype.oe;olympe.bi(olympe.N.F.lb,olympe.N.F.Element);olympe.N.F.nf=class extends olympe.N.F.Element{appendChild(){}removeChild(){}ng(){}hi(){}Xr(){}mB(){}MF(){}O(){}T(){}Iw(){}Ux(){}ay(){}};olympe.N.F.nf.prototype.unregisterScreenOrientation=olympe.N.F.nf.prototype.MF;olympe.N.F.nf.prototype.registerScreenOrientation=olympe.N.F.nf.prototype.mB;olympe.N.F.nf.prototype.clearLoader=olympe.N.F.nf.prototype.Xr;olympe.N.F.nf.prototype.setTitle=olympe.N.F.nf.prototype.hi;olympe.N.F.nf.prototype.removeAllChildren=olympe.N.F.nf.prototype.ng;
634
634
  olympe.N.F.nf.prototype.removeChild=olympe.N.F.nf.prototype.removeChild;olympe.N.F.nf.prototype.appendChild=olympe.N.F.nf.prototype.appendChild;olympe.bi(olympe.N.F.nf,olympe.N.F.Element,olympe.N.Y.tg,olympe.N.Y.LC);olympe.N.F.Ie=class extends olympe.N.F.lb{ju(){}bv(){}Cf(){}Hs(){}pu(){}Rs(){}Mx(){}lB(){}};olympe.N.F.Ie.prototype.registerLoadEnd=olympe.N.F.Ie.prototype.lB;olympe.N.F.Ie.prototype.setClickEnabled=olympe.N.F.Ie.prototype.Mx;olympe.N.F.Ie.prototype.showFileSelector=olympe.N.F.Ie.prototype.Rs;olympe.N.F.Ie.prototype.clearFiles=olympe.N.F.Ie.prototype.pu;olympe.N.F.Ie.prototype.setMultiple=olympe.N.F.Ie.prototype.Hs;olympe.N.F.Ie.prototype.setDisabled=olympe.N.F.Ie.prototype.Cf;
@@ -652,25 +652,25 @@ olympe.N.F.Audio.prototype.setLoop=olympe.N.F.Audio.prototype.sj;olympe.N.F.Audi
652
652
  olympe.N.F.ec.prototype.setLineWidth=olympe.N.F.ec.prototype.Qh;olympe.N.F.ec.prototype.setLineJoin=olympe.N.F.ec.prototype.ck;olympe.N.F.ec.prototype.setLineCap=olympe.N.F.ec.prototype.qh;olympe.N.F.ec.prototype.setFont=olympe.N.F.ec.prototype.ak;olympe.N.F.ec.prototype.setStrokeStyle=olympe.N.F.ec.prototype.Ns;olympe.N.F.ec.prototype.setFillStyle=olympe.N.F.ec.prototype.qj;olympe.N.F.ec.prototype.fillStyleWithCurrentGradient=olympe.N.F.ec.prototype.Zw;olympe.N.F.ec.prototype.addColorStop=olympe.N.F.ec.prototype.addColorStop;
653
653
  olympe.N.F.ec.prototype.createLinearGradient=olympe.N.F.ec.prototype.createLinearGradient;olympe.N.F.ec.prototype.strokeText=olympe.N.F.ec.prototype.strokeText;olympe.N.F.ec.prototype.strokeRect=olympe.N.F.ec.prototype.strokeRect;olympe.N.F.ec.prototype.stroke=olympe.N.F.ec.prototype.stroke;olympe.N.F.ec.prototype.rect=olympe.N.F.ec.prototype.rect;olympe.N.F.ec.prototype.quadraticCurveTo=olympe.N.F.ec.prototype.quadraticCurveTo;olympe.N.F.ec.prototype.moveTo=olympe.N.F.ec.prototype.moveTo;
654
654
  olympe.N.F.ec.prototype.lineToRelative=olympe.N.F.ec.prototype.hj;olympe.N.F.ec.prototype.lineTo=olympe.N.F.ec.prototype.lineTo;olympe.N.F.ec.prototype.fillText=olympe.N.F.ec.prototype.fillText;olympe.N.F.ec.prototype.fillRect=olympe.N.F.ec.prototype.fillRect;olympe.N.F.ec.prototype.fill=olympe.N.F.ec.prototype.fill;olympe.N.F.ec.prototype.closePath=olympe.N.F.ec.prototype.closePath;olympe.N.F.ec.prototype.clip=olympe.N.F.ec.prototype.clip;olympe.N.F.ec.prototype.clearRect=olympe.N.F.ec.prototype.clearRect;
655
- olympe.N.F.ec.prototype.bezierCurveTo=olympe.N.F.ec.prototype.bezierCurveTo;olympe.N.F.ec.prototype.beginPath=olympe.N.F.ec.prototype.beginPath;olympe.N.F.ec.prototype.arcTo=olympe.N.F.ec.prototype.arcTo;olympe.N.F.ec.prototype.arc=olympe.N.F.ec.prototype.arc;olympe.bi(olympe.N.F.ec,olympe.N.F.lb);olympe.N.ta={};olympe.N.ta.Zc={};olympe.N.ta.Zc.kd=class extends olympe.N.xf{rF(){}nZ(){}WE(){}UE(){}rQ(){}iQ(){}EP(){}start(){}stop(){}};olympe.N.ta.Zc.kd.prototype.stop=olympe.N.ta.Zc.kd.prototype.stop;olympe.N.ta.Zc.kd.prototype.start=olympe.N.ta.Zc.kd.prototype.start;olympe.N.ta.Zc.kd.prototype.onScan=olympe.N.ta.Zc.kd.prototype.EP;olympe.N.ta.Zc.kd.prototype.setScanInterval=olympe.N.ta.Zc.kd.prototype.iQ;olympe.N.ta.Zc.kd.prototype.setVideo=olympe.N.ta.Zc.kd.prototype.rQ;
655
+ olympe.N.F.ec.prototype.bezierCurveTo=olympe.N.F.ec.prototype.bezierCurveTo;olympe.N.F.ec.prototype.beginPath=olympe.N.F.ec.prototype.beginPath;olympe.N.F.ec.prototype.arcTo=olympe.N.F.ec.prototype.arcTo;olympe.N.F.ec.prototype.arc=olympe.N.F.ec.prototype.arc;olympe.bi(olympe.N.F.ec,olympe.N.F.lb);olympe.N.ta={};olympe.N.ta.Zc={};olympe.N.ta.Zc.kd=class extends olympe.N.yf{rF(){}nZ(){}WE(){}UE(){}rQ(){}iQ(){}EP(){}start(){}stop(){}};olympe.N.ta.Zc.kd.prototype.stop=olympe.N.ta.Zc.kd.prototype.stop;olympe.N.ta.Zc.kd.prototype.start=olympe.N.ta.Zc.kd.prototype.start;olympe.N.ta.Zc.kd.prototype.onScan=olympe.N.ta.Zc.kd.prototype.EP;olympe.N.ta.Zc.kd.prototype.setScanInterval=olympe.N.ta.Zc.kd.prototype.iQ;olympe.N.ta.Zc.kd.prototype.setVideo=olympe.N.ta.Zc.kd.prototype.rQ;
656
656
  olympe.N.ta.Zc.kd.prototype.registerCornerPointsCallback=olympe.N.ta.Zc.kd.prototype.UE;olympe.N.ta.Zc.kd.prototype.registerPatternPointsCallback=olympe.N.ta.Zc.kd.prototype.WE;olympe.N.ta.Zc.kd.prototype.registerActualScanZoneCallback=olympe.N.ta.Zc.kd.prototype.nZ;olympe.N.ta.Zc.kd.prototype.setScanZone=olympe.N.ta.Zc.kd.prototype.rF;olympe.N.ta.yc=class extends olympe.N.F.lb{arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}fill(){}fillRect(){}fillText(){}lineTo(){}hj(){}moveTo(){}quadraticCurveTo(){}rect(){}stroke(){}strokeRect(){}strokeText(){}qj(){}ak(){}qh(){}ck(){}Qh(){}Qd(){}Ph(){}};olympe.N.ta.yc.prototype.saveAsPicture=olympe.N.ta.yc.prototype.Ph;olympe.N.ta.yc.prototype.setContent=olympe.N.ta.yc.prototype.Qd;olympe.N.ta.yc.prototype.setLineWidth=olympe.N.ta.yc.prototype.Qh;
657
657
  olympe.N.ta.yc.prototype.setLineJoin=olympe.N.ta.yc.prototype.ck;olympe.N.ta.yc.prototype.setLineCap=olympe.N.ta.yc.prototype.qh;olympe.N.ta.yc.prototype.setFont=olympe.N.ta.yc.prototype.ak;olympe.N.ta.yc.prototype.setFillStyle=olympe.N.ta.yc.prototype.qj;olympe.N.ta.yc.prototype.strokeText=olympe.N.ta.yc.prototype.strokeText;olympe.N.ta.yc.prototype.strokeRect=olympe.N.ta.yc.prototype.strokeRect;olympe.N.ta.yc.prototype.stroke=olympe.N.ta.yc.prototype.stroke;olympe.N.ta.yc.prototype.rect=olympe.N.ta.yc.prototype.rect;
658
658
  olympe.N.ta.yc.prototype.quadraticCurveTo=olympe.N.ta.yc.prototype.quadraticCurveTo;olympe.N.ta.yc.prototype.moveTo=olympe.N.ta.yc.prototype.moveTo;olympe.N.ta.yc.prototype.lineToRelative=olympe.N.ta.yc.prototype.hj;olympe.N.ta.yc.prototype.lineTo=olympe.N.ta.yc.prototype.lineTo;olympe.N.ta.yc.prototype.fillText=olympe.N.ta.yc.prototype.fillText;olympe.N.ta.yc.prototype.fillRect=olympe.N.ta.yc.prototype.fillRect;olympe.N.ta.yc.prototype.fill=olympe.N.ta.yc.prototype.fill;
659
659
  olympe.N.ta.yc.prototype.closePath=olympe.N.ta.yc.prototype.closePath;olympe.N.ta.yc.prototype.clip=olympe.N.ta.yc.prototype.clip;olympe.N.ta.yc.prototype.clearRect=olympe.N.ta.yc.prototype.clearRect;olympe.N.ta.yc.prototype.bezierCurveTo=olympe.N.ta.yc.prototype.bezierCurveTo;olympe.N.ta.yc.prototype.beginPath=olympe.N.ta.yc.prototype.beginPath;olympe.N.ta.yc.prototype.arcTo=olympe.N.ta.yc.prototype.arcTo;olympe.N.ta.yc.prototype.arc=olympe.N.ta.yc.prototype.arc;
660
- olympe.N.ta.yc.C={uG:'butt',Ot:'round',JD:'square'};olympe.N.ta.yc.D={eG:'bevel',Ot:'round',tK:'miter'};olympe.N.ta.Image=class extends olympe.N.F.lb{Ph(){}Xw(){}Ww(){}};olympe.N.ta.Image.prototype.drawUrl=olympe.N.ta.Image.prototype.Ww;olympe.N.ta.Image.prototype.drawVectorial=olympe.N.ta.Image.prototype.Xw;olympe.N.ta.Image.prototype.saveAsPicture=olympe.N.ta.Image.prototype.Ph;olympe.N.ta.BC=class extends olympe.N.F.lb{AB(){}};olympe.N.ta.BC.prototype.setImage=olympe.N.ta.BC.prototype.AB;olympe.N.ta.filters={};olympe.N.ta.filters.jw=class extends olympe.N.ta.BC{DB(){}};olympe.N.ta.filters.jw.prototype.setSquareSize=olympe.N.ta.filters.jw.prototype.DB;olympe.N.media={};olympe.N.media.bc={};olympe.N.media.bc.Up=class extends olympe.N.xf{ab(){}};olympe.N.media.bc.Up.prototype.getName=olympe.N.media.bc.Up.prototype.ab;olympe.N.media.bc.vp=class extends olympe.N.media.bc.Up{sp(){}};olympe.N.media.bc.vp.prototype.setIdAndName=olympe.N.media.bc.vp.prototype.sp;olympe.N.media.bc.Im=class extends olympe.N.media.bc.Up{sp(){}};olympe.N.media.bc.Im.prototype.setIdAndName=olympe.N.media.bc.Im.prototype.sp;olympe.N.media.Vp=class extends olympe.N.xf{ex(){}bx(){}};olympe.N.media.Vp.prototype.getAllAudioInputDevices=olympe.N.media.Vp.prototype.bx;olympe.N.media.Vp.prototype.getAllVideoInputDevices=olympe.N.media.Vp.prototype.ex;olympe.N.media.gV=class extends olympe.N.xf{};olympe.N.media.MediaStream=class extends olympe.N.media.gV{Vs(){}};olympe.N.media.MediaStream.prototype.takePicture=olympe.N.media.MediaStream.prototype.Vs;olympe.N.media.Qr=class extends olympe.N.media.MediaStream{na(){}};olympe.N.media.vi=class extends olympe.N.media.Qr{$u(){}tB(){}vv(){}wF(){}Vs(){}Po(){}};olympe.N.media.vi.prototype.initStream=olympe.N.media.vi.prototype.Po;olympe.N.media.vi.prototype.takePicture=olympe.N.media.vi.prototype.Vs;olympe.N.media.vi.prototype.setVideoInputDevice=olympe.N.media.vi.prototype.wF;olympe.N.media.vi.prototype.setVideoEnabled=olympe.N.media.vi.prototype.vv;olympe.N.media.vi.prototype.setAudioInputDevice=olympe.N.media.vi.prototype.tB;
660
+ olympe.N.ta.yc.C={uG:'butt',Ot:'round',JD:'square'};olympe.N.ta.yc.D={eG:'bevel',Ot:'round',tK:'miter'};olympe.N.ta.Image=class extends olympe.N.F.lb{Ph(){}Xw(){}Ww(){}};olympe.N.ta.Image.prototype.drawUrl=olympe.N.ta.Image.prototype.Ww;olympe.N.ta.Image.prototype.drawVectorial=olympe.N.ta.Image.prototype.Xw;olympe.N.ta.Image.prototype.saveAsPicture=olympe.N.ta.Image.prototype.Ph;olympe.N.ta.BC=class extends olympe.N.F.lb{AB(){}};olympe.N.ta.BC.prototype.setImage=olympe.N.ta.BC.prototype.AB;olympe.N.ta.filters={};olympe.N.ta.filters.jw=class extends olympe.N.ta.BC{DB(){}};olympe.N.ta.filters.jw.prototype.setSquareSize=olympe.N.ta.filters.jw.prototype.DB;olympe.N.media={};olympe.N.media.bc={};olympe.N.media.bc.Up=class extends olympe.N.yf{ab(){}};olympe.N.media.bc.Up.prototype.getName=olympe.N.media.bc.Up.prototype.ab;olympe.N.media.bc.vp=class extends olympe.N.media.bc.Up{sp(){}};olympe.N.media.bc.vp.prototype.setIdAndName=olympe.N.media.bc.vp.prototype.sp;olympe.N.media.bc.Im=class extends olympe.N.media.bc.Up{sp(){}};olympe.N.media.bc.Im.prototype.setIdAndName=olympe.N.media.bc.Im.prototype.sp;olympe.N.media.Vp=class extends olympe.N.yf{ex(){}bx(){}};olympe.N.media.Vp.prototype.getAllAudioInputDevices=olympe.N.media.Vp.prototype.bx;olympe.N.media.Vp.prototype.getAllVideoInputDevices=olympe.N.media.Vp.prototype.ex;olympe.N.media.gV=class extends olympe.N.yf{};olympe.N.media.MediaStream=class extends olympe.N.media.gV{Vs(){}};olympe.N.media.MediaStream.prototype.takePicture=olympe.N.media.MediaStream.prototype.Vs;olympe.N.media.Qr=class extends olympe.N.media.MediaStream{na(){}};olympe.N.media.vi=class extends olympe.N.media.Qr{$u(){}tB(){}vv(){}wF(){}Vs(){}Po(){}};olympe.N.media.vi.prototype.initStream=olympe.N.media.vi.prototype.Po;olympe.N.media.vi.prototype.takePicture=olympe.N.media.vi.prototype.Vs;olympe.N.media.vi.prototype.setVideoInputDevice=olympe.N.media.vi.prototype.wF;olympe.N.media.vi.prototype.setVideoEnabled=olympe.N.media.vi.prototype.vv;olympe.N.media.vi.prototype.setAudioInputDevice=olympe.N.media.vi.prototype.tB;
661
661
  olympe.N.media.vi.prototype.setAudioEnabled=olympe.N.media.vi.prototype.$u;olympe.N.media.xL=class extends olympe.N.media.Qr{};olympe.N.media.bu=class extends olympe.N.media.MediaStream{Mk(){}le(){}};olympe.N.media.bu.prototype.getUrl=olympe.N.media.bu.prototype.le;olympe.N.media.bu.prototype.setUrl=olympe.N.media.bu.prototype.Mk;olympe.N.Sa={};olympe.N.Sa.Ua={};olympe.N.Sa.Ua.Map=class extends olympe.N.F.lb{ue(){}Ps(){}lu(){}Mw(){}ys(){}Jw(){}Uu(){}Cv(){}Qs(){}Ix(){}Gs(){}Fs(){}Hx(){}Gx(){}Ev(){}Fv(){}xv(){}su(){}tu(){}Su(){}Qu(){}uu(){}vu(){}mv(){}pv(){}nv(){}Ru(){}tq(){}stop(){}};olympe.N.Sa.Ua.Map.prototype.stop=olympe.N.Sa.Ua.Map.prototype.stop;olympe.N.Sa.Ua.Map.prototype.invalidateSize=olympe.N.Sa.Ua.Map.prototype.tq;olympe.N.Sa.Ua.Map.prototype.panInsideBounds=olympe.N.Sa.Ua.Map.prototype.Ru;olympe.N.Sa.Ua.Map.prototype.setMaxZoom=olympe.N.Sa.Ua.Map.prototype.nv;
662
662
  olympe.N.Sa.Ua.Map.prototype.setMinZoom=olympe.N.Sa.Ua.Map.prototype.pv;olympe.N.Sa.Ua.Map.prototype.setMaxBounds=olympe.N.Sa.Ua.Map.prototype.mv;olympe.N.Sa.Ua.Map.prototype.flyToBounds=olympe.N.Sa.Ua.Map.prototype.vu;olympe.N.Sa.Ua.Map.prototype.flyTo=olympe.N.Sa.Ua.Map.prototype.uu;olympe.N.Sa.Ua.Map.prototype.panBy=olympe.N.Sa.Ua.Map.prototype.Qu;olympe.N.Sa.Ua.Map.prototype.panTo=olympe.N.Sa.Ua.Map.prototype.Su;olympe.N.Sa.Ua.Map.prototype.fitWorld=olympe.N.Sa.Ua.Map.prototype.tu;
663
663
  olympe.N.Sa.Ua.Map.prototype.fitBounds=olympe.N.Sa.Ua.Map.prototype.su;olympe.N.Sa.Ua.Map.prototype.setZoomAround=olympe.N.Sa.Ua.Map.prototype.xv;olympe.N.Sa.Ua.Map.prototype.zoomOut=olympe.N.Sa.Ua.Map.prototype.Fv;olympe.N.Sa.Ua.Map.prototype.zoomIn=olympe.N.Sa.Ua.Map.prototype.Ev;olympe.N.Sa.Ua.Map.prototype.registerLatitudeCallback=olympe.N.Sa.Ua.Map.prototype.Gx;olympe.N.Sa.Ua.Map.prototype.registerLongitudeCallback=olympe.N.Sa.Ua.Map.prototype.Hx;olympe.N.Sa.Ua.Map.prototype.setLatitude=olympe.N.Sa.Ua.Map.prototype.Fs;
664
664
  olympe.N.Sa.Ua.Map.prototype.setLongitude=olympe.N.Sa.Ua.Map.prototype.Gs;olympe.N.Sa.Ua.Map.prototype.registerZoomCallback=olympe.N.Sa.Ua.Map.prototype.Ix;olympe.N.Sa.Ua.Map.prototype.setZoom=olympe.N.Sa.Ua.Map.prototype.Qs;olympe.N.Sa.Ua.Map.prototype.updateTileLayer=olympe.N.Sa.Ua.Map.prototype.Cv;olympe.N.Sa.Ua.Map.prototype.removeGeoJson=olympe.N.Sa.Ua.Map.prototype.Uu;olympe.N.Sa.Ua.Map.prototype.addGeoJson=olympe.N.Sa.Ua.Map.prototype.Jw;olympe.N.Sa.Ua.Map.prototype.removeMarker=olympe.N.Sa.Ua.Map.prototype.ys;
665
- olympe.N.Sa.Ua.Map.prototype.addMarkers=olympe.N.Sa.Ua.Map.prototype.Mw;olympe.N.Sa.Ua.Map.prototype.addMarker=olympe.N.Sa.Ua.Map.prototype.lu;olympe.N.Sa.Ua.Map.prototype.setView=olympe.N.Sa.Ua.Map.prototype.Ps;olympe.N.Sa.Ua.Map.C={nK:'MAPBOX',ZT:'OPENTOPOMAP',E1:'OPENSTREETMAP',NONE:'NONE'};olympe.N.P={};olympe.N.P.Bi=class extends olympe.N.F.lb{constructor(){super()}zk(){}sy(){}appendChild(){}removeChild(){}px(){}zE(){}};olympe.N.P.Bi.prototype.getImageUrl=olympe.N.P.Bi.prototype.zE;olympe.N.P.Bi.prototype.getImageContent=olympe.N.P.Bi.prototype.px;olympe.N.P.Bi.prototype.removeChild=olympe.N.P.Bi.prototype.removeChild;olympe.N.P.Bi.prototype.appendChild=olympe.N.P.Bi.prototype.appendChild;olympe.N.P.Bi.prototype.setViewbox=olympe.N.P.Bi.prototype.sy;olympe.N.P.Bi.prototype.getSvgDefsElement=olympe.N.P.Bi.prototype.zk;olympe.N.P.ye=class extends olympe.N.xf{ua(){}setAttribute(){}kv(){}ja(){}Ef(){}getParent(){}Pf(){}Ho(){}rd(){}Ah(){}Js(){}};olympe.N.P.ye.prototype.setPointerEvents=olympe.N.P.ye.prototype.Js;olympe.N.P.ye.prototype.setIgnoreUserInteraction=olympe.N.P.ye.prototype.Ah;olympe.N.P.ye.prototype.setHidden=olympe.N.P.ye.prototype.rd;olympe.N.P.ye.prototype.getContainer=olympe.N.P.ye.prototype.Ho;olympe.N.P.ye.prototype.setContainer=olympe.N.P.ye.prototype.Pf;olympe.N.P.ye.prototype.getParent=olympe.N.P.ye.prototype.getParent;
665
+ olympe.N.Sa.Ua.Map.prototype.addMarkers=olympe.N.Sa.Ua.Map.prototype.Mw;olympe.N.Sa.Ua.Map.prototype.addMarker=olympe.N.Sa.Ua.Map.prototype.lu;olympe.N.Sa.Ua.Map.prototype.setView=olympe.N.Sa.Ua.Map.prototype.Ps;olympe.N.Sa.Ua.Map.C={nK:'MAPBOX',ZT:'OPENTOPOMAP',E1:'OPENSTREETMAP',NONE:'NONE'};olympe.N.P={};olympe.N.P.Bi=class extends olympe.N.F.lb{constructor(){super()}zk(){}sy(){}appendChild(){}removeChild(){}px(){}zE(){}};olympe.N.P.Bi.prototype.getImageUrl=olympe.N.P.Bi.prototype.zE;olympe.N.P.Bi.prototype.getImageContent=olympe.N.P.Bi.prototype.px;olympe.N.P.Bi.prototype.removeChild=olympe.N.P.Bi.prototype.removeChild;olympe.N.P.Bi.prototype.appendChild=olympe.N.P.Bi.prototype.appendChild;olympe.N.P.Bi.prototype.setViewbox=olympe.N.P.Bi.prototype.sy;olympe.N.P.Bi.prototype.getSvgDefsElement=olympe.N.P.Bi.prototype.zk;olympe.N.P.ye=class extends olympe.N.yf{ua(){}setAttribute(){}kv(){}ja(){}Ef(){}getParent(){}Pf(){}Ho(){}rd(){}Ah(){}Js(){}};olympe.N.P.ye.prototype.setPointerEvents=olympe.N.P.ye.prototype.Js;olympe.N.P.ye.prototype.setIgnoreUserInteraction=olympe.N.P.ye.prototype.Ah;olympe.N.P.ye.prototype.setHidden=olympe.N.P.ye.prototype.rd;olympe.N.P.ye.prototype.getContainer=olympe.N.P.ye.prototype.Ho;olympe.N.P.ye.prototype.setContainer=olympe.N.P.ye.prototype.Pf;olympe.N.P.ye.prototype.getParent=olympe.N.P.ye.prototype.getParent;
666
666
  olympe.N.P.ye.prototype.setParent=olympe.N.P.ye.prototype.Ef;olympe.N.P.ye.prototype.getId=olympe.N.P.ye.prototype.ja;olympe.N.P.ye.prototype.setId=olympe.N.P.ye.prototype.kv;olympe.N.P.ye.prototype.setAttribute=olympe.N.P.ye.prototype.setAttribute;olympe.N.P.ye.prototype.getHtmlElement=olympe.N.P.ye.prototype.ua;olympe.N.P.zd=class extends olympe.N.P.ye{constructor(){super()}oe(){}pa(){}Fe(){}sa(){}setPosition(){}Dg(){}De(){}Fg(){}Ed(){}setScale(){}qq(){}Gb(){}Rx(){}ge(){}};olympe.N.P.zd.prototype.refreshBox=olympe.N.P.zd.prototype.ge;olympe.N.P.zd.prototype.setDefaultBox=olympe.N.P.zd.prototype.Rx;olympe.N.P.zd.prototype.setDimension=olympe.N.P.zd.prototype.Gb;olympe.N.P.zd.prototype.getScale=olympe.N.P.zd.prototype.qq;olympe.N.P.zd.prototype.setScale=olympe.N.P.zd.prototype.setScale;
667
667
  olympe.N.P.zd.prototype.getWidth=olympe.N.P.zd.prototype.Ed;olympe.N.P.zd.prototype.setWidth=olympe.N.P.zd.prototype.Fg;olympe.N.P.zd.prototype.getHeight=olympe.N.P.zd.prototype.De;olympe.N.P.zd.prototype.setHeight=olympe.N.P.zd.prototype.Dg;olympe.N.P.zd.prototype.setPosition=olympe.N.P.zd.prototype.setPosition;olympe.N.P.zd.prototype.getY=olympe.N.P.zd.prototype.sa;olympe.N.P.zd.prototype.setY=olympe.N.P.zd.prototype.Fe;olympe.N.P.zd.prototype.getX=olympe.N.P.zd.prototype.pa;
668
668
  olympe.N.P.zd.prototype.setX=olympe.N.P.zd.prototype.oe;olympe.N.P.pc=class extends olympe.N.P.zd{constructor(){super()}rotate(){}Vx(){}setFillColor(){}jF(){}yB(){}uv(){}cn(){}setStrokeColor(){}uF(){}FB(){}oy(){}ny(){}py(){}hv(){}Ay(){}Ds(){}zy(){}by(){}By(){}Hw(){}};olympe.N.P.pc.prototype.addAnimation=olympe.N.P.pc.prototype.Hw;olympe.N.P.pc.prototype.unsetMask=olympe.N.P.pc.prototype.By;olympe.N.P.pc.prototype.setMask=olympe.N.P.pc.prototype.by;olympe.N.P.pc.prototype.unsetFilter=olympe.N.P.pc.prototype.zy;olympe.N.P.pc.prototype.setFilter=olympe.N.P.pc.prototype.Ds;
669
669
  olympe.N.P.pc.prototype.unsetGradient=olympe.N.P.pc.prototype.Ay;olympe.N.P.pc.prototype.setGradient=olympe.N.P.pc.prototype.hv;olympe.N.P.pc.prototype.setStrokeLinecap=olympe.N.P.pc.prototype.py;olympe.N.P.pc.prototype.setStrokeDashOffset=olympe.N.P.pc.prototype.ny;olympe.N.P.pc.prototype.setStrokeDashPattern=olympe.N.P.pc.prototype.oy;olympe.N.P.pc.prototype.setStrokeColorAndOpacity=olympe.N.P.pc.prototype.FB;olympe.N.P.pc.prototype.setStrokeOpacity=olympe.N.P.pc.prototype.uF;
670
670
  olympe.N.P.pc.prototype.setStrokeColor=olympe.N.P.pc.prototype.setStrokeColor;olympe.N.P.pc.prototype.getStrokeWidth=olympe.N.P.pc.prototype.cn;olympe.N.P.pc.prototype.setStrokeWidth=olympe.N.P.pc.prototype.uv;olympe.N.P.pc.prototype.setFillColorAndOpacity=olympe.N.P.pc.prototype.yB;olympe.N.P.pc.prototype.setFillOpacity=olympe.N.P.pc.prototype.jF;olympe.N.P.pc.prototype.setFillColor=olympe.N.P.pc.prototype.setFillColor;olympe.N.P.pc.prototype.setFilled=olympe.N.P.pc.prototype.Vx;
671
671
  olympe.N.P.pc.prototype.rotate=olympe.N.P.pc.prototype.rotate;olympe.bi(olympe.N.P.pc,olympe.N.P.zd,olympe.N.Y.qc,olympe.N.Y.aI,olympe.N.Y.Nd,olympe.N.Y.$H);olympe.N.P.km=class extends olympe.N.P.pc{constructor(){super()}setRadius(){}};olympe.N.P.km.prototype.setRadius=olympe.N.P.km.prototype.setRadius;olympe.N.P.ao=class extends olympe.N.P.pc{constructor(){super()}oF(){}pF(){}setRadius(){}};olympe.N.P.ao.prototype.setRadius=olympe.N.P.ao.prototype.setRadius;olympe.N.P.ao.prototype.setRy=olympe.N.P.ao.prototype.pF;olympe.N.P.ao.prototype.setRx=olympe.N.P.ao.prototype.oF;olympe.N.P.Image=class extends olympe.N.P.pc{constructor(){super()}ne(){}Ol(){}Pl(){}Tl(){}};olympe.N.P.Image.prototype.setVerticalAlignment=olympe.N.P.Image.prototype.Tl;olympe.N.P.Image.prototype.setHorizontalAlignment=olympe.N.P.Image.prototype.Pl;olympe.N.P.Image.prototype.setAspectRatioMode=olympe.N.P.Image.prototype.Ol;olympe.N.P.Image.prototype.setSource=olympe.N.P.Image.prototype.ne;olympe.N.P.xe=class extends olympe.N.P.pc{constructor(){super()}Xb(){}};olympe.N.P.xe.prototype.setCornerRadius=olympe.N.P.xe.prototype.Xb;olympe.N.P.Text=class extends olympe.N.P.pc{constructor(){super()}Jb(){}qb(){}wb(){}Bb(){}Yx(){}mp(){}Yq(){}};olympe.N.P.Text.prototype.unregisterTextSize=olympe.N.P.Text.prototype.Yq;olympe.N.P.Text.prototype.registerTextSize=olympe.N.P.Text.prototype.mp;olympe.N.P.Text.prototype.setHorizontalAlign=olympe.N.P.Text.prototype.Yx;olympe.N.P.Text.prototype.setFontWeight=olympe.N.P.Text.prototype.Bb;olympe.N.P.Text.prototype.setFontFamily=olympe.N.P.Text.prototype.wb;
672
- olympe.N.P.Text.prototype.setFontSize=olympe.N.P.Text.prototype.qb;olympe.N.P.Text.prototype.setText=olympe.N.P.Text.prototype.Jb;olympe.N.P.Cw=class extends olympe.N.P.Text{constructor(){super()}Is(){}};olympe.N.P.Cw.prototype.setPath=olympe.N.P.Cw.prototype.Is;olympe.N.P.cl=class extends olympe.N.P.pc{constructor(){super()}Nx(){}qh(){}bq(){}Wu(){}};olympe.N.P.cl.prototype.removeSegment=olympe.N.P.cl.prototype.Wu;olympe.N.P.cl.prototype.addSegment=olympe.N.P.cl.prototype.bq;olympe.N.P.cl.prototype.setLineCap=olympe.N.P.cl.prototype.qh;olympe.N.P.cl.prototype.setClosed=olympe.N.P.cl.prototype.Nx;olympe.N.P.If=class extends olympe.N.P.ye{constructor(){super()}dj(){}oe(){}Fe(){}setPosition(){}ek(){}Ng(){}};olympe.N.P.If.prototype.getNext=olympe.N.P.If.prototype.Ng;olympe.N.P.If.prototype.setNext=olympe.N.P.If.prototype.ek;olympe.N.P.If.prototype.setPosition=olympe.N.P.If.prototype.setPosition;olympe.N.P.If.prototype.setY=olympe.N.P.If.prototype.Fe;olympe.N.P.If.prototype.setX=olympe.N.P.If.prototype.oe;olympe.N.P.If.prototype.getCommandString=olympe.N.P.If.prototype.dj;olympe.N.P.xi=class extends olympe.N.P.If{constructor(){super()}AF(){}GF(){}Px(){}BF(){}HF(){}Qx(){}};olympe.N.P.xi.prototype.setControl2=olympe.N.P.xi.prototype.Qx;olympe.N.P.xi.prototype.setYControl2=olympe.N.P.xi.prototype.HF;olympe.N.P.xi.prototype.setXControl2=olympe.N.P.xi.prototype.BF;olympe.N.P.xi.prototype.setControl1=olympe.N.P.xi.prototype.Px;olympe.N.P.xi.prototype.setYControl1=olympe.N.P.xi.prototype.GF;olympe.N.P.xi.prototype.setXControl1=olympe.N.P.xi.prototype.AF;olympe.N.P.Pz=class extends olympe.N.P.If{constructor(){super()}rd(){}};olympe.N.P.po=class extends olympe.N.P.If{constructor(){super()}zF(){}FF(){}Ox(){}};olympe.N.P.po.prototype.setControl=olympe.N.P.po.prototype.Ox;olympe.N.P.po.prototype.setYControl=olympe.N.P.po.prototype.FF;olympe.N.P.po.prototype.setXControl=olympe.N.P.po.prototype.zF;olympe.N.P.Yi=class extends olympe.N.P.If{constructor(){super()}jy(){}ky(){}ty(){}$x(){}qy(){}};olympe.N.P.Yi.prototype.setSweepFlag=olympe.N.P.Yi.prototype.qy;olympe.N.P.Yi.prototype.setLargeArcSweepFlag=olympe.N.P.Yi.prototype.$x;olympe.N.P.Yi.prototype.setXAxisRotation=olympe.N.P.Yi.prototype.ty;olympe.N.P.Yi.prototype.setRY=olympe.N.P.Yi.prototype.ky;olympe.N.P.Yi.prototype.setRX=olympe.N.P.Yi.prototype.jy;olympe.N.P.Qz=class extends olympe.N.P.If{constructor(){super()}};olympe.N.P.jr=class extends olympe.N.P.pc{constructor(){super()}appendChild(){}removeChild(){}};olympe.N.P.jr.prototype.removeChild=olympe.N.P.jr.prototype.removeChild;olympe.N.P.jr.prototype.appendChild=olympe.N.P.jr.prototype.appendChild;olympe.N.P.Qf=class extends olympe.N.P.zd{constructor(){super()}Oi(){}addElement(){}Tu(){}Jx(){}};olympe.N.P.Qf.prototype.removeAllElements=olympe.N.P.Qf.prototype.Jx;olympe.N.P.Qf.prototype.removeElement=olympe.N.P.Qf.prototype.Tu;olympe.N.P.Qf.prototype.addElement=olympe.N.P.Qf.prototype.addElement;olympe.N.P.Qf.prototype.setAbsolute=olympe.N.P.Qf.prototype.Oi;olympe.N.P.Ig=class extends olympe.N.P.zd{constructor(){super()}ek(){}Ng(){}};olympe.N.P.Ig.prototype.getNext=olympe.N.P.Ig.prototype.Ng;olympe.N.P.Ig.prototype.setNext=olympe.N.P.Ig.prototype.ek;olympe.N.P.Vn=class extends olympe.N.P.Ig{constructor(){super()}Kx(){}kf(){}};olympe.N.P.Vn.prototype.setInput=olympe.N.P.Vn.prototype.kf;olympe.N.P.Vn.prototype.setAmount=olympe.N.P.Vn.prototype.Kx;olympe.N.P.br=class extends olympe.N.P.Ig{constructor(){super()}kf(){}setMatrix(){}};olympe.N.P.br.prototype.setMatrix=olympe.N.P.br.prototype.setMatrix;olympe.N.P.br.prototype.setInput=olympe.N.P.br.prototype.kf;olympe.N.P.Zn=class extends olympe.N.P.Ig{constructor(){super()}kf(){}Zx(){}ey(){}};olympe.N.P.Zn.prototype.setMode=olympe.N.P.Zn.prototype.ey;olympe.N.P.Zn.prototype.setInput2=olympe.N.P.Zn.prototype.Zx;olympe.N.P.Zn.prototype.setInput=olympe.N.P.Zn.prototype.kf;olympe.N.P.bo=class extends olympe.N.P.Ig{constructor(){super()}kF(){}mF(){}lF(){}};olympe.N.P.bo.prototype.setFloodColorAndOpacity=olympe.N.P.bo.prototype.lF;olympe.N.P.bo.prototype.setFloodOpacity=olympe.N.P.bo.prototype.mF;olympe.N.P.bo.prototype.setFloodColor=olympe.N.P.bo.prototype.kF;olympe.N.P.Vk=class extends olympe.N.P.Ig{constructor(){super()}ne(){}Ol(){}Pl(){}Tl(){}};olympe.N.P.Vk.prototype.setVerticalAlignment=olympe.N.P.Vk.prototype.Tl;olympe.N.P.Vk.prototype.setHorizontalAlignment=olympe.N.P.Vk.prototype.Pl;olympe.N.P.Vk.prototype.setAspectRatioMode=olympe.N.P.Vk.prototype.Ol;olympe.N.P.Vk.prototype.setSource=olympe.N.P.Vk.prototype.ne;olympe.N.P.mo=class extends olympe.N.P.Ig{constructor(){super()}Kw(){}Vu(){}kf(){}};olympe.N.P.mo.prototype.setInput=olympe.N.P.mo.prototype.kf;olympe.N.P.mo.prototype.removeInput=olympe.N.P.mo.prototype.Vu;olympe.N.P.mo.prototype.addInput=olympe.N.P.mo.prototype.Kw;olympe.N.P.$k=class extends olympe.N.P.Ig{constructor(){super()}hF(){}iF(){}Tx(){}kf(){}};olympe.N.P.$k.prototype.setInput=olympe.N.P.$k.prototype.kf;olympe.N.P.$k.prototype.setDelta=olympe.N.P.$k.prototype.Tx;olympe.N.P.$k.prototype.setDeltaY=olympe.N.P.$k.prototype.iF;olympe.N.P.$k.prototype.setDeltaX=olympe.N.P.$k.prototype.hF;olympe.N.P.Hh=class extends olympe.N.P.ye{constructor(){super()}Oi(){}Nw(){}Xu(){}};olympe.N.P.Hh.prototype.removeStop=olympe.N.P.Hh.prototype.Xu;olympe.N.P.Hh.prototype.addStop=olympe.N.P.Hh.prototype.Nw;olympe.N.P.Hh.prototype.setAbsolute=olympe.N.P.Hh.prototype.Oi;olympe.N.P.Tk=class extends olympe.N.P.ye{constructor(){super()}gy(){}sF(){}tF(){}EB(){}};olympe.N.P.Tk.prototype.setStopColorAndOpacity=olympe.N.P.Tk.prototype.EB;olympe.N.P.Tk.prototype.setStopOpacity=olympe.N.P.Tk.prototype.tF;olympe.N.P.Tk.prototype.setStopColor=olympe.N.P.Tk.prototype.sF;olympe.N.P.Tk.prototype.setOffset=olympe.N.P.Tk.prototype.gy;olympe.N.P.ti=class extends olympe.N.P.Hh{constructor(){super()}xF(){}DF(){}hy(){}yF(){}EF(){}iy(){}};olympe.N.P.ti.prototype.setPoint2=olympe.N.P.ti.prototype.iy;olympe.N.P.ti.prototype.setY2=olympe.N.P.ti.prototype.EF;olympe.N.P.ti.prototype.setX2=olympe.N.P.ti.prototype.yF;olympe.N.P.ti.prototype.setPoint=olympe.N.P.ti.prototype.hy;olympe.N.P.ti.prototype.setY1=olympe.N.P.ti.prototype.DF;olympe.N.P.ti.prototype.setX1=olympe.N.P.ti.prototype.xF;olympe.N.P.so=class extends olympe.N.P.Hh{constructor(){super()}setRadius(){}Lx(){}Xx(){}};olympe.N.P.so.prototype.setFocalPoint=olympe.N.P.so.prototype.Xx;olympe.N.P.so.prototype.setCenter=olympe.N.P.so.prototype.Lx;olympe.N.P.so.prototype.setRadius=olympe.N.P.so.prototype.setRadius;olympe.N.P.ko=class extends olympe.N.P.zd{constructor(){super()}appendChild(){}removeChild(){}Oi(){}};olympe.N.P.ko.prototype.setAbsolute=olympe.N.P.ko.prototype.Oi;olympe.N.P.ko.prototype.removeChild=olympe.N.P.ko.prototype.removeChild;olympe.N.P.ko.prototype.appendChild=olympe.N.P.ko.prototype.appendChild;olympe.ui={};olympe.ui.Ec=class{constructor(){}C(){}hf(){}hi(){return this}D(){}da(){}O(){}R(){}sb(){}$m(){}W(){}$(){}};olympe.ui.xf=class extends olympe.host.Xi{constructor(a){super(a)}qa(){return this.vg()}};olympe.ui.xf.prototype.qa.K=new olympe.j.J(()=>olympe.N.xf,[]);olympe.ui.st=class{constructor(a,b,c,d,e){this.C=a;this.style=b||'normal';this.O=c||300;this.D=d||Object.create(null);this.id=e||olympe.la.bf()}yE(){return this.C}VA(){return this.style}HE(){return this.O}XA(){return this.D}ja(){return this.id}};olympe.ui.st.prototype.yE.K=new olympe.j.J(()=>String,[]);olympe.ui.st.prototype.VA.K=new olympe.j.J(()=>String,[]);olympe.ui.st.prototype.HE.K=new olympe.j.J(()=>Number,[]);olympe.ui.st.prototype.XA.K=new olympe.j.J(()=>Object,[]);olympe.ui.ha={};olympe.ui.ha.Jy={L0:'fill',dt:'contain',et:'cover'};olympe.ui.ha.cf={Uf:'manual',Fm:'topleft',mh:'top',Gm:'topright',BG:'centerleft',Tb:'center',CG:'centerright',gm:'bottomleft',Ch:'bottom',bt:'bottomright'};olympe.ui.ha.Dh={Zs:'auto',Uf:'manual',dt:'contain',et:'cover'};olympe.ui.ha.wp={Bz:'normal',KT:'multiply',EU:'screen',jR:'darken',sT:'lighten',YU:'srcin',ZU:'srcout',XU:'srcatop',LV:'xor'};olympe.ui.ha.qt={WU:'source_graphic',VU:'source_alpha',MQ:'background_image',LQ:'background_alpha',DR:'fill_paint',aV:'stroke_paint'};olympe.ui.ha.iz={Bz:'normal',iS:'italic',B1:'oblique'};olympe.ui.ha.Fp={Uf:'manual',GQ:'auto_width',FQ:'auto_height',WF:'auto_width_height',SU:'smart_width',RU:'smart_height',TU:'smart_width_height'};olympe.ui.ha.Cb={Tf:'left',Tb:'center',Ai:'right'};olympe.ui.ha.Rp={ZG:'defaultaudio',$G:'defaultvideo',vH:'facingvideo',kH:'environmentvideo'};olympe.ui.ha.fw={uG:'butt',Ot:'round',JD:'square'};olympe.ui.ha.eD={eG:'bevel',Ot:'round',tK:'miter'};olympe.ui.ha.SK={iU:'portrait',rT:'landscape'};olympe.ui.ha.dA={NONE:'none',$Q:'characters',HV:'words',FU:'sentences'};olympe.ui.ha.Lr={Aw:'text',UK:'password',hH:'email',hU:'phone',ST:'number'};olympe.ui.ha.xo={Mv:'clip',gH:'ellipsis',wH:'fade'};olympe.ui.ha.wc={mh:'top',Tc:'middle',Ch:'bottom'};olympe.ui.Y={};olympe.ui.Y.Event=class{constructor(a){this.ca=a}xE(){return this.ca}};olympe.ui.Y.Event.prototype.xE.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.Y.zR=class{constructor(a,b,c,d){this.Jm=a;this.SC=b;this.priority=void 0!==d?d:0;this.id=void 0!==c?c:olympe.la.uk();this.next=null}ja(){return this.id}Ng(){return this.next}ek(a){null!==this.next&&a.ek(this.next);this.next=a}};olympe.ui.Y.Be=class{constructor(){this.first=null}Xd(){return this.first}contains(a){let b=this.first;for(;b;){if(b===a)return!0;b=b.Ng()}return!1}clear(){this.first=null}toString(){let a='',b=this.first;for(;b;)a+=(a?', ':'')+b.ja(),b=b.Ng();return'EventCallbackList('+a+')'}};function Uf(a,b,c){const d=olympe.j.ac.now();Q(a,()=>{olympe.j.Wa([b.xE()],e=>{const f=olympe.j.Pa(b);if(e.rP(d).valueOf()){e=[];let g=c.Xd();for(;null!==g;)e.push(g),g=g.Ng();for(const h of e)if(c.contains(h)&&!0===h.SC.run(h.Jm.bind(null,f)))break}})})}function Vf(a,b,c,d,e,f){b=new olympe.ui.Y.zR(b,olympe.j.zb(),c,d);let g=c=e.Xd();for(;c&&c.priority<d;)g=c,c=c.Ng();g?g.ek(b):e.first=b;olympe.j.zb().Ue(f.bind(a,b.ja()));return b.ja()}
673
- function Wf(a,b){olympe.j.Zb(a)&&(a=F(a));let c=null!==b?b.Xd():null;if(null!==c)if(c.ja()===a)null!==b.first&&(a=b.first.Ng(),b.first.next=null,b.first=a);else for(;null!==c.next;){b=c.Ng();if(b.ja()===a){a=c;null!==a.next&&(b=a.next.Ng(),a.next.next=null,a.next=b);break}c=b}}olympe.ui.Y.yC=class extends olympe.ui.xf{constructor(a){super(a)}};olympe.ui.Y.qe=class extends olympe.ui.Y.Event{constructor(a,b,c,d,e,f,g,h){super(g);this.key=a;this.char=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.C=h}MA(){return this.key}FX(){return this.char}vS(){return this.ctrlKey}xS(){return this.shiftKey}uS(){return this.altKey}wS(){return this.metaKey}preventDefault(){this.C instanceof KeyboardEvent&&this.C.preventDefault()}};olympe.ui.Y.qe.C=8;olympe.ui.Y.qe.T=46;olympe.ui.Y.qe.Ga=9;olympe.ui.Y.qe.da=10;olympe.ui.Y.qe.D=13;
672
+ olympe.N.P.Text.prototype.setFontSize=olympe.N.P.Text.prototype.qb;olympe.N.P.Text.prototype.setText=olympe.N.P.Text.prototype.Jb;olympe.N.P.Cw=class extends olympe.N.P.Text{constructor(){super()}Is(){}};olympe.N.P.Cw.prototype.setPath=olympe.N.P.Cw.prototype.Is;olympe.N.P.cl=class extends olympe.N.P.pc{constructor(){super()}Nx(){}qh(){}bq(){}Wu(){}};olympe.N.P.cl.prototype.removeSegment=olympe.N.P.cl.prototype.Wu;olympe.N.P.cl.prototype.addSegment=olympe.N.P.cl.prototype.bq;olympe.N.P.cl.prototype.setLineCap=olympe.N.P.cl.prototype.qh;olympe.N.P.cl.prototype.setClosed=olympe.N.P.cl.prototype.Nx;olympe.N.P.If=class extends olympe.N.P.ye{constructor(){super()}dj(){}oe(){}Fe(){}setPosition(){}ek(){}Ng(){}};olympe.N.P.If.prototype.getNext=olympe.N.P.If.prototype.Ng;olympe.N.P.If.prototype.setNext=olympe.N.P.If.prototype.ek;olympe.N.P.If.prototype.setPosition=olympe.N.P.If.prototype.setPosition;olympe.N.P.If.prototype.setY=olympe.N.P.If.prototype.Fe;olympe.N.P.If.prototype.setX=olympe.N.P.If.prototype.oe;olympe.N.P.If.prototype.getCommandString=olympe.N.P.If.prototype.dj;olympe.N.P.xi=class extends olympe.N.P.If{constructor(){super()}AF(){}GF(){}Px(){}BF(){}HF(){}Qx(){}};olympe.N.P.xi.prototype.setControl2=olympe.N.P.xi.prototype.Qx;olympe.N.P.xi.prototype.setYControl2=olympe.N.P.xi.prototype.HF;olympe.N.P.xi.prototype.setXControl2=olympe.N.P.xi.prototype.BF;olympe.N.P.xi.prototype.setControl1=olympe.N.P.xi.prototype.Px;olympe.N.P.xi.prototype.setYControl1=olympe.N.P.xi.prototype.GF;olympe.N.P.xi.prototype.setXControl1=olympe.N.P.xi.prototype.AF;olympe.N.P.Pz=class extends olympe.N.P.If{constructor(){super()}rd(){}};olympe.N.P.po=class extends olympe.N.P.If{constructor(){super()}zF(){}FF(){}Ox(){}};olympe.N.P.po.prototype.setControl=olympe.N.P.po.prototype.Ox;olympe.N.P.po.prototype.setYControl=olympe.N.P.po.prototype.FF;olympe.N.P.po.prototype.setXControl=olympe.N.P.po.prototype.zF;olympe.N.P.Yi=class extends olympe.N.P.If{constructor(){super()}jy(){}ky(){}ty(){}$x(){}qy(){}};olympe.N.P.Yi.prototype.setSweepFlag=olympe.N.P.Yi.prototype.qy;olympe.N.P.Yi.prototype.setLargeArcSweepFlag=olympe.N.P.Yi.prototype.$x;olympe.N.P.Yi.prototype.setXAxisRotation=olympe.N.P.Yi.prototype.ty;olympe.N.P.Yi.prototype.setRY=olympe.N.P.Yi.prototype.ky;olympe.N.P.Yi.prototype.setRX=olympe.N.P.Yi.prototype.jy;olympe.N.P.Qz=class extends olympe.N.P.If{constructor(){super()}};olympe.N.P.jr=class extends olympe.N.P.pc{constructor(){super()}appendChild(){}removeChild(){}};olympe.N.P.jr.prototype.removeChild=olympe.N.P.jr.prototype.removeChild;olympe.N.P.jr.prototype.appendChild=olympe.N.P.jr.prototype.appendChild;olympe.N.P.Qf=class extends olympe.N.P.zd{constructor(){super()}Oi(){}addElement(){}Tu(){}Jx(){}};olympe.N.P.Qf.prototype.removeAllElements=olympe.N.P.Qf.prototype.Jx;olympe.N.P.Qf.prototype.removeElement=olympe.N.P.Qf.prototype.Tu;olympe.N.P.Qf.prototype.addElement=olympe.N.P.Qf.prototype.addElement;olympe.N.P.Qf.prototype.setAbsolute=olympe.N.P.Qf.prototype.Oi;olympe.N.P.Ig=class extends olympe.N.P.zd{constructor(){super()}ek(){}Ng(){}};olympe.N.P.Ig.prototype.getNext=olympe.N.P.Ig.prototype.Ng;olympe.N.P.Ig.prototype.setNext=olympe.N.P.Ig.prototype.ek;olympe.N.P.Vn=class extends olympe.N.P.Ig{constructor(){super()}Kx(){}kf(){}};olympe.N.P.Vn.prototype.setInput=olympe.N.P.Vn.prototype.kf;olympe.N.P.Vn.prototype.setAmount=olympe.N.P.Vn.prototype.Kx;olympe.N.P.br=class extends olympe.N.P.Ig{constructor(){super()}kf(){}setMatrix(){}};olympe.N.P.br.prototype.setMatrix=olympe.N.P.br.prototype.setMatrix;olympe.N.P.br.prototype.setInput=olympe.N.P.br.prototype.kf;olympe.N.P.Zn=class extends olympe.N.P.Ig{constructor(){super()}kf(){}Zx(){}ey(){}};olympe.N.P.Zn.prototype.setMode=olympe.N.P.Zn.prototype.ey;olympe.N.P.Zn.prototype.setInput2=olympe.N.P.Zn.prototype.Zx;olympe.N.P.Zn.prototype.setInput=olympe.N.P.Zn.prototype.kf;olympe.N.P.bo=class extends olympe.N.P.Ig{constructor(){super()}kF(){}mF(){}lF(){}};olympe.N.P.bo.prototype.setFloodColorAndOpacity=olympe.N.P.bo.prototype.lF;olympe.N.P.bo.prototype.setFloodOpacity=olympe.N.P.bo.prototype.mF;olympe.N.P.bo.prototype.setFloodColor=olympe.N.P.bo.prototype.kF;olympe.N.P.Vk=class extends olympe.N.P.Ig{constructor(){super()}ne(){}Ol(){}Pl(){}Tl(){}};olympe.N.P.Vk.prototype.setVerticalAlignment=olympe.N.P.Vk.prototype.Tl;olympe.N.P.Vk.prototype.setHorizontalAlignment=olympe.N.P.Vk.prototype.Pl;olympe.N.P.Vk.prototype.setAspectRatioMode=olympe.N.P.Vk.prototype.Ol;olympe.N.P.Vk.prototype.setSource=olympe.N.P.Vk.prototype.ne;olympe.N.P.mo=class extends olympe.N.P.Ig{constructor(){super()}Kw(){}Vu(){}kf(){}};olympe.N.P.mo.prototype.setInput=olympe.N.P.mo.prototype.kf;olympe.N.P.mo.prototype.removeInput=olympe.N.P.mo.prototype.Vu;olympe.N.P.mo.prototype.addInput=olympe.N.P.mo.prototype.Kw;olympe.N.P.$k=class extends olympe.N.P.Ig{constructor(){super()}hF(){}iF(){}Tx(){}kf(){}};olympe.N.P.$k.prototype.setInput=olympe.N.P.$k.prototype.kf;olympe.N.P.$k.prototype.setDelta=olympe.N.P.$k.prototype.Tx;olympe.N.P.$k.prototype.setDeltaY=olympe.N.P.$k.prototype.iF;olympe.N.P.$k.prototype.setDeltaX=olympe.N.P.$k.prototype.hF;olympe.N.P.Hh=class extends olympe.N.P.ye{constructor(){super()}Oi(){}Nw(){}Xu(){}};olympe.N.P.Hh.prototype.removeStop=olympe.N.P.Hh.prototype.Xu;olympe.N.P.Hh.prototype.addStop=olympe.N.P.Hh.prototype.Nw;olympe.N.P.Hh.prototype.setAbsolute=olympe.N.P.Hh.prototype.Oi;olympe.N.P.Tk=class extends olympe.N.P.ye{constructor(){super()}gy(){}sF(){}tF(){}EB(){}};olympe.N.P.Tk.prototype.setStopColorAndOpacity=olympe.N.P.Tk.prototype.EB;olympe.N.P.Tk.prototype.setStopOpacity=olympe.N.P.Tk.prototype.tF;olympe.N.P.Tk.prototype.setStopColor=olympe.N.P.Tk.prototype.sF;olympe.N.P.Tk.prototype.setOffset=olympe.N.P.Tk.prototype.gy;olympe.N.P.ti=class extends olympe.N.P.Hh{constructor(){super()}xF(){}DF(){}hy(){}yF(){}EF(){}iy(){}};olympe.N.P.ti.prototype.setPoint2=olympe.N.P.ti.prototype.iy;olympe.N.P.ti.prototype.setY2=olympe.N.P.ti.prototype.EF;olympe.N.P.ti.prototype.setX2=olympe.N.P.ti.prototype.yF;olympe.N.P.ti.prototype.setPoint=olympe.N.P.ti.prototype.hy;olympe.N.P.ti.prototype.setY1=olympe.N.P.ti.prototype.DF;olympe.N.P.ti.prototype.setX1=olympe.N.P.ti.prototype.xF;olympe.N.P.so=class extends olympe.N.P.Hh{constructor(){super()}setRadius(){}Lx(){}Xx(){}};olympe.N.P.so.prototype.setFocalPoint=olympe.N.P.so.prototype.Xx;olympe.N.P.so.prototype.setCenter=olympe.N.P.so.prototype.Lx;olympe.N.P.so.prototype.setRadius=olympe.N.P.so.prototype.setRadius;olympe.N.P.ko=class extends olympe.N.P.zd{constructor(){super()}appendChild(){}removeChild(){}Oi(){}};olympe.N.P.ko.prototype.setAbsolute=olympe.N.P.ko.prototype.Oi;olympe.N.P.ko.prototype.removeChild=olympe.N.P.ko.prototype.removeChild;olympe.N.P.ko.prototype.appendChild=olympe.N.P.ko.prototype.appendChild;olympe.ui={};olympe.ui.Ec=class{constructor(){}C(){}hf(){}hi(){return this}D(){}da(){}O(){}R(){}sb(){}$m(){}W(){}$(){}};olympe.ui.yf=class extends olympe.host.Xi{constructor(a){super(a)}qa(){return this.vg()}};olympe.ui.yf.prototype.qa.K=new olympe.j.J(()=>olympe.N.yf,[]);olympe.ui.st=class{constructor(a,b,c,d,e){this.C=a;this.style=b||'normal';this.O=c||300;this.D=d||Object.create(null);this.id=e||olympe.la.bf()}yE(){return this.C}VA(){return this.style}HE(){return this.O}XA(){return this.D}ja(){return this.id}};olympe.ui.st.prototype.yE.K=new olympe.j.J(()=>String,[]);olympe.ui.st.prototype.VA.K=new olympe.j.J(()=>String,[]);olympe.ui.st.prototype.HE.K=new olympe.j.J(()=>Number,[]);olympe.ui.st.prototype.XA.K=new olympe.j.J(()=>Object,[]);olympe.ui.ha={};olympe.ui.ha.Jy={L0:'fill',dt:'contain',et:'cover'};olympe.ui.ha.cf={Uf:'manual',Fm:'topleft',mh:'top',Gm:'topright',BG:'centerleft',Tb:'center',CG:'centerright',gm:'bottomleft',Ch:'bottom',bt:'bottomright'};olympe.ui.ha.Dh={Zs:'auto',Uf:'manual',dt:'contain',et:'cover'};olympe.ui.ha.wp={Bz:'normal',KT:'multiply',EU:'screen',jR:'darken',sT:'lighten',YU:'srcin',ZU:'srcout',XU:'srcatop',LV:'xor'};olympe.ui.ha.qt={WU:'source_graphic',VU:'source_alpha',MQ:'background_image',LQ:'background_alpha',DR:'fill_paint',aV:'stroke_paint'};olympe.ui.ha.iz={Bz:'normal',iS:'italic',B1:'oblique'};olympe.ui.ha.Fp={Uf:'manual',GQ:'auto_width',FQ:'auto_height',WF:'auto_width_height',SU:'smart_width',RU:'smart_height',TU:'smart_width_height'};olympe.ui.ha.Cb={Tf:'left',Tb:'center',Ai:'right'};olympe.ui.ha.Rp={ZG:'defaultaudio',$G:'defaultvideo',vH:'facingvideo',kH:'environmentvideo'};olympe.ui.ha.fw={uG:'butt',Ot:'round',JD:'square'};olympe.ui.ha.eD={eG:'bevel',Ot:'round',tK:'miter'};olympe.ui.ha.SK={iU:'portrait',rT:'landscape'};olympe.ui.ha.dA={NONE:'none',$Q:'characters',HV:'words',FU:'sentences'};olympe.ui.ha.Lr={Aw:'text',UK:'password',hH:'email',hU:'phone',ST:'number'};olympe.ui.ha.xo={Mv:'clip',gH:'ellipsis',wH:'fade'};olympe.ui.ha.wc={mh:'top',Tc:'middle',Ch:'bottom'};olympe.ui.Y={};olympe.ui.Y.Event=class{constructor(a){this.ca=a}xE(){return this.ca}};olympe.ui.Y.Event.prototype.xE.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.Y.zR=class{constructor(a,b,c,d){this.Jm=a;this.SC=b;this.priority=void 0!==d?d:0;this.id=void 0!==c?c:olympe.la.uk();this.next=null}ja(){return this.id}Ng(){return this.next}ek(a){null!==this.next&&a.ek(this.next);this.next=a}};olympe.ui.Y.Be=class{constructor(){this.first=null}Xd(){return this.first}contains(a){let b=this.first;for(;b;){if(b===a)return!0;b=b.Ng()}return!1}clear(){this.first=null}toString(){let a='',b=this.first;for(;b;)a+=(a?', ':'')+b.ja(),b=b.Ng();return'EventCallbackList('+a+')'}};function Uf(a,b,c){const d=olympe.j.ac.now();Q(a,()=>{olympe.j.Wa([b.xE()],e=>{const f=olympe.j.Pa(b);if(e.rP(d).valueOf()){e=[];let g=c.Xd();for(;null!==g;)e.push(g),g=g.Ng();for(const h of e)if(c.contains(h)&&!0===h.SC.run(h.Jm.bind(null,f)))break}})})}function Vf(a,b,c,d,e,f){b=new olympe.ui.Y.zR(b,olympe.j.zb(),c,d);let g=c=e.Xd();for(;c&&c.priority<d;)g=c,c=c.Ng();g?g.ek(b):e.first=b;olympe.j.zb().Ue(f.bind(a,b.ja()));return b.ja()}
673
+ function Wf(a,b){olympe.j.Zb(a)&&(a=F(a));let c=null!==b?b.Xd():null;if(null!==c)if(c.ja()===a)null!==b.first&&(a=b.first.Ng(),b.first.next=null,b.first=a);else for(;null!==c.next;){b=c.Ng();if(b.ja()===a){a=c;null!==a.next&&(b=a.next.Ng(),a.next.next=null,a.next=b);break}c=b}}olympe.ui.Y.yC=class extends olympe.ui.yf{constructor(a){super(a)}};olympe.ui.Y.qe=class extends olympe.ui.Y.Event{constructor(a,b,c,d,e,f,g,h){super(g);this.key=a;this.char=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.C=h}MA(){return this.key}FX(){return this.char}vS(){return this.ctrlKey}xS(){return this.shiftKey}uS(){return this.altKey}wS(){return this.metaKey}preventDefault(){this.C instanceof KeyboardEvent&&this.C.preventDefault()}};olympe.ui.Y.qe.C=8;olympe.ui.Y.qe.T=46;olympe.ui.Y.qe.Ga=9;olympe.ui.Y.qe.da=10;olympe.ui.Y.qe.D=13;
674
674
  olympe.ui.Y.qe.R=27;olympe.ui.Y.qe.ID=32;olympe.ui.Y.qe.Na=16;olympe.ui.Y.qe.O=17;olympe.ui.Y.qe.na=91;olympe.ui.Y.qe.Aa=93;olympe.ui.Y.qe.Ja=38;olympe.ui.Y.qe.W=40;olympe.ui.Y.qe.$=37;olympe.ui.Y.qe.ca=39;olympe.ui.Y.qe.Oa=90;k=olympe.ui.Y.qe.prototype;k.MA.K=olympe.j.J.D;k.FX.K=olympe.j.J.R;k.vS.K=olympe.j.J.T;k.xS.K=olympe.j.J.T;k.uS.K=olympe.j.J.T;k.wS.K=olympe.j.J.T;olympe.ui.Y.tg=class{Oj(){}Nj(){}Pj(){}jj(){}D(){}Fk(){}T(){}kj(){}O(){}};k=olympe.ui.Y.tg.prototype;k.Oj.K=new olympe.j.J(()=>olympe.ui.Y.qe,[]);k.Nj.K=new olympe.j.J(()=>olympe.ui.Y.qe,[]);k.Pj.K=new olympe.j.J(()=>olympe.ui.Y.qe,[]);k.jj.K=new olympe.j.J(()=>String,[]);k.Fk.K=new olympe.j.J(()=>String,[]);k.kj.K=new olympe.j.J(()=>String,[]);olympe.ui.Y.io=class extends olympe.ui.Y.yC{constructor(a){super(a);this.W=this.da=this.C=this.$=this.R=this.ca=null}Vc(a){return Q(this,()=>{const b=olympe.j.ub(olympe.ui.Y.qe);a((c,d,e=!1,f=!1,g=!1,h=!1,l={})=>{I(b,new olympe.ui.Y.qe(olympe.j.Ca(c),olympe.j.lc(d),olympe.j.kc(e),olympe.j.kc(f),olympe.j.kc(g),olympe.j.kc(h),olympe.j.ac.now(),l))});return b})}Oj(){null===this.ca&&(this.ca=this.Vc(function(a){this.qa().registerKeyPressed(a)}.bind(this)));return this.ca}Nj(){null===this.$&&(this.$=this.Vc(function(a){this.qa().registerKeyDown(a)}.bind(this)));
675
675
  return this.$}Pj(){null===this.da&&(this.da=this.Vc(function(a){this.qa().registerKeyUp(a)}.bind(this)));return this.da}jj(a,b,c){null===this.R&&(this.R=new olympe.ui.Y.Be,Uf(this,this.Oj(),this.R));return Vf(this,a,b,c,this.R,this.D)}D(a){Wf(a,this.R)}Fk(a,b,c){null===this.C&&(this.C=new olympe.ui.Y.Be,Uf(this,this.Nj(),this.C));return Vf(this,a,b,c,this.C,this.T)}T(a){Wf(a,this.C)}kj(a,b,c){null===this.W&&(this.W=new olympe.ui.Y.Be,Uf(this,this.Pj(),this.W));return Vf(this,a,b,c,this.W,this.O)}O(a){Wf(a,
676
676
  this.W)}};olympe.ui.Y.io.Ba=[olympe.ui.Y.tg];olympe.ui.Y.io.prototype.Oj.K=new olympe.j.J(()=>olympe.ui.Y.qe,[]);olympe.ui.Y.io.prototype.Nj.K=new olympe.j.J(()=>olympe.ui.Y.qe,[]);olympe.ui.Y.io.prototype.Pj.K=new olympe.j.J(()=>olympe.ui.Y.qe,[]);olympe.ui.Y.MouseEvent=class extends olympe.ui.Y.Event{constructor(a,b,c,d,e,f,g,h,l){super(l);this.D=a;this.C=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.W=g;this.O=h}xk(){this.D instanceof olympe.j.ga||(this.D=new olympe.j.ga(this.D[0],this.D[1]));return this.D}yh(){this.C instanceof olympe.j.ga||(this.C=new olympe.j.ga(this.C[0],this.C[1]));return this.C}zS(){return this.ctrlKey}AS(){return this.shiftKey}yS(){return this.altKey}qz(){return this.metaKey}Nm(){return this.W}TX(){const a=
@@ -684,7 +684,7 @@ function Yf(a,b){null===a.touches&&Xf(a);const c=olympe.j.ub(olympe.j.ac,olympe.
684
684
  function Zf(a){const b=olympe.j.Pa,c=olympe.j.ga,d=olympe.j.Ya(olympe.ui.Y.Zk);a.na=d.va();const e=(f,g)=>{for(f=f.Xd();null!==f&&!f.SC.run(f.Jm,g);)f=f.Ng()};a.Na=new olympe.ui.Y.Be;a.Aa=new olympe.ui.Y.Be;a.ph(f=>{const g=f.xk();f=f.yh();const h=b(f.pa()),l=b(f.sa()),m=b(g.pa()),n=b(g.sa());let p,r,t,u;const v=H=>{const G=b(H.yh().pa());H=b(H.yh().sa());return new olympe.ui.Y.Zk(new c(m,n),new c(h,l),new c(G.ya(h),H.ya(l)),olympe.j.ac.now())},w=olympe.ui.Ka.hf(),x=H=>{d.update(v(H))},y=H=>{d.update(v(H));
685
685
  p&&w.Qg(p);t&&w.Xj(t);u&&w.ln(u);r&&a.Qg(r);e(a.Aa,a.na)},B=()=>{u&&w.ln(u);p&&w.Qg(p);r&&a.Qg(r);r=p=u=void 0};u=w.Kl(H=>{const G=b(H.yh().pa()).ya(h);H=b(H.yh().sa()).ya(l);if(5<Math.abs(G.valueOf())||5<Math.abs(H.valueOf()))B(),d.update(new olympe.ui.Y.Zk(new c(m,n),new c(h,l),new c(olympe.j.aa.ZERO,olympe.j.aa.ZERO),olympe.j.ac.now())),e(a.Na,a.na),u=w.Kl(x),p=w.$g(y),t=w.Ki(y),r=a.$g(y)});p=w.$g(B);r=a.$g(B)});a.Hk(f=>{var g=f.Xd().yh();const h=olympe.j.Pa(g.pa()),l=olympe.j.Pa(g.sa()),m=new olympe.j.ga(h,
686
686
  l);g=new olympe.j.ga(g.pa().ya(h),g.sa().ya(l));olympe.j.pj(g.pa(),olympe.j.aa.ZERO);olympe.j.pj(g.sa(),olympe.j.aa.ZERO);const n=new olympe.ui.Y.Zk(new olympe.j.ga(olympe.j.Pa(f.Xd().xk().pa()),olympe.j.Pa(f.Xd().xk().sa())),m,g,olympe.j.ub(olympe.j.ac));d.update(n);f=()=>{const t=olympe.j.Pa(n.mq());rc(t.pa());rc(t.sa());rc(n.xE());a.ij(p);a.To(r);e(a.Aa,n)};const p=a.Gk(f),r=a.pn(f);e(a.Na,n)})}
687
- olympe.ui.Y.kw=class extends olympe.ui.Y.yC{constructor(a){super(a);this.Na=this.Aa=this.na=this.vf=this.wf=this.mg=this.Bg=this.Ga=this.Ja=this.Oa=this.tb=this.touches=this.$=this.ld=this.da=this.dd=this.T=this.Qb=this.R=this.oc=this.W=this.fc=this.ca=this.Rc=this.O=this.Fb=this.D=this.yb=this.C=this.nb=null}Da(a){const b=olympe.j.kc,c=olympe.j.Ca;return Q(this,()=>{const d=olympe.j.Ya(olympe.ui.Y.MouseEvent);a(Zc(this,(e,f,g,h,l=!1,m=!1,n=!1,p=!1,r=0,t=0)=>{e=new olympe.ui.Y.MouseEvent([e,f],[g,
687
+ olympe.ui.Y.kw=class extends olympe.ui.Y.yC{constructor(a){super(a);this.Na=this.Aa=this.na=this.wf=this.xf=this.mg=this.Bg=this.Ga=this.Ja=this.Oa=this.tb=this.touches=this.$=this.ld=this.da=this.dd=this.T=this.Qb=this.R=this.oc=this.W=this.fc=this.ca=this.Rc=this.O=this.Fb=this.D=this.yb=this.C=this.nb=null}Da(a){const b=olympe.j.kc,c=olympe.j.Ca;return Q(this,()=>{const d=olympe.j.Ya(olympe.ui.Y.MouseEvent);a(Zc(this,(e,f,g,h,l=!1,m=!1,n=!1,p=!1,r=0,t=0)=>{e=new olympe.ui.Y.MouseEvent([e,f],[g,
688
688
  h],b(l),b(m),b(n),b(p),c(r),c(t),olympe.j.ac.now());d.update(e)}));return d.va()})}Wc(a,b,c){null===this.nb&&(this.nb=this.Da(d=>{this.qa().qn(d)}));null===this.C&&(this.C=new olympe.ui.Y.Be,Uf(this,this.nb,this.C));return Vf(this,a,b,c,this.C,this.Wj)}Wj(a){this.C&&(Wf(a,this.C),null===this.C.first&&(this.C=null,this.nb&&(this.qa().Ub.nc()||this.qa().Vl(),this.nb=null)))}Io(){const a=olympe.j.Ya(olympe.ui.Y.MouseEvent);this.Wc(b=>{a.update(b)});return a.va()}nn(a,b,c){null===this.yb&&(this.yb=this.Da(d=>
689
689
  {this.qa().rn(d)}));null===this.D&&(this.D=new olympe.ui.Y.Be,Uf(this,this.yb,this.D));return Vf(this,a,b,c,this.D,this.xq)}xq(a){this.D&&(Wf(a,this.D),null===this.D.first&&(this.D=null,this.yb&&(this.qa().Ub.nc()||this.qa().Wl(),this.yb=null)))}Pm(){const a=olympe.j.Ya(olympe.ui.Y.MouseEvent);this.nn(b=>{a.update(b)});return a.va()}ph(a,b,c){null===this.Fb&&(this.Fb=this.Da(d=>{this.qa().sn(d)}));null===this.O&&(this.O=new olympe.ui.Y.Be,Uf(this,this.Fb,this.O));return Vf(this,a,b,c,this.O,this.Dk)}Dk(a){this.O&&
690
690
  (Wf(a,this.O),null===this.O.first&&(this.O=null,this.Fb&&(this.qa().Ub.nc()||this.qa().Xl(),this.Fb=null)))}Jo(){const a=olympe.j.Ya(olympe.ui.Y.MouseEvent);this.ph(b=>{a.update(b)});return a.va()}Kl(a,b,c){null===this.fc&&(this.fc=this.Da(d=>{this.qa().vn(d)}));null===this.W&&(this.W=new olympe.ui.Y.Be,Uf(this,this.fc,this.W));return Vf(this,a,b,c,this.W,this.ln)}ln(a){this.W&&(Wf(a,this.W),null===this.W.first&&(this.W=null,this.fc&&(this.qa().Ub.nc()||this.qa().$l(),this.fc=null)))}vk(){const a=
@@ -695,7 +695,7 @@ olympe.j.Ya(olympe.ui.Y.MouseEvent);this.Kl(b=>{a.update(b)});return a.va()}Xo(a
695
695
  null===this.ca.first&&(this.ca=null,this.Rc&&(this.qa().Ub.nc()||this.qa().bm(),this.Rc=null)))}Lo(){const a=olympe.j.Ya(olympe.ui.Y.MouseEvent),b=this.$g(c=>{a.update(c)});olympe.j.zb().Ue(()=>{this.Qg(b)});return a.va()}Lh(){const a=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob),b=this.lj(()=>{a.update(olympe.j.ia.C)}),c=this.Ki(()=>{a.update(olympe.j.ia.ob)});olympe.j.zb().Ue(()=>{this.Ek(b);this.Xj(c)});return a.va()}en(){const a=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob),b=this.ph(()=>
696
696
  {a.update(olympe.j.ia.C)}),c=this.$g(()=>{a.update(olympe.j.ia.ob)});olympe.j.zb().Ue(()=>{this.Dk(b);this.Qg(c)});return a.va()}fn(){const a=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.C),b=this.$g(()=>{a.update(olympe.j.ia.C)}),c=this.ph(()=>{a.update(olympe.j.ia.ob)});olympe.j.zb().Ue(()=>{this.Dk(c);this.Qg(b)});return a.va()}Hk(a,b,c){null===this.touches&&Xf(this);null===this.tb&&(this.tb=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.tb,this.Uo)}Uo(a){Wf(a,this.tb)}ep(a,b,c){null===this.touches&&
697
697
  Xf(this);null===this.Oa&&(this.Oa=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Oa,this.Gq)}Gq(a){Wf(a,this.Oa)}Gk(a,b,c){null===this.touches&&Xf(this);null===this.Ja&&(this.Ja=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Ja,this.ij)}ij(a){Wf(a,this.Ja)}pn(a,b,c){null===this.touches&&Xf(this);null===this.Ga&&(this.Ga=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Ga,this.To)}To(a){Wf(a,this.Ga)}Wm(){null===this.mg&&(this.mg=Yf(this,this.ep.bind(this)));return this.mg}Xm(){null===this.Bg&&(this.Bg=
698
- Yf(this,this.Hk.bind(this)));return this.Bg}Vm(){null===this.wf&&(this.wf=Yf(this,this.Gk.bind(this)));return this.wf}Um(){null===this.vf&&(this.vf=Yf(this,this.pn.bind(this)));return this.vf}$o(a,b,c){null===this.na&&Q(this,()=>{Zf(this)});null===this.Na&&(this.Na=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Na,this.Eq)}Eq(a){Wf(a,this.Na)}Zo(a,b,c){null===this.na&&Q(this,()=>{Zf(this)});null===this.Aa&&(this.Aa=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Aa,this.mn)}mn(a){Wf(a,this.Aa)}No(){null===
698
+ Yf(this,this.Hk.bind(this)));return this.Bg}Vm(){null===this.xf&&(this.xf=Yf(this,this.Gk.bind(this)));return this.xf}Um(){null===this.wf&&(this.wf=Yf(this,this.pn.bind(this)));return this.wf}$o(a,b,c){null===this.na&&Q(this,()=>{Zf(this)});null===this.Na&&(this.Na=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Na,this.Eq)}Eq(a){Wf(a,this.Na)}Zo(a,b,c){null===this.na&&Q(this,()=>{Zf(this)});null===this.Aa&&(this.Aa=new olympe.ui.Y.Be);return Vf(this,a,b,c,this.Aa,this.mn)}mn(a){Wf(a,this.Aa)}No(){null===
699
699
  this.na&&Q(this,()=>{Zf(this)});return this.na}};olympe.ui.Y.kw.Ba=[olympe.ui.Y.qc];k=olympe.ui.Y.kw.prototype;k.Io.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.Pm.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.Jo.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.vk.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.Ko.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.Rm.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.Sm.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);
700
700
  k.Tm.K=new olympe.j.J(()=>olympe.ui.Y.nk,[]);k.Lo.K=new olympe.j.J(()=>olympe.ui.Y.MouseEvent,[]);k.Lh.K=olympe.j.J.T;k.en.K=olympe.j.J.T;k.fn.K=olympe.j.J.T;k.Wm.K=new olympe.j.J(()=>olympe.ui.Y.TouchEvent,[]);k.Xm.K=new olympe.j.J(()=>olympe.ui.Y.TouchEvent,[]);k.Vm.K=new olympe.j.J(()=>olympe.ui.Y.TouchEvent,[]);k.Um.K=new olympe.j.J(()=>olympe.ui.Y.TouchEvent,[]);k.No.K=new olympe.j.J(()=>olympe.ui.Y.Zk,[]);olympe.ui.Y.GestureEvent=class extends olympe.ui.Y.Event{constructor(a,b,c,d,e,f,g,h,l,m,n){super(n);this.C=a;this.W=b;this.$=c;this.O=d;this.T=e;this.D=f;this.rotation=g;this.R=h;this.first=l;this.da=m}mq(){this.C instanceof olympe.j.ga||(this.C=new olympe.j.ga(this.C[0],this.C[1]));return this.C}jX(){return this.W}qX(){return this.$}RW(){return this.O}qq(){return this.T}hY(){this.D instanceof olympe.j.ga||(this.D=new olympe.j.ga(this.D[0],this.D[1]));return this.D}XX(){return this.rotation}ZW(){return this.R}wY(){return this.first}BS(){return this.da}};
701
701
  k=olympe.ui.Y.GestureEvent.prototype;k.mq.K=olympe.j.J.W;k.jX.K=olympe.j.J.D;k.qX.K=olympe.j.J.D;k.RW.K=olympe.j.J.D;k.qq.K=olympe.j.J.D;k.hY.K=olympe.j.J.W;k.XX.K=olympe.j.J.D;k.ZW.K=olympe.j.J.D;k.wY.K=olympe.j.J.T;k.BS.K=olympe.j.J.T;olympe.ui.Y.Nr=class{constructor(a,b,c,d,e,f){this.O=a;this.C=b;this.D=c;this.rotationAngle=d;this.force=e;this.identifier=f}xk(){return this.O}yh(){return this.C}TC(){return this.D}QO(){return this.rotationAngle}jO(){return this.force}AX(){return this.identifier}};k=olympe.ui.Y.Nr.prototype;k.xk.K=olympe.j.J.W;k.yh.K=olympe.j.J.W;k.TC.K=olympe.j.J.W;k.QO.K=olympe.j.J.D;k.jO.K=olympe.j.J.D;k.AX.K=new olympe.j.J(()=>String,[]);olympe.ui.Y.TouchEvent=class extends olympe.ui.Y.Event{constructor(a,b){super(b);this.touches=a}D(){return this.touches}C(){return this.touches.Xd()}};olympe.ui.Y.TouchEvent.prototype.D.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.Y.TouchEvent.prototype.C.K=new olympe.j.J(()=>olympe.ui.Y.Nr,[]);olympe.ui.Y.Zk=class extends olympe.ui.Y.Event{constructor(a,b,c,d){super(d);this.O=a;this.D=c;this.C=b}xk(){return this.O}yh(){return this.C}mq(){return this.D}};olympe.ui.Y.Zk.prototype.xk.K=olympe.j.J.W;olympe.ui.Y.Zk.prototype.yh.K=olympe.j.J.W;olympe.ui.Y.Zk.prototype.mq.K=olympe.j.J.W;olympe.ui.Y.nk=class extends olympe.ui.Y.MouseEvent{constructor(a,b,c,d,e,f,g,h,l,m,n){super(c,d,e,f,g,h,l,m,n);this.deltaX=a;this.deltaY=b}R(){return this.deltaX}T(){return this.deltaY}};olympe.ui.Y.nk.prototype.R.K=olympe.j.J.D;olympe.ui.Y.nk.prototype.T.K=olympe.j.J.D;olympe.ui.Y.Nd=class{yl(){}Dl(){}zl(){}Ym(){}Al(){}Qm(){}Cl(){}Bl(){}Iq(){}yq(){}Oq(){}Hq(){}Jq(){}zq(){}ss(){}qs(){}Kq(){}Aq(){}Lq(){}Bq(){}Nq(){}Fq(){}Mq(){}Aa(){}};k=olympe.ui.Y.Nd.prototype;k.yl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Dl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.zl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Ym.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Al.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);
@@ -704,9 +704,9 @@ this.da&&(this.da=this.pb(function(a){this.qa().registerHorizontalPan(a)}.bind(t
704
704
  a)}.bind(this)));return this.Na}Qm(a){null===this.Ga&&(this.Ga=this.pb(function(b){this.qa().registerLongPressUp(b,a)}.bind(this)));return this.Ga}Cl(){null===this.Oa&&(this.Oa=this.pb(function(a){this.qa().registerRotate(a)}.bind(this)));return this.Oa}Bl(){null===this.Ja&&(this.Ja=this.pb(function(a){this.qa().registerPinch(a)}.bind(this)));return this.Ja}Iq(a,b,c){null===this.C&&(this.C=new olympe.ui.Y.Be,Uf(this,this.yl(),this.C));return Vf(this,a,b,c,this.C,this.yq)}yq(a){Wf(a,this.C)}Oq(a,b,
705
705
  c){null===this.$&&(this.$=new olympe.ui.Y.Be,Uf(this,this.Dl(),this.$));return Vf(this,a,b,c,this.$,this.Hq)}Hq(a){Wf(a,this.$)}Jq(a,b,c){null===this.D&&(this.D=new olympe.ui.Y.Be,Uf(this,this.zl(),this.D));return Vf(this,a,b,c,this.D,this.zq)}zq(a){Wf(a,this.D)}ss(a,b,c){null===this.ca&&(this.ca=new olympe.ui.Y.Be,Uf(this,this.Ym(),this.ca));return Vf(this,a,b,c,this.ca,this.qs)}qs(a){Wf(a,this.ca)}Kq(a,b,c,d){null===this.O&&(this.O=new olympe.ui.Y.Be,Uf(this,this.Al(b),this.O));return Vf(this,a,
706
706
  c,d,this.O,this.Aq)}Aq(a){Wf(a,this.O)}Lq(a,b,c,d){null===this.R&&(this.R=new olympe.ui.Y.Be,Uf(this,this.Qm(b),this.R));return Vf(this,a,c,d,this.R,this.Bq)}Bq(a){Wf(a,this.R)}Nq(a,b,c){null===this.W&&(this.W=new olympe.ui.Y.Be,Uf(this,this.Cl(),this.W));return Vf(this,a,b,c,this.W,this.Fq)}Fq(a){Wf(a,this.W)}Mq(a,b,c){null===this.T&&(this.T=new olympe.ui.Y.Be,Uf(this,this.Bl(),this.T));return Vf(this,a,b,c,this.T,this.Aa)}Aa(a){Wf(a,this.T)}};olympe.ui.Y.Vv.Ba=[olympe.ui.Y.Nd];k=olympe.ui.Y.Vv.prototype;
707
- k.yl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Dl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.zl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Ym.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Al.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Qm.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Cl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Bl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);olympe.ui.media={};olympe.ui.media.MediaStream=class extends olympe.ui.xf{Vs(a,b){this.qa().Vs(a,b?b.pa():void 0,b?b.sa():void 0)}};olympe.ui.media.Qr=class extends olympe.ui.media.MediaStream{constructor(a){super(a);this.status=olympe.j.Ya(olympe.j.ia);this.qa().na(b=>{b?this.status.update(olympe.j.ia.C):this.status.update(olympe.j.ia.ob)})}C(){return this.status.va()}};olympe.ui.media.Qr.prototype.C.K=olympe.j.J.T;olympe.ui.media.vi=class extends olympe.ui.media.Qr{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.media.vi,olympe.host.$a.ib.pK));olympe.j.Wa([a],c=>{if(c instanceof olympe.ui.media.bc.Im)this.qa().wF(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.ab());}});olympe.j.Wa([b],c=>{if(c instanceof olympe.ui.media.bc.vp)this.qa().tB(c.qa());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Audio device is null or undefined');
708
- throw Error('Cannot handle MediaDevice of unknown type '+c.ab());}})}$u(a){this.qa().$u(a)}vv(a){this.qa().vv(a)}Po(){this.qa().Po()}};olympe.ui.media.xL=class extends olympe.ui.media.Qr{constructor(){super(olympe.ui.Ka.C(olympe.N.media.xL,olympe.host.$a.ib.GT))}};olympe.ui.media.Vp=class extends olympe.ui.xf{constructor(){super(olympe.ui.Ka.C(olympe.N.media.Vp,olympe.host.$a.ib.qK))}ex(a){this.qa().ex(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.Im(olympe.j.lc(d.id),olympe.j.lc(d.name)))});a(c)})}bx(a){this.qa().bx(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.vp(olympe.j.lc(d.id),olympe.j.lc(d.name)))});a(c)})}};olympe.ui.media.bu=class extends olympe.ui.media.MediaStream{constructor(){super(olympe.ui.Ka.C(olympe.N.media.bu,olympe.host.$a.ib.rK))}Mk(a){this.qa().Mk(a)}};olympe.ui.media.bc={};olympe.ui.media.bc.Up=class extends olympe.ui.xf{ab(){}};olympe.ui.media.bc.vp=class extends olympe.ui.media.bc.Up{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.media.bc.vp,olympe.host.$a.ib.oK));this.name=b;this.id=a;this.qa().sp(a,this.name)}ab(){return this.name}};olympe.ui.media.bc.Im=class extends olympe.ui.media.bc.Up{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.media.bc.Im,olympe.host.$a.ib.sK));this.name=b;this.id=a;this.qa().sp(a,b)}ab(){return this.name}toString(){return'VideoInputDevice [name: '+this.name+']'}};olympe.ui.media.bc.b0=class extends olympe.ui.media.bc.vp{constructor(){super(olympe.ui.ha.Rp.ZG,'Default microphone')}};olympe.ui.media.bc.c0=class extends olympe.ui.media.bc.Im{constructor(){super(olympe.ui.ha.Rp.$G,'Default camera')}};olympe.ui.media.bc.O0=class extends olympe.ui.media.bc.Im{constructor(){super(olympe.ui.ha.Rp.vH,'Facing camera')}};olympe.ui.media.bc.G_=class extends olympe.ui.media.bc.Im{constructor(){super(olympe.ui.ha.Rp.kH,'Environment (back) camera')}};olympe.ui.F={};function $f(a){null===a.tb&&(a.tb=Q(a,()=>olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob)),a.te().ws(()=>{a.tb.update(olympe.j.ia.C)}),a.te().vs(()=>{a.tb.update(olympe.j.ia.ob)}))}
709
- olympe.ui.F.Element=class extends olympe.ui.xf{constructor(a){super(a);this.$=this.wg=this.Cg=this.tb=this.hidden=null}te(){return this.qa()}$m(){return olympe.ui.Ka.$m(this)}zh(){}be(a){a&&(this.La(a.gq()),this.dh(a.jq(),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,a.iq(),a.hq()),this.og(a.EO()))}La(a){this.te().La(olympe.j.bg(a,b=>b instanceof olympe.j.Color?b.ji():void 0));return this}Es(a){this.te().Es(a);return this}dh(a,b,c,d,e){this.te().dh(a,b,c,olympe.j.bg(d,f=>f.pa()),olympe.j.bg(d,f=>f.sa()),
707
+ k.yl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Dl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.zl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Ym.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Al.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Qm.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Cl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);k.Bl.K=new olympe.j.J(()=>olympe.ui.Y.GestureEvent,[]);olympe.ui.media={};olympe.ui.media.MediaStream=class extends olympe.ui.yf{Vs(a,b){this.qa().Vs(a,b?b.pa():void 0,b?b.sa():void 0)}};olympe.ui.media.Qr=class extends olympe.ui.media.MediaStream{constructor(a){super(a);this.status=olympe.j.Ya(olympe.j.ia);this.qa().na(b=>{b?this.status.update(olympe.j.ia.C):this.status.update(olympe.j.ia.ob)})}C(){return this.status.va()}};olympe.ui.media.Qr.prototype.C.K=olympe.j.J.T;olympe.ui.media.vi=class extends olympe.ui.media.Qr{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.media.vi,olympe.host.$a.ib.pK));olympe.j.Wa([a],c=>{if(c instanceof olympe.ui.media.bc.Im)this.qa().wF(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.ab());}});olympe.j.Wa([b],c=>{if(c instanceof olympe.ui.media.bc.vp)this.qa().tB(c.qa());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Audio device is null or undefined');
708
+ throw Error('Cannot handle MediaDevice of unknown type '+c.ab());}})}$u(a){this.qa().$u(a)}vv(a){this.qa().vv(a)}Po(){this.qa().Po()}};olympe.ui.media.xL=class extends olympe.ui.media.Qr{constructor(){super(olympe.ui.Ka.C(olympe.N.media.xL,olympe.host.$a.ib.GT))}};olympe.ui.media.Vp=class extends olympe.ui.yf{constructor(){super(olympe.ui.Ka.C(olympe.N.media.Vp,olympe.host.$a.ib.qK))}ex(a){this.qa().ex(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.Im(olympe.j.lc(d.id),olympe.j.lc(d.name)))});a(c)})}bx(a){this.qa().bx(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.vp(olympe.j.lc(d.id),olympe.j.lc(d.name)))});a(c)})}};olympe.ui.media.bu=class extends olympe.ui.media.MediaStream{constructor(){super(olympe.ui.Ka.C(olympe.N.media.bu,olympe.host.$a.ib.rK))}Mk(a){this.qa().Mk(a)}};olympe.ui.media.bc={};olympe.ui.media.bc.Up=class extends olympe.ui.yf{ab(){}};olympe.ui.media.bc.vp=class extends olympe.ui.media.bc.Up{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.media.bc.vp,olympe.host.$a.ib.oK));this.name=b;this.id=a;this.qa().sp(a,this.name)}ab(){return this.name}};olympe.ui.media.bc.Im=class extends olympe.ui.media.bc.Up{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.media.bc.Im,olympe.host.$a.ib.sK));this.name=b;this.id=a;this.qa().sp(a,b)}ab(){return this.name}toString(){return'VideoInputDevice [name: '+this.name+']'}};olympe.ui.media.bc.b0=class extends olympe.ui.media.bc.vp{constructor(){super(olympe.ui.ha.Rp.ZG,'Default microphone')}};olympe.ui.media.bc.c0=class extends olympe.ui.media.bc.Im{constructor(){super(olympe.ui.ha.Rp.$G,'Default camera')}};olympe.ui.media.bc.O0=class extends olympe.ui.media.bc.Im{constructor(){super(olympe.ui.ha.Rp.vH,'Facing camera')}};olympe.ui.media.bc.G_=class extends olympe.ui.media.bc.Im{constructor(){super(olympe.ui.ha.Rp.kH,'Environment (back) camera')}};olympe.ui.F={};function $f(a){null===a.tb&&(a.tb=Q(a,()=>olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob)),a.te().ws(()=>{a.tb.update(olympe.j.ia.C)}),a.te().vs(()=>{a.tb.update(olympe.j.ia.ob)}))}
709
+ olympe.ui.F.Element=class extends olympe.ui.yf{constructor(a){super(a);this.$=this.wg=this.Cg=this.tb=this.hidden=null}te(){return this.qa()}$m(){return olympe.ui.Ka.$m(this)}zh(){}be(a){a&&(this.La(a.gq()),this.dh(a.jq(),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,a.iq(),a.hq()),this.og(a.EO()))}La(a){this.te().La(olympe.j.bg(a,b=>b instanceof olympe.j.Color?b.ji():void 0));return this}Es(a){this.te().Es(a);return this}dh(a,b,c,d,e){this.te().dh(a,b,c,olympe.j.bg(d,f=>f.pa()),olympe.j.bg(d,f=>f.sa()),
710
710
  olympe.j.bg(e,f=>f.pa()),olympe.j.bg(e,f=>f.sa()));return this}Cs(a){this.te().Cs(a);return this}Sq(a){this.te().Sq(a);return this}rp(a){this.te().rp(a);return this}As(a){this.te().As(olympe.j.bg(a,b=>b.pa()),olympe.j.bg(a,b=>b.sa()));return this}Bs(a){olympe.j.Wa([a],b=>{this.te().Bs(b.pa(),b.sa())});return this}og(a){this.te().og(a);return this}oa(){}rd(a){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Xc(!1)});K(this.hidden,a);this.te().rd(a);return this}Os(a){this.te().Os(a);return this}hb(a,
711
711
  b){this.te().hb(a,b)}ns(){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Xc(!1)});return this.hidden}xu(){$f(this);return this.tb.va()}rj(a=!0){$f(this);this.te().rj(a);return this}Gn(){$f(this);this.te().Gn();return this}Ah(a){this.te().Ah(a);return this}gv(a){this.te().gv(a);return this}DS(a,b={}){if(olympe.ui.Ka.$())return this;this.$||(this.$=new olympe.j.ee('tooltipContext'),this.$.onDestroy(()=>{this.$=null}));let c,d;const e=null!=(d=b.delay)?d:null!=(c=olympe.ui.F.Element.C.delay)?c:
712
712
  500;this.$.run(()=>{let f=!1;const g=olympe.ui.Ka.hf();let h=null;const l=p=>{const r=olympe.j.Pa(a);r&&0!==r.valueOf().length&&(p?(ad('tooltipTimeout'),h=$c(()=>{h=null;const t=Object.assign({},olympe.ui.F.Element.C,b);null!=t.position||(t.position=this.zh());g.IF(a,t);f=!0},e.valueOf(),'tooltipTimeout')):null!==h?(ad(h),h=null):(g.zx(),f=!1))},m=this.lj(p=>{l(!0,p)}),n=this.Ki(p=>{l(!1,p)});this.$.onDestroy(()=>{null!==h&&(ad(h),h=null);f&&(g.zx(),f=!1);this.Ek(m);this.Xj(n)})});return this}CS(){this.$&&
@@ -727,8 +727,8 @@ k.LA.K=new olympe.j.J(()=>olympe.ui.F.ea.wm,[]);k.hx.K=new olympe.j.J(()=>olympe
727
727
  k.hq.K=olympe.j.J.W;k.EO.K=olympe.j.J.D;olympe.ui.F.ea.Cr=class extends olympe.ui.F.ea.gr{constructor(){super()}};olympe.ui.F.ea.Cr.Fc='rootElement';olympe.ui.F.ea.fd=class extends olympe.ui.F.ea.gr{constructor(){super();this.Aa=olympe.j.ed(200,40);this.borderWidth=olympe.j.ma(0);this.borderColor=P(Hc());this.na=olympe.j.ma(0);this.Qb=olympe.j.ed(0,0);this.fc=olympe.j.ma(0);this.ld=olympe.j.ma(0);this.Na=P(Hc());this.oc=olympe.j.Xc(!1)}oa(){return this.Aa}Gb(a){K(this.Aa,a)}Di(){return this.borderWidth}ad(a){K(this.borderWidth,a)}vl(){return this.borderColor}nd(a){K(this.borderColor,a)}kq(){return this.na}Xb(a){K(this.na,a)}gs(){return this.Qb}hs(){return this.fc}js(){return this.ld}es(){return this.Na}fs(){return this.oc}fh(a,
728
728
  b,c,d,e){K(this.Qb,a);K(this.fc,b);K(this.ld,c);K(this.Na,d);K(this.oc,e)}};k=olympe.ui.F.ea.fd.prototype;k.Gb.Rr=!0;k.ad.Rr=!0;k.nd.Rr=!0;k.oa.K=olympe.j.J.W;k.Di.K=olympe.j.J.D;k.vl.K=new olympe.j.J(()=>olympe.j.Color,[]);k.kq.K=olympe.j.J.D;k.gs.K=olympe.j.J.W;k.hs.K=olympe.j.J.D;k.js.K=olympe.j.J.D;k.es.K=new olympe.j.J(()=>olympe.j.Color,[]);k.fs.K=olympe.j.J.T;olympe.ui.F.ea.ik=class extends olympe.ui.F.ea.fd{constructor(){super();this.Ja=P(O());this.C=P(O());this.tb=P(O());this.Oa=P(N());this.O=P(N());this.ca=P(N());this.R=P(N());this.D=P(N());this.fontSize=olympe.j.ma(14);this.$=olympe.j.ma(500);this.W=olympe.j.Ab('');this.da=olympe.j.ub(String,olympe.ui.ha.Cb.Tb);this.Ga=olympe.j.ub(String,olympe.ui.ha.wc.Tc);this.Nf=olympe.j.Xc(!1);this.T=olympe.j.ma(0)}KO(){return this.Ja}fk(a){K(this.Ja,a)}bO(){return this.C}xX(){return this.tb}LO(){return this.Oa}cO(){return this.O}AI(){return this.ca}kb(a){K(this.ca,
729
729
  a)}MO(){return this.R}dO(){return this.D}zI(){return this.fontSize}qb(a){K(this.fontSize,a)}Fi(){return this.$}Bb(a){K(this.$,a)}wb(a){K(this.W,a)}Ei(){return this.W}BI(){return this.da}Vb(a){K(this.da,a)}CI(){return this.Ga}Yb(a){K(this.Ga,a)}yI(){return this.Nf}GN(){return this.T}$d(a,b){K(this.Nf,a);K(this.T,b)}};olympe.ui.F.ea.ik.Fc='button';olympe.ui.F.ea.ik.C='selected';olympe.ui.F.ea.ik.D='warning';k=olympe.ui.F.ea.ik.prototype;k.KO.K=new olympe.j.J(()=>olympe.j.Color,[]);
730
- k.bO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.xX.K=new olympe.j.J(()=>olympe.j.Color,[]);k.LO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.cO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.AI.K=new olympe.j.J(()=>olympe.j.Color,[]);k.MO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.dO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.zI.K=olympe.j.J.D;k.Fi.K=olympe.j.J.D;k.Ei.K=olympe.j.J.R;k.BI.K=new olympe.j.J(()=>String,[]);k.CI.K=new olympe.j.J(()=>String,[]);k.yI.K=olympe.j.J.T;k.GN.K=olympe.j.J.D;olympe.ui.F.ea.vw=class extends olympe.ui.F.ea.gr{constructor(){super()}};olympe.ui.F.ea.vw.Fc='rectangle';olympe.ui.F.ea.li=class extends olympe.ui.F.ea.fd{constructor(){super();this.T=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.O=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.W=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.R=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.D=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.C=olympe.j.ma(200)}tf(){return this.T}Og(){return this.O}uf(){return this.W}sf(){return this.R}IA(){return this.D}AA(){return this.C}};
731
- olympe.ui.F.ea.li.C='selected';olympe.ui.F.ea.li.D='warning';olympe.ui.F.ea.li.Fc='checkbox';k=olympe.ui.F.ea.li.prototype;k.tf.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.Og.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.uf.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.sf.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.IA.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.AA.K=olympe.j.J.D;function ag(a){K(a.W,'dropdown-selectedvalue')}function bg(a){K(a.T,'dropdown-mouseoveritem')}
730
+ k.bO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.xX.K=new olympe.j.J(()=>olympe.j.Color,[]);k.LO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.cO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.AI.K=new olympe.j.J(()=>olympe.j.Color,[]);k.MO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.dO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.zI.K=olympe.j.J.D;k.Fi.K=olympe.j.J.D;k.Ei.K=olympe.j.J.R;k.BI.K=new olympe.j.J(()=>String,[]);k.CI.K=new olympe.j.J(()=>String,[]);k.yI.K=olympe.j.J.T;k.GN.K=olympe.j.J.D;olympe.ui.F.ea.vw=class extends olympe.ui.F.ea.gr{constructor(){super()}};olympe.ui.F.ea.vw.Fc='rectangle';olympe.ui.F.ea.li=class extends olympe.ui.F.ea.fd{constructor(){super();this.T=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.O=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.W=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.R=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.D=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd);this.C=olympe.j.ma(200)}uf(){return this.T}Og(){return this.O}vf(){return this.W}tf(){return this.R}IA(){return this.D}AA(){return this.C}};
731
+ olympe.ui.F.ea.li.C='selected';olympe.ui.F.ea.li.D='warning';olympe.ui.F.ea.li.Fc='checkbox';k=olympe.ui.F.ea.li.prototype;k.uf.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.Og.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.vf.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.tf.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.IA.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);k.AA.K=olympe.j.J.D;function ag(a){K(a.W,'dropdown-selectedvalue')}function bg(a){K(a.T,'dropdown-mouseoveritem')}
732
732
  olympe.ui.F.ea.ni=class extends olympe.ui.F.ea.fd{constructor(){super();this.W=olympe.j.Ab('');this.O=olympe.j.Ab('');this.T=olympe.j.Ab('');this.R=olympe.j.Ab('');this.C=olympe.j.ed();this.$=olympe.j.ed(0,0);this.da=olympe.j.ed(0,0);this.paddingTop=olympe.j.ma(0);this.paddingBottom=olympe.j.ma(0);this.paddingLeft=olympe.j.ma(0);this.paddingRight=olympe.j.ma(0);this.ca=olympe.j.ma(0);this.D=olympe.j.ub(olympe.ui.F.ea.fd,new olympe.ui.F.ea.fd)}TO(){return this.W}wO(){return this.O}CO(){return this.T}rz(a){K(this.R,
733
733
  a)}DN(){return this.C}CN(){return this.$}xO(){return this.da}td(a){K(this.paddingTop,a)}GI(){return this.paddingTop}sd(a){K(this.paddingBottom,a)}DI(){return this.paddingBottom}Gc(a){K(this.paddingLeft,a)}EI(){return this.paddingLeft}Kc(a){K(this.paddingRight,a)}FI(){return this.paddingRight}UO(){return this.ca}yO(){return this.D}};olympe.ui.F.ea.ni.Fc='dropdown';olympe.ui.F.ea.ni.O='dropdown-selectedvalue';olympe.ui.F.ea.ni.C='dropdown-item';olympe.ui.F.ea.ni.D='dropdown-mouseoveritem';k=olympe.ui.F.ea.ni.prototype;
734
734
  k.TO.K=olympe.j.J.R;k.wO.K=olympe.j.J.R;k.CO.K=olympe.j.J.R;k.rz.K=olympe.j.J.R;k.DN.K=olympe.j.J.W;k.CN.K=olympe.j.J.W;k.xO.K=olympe.j.J.W;k.GI.K=olympe.j.J.D;k.DI.K=olympe.j.J.D;k.EI.K=olympe.j.J.D;k.FI.K=olympe.j.J.D;k.UO.K=olympe.j.J.D;k.yO.K=new olympe.j.J(()=>olympe.ui.F.ea.fd,[]);function cg(a){K(a.T,olympe.j.ma(100))}olympe.ui.F.ea.Aj=class extends olympe.ui.F.ea.fd{constructor(){super();this.W=olympe.j.ma(30);this.T=olympe.j.ma(100);this.O=P(Hc());this.R=olympe.j.Ab('grid-cell');this.C=olympe.j.Ab('grid-cell');this.D=olympe.j.Ab('grid-selected-cell')}AO(){return this.W}bk(a){K(this.W,olympe.j.ma(a))}XN(){return this.T}fO(){return this.O}kO(){return this.R}PN(){return this.C}SO(){return this.D}};olympe.ui.F.ea.Aj.C='grid-cell';olympe.ui.F.ea.Aj.D='grid-selected-cell';
@@ -756,8 +756,8 @@ olympe.ui.F.ea.wm.Fc,olympe.ui.F.ea.wm,a,()=>{const b=new olympe.ui.F.ea.wm;var
756
756
  c.ad(olympe.j.ma(2));c.nd(olympe.j.Color.create(148,157,159));c.La(olympe.j.Color.create(180,181,181));c.Xb(olympe.j.ma(10));b.O=c;return b})}Bu(a){return S(this,olympe.ui.F.ea.Vh.Fc,olympe.ui.F.ea.Vh,a,b=>{const c=new olympe.ui.F.ea.Vh;c.qb(12);c.wb('"Helvetica Neue",Helvetica, Arial, sans-serif');c.kb(this.T);switch(b){case 'header1':c.Bb(800);c.qb(16);break;case 'header2':c.Bb(800);c.qb(14);break;case 'dropdown-item':case 'dropdown-selectedvalue':c.Yb(olympe.ui.ha.wc.Tc);c.Gc(10);c.Kc(10);c.W=
757
757
  new olympe.ui.F.ea.Vh;c.W.Yb(olympe.ui.ha.wc.Tc);c.W.Gc(10);c.W.Kc(10);break;case 'dropdown-mouseoveritem':c.La(this.Ja);c.Yb(olympe.ui.ha.wc.Tc);c.Gc(10);c.Kc(10);break;case 'grid-cell':c.Yb(olympe.ui.ha.wc.Tc);c.Vb(olympe.ui.ha.Cb.Tb);c.Gc(10);c.Kc(10);break;case 'grid-selected-cell':c.La(this.R);c.kb(this.T);c.Yb(olympe.ui.ha.wc.Tc);c.Vb(olympe.ui.ha.Cb.Tb);c.Gc(10);c.Kc(10);break;case olympe.ui.F.ea.mf.C.nw:c.La(this.oc);break;case olympe.ui.F.ea.mf.C.FD:c.La(this.Ja)}return c})}tx(){return S(this,
758
758
  olympe.ui.F.ea.Fj.Fc,olympe.ui.F.ea.Fj,void 0,()=>{const a=new olympe.ui.F.ea.Fj;a.Xb(4);var b=olympe.j.Color.create(0,0,0,.6);K(a.C,b);a.La(O());return a})}Zr(a){return S(this,olympe.ui.F.ea.Ok.Fc,olympe.ui.F.ea.Ok,a,()=>{const b=new olympe.ui.F.ea.Ok;b.Gb(new olympe.j.ga(500,1));b.$d(!1);b.Gd(!0);b.Xb(4);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.La(O());K(b.D,20);b.Df(20);K(b.O,'header1');K(b.T,'black_std');K(b.R,'selected');return b})}mx(a){return S(this,olympe.ui.F.ea.ni.Fc,olympe.ui.F.ea.ni,
759
- a,()=>{const b=new olympe.ui.F.ea.ni;K(b.O,'dropdown-item');ag(b);bg(b);b.rz('images/arrow2.png');var c=new olympe.j.ga(12,8);K(b.C,c);b.nd(Ec());b.La(this.R);b.td(2);b.sd(2);b.Gc(5);b.Kc(5);c=new olympe.ui.F.ea.fd;K(b.D,c);c.La(this.R);return b})}hx(){return S(this,olympe.ui.F.ea.li.Fc,olympe.ui.F.ea.li,void 0,()=>{const a=new olympe.ui.F.ea.li;a.IA().Gb(new olympe.j.ga(60,30));a.tf().La(olympe.j.Color.create(230,230,230));a.tf().nd(olympe.j.Color.create(191,191,191));a.tf().ad(2);a.tf().Xb(100);
760
- a.Og().La(olympe.j.Color.create(60,187,51));a.Og().Xb(100);a.uf().nd(olympe.j.Color.create(191,191,191));a.uf().ad(2);a.uf().Xb(100);a.uf().La(olympe.j.Color.create(230,230,230));a.sf().nd(olympe.j.Color.create(191,191,191));a.sf().ad(2);a.sf().Xb(100);a.sf().La(olympe.j.Color.create(230,230,230));return a})}ox(a){return S(this,olympe.ui.F.ea.Aj.Fc,olympe.ui.F.ea.Aj,a,()=>{const b=new olympe.ui.F.ea.Aj;b.La(this.Na);K(b.R,'grid-cell');K(b.C,'grid-cell');K(b.D,'grid-selected-cell');b.bk(30);cg(b);
759
+ a,()=>{const b=new olympe.ui.F.ea.ni;K(b.O,'dropdown-item');ag(b);bg(b);b.rz('images/arrow2.png');var c=new olympe.j.ga(12,8);K(b.C,c);b.nd(Ec());b.La(this.R);b.td(2);b.sd(2);b.Gc(5);b.Kc(5);c=new olympe.ui.F.ea.fd;K(b.D,c);c.La(this.R);return b})}hx(){return S(this,olympe.ui.F.ea.li.Fc,olympe.ui.F.ea.li,void 0,()=>{const a=new olympe.ui.F.ea.li;a.IA().Gb(new olympe.j.ga(60,30));a.uf().La(olympe.j.Color.create(230,230,230));a.uf().nd(olympe.j.Color.create(191,191,191));a.uf().ad(2);a.uf().Xb(100);
760
+ a.Og().La(olympe.j.Color.create(60,187,51));a.Og().Xb(100);a.vf().nd(olympe.j.Color.create(191,191,191));a.vf().ad(2);a.vf().Xb(100);a.vf().La(olympe.j.Color.create(230,230,230));a.tf().nd(olympe.j.Color.create(191,191,191));a.tf().ad(2);a.tf().Xb(100);a.tf().La(olympe.j.Color.create(230,230,230));return a})}ox(a){return S(this,olympe.ui.F.ea.Aj.Fc,olympe.ui.F.ea.Aj,a,()=>{const b=new olympe.ui.F.ea.Aj;b.La(this.Na);K(b.R,'grid-cell');K(b.C,'grid-cell');K(b.D,'grid-selected-cell');b.bk(30);cg(b);
761
761
  var c=olympe.j.Color.create(0,0,0);K(b.O,c);return b})}zu(a){return S(this,olympe.ui.F.ea.Wk.Fc,olympe.ui.F.ea.Wk,a,()=>{const b=new olympe.ui.F.ea.Wk;b.Gb(new olympe.j.ga(500,1));b.$d(!1);b.Gd(!0);b.Xb(4);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.La(O());K(b.D,10);b.Df(10);K(b.$,'header1');K(b.Ja,'black_std');K(b.W,'selected');K(b.ca,this.D);K(b.da,this.da);K(b.R,5);K(b.T,5);K(b.O,'"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}hf(){return S(this,olympe.ui.F.ea.Cr.Fc,olympe.ui.F.ea.Cr,
762
762
  void 0,()=>{const a=new olympe.ui.F.ea.Cr;a.La(this.Na);return a})}YA(a){return S(this,olympe.ui.F.ea.$p.Fc,olympe.ui.F.ea.$p,a,()=>{const b=new olympe.ui.F.ea.$p;K(b.W,olympe.j.ma(40));K(b.R,olympe.j.ma(12));K(b.T,olympe.j.ma(400));K(b.Oa,this.T);K(b.Ja,this.R);dg(b);eg(b);K(b.Ga,olympe.j.ma(1));var c=Ec();K(b.da,c);K(b.C,1);c=Ec();K(b.ca,c);K(b.$,this.D);c=olympe.j.ed(15,15);K(b.D,c);K(b.O,'images/close.png');return b})}uE(a){return S(this,olympe.ui.F.ea.jt.Fc,olympe.ui.F.ea.jt,a,()=>{const b=new olympe.ui.F.ea.jt;
763
763
  K(b.O,this.Na);K(b.T,this.T);var c=olympe.j.Color.create(240,173,78);K(b.R,c);K(b.D,'images/datepicker.png');c=new olympe.j.ga(10,10);K(b.C,c);return b})}OA(a){return S(this,olympe.ui.F.ea.ym.Fc,olympe.ui.F.ea.ym,a,()=>{const b=new olympe.ui.F.ea.ym;b.jv(!1);return b})}GA(a){return S(this,olympe.ui.F.ea.mf.Fc,olympe.ui.F.ea.mf,a,b=>{const c=new olympe.ui.F.ea.mf;switch(b){case olympe.ui.F.ea.mf.D.sH:K(c.C,olympe.ui.F.ea.mf.C.nw);break;default:K(c.C,olympe.ui.F.ea.mf.C.cz)}return c})}FE(a){return S(this,
@@ -767,7 +767,7 @@ c.ad(0);c.wb('Arial');break;case 'warning':c.Gb(new olympe.j.ga(150,20));c.La(ol
767
767
  b.Xb(2);b.wb('Arial');return b})}Bu(a){return S(this,olympe.ui.F.ea.Vh.Fc,olympe.ui.F.ea.Vh,a,b=>{const c=new olympe.ui.F.ea.Vh;c.qb(12);c.wb('Arial');switch(b){case 'header1':c.Bb(800);c.qb(16);c.wb('Arial');break;case 'header2':c.Bb(800);c.qb(14);c.wb('Arial');break;case 'dropdown-item':case 'dropdown-selectedvalue':c.qb(14);c.Yb(olympe.ui.ha.wc.Tc);c.Gc(5);c.Kc(5);c.wb('Arial');break;case 'dropdown-mouseoveritem':c.qb(14);c.La(olympe.j.Color.create(17,108,214));c.kb(O());c.Yb(olympe.ui.ha.wc.Tc);
768
768
  c.Gc(5);c.Kc(5);c.wb('Arial');break;case 'grid-selected-cell':c.qb(12),c.La(olympe.j.Color.create(0,138,227)),c.kb(O()),c.wb('Arial')}return c})}tx(){return S(this,olympe.ui.F.ea.Fj.Fc,olympe.ui.F.ea.Fj,void 0,()=>{const a=new olympe.ui.F.ea.Fj;a.Xb(4);var b=olympe.j.Color.create(0,0,0,.6);K(a.C,b);a.La(O());return a})}Zr(a){return S(this,olympe.ui.F.ea.Ok.Fc,olympe.ui.F.ea.Ok,a,()=>{const b=new olympe.ui.F.ea.Ok;b.Gb(new olympe.j.ga(500,1));b.$d(!1);b.Gd(!0);b.Xb(4);var c=olympe.j.Color.create(0,
769
769
  0,0,.6);K(b.C,c);b.La(O());K(b.D,20);b.Df(20);K(b.O,'header1');K(b.R,'selected');return b})}mx(a){return S(this,olympe.ui.F.ea.ni.Fc,olympe.ui.F.ea.ni,a,()=>{const b=new olympe.ui.F.ea.ni;K(b.O,'dropdown-item');ag(b);bg(b);b.rz('images/arrow.png');var c=new olympe.j.ga(20,20);K(b.C,c);b.nd(Ec());b.ad(1);b.La(O());b.td(2);b.sd(2);b.Gc(5);b.Kc(5);c=new olympe.ui.F.ea.fd;K(b.D,c);c.fh(new olympe.j.ga(2,2),10,1,olympe.j.Color.create(160,160,160));c.nd(Ec());c.ad(1);c.La(olympe.j.Color.create(255,255,
770
- 255,.9));return b})}hx(){return S(this,olympe.ui.F.ea.li.Fc,olympe.ui.F.ea.li,void 0,()=>{const a=new olympe.ui.F.ea.li;a.tf().La(O());a.tf().nd(olympe.j.Color.create(191,191,191));a.tf().ad(2);a.tf().Xb(100);a.Og().La(olympe.j.Color.create(60,187,51));a.Og().Xb(100);a.uf().nd(olympe.j.Color.create(191,191,191));a.uf().ad(2);a.uf().Xb(100);a.uf().La(O());a.sf().nd(olympe.j.Color.create(191,191,191));a.sf().ad(2);a.sf().Xb(100);a.sf().La(O());return a})}ox(a){return S(this,olympe.ui.F.ea.Aj.Fc,olympe.ui.F.ea.Aj,
770
+ 255,.9));return b})}hx(){return S(this,olympe.ui.F.ea.li.Fc,olympe.ui.F.ea.li,void 0,()=>{const a=new olympe.ui.F.ea.li;a.uf().La(O());a.uf().nd(olympe.j.Color.create(191,191,191));a.uf().ad(2);a.uf().Xb(100);a.Og().La(olympe.j.Color.create(60,187,51));a.Og().Xb(100);a.vf().nd(olympe.j.Color.create(191,191,191));a.vf().ad(2);a.vf().Xb(100);a.vf().La(O());a.tf().nd(olympe.j.Color.create(191,191,191));a.tf().ad(2);a.tf().Xb(100);a.tf().La(O());return a})}ox(a){return S(this,olympe.ui.F.ea.Aj.Fc,olympe.ui.F.ea.Aj,
771
771
  a,()=>{const b=new olympe.ui.F.ea.Aj;K(b.R,'grid-cell');K(b.C,'grid-cell');K(b.D,'grid-selected-cell');b.bk(30);cg(b);var c=Ec();K(b.O,c);return b})}zu(a){return S(this,olympe.ui.F.ea.Wk.Fc,olympe.ui.F.ea.Wk,a,()=>{const b=new olympe.ui.F.ea.Wk;b.Gb(new olympe.j.ga(500,1));b.$d(!1);b.Gd(!0);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.La(O());K(b.D,20);b.Df(20);K(b.$,'header1');K(b.W,'selected');K(b.nb,1);c=N();K(b.tb,c);K(b.ca,this.D);K(b.da,this.da);K(b.Fb,2);K(b.yb,2);K(b.R,2);K(b.T,2);K(b.O,
772
772
  'Arial');return b})}hf(){return S(this,olympe.ui.F.ea.Cr.Fc,olympe.ui.F.ea.Cr,void 0,()=>new olympe.ui.F.ea.Cr)}};olympe.ui.F.ea.jt=class extends olympe.ui.F.ea.fd{constructor(){super();this.D=olympe.j.Ab('');this.C=olympe.j.ed(10,10);this.O=olympe.j.pd();this.W=olympe.j.pd();this.$=olympe.j.ma();this.T=olympe.j.pd();this.R=olympe.j.pd();this.Ga=olympe.j.pd();this.Ja=olympe.j.pd();this.Fb=olympe.j.pd();this.yb=olympe.j.pd();this.Oa=olympe.j.ma();this.tb=olympe.j.ma();this.ca=olympe.j.pd();this.da=olympe.j.ma();this.nb=olympe.j.ma()}ON(){return this.D}NN(){return this.C}GO(){return this.O}ES(){return this.W}QX(){return this.$}IO(){return this.T}HO(){return this.R}KN(){return this.Ga}WO(){return this.Ja}cP(){return this.Fb}bP(){return this.yb}ZO(){return this.Oa}$O(){return this.tb}XO(){return this.ca}YO(){return this.da}aP(){return this.nb}};
773
773
  olympe.ui.F.ea.jt.Fc='datepicker';k=olympe.ui.F.ea.jt.prototype;k.ON.K=olympe.j.J.R;k.NN.K=olympe.j.J.W;k.GO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.ES.K=new olympe.j.J(()=>olympe.j.Color,[]);k.QX.K=olympe.j.J.D;k.IO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.HO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.KN.K=new olympe.j.J(()=>olympe.j.Color,[]);k.WO.K=new olympe.j.J(()=>olympe.j.Color,[]);k.cP.K=new olympe.j.J(()=>olympe.j.Color,[]);k.bP.K=new olympe.j.J(()=>olympe.j.Color,[]);k.ZO.K=olympe.j.J.D;
@@ -789,8 +789,8 @@ a);this.R=olympe.j.Xc(void 0===a);b=olympe.ui.Ka.D().Bu(this.O);olympe.ui.F.bb.p
789
789
  (T(this).Yq(),e=null,c.oe(d.pa()),c.Fe(d.sa()))})}Jb(a){T(this).Jb(a);return this}Bb(a){T(this).Bb(a);return this}wb(a){T(this).wb(a);return this}qb(a){T(this).qb(a);return this}Rd(a){T(this).Rd(a);return this}kb(a){T(this).kb(olympe.j.bg(a,b=>b.ji()));return this}ho(a){olympe.j.Pg(a)?this.D.repeat(a):this.D.update(a);return this}gi(a){olympe.j.Pg(a)?this.C.repeat(a):this.C.update(a);return this}Vb(a){T(this).Vb(a);return this}Yb(a){T(this).Yb(a);return this}$d(a){K(this.T,a);return this}Gd(a){K(this.R,
790
790
  a);return this}bk(a){T(this).bk(a);return this}Gc(a){olympe.j.Pg(a)?this.paddingLeft.repeat(a):('number'===typeof a&&(a=olympe.j.Ca(a)),this.paddingLeft.update(a));return this}Kc(a){olympe.j.Pg(a)?this.paddingRight.repeat(a):('number'===typeof a&&(a=olympe.j.Ca(a)),this.paddingRight.update(a));return this}td(a){olympe.j.Pg(a)?this.paddingTop.repeat(a):('number'===typeof a&&(a=olympe.j.Ca(a)),this.paddingTop.update(a));return this}sd(a){olympe.j.Pg(a)?this.paddingBottom.repeat(a):('number'===typeof a&&
791
791
  (a=olympe.j.Ca(a)),this.paddingBottom.update(a));return this}Sl(a){olympe.j.Wa([a],b=>{T(this).Sl(b.valueOf())});return this}Eg(a){K(this.O,a);return this}be(a){a&&(super.be(a),this.qb(a.KI()),this.Bb(a.Fi()),this.wb(a.Ei()),this.Rd(a.El()),this.sd(a.LI()),this.Gc(a.MI()),this.Kc(a.NI()),this.td(a.OI()),this.kb(a.QI()),this.Vb(a.RI()),this.Yb(a.SI()))}};olympe.ui.F.bb.Ba=[olympe.ui.F.Qv];k=olympe.ui.F.bb.prototype;k.Jb.K=olympe.j.J.C([]);k.Bb.K=olympe.j.J.C([]);k.wb.K=olympe.j.J.C([]);k.qb.K=olympe.j.J.C([]);
792
- k.Rd.K=olympe.j.J.C([]);k.kb.K=olympe.j.J.C([]);k.ho.K=olympe.j.J.C([]);k.Vb.K=olympe.j.J.C([]);k.Yb.K=olympe.j.J.C([]);k.$d.K=olympe.j.J.C([]);k.Gd.K=olympe.j.J.C([]);k.bk.K=olympe.j.J.C([]);k.Gc.K=olympe.j.J.C([0]);k.Kc.K=olympe.j.J.C([0]);k.td.K=olympe.j.J.C([0]);k.sd.K=olympe.j.J.C([0]);k.Sl.K=olympe.j.J.C([0]);k.Eg.K=olympe.j.J.C([]);function fg(a,b,c){a.O().appendChild(T(b),c);b.Ef(a)}function gg(a,b){a.O().$(b)}olympe.ui.F.de=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.F.de,olympe.host.$a.ib.Yz),a)}O(){return this.te()}appendChild(){}removeChild(){}Tr(){this.O().Tr();return this}};function hg(a){const b=olympe.j.Pa(a.na),c=olympe.j.Pa(a.ca),d=olympe.j.Pa(a.da),e=olympe.ui.Ka.W(a,'getScrollbarThicknessX'),f=olympe.ui.Ka.W(a,'getScrollbarThicknessY');a.dd.update(b&&c?e:0);a.vf.update(b&&d?f:0)}function ig(a,b){a.te().BB(b.pa());a.te().CB(b.sa())}
793
- olympe.ui.F.wd=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.F.wd,olympe.host.$a.ib.QL),a);this.W=null;this.na=M(olympe.j.Ya(olympe.j.ia),olympe.j.ia.ob);this.ca=M(olympe.j.Ya(olympe.j.ia),olympe.j.ia.ob);this.da=M(olympe.j.Ya(olympe.j.ia),olympe.j.ia.ob);this.dd=M(olympe.j.Ya(olympe.j.aa),olympe.j.aa.ZERO);this.vf=M(olympe.j.Ya(olympe.j.aa),olympe.j.aa.ZERO);olympe.j.Wa([this.na,this.ca,this.da],()=>{$c(()=>hg(this),0)});this.Li(()=>{hg(this)})}Qd(a){this.te().Qd(T(a));
792
+ k.Rd.K=olympe.j.J.C([]);k.kb.K=olympe.j.J.C([]);k.ho.K=olympe.j.J.C([]);k.Vb.K=olympe.j.J.C([]);k.Yb.K=olympe.j.J.C([]);k.$d.K=olympe.j.J.C([]);k.Gd.K=olympe.j.J.C([]);k.bk.K=olympe.j.J.C([]);k.Gc.K=olympe.j.J.C([0]);k.Kc.K=olympe.j.J.C([0]);k.td.K=olympe.j.J.C([0]);k.sd.K=olympe.j.J.C([0]);k.Sl.K=olympe.j.J.C([0]);k.Eg.K=olympe.j.J.C([]);function fg(a,b,c){a.O().appendChild(T(b),c);b.Ef(a)}function gg(a,b){a.O().$(b)}olympe.ui.F.de=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.F.de,olympe.host.$a.ib.Yz),a)}O(){return this.te()}appendChild(){}removeChild(){}Tr(){this.O().Tr();return this}};function hg(a){const b=olympe.j.Pa(a.na),c=olympe.j.Pa(a.ca),d=olympe.j.Pa(a.da),e=olympe.ui.Ka.W(a,'getScrollbarThicknessX'),f=olympe.ui.Ka.W(a,'getScrollbarThicknessY');a.dd.update(b&&c?e:0);a.wf.update(b&&d?f:0)}function ig(a,b){a.te().BB(b.pa());a.te().CB(b.sa())}
793
+ olympe.ui.F.wd=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.F.wd,olympe.host.$a.ib.QL),a);this.W=null;this.na=M(olympe.j.Ya(olympe.j.ia),olympe.j.ia.ob);this.ca=M(olympe.j.Ya(olympe.j.ia),olympe.j.ia.ob);this.da=M(olympe.j.Ya(olympe.j.ia),olympe.j.ia.ob);this.dd=M(olympe.j.Ya(olympe.j.aa),olympe.j.aa.ZERO);this.wf=M(olympe.j.Ya(olympe.j.aa),olympe.j.aa.ZERO);olympe.j.Wa([this.na,this.ca,this.da],()=>{$c(()=>hg(this),0)});this.Li(()=>{hg(this)})}Qd(a){this.te().Qd(T(a));
794
794
  a.Ef(this)}ou(){this.te().ou()}Ls(a){this.te().Ls(a);olympe.j.Zb(a)?this.ca.repeat(a):this.ca.update(a)}rv(a){this.te().rv(a);olympe.j.Zb(a)?this.da.repeat(a):this.da.update(a)}Ms(a){this.te().Ms(a);olympe.j.Zb(a)?this.na.repeat(a):this.na.update(a)}ly(a){this.te().ly(a.HB())}T(){null===this.W&&Q(this,()=>{this.W=new olympe.j.ga(0,0);this.te().nB((a,b)=>{this.W.oe(a);this.W.Fe(b)})});return this.W}};olympe.ui.F.wd.prototype.T.K=olympe.j.J.W;olympe.ui.F.hr=class{Lw(){}oa(){}UA(){}DA(){}};olympe.ui.F.hr.prototype.Lw.K=new olympe.j.J(()=>olympe.ui.F.lb,[]);olympe.ui.F.hr.prototype.oa.K=olympe.j.J.W;olympe.ui.F.hr.prototype.UA.K=olympe.j.J.D;olympe.ui.F.hr.prototype.DA.K=olympe.j.J.D;olympe.ui.F.fD=class{constructor(a,b,c){this.C=new olympe.j.Ce(olympe.ui.F.lb);this.ca=olympe.j.ma(0);this.$=olympe.j.ma(Number.MAX_SAFE_INTEGER);this.T=olympe.j.ma(a);const d=this.C.Kh(this.C.Sc().ya(1));this.D=olympe.j.Xc(void 0!==b?b:!1);this.bB=olympe.j.Xc(!1);this.Vw=olympe.j.ub(olympe.ui.F.ea.fd);this.Uw=olympe.j.ma();this.O=olympe.j.Za(this.bB,()=>this.Uw,()=>olympe.j.Ca(0),olympe.j.aa);this.animation=olympe.j.ub(olympe.ui.F.Hm);this.rA=olympe.j.ma(0);this.R=!1;this.W=olympe.j.Za(this.D,()=>
795
795
  new olympe.j.ga(olympe.j.pj(d.pa().Ra(d.Ed()),0),a),()=>new olympe.j.ga(a,olympe.j.pj(d.sa().Ra(d.De()),0)),olympe.j.ga);olympe.ui.F.fD.prototype.da.call(this,olympe.ui.Ka.D().OA(c))}Lw(a,b,c,d,e,f,g){const h=e.gf(d),l=olympe.j.Ca(0),m=olympe.j.Ya(olympe.ui.F.lb);olympe.j.Wa([h],w=>{0<w.valueOf()?(w=this.C.Kh(w.valueOf()-1),olympe.j.Wa([w],x=>{m.update(x)})):(w=olympe.j.zb(),olympe.j.gn(w)&&hc(w),m.clear())});const n=m.va(),p=olympe.j.Za(this.D,()=>new olympe.j.ga(pc(n.pa().Ra(n.Ed()),l),l),()=>new olympe.j.ga(l,
796
796
  pc(n.sa().Ra(n.De()),l)),olympe.j.ga),r=olympe.j.Za(this.D,()=>new olympe.j.ga(p.pa().Ra(this.O),p.sa()),()=>new olympe.j.ga(p.pa(),p.sa().Ra(this.O)),olympe.j.ga),t=new olympe.ui.F.xe(olympe.j.Za(this.D,()=>new olympe.j.ga(this.O,this.T),()=>new olympe.j.ga(this.T,this.O),olympe.j.ga));t.be(this.Vw);t.rd(h.Re(0));t.setPosition(p);a.appendChild(t,'divider-'+d);const u=b(c,d,h,e,g);u.setPosition(r);a.appendChild(u,d);const v=F(this.animation);v&&(u.og(0),olympe.j.Wa([h],w=>{const x=F(this.rA).valueOf()*
@@ -806,17 +806,17 @@ m)))))},'ForEachLimited count process flow');const g=olympe.j.Xa([this.R,this.da
806
806
  x===r?t:0;y<n;y++){const B=x*n+y;if(B>=v)break;const H=new olympe.j.ee(`ForEachLimitedTile[${x}]`),G=H.run(()=>new jg(this.Ve,this.Qb,this.vq.bind(this)));this.C[B]=G;this.content.appendChild(G.R,G.ja());H.run(()=>olympe.j.Za(this.nb,()=>G.R.Wc(this.yb.bind(this,G))))}}else{for(v=p;v>m;v--)w=this.C[v-1],x=w.ja(),this.content.removeChild(x),w.destroy();this.C.length=m}})}});const h=this.T().sa();olympe.j.Wa([this.data,this.data.Sc()],l=>{if(!this.D.$f()){var m=0,n=!0;olympe.j.Wa([this.R,this.Ja,this.Fb,
807
807
  h,this.Ga],(p,r,t,u,v)=>{if(!this.D.$f()){var w=olympe.j.Pa(g,-1).valueOf();if(u.valueOf()>w&&0<w)K(h,olympe.j.aa.ZERO);else{v=v.valueOf();if(!(0>=t.valueOf())){w=Math.floor(u.valueOf()/t.valueOf());u=Math.floor(u.valueOf()%t.valueOf()/p);var x=this.O.qg,y=this.Oa.qg,B=v!==m;for(let G=0,R=Math.ceil(this.C.length/x);G<R;G++){var H=olympe.j.Pa(this.C[G*x].O.va()).valueOf();const fa=w+(G<u?1:0),Ta=fa*t.valueOf()+G*p;if(B&&(G+1)*x>m||n||H!==Ta){H=G===Math.floor(v/x)?v%x:x;for(let ta=0;ta<H;ta++){const Ob=
808
808
  G*x+ta;if(!n&&B&&Ob<m)continue;const J=fa*v+Ob,V=this.C[Ob];kg(V,()=>{olympe.j.Wa([l.Kh(J)],Ka=>{V.O.update(olympe.j.Ca(Ta));V.W.update(olympe.j.Ca(ta*r+(ta+1)*y));var ua=V,Ua=l.xl(J),Xa=J;Ua!==ua.C&&(ua.C=Ua,K(ua.T,Ka),K(ua.$,Xa),K(ua.selected,ua.vq(Ua)))},`ForEachLimited Tile update object in rank ${J} flow`)})}}}}m=v;n=!1}}})}});olympe.j.Wa([this.Oa,this.O],(l,m)=>{if(!this.D.$f()){var n=this.Ja.qg,p=this.R.qg;for(let r=0,t=this.C.length;r<t;r++){const u=r%m,v=this.C[r];v.W.update(olympe.j.Ca(n*
809
- u+l*(u+1)));v.O.update(olympe.j.Ca(Math.floor(r/m)*p))}}});this.data.forEach((l,m)=>olympe.j.zb().onDestroy(()=>{this.selected.remove(m)}));this.Gb(a);this.Qd(this.content)}ld(){return this.selected}fc(){return this.content.oa()}vq(a){return void 0!==this.selected.Mj(a)}wf(a){'string'===typeof a&&(a=[a]);if(a instanceof Array||a instanceof olympe.j.Qk){this.selected.clear();const b=this.C;for(let c=0,d=b.length;c<d;c++)K(b[c].selected,!1);a.forEach(c=>{for(let d=0,e=b.length;d<e;d++)if(c===b[d].C){this.yb(b[d]);
809
+ u+l*(u+1)));v.O.update(olympe.j.Ca(Math.floor(r/m)*p))}}});this.data.forEach((l,m)=>olympe.j.zb().onDestroy(()=>{this.selected.remove(m)}));this.Gb(a);this.Qd(this.content)}ld(){return this.selected}fc(){return this.content.oa()}vq(a){return void 0!==this.selected.Mj(a)}xf(a){'string'===typeof a&&(a=[a]);if(a instanceof Array||a instanceof olympe.j.Qk){this.selected.clear();const b=this.C;for(let c=0,d=b.length;c<d;c++)K(b[c].selected,!1);a.forEach(c=>{for(let d=0,e=b.length;d<e;d++)if(c===b[d].C){this.yb(b[d]);
810
810
  break}})}return this}yb(a){if(olympe.j.Pa(this.nb).valueOf()){var b=olympe.j.Pa(!1).valueOf(),c=a.C,d=this.selected;if(void 0!==d.Mj(c))K(a.selected,!1),d.remove(c);else{var e=olympe.j.Pa(d.Zm());if(!b&&void 0!==e){d.remove(e);b=this.C;for(let f=0,g=b.length;f<g;f++)if(b[f].C===e){K(b[f].selected,!1);break}}olympe.j.us([this.data.get(c)],f=>{d.set(c,f);K(a.selected,!0)})}}}};function kg(a,b){a.ca.Fo();a.ca.run(b)}
811
811
  class jg{constructor(a,b,c){this.id=olympe.la.AN('ForEachLimited_row');this.D=olympe.j.zb();this.T=olympe.j.ub();olympe.j.Wa([b],d=>{mc(this.T,d)});this.C='';this.vq=c;this.$=olympe.j.ub(Number);this.ca=new olympe.j.ee('Rank listener context',this.D);this.selected=olympe.j.Xc(olympe.j.ia.ob);this.R=a(this.T,this.$,this.selected);this.R.$j(!0);this.W=olympe.j.Ya(olympe.j.aa).update(olympe.j.aa.ZERO);this.O=olympe.j.Ya(olympe.j.aa).update(olympe.j.aa.ZERO);this.R.setPosition(new olympe.j.ga(this.W.va(),
812
- this.O.va()))}ja(){return this.id}destroy(){this.D&&(this.D.destroy(),this.D=null)}}olympe.ui.F.tt.prototype.ld.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.F.tt.prototype.fc.K=olympe.j.J.W;olympe.ui.F.tt.prototype.wf.K=olympe.j.J.C([]);olympe.ui.F.mc=class extends olympe.ui.F.de{constructor(a,b,c){super();this.Qb=olympe.j.Ab(c);this.R=olympe.j.ma(0);this.vf=olympe.j.pd();this.ld=olympe.j.pd();this.Ck=olympe.j.pd();this.wf=olympe.j.pd();this.yb=olympe.j.pd();this.Fb=olympe.j.pd();this.Rc=olympe.j.pd();this.Il=olympe.j.pd();this.mg=olympe.j.pd();this.Ro=olympe.j.ma();this.Bg=olympe.j.ma();this.dd=olympe.j.ma();this.fc=olympe.j.pd();this.W=olympe.j.pd();this.Nf=olympe.j.Xc(!1);this.Ne=olympe.j.Xc(!1);this.T=olympe.j.ma(0);this.nb=
812
+ this.O.va()))}ja(){return this.id}destroy(){this.D&&(this.D.destroy(),this.D=null)}}olympe.ui.F.tt.prototype.ld.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.F.tt.prototype.fc.K=olympe.j.J.W;olympe.ui.F.tt.prototype.xf.K=olympe.j.J.C([]);olympe.ui.F.mc=class extends olympe.ui.F.de{constructor(a,b,c){super();this.Qb=olympe.j.Ab(c);this.R=olympe.j.ma(0);this.wf=olympe.j.pd();this.ld=olympe.j.pd();this.Ck=olympe.j.pd();this.xf=olympe.j.pd();this.yb=olympe.j.pd();this.Fb=olympe.j.pd();this.Rc=olympe.j.pd();this.Il=olympe.j.pd();this.mg=olympe.j.pd();this.Ro=olympe.j.ma();this.Bg=olympe.j.ma();this.dd=olympe.j.ma();this.fc=olympe.j.pd();this.W=olympe.j.pd();this.Nf=olympe.j.Xc(!1);this.Ne=olympe.j.Xc(!1);this.T=olympe.j.ma(0);this.nb=
813
813
  olympe.j.ma(0);this.Oa=olympe.j.ma(0);this.da=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob);this.Ga=olympe.j.Ab('');c=this.Ed().ya(this.R.gb(2));var d=this.De().ya(this.R.gb(2));this.C=new olympe.ui.F.bb(new olympe.j.ga(20,d));this.label=new olympe.ui.F.bb(new olympe.j.ga(0,d));this.label.$d(!0);this.label.hb('pointer-events','inherit');this.na=olympe.j.ma();this.ca=olympe.j.ma();this.D=olympe.j.Ya(olympe.j.ia);this.D.update(olympe.j.ia.ob);this.Ja=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob);
814
814
  const e=olympe.ui.Y.MouseEvent,f=this.ph(p=>{p.Nm().Rb(e.My)&&this.D.update(olympe.j.ia.C)}),g=this.$g(p=>{p.Nm().Rb(e.My)&&this.D.update(olympe.j.ia.ob)}),h=this.Ki(()=>{this.D.update(olympe.j.ia.ob);this.Ja.update(olympe.j.ia.ob)}),l=this.lj(p=>{this.Ja.update(olympe.j.ia.C);p.sP(e.My).valueOf()&&this.D.update(olympe.j.ia.C)}),m=this.Wc(()=>{this.D.update(olympe.j.ia.ob)});olympe.j.zb().Ue(()=>{this.Dk(f);this.Qg(g);this.Xj(h);this.Ek(l);this.Wj(m)});const n=olympe.ui.Ka.D().Nm(this.Qb);d=(p,r,
815
815
  t,u)=>olympe.j.Xa([this.da.va(),this.D.va(),this.Ja.va()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.Color);void 0!==b&&this.Jb(b);this.label.kb(d(this.W,this.Fb,this.yb,this.W));this.C.Jb(this.Ga);this.C.kb(d(this.W,this.Fb,this.yb,this.W));this.C.wb('FontAwesome');this.C.Vb(olympe.ui.ha.Cb.Tb);this.C.rd(this.Ga.Ii());b=olympe.j.Za(this.Ga.Ii(),()=>this.label.Ed(),()=>this.label.Ed().Ra(this.C.Ed()).Ra(this.Oa),olympe.j.aa);b=c.ya(b).Ta(2);this.label.setPosition(new olympe.j.ga(this.R.Ra(b),
816
816
  this.R));this.C.setPosition(new olympe.j.ga(this.label.ce().pa().Ra(this.label.Ed()).Ra(this.Oa),this.R));fg(this,this.label,'label');fg(this,this.C,'icon');olympe.ui.F.mc.prototype.be.call(this,n);olympe.ui.F.de.prototype.ad.call(this,((p,r,t,u)=>olympe.j.Xa([this.da.va(),this.D.va(),this.Ja.va()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.aa))(this.R,this.Ro,this.dd,this.Bg));olympe.ui.F.lb.prototype.nd.call(this,d(this.fc,this.Il,this.Rc,this.mg));olympe.ui.F.lb.prototype.La.call(this,
817
- d(this.vf,this.Ck,this.ld,this.wf));K(this.ca,void 0!==a?a.sa():n.oa().sa());olympe.ui.F.lb.prototype.Gb.call(this,new olympe.j.ga(this.na,this.ca));olympe.j.Za(this.Nf,()=>{this.label.Gc(this.T);olympe.j.Pa(this.Ga.Ii()).valueOf()?(this.label.Kc(this.T),K(this.na,this.label.Ed())):(this.C.Kc(this.T),K(this.na,this.label.Ed().Ra(this.C.Ed()).Ra(this.Oa).Ra(this.T)))},()=>{this.label.Gc(olympe.j.aa.ZERO);this.label.Kc(olympe.j.aa.ZERO);this.C.Kc(olympe.j.aa.ZERO);K(this.na,void 0!==a?a.pa():n.oa().pa())});
817
+ d(this.wf,this.Ck,this.ld,this.xf));K(this.ca,void 0!==a?a.sa():n.oa().sa());olympe.ui.F.lb.prototype.Gb.call(this,new olympe.j.ga(this.na,this.ca));olympe.j.Za(this.Nf,()=>{this.label.Gc(this.T);olympe.j.Pa(this.Ga.Ii()).valueOf()?(this.label.Kc(this.T),K(this.na,this.label.Ed())):(this.C.Kc(this.T),K(this.na,this.label.Ed().Ra(this.C.Ed()).Ra(this.Oa).Ra(this.T)))},()=>{this.label.Gc(olympe.j.aa.ZERO);this.label.Kc(olympe.j.aa.ZERO);this.C.Kc(olympe.j.aa.ZERO);K(this.na,void 0!==a?a.pa():n.oa().pa())});
818
818
  olympe.j.Za(this.Ne,()=>{this.label.td(this.nb);this.label.sd(this.nb);K(this.ca,this.label.oa().sa())},()=>{this.label.td(olympe.j.aa.ZERO);this.label.sd(olympe.j.aa.ZERO);K(this.ca,void 0!==a?a.sa():n.oa().sa())})}KZ(a){this.label.Jb(a);return this}IZ(a){K(this.Ga,a);return this}Jb(a){this.label.Jb(a);return this}gi(a){this.label.gi(a);return this}KS(a){this.label.ho(a);return this}Vb(a){this.label.Vb(a);return this}Yb(a){this.label.Yb(a);return this}qb(a){this.label.qb(a);return this}Rd(a){this.label.Rd(a);
819
- return this}kb(a){return this.Sx(a)}Bb(a){this.label.Bb(a);return this}wb(a){this.label.wb(a);return this}La(a){K(this.vf,a);return this}UC(a){K(this.ld,a)}fk(a){K(this.Ck,a);return this}JS(a){K(this.wf,a);return this}VC(a){K(this.yb,a)}WC(a){K(this.Fb,a)}nJ(a){K(this.Rc,a)}oJ(a){K(this.Il,a)}GZ(a){K(this.mg,a);return this}SZ(a){K(this.Ro,a);return this}HZ(a){K(this.Bg,a);return this}DZ(a){K(this.dd,a);return this}$d(a,b=0){a='boolean'===typeof a?olympe.j.kc(a):a;b='number'===typeof b?olympe.j.Ca(b):
819
+ return this}kb(a){return this.Sx(a)}Bb(a){this.label.Bb(a);return this}wb(a){this.label.wb(a);return this}La(a){K(this.wf,a);return this}UC(a){K(this.ld,a)}fk(a){K(this.Ck,a);return this}JS(a){K(this.xf,a);return this}VC(a){K(this.yb,a)}WC(a){K(this.Fb,a)}nJ(a){K(this.Rc,a)}oJ(a){K(this.Il,a)}GZ(a){K(this.mg,a);return this}SZ(a){K(this.Ro,a);return this}HZ(a){K(this.Bg,a);return this}DZ(a){K(this.dd,a);return this}$d(a,b=0){a='boolean'===typeof a?olympe.j.kc(a):a;b='number'===typeof b?olympe.j.Ca(b):
820
820
  b;K(this.Nf,a);K(this.T,b);return this}Gd(a,b=0){a='boolean'===typeof a?olympe.j.kc(a):a;b='number'===typeof b?olympe.j.Ca(b):b;K(this.Ne,a);K(this.nb,b);return this}JZ(a=0){K(this.Oa,a);return this}Md(a,b){this.ad(a);this.nd(b);return this}ad(a){K(this.R,a)}nd(a){K(this.fc,a)}Sx(a){K(this.W,a);return this}IS(a){return this.Sx(a)}Cf(a){olympe.j.Pg(a)?this.da.repeat(a):this.da.update(a);return this}Gb(a){K(this.Nf,!1);K(this.na,a.pa());K(this.ca,a.sa());return this}Wc(a,b,c){return super.Wc(d=>{if(!olympe.j.Pa(this.da).valueOf())return a(d)},
821
821
  b,c)}be(a){a&&(super.be(a),this.$d(a.yI(),a.GN()),this.UC(a.bO()),this.fk(a.KO()),this.VC(a.dO()),this.WC(a.MO()),this.nJ(a.cO()),this.oJ(a.LO()),this.Vb(a.BI()),this.Yb(a.CI()),this.Sx(a.AI()),this.qb(a.zI()),this.wb(a.Ei()),this.Bb(a.Fi()))}Eg(a){K(this.Qb,a);return this}};olympe.ui.F.mc.Ba=[olympe.ui.F.Qv];k=olympe.ui.F.mc.prototype;k.KZ.K=olympe.j.J.C([]);k.IZ.K=olympe.j.J.C([]);k.Jb.K=olympe.j.J.C([]);k.gi.K=olympe.j.J.C([]);k.KS.K=olympe.j.J.C([]);k.Vb.K=olympe.j.J.C([]);k.Yb.K=olympe.j.J.C([]);
822
822
  k.qb.K=olympe.j.J.C([]);k.Rd.K=olympe.j.J.C([]);k.kb.K=olympe.j.J.C([]);k.Bb.K=olympe.j.J.C([]);k.wb.K=olympe.j.J.C([]);k.La.K=olympe.j.J.C([]);k.UC.K=olympe.j.J.C([]);k.fk.K=olympe.j.J.C([]);k.JS.K=olympe.j.J.C([]);k.VC.K=olympe.j.J.C([]);k.WC.K=olympe.j.J.C([]);k.nJ.K=olympe.j.J.C([]);k.oJ.K=olympe.j.J.C([]);k.GZ.K=olympe.j.J.C([]);k.SZ.K=olympe.j.J.C([]);k.HZ.K=olympe.j.J.C([]);k.DZ.K=olympe.j.J.C([]);k.$d.K=olympe.j.J.C([]);k.Gd.K=olympe.j.J.C([]);k.JZ.K=olympe.j.J.C([]);k.ad.K=olympe.j.J.C([]);
@@ -841,7 +841,7 @@ olympe.ui.F.DH.Ba=[olympe.j.File];olympe.ui.F.Qf=class{constructor(){}filter(){}
841
841
  g,h)=>{h=h.gf(g);const l=e(this.R,f,g,h);l.Wc(()=>{I(this.D,f);I(this.O,g)});this.content.appendChild(l,g,new olympe.j.ga(0,h.gb(this.C)))})})}pJ(a){K(this.data,a)}aQ(a){K(this.C,a)}qJ(a){K(this.Ve,a)}LS(){return this.O}MS(){return this.D}};k=olympe.ui.F.Ce.prototype;k.pJ.K=olympe.j.J.C([]);k.aQ.K=olympe.j.J.C([]);k.qJ.K=olympe.j.J.C([]);k.LS.K=new olympe.j.J(()=>String,[]);k.MS.K=new olympe.j.J(()=>Object,[]);olympe.ui.F.Hm=class{constructor(){}run(){}Yj(){}C(){}};function ng(a){const b=a.na+String((new Date).getTime()+Math.random());olympe.j.Za(a.Oa,()=>{null!==a.D&&a.D.gh(olympe.ui.Ka.O(b+'_overlay').Ra(1));a.C.gh(olympe.ui.Ka.O(b).Ra(1));a.O=F(a.T);a.O.appendChild(a.C,a.na);const c=()=>{for(const e in a.yb)if(Object.prototype.hasOwnProperty.call(a.yb,e))a.yb[e]();a.aF();null!==a.D&&a.D.setPosition(new olympe.j.ga(0,0))},d=F(a.animation);null!==d?F(a.Ja).valueOf()?d.Yj(a.content,a.O,c):d.Yj(a.C,a.O,c):c();null!==a.D&&(a.O.rj(),a.O.appendChild(a.D,a.na+'_overlay'),
842
842
  null!==d&&F(a.Aa).valueOf()&&d.Yj(a.D,a.O,c))},()=>{if(null!==a.O){const c=a.O;a.O=null;const d=()=>{olympe.ui.Ka.R(b+'_overlay');olympe.ui.Ka.R(b);c.removeChild(a.na);null!==a.D&&c.removeChild(a.na+'_overlay');a.aF();null!==a.D&&a.D.setPosition(new olympe.j.ga(0,0));for(const f in a.$)if(Object.prototype.hasOwnProperty.call(a.$,f))a.$[f]()},e=olympe.j.Pa(a.animation);if(null!==e&&void 0!==e){const f=null!==a.D&&olympe.j.Pa(a.Aa)===olympe.j.ia.C;F(a.Ja).valueOf()?e.C(a.content,c,f?void 0:d):e.C(a.C,
843
843
  c,f?void 0:d);f&&e.C(a.D,a.O,d)}else d()}})}function og(a,b,c){c=void 0!==c?c:olympe.la.bf();a.$[c]=b}function pg(a,b,c){c=void 0!==c?c:olympe.la.bf();0===a.Ga.size&&a.D.Wc(d=>{for(const e of a.Ga.values())e(d)},'onOverlayClick');a.Ga.set(c,b)}function qg(a){a.Ga.has('closableByClickingOut')||pg(a,()=>{a.Yk(!1)},'closableByClickingOut')}
844
- olympe.ui.F.ig=class{constructor(a,b,c,d){this.vf=olympe.ui.F.ig.R;olympe.ui.F.ig.R++;this.na=(d?d:'floatingElement')+'_'+this.vf;this.animation=olympe.j.ub(olympe.ui.F.Hm,null);this.Ja=olympe.j.Xc(!1);this.C=new olympe.ui.F.Xe(a);this.content=olympe.j.ub(olympe.ui.F.lb);this.T=null===c||void 0===c?olympe.j.ub(olympe.ui.F.nf,olympe.ui.Ka.hf()):c instanceof olympe.j.Proxy?c:olympe.j.ub(olympe.ui.F.de,c);this.O=null;this.Oa=olympe.j.Xc(!1);this.$={};this.yb={};this.W=null;this.Nf=olympe.j.Xc(!1);this.Ne=
844
+ olympe.ui.F.ig=class{constructor(a,b,c,d){this.wf=olympe.ui.F.ig.R;olympe.ui.F.ig.R++;this.na=(d?d:'floatingElement')+'_'+this.wf;this.animation=olympe.j.ub(olympe.ui.F.Hm,null);this.Ja=olympe.j.Xc(!1);this.C=new olympe.ui.F.Xe(a);this.content=olympe.j.ub(olympe.ui.F.lb);this.T=null===c||void 0===c?olympe.j.ub(olympe.ui.F.nf,olympe.ui.Ka.hf()):c instanceof olympe.j.Proxy?c:olympe.j.ub(olympe.ui.F.de,c);this.O=null;this.Oa=olympe.j.Xc(!1);this.$={};this.yb={};this.W=null;this.Nf=olympe.j.Xc(!1);this.Ne=
845
845
  olympe.j.Xc(!1);this.Lg=void 0!==b?b:!0;this.Aa=this.D=this.nb=null;this.Ga=new Map;this.Lg&&(this.nb=olympe.j.pd(),this.D=new olympe.ui.F.xe(this.T.oa()),this.Aa=olympe.j.Xc(!1),this.D.La(this.nb));this.C.Ef(this.T);this.C.$j(!0);ng(this);this.C.appendChild(this.content,'content');this.uB()}uB(){olympe.j.Za(this.Nf,()=>{olympe.j.Za(this.Ne,()=>{this.C.Gb(this.content.oa())},()=>{olympe.j.Wa([this.C.oa()],a=>a.oe(this.content.oa().pa()))})},()=>{olympe.j.Za(this.Ne,()=>{olympe.j.Wa([this.C.oa()],
846
846
  a=>a.Fe(this.content.oa().sa()))})})}Qd(a){K(this.content,a);return this}getParent(){return this.T}Yk(a){K(this.Oa,a)}isVisible(){return this.Oa}tJ(a){K(this.animation,a)}$r(){return this.animation}rJ(a){K(this.Ja,a)}sJ(a){K(this.Aa,a)}XC(a){K(this.nb,a)}$d(a){K(this.Nf,a);return this}Gd(a){K(this.Ne,a);return this}setPosition(a){this.C.setPosition(a);return this}ce(){return this.C.ce()}Gb(a){this.C.Gb(a);return this}oa(){return this.C.oa()}setScale(a){this.C.setScale(a);return this}La(a){this.C.La(a);
847
847
  return this}Xb(a){this.C.Xb(a);return this}Md(a,b){this.C.Md(a,b);return this}og(a){this.C.og(a);return this}dh(a,b,c,d,e){this.C.dh(a,b,c,d,e);return this}$V(){olympe.j.Wa([this.T],a=>{this.Qw(a,olympe.ui.F.ig.D.Tc,olympe.ui.F.ig.O.Tc)});return this}Qw(a,b,c){const d=olympe.ui.F.ig.O,e=olympe.ui.F.ig.D,f=a.zh().pa(),g=a.zh().sa();var h=olympe.ui.Ka.hf().oa().sa(),l=olympe.ui.Ka.hf().oa().pa();switch(b){case e.aK:b=f.ya(this.C.oa().pa());break;case e.wz:b=f;break;case e.qL:b=f.Ra(a.oa().pa().ya(this.C.oa().pa()));
@@ -849,7 +849,7 @@ break;case e.rL:b=f.Ra(a.oa().pa());break;default:b=f.Ra(a.oa().pa().ya(this.C.o
849
849
  r.valueOf(),10)),olympe.j.aa);h=olympe.j.Xa([a,this.oa().sa(),h],(n,p,r)=>olympe.j.Ca(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);h=new olympe.j.ga(l,h);this.C.setPosition(h);this.W=h}aW(a,b,c,d){const e=olympe.ui.F.ig.O,f=olympe.ui.F.ig.D,g=a.yh().pa();a=a.yh().sa();switch(b){case f.aK:case f.wz:b=g.ya(this.C.oa().pa());break;case f.qL:case f.rL:b=g.Ra(10);break;default:b=g.ya(this.C.oa().pa().Ta(2))}switch(c){case e.QD:case e.mM:c=a.ya(this.C.oa().sa()).ya(10);break;case e.iG:case e.Ly:c=
850
850
  a;break;default:c=a.ya(this.C.oa().sa().Ta(2))}c=new olympe.j.ga(b,c);d&&(c=c.Ra(d));c=c.ya(F(this.T).zh());this.C.setPosition(c);this.W=c;return this}aF(){null!==this.W&&this.C.setPosition(this.W)}oZ(){this.W=null;return this}uh(a){a&&(this.C.be(a),this.tJ(a.$r()),this.Lg&&(this.XC(a.JI()),this.sJ(a.II())),this.rJ(a.HI()),this.$d(a.uz()),this.Gd(a.sz()))}};olympe.ui.F.ig.R=0;olympe.ui.F.ig.O={QD:'top_out',mM:'top_in',Tc:'middle',iG:'bottom_in',Ly:'bottom_out'};
851
851
  olympe.ui.F.ig.D={aK:'left_out',wz:'top_in',Tc:'middle',qL:'bottom_in',rL:'bottom_out'};k=olympe.ui.F.ig.prototype;k.uB.K=olympe.j.J.C([]);k.Qd.K=olympe.j.J.C([]);k.getParent.K=new olympe.j.J(()=>olympe.ui.F.lb,[]);k.Yk.K=olympe.j.J.C([]);k.isVisible.K=olympe.j.J.T;k.tJ.K=olympe.j.J.C([]);k.rJ.K=olympe.j.J.C([]);k.sJ.K=olympe.j.J.C([]);k.XC.K=olympe.j.J.C([]);k.$d.K=olympe.j.J.C([]);k.Gd.K=olympe.j.J.C([]);k.setPosition.K=olympe.j.J.C([]);k.ce.K=olympe.j.J.W;k.Gb.K=olympe.j.J.C([]);k.oa.K=olympe.j.J.W;
852
- k.setScale.K=olympe.j.J.C([]);k.La.K=olympe.j.J.C([]);k.Xb.K=olympe.j.J.C([]);k.Md.K=olympe.j.J.C([]);k.og.K=olympe.j.J.C([]);k.dh.K=olympe.j.J.C([]);k.$V.K=olympe.j.J.C([]);k.Qw.K=olympe.j.J.C([]);k.aW.K=olympe.j.J.C([]);k.aF.K=olympe.j.J.C([]);k.oZ.K=olympe.j.J.C([]);k.uh.K=new olympe.j.J(()=>{},[0]);olympe.ui.F.HR=class extends olympe.ui.F.ig{constructor(a){super(void 0,!1,void 0,'floating panel');this.La(O());this.$d(!0);this.Gd(!0);this.Md(olympe.j.aa.ONE,Ec());a&&this.Qd(a)}};olympe.ui.F.w3=class extends olympe.ui.F.ig{constructor(a,b,c,d){super(b,!1,c,'tooltip');const e=olympe.ui.Ka.D().FE(d);this.uh(e);this.label=olympe.j.Za(this.isVisible(),()=>{const f=new olympe.ui.F.bb(void 0,e.zO());f.Jb(a);f.$d(!0);return f},void 0,olympe.ui.F.bb);this.Qd(this.label)}Bu(){return this.label}uh(a){super.uh(a)}};olympe.ui.F.rw=class extends olympe.ui.F.ig{constructor(a,b,c){void 0===b&&(b=!0);super(a,b,c,'popup');this.mg=new Map;this.wf=new Map;this.W=new olympe.j.ga(this.T.oa().pa().ya(this.oa().pa()).Ta(2),this.T.oa().sa().ya(this.oa().sa()).Ta(2));this.setPosition(this.W);a=olympe.ui.Ka.D().tx();olympe.ui.F.rw.prototype.uh.call(this,a)}Na(){og(this,()=>{for(const a of this.mg.values())a();delete this.$.onConfirm},'onConfirm');this.Yk(!1)}cancel(){og(this,()=>{for(const a of this.wf.values())a();delete this.$.onCancel},
852
+ k.setScale.K=olympe.j.J.C([]);k.La.K=olympe.j.J.C([]);k.Xb.K=olympe.j.J.C([]);k.Md.K=olympe.j.J.C([]);k.og.K=olympe.j.J.C([]);k.dh.K=olympe.j.J.C([]);k.$V.K=olympe.j.J.C([]);k.Qw.K=olympe.j.J.C([]);k.aW.K=olympe.j.J.C([]);k.aF.K=olympe.j.J.C([]);k.oZ.K=olympe.j.J.C([]);k.uh.K=new olympe.j.J(()=>{},[0]);olympe.ui.F.HR=class extends olympe.ui.F.ig{constructor(a){super(void 0,!1,void 0,'floating panel');this.La(O());this.$d(!0);this.Gd(!0);this.Md(olympe.j.aa.ONE,Ec());a&&this.Qd(a)}};olympe.ui.F.w3=class extends olympe.ui.F.ig{constructor(a,b,c,d){super(b,!1,c,'tooltip');const e=olympe.ui.Ka.D().FE(d);this.uh(e);this.label=olympe.j.Za(this.isVisible(),()=>{const f=new olympe.ui.F.bb(void 0,e.zO());f.Jb(a);f.$d(!0);return f},void 0,olympe.ui.F.bb);this.Qd(this.label)}Bu(){return this.label}uh(a){super.uh(a)}};olympe.ui.F.rw=class extends olympe.ui.F.ig{constructor(a,b,c){void 0===b&&(b=!0);super(a,b,c,'popup');this.mg=new Map;this.xf=new Map;this.W=new olympe.j.ga(this.T.oa().pa().ya(this.oa().pa()).Ta(2),this.T.oa().sa().ya(this.oa().sa()).Ta(2));this.setPosition(this.W);a=olympe.ui.Ka.D().tx();olympe.ui.F.rw.prototype.uh.call(this,a)}Na(){og(this,()=>{for(const a of this.mg.values())a();delete this.$.onConfirm},'onConfirm');this.Yk(!1)}cancel(){og(this,()=>{for(const a of this.xf.values())a();delete this.$.onCancel},
853
853
  'onCancel');this.Yk(!1)}uh(a){super.uh(a)}};olympe.ui.F.Gy=class extends olympe.ui.F.rw{constructor(a,b,c,d,e,f,g){super(d,e,f);this.Qb=g;this.R=olympe.j.ma(0);this.tb=olympe.j.ma(0);this.da=olympe.j.Ab(void 0!==c?c:'OK');this.oc=olympe.j.ma();this.Fb=olympe.j.ma();this.title=olympe.j.Ab(void 0!==b?b:'');this.message=olympe.j.Ab(void 0!==a?a:'');b=olympe.ui.Ka.D().Zr(g);olympe.ui.F.Gy.prototype.uh.call(this,b);c=new olympe.ui.F.bb(new olympe.j.ga(this.oa().pa().ya(this.R.gb(2)),1),b.Gu());a=new olympe.ui.F.xd(this.oa().pa(),this.tb,this.R,
854
854
  this.R);c.Gd(!0);c.Jb(this.title);c.kb(N());c.Vb(olympe.ui.ha.Cb.Tb);a.appendChild(c,'title',olympe.ui.ha.Cb.Tb);c=new olympe.ui.F.bb(new olympe.j.ga(this.oa().pa().ya(this.R.gb(2)),1),b.Cu());c.Gd(!0);c.ho(!0);c.Jb(this.message);c.kb(N());c.Vb(olympe.ui.ha.Cb.Tb);a.appendChild(c,'text',olympe.ui.ha.Cb.Tb);this.ca=new olympe.ui.F.mc(void 0,this.da,b.PA());b=new olympe.ui.F.xd(this.oa().pa().ya(this.R.gb(2)));a.appendChild(b,'button',olympe.ui.ha.Cb.Tb);b.appendChild(this.ca,'okBtn',olympe.ui.ha.Cb.Tb);
855
855
  this.ca.Wc(this.Na.bind(this));olympe.j.Za(this.isVisible(),()=>{olympe.ui.Ka.hf().Fk(h=>{h.MA().Rb(13)&&this.Na()})});this.Qd(a)}hi(a){K(this.title,a);return this}NS(a){K(this.message,a);return this}PZ(a){K(this.da,a);return this}QZ(a){K(this.oc,a);return this}OZ(a){K(this.Fb,a);return this}uJ(a){K(this.tb,a)}Df(a){K(this.R,a);return this}uh(){const a=olympe.ui.Ka.D().Zr(this.Qb);super.uh(a);this.Df(a.Du());this.uJ(a.Fu())}};olympe.ui.F.Gy.T=500;olympe.ui.F.Gy.C=150;k=olympe.ui.F.Gy.prototype;
@@ -868,34 +868,34 @@ Math.min(g-l,void 0===w?n-l/2:w)),v===olympe.ui.F.ki.C.mh?(v=p-t-m,w=y,0>v&&(fa=
868
868
  r=r.valueOf();t=t.valueOf();y=y.valueOf();G=y/2;switch(ua){case olympe.ui.F.ki.C.mh:var ja=G;l-=G;R=G;n=m-G;ja='M'+ja+','+R+' L'+l+','+R+' L'+l+','+n+' L'+(Ua+r)+','+n+' L'+Ua+','+(t+m-G)+' L'+(Ua-r)+','+n+' L'+ja+','+n+' Z';break;case olympe.ui.F.ki.C.Ai:n=t+G;l=t+l-G;R=G;m-=G;ja='M'+n+','+R+' L'+l+','+R+' L'+l+','+m+' L'+n+','+m+' L'+n+','+(Xa+r)+' L'+G+','+Xa+' L'+n+','+(Xa-r)+' Z';break;case olympe.ui.F.ki.C.Ch:ja=G;l-=G;n=t+G;m=t+m-G;ja='M'+ja+','+n+' L'+(Ua-r)+','+n+' L'+Ua+','+G+' L'+(Ua+r)+
869
869
  ','+n+' L'+l+','+n+' L'+l+','+m+' L'+ja+','+m+' Z';break;case olympe.ui.F.ki.C.Tf:ja=G,n=l-G,R=G,m-=G,ja='M'+ja+','+R+' L'+n+','+R+' L'+n+','+(Xa-r)+' L'+(t+l-G)+','+Xa+' L'+n+','+(Xa+r)+' L'+n+','+m+' L'+ja+','+m+' Z'}I(this.Qb,'data:image/svg+xml,'+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" >'+` <path d="${ja}" fill="${H.valueOf()}" stroke="${B.valueOf()}" stroke-width="${y}"/>`+'</svg>'))}});this.Yk(e);return this}uh(a){this.LJ(a.HN());this.MJ(a.IN());this.NJ(a.JN());this.KJ(a.FN());
870
870
  this.IJ(a.BN());this.JJ(a.EN())}};olympe.ui.F.ki.C={mh:1,Ai:2,Ch:3,Tf:4};olympe.ui.F.ki.T={iA:'vertical',HC:'horizontal'};k=olympe.ui.F.ki.prototype;k.uB.K=olympe.j.J.C([]);k.NJ.K=olympe.j.J.C([]);k.MJ.K=olympe.j.J.C([]);k.LJ.K=olympe.j.J.C([]);k.KJ.K=olympe.j.J.C([]);k.IJ.K=olympe.j.J.C([]);k.JJ.K=olympe.j.J.C([]);k.a_.K=olympe.j.J.C([]);olympe.ui.F.He=class extends olympe.ui.F.de{constructor(a){super(a);this.C=olympe.j.Pa(olympe.ui.Ka.D().hx());this.T=Object.create(null);this.D=olympe.j.Xc(!1);this.W=olympe.j.ma(0);this.da=olympe.j.ma(0);this.na=this.oa().sa().ya(this.W.gb(2));this.R=new olympe.ui.F.xe(new olympe.j.ga(this.na,this.na));this.disabled=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob);this.R.setPosition(new olympe.j.ga(this.da,this.W));fg(this,this.R,'switchBlock');this.ca=new olympe.ui.F.xe(this.oa());this.ca.gh(-1);
871
- fg(this,this.ca,'animOverlay');void 0===a&&this.Gb(this.C.IA().oa());let b=null;olympe.j.Za(this.disabled.va().Qe(),()=>{b=this.Wc(()=>{this.OJ();setTimeout(()=>{for(const e in this.T)this.T[e](F(this.D).valueOf())},F(this.C.AA()).valueOf())})},()=>{null!==b&&(this.Wj(b),b=null)});this.fh(olympe.j.Za(this.D,()=>this.C.Og().gs(),()=>this.C.tf().gs(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.Og().hs(),()=>this.C.tf().hs(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.Og().js(),()=>this.C.tf().js(),olympe.j.aa),
872
- olympe.j.Za(this.D,()=>this.C.Og().es(),()=>this.C.tf().es(),olympe.j.Color),olympe.j.Za(this.D,()=>this.C.Og().fs(),()=>this.C.tf().fs(),olympe.j.ia));this.La(olympe.j.Xa([this.D],e=>e.valueOf()?this.C.Og().gq():this.C.tf().gq(),olympe.j.Color));this.Xb(olympe.j.Za(this.D,()=>this.C.Og().kq(),()=>this.C.tf().kq(),olympe.j.aa));this.Md(olympe.j.Za(this.D,()=>this.C.Og().Di(),()=>this.C.tf().Di(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.Og().vl(),()=>this.C.tf().vl(),olympe.j.Color));this.dh(olympe.j.Za(this.D,
873
- ()=>this.C.Og().jq(),()=>this.C.tf().jq(),olympe.j.jb),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,olympe.j.Za(this.D,()=>this.C.Og().iq(),()=>this.C.tf().iq(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.Og().hq(),()=>this.C.tf().hq(),olympe.j.ga));this.R.Xb(olympe.j.Za(this.D,()=>this.C.sf().kq(),()=>this.C.uf().kq(),olympe.j.aa));this.R.Md(olympe.j.Za(this.D,()=>this.C.sf().Di(),()=>this.C.uf().Di(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.sf().vl(),()=>this.C.uf().vl(),olympe.j.Color));this.R.fh(olympe.j.Za(this.D,
874
- ()=>this.C.sf().gs(),()=>this.C.uf().gs(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.sf().hs(),()=>this.C.uf().hs(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.sf().js(),()=>this.C.uf().js(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.sf().es(),()=>this.C.uf().es(),olympe.j.Color),olympe.j.Za(this.D,()=>this.C.sf().fs(),()=>this.C.uf().fs(),olympe.j.ia));this.R.La(olympe.j.Za(this.D,()=>this.C.sf().gq(),()=>this.C.uf().gq(),olympe.j.Color));this.R.dh(olympe.j.Za(this.D,()=>this.C.sf().jq(),()=>this.C.uf().jq(),
875
- olympe.j.jb),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,olympe.j.Za(this.D,()=>this.C.sf().iq(),()=>this.C.uf().iq(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.sf().hq(),()=>this.C.uf().hq(),olympe.j.ga));const c=this.W,d=this.Ed().ya(this.R.Ed()).ya(this.W);a=olympe.j.Za(this.D,()=>d,()=>c,olympe.j.aa);a=olympe.j.Ji(a,this.C.AA(),olympe.j.aa.Gh.wR);olympe.j.bg(this.D,()=>{this.ca.gh(1);const e=setTimeout(()=>{this.ca.gh(-1)},olympe.j.Pa(pc(this.C.AA(),200)).valueOf());olympe.j.zb().Ue(clearTimeout.bind(null,
871
+ fg(this,this.ca,'animOverlay');void 0===a&&this.Gb(this.C.IA().oa());let b=null;olympe.j.Za(this.disabled.va().Qe(),()=>{b=this.Wc(()=>{this.OJ();setTimeout(()=>{for(const e in this.T)this.T[e](F(this.D).valueOf())},F(this.C.AA()).valueOf())})},()=>{null!==b&&(this.Wj(b),b=null)});this.fh(olympe.j.Za(this.D,()=>this.C.Og().gs(),()=>this.C.uf().gs(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.Og().hs(),()=>this.C.uf().hs(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.Og().js(),()=>this.C.uf().js(),olympe.j.aa),
872
+ olympe.j.Za(this.D,()=>this.C.Og().es(),()=>this.C.uf().es(),olympe.j.Color),olympe.j.Za(this.D,()=>this.C.Og().fs(),()=>this.C.uf().fs(),olympe.j.ia));this.La(olympe.j.Xa([this.D],e=>e.valueOf()?this.C.Og().gq():this.C.uf().gq(),olympe.j.Color));this.Xb(olympe.j.Za(this.D,()=>this.C.Og().kq(),()=>this.C.uf().kq(),olympe.j.aa));this.Md(olympe.j.Za(this.D,()=>this.C.Og().Di(),()=>this.C.uf().Di(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.Og().vl(),()=>this.C.uf().vl(),olympe.j.Color));this.dh(olympe.j.Za(this.D,
873
+ ()=>this.C.Og().jq(),()=>this.C.uf().jq(),olympe.j.jb),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,olympe.j.Za(this.D,()=>this.C.Og().iq(),()=>this.C.uf().iq(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.Og().hq(),()=>this.C.uf().hq(),olympe.j.ga));this.R.Xb(olympe.j.Za(this.D,()=>this.C.tf().kq(),()=>this.C.vf().kq(),olympe.j.aa));this.R.Md(olympe.j.Za(this.D,()=>this.C.tf().Di(),()=>this.C.vf().Di(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.tf().vl(),()=>this.C.vf().vl(),olympe.j.Color));this.R.fh(olympe.j.Za(this.D,
874
+ ()=>this.C.tf().gs(),()=>this.C.vf().gs(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.tf().hs(),()=>this.C.vf().hs(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.tf().js(),()=>this.C.vf().js(),olympe.j.aa),olympe.j.Za(this.D,()=>this.C.tf().es(),()=>this.C.vf().es(),olympe.j.Color),olympe.j.Za(this.D,()=>this.C.tf().fs(),()=>this.C.vf().fs(),olympe.j.ia));this.R.La(olympe.j.Za(this.D,()=>this.C.tf().gq(),()=>this.C.vf().gq(),olympe.j.Color));this.R.dh(olympe.j.Za(this.D,()=>this.C.tf().jq(),()=>this.C.vf().jq(),
875
+ olympe.j.jb),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,olympe.j.Za(this.D,()=>this.C.tf().iq(),()=>this.C.vf().iq(),olympe.j.ga),olympe.j.Za(this.D,()=>this.C.tf().hq(),()=>this.C.vf().hq(),olympe.j.ga));const c=this.W,d=this.Ed().ya(this.R.Ed()).ya(this.W);a=olympe.j.Za(this.D,()=>d,()=>c,olympe.j.aa);a=olympe.j.Ji(a,this.C.AA(),olympe.j.aa.Gh.wR);olympe.j.bg(this.D,()=>{this.ca.gh(1);const e=setTimeout(()=>{this.ca.gh(-1)},olympe.j.Pa(pc(this.C.AA(),200)).valueOf());olympe.j.zb().Ue(clearTimeout.bind(null,
876
876
  e))});qc(this.da,a)}OJ(){const a=F(this.D);I(this.D,!(a&&a.valueOf()))}Ja(a,b){b=b?b:olympe.la.uk();this.T[b]||(this.T[b]=a);return b}Ga(a){delete this.T[a]}KA(){return this.D}Ff(a){olympe.j.Wa([a],b=>{K(this.D,b)});return this}Cf(a){olympe.j.Zb(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.kc(a))}Df(a){K(this.W,a);return this}EE(){return this.R}$W(){return this.C}};k=olympe.ui.F.He.prototype;k.OJ.K=olympe.j.J.C([]);k.KA.K=olympe.j.J.T;k.Ff.K=olympe.j.J.C([0]);k.Df.K=olympe.j.J.C([]);
877
877
  k.EE.K=new olympe.j.J(()=>olympe.ui.F.xe,[]);k.$W.K=new olympe.j.J(()=>olympe.ui.F.ea.li,[]);olympe.ui.F.od=class extends olympe.ui.F.de{constructor(a,b,c,d){super(a);const e=olympe.ui.Ka.D().mx(d);this.na=olympe.j.ub(olympe.j.Qk,b);this.Fb=olympe.j.Ab();this.R=olympe.j.ed();this.yb=olympe.j.ed();this.da=M(olympe.j.Ya(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.Ca(10));this.W=M(olympe.j.Ya(olympe.j.ia,'DropDown.displayOnTop'),olympe.j.ia.ob);this.Oa=M(olympe.j.Ya(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.aa.ZERO);this.paddingLeft=olympe.j.ma(0);this.paddingRight=olympe.j.ma(0);
878
- this.paddingTop=olympe.j.ma(0);this.paddingBottom=olympe.j.ma(0);this.Ja=olympe.j.Ab();this.Qb=olympe.j.Ab();this.fc=olympe.j.Ab();this.wf=olympe.j.ma();this.ld=olympe.j.ed();this.Ga=olympe.j.Ab();this.T=olympe.j.ub(Object);this.vf=olympe.j.Xa([this.T],()=>olympe.j.ia.C,olympe.j.ia,'hasSelectedValue',olympe.j.ia.ob);this.ca=new Map;this.C=M(olympe.j.Ya(olympe.j.ia,'DropDown.isExpanded'),olympe.j.ia.ob);this.Rc=olympe.j.Ab(this.Ja);this.dd=olympe.j.Ab();olympe.ui.F.od.prototype.be.call(this,e);olympe.j.Wa([this.na],
879
- g=>{mc(this.T,g.Ee())});this.D=new olympe.ui.F.Xe(this.oa());this.D.ph(()=>{this.C.update(olympe.j.Pa(this.C.va().Qe()))});fg(this,this.D,'summaryContainer');a=new olympe.ui.F.Xe(new olympe.j.ga(this.oa().pa().ya(this.R.pa()).ya(this.paddingLeft).ya(this.paddingRight).ya(this.da.va()),this.oa().sa().ya(this.paddingTop).ya(this.paddingBottom)));this.nb=new olympe.ui.F.bb(a.oa(),this.Rc);this.nb.Jb(this.dd).rd(this.vf);a.appendChild(this.nb,'placeholder');b=c.render(mc(this.T,c.getType()),a.oa());b.Eg(this.fc);
878
+ this.paddingTop=olympe.j.ma(0);this.paddingBottom=olympe.j.ma(0);this.Ja=olympe.j.Ab();this.Qb=olympe.j.Ab();this.fc=olympe.j.Ab();this.xf=olympe.j.ma();this.ld=olympe.j.ed();this.Ga=olympe.j.Ab();this.T=olympe.j.ub(Object);this.wf=olympe.j.Xa([this.T],()=>olympe.j.ia.C,olympe.j.ia,'hasSelectedValue',olympe.j.ia.ob);this.ca=new Map;this.C=M(olympe.j.Ya(olympe.j.ia,'DropDown.isExpanded'),olympe.j.ia.ob);this.Rc=olympe.j.Ab(this.Ja);this.dd=olympe.j.Ab();olympe.ui.F.od.prototype.be.call(this,e);olympe.j.Wa([this.na],
879
+ g=>{mc(this.T,g.Ee())});this.D=new olympe.ui.F.Xe(this.oa());this.D.ph(()=>{this.C.update(olympe.j.Pa(this.C.va().Qe()))});fg(this,this.D,'summaryContainer');a=new olympe.ui.F.Xe(new olympe.j.ga(this.oa().pa().ya(this.R.pa()).ya(this.paddingLeft).ya(this.paddingRight).ya(this.da.va()),this.oa().sa().ya(this.paddingTop).ya(this.paddingBottom)));this.nb=new olympe.ui.F.bb(a.oa(),this.Rc);this.nb.Jb(this.dd).rd(this.wf);a.appendChild(this.nb,'placeholder');b=c.render(mc(this.T,c.getType()),a.oa());b.Eg(this.fc);
880
880
  a.appendChild(b,'currentValue');this.D.appendChild(a,'textContainer',new olympe.j.ga(this.paddingLeft,this.paddingTop));a=new olympe.ui.F.xe(this.R);a.dh(this.Fb,olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,this.R,this.yb);this.D.appendChild(a,'arrowImg',new olympe.j.ga(this.oa().pa().ya(this.da.va()).ya(this.R.pa()),this.oa().sa().ya(this.R.sa()).Ta(2)));nc(this.na.get(this.Ga),g=>{olympe.j.Zb(g)?qc(this.T,g):I(this.T,g)});const f=new olympe.ui.F.xd(this.oa().pa());this.na.forEach((g,h)=>{const l=new olympe.ui.F.Xe(this.oa());
881
881
  f.appendChild(l,h);const m=c.render(g,this.oa());l.appendChild(m,h);l.Wc(()=>{I(this.Ga,h);this.C.update(olympe.j.ia.ob);for(const n of this.ca.values())n(h,g)});olympe.j.Za(l.Lh(),()=>m.Eg(this.Qb),()=>m.Eg(this.Ja))});olympe.j.Za(this.C.va(),()=>{const g=olympe.ui.Ka.hf();var h=g.oa().pa();const l=g.oa().sa(),m=this.D.zh().sa(),n=m.Ra(this.D.oa().sa()),p=e.yO(),r=olympe.ui.Ka.O('dropdown-overlay'),t=olympe.ui.Ka.O('dropdown-list'),u=olympe.j.ma(),v=olympe.j.ma();olympe.j.Za(f.oa().sa().PE(l.ya(n)).or(l.ya(m).Tj(m)),
882
882
  ()=>{qc(u,olympe.j.Za(this.W,()=>m,()=>n,olympe.j.aa));qc(v,f.oa().sa().Dn(l.ya(u)))},()=>{qc(v,f.oa().sa().Dn(olympe.j.Za(this.W,()=>n,()=>m,olympe.j.aa)));qc(u,olympe.j.Za(this.W,()=>n.ya(v),()=>m.ya(v),olympe.j.aa))});const w=new olympe.ui.F.wd(new olympe.j.ga(this.oa().pa(),v));w.Md(p.Di(),p.vl());w.Xb(p.kq());w.La(p.gq());w.dh(p.jq(),olympe.ui.ha.Dh.Uf,olympe.ui.ha.cf.Uf,p.iq(),p.hq());w.fh(p.gs(),p.hs(),p.js(),p.es(),p.fs());w.gh(t);w.Qd(f);w.Xb(this.Oa.va());h=new olympe.ui.F.xe(new olympe.j.ga(h,
883
883
  l));h.Wc(()=>{this.C.update(olympe.j.ia.ob)});h.gh(r);g.appendChild(h,'dropdown-overlay');g.appendChild(w,'dropdown-list',new olympe.j.ga(this.D.zh().pa().Ra(this.ld.pa()),u))},()=>{olympe.ui.Ka.R('dropdown-overlay');olympe.ui.Ka.R('dropdown-list')})}kQ(a){olympe.j.Zb(a)?qc(this.Ga,a):I(this.Ga,a);return this}tP(){return this.C.va()}Bg(a,b){b=b?b:olympe.la.uk();this.ca.has(b)||this.ca.set(b,a);return b}mg(a){this.ca.delete(a)}ZC(a){K(this.Fb,a)}YC(a){K(this.R,a)}PJ(a){K(this.yb,a)}SP(a){olympe.j.Zb(a)?
884
- this.da.repeat(a):this.da.update(a)}XP(a){olympe.j.Zb(a)?this.C.repeat(a):this.C.update(a)}UP(a){olympe.j.Zb(a)?this.W.repeat(a):this.W.update(a)}cQ(a){olympe.j.Zb(a)?this.Oa.repeat(a):this.Oa.update(a)}eQ(a){K(this.ld,a)}Gc(a){K(this.paddingLeft,a);return this}Kc(a){K(this.paddingRight,a);return this}td(a){K(this.paddingTop,a);return this}sd(a){K(this.paddingBottom,a);return this}Rg(a){K(this.dd,a);return this}RZ(a){K(this.Rc,a);return this}QJ(a){K(this.Ja,a)}RJ(a){K(this.Qb,a)}SJ(a){K(this.fc,a)}TJ(a){K(this.wf,
884
+ this.da.repeat(a):this.da.update(a)}XP(a){olympe.j.Zb(a)?this.C.repeat(a):this.C.update(a)}UP(a){olympe.j.Zb(a)?this.W.repeat(a):this.W.update(a)}cQ(a){olympe.j.Zb(a)?this.Oa.repeat(a):this.Oa.update(a)}eQ(a){K(this.ld,a)}Gc(a){K(this.paddingLeft,a);return this}Kc(a){K(this.paddingRight,a);return this}td(a){K(this.paddingTop,a);return this}sd(a){K(this.paddingBottom,a);return this}Rg(a){K(this.dd,a);return this}RZ(a){K(this.Rc,a);return this}QJ(a){K(this.Ja,a)}RJ(a){K(this.Qb,a)}SJ(a){K(this.fc,a)}TJ(a){K(this.xf,
885
885
  a)}be(a){a&&(super.be(a),this.QJ(a.wO()),this.RJ(a.CO()),this.SJ(a.TO()),this.TJ(a.UO()),this.eQ(a.xO()),this.sd(a.DI()),this.Gc(a.EI()),this.Kc(a.FI()),this.td(a.GI()),this.ZC(a.R),this.YC(a.DN()),this.PJ(a.CN()))}};k=olympe.ui.F.od.prototype;k.kQ.K=olympe.j.J.C([]);k.tP.K=olympe.j.J.T;k.ZC.K=olympe.j.J.C([]);k.YC.K=olympe.j.J.C([]);k.PJ.K=olympe.j.J.C([]);k.SP.K=olympe.j.J.C([]);k.XP.K=olympe.j.J.C([]);k.UP.K=olympe.j.J.C([]);k.cQ.K=olympe.j.J.C([]);k.eQ.K=olympe.j.J.C([]);k.Gc.K=olympe.j.J.C([]);
886
886
  k.Kc.K=olympe.j.J.C([]);k.td.K=olympe.j.J.C([]);k.sd.K=olympe.j.J.C([]);k.Rg.K=olympe.j.J.C([]);k.RZ.K=olympe.j.J.C([]);k.QJ.K=olympe.j.J.C([]);k.RJ.K=olympe.j.J.C([]);k.SJ.K=olympe.j.J.C([]);k.TJ.K=olympe.j.J.C([]);function rg(a){a.C.setPosition(new olympe.j.ga(a.T,0));const b=olympe.j.Xc(!1),c=olympe.ui.Ka.hf().vk().yh().pa().ya(a.zh().pa()),d=olympe.j.aa.iE(c.ya(a.da),0,a.W.ya(a.C.oa().pa()));K(a.T,olympe.j.Za(b,()=>d,()=>F(a.T)));a.C.ph(()=>{I(a.da,olympe.j.Ca(F(c).valueOf()-F(a.T).valueOf()));I(b,olympe.j.kc(!0))});olympe.ui.Ka.hf().$g(()=>{I(b,olympe.j.kc(!1))})}
887
887
  function sg(a){a.R.setPosition(new olympe.j.ga(a.W,0));const b=olympe.j.Xc(!1),c=olympe.ui.Ka.hf().vk().yh().pa().ya(a.zh().pa()),d=olympe.j.aa.iE(c.ya(a.na),a.T.Ra(a.C.oa().pa()),a.D.oa().pa().ya(a.R.oa().pa()));K(a.W,olympe.j.Za(b,()=>d,()=>F(a.W)));a.R.ph(()=>{I(a.na,olympe.j.Ca(F(c).valueOf()-F(a.W).valueOf()));I(b,olympe.j.kc(!0))});olympe.ui.Ka.hf().$g(()=>{I(b,olympe.j.kc(!1))})}
888
888
  olympe.ui.F.wI=class extends olympe.ui.F.de{constructor(a,b){super(a);this.ca=olympe.j.Ab(b);this.Gb(a);this.D=new olympe.ui.F.xe;this.D.$j(!0);this.C=new olympe.ui.F.xe;this.C.$j(!0);this.R=new olympe.ui.F.xe;this.R.$j(!0);a=olympe.ui.Ka.D().LA(this.ca);olympe.ui.F.wI.prototype.be.call(this,a);this.Ga=olympe.j.pd(215,217,218);this.T=olympe.j.ma(0);this.W=olympe.j.ma(this.D.oa().pa().ya(this.R.oa().pa()));this.da=olympe.j.ma(0);this.na=olympe.j.ma(0);this.D.setPosition(new olympe.j.ga(0,2.5));rg(this);
889
889
  sg(this);a=new olympe.ui.F.xe(new olympe.j.ga(this.W.ya(this.T).ya(this.C.oa().pa().Ta(2)).Ra(this.R.oa().pa().Ta(2)),this.D.oa().sa()));a.$j(!0);a.La(this.Ga);a.setPosition(new olympe.j.ga(this.T.Ra(this.C.oa().pa().Ta(2)),this.D.ce().sa()));fg(this,a,'selectedZone');fg(this,this.D,'bar');fg(this,this.C,'button1');fg(this,this.R,'button2')}UZ(a){this.Ga=a;return this}UW(){return this.T.Ta(this.D.oa().pa().ya(this.C.oa().pa().Ra(this.R.oa().pa())))}VW(){return this.W.ya(this.C.oa().pa()).Ta(this.D.oa().pa().ya(this.C.oa().pa().Ra(this.R.oa().pa())))}oX(){return this.W.ya(this.T).ya(this.C.oa().pa()).Ta(this.D.oa().pa().ya(this.C.oa().pa().Ra(this.R.oa().pa())))}Eg(a){K(this.ca,
890
- a);return this}be(a){a&&(this.C.be(a.T()),this.R.be(a.W()),this.D.be(a.R()))}};k=olympe.ui.F.wI.prototype;k.UZ.K=olympe.j.J.C([]);k.UW.K=olympe.j.J.D;k.VW.K=olympe.j.J.D;k.oX.K=olympe.j.J.D;k.Eg.K=olympe.j.J.C([]);olympe.ui.F.SH=class extends olympe.ui.F.de{constructor(a,b,c,d,e,f,g){super(a);this.Bg=olympe.j.Ab(g);this.Ck=new olympe.ui.F.xd;this.values=b;this.Il=0;this.Ne=olympe.j.Xc(void 0===a);this.Nf=olympe.j.Xc(void 0===a);this.wf=olympe.j.Xc(void 0!==e?e:!1);this.C=(this.vf=void 0!==d)?olympe.j.ma(d):olympe.j.ma();this.ca=new olympe.ui.F.xd(this.oa().pa());this.Fb=olympe.j.ma();this.Ga=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.j.aa));this.nb=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.j.jb));
890
+ a);return this}be(a){a&&(this.C.be(a.T()),this.R.be(a.W()),this.D.be(a.R()))}};k=olympe.ui.F.wI.prototype;k.UZ.K=olympe.j.J.C([]);k.UW.K=olympe.j.J.D;k.VW.K=olympe.j.J.D;k.oX.K=olympe.j.J.D;k.Eg.K=olympe.j.J.C([]);olympe.ui.F.SH=class extends olympe.ui.F.de{constructor(a,b,c,d,e,f,g){super(a);this.Bg=olympe.j.Ab(g);this.Ck=new olympe.ui.F.xd;this.values=b;this.Il=0;this.Ne=olympe.j.Xc(void 0===a);this.Nf=olympe.j.Xc(void 0===a);this.xf=olympe.j.Xc(void 0!==e?e:!1);this.C=(this.wf=void 0!==d)?olympe.j.ma(d):olympe.j.ma();this.ca=new olympe.ui.F.xd(this.oa().pa());this.Fb=olympe.j.ma();this.Ga=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.j.aa));this.nb=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.j.jb));
891
891
  this.na=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.ui.F.Ve.Et));this.D=[];this.T=olympe.j.Ab();this.mg=olympe.j.ub(olympe.ui.F.lb);this.Qb=olympe.j.pd();this.fc=olympe.j.Ab();this.yb=olympe.j.Ab();this.Rc=olympe.j.Ab();this.ld=void 0!==f?olympe.j.Xc(f):olympe.j.Xc(!0);this.da=olympe.j.ub(c);this.Oa=olympe.j.Xc(!1);this.dd=olympe.j.ub(olympe.ui.F.Qf);this.R=new olympe.ui.F.wd(new olympe.j.ga(0,0));this.W=new olympe.ui.F.wd(new olympe.j.ga(0,0));this.Ja=olympe.j.ed();K(this.Ja,a);nc(this.da,function(){K(this.Oa,
892
- !0)}.bind(this));this.values.Jh&&nc(this.values,function(){K(this.Oa,!1)}.bind(this));const h=new olympe.ui.F.xd;fg(this,h,'mainContainer');h.appendChild(this.R,'horizScroller');const l=new olympe.ui.F.xd;this.R.Qd(l);const m=new olympe.ui.F.ae(this.C);m.rd(this.wf);l.appendChild(m,'header');olympe.j.Za(this.wf.Qe(),()=>{this.na.forEach((p,r)=>{const t=new olympe.ui.F.bb(new olympe.j.ga(this.Ga.get(r),this.C));t.Eg(this.fc);nc(this.nb.get(r),u=>{t.Jb(u)});m.appendChild(t,'header'+r)})});l.appendChild(this.W,
892
+ !0)}.bind(this));this.values.Jh&&nc(this.values,function(){K(this.Oa,!1)}.bind(this));const h=new olympe.ui.F.xd;fg(this,h,'mainContainer');h.appendChild(this.R,'horizScroller');const l=new olympe.ui.F.xd;this.R.Qd(l);const m=new olympe.ui.F.ae(this.C);m.rd(this.xf);l.appendChild(m,'header');olympe.j.Za(this.xf.Qe(),()=>{this.na.forEach((p,r)=>{const t=new olympe.ui.F.bb(new olympe.j.ga(this.Ga.get(r),this.C));t.Eg(this.fc);nc(this.nb.get(r),u=>{t.Jb(u)});m.appendChild(t,'header'+r)})});l.appendChild(this.W,
893
893
  'verticalScroller');const n=this.Ck;this.W.Qd(n);olympe.j.Za(this.Nf,()=>{olympe.j.Za(this.Ne,()=>{olympe.ui.F.de.prototype.Gb.call(this,h.oa());this.R.Gb(l.oa());this.W.Gb(n.oa())},()=>{olympe.ui.F.de.prototype.Gb.call(this,new olympe.j.ga(h.oa().pa(),this.Ja.sa()));this.R.Gb(new olympe.j.ga(l.oa().pa(),this.oa().sa().ya(this.ca.oa().sa())));this.W.Gb(new olympe.j.ga(n.oa().pa(),this.oa().sa().ya(e?0:this.C).ya(this.ca.oa().sa())))})},()=>{olympe.j.Za(this.Ne,()=>{olympe.ui.F.de.prototype.Gb.call(this,
894
894
  new olympe.j.ga(this.Ja.pa(),h.oa().sa()));this.R.Gb(new olympe.j.ga(this.oa().pa(),l.oa().sa()));this.W.Gb(new olympe.j.ga(n.oa().pa(),n.oa().sa()))},()=>{olympe.ui.F.de.prototype.Gb.call(this,this.Ja);this.R.Gb(new olympe.j.ga(this.oa().pa(),this.oa().sa().ya(this.ca.oa().sa())));this.W.Gb(new olympe.j.ga(n.oa().pa(),this.oa().sa().ya(e?0:this.C).ya(this.ca.oa().sa())))})});h.appendChild(this.ca,'footer');this.values.forEach((p,r)=>{const t=olympe.j.ub(olympe.j.ia,olympe.j.kc(!0));nc(this.dd.filter(p),
895
895
  x=>{I(t,x)});const u=olympe.j.ii([this.T,this.ld],(x,y)=>olympe.j.kc(x===r&&y),olympe.j.ia),v=new olympe.ui.F.ae(this.C);v.rd(t.Qe());n.appendChild(v,r);const w=new olympe.ui.F.xe(new olympe.j.ga(l.oa().pa(),1));w.La(this.Qb);w.rd(t.Qe());n.appendChild(w,'divider'+r);this.na.forEach((x,y)=>{const B=x.render(p,new olympe.j.ga(this.Ga.get(y),this.C));B.Eg(this.yb);v.appendChild(B,y);olympe.j.Za(u,()=>{B.Eg(this.Rc)},()=>{B.Eg(this.yb)})});v.Wc(()=>{if(void 0===F(this.T)||F(this.T).valueOf()!==r){I(this.T,
896
896
  r);I(this.da,p);for(let x=0;x<this.D.length;x++)this.D[x](r,p)}});olympe.j.Za(u,()=>{I(this.mg,v)})},p=>{if(void 0!==F(this.T)&&F(this.T).valueOf()===p){K(this.Oa,!1);for(let r=0;r<this.D.length;r++)this.D[r](p,void 0)}});olympe.ui.F.SH.prototype.be.call(this,olympe.ui.Ka.D().ox(this.Bg))}SV(a,b,c,d){b=void 0===b?this.Fb:olympe.j.ma(b);c=void 0===c?olympe.j.Ab(''):olympe.j.Ab(c);void 0===d&&(d=this.Il++);F(this.Ga).set(d,b);F(this.nb).set(d,c);F(this.na).set(d,a);return this}pZ(a){const b=F(this.Ga),
897
897
  c=F(this.nb),d=F(this.na);void 0!==b&&b.remove(a);void 0!==c&&c.remove(a);void 0!==d&&d.remove(a);return this}xZ(a){K(this.na,a);return this}zZ(a){K(this.Ga,a);return this}yZ(a){K(this.nb,a);return this}VS(a){this.D.push(a);return this}EZ(a){this.ca.appendChild(a,'footerContent');return this}TS(){return this.da}TZ(a,b){a instanceof olympe.j.Proxy&&(a=F(a));I(this.T,a);qc(this.da,this.values.get(a));void 0!==b&&!0!==b||ig(this.W,new olympe.j.ga(0,F(this.mg.ce().sa())));for(b=0;b<this.D.length;b++)this.D[b](a,
898
- F(this.da));return this}US(){return this.Oa}Sl(a){K(this.ld,a);return this}wX(){return this.R}Ds(a){I(this.dd,a);return this}Gb(a){this.Ja=a;return this}$d(a){K(this.Nf,a);return this}Gd(a){K(this.Ne,a);return this}XJ(a){K(this.fc,a)}UJ(a){K(this.yb,a)}YJ(a){K(this.Rc,a)}bk(a){K(this.C,a);return this}VJ(a){K(this.Fb,a)}WJ(a){K(this.Qb,a)}be(a){super.be(a);this.XJ(a.kO());this.UJ(a.PN());this.YJ(a.SO());this.vf||this.bk(a.AO());this.VJ(a.XN());this.WJ(a.fO())}};k=olympe.ui.F.SH.prototype;k.SV.K=olympe.j.J.C([]);
898
+ F(this.da));return this}US(){return this.Oa}Sl(a){K(this.ld,a);return this}wX(){return this.R}Ds(a){I(this.dd,a);return this}Gb(a){this.Ja=a;return this}$d(a){K(this.Nf,a);return this}Gd(a){K(this.Ne,a);return this}XJ(a){K(this.fc,a)}UJ(a){K(this.yb,a)}YJ(a){K(this.Rc,a)}bk(a){K(this.C,a);return this}VJ(a){K(this.Fb,a)}WJ(a){K(this.Qb,a)}be(a){super.be(a);this.XJ(a.kO());this.UJ(a.PN());this.YJ(a.SO());this.wf||this.bk(a.AO());this.VJ(a.XN());this.WJ(a.fO())}};k=olympe.ui.F.SH.prototype;k.SV.K=olympe.j.J.C([]);
899
899
  k.pZ.K=olympe.j.J.C([]);k.xZ.K=olympe.j.J.C([]);k.zZ.K=olympe.j.J.C([]);k.yZ.K=olympe.j.J.C([]);k.VS.K=olympe.j.J.C([]);k.EZ.K=olympe.j.J.C([]);k.TS.K=new olympe.j.J(()=>Object,[]);k.TZ.K=olympe.j.J.C([]);k.US.K=olympe.j.J.T;k.Sl.K=olympe.j.J.C([]);k.wX.K=new olympe.j.J(()=>olympe.ui.F.wd,[]);k.Ds.K=olympe.j.J.C([]);k.Gb.K=olympe.j.J.C([]);k.$d.K=olympe.j.J.C([]);k.Gd.K=olympe.j.J.C([]);k.XJ.K=olympe.j.J.C([]);k.UJ.K=olympe.j.J.C([]);k.YJ.K=olympe.j.J.C([]);k.bk.K=olympe.j.J.C([]);k.VJ.K=olympe.j.J.C([]);
900
900
  k.WJ.K=olympe.j.J.C([]);olympe.ui.F.Screen=class{constructor(){}render(){}};olympe.ui.F.Screen.prototype.render.K=new olympe.j.J(()=>olympe.ui.F.lb,[]);olympe.ui.F.Transition=class{constructor(a,b,c,d,e){this.D=a;this.C=b;this.animation=olympe.j.ub(olympe.ui.F.Hm);void 0!==e&&K(this.animation,e)}$r(){return this.animation}};olympe.ui.F.fM=class extends olympe.ui.F.de{constructor(a){super();this.V=olympe.ui.Ka.sb();this.da=new Map;this.na=new Map;this.D=new Map;this.C=new Map;this.md=new Map;this.R=olympe.j.Ya(olympe.j.jb);this.W=new Map;this.ca=new olympe.ui.F.xe(this.oa());this.T='storyboard_overlay_'+String((new Date).getTime()+Math.random()).replace(/[^0-9]/,'');this.Gb(a)}gX(){return this.R.va()}gE(a,b){this.da.set(b,a);this.C.set(b,olympe.j.Xc(!1));this.na.set(b,olympe.j.Za(this.C.get(b),()=>{const c=this.da.get(b);
901
901
  let d=this.D.get(b);c?d||(d=c.render(this.oa(),void 0),d instanceof olympe.j.Proxy||(d=olympe.j.ub(olympe.ui.F.lb,d)),this.D.set(b,d)):this.V.warn(`Screen with id ${b} doesn't exist!`)},()=>{this.D.delete(b)},void 0,[],'If screen loaded '+b).Ub)}eE(a,b,c){this.W.set(c,new olympe.ui.F.Transition(a,b,c,void 0,void 0))}qZ(a){this.W.delete(a);return this}ZP(){I(this.C.get('login'),olympe.j.kc(!0));this.na.get('login').run(()=>{fg(this,this.D.get('login'),'login')});this.R.update(olympe.j.lc('login'))}oB(a){const b=
@@ -917,24 +917,24 @@ k.Zj.K=olympe.j.J.C([]);k.Cf.K=olympe.j.J.C([]);k.qp.K=olympe.j.J.C([0]);k.Vc.K=
917
917
  this.duration=olympe.j.Ya(olympe.j.aa).update(olympe.j.aa.ZERO);this.qa().bp(()=>{this.D.update(olympe.j.ia.ob)});this.qa().ap(()=>{this.D.update(olympe.j.ia.C)});this.qa().fp((b,c)=>{this.volume.update(olympe.j.Ca(b));this.R.update(olympe.j.kc(c))});this.qa().cp(b=>{this.T.update(olympe.j.Ca(b))});this.qa().Wo(()=>{this.O.update(olympe.j.ia.C)});this.qa().Vo(b=>{this.duration.update(olympe.j.Ca(b))})}ne(a){this.qa().ne(a);return this}gk(a){this.qa().gk(olympe.j.bg(a,b=>b?b.qa():null));return this}vx(){return this.C}sj(a){this.qa().sj(a);
918
918
  return this}oj(a){this.qa().oj(a);return this}dk(a){this.qa().dk(a);return this}tj(a){this.qa().tj(a);return this}play(){this.qa().play();return this}pause(){this.qa().pause();return this}reload(){this.qa().reload();return this}Nk(a){this.qa().Nk(tc(0,sc(1,a)));return this}Lk(a){this.qa().Lk(a);return this}};k=olympe.ui.F.Ld.prototype;k.ne.K=olympe.j.J.C([]);k.gk.K=olympe.j.J.C([]);k.sj.K=olympe.j.J.C([]);k.oj.K=olympe.j.J.C([]);k.dk.K=olympe.j.J.C([]);k.tj.K=olympe.j.J.C([]);olympe.ui.F.Audio=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.F.Audio,olympe.host.$a.ib.LL),a);this.C=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.C);this.D=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob);this.R=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob);this.volume=olympe.j.Ya(olympe.j.aa).update(olympe.j.aa.ONE);this.O=olympe.j.Ya(olympe.j.aa).update(olympe.j.aa.ZERO);this.duration=olympe.j.Ya(olympe.j.aa).update(olympe.j.aa.ZERO);this.qa().bp(()=>{this.C.update(olympe.j.ia.ob)});
919
919
  this.qa().ap(()=>{this.C.update(olympe.j.ia.C)});this.qa().fp((b,c)=>{this.volume.update(olympe.j.Ca(b));this.D.update(olympe.j.kc(c))});this.qa().cp(b=>{this.O.update(olympe.j.Ca(b))});this.qa().Wo(()=>{this.R.update(olympe.j.ia.C)});this.qa().Vo(b=>{this.duration.update(olympe.j.Ca(b))})}ne(a){this.qa().ne(a);return this}gk(a){this.qa().gk(olympe.j.bg(a,b=>b?b.qa():null));return this}sj(a){this.qa().sj(a);return this}oj(a){this.qa().oj(a);return this}dk(a){this.qa().dk(a);return this}tj(a){this.qa().tj(a);
920
- return this}play(){this.qa().play();return this}pause(){this.qa().pause();return this}reload(){this.qa().reload();return this}Nk(a){this.qa().Nk(tc(0,sc(1,a)));return this}Lk(a){this.qa().Lk(a);return this}};k=olympe.ui.F.Audio.prototype;k.ne.K=olympe.j.J.C([]);k.gk.K=olympe.j.J.C([]);k.sj.K=olympe.j.J.C([]);k.oj.K=olympe.j.J.C([]);k.dk.K=olympe.j.J.C([]);k.tj.K=olympe.j.J.C([]);olympe.ui.F.du=class extends olympe.ui.F.lb{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.F.du,olympe.host.$a.ib.UL),a);void 0!==b&&this.Mk(b)}Mk(a){T(this).Mk(a)}};olympe.ui.F.JV=class extends olympe.ui.F.de{constructor(a,b){super(a);this.fc=olympe.j.Ab(b);a=olympe.ui.Ka.D().YA(this.fc);this.D=olympe.j.ma();this.wf=olympe.j.ma();this.mg=olympe.j.ma();this.vf=olympe.j.Ab();this.Rc=olympe.j.ma();this.ld=olympe.j.pd();this.Qb=olympe.j.ma();this.Fb=olympe.j.pd();this.Bg=olympe.j.pd();this.da=olympe.j.ma();this.Ck=olympe.j.ub(String,olympe.ui.ha.Cb.Tb);this.Ro=olympe.j.ub(String,olympe.ui.ha.wc.Tc);this.ca=olympe.j.pd();this.dd=olympe.j.ma();this.T=new olympe.ui.F.xd(this.oa().pa(),
920
+ return this}play(){this.qa().play();return this}pause(){this.qa().pause();return this}reload(){this.qa().reload();return this}Nk(a){this.qa().Nk(tc(0,sc(1,a)));return this}Lk(a){this.qa().Lk(a);return this}};k=olympe.ui.F.Audio.prototype;k.ne.K=olympe.j.J.C([]);k.gk.K=olympe.j.J.C([]);k.sj.K=olympe.j.J.C([]);k.oj.K=olympe.j.J.C([]);k.dk.K=olympe.j.J.C([]);k.tj.K=olympe.j.J.C([]);olympe.ui.F.du=class extends olympe.ui.F.lb{constructor(a,b){super(olympe.ui.Ka.C(olympe.N.F.du,olympe.host.$a.ib.UL),a);void 0!==b&&this.Mk(b)}Mk(a){T(this).Mk(a)}};olympe.ui.F.JV=class extends olympe.ui.F.de{constructor(a,b){super(a);this.fc=olympe.j.Ab(b);a=olympe.ui.Ka.D().YA(this.fc);this.D=olympe.j.ma();this.xf=olympe.j.ma();this.mg=olympe.j.ma();this.wf=olympe.j.Ab();this.Rc=olympe.j.ma();this.ld=olympe.j.pd();this.Qb=olympe.j.ma();this.Fb=olympe.j.pd();this.Bg=olympe.j.pd();this.da=olympe.j.ma();this.Ck=olympe.j.ub(String,olympe.ui.ha.Cb.Tb);this.Ro=olympe.j.ub(String,olympe.ui.ha.wc.Tc);this.ca=olympe.j.pd();this.dd=olympe.j.ma();this.T=new olympe.ui.F.xd(this.oa().pa(),
921
921
  0,0,0,!1,this.oa().sa());this.C=new olympe.ui.F.Xe(olympe.j.ed(this.oa().pa(),this.D));this.R=new olympe.ui.F.Bm(olympe.j.ed(this.da,this.D));this.yb=olympe.j.Ab();this.W=olympe.j.ed();this.nb=olympe.j.ed();this.Oa=olympe.j.Xc();this.na=olympe.j.pd();this.Ja=olympe.j.ma();this.Ga=olympe.j.pd();this.Il=new olympe.ui.F.bb(olympe.j.ed(this.oa().pa(),this.D));this.close=new olympe.ui.F.xe(this.W);this.close.rd(this.Oa);this.close.La(this.na);this.close.Md(this.Ja,this.Ga);this.close.dh(this.yb,olympe.ui.ha.Dh.dt,
922
- olympe.ui.ha.cf.Tb,this.W,this.nb);this.T.appendChild(this.C,'titleContainer');this.T.Md(this.Qb,this.Fb);this.C.appendChild(this.Il,'titleText',olympe.j.ed(0,0));this.C.appendChild(this.R,'closeButtonContainer',olympe.j.ed(this.oa().pa().ya(this.R.oa().sa()),0));this.C.Md(this.Rc,this.ld);this.C.Xb(this.dd);this.R.La(this.ca);this.R.appendChild(this.close,'closeButton',olympe.j.ed(.5,.5));olympe.ui.F.JV.prototype.be.call(this,a);a=this.Il;a.qb(this.wf);a.Bb(this.mg);a.wb(this.vf);a.kb(this.Bg);a.La(this.ca);
923
- a.Vb(this.Ck);a.Yb(this.Ro);fg(this,this.T,'WindowComponent')}Qd(a,b){this.T.appendChild(a,b);return this}be(a){super.be(a);K(this.D,olympe.j.ma(a.kP()));K(this.wf,olympe.j.ma(a.iP()));K(this.mg,olympe.j.ma(a.jP()));K(this.vf,olympe.j.Ab(a.hP()));K(this.Bg,a.lP());K(this.Rc,olympe.j.ma(a.fP()));K(this.ld,a.eP());var b=a.nP();K(this.Ck,a.mP());K(this.Ro,b);K(this.ca,a.dP());K(this.dd,a.gP());K(this.Qb,a.ZN());K(this.Fb,a.YN());K(this.yb,a.WN());K(this.W,a.VN());K(this.Oa,a.TN());K(this.na,a.QN());
922
+ olympe.ui.ha.cf.Tb,this.W,this.nb);this.T.appendChild(this.C,'titleContainer');this.T.Md(this.Qb,this.Fb);this.C.appendChild(this.Il,'titleText',olympe.j.ed(0,0));this.C.appendChild(this.R,'closeButtonContainer',olympe.j.ed(this.oa().pa().ya(this.R.oa().sa()),0));this.C.Md(this.Rc,this.ld);this.C.Xb(this.dd);this.R.La(this.ca);this.R.appendChild(this.close,'closeButton',olympe.j.ed(.5,.5));olympe.ui.F.JV.prototype.be.call(this,a);a=this.Il;a.qb(this.xf);a.Bb(this.mg);a.wb(this.wf);a.kb(this.Bg);a.La(this.ca);
923
+ a.Vb(this.Ck);a.Yb(this.Ro);fg(this,this.T,'WindowComponent')}Qd(a,b){this.T.appendChild(a,b);return this}be(a){super.be(a);K(this.D,olympe.j.ma(a.kP()));K(this.xf,olympe.j.ma(a.iP()));K(this.mg,olympe.j.ma(a.jP()));K(this.wf,olympe.j.Ab(a.hP()));K(this.Bg,a.lP());K(this.Rc,olympe.j.ma(a.fP()));K(this.ld,a.eP());var b=a.nP();K(this.Ck,a.mP());K(this.Ro,b);K(this.ca,a.dP());K(this.dd,a.gP());K(this.Qb,a.ZN());K(this.Fb,a.YN());K(this.yb,a.WN());K(this.W,a.VN());K(this.Oa,a.TN());K(this.na,a.QN());
924
924
  K(this.da,a.LN());K(this.nb,a.UN());K(this.Ja,a.SN());K(this.Ga,a.RN())}Eg(a){K(this.fc,a);return this}};let tg=0;function ug(a,b){return a.C.va().getMonth().Re(b.getMonth())}function vg(a,b){return a.C.va().lq().Re(b.lq()).and(ug(a,b))}function wg(a,b){K(a.Rc,olympe.j.kc(b))}
925
925
  olympe.ui.F.fg=class extends olympe.ui.F.de{constructor(a,b,c,d){function e(u,v){return olympe.j.Xa([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?yc(new Date(w.getYear(),w.getMonth()-1,1)).ku(-(x-(v+1))):v-(x-1)<y?yc(new Date(w.getYear(),w.getMonth()-1,1)).ku(v-(x-1)):42>v?yc(new Date(w.getYear(),w.getMonth(),1)).ku(v-(x-1)-y):yc(w)},olympe.j.ac)}function f(){for(let u=0;3>u;u++)for(let v=0;4>v;v++)p(u,
926
926
  v)}function g(){for(let u=0;6>u;u++)for(let v=0;7>v;v++)r(u,v)}super(a);const h=void 0===c?olympe.j.Ca(400):c.pa(),l=void 0===c?olympe.j.Ca(400):c.sa();c='Mon Tue Wed Thu Fri Sat Sun'.split(' ');this.Il=olympe.j.ed();this.Ro=olympe.j.Ab();this.T=olympe.j.pd();this.TE=olympe.j.ma();this.SE=olympe.j.pd();this.da=olympe.j.pd();this.eF=olympe.j.pd();olympe.j.pd();this.NF=Jc(this.da.Gl(),this.da.Fl(),this.da.ul());this.Oa=olympe.j.cZ();this.C=olympe.j.Ya(olympe.j.ac).update(olympe.j.Pa(olympe.j.ac.now()));
927
- this.Rc=olympe.j.Xc(!1);this.Bg=void 0===b?olympe.j.ia.C:b;this.Ga=null;this.D=new olympe.ui.F.Nb(void 0,'default');this.Ja=null;this.mg=olympe.j.ub(olympe.ui.F.nf,olympe.ui.Ka.hf());this.Qb=this.vf=this.wf=this.dd=this.Fb=this.yb=this.na=this.ld=this.nb=this.W=this.R=null;this.fc=tg++;this.Us=olympe.j.pd();this.LF=olympe.j.ma();this.ca=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.F.bb(new olympe.j.ga(h.Ta(5),
927
+ this.Rc=olympe.j.Xc(!1);this.Bg=void 0===b?olympe.j.ia.C:b;this.Ga=null;this.D=new olympe.ui.F.Nb(void 0,'default');this.Ja=null;this.mg=olympe.j.ub(olympe.ui.F.nf,olympe.ui.Ka.hf());this.Qb=this.wf=this.xf=this.dd=this.Fb=this.yb=this.na=this.ld=this.nb=this.W=this.R=null;this.fc=tg++;this.Us=olympe.j.pd();this.LF=olympe.j.ma();this.ca=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.F.bb(new olympe.j.ga(h.Ta(5),
928
928
  h.Ta(5)));w.Xb(h);w.Vb(olympe.ui.ha.Cb.Tb);w.Yb(olympe.ui.ha.wc.Tc);const x=olympe.j.ub(olympe.j.ac,xc({year:olympe.j.Pa(this.C.va()).getYear(),month:4*u+v+1,day:olympe.j.Pa(this.C.va()).lq()}));olympe.j.Wa([x],y=>{m.format(y.Av())});olympe.j.Za(ug(this,x),()=>{w.kb(O()).qb(18).Bb(600).Md(1,O())},()=>{w.kb(this.da).Bb(400).qb(16).Md(0,O())});w.La(this.T);w.Wc(()=>{this.C.update(xc({year:olympe.j.Pa(this.C.va()).getYear(),month:4*u+v+1,day:olympe.j.Pa(this.C.va()).lq()}));K(this.ca,olympe.j.ia.C);
929
- g()});olympe.j.Za(w.Lh(),()=>w.Md(1,O()),()=>{const y=olympe.j.Pa(ug(this,x));y&&y.valueOf()||w.Md(1,this.T)});this.wf.appendChild(w,'dpMonthElem'+(4*u+v),new olympe.j.ga(h.Ta(4).gb(v).Ra(h.Ta(4).ya(h.Ta(5)).Ta(2)),l.Ta(10).gb(9).Ta(3).gb(u)))},r=(u,v)=>{const w=new olympe.ui.F.bb(new olympe.j.ga(l.Ta(10),l.Ta(10)));w.Xb(h);w.Vb(olympe.ui.ha.Cb.Tb);w.Yb(olympe.ui.ha.wc.Tc);const x=e(this.C.va(),7*u+v);w.Jb(x.lq().pg());olympe.j.Za(ug(this,x),()=>{olympe.j.Za(vg(this,x),()=>{w.kb(Ec());w.La(O())},
930
- ()=>{w.kb(this.da);w.La(Hc())})},()=>{w.kb(this.NF);w.La(Hc())});w.Wc(()=>{this.C.update(xc({year:olympe.j.Pa(x).getYear(),month:olympe.j.Pa(x).getMonth(),day:olympe.j.Pa(x).lq()}));K(this.Oa,this.C.va());wg(this,olympe.j.Xc(!1))});olympe.j.Za(this.C.va().tp().Re(x.tp()).Qe(),()=>{const y=olympe.j.Pa(ug(this,x));void 0!==y&&y.valueOf()&&w.kb(O());w.La(this.T)});w.Md(olympe.j.Za(w.Lh(),()=>1,()=>0,olympe.j.aa),olympe.j.Za(w.Lh(),()=>O(),()=>this.T,olympe.j.Color));this.vf.appendChild(w,'dpElem'+(7*
929
+ g()});olympe.j.Za(w.Lh(),()=>w.Md(1,O()),()=>{const y=olympe.j.Pa(ug(this,x));y&&y.valueOf()||w.Md(1,this.T)});this.xf.appendChild(w,'dpMonthElem'+(4*u+v),new olympe.j.ga(h.Ta(4).gb(v).Ra(h.Ta(4).ya(h.Ta(5)).Ta(2)),l.Ta(10).gb(9).Ta(3).gb(u)))},r=(u,v)=>{const w=new olympe.ui.F.bb(new olympe.j.ga(l.Ta(10),l.Ta(10)));w.Xb(h);w.Vb(olympe.ui.ha.Cb.Tb);w.Yb(olympe.ui.ha.wc.Tc);const x=e(this.C.va(),7*u+v);w.Jb(x.lq().pg());olympe.j.Za(ug(this,x),()=>{olympe.j.Za(vg(this,x),()=>{w.kb(Ec());w.La(O())},
930
+ ()=>{w.kb(this.da);w.La(Hc())})},()=>{w.kb(this.NF);w.La(Hc())});w.Wc(()=>{this.C.update(xc({year:olympe.j.Pa(x).getYear(),month:olympe.j.Pa(x).getMonth(),day:olympe.j.Pa(x).lq()}));K(this.Oa,this.C.va());wg(this,olympe.j.Xc(!1))});olympe.j.Za(this.C.va().tp().Re(x.tp()).Qe(),()=>{const y=olympe.j.Pa(ug(this,x));void 0!==y&&y.valueOf()&&w.kb(O());w.La(this.T)});w.Md(olympe.j.Za(w.Lh(),()=>1,()=>0,olympe.j.aa),olympe.j.Za(w.Lh(),()=>O(),()=>this.T,olympe.j.Color));this.wf.appendChild(w,'dpElem'+(7*
931
931
  u+v),new olympe.j.ga(h.Ta(7).gb(v).Ra(h.Ta(7).ya(l.Ta(8)).Ta(2)),l.Ta(10).gb(u).gb(7).Ta(6)))},t=(u,v)=>{u=u.split('/');if(3===u.length){const w=xc({year:parseInt(u[2],10),month:parseInt(u[1],10),day:parseInt(u[0],10)});if(!w.jn()||4>u[2].length)return v;K(this.Oa,w);return w}return v};b=olympe.ui.Ka.D().uE(d);olympe.ui.F.fg.prototype.be.call(this,b);this.R=new olympe.ui.F.xd;this.R.La(this.T);this.R.Md(this.TE,this.SE);this.Bg.valueOf()?this.D.Gb(new olympe.j.ga(a.pa().ya(a.sa()).ya(8),a.sa())):
932
932
  this.D.Gb(a);this.D.Eg('default');this.Qb=new olympe.ui.F.ae(a.sa(),8);this.Qb.appendChild(this.D,'datepickerField');this.D.kj(()=>{this.C.update(t(olympe.j.Pa(this.D.Sj()).valueOf(),this.C.va()))});olympe.j.Wa([this.Oa],u=>{this.D.Jb(u.tp())});if(this.Bg){this.dd=(new olympe.ui.F.mc(new olympe.j.ga(a.sa(),a.sa()),'default')).Eg('default').Jb('\uf073').wb('Fontawesome');this.dd.Wc(()=>{wg(this,olympe.j.Za(F(this.Rc),()=>olympe.j.ia.ob,()=>olympe.j.ia.C,olympe.j.ia))});this.W=new olympe.ui.F.bb(new olympe.j.ga(h.Ta(8).gb(6),
933
933
  l.Ta(8)));this.W.Jb(olympe.j.Xa([this.C.va(),this.ca],(v,w)=>{const x=v.getYear().pg();return w.valueOf()?olympe.j.lc(m.format(v.Av())).uA(x,' '):x},olympe.j.jb));this.W.kb(O());olympe.j.Za(this.W.Lh(),()=>{this.W.qb(18);this.W.Bb(600)},()=>{this.W.qb(16);this.W.Bb(400)});this.W.Yb(olympe.ui.ha.wc.Tc);this.W.Vb(olympe.ui.ha.Cb.Tb);this.W.Wc(()=>{olympe.j.Za(F(this.ca),()=>K(this.ca,olympe.j.ia.ob))});this.yb=new olympe.ui.F.mc(new olympe.j.ga(h.Ta(8),l.Ta(8)),'\uf053');this.yb.La(this.T).qb(20).Bb(500).kb(O()).wb('FontAwesome');
934
934
  this.yb.Wc(()=>{if(void 0===this.C.va())return!1;if(F(this.ca).valueOf()){if(void 0!==this.C.va())return this.C.update(this.C.va().pA(-1)),g(),!0}else if(void 0!==this.C.va())return this.C.update(this.C.va().Ow(-1)),g(),!0;return!1});this.yb.Md(0,this.T);this.Fb=new olympe.ui.F.mc(new olympe.j.ga(h.Ta(8),l.Ta(8)),'\uf054');this.Fb.La(this.T).qb(20).Bb(500).kb(O()).wb('FontAwesome');this.Fb.Wc(()=>{if(void 0===this.C.va())return!1;F(this.ca).valueOf()?this.C.update(this.C.va().pA(1)):this.C.update(this.C.va().Ow(1));
935
935
  g();return!0});this.Fb.Md(0,this.T);this.na=new olympe.ui.F.mc(new olympe.j.ga(h,l.Ta(10)));this.na.Jb(olympe.j.Xa([this.C.va()],v=>{v=v.Av();return olympe.j.lc(`${n.format(v)} ${v.getDate()} ${m.format(v)} ${v.getFullYear()}`)},olympe.j.jb));this.na.kb(this.da);this.na.La(this.T);this.na.fk(olympe.j.Color.create(0,150,136,.8));this.na.Wc(()=>{wg(this,olympe.j.ia.ob);K(this.ca,olympe.j.ia.C);K(this.Oa,this.C.va())});this.na.Md(0,this.T);this.nb=new olympe.ui.F.ae;this.ld=new olympe.ui.F.ae(l.Ta(10));
936
- this.vf=new olympe.ui.F.Xe(new olympe.j.ga(h,l.Ta(10).gb(7)));this.wf=new olympe.ui.F.Xe(new olympe.j.ga(h,l.Ta(10).gb(9)));this.Ck=new olympe.ui.F.ae;this.nb.appendChild(this.yb,'topNavLeft');this.nb.appendChild(this.W,'panelTopTitle');this.nb.appendChild(this.Fb,'topNavRight');for(b=0;b<c.length;b++)d=new olympe.ui.F.bb(new olympe.j.ga(h.Ta(7),l.Ta(10))),d.Jb(c[b]),d.Vb(olympe.ui.ha.Cb.Tb),d.Yb(olympe.ui.ha.wc.Tc),d.kb(this.da),this.ld.appendChild(d,'titleRow'+F(this.ld.Sc()).valueOf());g();f();
937
- this.Ck.appendChild(this.na,'panelBottomDate');let u=olympe.j.ia.C;this.R.appendChild(this.nb,'panelTop');olympe.j.Za(this.ca,()=>{u.Qe().valueOf()&&this.R.removeChild('panelMonthsContent');this.R.appendChild(this.ld,'panelTitles');this.R.appendChild(this.vf,'panelDaysContent');this.R.appendChild(this.Ck,'panelBottom');u=olympe.j.ia.ob},()=>{u.Qe().valueOf()&&(this.R.removeChild('panelTitles'),this.R.removeChild('panelDaysContent'),this.R.removeChild('panelBottom'));this.R.appendChild(this.wf,'panelMonthsContent');
936
+ this.wf=new olympe.ui.F.Xe(new olympe.j.ga(h,l.Ta(10).gb(7)));this.xf=new olympe.ui.F.Xe(new olympe.j.ga(h,l.Ta(10).gb(9)));this.Ck=new olympe.ui.F.ae;this.nb.appendChild(this.yb,'topNavLeft');this.nb.appendChild(this.W,'panelTopTitle');this.nb.appendChild(this.Fb,'topNavRight');for(b=0;b<c.length;b++)d=new olympe.ui.F.bb(new olympe.j.ga(h.Ta(7),l.Ta(10))),d.Jb(c[b]),d.Vb(olympe.ui.ha.Cb.Tb),d.Yb(olympe.ui.ha.wc.Tc),d.kb(this.da),this.ld.appendChild(d,'titleRow'+F(this.ld.Sc()).valueOf());g();f();
937
+ this.Ck.appendChild(this.na,'panelBottomDate');let u=olympe.j.ia.C;this.R.appendChild(this.nb,'panelTop');olympe.j.Za(this.ca,()=>{u.Qe().valueOf()&&this.R.removeChild('panelMonthsContent');this.R.appendChild(this.ld,'panelTitles');this.R.appendChild(this.wf,'panelDaysContent');this.R.appendChild(this.Ck,'panelBottom');u=olympe.j.ia.ob},()=>{u.Qe().valueOf()&&(this.R.removeChild('panelTitles'),this.R.removeChild('panelDaysContent'),this.R.removeChild('panelBottom'));this.R.appendChild(this.xf,'panelMonthsContent');
938
938
  u=olympe.j.ia.ob});this.Ga=new olympe.ui.F.wd(this.mg.oa());this.Ga.La(new olympe.j.Color(0,0,0,0));this.Ga.Wc(()=>{wg(this,olympe.j.ia.ob);K(this.ca,olympe.j.ia.C)});olympe.j.Za(this.Rc,()=>{this.Ja=F(this.mg);this.Ga&&this.Ja.appendChild(this.Ga,'datepickerPanelOverlay_'+this.fc);this.Ja.appendChild(this.R,'datepickerPanel_'+this.fc,new olympe.j.ga(this.zh().pa(),this.zh().sa().Ra(a.sa().Ra(8))))},()=>{if(this.Ja){const v=this.Ja;this.Ja=null;v.removeChild('datepickerPanel_'+this.fc);this.Ga&&v.removeChild('datepickerPanelOverlay_'+
939
939
  this.fc)}});this.Qb.appendChild(this.dd,' datepickerButton')}fg(this,this.Qb,'datepickerFieldContent')}getValue(){return this.Oa}Ff(a){this.C.update(a);K(this.Oa,a)}Rg(a){this.D.Rg(a)}Vb(a){this.D.Vb(a);return this}Yb(a){this.D.Yb(a);return this}Jb(a){const b=vc(a);this.Ff(olympe.j.Za(b.jn(),()=>b,()=>{},olympe.j.ac));return this}Bb(a){this.D.Bb(a);return this}wb(a){this.D.wb(a);return this}qb(a){this.D.qb(a);return this}Rd(a){this.D.Rd(a);return this}kb(a){this.D.kb(a);return this}be(a){super.be(a);
940
940
  K(this.T,a.GO());K(this.da,a.IO());K(this.eF,a.HO());K(this.Il,a.NN());K(this.Ro,a.ON());this.La(a.KN());this.D.La(a.WO());this.D.kb(a.cP());this.D.eh(a.bP());this.D.qb(a.ZO());this.D.Bb(a.$O());K(this.Us,a.XO());K(this.LF,a.YO());this.D.Gc(a.aP())}};olympe.ui.F.fg.Ba=[olympe.ui.F.Qv];olympe.ui.F.Kd=class extends olympe.ui.F.de{constructor(a,b=0,c=100,d=1){super(a);const e=this.oa();this.D=olympe.j.Xa([e.pa(),e.sa()],(y,B)=>olympe.j.kc(y>=B),olympe.j.ia);this.min=olympe.j.ma(b);this.max=olympe.j.ma(c);this.nb=olympe.j.ma(d);this.R=olympe.j.Ya(olympe.j.aa);this.disabled=olympe.j.Ya(olympe.j.ia).update(olympe.j.ia.ob);a=olympe.j.Pa(this.min);M(this.R,a?a:olympe.j.aa.ZERO);olympe.j.us([this.max.ya(this.min).Ta(2).Ra(this.min)],y=>{this.R.update(y)});this.value=this.R.va();olympe.j.Wa([this.min],
@@ -962,7 +962,7 @@ olympe.ui.F.FG=class extends olympe.ui.F.xd{constructor(a,{f_:b,nY:c,dW:d,n_:e}=
962
962
  weekday:(J,V)=>{J.Jb('Mo Tu We Th Fr Sa Su'.split(' ')[V]);J.Yb(olympe.ui.ha.wc.Tc);J.Vb(olympe.ui.ha.Cb.Tb)}};void 0!==b&&(this.D.uQ=b);void 0!==c&&(this.D.oP=c);void 0!==d&&(this.D.hN=d);void 0!==e&&(this.D.weekday=e);b=new olympe.ui.F.ae(a,0,0,0,!1,u);const H=new r(y.ya(10),a);n=J=>{const V=new olympe.ui.F.bb(H);this.D.hN(V,J);return V};const G=J=>{J=l(this.C.va()).clone().pA(J);J.gB(this.da,this.ca).Rb(olympe.j.ia.C)&&(this.C.update(J),this.na(J))};c=n('<');c.Wc(()=>G(-1));d=n('>');d.Wc(()=>G(1));
963
963
  e=new olympe.ui.F.bb(new r(u.ya(y.gb(2)).gb(.55),a));a=new olympe.ui.F.bb(new r(u.ya(y.gb(2)).gb(.3),a));const R=n('<');R.Wc(()=>{const J=l(this.C.va()).clone().Ow(-1);J.gB(this.da,this.ca).Rb(olympe.j.ia.C)&&(this.C.update(J),this.na(J))});n=n('>');n.Wc(()=>{const J=l(this.C.va()).clone().Ow(1);J.gB(this.da,this.ca).Rb(olympe.j.ia.C)&&(this.C.update(J),this.na(J))});this.D.oP(e,a,this.C.va());b.appendChild(c,'hl_left_arrow');b.appendChild(e,'hl_year');b.appendChild(d,'hl_right_arrow');b.appendChild(R,
964
964
  'hl_yleft_arrow');b.appendChild(a,'hl_month');b.appendChild(n,'hl_yright_arrow');this.Ga=new olympe.ui.F.xe(new olympe.j.ga(u,1));this.Ga.La(Gc());const fa=new olympe.ui.F.ae(w,0,0,0,!1,u),Ta=J=>{const V=new olympe.ui.F.bb(new r(y,w));this.D.weekday(V,J);return V};Array(7).fill(0).forEach((J,V)=>fa.appendChild(Ta(V),'weekday_'+V));const ta=new olympe.ui.F.xd(u,0,0,0,!1,v.ya(x)),Ob=(J,V)=>{const Ka=new olympe.ui.F.bb(new r(y,V));let ua=null;olympe.j.Za(this.disabled.va().Qe(),()=>{ua=Ka.Wc(()=>{l(J.NE).valueOf()||
965
- this.C.update(xc({year:J.year,month:J.month,day:1}));this.my(xc({year:J.year,month:J.month,day:J.day}))})},()=>{null!==ua&&(this.Wj(ua),ua=null)});this.D.uQ(Ka,J);return Ka};h([this.C.va().getMonth(),this.C.va().getYear()],(J,V)=>{J=Gg(J-1,V);const Ka=v.ya(x).Ta(J.length);J.forEach((ua,Ua)=>{const Xa=new olympe.ui.F.ae(Ka,0,0,0,!1,u);ua.forEach(ja=>{ja.month++;const ii=Df=>Df.getYear().Re(ja.year).and(Df.getMonth().Re(ja.month).and(Df.lq().Re(ja.day)));ja.QE=ii(g.now());ja.vq=t(ii(this.Oa.va()),!1);
965
+ this.C.update(xc({year:J.year,month:J.month,day:1}));this.my(xc({year:J.year,month:J.month,day:J.day}))})},()=>{null!==ua&&(this.Wj(ua),ua=null)});this.D.uQ(Ka,J);return Ka};h([this.C.va().getMonth(),this.C.va().getYear()],(J,V)=>{J=Gg(J-1,V);const Ka=v.ya(x).Ta(J.length);J.forEach((ua,Ua)=>{const Xa=new olympe.ui.F.ae(Ka,0,0,0,!1,u);ua.forEach(ja=>{ja.month++;const ki=Df=>Df.getYear().Re(ja.year).and(Df.getMonth().Re(ja.month).and(Df.lq().Re(ja.day)));ja.QE=ki(g.now());ja.vq=t(ki(this.Oa.va()),!1);
966
966
  ja.NE=t(this.C.va().getMonth().Re(ja.month),!1);Xa.appendChild(Ob(ja,Ka),`tile_${ja.month}-${ja.day}`)});ta.appendChild(Xa,`tile_line-${Ua}`)})});this.La(O());this.gh(1);this.appendChild(ta,'content_layout');this.appendChild(fa,'weekday_layout');this.appendChild(this.Ga,'separator');this.appendChild(b,'header_layout')}VZ(a){this.Ga.La(a);return this}MZ(a){this.da=a;return this}LZ(a){this.ca=a;return this}vB(a){olympe.j.Wa([a],b=>{b=b.clone();b.jn().valueOf()&&this.C.update(b)})}pX(){return this.C.va()}ZY(a){this.na=
967
967
  a}Cf(a){olympe.j.Zb(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.kc(a))}my(a){olympe.j.Wa([a],b=>{b=b.clone();b.jn().valueOf()&&this.Oa.update(b)})}TA(){return this.Oa.va()}};k=olympe.ui.F.FG.prototype;k.VZ.K=olympe.j.J.C([]);k.MZ.K=olympe.j.J.C([]);k.LZ.K=olympe.j.J.C([]);k.vB.K=olympe.j.J.C([]);k.pX.K=new olympe.j.J(()=>olympe.j.ac,[]);k.ZY.K=olympe.j.J.O;k.my.K=olympe.j.J.O;k.TA.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.F.ww=class extends olympe.ui.F.lb{constructor(a=olympe.ui.F.ww.D.IC,b){const c=new olympe.j.ga;super(olympe.ui.Ka.C(olympe.N.F.Te,olympe.host.$a.ib.KD),c);this.C=olympe.j.Ya(olympe.j.aa).update(olympe.j.Ca(a));this.Nf=olympe.j.Ya(olympe.j.ia).update(olympe.j.kc(void 0===b));this.Ne=olympe.j.Ya(olympe.j.ia).update(olympe.j.kc(void 0===b));const d=b||new olympe.j.ga(100,100);let e=null;const f=olympe.j.zb().re(()=>{null===e&&(e=new olympe.j.ga);T(this).da((g,h)=>{e.oe(g);e.Fe(h)})});olympe.j.Wa([this.Nf,
968
968
  this.Ne],(g,h)=>{T(this).qp(g.valueOf(),h.valueOf());h=h.valueOf();g.valueOf()?(f(),c.oe(e.pa()),h?c.Fe(e.sa()):c.Fe(d.sa())):h?(f(),c.oe(d.pa()),c.Fe(e.sa())):(c.oe(d.pa()),c.Fe(d.sa()))})}Jb(a){olympe.j.Wa([a,this.C.va()],(b,c)=>{switch(c.valueOf()){case olympe.ui.F.ww.D.MT:b=(new remarkable.Remarkable({html:!0,typographer:!0,xhtmlOut:!0})).render(b.valueOf());break;case olympe.ui.F.ww.D.IC:b=b.valueOf();break;default:b=b.valueOf()}T(this).zB(b)});return this}$d(a){olympe.j.Wa([a],b=>{this.Nf.update(olympe.j.kc(b))});
@@ -982,7 +982,7 @@ H=p.gb(H).Ra(y);e=e.Ta(2).ya(t).ya(v.Ta(2)).Ta(x).gb(p);f=f.Ta(2).ya(u).ya(w.Ta(
982
982
  olympe.j.ma(1);let n;if(void 0===d){n=olympe.j.ma(1);var p=olympe.j.Ji(n,l,olympe.j.aa.Gh.Dp);var r=olympe.j.ma(1).ya(p)}else p=olympe.j.ma(1).ya(d),r=d;d=p;h&&(d=r,r=p);const t=this.position.pa(),u=this.position.sa(),v=this.D.pa(),w=this.D.sa();p=v.Ta(f);const x=w.Ta(g);var y=m.ya(p),B=m.ya(x);m=y.Ta(-2).gb(f).Ra(t).gb(r);r=B.Ta(-2).gb(g).Ra(u).gb(r);y=d.gb(y).Ra(p);B=d.gb(B).Ra(x);f=f.Ta(2).ya(t).ya(v.Ta(2)).Ta(p).gb(d);g=g.Ta(2).ya(u).ya(w.Ta(2)).Ta(x).gb(d);d=B.Ta(x);p=y.Ta(p);h?(a.setPosition(new olympe.j.ga(f.Ra(b),
983
983
  g.Ra(e))),a.setScale(new olympe.j.ga(p,d))):(a.setPosition(new olympe.j.ga(m.Ra(b),r.Ra(e))),a.setScale(new olympe.j.ga(y,B)));n&&K(n,0);c&&$c(c,l)}};olympe.ui.F.qf.Zoom.Ba=[olympe.ui.F.Hm];olympe.ui.F.qf.kr=class{constructor(a,b,c){this.O=olympe.j.Ab(olympe.ui.F.qf.kr.C.iA);this.duration=olympe.j.ma(300);this.D=olympe.j.ed();a&&K(this.O,a);b&&K(this.duration,b);c&&K(this.D,c)}run(a,b,c,d,e,f){a=F(this.duration).valueOf();c=e.oa().pa();d=e.oa().sa();b.setPosition(new olympe.j.ga(c,d));this.Yj(b,e);f&&$c(f,a)}Yj(a,b,c){b=F(this.duration).valueOf();var d=void 0!==F(this.D)?F(this.D):F(a.oa());const e=F(d.pa());d=F(d.sa());let f=e,g=d,h,l;l=olympe.j.ma(0);h=olympe.j.Ji(l,b,olympe.j.aa.Gh.Dp);
984
984
  switch(F(this.O).valueOf()){default:case olympe.ui.F.qf.kr.C.HC:f=h.gb(e);break;case olympe.ui.F.qf.kr.C.iA:g=h.gb(d)}a.Gb(new olympe.j.ga(f,g));l&&K(l,1);c&&$c(c,b);return h}C(a,b,c,d){b=F(this.duration).valueOf();var e=void 0!==F(this.D)?F(this.D):F(a.oa());const f=F(e.pa());e=F(e.sa());let g=f,h=e,l;void 0===d?(l=olympe.j.ma(1),d=olympe.j.Ji(l,b,olympe.j.aa.Gh.Dp)):d=olympe.j.ma(1).ya(d);switch(F(this.O).valueOf()){default:case olympe.ui.F.qf.kr.C.HC:g=d.gb(f);break;case olympe.ui.F.qf.kr.C.iA:h=
985
- d.gb(e)}a.Gb(new olympe.j.ga(g,h));l&&K(l,0);c&&$c(c,b)}};olympe.ui.F.qf.kr.C={HC:'hor',iA:'ver'};olympe.ui.F.qf.kr.Ba=[olympe.ui.F.Hm];olympe.ui.ta={};olympe.ui.ta.Zc={};olympe.ui.ta.Zc.kd=class extends olympe.ui.xf{constructor(){super(olympe.ui.Ka.C(olympe.N.ta.Zc.kd,olympe.host.$a.ib.OQ));this.D=this.C=null}rF(a,b){this.qa().rF(a.pa(),a.sa(),b.pa(),b.sa())}UE(){this.C=new olympe.j.Map(olympe.j.ga);const a=olympe.j.ed(),b=olympe.j.ed(),c=olympe.j.ed(),d=olympe.j.ed();this.qa().UE(e=>{e[0]&&e[1]&&e[2]&&e[3]&&e[4]&&e[5]&&e[6]&&e[7]?(this.C.Hi(olympe.ui.ta.Zc.kd.C.Fm)&&this.C.Hi(olympe.ui.ta.Zc.kd.C.Gm)&&this.C.Hi(olympe.ui.ta.Zc.kd.C.gm)&&this.C.Hi(olympe.ui.ta.Zc.kd.C.bt)||
985
+ d.gb(e)}a.Gb(new olympe.j.ga(g,h));l&&K(l,0);c&&$c(c,b)}};olympe.ui.F.qf.kr.C={HC:'hor',iA:'ver'};olympe.ui.F.qf.kr.Ba=[olympe.ui.F.Hm];olympe.ui.ta={};olympe.ui.ta.Zc={};olympe.ui.ta.Zc.kd=class extends olympe.ui.yf{constructor(){super(olympe.ui.Ka.C(olympe.N.ta.Zc.kd,olympe.host.$a.ib.OQ));this.D=this.C=null}rF(a,b){this.qa().rF(a.pa(),a.sa(),b.pa(),b.sa())}UE(){this.C=new olympe.j.Map(olympe.j.ga);const a=olympe.j.ed(),b=olympe.j.ed(),c=olympe.j.ed(),d=olympe.j.ed();this.qa().UE(e=>{e[0]&&e[1]&&e[2]&&e[3]&&e[4]&&e[5]&&e[6]&&e[7]?(this.C.Hi(olympe.ui.ta.Zc.kd.C.Fm)&&this.C.Hi(olympe.ui.ta.Zc.kd.C.Gm)&&this.C.Hi(olympe.ui.ta.Zc.kd.C.gm)&&this.C.Hi(olympe.ui.ta.Zc.kd.C.bt)||
986
986
  (this.C.set(olympe.ui.ta.Zc.kd.C.Fm,a),this.C.set(olympe.ui.ta.Zc.kd.C.Gm,b),this.C.set(olympe.ui.ta.Zc.kd.C.bt,d),this.C.set(olympe.ui.ta.Zc.kd.C.gm,c)),K(a,new olympe.j.ga(e[0],e[1])),K(b,new olympe.j.ga(e[2],e[3])),K(c,new olympe.j.ga(e[4],e[5])),K(d,new olympe.j.ga(e[6],e[7]))):(this.C.remove(olympe.ui.ta.Zc.kd.C.Fm),this.C.remove(olympe.ui.ta.Zc.kd.C.Gm),this.C.remove(olympe.ui.ta.Zc.kd.C.gm),this.C.remove(olympe.ui.ta.Zc.kd.C.bt))})}WE(){this.D=new olympe.j.Map(olympe.j.ga);const a=olympe.j.ed(),
987
987
  b=olympe.j.ed(),c=olympe.j.ed(),d=olympe.j.ed();this.qa().WE(e=>{e[0]&&e[1]?(this.D.Hi(olympe.ui.ta.Zc.kd.D.Fm)||this.D.set(olympe.ui.ta.Zc.kd.D.Fm,a),K(a,new olympe.j.ga(e[0],e[1]))):this.D.remove(olympe.ui.ta.Zc.kd.D.Fm);e[2]&&e[3]?(this.D.Hi(olympe.ui.ta.Zc.kd.D.Gm)||this.D.set(olympe.ui.ta.Zc.kd.D.Gm,b),K(b,new olympe.j.ga(e[2],e[3]))):this.D.remove(olympe.ui.ta.Zc.kd.D.Gm);e[4]&&e[5]?(this.D.Hi(olympe.ui.ta.Zc.kd.D.gm)||this.D.set(olympe.ui.ta.Zc.kd.D.gm,c),K(c,new olympe.j.ga(e[4],e[5]))):this.D.remove(olympe.ui.ta.Zc.kd.D.gm);
988
988
  e[6]&&e[7]?(this.D.Hi(olympe.ui.ta.Zc.kd.D.YB)||this.D.set(olympe.ui.ta.Zc.kd.D.YB,d),K(d,new olympe.j.ga(e[6],e[7]))):this.D.remove(olympe.ui.ta.Zc.kd.D.YB)})}rQ(){}iQ(){}EP(){}start(a){this.qa().start(a)}stop(){this.qa().stop()}};olympe.ui.ta.Zc.kd.C={Fm:'TopLeftCorner',Gm:'TopRightCorner',gm:'BottomLeftCorner',bt:'BottomRightCorner'};olympe.ui.ta.Zc.kd.D={Fm:'TopLeftPatternPoint',Gm:'TopRightPatternPoint',gm:'BottomLeftPatternPoint',YB:'BottomRightAlignmentPoint'};olympe.ui.ta.yc=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.ta.yc,olympe.host.$a.ib.fG),a)}C(){return this.qa()}arc(a,b,c,d,e,f){this.C().arc(a,b,c,d,e,f)}arcTo(a,b,c,d,e){this.C().arcTo(a,b,c,d,e)}beginPath(){this.C().beginPath()}bezierCurveTo(a,b,c,d,e,f){this.C().bezierCurveTo(a,b,c,d,e,f)}clearRect(a,b,c,d){this.C().clearRect(a,b,c,d)}clip(){this.C().clip()}closePath(){this.C().closePath()}fill(){this.C().fill()}fillRect(a,b,c,d){this.C().fillRect(a,b,c,d)}fillText(a,
@@ -992,7 +992,7 @@ b=>{this.map.Fg(b.valueOf());this.tq({animate:!0})});olympe.j.Wa([this.oa().sa()
992
992
  this.longitude.update(olympe.j.Ca(b))});this.map.Gx(b=>{const c=olympe.j.Pa(this.latitude.va());(void 0===c||c.isNaN().valueOf()||.001<Math.abs(c.valueOf()-b))&&this.latitude.update(olympe.j.Ca(b))});this.O().appendChild(this.map,'map');this.map.Ub.onDestroy(()=>{this.D=!0})}Ps(a,b,c,d){this.map.Ps(a,b,c,d);return this.map}Qs(a){olympe.j.Wa([a],b=>{this.C.update(b)});return this.map}R(){return this.C.va()}Gs(a){olympe.j.Wa([a],b=>{this.longitude.update(b)});return this.map}Fs(a){olympe.j.Wa([a],b=>
993
993
  {this.latitude.update(b)});return this.map}CE(){return this.longitude.va()}AE(){return this.latitude.va()}lu(a,b,c){this.map.lu(a,b,c);return this.map}Mw(a){this.map.Mw(a);return this.map}ys(a){this.D||this.map.ys(a);return this.map}Jw(a,b){this.map.Jw(a,b);return this.map}Uu(a){this.D||this.map.Uu(a);return this.map}Cv(a,b){this.map.Cv(a,b);return this.map}Ev(a,b){this.map.Ev(a,b);return this.map}Fv(a,b){this.map.Fv(a,b);return this.map}xv(a,b,c){this.map.xv(a,b,c);return this.map}su(a,b){this.map.su(a,
994
994
  b);return this.map}tu(a){this.map.tu(a);return this.map}Su(a,b){this.map.Su(a,b);return this.map}Qu(a,b){this.map.Qu(a,b);return this.map}uu(a,b,c){this.map.uu(a,b,c);return this.map}vu(a,b){this.map.vu(a,b);return this.map}mv(a){this.map.mv(a);return this.map}pv(a){this.map.pv(a);return this.map}nv(a){this.map.nv(a);return this.map}Ru(a,b){this.map.Ru(a,b);return this.map}tq(a){this.map.tq(a);return this.map}stop(){this.map.stop();return this.map}appendChild(a,b,...c){fg(this,a,b,...c);return this}removeChild(a){this.O().removeChild(a);
995
- return this}};olympe.ui.Sa.Ua.Map.prototype.R.K=olympe.j.J.D;olympe.ui.Sa.Ua.Map.prototype.CE.K=olympe.j.J.D;olympe.ui.Sa.Ua.Map.prototype.AE.K=olympe.j.J.D;olympe.ui.P={};olympe.ui.P.Bi=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.P.Bi,olympe.host.$a.ib.UM),a);this.C=this.D=void 0}sy(a,b){this.D||Q(this,()=>{this.D=olympe.j.ed(0,0);this.C=olympe.j.ed();this.qa().sy(this.D.pa(),this.D.sa(),this.C.pa(),this.C.sa())});K(this.C,a);b&&K(this.C,b)}appendChild(a,b){this.qa().appendChild(a.qa(),b)}removeChild(a){this.qa().removeChild(a)}};olympe.ui.P.ye=class extends olympe.ui.xf{constructor(a){super(a);this.hidden=null}Ah(a){this.qa().Ah(a)}Js(a){this.qa().Js(a)}rd(a){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Xc(!1)});K(this.hidden,a);this.qa().rd(a);return this}ns(){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Xc(!1)});return this.hidden}};olympe.ui.P.ye.prototype.ns.K=olympe.j.J.T;olympe.ui.P.zd=class extends olympe.ui.P.ye{constructor(a){super(a);this.O=this.D=this.position=void 0}ca(){return this.qa()}setPosition(a){this.position||Q(this,()=>{this.position=olympe.j.ed();this.ca().setPosition(this.position.pa(),this.position.sa())});K(this.position,a);return this}ce(){this.position||this.setPosition(new olympe.j.ga);return this.position}Gb(a){this.D||Q(this,()=>{this.D=olympe.j.ed();this.ca().Gb(this.D.pa(),this.D.sa())});K(this.D,a);return this}oa(){this.D||this.Gb(new olympe.j.ga);
995
+ return this}};olympe.ui.Sa.Ua.Map.prototype.R.K=olympe.j.J.D;olympe.ui.Sa.Ua.Map.prototype.CE.K=olympe.j.J.D;olympe.ui.Sa.Ua.Map.prototype.AE.K=olympe.j.J.D;olympe.ui.P={};olympe.ui.P.Bi=class extends olympe.ui.F.lb{constructor(a){super(olympe.ui.Ka.C(olympe.N.P.Bi,olympe.host.$a.ib.UM),a);this.C=this.D=void 0}sy(a,b){this.D||Q(this,()=>{this.D=olympe.j.ed(0,0);this.C=olympe.j.ed();this.qa().sy(this.D.pa(),this.D.sa(),this.C.pa(),this.C.sa())});K(this.C,a);b&&K(this.C,b)}appendChild(a,b){this.qa().appendChild(a.qa(),b)}removeChild(a){this.qa().removeChild(a)}};olympe.ui.P.ye=class extends olympe.ui.yf{constructor(a){super(a);this.hidden=null}Ah(a){this.qa().Ah(a)}Js(a){this.qa().Js(a)}rd(a){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Xc(!1)});K(this.hidden,a);this.qa().rd(a);return this}ns(){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Xc(!1)});return this.hidden}};olympe.ui.P.ye.prototype.ns.K=olympe.j.J.T;olympe.ui.P.zd=class extends olympe.ui.P.ye{constructor(a){super(a);this.O=this.D=this.position=void 0}ca(){return this.qa()}setPosition(a){this.position||Q(this,()=>{this.position=olympe.j.ed();this.ca().setPosition(this.position.pa(),this.position.sa())});K(this.position,a);return this}ce(){this.position||this.setPosition(new olympe.j.ga);return this.position}Gb(a){this.D||Q(this,()=>{this.D=olympe.j.ed();this.ca().Gb(this.D.pa(),this.D.sa())});K(this.D,a);return this}oa(){this.D||this.Gb(new olympe.j.ga);
996
996
  return this.D}setScale(a){this.O||Q(this,()=>{this.O=olympe.j.ma();this.ca().setScale(this.O)});K(this.O,a);return this}qq(){this.O||this.setScale(olympe.j.ma(1));return this.O}};olympe.ui.P.zd.prototype.ca.K=new olympe.j.J(()=>olympe.N.P.zd,[]);olympe.ui.P.zd.prototype.ce.K=olympe.j.J.W;olympe.ui.P.zd.prototype.oa.K=olympe.j.J.W;olympe.ui.P.zd.prototype.qq.K=new olympe.j.J(()=>olympe.j.T1,[]);olympe.ui.P.pc=class extends olympe.ui.P.zd{constructor(a){super(a);this.C=this.wg=this.Cg=this.strokeLinecap=this.da=this.na=this.strokeWidth=this.strokeColor=this.fillColor=null}Vx(a){this.qa().Vx(a)}setFillColor(a){this.fillColor||Q(this,()=>{this.fillColor=olympe.j.pd();this.qa().yB(this.fillColor.Gl(),this.fillColor.Fl(),this.fillColor.ul(),this.fillColor.tl())});K(this.fillColor,a);return this}setStrokeColor(a){this.strokeColor||Q(this,()=>{this.strokeColor=olympe.j.pd();this.qa().FB(this.strokeColor.Gl(),
997
997
  this.strokeColor.Fl(),this.strokeColor.ul(),this.strokeColor.tl())});K(this.strokeColor,a);return this}uv(a){this.strokeWidth||Q(this,()=>{this.strokeWidth=olympe.j.ma();this.qa().uv(this.strokeWidth)});K(this.strokeWidth,a);return this}oy(a){this.na||Q(this,()=>{this.na=olympe.j.Ab();this.qa().oy(this.na)});K(this.na,a);return this}ny(a){this.da||Q(this,()=>{this.da=olympe.j.ma();this.qa().ny(this.da)});K(this.da,a);return this}py(a){this.strokeLinecap||Q(this,()=>{this.strokeLinecap=olympe.j.Ab();
998
998
  this.qa().py(this.strokeLinecap)});K(this.strokeLinecap,a);return this}Ds(a){const b=c=>{this.qa().Ds(c.sq())};a.Jh?nc(a,b):b(a);return this}zy(){this.qa().zy()}hv(a){const b=c=>{this.qa().hv(c.qa())};a.Jh?nc(a,b):b(a);return this}Ay(){this.qa().Ay()}by(a){olympe.j.Wa([a],b=>{this.qa().by(b.qa())});return this}By(){this.qa().By()}Hw(a,b,c,d='linear',e='indefinite'){this.qa().Hw(a,b,c,d,e)}rotate(a,b,c){this.qa().rotate(a,b,c);return this}YS(a,b={}){if(olympe.ui.Ka.$())return this;this.C||(this.C=
@@ -1012,7 +1012,7 @@ a);return this}ty(a){K(this.T,a);return this}$x(a){K(this.D,a);return this}qy(a)
1012
1012
  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.D+'" 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>'}KF(){return'data:image/svg+xml,'+encodeURIComponent(this.toString())}};olympe.ui.P.oM=class extends olympe.ui.P.pc{constructor(a){super(a);this.text=null;this.$=this.W=this.T=this.fontSize=void 0;this.R=null}Jb(a){const b=this;this.text||Q(this,()=>{b.text=olympe.j.Ab();b.qa().Jb(b.text)});K(this.text,a);return this}Sj(){this.text||this.Jb('');return this.text}Gb(){return this}oa(){this.R||Q(this,()=>{this.R=new olympe.j.ga(0,0);this.qa().mp((a,b)=>{this.R.oe(a);this.R.Fe(b)})});return this.R}qb(a){const b=this;this.fontSize||Q(this,()=>{b.fontSize=olympe.j.ma();b.qa().qb(b.fontSize)});
1013
1013
  K(this.fontSize,a);return this}wb(a){const b=this;this.T||Q(this,()=>{b.T=olympe.j.Ab();b.qa().wb(b.T)});K(this.T,a);return this}Bb(a){const b=this;this.W||Q(this,()=>{b.W=olympe.j.ma();b.qa().Bb(b.W)});K(this.W,a);return this}Yx(a){const b=this;this.$||Q(this,()=>{b.$=olympe.j.Ab();b.qa().Yx(b.$)});K(this.$,a);return this}};olympe.ui.P.Text=class extends olympe.ui.P.oM{constructor(){super(olympe.ui.Ka.C(olympe.N.P.Text,olympe.host.$a.ib.VM))}};olympe.ui.P.Cw=class extends olympe.ui.P.oM{constructor(){super(olympe.ui.Ka.C(olympe.N.P.Cw,olympe.host.$a.ib.WM))}Is(a){olympe.j.Wa([a],b=>{this.qa().Is(b.qa())});return this}};olympe.ui.ei={};olympe.ui.ei.Ec=class{constructor(a,b,c=!1){this.V=a;this.T=b;this.ca=olympe.j.ub(olympe.ui.F.ea.xh,new olympe.ui.F.ea.az);this.na=new olympe.j.$z;this.Aa=new olympe.ui.F.nf(this);this.Na=c}$(){return this.Na}C(a,b){return Yc(this.T,a,b)}hf(){return this.Aa}hi(a){this.hf().hi(a);return this}D(){return this.ca}da(a){K(this.ca,a)}O(a){return Sc(this.na,a)}R(a){Qc(this.na,a)}sb(){return this.V}$m(a){a=this.T.C.get(a.vg().ZD)||null;return null!==a&&'function'===typeof a.$m?a.$m():null}W(a,b){var c=[];
1014
1014
  return(a=this.T.C.get(a.vg().ZD)||null)&&'function'===typeof a[b]?a[b].call(a,...c):void 0}};olympe.ui.ei.Ec.Ba=[olympe.ui.Ec];olympe.ui.ba={Mb:'ui.Manager',Wb:'ui.Logger',FT:'ui.MediaDeviceProvider'};olympe.ui.Config={EK:'ui.noTooltips'};olympe.ui.Ka=null;olympe.ra.$e(function(a){E(a,olympe.ui.Config.EK,!1);C(a,olympe.ui.ba.Mb,[olympe.ui.ba.Wb,olympe.host.ba.Mb,new olympe.ra.xb(olympe.ui.Config.EK)],(b,c,d)=>{null===olympe.ui.Ka&&(olympe.ui.Ka=new olympe.ui.ei.Ec(b,c,d));return olympe.ui.Ka},!0);C(a,olympe.ui.ba.Wb,[olympe.eb.ba.Mb],b=>b.Zg('ui'));A(a,olympe.ui.ba.FT,olympe.ui.media.Vp)},'olympe.ui');
1015
- olympe.ra.run([olympe.ui.ba.Mb],a=>a,'olympe.ui');olympe.G.H.ui={};olympe.G.H.ui.xf=class extends olympe.G.H.host.Xi{constructor(a,b){super(a,b)}};olympe.G.H.ui.xf.Ba=[olympe.N.xf];olympe.G.H.ui.la={};const Lg='b i s sub sup u br'.split(' '),Mg=new RegExp('</?('+Lg.join('|')+')/?>'),Ng=new RegExp('<(?!/?('+Lg.join('|')+')/?>)','g'),Og=new RegExp('>(?!/?('+Lg.map(a=>a.split('').reverse().join('')).join('|')+')/?<)','g');olympe.G.H.ui.la.X0=class{};olympe.G.H.ui.Ma={};olympe.G.H.ui.Ma.Wv=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.Ma.lr=class extends olympe.G.H.ui.Ma.Wv{constructor(a){super(a);this.D=void 0}Ml(a){void 0===this.D&&(this.D=b=>{b.stopPropagation();a(this.C.value)},this.addEventListener('input',this.D,!1))}em(){this.D&&(this.removeEventListener('input',this.D),this.D=void 0)}};olympe.G.H.ui.Ma.lr.prototype.unregisterValueChanged=olympe.G.H.ui.Ma.lr.prototype.em;olympe.G.H.ui.Ma.lr.prototype.registerValueChanged=olympe.G.H.ui.Ma.lr.prototype.Ml;olympe.G.H.ui.Ma.lr.Ba=[olympe.N.Y.qr];olympe.G.H.ui.Ma.Th=class extends olympe.G.H.ui.Ma.Wv{constructor(a){super(a);this.R=this.D=this.O=null}Jk(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,b)},this.addEventListener('keypress',this.O,!1))}vj(){this.removeEventListener('keypress',this.O);this.O=null}Ik(a){null===this.D&&(this.D=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||
1015
+ olympe.ra.run([olympe.ui.ba.Mb],a=>a,'olympe.ui');olympe.G.H.ui={};olympe.G.H.ui.yf=class extends olympe.G.H.host.Xi{constructor(a,b){super(a,b)}};olympe.G.H.ui.yf.Ba=[olympe.N.yf];olympe.G.H.ui.la={};const Lg='b i s sub sup u br'.split(' '),Mg=new RegExp('</?('+Lg.join('|')+')/?>'),Ng=new RegExp('<(?!/?('+Lg.join('|')+')/?>)','g'),Og=new RegExp('>(?!/?('+Lg.map(a=>a.split('').reverse().join('')).join('|')+')/?<)','g');olympe.G.H.ui.la.X0=class{};olympe.G.H.ui.Ma={};olympe.G.H.ui.Ma.Wv=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.Ma.lr=class extends olympe.G.H.ui.Ma.Wv{constructor(a){super(a);this.D=void 0}Ml(a){void 0===this.D&&(this.D=b=>{b.stopPropagation();a(this.C.value)},this.addEventListener('input',this.D,!1))}em(){this.D&&(this.removeEventListener('input',this.D),this.D=void 0)}};olympe.G.H.ui.Ma.lr.prototype.unregisterValueChanged=olympe.G.H.ui.Ma.lr.prototype.em;olympe.G.H.ui.Ma.lr.prototype.registerValueChanged=olympe.G.H.ui.Ma.lr.prototype.Ml;olympe.G.H.ui.Ma.lr.Ba=[olympe.N.Y.qr];olympe.G.H.ui.Ma.Th=class extends olympe.G.H.ui.Ma.Wv{constructor(a){super(a);this.R=this.D=this.O=null}Jk(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,b)},this.addEventListener('keypress',this.O,!1))}vj(){this.removeEventListener('keypress',this.O);this.O=null}Ik(a){null===this.D&&(this.D=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||
1016
1016
  b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey,b)},this.addEventListener('keydown',this.D,!1))}uj(){this.removeEventListener('keydown',this.D);this.D=null}Kk(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,b)},this.addEventListener('keyup',this.R,!1))}wj(){this.removeEventListener('keyup',this.R);this.R=null}};olympe.G.H.ui.Ma.Th.prototype.unregisterKeyUp=olympe.G.H.ui.Ma.Th.prototype.wj;
1017
1017
  olympe.G.H.ui.Ma.Th.prototype.registerKeyUp=olympe.G.H.ui.Ma.Th.prototype.Kk;olympe.G.H.ui.Ma.Th.prototype.unregisterKeyDown=olympe.G.H.ui.Ma.Th.prototype.uj;olympe.G.H.ui.Ma.Th.prototype.registerKeyDown=olympe.G.H.ui.Ma.Th.prototype.Ik;olympe.G.H.ui.Ma.Th.prototype.unregisterKeyPressed=olympe.G.H.ui.Ma.Th.prototype.vj;olympe.G.H.ui.Ma.Th.prototype.registerKeyPressed=olympe.G.H.ui.Ma.Th.prototype.Jk;olympe.G.H.ui.Ma.Th.Ba=[olympe.N.Y.tg];olympe.G.H.ui.Ma.Jc=class a extends olympe.G.H.ui.Ma.Wv{constructor(b){super(b);this.R=Object.create(null);this.W=!1}$(){this.W=!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(),
1018
1018
  e.target.focus();if('click'===b&&this.W)this.W=!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)}}ca(b){if(!this.R.wheel){const c=d=>{d.stopPropagation();d.preventDefault();const 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.Ma.Jc.C(d.button),
@@ -1040,7 +1040,7 @@ null).getPropertyValue('padding-top')||0,10),e=parseInt(window.getComputedStyle(
1040
1040
  c();this.height=b();a(this.width,this.height)},a(this.width,this.height),window.addEventListener('resize',this.R))}Ys(){this.removeEventListener('resize',this.R,!1);this.R=null}};olympe.G.H.ui.Ma.Ui.prototype.unregisterSize=olympe.G.H.ui.Ma.Ui.prototype.Ys;olympe.G.H.ui.Ma.Ui.prototype.registerSize=olympe.G.H.ui.Ma.Ui.prototype.xs;olympe.G.H.ui.Ma.Ui.prototype.unregisterBlur=olympe.G.H.ui.Ma.Ui.prototype.Ws;olympe.G.H.ui.Ma.Ui.prototype.registerBlur=olympe.G.H.ui.Ma.Ui.prototype.vs;
1041
1041
  olympe.G.H.ui.Ma.Ui.prototype.unregisterFocus=olympe.G.H.ui.Ma.Ui.prototype.Xs;olympe.G.H.ui.Ma.Ui.prototype.registerFocus=olympe.G.H.ui.Ma.Ui.prototype.ws;olympe.G.H.ui.Ma.Ui.Ba=[olympe.N.Y.Vi];olympe.G.H.ui.F={};let Qg,Rg=null;function Sg(){Rg||(Rg=new olympe.G.H.ui.F.OR);return Rg}function Tg(a,b,c,d){const e=b.ua();e.id||(e.id='o'+b.uid);b='#'+e.id+c;d=b+'{'+d+'}';void 0!==a.C[b]&&a.D.deleteRule(a.C[b]);a.C[b]=a.D.cssRules.length;a.D.insertRule(d,a.C[b])}function Ug(a,b,c){switch(Qg){case 'webkit':Tg(a,b,'::-webkit-input-placeholder',c);break;case 'moz':Tg(a,b,'::-moz-placeholder',c);break;case 'ms':Tg(a,b,':-ms-input-placeholder',c);break;default:Tg(a,b,'::input-placeholder',c)}}
1042
1042
  olympe.G.H.ui.F.OR=class{constructor(){const a=document.createElement('style');document.head.appendChild(a);if(!Qg){const b=window.getComputedStyle(document.documentElement,'');Qg=(Array.prototype.slice.call(b).join('').match(/-(moz|webkit|ms)-/)||''===b.OLink&&['','o'])[1]}this.D=a.sheet;this.C={}}};const Vg=new Set;let Wg=0;function Xg(a){const b=()=>{const d=new Map;Vg.forEach(e=>{const f=e.parentElement;null===f||Vg.has(f)||d.set(e,f)});Vg.clear();d.forEach((e,f)=>{e.removeChild(f)})},c=d=>{if(d<Wg){const e=Wg;window.setTimeout(()=>c(e),30)}else Wg=0,b()};Vg.add(a.ua());Wg++;1===Wg&&c(0)}function U(a,b,c){a.R.has(b)||a.R.set(b,c)}function W(a,b){a.R.has(b)&&a.R.delete(b)}
1043
- olympe.G.H.ui.F.HTMLElement=class extends olympe.G.H.ui.xf{constructor(a,b,c){super(a,b);this.ca=c;this.setAttribute('O_Id',this.uid);this.na=this.borderWidth=this.rotationAngle=0;this.W=this.Ja=this.Ga=null;this.fc=olympe.ui.ha.Dh.Zs;this.oc=olympe.ui.ha.cf.Tb;this.Zu=this.Yu=1;this.Oa=this.wg=this.Cg=null;this.R=new Map;a=Object.create(null);a['overflow-x']='hidden';a['overflow-y']='hidden';a.position='absolute';a.outline='0px solid transparent';a['pointer-events']='auto';Object.assign(this.ca.style,
1043
+ olympe.G.H.ui.F.HTMLElement=class extends olympe.G.H.ui.yf{constructor(a,b,c){super(a,b);this.ca=c;this.setAttribute('O_Id',this.uid);this.na=this.borderWidth=this.rotationAngle=0;this.W=this.Ja=this.Ga=null;this.fc=olympe.ui.ha.Dh.Zs;this.oc=olympe.ui.ha.cf.Tb;this.Zu=this.Yu=1;this.Oa=this.wg=this.Cg=null;this.R=new Map;a=Object.create(null);a['overflow-x']='hidden';a['overflow-y']='hidden';a.position='absolute';a.outline='0px solid transparent';a['pointer-events']='auto';Object.assign(this.ca.style,
1044
1044
  a)}$m(){return this.ca}La(a){this.hb('backgroundColor',a)}nF(a,b,c,d){this.hb('backgroundColor','rgba('+a+','+b+','+c+','+d+')')}og(a){this.hb('opacity',a)}dh(a,b,c,d,e,f){this.Ga=d||null;this.Ja=e||null;this.na=f||0;this.Sq(c);this.rp(b);this.Cs(a)}Cs(a){a&&(this.hb('backgroundRepeat','no-repeat'),this.hb('backgroundImage',"url('"+a+"')"))}Sq(a){this.oc=a;switch(a){case olympe.ui.ha.cf.mh:a='center top';break;case olympe.ui.ha.cf.Gm:a='right top';break;case olympe.ui.ha.cf.BG:a='left center';break;
1045
1045
  case olympe.ui.ha.cf.Tb:a='center center';break;case olympe.ui.ha.cf.CG:a='right center';break;case olympe.ui.ha.cf.gm:a='left bottom';break;case olympe.ui.ha.cf.Ch:a='center bottom';break;case olympe.ui.ha.cf.bt:a='right bottom';break;case olympe.ui.ha.cf.Fm:a='left top';break;default:a=this.na+'px '+this.na+'px'}this.hb('backgroundPosition',a)}rp(a){this.fc=a;switch(a){case olympe.ui.ha.Dh.dt:a='contain';break;case olympe.ui.ha.Dh.et:a='cover';break;case olympe.ui.ha.Dh.Zs:a='auto';break;default:a=
1046
1046
  this.Ga&&this.Ja?this.Ga+'px '+this.Ja+'px':'auto'}this.hb('backgroundSize',a)}Bs(a,b){this.Ga=a;this.Ja=b;this.rp(this.fc)}As(a=0){this.na=a;this.Sq(this.oc)}Gn(){this.ua().blur()}rj(a=!0){this.ua().focus({preventScroll:a})}rd(a){this.hb('display',a?'none':'initial')}Os(a){'number'===typeof a?this.setAttribute('tabIndex',a.toString()):this.removeAttribute('tabIndex')}Ah(a){this.hb('pointer-events',a?'none':'auto')}gv(a){a||null!==this.W?a&&null!==this.W&&(this.ca.removeEventListener('contextmenu',
@@ -1185,15 +1185,15 @@ olympe.G.H.ui.ta.Ic.prototype.arcTo=olympe.G.H.ui.ta.Ic.prototype.arcTo;olympe.G
1185
1185
  b){const c=this.C.getContext('2d'),d=new Image;d.crossOrigin='Anonymous';d.onload=()=>{this.C.width=d.width;this.C.height=d.height;c.clearRect(0,0,d.width,d.height);c.drawImage(d,0,0,d.width,d.height,0,0,d.width,d.height);b(!0,d.width,d.height)};d.onerror=()=>{b(!1,0,0)};d.src=a}};olympe.G.H.ui.ta.Image.prototype.drawUrl=olympe.G.H.ui.ta.Image.prototype.Ww;olympe.G.H.ui.ta.Image.prototype.drawVectorial=olympe.G.H.ui.ta.Image.prototype.Xw;olympe.G.H.ui.ta.Image.prototype.toDataUrl=olympe.G.H.ui.ta.Image.prototype.KF;
1186
1186
  olympe.host.Yc.register(olympe.host.$a.ib.gG,olympe.G.H.ui.ta.Image);olympe.G.H.ui.ta.Image.Ba=[olympe.N.ta.Image];olympe.G.H.ui.ta.filters={};olympe.G.H.ui.ta.filters.xt=class extends olympe.G.H.ui.F.ic{constructor(a,b){const c=document.createElement('canvas');super(a,b,c);this.O=1;this.C=null;this.T=c;window.D=this.D.bind(this)}DB(a){this.O=a;this.D()}AB(a){const b=this.uid;null!==this.C&&this.C.D.delete(b);this.C=a;this.C.D.set(b,this.D.bind(this))}D(){if(null!==this.C){var a=this.C.C,b=a.width,c=a.height;a=a.getContext('2d').getImageData(0,0,b,c).data;var d=this.T;d.width=b;d.height=c;var e=d.getContext('2d').getImageData(0,0,b,c),f=
1187
1187
  e.data,g=this.O+.5|0,h=b/g+1|0,l=c/g+1|0,m,n,p,r,t,u,v;for(n=0;n<l;n++){var w=n*g;var x=Math.min(g,c-w);for(m=0;m<h;m++){var y=m*g;var B=Math.min(g,b-y);var H=x*B;for(r=v=u=t=0;r<x;r++){var G=(w+r)*b;for(p=0;p<B;p++){var R=4*(y+p+G);t+=a[R];u+=a[R+1];v+=a[R+2]}}t/=H;u/=H;v/=H;for(r=0;r<x;r++)for(G=(w+r)*b,p=0;p<B;p++)R=4*(y+p+G),f[R]=t,f[R+1]=u,f[R+2]=v,f[R+3]=255}}d.getContext('2d').putImageData(e,0,0)}}};olympe.G.H.ui.ta.filters.xt.prototype.setImage=olympe.G.H.ui.ta.filters.xt.prototype.AB;
1188
- olympe.G.H.ui.ta.filters.xt.prototype.setSquareSize=olympe.G.H.ui.ta.filters.xt.prototype.DB;olympe.host.Yc.register(olympe.host.$a.ib.hG,olympe.G.H.ui.ta.filters.xt);olympe.G.H.ui.ta.filters.xt.Ba=[olympe.N.ta.filters.jw];olympe.G.H.ui.media={};olympe.G.H.ui.media.nr=class extends olympe.G.H.ui.xf{constructor(a,b){super(a,b)}destroy(){}$(){}ca(){}Vs(a,b,c){const d=new olympe.G.H.ui.F.Jd('takePictureVideo',this.sb()),e=d.ua(),f=document.createElement('canvas'),g=()=>{var h=e.videoWidth,l=e.videoHeight,m=void 0!==b?b:h;const n=void 0!==c?c:l;var p=Math.max(m/h,n/l);const r=Math.floor(m/p);p=Math.floor(n/p);h=(h-r)/2;l=(l-p)/2;f.setAttribute('width',m+'px');f.setAttribute('height',n+'px');const t=f.getContext('2d');t.clearRect(0,0,m,n);t.drawImage(e,
1188
+ olympe.G.H.ui.ta.filters.xt.prototype.setSquareSize=olympe.G.H.ui.ta.filters.xt.prototype.DB;olympe.host.Yc.register(olympe.host.$a.ib.hG,olympe.G.H.ui.ta.filters.xt);olympe.G.H.ui.ta.filters.xt.Ba=[olympe.N.ta.filters.jw];olympe.G.H.ui.media={};olympe.G.H.ui.media.nr=class extends olympe.G.H.ui.yf{constructor(a,b){super(a,b)}destroy(){}$(){}ca(){}Vs(a,b,c){const d=new olympe.G.H.ui.F.Jd('takePictureVideo',this.sb()),e=d.ua(),f=document.createElement('canvas'),g=()=>{var h=e.videoWidth,l=e.videoHeight,m=void 0!==b?b:h;const n=void 0!==c?c:l;var p=Math.max(m/h,n/l);const r=Math.floor(m/p);p=Math.floor(n/p);h=(h-r)/2;l=(l-p)/2;f.setAttribute('width',m+'px');f.setAttribute('height',n+'px');const t=f.getContext('2d');t.clearRect(0,0,m,n);t.drawImage(e,
1189
1189
  h,l,r,p,0,0,m,n);m=f.toDataURL();document.body.removeChild(f);e.removeEventListener('canplay',g);d.destroy();a(m)};f.style.display='none';e.style.display='none';document.body.appendChild(f);document.body.appendChild(e);e.addEventListener('canplay',g);this.$(d)}};olympe.G.H.ui.media.nr.prototype.takePicture=olympe.G.H.ui.media.nr.prototype.Vs;olympe.G.H.ui.media.nr.prototype.destroy=olympe.G.H.ui.media.nr.prototype.destroy;olympe.G.H.ui.media.nr.Ba=[olympe.N.media.MediaStream];function oh(a){a.getTracks().forEach(b=>b.stop())}function ph(a,b){a.D&&(a.C=b,Object.values(a.D).forEach(c=>c(b)))}function qh(a,b){a.W&&Object.values(a.W).forEach(c=>c(b))}
1190
1190
  olympe.G.H.ui.media.Yv=class extends olympe.G.H.ui.media.nr{constructor(a,b){super(a,b);this.C=null;this.D={};this.W=Object.create(null);this.O=Object.create(null)}destroy(){null!==this.C&&oh(this.C);this.W=this.D=this.C=null}$(a){const b=a.uid;this.O[b]&&(this.D&&delete this.D[this.O[b]],delete this.O[b]);this.O[b]=this.da(c=>{const d=a.ua();'srcObject'in d?d.srcObject=c:'URL'in window?d.src=window.URL.createObjectURL(c):a.sb().error('Cannot set stream as video input source')})}ca(a){a=a.uid;this.O[a]&&
1191
1191
  (this.D&&delete this.D[this.O[a]],delete this.O[a]);0===Object.keys(this.O).length&&(null!==this.C&&oh(this.C),this.C=null)}na(a){var b;b||(b=olympe.la.bf());this.W&&(this.W[b]=a)}da(a,b){b||(b=olympe.la.bf());this.D&&(this.D[b]=a,null!==this.C&&a(this.C));return b}};olympe.G.H.ui.media.Yv.prototype.destroy=olympe.G.H.ui.media.Yv.prototype.destroy;olympe.G.H.ui.media.Yv.Ba=[olympe.N.media.Qr];function rh(a,b,c){const d=olympe.G.H.ui.media.Kp.C;d&&(oh(d),olympe.G.H.ui.media.Kp.C=null);navigator.mediaDevices?navigator.mediaDevices.getUserMedia(a).then(function(e){olympe.G.H.ui.media.Kp.C=e;b(e)}).catch(c):c(Error('Media devices are not supported by this browser'))}
1192
1192
  olympe.G.H.ui.media.Kp=class extends olympe.G.H.ui.media.Yv{constructor(a,b){super(a,b);this.R=new olympe.G.H.ui.media.PR;this.T=!1;sh(this.R)}vv(a){this.R.vv(a);null!==this.C&&!this.T&&this.Po()}wF(a){a.Bv(this.R);null!==this.C&&!this.T&&this.Po()}$u(a){this.R.$u(a);null!==this.C&&!this.T&&this.Po()}tB(a){a.Bv(this.R);null!==this.C&&!this.T&&this.Po()}da(a,b){null!==this.C||this.T||this.Po();return olympe.G.H.ui.media.Yv.prototype.da.call(this,a,b)}Po(){this.T=!0;rh(th(this.R),a=>{this.T=!1;ph(this,
1193
1193
  a);qh(this,!0)},a=>{if('OverconstrainedError'===a.name){a=this.sb();var b=a.error,c=this.R;let d;d='('+(c.R?'video:'+c.R+' ':'');d+=c.O?'audio:'+c.O+' ':'';b.call(a,'Stream(s) requested '+(d+') not available'))}else a=a.message||a.name||String(a),this.sb().error('HTMLLocalUserStream.initStream, getUserMedia error: '+a);qh(this,!1)})}};olympe.G.H.ui.media.Kp.prototype.setAudioInputDevice=olympe.G.H.ui.media.Kp.prototype.tB;olympe.host.Yc.register(olympe.host.$a.ib.pK,olympe.G.H.ui.media.Kp);
1194
1194
  olympe.G.H.ui.media.Kp.C=null;void 0===navigator.mediaDevices&&console.error("Current platform doesn't support media devices.");olympe.G.H.ui.media.Kp.Ba=[olympe.N.media.vi];function uh(a,b){null===olympe.G.H.ui.media.kk.bc?navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then(c=>{c.getTracks().forEach(d=>{d.stop()});navigator.mediaDevices.enumerateDevices().then(d=>{olympe.G.H.ui.media.kk.bc=d;b(d)}).catch(d=>{a.sb().error('Failed to obtain media list:',d);b([])})}).catch(c=>{a.sb().error(c);b([])}):b(olympe.G.H.ui.media.kk.bc)}
1195
- function vh(a,b,c){const d='videoinput'===b?'Camera ':'Microphone ';void 0===navigator.mediaDevices?(a.sb().error('Media devices are not supported by this browser'),c([])):uh(a,e=>{const f=[];e.forEach(g=>{g.kind===b&&f.push({id:g.deviceId,name:g.label||d+f.length})});c(f)})}olympe.G.H.ui.media.kk=class extends olympe.G.H.ui.xf{constructor(a,b){super(a,b)}destroy(){}ex(a){vh(this,'videoinput',a)}bx(a){vh(this,'audioinput',a)}};olympe.G.H.ui.media.kk.prototype.getAllAudioInputDevices=olympe.G.H.ui.media.kk.prototype.bx;
1196
- olympe.G.H.ui.media.kk.prototype.getAllVideoInputDevices=olympe.G.H.ui.media.kk.prototype.ex;olympe.G.H.ui.media.kk.prototype.destroy=olympe.G.H.ui.media.kk.prototype.destroy;olympe.G.H.ui.media.kk.bc=null;olympe.host.Yc.register(olympe.host.$a.ib.qK,olympe.G.H.ui.media.kk);olympe.G.H.ui.media.kk.Ba=[olympe.N.media.Vp];olympe.G.H.ui.media.zt=class extends olympe.G.H.ui.media.nr{constructor(a,b){super(a,b);this.url=null}$(a){a.ne(this.url||'')}ca(a){a.ne('')}Mk(a){this.url=a}le(){return this.url}};olympe.G.H.ui.media.zt.prototype.getUrl=olympe.G.H.ui.media.zt.prototype.le;olympe.G.H.ui.media.zt.prototype.setUrl=olympe.G.H.ui.media.zt.prototype.Mk;olympe.host.Yc.register(olympe.host.$a.ib.rK,olympe.G.H.ui.media.zt);olympe.G.H.ui.media.zt.Ba=[olympe.N.media.MediaStream];function th(a){return{audio:a.T?a.D:!1,video:a.W?a.C:!1}}function sh(a){a.C={facingMode:{exact:'environment'}}}olympe.G.H.ui.media.PR=class{constructor(){this.T=!0;this.D={};this.W=!0;this.C={};this.O=this.R=null}$u(a){this.T=a}vv(a){this.W=a}};olympe.G.H.ui.media.bc={};olympe.G.H.ui.media.bc.mr=class extends olympe.G.H.ui.xf{constructor(a,b){super(a,b)}destroy(){}ab(){}Bv(){}};olympe.G.H.ui.media.bc.mr.prototype.getName=olympe.G.H.ui.media.bc.mr.prototype.ab;olympe.G.H.ui.media.bc.mr.prototype.destroy=olympe.G.H.ui.media.bc.mr.prototype.destroy;olympe.G.H.ui.media.bc.mr.Ba=[olympe.N.media.bc.Up];olympe.G.H.ui.media.bc.Gp=class extends olympe.G.H.ui.media.bc.mr{constructor(a,b){super(a,b);this.name=this.id=''}sp(a,b){this.id=a;this.name=b}ab(){return this.name}Bv(a){var b=this.id;a.O=b;switch(b){case olympe.ui.ha.Rp.ZG:a.D={};break;default:a.D={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Gp.prototype.updateConstraints=olympe.G.H.ui.media.bc.Gp.prototype.Bv;olympe.G.H.ui.media.bc.Gp.prototype.getName=olympe.G.H.ui.media.bc.Gp.prototype.ab;
1195
+ function vh(a,b,c){const d='videoinput'===b?'Camera ':'Microphone ';void 0===navigator.mediaDevices?(a.sb().error('Media devices are not supported by this browser'),c([])):uh(a,e=>{const f=[];e.forEach(g=>{g.kind===b&&f.push({id:g.deviceId,name:g.label||d+f.length})});c(f)})}olympe.G.H.ui.media.kk=class extends olympe.G.H.ui.yf{constructor(a,b){super(a,b)}destroy(){}ex(a){vh(this,'videoinput',a)}bx(a){vh(this,'audioinput',a)}};olympe.G.H.ui.media.kk.prototype.getAllAudioInputDevices=olympe.G.H.ui.media.kk.prototype.bx;
1196
+ olympe.G.H.ui.media.kk.prototype.getAllVideoInputDevices=olympe.G.H.ui.media.kk.prototype.ex;olympe.G.H.ui.media.kk.prototype.destroy=olympe.G.H.ui.media.kk.prototype.destroy;olympe.G.H.ui.media.kk.bc=null;olympe.host.Yc.register(olympe.host.$a.ib.qK,olympe.G.H.ui.media.kk);olympe.G.H.ui.media.kk.Ba=[olympe.N.media.Vp];olympe.G.H.ui.media.zt=class extends olympe.G.H.ui.media.nr{constructor(a,b){super(a,b);this.url=null}$(a){a.ne(this.url||'')}ca(a){a.ne('')}Mk(a){this.url=a}le(){return this.url}};olympe.G.H.ui.media.zt.prototype.getUrl=olympe.G.H.ui.media.zt.prototype.le;olympe.G.H.ui.media.zt.prototype.setUrl=olympe.G.H.ui.media.zt.prototype.Mk;olympe.host.Yc.register(olympe.host.$a.ib.rK,olympe.G.H.ui.media.zt);olympe.G.H.ui.media.zt.Ba=[olympe.N.media.MediaStream];function th(a){return{audio:a.T?a.D:!1,video:a.W?a.C:!1}}function sh(a){a.C={facingMode:{exact:'environment'}}}olympe.G.H.ui.media.PR=class{constructor(){this.T=!0;this.D={};this.W=!0;this.C={};this.O=this.R=null}$u(a){this.T=a}vv(a){this.W=a}};olympe.G.H.ui.media.bc={};olympe.G.H.ui.media.bc.mr=class extends olympe.G.H.ui.yf{constructor(a,b){super(a,b)}destroy(){}ab(){}Bv(){}};olympe.G.H.ui.media.bc.mr.prototype.getName=olympe.G.H.ui.media.bc.mr.prototype.ab;olympe.G.H.ui.media.bc.mr.prototype.destroy=olympe.G.H.ui.media.bc.mr.prototype.destroy;olympe.G.H.ui.media.bc.mr.Ba=[olympe.N.media.bc.Up];olympe.G.H.ui.media.bc.Gp=class extends olympe.G.H.ui.media.bc.mr{constructor(a,b){super(a,b);this.name=this.id=''}sp(a,b){this.id=a;this.name=b}ab(){return this.name}Bv(a){var b=this.id;a.O=b;switch(b){case olympe.ui.ha.Rp.ZG:a.D={};break;default:a.D={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Gp.prototype.updateConstraints=olympe.G.H.ui.media.bc.Gp.prototype.Bv;olympe.G.H.ui.media.bc.Gp.prototype.getName=olympe.G.H.ui.media.bc.Gp.prototype.ab;
1197
1197
  olympe.G.H.ui.media.bc.Gp.prototype.setIdAndName=olympe.G.H.ui.media.bc.Gp.prototype.sp;olympe.host.Yc.register(olympe.host.$a.ib.oK,olympe.G.H.ui.media.bc.Gp);olympe.G.H.ui.media.bc.Gp.Ba=[olympe.N.media.bc.vp];olympe.G.H.ui.media.bc.Op=class extends olympe.G.H.ui.media.bc.mr{constructor(a,b){super(a,b);this.name=this.id=''}sp(a,b){this.id=a;this.name=b}ab(){return this.name}Bv(a){var b=this.id;a.R=b;switch(b){case olympe.ui.ha.Rp.vH:a.C={facingMode:'user'};break;case olympe.ui.ha.Rp.$G:sh(a);break;case olympe.ui.ha.Rp.kH:sh(a);break;default:a.C={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Op.prototype.updateConstraints=olympe.G.H.ui.media.bc.Op.prototype.Bv;
1198
1198
  olympe.G.H.ui.media.bc.Op.prototype.getName=olympe.G.H.ui.media.bc.Op.prototype.ab;olympe.G.H.ui.media.bc.Op.prototype.setIdAndName=olympe.G.H.ui.media.bc.Op.prototype.sp;olympe.host.Yc.register(olympe.host.$a.ib.sK,olympe.G.H.ui.media.bc.Op);olympe.G.H.ui.media.bc.Op.Ba=[olympe.N.media.bc.Im];olympe.G.H.ui.Sa={};olympe.G.H.ui.Sa.Ua={};function wh(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)}
1199
1199
  olympe.G.H.ui.Sa.Ua.Map=class extends olympe.G.H.ui.F.sg{constructor(a,b){super(a,b);this.map=null;this.da=[];this.C=!1;this.O=new Map;this.D=new Map;this.T={};a=document.createElement('div');this.Aa=olympe.la.AN('leafletMap');a.id=this.Aa;a.style.height='100%';this.ua().appendChild(a);this.qP()}ue(a){this.da.push(a);this.C&&a()}qP(){wh(()=>{this.map=window.L.map(this.Aa);this.C=!0;this.da.forEach(a=>a())})}Ps(a,b,c,d){this.C?this.map.setView({lon:a,lat:b},c,d):this.ue(this.Ps.bind(this,a,b,c,d));
@@ -1211,7 +1211,7 @@ olympe.G.H.ui.Sa.Ua.Map.prototype.setLongitude=olympe.G.H.ui.Sa.Ua.Map.prototype
1211
1211
  olympe.G.H.ui.Sa.Ua.Map.prototype.onLoad=olympe.G.H.ui.Sa.Ua.Map.prototype.ue;olympe.host.Yc.register(olympe.host.$a.ib.iM,olympe.G.H.ui.Sa.Ua.Map);olympe.G.H.ui.Sa.Ua.Map.Ba=[olympe.N.Sa.Ua.Map];olympe.G.H.ui.P={};olympe.G.H.ui.P.hd={Ke:{Gf:'http://www.w3.org/2000/svg',p_:'http://www.w3.org/2000/xmlns/',OB:'http://www.w3.org/1999/xlink'},Hg:'default'};olympe.G.H.ui.P.Ti=class extends olympe.G.H.ui.F.ic{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'svg'));this.C=null;this.children=new Map;this.ua().setAttribute('xmlns',olympe.G.H.ui.P.hd.Ke.Gf);this.ua().setAttributeNS(olympe.G.H.ui.P.hd.Ke.p_,'xmlns:xlink',olympe.G.H.ui.P.hd.Ke.OB);this.ua().addEventListener('focus',()=>{});eh(this,()=>{for(const c of this.children.values())c.Pf(this)});fh(this,()=>{for(const c of this.children.values())c.Pf(null)})}zk(){null===
1212
1212
  this.C&&(this.C=this.ua().insertBefore(document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'defs'),this.ua().firstChild));return this.C}sy(a,b,c,d){this.setAttribute('viewBox',a+' '+b+' '+c+' '+d)}appendChild(a,b){b=null!=b?b:olympe.G.H.ui.P.hd.Hg;this.children.has(b)&&this.removeChild(b);this.children.set(b,a);a.setAttribute('name_As_A_Child',b);this.ua().appendChild(a.ua());a.Ef(this);a.Pf(this)}removeChild(a){a||(a=olympe.G.H.ui.P.hd.Hg);const b=this.children.get(a);if(b)try{this.ua().removeChild(b.ua()),
1213
1213
  b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.debug('Trying to remove a non existing child: '+a)}px(){return this.ua().outerHTML}zE(){return'data:image/svg+xml;utf8,'+this.px()}};olympe.G.H.ui.P.Ti.prototype.getImageUrl=olympe.G.H.ui.P.Ti.prototype.zE;olympe.G.H.ui.P.Ti.prototype.getImageContent=olympe.G.H.ui.P.Ti.prototype.px;olympe.G.H.ui.P.Ti.prototype.removeChild=olympe.G.H.ui.P.Ti.prototype.removeChild;
1214
- olympe.G.H.ui.P.Ti.prototype.appendChild=olympe.G.H.ui.P.Ti.prototype.appendChild;olympe.G.H.ui.P.Ti.prototype.setViewbox=olympe.G.H.ui.P.Ti.prototype.sy;olympe.G.H.ui.P.Ti.prototype.getSvgDefsElement=olympe.G.H.ui.P.Ti.prototype.zk;olympe.host.Yc.register(olympe.host.$a.ib.UM,olympe.G.H.ui.P.Ti);olympe.G.H.ui.P.Ti.Ba=[olympe.N.P.Bi];olympe.G.H.ui.P.Je=class extends olympe.G.H.ui.xf{constructor(a,b,c){super(a,b);this.C=c;this.W=this.parent=null;this.id='';this.C&&this.Js('auto')}ua(){return this.C}zk(){return this.W?this.W.zk():null}setAttribute(a,b,c){c?this.ua().setAttributeNS(c||'',a,String(b)):this.ua().setAttribute(a,String(b))}kv(a){this.setAttribute('id',this.id=a)}ja(){this.id||this.kv(this.uid);return this.id}Ef(a){this.parent=a}getParent(){return this.parent}Pf(a){this.W=a}Ho(){return this.W}destroy(){this.parent&&(this.parent=
1214
+ olympe.G.H.ui.P.Ti.prototype.appendChild=olympe.G.H.ui.P.Ti.prototype.appendChild;olympe.G.H.ui.P.Ti.prototype.setViewbox=olympe.G.H.ui.P.Ti.prototype.sy;olympe.G.H.ui.P.Ti.prototype.getSvgDefsElement=olympe.G.H.ui.P.Ti.prototype.zk;olympe.host.Yc.register(olympe.host.$a.ib.UM,olympe.G.H.ui.P.Ti);olympe.G.H.ui.P.Ti.Ba=[olympe.N.P.Bi];olympe.G.H.ui.P.Je=class extends olympe.G.H.ui.yf{constructor(a,b,c){super(a,b);this.C=c;this.W=this.parent=null;this.id='';this.C&&this.Js('auto')}ua(){return this.C}zk(){return this.W?this.W.zk():null}setAttribute(a,b,c){c?this.ua().setAttributeNS(c||'',a,String(b)):this.ua().setAttribute(a,String(b))}kv(a){this.setAttribute('id',this.id=a)}ja(){this.id||this.kv(this.uid);return this.id}Ef(a){this.parent=a}getParent(){return this.parent}Pf(a){this.W=a}Ho(){return this.W}destroy(){this.parent&&(this.parent=
1215
1215
  null);if(this.C){const a=this.C.parentNode;a&&a.removeChild(this.C)}}hb(a,b){this.ua().style[a]=b}Ah(a){this.Js(a?'none':'auto')}Js(a){this.hb('pointer-events',a)}rd(a){this.hb('display',a?'none':'initial')}};olympe.G.H.ui.P.Je.prototype.setHidden=olympe.G.H.ui.P.Je.prototype.rd;olympe.G.H.ui.P.Je.prototype.setPointerEvents=olympe.G.H.ui.P.Je.prototype.Js;olympe.G.H.ui.P.Je.prototype.setIgnoreUserInteraction=olympe.G.H.ui.P.Je.prototype.Ah;olympe.G.H.ui.P.Je.prototype.destroy=olympe.G.H.ui.P.Je.prototype.destroy;
1216
1216
  olympe.G.H.ui.P.Je.prototype.getContainer=olympe.G.H.ui.P.Je.prototype.Ho;olympe.G.H.ui.P.Je.prototype.setContainer=olympe.G.H.ui.P.Je.prototype.Pf;olympe.G.H.ui.P.Je.prototype.getParent=olympe.G.H.ui.P.Je.prototype.getParent;olympe.G.H.ui.P.Je.prototype.setParent=olympe.G.H.ui.P.Je.prototype.Ef;olympe.G.H.ui.P.Je.prototype.getId=olympe.G.H.ui.P.Je.prototype.ja;olympe.G.H.ui.P.Je.prototype.setId=olympe.G.H.ui.P.Je.prototype.kv;olympe.G.H.ui.P.Je.prototype.setAttribute=olympe.G.H.ui.P.Je.prototype.setAttribute;
1217
1217
  olympe.G.H.ui.P.Je.prototype.getSvgDefsElement=olympe.G.H.ui.P.Je.prototype.zk;olympe.G.H.ui.P.Je.prototype.getHtmlElement=olympe.G.H.ui.P.Je.prototype.ua;olympe.G.H.ui.P.Je.Ba=[olympe.N.P.ye];olympe.G.H.ui.P.pe=class extends olympe.G.H.ui.P.Je{constructor(a,b,c){super(a,b,c);this.y=this.x=0;this.ca=this.height=this.width=1;this.T=this.R=!1}oe(a){this.x=a;this.R=!0;this.ge()}pa(){return this.x}Fe(a){this.y=a;this.R=!0;this.ge()}sa(){return this.y}setPosition(a,b){this.x=a;this.y=b;this.R=!0;this.ge()}Dg(a){this.height=a;this.T=!0;this.ge()}De(){return this.height}Fg(a){this.width=a;this.T=!0;this.ge()}Ed(){return this.width}setScale(a){this.ca=a;this.ge()}qq(){return this.ca}Gb(a,b){this.width=
@@ -1286,7 +1286,7 @@ b?void 0:b.ud)){(null==b?0:b.Cd)&&c.V.trace(`Processing operation ${b.Cd} immedi
1286
1286
  return d}).catch(d=>{(null==b?0:b.Cd)&&c.V.trace(`Operation ${b.Cd} ran immediately has been rejected with message: ${d}`);throw d;})}(null==b?0:b.Cd)&&c.V.trace(`Adding operation ${b.Cd} to the stack`);return((null==b?0:b.Uj)?c.stack.$:c.stack.W).call(c.stack,()=>q(function*(){yield Eh(c);const d=yield a();0===c.stack.size()&&(yield c.close());return d}))})}};olympe.G.H.Dc.jh.C={CLOSED:0,Gz:1,OPEN:2,CLOSING:3};olympe.G.H.Dc.jh.Ba=[olympe.Dc.pT];olympe.G.H.Dc.bI=class{constructor(a){this.C=new Map;this.V=a}D(a,b,c){if(!c)throw Error(`Missing mandatory "update" method when calling "getDatabase('${a}', ${b})"`);this.C.has(a)||this.C.set(a,new olympe.G.H.Dc.jh(a,b,this.V,c));return this.C.get(a)}};olympe.G.H.Dc.bI.Ba=[olympe.Dc.qT];function Fh(a,b,c){return new Promise((d,e)=>{a.$b.push(new olympe.G.H.Dc.aS(d,e,b,c));vb(a)})}olympe.G.H.Dc.$R=class extends olympe.la.promise.Wt{constructor(){super();this.kn=5E3}C(){throw Error('Use addReadOperation() or addWriteOperation() instead');}W(a){return Fh(this,a,!1)}$(a){return Fh(this,a,!0)}T(a){super.T(a);1!==this.kn||0!==this.$b.length&&this.$b[0].Uj()||(this.kn=5E3)}R(){this.$b.length&&this.$b[0].Uj()&&(this.kn=1);return this.D<this.kn}};
1287
1287
  olympe.G.H.Dc.aS=class extends olympe.la.promise.cM{constructor(a,b,c,d){super(a,b,c);this.write=d}Uj(){return this.write}};olympe.G.H.Dc.yz=class extends olympe.Dc.yz{constructor(){super();this.storage=window.localStorage}get(a){let b;return null!=(b=this.storage.getItem(a))?b:null}set(a,b){this.storage.setItem(a,b);return this}delete(a){this.storage.removeItem(a)}};olympe.ra.$e(function(a){A(a,olympe.Dc.ba.xz,olympe.G.H.Dc.yz);A(a,olympe.Dc.ba.vz,olympe.G.H.Dc.bI,olympe.Dc.ba.Wb)},'olympe.native.html.localstorage');olympe.G.H.storage={};olympe.G.H.storage.Storage=class{constructor(a){this.V=a}write(a,b,c,d,e){const f=`${b}/${a}`;if(c instanceof Blob){const g=new FileReader;g.onloadend=()=>{localStorage.setItem(f,olympe.la.Kj().C(g.result));e()};g.readAsArrayBuffer(c)}else localStorage.setItem(f,c),e()}close(a){a(null)}};olympe.G.H.storage.Storage.Ba=[olympe.Dc.Storage];olympe.ra.$e(function(a){Qa(a,olympe.Dc.ba.xw,olympe.G.H.storage.Storage,olympe.host.ba.Wb)},'olympe.native.html.storage');olympe.Qo={};olympe.Qo.Config={VERSION:'version.version',QQ:'version.branch',Xn:'version.commit',kV:'version.tag',BH:'version.olympe-framework',RQ:'version.build'};olympe.ra.$e(function(a){E(a,olympe.Qo.Config.VERSION,'');E(a,olympe.Qo.Config.QQ,'');E(a,olympe.Qo.Config.Xn,'');E(a,olympe.Qo.Config.kV,'');E(a,olympe.Qo.Config.BH,'');E(a,olympe.Qo.Config.RQ,'')},'olympe.main');const Gh=a=>{const b=olympe.la.HP(location.href).parameters;a=new olympe.ra.iR(a,Object.assign({},b));Fa(a);Ia(a.compile())};
1288
1288
  olympe.la.EY(a=>{const b=new Headers;b.append('pragma','no-cache');b.append('cache-control','no-cache');return fetch(a,{method:olympe.wa.Mc.Ej.GET,headers:b}).then(c=>c.ok?c.text():null).catch(c=>{console.error(`Failed to load config file: ${c}`);return null})}).then(a=>{try{'loading'===document.readyState?document.addEventListener('DOMContentLoaded',()=>Gh(a),{once:!0}):Gh(a)}catch(b){console.error(`Failed to start Olympe: ${b}`)}}).catch(a=>{console.error(`Failed to load config files: ${a}`)});olympe.dc={};olympe.dc.Ib={ORIGIN:'<',DESTINATION:'>'};z('olympe.dc.Direction',olympe.dc.Ib);olympe.dc.Lf={vh:'ff022000000000000000',mt:'ff02200000000000000e',Qy:'ff02200000000000000f'};olympe.dc.vI={VERSION:'@v',Gr:'@s'};olympe.dc.ri={xj:'?',Qp:'~'};olympe.dc.B2={vr:'online',zm:'offline',a1:'invalidate'};olympe.dc.vc={SELF:'self',SERVER:'server',ro:'remote'};
1289
- olympe.dc.Se={NONE:null,bH:'ff023000000000000037',Sg:'ff023000000000000137',Zi:'ff023000000000000237',UU:'ff023000000000000337',pR:'ff023000000000000437',vV:'ff023000000000000537',c1:olympe.dc.ri.Qp+'ff023000000000000037',d1:olympe.dc.ri.Qp+'ff023000000000000237',b1:olympe.dc.ri.Qp+'ff023000000000000437',x3:olympe.dc.ri.Qp+'ff023000000000000537'};olympe.dc.OK=class extends Error{constructor(a){var b=olympe.dc.cb(),c=olympe.dc.Rj(),d=b.model(a);d=`\n- model: ${d} (${d?b.name(d):'no name'})`;b=b.source(a);c=`\n- source: ${b} (${b?c.Ad(b).name():'no name'})`;super(`Trying to use a CloudObject that does not exist:\n- tag: ${a}${d}${c}${''}`)}};olympe.dc.HK=class extends Error{constructor(){var a=Hh();super('Try to access a resource not available yet: BusinessContainer, wait for it to be ready');this.C=a}};olympe.dc.eu=class{yf(){}rh(){}D(){}Sb(){}Xf(){}};olympe.dc.bL=class{Wf(){}ja(){}Sc(){}};function Ih(a){return olympe.dc.CloudObject.get(a.tag)}olympe.dc.Kf=class{constructor(a){this.tag='string'===typeof a?a:a.ka()}ka(){return this.tag}Rb(a){return a instanceof olympe.dc.Kf&&this.tag===a.tag}};olympe.dc.Kf.Ba=[olympe.dc.Uk];olympe.dc.Kf.prototype.Rb.K=olympe.j.J.O;olympe.dc.GR=class a{constructor(b,c,d,e,f,g){this.V=b;this.ca=c;this.db=c.view;this.da=d;this.We=e;this.R=f;this.T=g;this.C=new Map;this.D=jb(new olympe.la.Yt(6E5),(h,l)=>{URL.revokeObjectURL(l);Jh(this.db,h,a.C(h))})}na(b,c,d,e,f){this.Ga(c).then(g=>{this.Ja(b,g,d,!!this.T,e,f)}).catch(g=>this.V.error(g))}O(b){const c=this;return q(function*(){const d=f=>{f=`Failed to download file ${b.ka()}: ${f}`;c.V.error(f);throw Error(f);},e=b.ka();if(hb(c.D.C,e)){const f=c.D.get(e);return c.R.O(f).then(g=>
1289
+ olympe.dc.Se={NONE:null,bH:'ff023000000000000037',Sg:'ff023000000000000137',Zi:'ff023000000000000237',UU:'ff023000000000000337',pR:'ff023000000000000437',vV:'ff023000000000000537',c1:olympe.dc.ri.Qp+'ff023000000000000037',d1:olympe.dc.ri.Qp+'ff023000000000000237',b1:olympe.dc.ri.Qp+'ff023000000000000437',x3:olympe.dc.ri.Qp+'ff023000000000000537'};olympe.dc.OK=class extends Error{constructor(a){var b=olympe.dc.cb(),c=olympe.dc.Rj(),d=b.model(a);d=`\n- model: ${d} (${d?b.name(d):'no name'})`;b=b.source(a);c=`\n- source: ${b} (${b?c.Ad(b).name():'no name'})`;super(`Trying to use a CloudObject that does not exist:\n- tag: ${a}${d}${c}${''}`)}};olympe.dc.HK=class extends Error{constructor(){var a=Hh();super('Try to access a resource not available yet: BusinessContainer, wait for it to be ready');this.C=a}};olympe.dc.eu=class{zf(){}rh(){}D(){}Sb(){}Xf(){}};olympe.dc.bL=class{Wf(){}ja(){}Sc(){}};function Ih(a){return olympe.dc.CloudObject.get(a.tag)}olympe.dc.Kf=class{constructor(a){this.tag='string'===typeof a?a:a.ka()}ka(){return this.tag}Rb(a){return a instanceof olympe.dc.Kf&&this.tag===a.tag}};olympe.dc.Kf.Ba=[olympe.dc.Uk];olympe.dc.Kf.prototype.Rb.K=olympe.j.J.O;olympe.dc.GR=class a{constructor(b,c,d,e,f,g){this.V=b;this.ca=c;this.db=c.view;this.da=d;this.We=e;this.R=f;this.T=g;this.C=new Map;this.D=jb(new olympe.la.Yt(6E5),(h,l)=>{URL.revokeObjectURL(l);Jh(this.db,h,a.C(h))})}na(b,c,d,e,f){this.Ga(c).then(g=>{this.Ja(b,g,d,!!this.T,e,f)}).catch(g=>this.V.error(g))}O(b){const c=this;return q(function*(){const d=f=>{f=`Failed to download file ${b.ka()}: ${f}`;c.V.error(f);throw Error(f);},e=b.ka();if(hb(c.D.C,e)){const f=c.D.get(e);return c.R.O(f).then(g=>
1290
1290
  g.arrayBuffer()).then(g=>new Uint8Array(g,0,g.byteLength)).catch(d)}return c.downloadFileContent(b).then(f=>cb(f)).then(f=>{if(c.T){let g;const h=null!=(g=b.get(olympe.dm.File.mimeTypeProp))?g:'application/data';c.W(e,new Blob([f],{type:h}))}return f}).catch(d)})}downloadFileContent(b){var c=b.ka(),d=b.get(olympe.dm.File.C);const e=b.get(olympe.dm.File.urlProp);if(e.startsWith('stream:'))return this.$(c).then(()=>this.downloadFileContent(b));if(e.startsWith('blob:'))return this.R.O(e).then(f=>f.arrayBuffer()).then(f=>
1291
1291
  new Uint8Array(f,0,f.byteLength));if(d)return d=this.db.model(b),c=new olympe.dc.Request(olympe.dc.Request.C.er,olympe.dc.Rj().sl(b),{tag:c,model:d,url:e.valueOf()}),Kh(this.We,c);c=fd(e);id(c,olympe.wa.Mc.ResponseType.XB);return this.da.C(c).then(f=>{const g=f.oh();if(200<=g&&300>g)return f.data;throw Error(`Failed to download file ${b}. Response code ${g}`);})}Aa(b,c,d){c=new olympe.dc.Request(olympe.dc.Request.C.dr,d,{tag:b,model:c});return Kh(this.We,c).then(()=>this.V.debug(`Successfully deleted file: ${b}`)).catch(e=>
1292
1292
  {throw Error(`Failed to delete file ${b}: ${e.message}`);})}Na(b){const c=new olympe.la.stream.Yp;this.O(b).then(d=>{fb(d).pipeTo(c).catch(()=>{})});return c}Oa(b,c){cb(c).then(d=>{d=URL.createObjectURL(new Blob([d]));const e=new olympe.dc.db.Rf;e.rh(b,(new Map).set(olympe.dm.File.urlProp.ka(),d));this.ca.Oh(Lh(e));let f;null==(f=this.C.get(b))||f.forEach(g=>g(null))}).catch(d=>{let e;null==(e=this.C.get(b))||e.forEach(f=>f(d))}).finally(()=>{this.C.delete(b)})}$(b){return new Promise((c,d)=>{let e;
@@ -1297,30 +1297,30 @@ function Sh(a,b,c,d){const e=olympe.j.Mo();a.sources.set(olympe.dc.vc.SERVER,d.i
1297
1297
  (m=new olympe.dc.sources.fK(a.V,n),a.sources.set(l,m),g=`Datasource ${l}`,f.set(l,[null!=l?l:'',null!=g?g:'']),m.init(a))});Jh(b,a.C,'router',!0)},'router')}function Th(a,b,c){let d=a.D.get(b);void 0===d&&(d=[],a.D.set(b,d));d.push(c)}
1298
1298
  olympe.dc.BU=class{constructor(a,b,c,d,e,f,g){this.V=a;this.C=f;this.O=g;this.sources=new Map;this.D=new Map;Sh(this,d,b,c)}subscribe(a,b){this.V.debug('Router: subscribes',a);return this.Ad(a.Zf()).subscribe(a,b)}bh(a){if(a.Zf()!==this.C)this.V.error(`Router: try to reply to a request that is not for this data cloud, ignore it: ${a}`);else{var b;null==(b=this.D.get(a.getType()))||b.forEach(c=>c(a))}}Ou(a){let b;null==(b=this.D.get(a.getType()))||b.forEach(c=>c(a));return this.Ad(olympe.dc.vc.ro).Ou(a)}Ad(a){let b;
1299
1299
  return null!=(b=this.sources.get(a))?b:this.sources.get(olympe.dc.vc.ro)}};function Lh(a,b){b=new olympe.dc.fr(a.ja(),null!=b?b:null);b.C=a;return b}function Uh(a,b,c,d){c=new olympe.dc.fr(null!=d?d:olympe.la.bf(),null!=c?c:null);c.D=b;c.$b=a;return c}
1300
- olympe.dc.fr=class{constructor(a,b){this.id=a;this.$b=this.C=this.D=null;this.tA=b}static C(a){return Uh(a.p,a.s,a.t,a.i)}ja(){return this.id}Wf(a){return this.C instanceof olympe.dc.db.Rf?this.C.Wf(a):Array.isArray(this.$b)?(new olympe.dc.transaction.pw(this.D)).D(this.$b,a):a}Sc(){let a,b,c,d;return null!=(d=null!=(c=null==(a=this.$b)?void 0:a.length)?c:null==(b=this.C)?void 0:b.Sc())?d:0}zf(){return this.C instanceof olympe.dc.db.Rf?this.C:Array.isArray(this.$b)?(this.C=(new olympe.dc.transaction.pw(this.D)).C(this.$b,
1300
+ olympe.dc.fr=class{constructor(a,b){this.id=a;this.$b=this.C=this.D=null;this.tA=b}static C(a){return Uh(a.p,a.s,a.t,a.i)}ja(){return this.id}Wf(a){return this.C instanceof olympe.dc.db.Rf?this.C.Wf(a):Array.isArray(this.$b)?(new olympe.dc.transaction.pw(this.D)).D(this.$b,a):a}Sc(){let a,b,c,d;return null!=(d=null!=(c=null==(a=this.$b)?void 0:a.length)?c:null==(b=this.C)?void 0:b.Sc())?d:0}sf(){return this.C instanceof olympe.dc.db.Rf?this.C:Array.isArray(this.$b)?(this.C=(new olympe.dc.transaction.pw(this.D)).C(this.$b,
1301
1301
  this.id),this.$b=null,this.C):new olympe.dc.db.Rf(this.id)}QA(){if(Array.isArray(this.$b))return this.$b;if(this.C instanceof olympe.dc.db.Rf){const a=new olympe.dc.transaction.bl;this.C.Wf(a);return Vh(a)}return[]}fb(){return{p:this.QA(),t:this.tA,s:this.D,i:this.id}}};olympe.dc.fr.Ba=[olympe.dc.bL];olympe.dc.Pc={};const Wh=olympe.dc.Ib.ORIGIN,Xh=olympe.dc.Ib.DESTINATION,Yh=new Map,Zh=new Map,$h=new Map,ai=new Map;function Oh(a){let b;return null!=(b=Yh.get(a))?b:null}function bi(a,b,c){let d=a;'function'===typeof a&&(d=c.entry);a=[...(d.JF||[])];return olympe.dc.Ia.C(b,c,...a)}function ci(a,b){ai.set(a,b);return a}function di(a){let b,c;return null!=(c=null==(b=Yh.get(a))?void 0:b.D)?c:olympe.dc.CloudObject}
1302
1302
  function ei(a,b,c){const d=a+'@'+(b===Xh?Wh:Xh);if(Zh.has(d))throw Error(`Try to register the same relation (${b+a}) multiple times.`);Zh.set(d,c)}function fi(a){a=a.ka()+'@'+a.Cc();return Zh.get(a)||olympe.dc.CloudObject}function X(a,b){b.NAME=a;$h.set(a,b)}function gi(a){let b;return null!=(b=a.NAME)?b:null}
1303
- olympe.dc.Ia=class{constructor(){}static C(a,b,...c){if(Yh.has(a))throw Error(`Tag: ${a} - overwriting already defined CloudObject class ${Yh.get(a).D.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.ra.Od(g):g}}b=new olympe.dc.Pc.Entry(a,b,d);Yh.set(a,b);return b.D.entry=b}static Ae(a){let b,c;return null!=(c=null==(b=a.entry)?void 0:b.ka())?c:null}};function hi(a,b){a.C=b}function Y(a,b){b=b.fe();ei(b.ka(),b.Cc(),a.D);return b}function ji(a){a.O=!0;return a}
1303
+ olympe.dc.Ia=class{constructor(){}static C(a,b,...c){if(Yh.has(a))throw Error(`Tag: ${a} - overwriting already defined CloudObject class ${Yh.get(a).D.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.ra.Od(g):g}}b=new olympe.dc.Pc.Entry(a,b,d);Yh.set(a,b);return b.D.entry=b}static Ae(a){let b,c;return null!=(c=null==(b=a.entry)?void 0:b.ka())?c:null}};function hi(a,b){a.C=b}function Y(a,b){b=b.fe();ei(b.ka(),b.Cc(),a.D);return b}function ii(a){a.O=!0;return a}
1304
1304
  olympe.dc.Pc.Entry=class{constructor(a,b,c){this.tag=a;this.D=b;this.JF=c||null;this.C=null;this.O=!1}ka(){return this.tag}instantiate(a,b){const c=this.D;if(this.LE()&&b.getParameter(olympe.dc.Config.mH)){var d=olympe.dc.cb();d=`Trying to instantiate an abstract class ${d.name(this)} (${this.ka()}).`+` This may happen when the implementation of another class extending ${d.name(this)} has not been registered`;olympe.eb.sb('dc').error(d)}return this.JF?(a=[void 0,a].concat(Ja(b,this.JF)),new c(...a)):
1305
1305
  new c(void 0,a)}fa(a){return new olympe.dc.Pc.Property(a)}rb(a,b=olympe.dc.Ib.DESTINATION){ei(a,b,this.D);return new olympe.dc.Qa.Cm(a,b)}LE(){return this.O}};z('olympe.dc.registry.Entry',olympe.dc.Pc.Entry);olympe.dc.Pc.Entry.prototype.addRelation=olympe.dc.Pc.Entry.prototype.rb;olympe.dc.Pc.Entry.prototype.addProperty=olympe.dc.Pc.Entry.prototype.fa;olympe.dc.Pc.Entry.Ba=[olympe.dc.Uk];olympe.dc.Pc.Property=class{constructor(a){this.tag=a}ka(){return this.tag}toString(){return`Property: ${this.tag}`}};olympe.dc.Pc.Property.prototype.getTag=olympe.dc.Pc.Property.prototype.ka;olympe.dc.Pc.Property.Ba=[olympe.dc.Uk];olympe.dc.Pc.Relation=class{constructor(a,b=olympe.dc.Ib.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.CloudObject){this.tag=olympe.dc.Va(a);this.direction=b;this.origin=c;this.R=d}ka(){return this.tag}Cc(){return this.direction}type(){return this.R}fe(){return new olympe.dc.Pc.Relation(this.tag,this.direction===olympe.dc.Ib.DESTINATION?olympe.dc.Ib.ORIGIN:olympe.dc.Ib.DESTINATION,this.R,this.origin)}Rb(a){return a instanceof olympe.dc.Pc.Relation?a.ka()===this.ka()&&a.Cc()===this.Cc():!1}toString(){return`${this.direction}${olympe.dc.cb().name(this.tag)} (${this.tag})`}};
1306
- olympe.dc.Pc.Relation.prototype.getInverse=olympe.dc.Pc.Relation.prototype.fe;olympe.dc.Pc.Relation.prototype.getDirection=olympe.dc.Pc.Relation.prototype.Cc;olympe.dc.Pc.Relation.prototype.getTag=olympe.dc.Pc.Relation.prototype.ka;olympe.dc.Pc.Relation.Ba=[olympe.dc.Uk];olympe.dc.db={};function ki(a,b){const c=a.R,d=olympe.dc.cb(),e=olympe.dc.db.Database.C.qw,f=olympe.dc.db.Database.C.xj,g=olympe.dc.db.Database.C.ORIGIN,h=olympe.dc.db.Database.C.DESTINATION,l=new olympe.dc.db.Rf('rev-'+b.ja());a.V.debug('Generate the reverse graphLayer of',b.ja());b.je.forEach((m,n)=>{if(m.D()){l.D(n,olympe.dc.Se.NONE);for(const [t,u]of m.di())l.Xf(t,n,u)}else{var p=c.get(n);if(void 0!==p)if(m.fi())for(const t of li(d,n,m.O())){m=c.get(t);const u=new Map;m.forEach((v,w)=>{const x=w[0],y=w.substring(1);
1307
- x===e?u.set(y,v):x===f?u.set(w,v):x===g?v.forEach((B,H)=>{l.Sb(y,H,t)}):x===h&&v.forEach((B,H)=>{l.Sb(y,t,H)})});m=m.source();l.yf(t,m,u)}else{const t=new Map;for(const u of m.Yd().keys()){var r=u[0]===f;const v=r?u.substring(1):u;r=r?mi(p,v,!0):p.xc(v,!0);let w;t.set(u,null!=(w=r)?w:null)}0<t.size&&l.rh(n,t);for(const [u,v,w]of m.di())w?l.Xf(u,n,v):l.Sb(u,n,v)}}});return l}
1308
- function ni(a,b,c){const d=b.ja();if(a.O.has(d))throw Error(`You try to execute the patch ${d} a second times whereas the first execution has not been validated yet.`);const e=new oi(b,ki(a,b));a.D.unshift(d);a.O.set(d,e);a.R.wf(c);a.write(b,!1,!1)}
1306
+ olympe.dc.Pc.Relation.prototype.getInverse=olympe.dc.Pc.Relation.prototype.fe;olympe.dc.Pc.Relation.prototype.getDirection=olympe.dc.Pc.Relation.prototype.Cc;olympe.dc.Pc.Relation.prototype.getTag=olympe.dc.Pc.Relation.prototype.ka;olympe.dc.Pc.Relation.Ba=[olympe.dc.Uk];olympe.dc.db={};function ji(a,b){const c=a.R,d=olympe.dc.cb(),e=olympe.dc.db.Database.C.qw,f=olympe.dc.db.Database.C.xj,g=olympe.dc.db.Database.C.ORIGIN,h=olympe.dc.db.Database.C.DESTINATION,l=new olympe.dc.db.Rf('rev-'+b.ja());a.V.debug('Generate the reverse graphLayer of',b.ja());b.je.forEach((m,n)=>{if(m.D()){l.D(n,olympe.dc.Se.NONE);for(const [t,u]of m.di())l.Xf(t,n,u)}else{var p=c.get(n);if(void 0!==p)if(m.fi())for(const t of li(d,n,m.O())){m=c.get(t);const u=new Map;m.forEach((v,w)=>{const x=w[0],y=w.substring(1);
1307
+ x===e?u.set(y,v):x===f?u.set(w,v):x===g?v.forEach((B,H)=>{l.Sb(y,H,t)}):x===h&&v.forEach((B,H)=>{l.Sb(y,t,H)})});m=m.source();l.zf(t,m,u)}else{const t=new Map;for(const u of m.Yd().keys()){var r=u[0]===f;const v=r?u.substring(1):u;r=r?mi(p,v,!0):p.xc(v,!0);let w;t.set(u,null!=(w=r)?w:null)}0<t.size&&l.rh(n,t);for(const [u,v,w]of m.di())w?l.Xf(u,n,v):l.Sb(u,n,v)}}});return l}
1308
+ function ni(a,b,c){const d=b.ja();if(a.O.has(d))throw Error(`You try to execute the patch ${d} a second times whereas the first execution has not been validated yet.`);const e=new oi(b,ji(a,b));a.D.unshift(d);a.O.set(d,e);a.R.xf(c);a.write(b,!1,!1)}
1309
1309
  function pi(a,b,c){if(0>=a.T||null===c)return b;var d=a.C.findIndex(h=>h.ja()===b.ja()),e=a.C[d];-1<d&&a.C.splice(d,1);d=0<a.C.length?a.C.findIndex(h=>c>=h.D):0;d=-1<d?d:a.C.length;const f=a.C.slice(0,d).reduce((h,l)=>l.Oh(h),b);let g;e=null!=(g=null==e?void 0:e.update(f,c))?g:new qi(f,c,a.C,a.T);a.C.splice(d,0,e);a.V.O()&&a.V.debug('CommitController buffer:\n',a.C.map(h=>`${h.ja()} at ${h.D}`).join('\n'));return f}
1310
1310
  function ri(a,b,c){return a.D.slice(0,c).map(d=>a.O.get(d)).reduce((d,e)=>{let f;return null!=(f=null==e?void 0:e.Oh(d))?f:d},b)}function si(a,b,c,d=!1){return q(function*(){const e=new olympe.dc.db.YD(a.V,a.R,a.cb,c);ti(e,d);for(const f=ia(b);;){const g=yield f.next();if(g.done)break;e.write(g.value,a.W)}e.close()})}
1311
- function ui(a,b,c,d){b=b.pipeThrough(olympe.la.stream.tap(e=>{0<a.D.length&&pi(a,ri(a,e.zf(),a.D.length),e.tA)}));return si(a,b,c,d).then(()=>a.V.debug('Rebase stream completed')).catch(e=>a.V.error('Rebase stream failed:',e))}
1312
- olympe.dc.db.gR=class{constructor(a,b,c,d){this.V=a;this.R=b;this.cb=c;let e;this.W=null!=(e=d.get('debug'))?e:!1;let f;this.T=null!=(f=d.get('bufferTimeout'))?f:0;this.D=[];this.O=new Map;this.C=[];b.addEventListener(olympe.dc.db.Database.Event.FH,g=>{this.C.forEach(h=>{for(const l of g)h.C.C(l)})})}Oh(a,b,c){const d=a.ja(),e=a.tA;this.O.has(d)?this.push(d,e):(a=pi(this,ri(this,a.zf(),this.D.length),e),this.write(a,b,c))}push(a,b){const c=this.D.indexOf(a);if(-1<c){const d=this.O.get(a);this.D.splice(c,
1311
+ function ui(a,b,c,d){b=b.pipeThrough(olympe.la.stream.tap(e=>{0<a.D.length&&pi(a,ri(a,e.sf(),a.D.length),e.tA)}));return si(a,b,c,d).then(()=>a.V.debug('Rebase stream completed')).catch(e=>a.V.error('Rebase stream failed:',e))}
1312
+ olympe.dc.db.gR=class{constructor(a,b,c,d){this.V=a;this.R=b;this.cb=c;let e;this.W=null!=(e=d.get('debug'))?e:!1;let f;this.T=null!=(f=d.get('bufferTimeout'))?f:0;this.D=[];this.O=new Map;this.C=[];b.addEventListener(olympe.dc.db.Database.Event.FH,g=>{this.C.forEach(h=>{for(const l of g)h.C.C(l)})})}Oh(a,b,c){const d=a.ja(),e=a.tA;this.O.has(d)?this.push(d,e):(a=pi(this,ri(this,a.sf(),this.D.length),e),this.write(a,b,c))}push(a,b){const c=this.D.indexOf(a);if(-1<c){const d=this.O.get(a);this.D.splice(c,
1313
1313
  1);pi(this,ri(this,d.D,c),b);this.O.delete(a)}}write(a,b,c=!1){b=new olympe.dc.db.YD(this.V,this.R,this.cb,b);ti(b,c);b.write(a,this.W);b.close()}};class vi{ja(){}Oh(){}}function wi(a,b,c,d){const e=olympe.dc.Ib.DESTINATION;c=c.tag();const f=a.C.nh(c);b.Yd().forEach((g,h)=>{f.fa(h,g);b.Aa(h)});for(const [g,h,l,m]of b.Na()){if(!m)continue;const n=h===e?c:l,p=h===e?l:c;a.C.Sb(g,n,p);d.R(g,n,p)}}
1314
1314
  function xi(a,b,c,d){const e=olympe.dc.Ib.DESTINATION,f=c.tag(),g=a.C.nh(f);b.Yd().forEach((h,l)=>{void 0!==c.xc(l)&&(g.fa(l,h),b.Aa(l))});for(const [h,l,m]of b.di()){const n=c.Fb(h,e,l);void 0!==n&&(d.R(h,f,l),n===m&&a.C.R(h,f,l))}}
1315
1315
  class oi extends vi{constructor(a,b){super();this.D=a;this.C=b;this.db=olympe.dc.cb()}ja(){return this.D.ja()}Oh(a){for(const [b,c]of this.D.ca(a)){const d=b.tag();c.fi()?b.D()?a.C(d,b.O()):(this.D.C(d,c.O()),this.C.C(d,c.O())):b.fi()?(wi(this,c,b,a),a.C(d,b.O())):xi(this,c,b,a)}return a}}function yi(a){clearTimeout(a.O);a.O=setTimeout(()=>{a.buffer.splice(a.buffer.indexOf(a),1)},a.R)}
1316
1316
  class qi extends vi{constructor(a,b,c,d){super();this.C=a;this.D=b;this.buffer=c;this.R=d;this.O=null;yi(this)}ja(){return this.C.ja()}Oh(a){return a.T(this.C)}update(a,b){this.D=b;a.Wf(this.C);yi(this);return this}};const zi=olympe.dc.Lf.vh,Ai=olympe.dc.Lf.mt,Bi=olympe.dc.Ib.ORIGIN,Ci=olympe.dc.Ib.DESTINATION;let Di=0;
1317
- olympe.dc.db.Database=class a extends Map{constructor(b,c,d){super();let e;this.id=null!=(e=d.get('selfTag'))?e:olympe.dc.vc.SELF;this.V=b;this.Fb=olympe.j.zb();this.state=olympe.dc.db.Database.D.IDLE;this.ca=new Map;this.tb=[];this.$=new Map;this.R=null;this.na=new Set;var f;b=null!=(f=d.get('garbageCollector'))?f:olympe.dc.db.co.C.sC;let g;f=null!=(g=d.get('garbageCollectorDelay'))?g:5E3;this.oc=new olympe.dc.db.co(c,this,b,f);d.get('debug')&&this.vf()}ja(){return this.id}getState(){return this.state}sb(){return this.V}create(b,
1317
+ olympe.dc.db.Database=class a extends Map{constructor(b,c,d){super();let e;this.id=null!=(e=d.get('selfTag'))?e:olympe.dc.vc.SELF;this.V=b;this.Fb=olympe.j.zb();this.state=olympe.dc.db.Database.D.IDLE;this.ca=new Map;this.tb=[];this.$=new Map;this.R=null;this.na=new Set;var f;b=null!=(f=d.get('garbageCollector'))?f:olympe.dc.db.co.C.sC;let g;f=null!=(g=d.get('garbageCollectorDelay'))?g:5E3;this.oc=new olympe.dc.db.co(c,this,b,f);d.get('debug')&&this.wf()}ja(){return this.id}getState(){return this.state}sb(){return this.V}create(b,
1318
1318
  c,d,e=!1){var f=this.T(b,!0);if(!f.e&&null!==c&&(null===f.R||f.R===c)){f.R=c;let g;(null==(g=f.model())?0:g.e)&&f.db.da(f,!0)}e&&f.persist();this.state===a.D.WB&&Ei(f,!0);d&&this.yb(f,d);this.D(a.Event.lI,b)}update(b,c){c&&(b=this.T(b,!0),this.yb(b,c))}Aa(b){const c=this.get(b);void 0!==c&&(this.da(c,!1),this.D(a.Event.mI,b))}Ga(b,c,d){c=this.T(c,!0);d=this.T(d,!0);switch(b){case zi:Fi(c,d);break;case Ai:Gi(c,d);break;default:Hi(c,b,d)}}dd(b,c,d){c=this.get(c);d=this.get(d);if(void 0!==c&&void 0!==
1319
- d)switch(b){case zi:Ii(c,d);break;case Ai:Ji(c,d);break;default:Ki(c,b,d)}}vg(b,c){for(const d of b)this.T(d).tk(c)}gj(b,c){for(const d of b)(b=this.get(d))&&b.detach(c)}Cx(...b){for(const c of b)null!=(b=this.get(c))&&(b.e=!1)}wf(b){b.forEach(c=>{this.T(c).persist()})}Qb(b){const c=this.get(b);void 0!==c&&(c.clear(),super.delete(b),this.D(a.Event.jH,b))}T(b,c=!1){let d;return null!=(d=this.get(b))?d:this.yf(b,c)}yf(b,c){const d=new olympe.dc.db.Instance(b,this);this.set(b,d);this.D(a.Event.iH,b);
1319
+ d)switch(b){case zi:Ii(c,d);break;case Ai:Ji(c,d);break;default:Ki(c,b,d)}}vg(b,c){for(const d of b)this.T(d).tk(c)}gj(b,c){for(const d of b)(b=this.get(d))&&b.detach(c)}Cx(...b){for(const c of b)null!=(b=this.get(c))&&(b.e=!1)}xf(b){b.forEach(c=>{this.T(c).persist()})}Qb(b){const c=this.get(b);void 0!==c&&(c.clear(),super.delete(b),this.D(a.Event.jH,b))}T(b,c=!1){let d;return null!=(d=this.get(b))?d:this.zf(b,c)}zf(b,c){const d=new olympe.dc.db.Instance(b,this);this.set(b,d);this.D(a.Event.iH,b);
1320
1320
  c&&this.state!==a.D.WB&&this.D(a.Event.VD,b);return d}Oa(b){var c=olympe.la.uk();this.R?Li(this.R,c,b):b()}W(b){let c;null!=(c=this.R)&&c.C.delete(b)}dispatchEvent(b,...c){this.ca.has(b)&&this.ca.get(b).forEach(d=>{d(...c)})}D(b,c,...d){this.dispatchEvent(b,c,...d)}da(b,c){let d;null!=(d=this.R)&&d.O.set(b,c)}ld(b,c,d,e){let f;null!=(f=this.R)&&Mi(f,b).fa(e?Ni+c:c,d)}Rc(b,c,d,e,f){let g;null!=(g=this.R)&&(d===Oi?f?Mi(g,b).da(c,e):Mi(g,b).na(c,e):f?Mi(g,b).Ja(c,e):Mi(g,b).nb(c,e))}Na(b,c,d){let e;
1321
1321
  null!=(e=this.R)&&Mi(e,b).fc(c,d)}addEventListener(b,c){let d=this.ca.get(b);void 0===d&&(d=[],this.ca.set(b,d));d.push(c)}C(b,c){this.addEventListener(b,c)}Ja(b){this.tb.push(b)}O(b){for(const c of this.$.values())if(c.T.has(b))return!0;return!1}Lg(b=!1){const c=Di++;this.state=a.D.PB;this.na.add(c);b||this.$.set(c,new olympe.dc.db.yR(c,this,this.Fb));return c}mg(b,c){if(!this.na.has(b))throw Error('Database: cannot use a transaction that has not been started');let d;this.R=null!=(d=this.$.get(b))?
1322
1322
  d:null;b=this.state;this.state=null===this.R?a.D.WB:a.D.kU;c();this.state=b;this.R=null}fc(b){this.state=a.D.Xn;const c=this.$.get(b);c&&(this.R=c,Pi(this.R),Qi(this.R),this.$.delete(b),this.R=null);this.na.delete(b);0===this.na.size&&(this.state=a.D.IDLE,this.tb.forEach(d=>{d()}),Ri(this.oc))}yb(b,c){const d=a.C.xj;for(const [e,f]of c)void 0!==f&&(e[0]===d?Si(b,e.substring(1),f):b.update(e,f))}nb(b,c,d=[]){const e=c.tag();if(!b.has(e)&&(b.add(e),d.push(c),c=c.get(Bi+zi)))for(const f of c.values())null!==
1323
- f.source()&&this.nb(b,f,d);return d}vf(){const b=a.Event.wC,c=a.Event.Uz,d=new Set,e=new Map;this.C(a.Event.lI,f=>{d.add(f)});this.C(b,f=>{d.delete(f);e.delete(f)});this.C(c,(f,...g)=>{if(g[0]===Ai&&g[1]===Ci){const h=g[2];this.get(h).rc()||(g=e.get(h)||new Set,0===g.size&&e.set(h,g),g.add(f))}});this.Ja(()=>{d.forEach(f=>{const g=this.get(f);g&&null===g.model()&&this.V.error(`\n[DEBUG - DATABASE]\nInstance ${f} created but does not exist !\n${g.toString()}`)});d.clear();e.forEach((f,g)=>{const h=
1323
+ f.source()&&this.nb(b,f,d);return d}wf(){const b=a.Event.wC,c=a.Event.Uz,d=new Set,e=new Map;this.C(a.Event.lI,f=>{d.add(f)});this.C(b,f=>{d.delete(f);e.delete(f)});this.C(c,(f,...g)=>{if(g[0]===Ai&&g[1]===Ci){const h=g[2];this.get(h).rc()||(g=e.get(h)||new Set,0===g.size&&e.set(h,g),g.add(f))}});this.Ja(()=>{d.forEach(f=>{const g=this.get(f);g&&null===g.model()&&this.V.error(`\n[DEBUG - DATABASE]\nInstance ${f} created but does not exist !\n${g.toString()}`)});d.clear();e.forEach((f,g)=>{const h=
1324
1324
  this.get(g);h&&this.V.error(`\n[DEBUG - DATABASE]\nThe model ${g} is extended by other models but does not exist !`+`\nExtension models: ${Array.from(f.values()).join(', ')}`+`\n\n ${h.toString()}`)});e.clear()})}};olympe.dc.db.Database.C={qw:'$',dS:'~',xj:'?',QB:'=',gI:'|',Lv:'@',ORIGIN:olympe.dc.Ib.ORIGIN,DESTINATION:olympe.dc.Ib.DESTINATION};olympe.dc.db.Database.Event={iH:0,jH:1,uM:2,VD:3,yG:4,zG:5,wC:6,Sg:7,Uz:8,CD:9,lI:10,mI:11,iL:12,M_:13,L_:14,oV:15,FH:16};
1325
1325
  olympe.dc.db.Database.D={IDLE:0,PB:1,kU:2,WB:3,Xn:4};function Ti(a,b,c=[]){const d=b.ja();ni(a.C,b,c);return e=>{if(null!==e)a.C.push(d,e);else{e=a.C;var f=e.O.get(d);if(void 0!==f){const g=e.D.indexOf(d);e.D.splice(g,1);f=ri(e,f.C,e.D.length);e.write(pi(e,f,Date.now()),!1);e.O.delete(d)}}}}function Ui(a,b,c={}){let d,e;return ui(a.C,b,null!=(d=c.persist)?d:!0,null!=(e=c.hE)?e:!1)}function Vi(a,b){a.D.Ja(b)}
1326
1326
  olympe.dc.db.rR=class{constructor(a,b,c,d,e){this.V=a;this.D=b;this.view=c;this.C=new olympe.dc.db.gR(a,b,c,d);this.MY=new olympe.dc.db.PT(a,c,b,e)}sb(){return this.V}Oh(a,b={}){let c,d;this.C.Oh(a,null!=(c=b.persist)?c:!0,null!=(d=b.hE)?d:!1)}tk(a,b){this.D.vg(a,b)}detach(a,b){this.D.gj(a,b);return this}Cx(...a){this.D.Cx(...a.map(olympe.dc.Va))}};const Wi=olympe.dc.db.Database.C.ORIGIN,Xi=olympe.dc.db.Database.C.DESTINATION,Yi=olympe.dc.db.Database.C.qw,Zi=olympe.dc.db.Database.C.xj,$i=olympe.dc.db.Database.C.QB,aj=olympe.dc.db.Database.C.gI,bj=Wi+Xi,cj=Yi+Yi,dj=olympe.dc.db.Database.D;let ej=0;function Jh(a,b,c,d=!1){const e=fj(a,b);if(null!==e){const f=gj(e,'',c);void 0!==f&&(a.C.getState()!==dj.Xn||e.O()&&!d||a.C.W(c),d||!e.rc()&&!e.O()||f(!1,b))}}
@@ -1347,9 +1347,9 @@ function Ij(a,b,...c){b.forEach((d,e)=>{Li(a,e,d.bind(null,...c))})}function Jj(
1347
1347
  function Lj(a){a.W.run(()=>{const b=a.C;for(const [c,d]of a.buffer){let e,f,g;null==(e=b.get(c))||null==(g=(f=e)[d])||g.call(f)}});a.C.clear();a.buffer.length=0}function Mj(a,b,c){const d=b+c;let e=a.R.get(d);if(!e){const f=a.D.get(b);e=new Map;Hj.forEach(g=>{const h=g[0]===olympe.dc.ri.Qp;var l=h?g.substring(1):g;let m;l=null!=(m=null==f?void 0:f.get(Cj+l))?m:0;l=h?((l&3)<<2)+((l&12)>>2):l;(c===Bj?12:3)&l&&e.set(g,!!((c===Bj?8:2)&l))});a.R.set(d,e)}return e}
1348
1348
  olympe.dc.db.yR=class{constructor(a,b,c){this.id=a;this.D=b;this.W=c;this.O=new Map;this.Y=new Map;this.T=new Set;this.C=new Map;this.R=new Map;this.buffer=[]}ja(){return this.id}};function Ri(a){if(!a.O&&0<a.D.size)switch(a.mode){case olympe.dc.db.co.C.RF:a.O=!0;setTimeout(()=>{a.C.getState()===olympe.dc.db.Database.D.IDLE&&a.run()},a.delay);break;case olympe.dc.db.co.C.bV:a.O=!0,a.run()}}
1349
1349
  olympe.dc.db.co=class{constructor(a,b,c,d){this.V=a;this.C=b;this.D=new Set;this.mode=c;this.delay=d;this.O=!1;c!==olympe.dc.db.co.C.sC&&this.init()}run(){const a=this.C;this.V.debug('Start garbage collector with',this.D.size,'instances to check');const b=[];for(const c of this.D){const d=a.get(c);!d||0<d.c||(this.V.debug('Remove unused instance',c,'from database'),a.Qb(c),b.push(c))}this.D.clear();this.C.dispatchEvent(olympe.dc.db.Database.Event.FH,b);this.O=!1}init(){const a=olympe.dc.db.Database.Event.uM,
1350
- b=olympe.dc.db.Database.Event.mI,c=olympe.dc.db.Database.Event.iL,d=olympe.dc.db.Database.D.IDLE,e=f=>{this.D.add(f);this.C.getState()===d&&Ri(this)};this.C.C(olympe.dc.db.Database.Event.VD,e.bind(this));this.C.C(b,e.bind(this));this.C.C(a,f=>{this.D.delete(f)});this.C.addEventListener(olympe.dc.db.Database.Event.oV,()=>{this.run()});this.C.C(c,(f,...g)=>{this.V.error(g[0])})}};olympe.dc.db.co.C={sC:0,bV:1,RF:2};olympe.dc.db.co.D=5E3;olympe.dc.db.Rf=class a{constructor(b){this.id=null!=b?b:olympe.la.Yr();this.je=new Map}ja(){return this.id}Wf(b){const c=olympe.dc.db.Ct.C.iD,d=olympe.dc.db.Ct.C.Sg,e=olympe.dc.db.Ct.C.hA;this.je.forEach((f,g)=>{const h=f.Pe();switch(f.getState()){case c:const l=f.Ad();if(null===l)throw Error(`GraphPatch: try to create the instance ${g} with no source`);const m=f.W()?f.Yd():void 0;b.yf(g,l,m,h);break;case e:f.W()&&b.rh(g,f.Yd(),h);break;case d:b.D(g,f.O(),h)}for(const [l,m,n]of f.di())f=this.je.get(m),
1351
- n?b.Sb(l,g,m,h,f.Pe()):b.Xf(l,g,m,h,f.Pe())});return b}Ii(){return 0===this.je.size}Sc(){let b=0;this.je.forEach(c=>{b+=c.Sc()});return b}yf(b,c,d,e=null){c=this.O(b).create(c);'string'===typeof e&&this.Sb(olympe.dc.Lf.vh,b,e,e,null);d&&c.qA(d)}rh(b,c,d=null){c&&this.O(b,d).qA(c)}D(b,c=olympe.dc.Se.NONE,d=null){const e=this.je.get(b);if(e&&e.D())this.C(b,c);else{this.O(b,d).delete(c);for(const f of this.JA(b,c,!1))this.je.get(f).Yd().clear(),this.W(f,!0)}}Sb(b,c,d,e=null,f=null){this.O(c,e).da(b,
1352
- d);this.O(d,f).Ja(b,c)}Xf(b,c,d,e=null,f=null){this.O(c,e).na(b,d);this.O(d,f).nb(b,c)}$(b){var c=olympe.dc.cb();if(c.rc(b)){const d=c.model(b),e=c.source(b),f=c.Yd(b,!0);xj(c,b).forEach((g,h)=>{f.set(`${olympe.dc.ri.xj}${h}`,g)});this.yf(b,e,f,d);(c=c.Km(b))&&this.Sb(olympe.dc.Lf.mt,b,c);f.forEach(g=>{g instanceof olympe.dc.Kf&&this.$(g.ka())})}}xg(){return function*(b){for(const c of b.values())if(c.D()||c.fi()||c.W())yield c}(this.je)}nh(b){let c;return null!=(c=this.je.get(olympe.dc.Va(b)))?c:
1350
+ b=olympe.dc.db.Database.Event.mI,c=olympe.dc.db.Database.Event.iL,d=olympe.dc.db.Database.D.IDLE,e=f=>{this.D.add(f);this.C.getState()===d&&Ri(this)};this.C.C(olympe.dc.db.Database.Event.VD,e.bind(this));this.C.C(b,e.bind(this));this.C.C(a,f=>{this.D.delete(f)});this.C.addEventListener(olympe.dc.db.Database.Event.oV,()=>{this.run()});this.C.C(c,(f,...g)=>{this.V.error(g[0])})}};olympe.dc.db.co.C={sC:0,bV:1,RF:2};olympe.dc.db.co.D=5E3;olympe.dc.db.Rf=class a{constructor(b){this.id=null!=b?b:olympe.la.Yr();this.je=new Map}ja(){return this.id}Wf(b){const c=olympe.dc.db.Ct.C.iD,d=olympe.dc.db.Ct.C.Sg,e=olympe.dc.db.Ct.C.hA;this.je.forEach((f,g)=>{const h=f.Pe();switch(f.getState()){case c:const l=f.Ad();if(null===l)throw Error(`GraphPatch: try to create the instance ${g} with no source`);const m=f.W()?f.Yd():void 0;b.zf(g,l,m,h);break;case e:f.W()&&b.rh(g,f.Yd(),h);break;case d:b.D(g,f.O(),h)}for(const [l,m,n]of f.di())f=this.je.get(m),
1351
+ n?b.Sb(l,g,m,h,f.Pe()):b.Xf(l,g,m,h,f.Pe())});return b}Ii(){return 0===this.je.size}Sc(){let b=0;this.je.forEach(c=>{b+=c.Sc()});return b}zf(b,c,d,e=null){c=this.O(b).create(c);'string'===typeof e&&this.Sb(olympe.dc.Lf.vh,b,e,e,null);d&&c.qA(d)}rh(b,c,d=null){c&&this.O(b,d).qA(c)}D(b,c=olympe.dc.Se.NONE,d=null){const e=this.je.get(b);if(e&&e.D())this.C(b,c);else{this.O(b,d).delete(c);for(const f of this.JA(b,c,!1))this.je.get(f).Yd().clear(),this.W(f,!0)}}Sb(b,c,d,e=null,f=null){this.O(c,e).da(b,
1352
+ d);this.O(d,f).Ja(b,c)}Xf(b,c,d,e=null,f=null){this.O(c,e).na(b,d);this.O(d,f).nb(b,c)}$(b){var c=olympe.dc.cb();if(c.rc(b)){const d=c.model(b),e=c.source(b),f=c.Yd(b,!0);xj(c,b).forEach((g,h)=>{f.set(`${olympe.dc.ri.xj}${h}`,g)});this.zf(b,e,f,d);(c=c.Km(b))&&this.Sb(olympe.dc.Lf.mt,b,c);f.forEach(g=>{g instanceof olympe.dc.Kf&&this.$(g.ka())})}}xg(){return function*(b){for(const c of b.values())if(c.D()||c.fi()||c.W())yield c}(this.je)}nh(b){let c;return null!=(c=this.je.get(olympe.dc.Va(b)))?c:
1353
1353
  null}C(b,c=olympe.dc.Se.NONE){b=this.JA(b,c);for(const d of b)this.W(d,!1),this.je.delete(d)}di(){return function*(b){for(var c=b.next();!c.done;){c=c.value;const d=c.tag();yield*c.di((e,f,g)=>[e,d,f,g]);c=b.next()}}(this.je.values())}pq(b,c,d=(e,f)=>[e,f]){return this.da(b,c,d)}*da(b,c,d,e=[]){e.push(b);b=this.nh(b);for(const [f,g]of b.tc(c))e.includes(f)||(yield*this.da(f,c,d,e),yield d(f,g))}R(b,c,d){const e=this.je.get(c),f=this.je.get(d);e&&e.T(b,olympe.dc.Ib.DESTINATION,d);f&&f.T(b,olympe.dc.Ib.ORIGIN,
1354
1354
  c)}clone(){const b=new a(this.id);this.je.forEach((c,d)=>{b.je.set(d,c.clone())});return b}W(b,c){const d=olympe.dc.Ib.ORIGIN,e=olympe.dc.Ib.DESTINATION,f=this.je.get(b);for(const [h,l,m]of f.di())if(m||!c){f.T(h,e,l);var g=this.je.get(l);g&&g.T(h,d,b)}for(const [h,l,m]of f.Ga())if(m||!c)f.T(h,d,l),(g=this.je.get(l))&&g.T(h,e,b)}*vO(b){let c;for(const [d,e]of(null==(c=this.nh(b))?void 0:c.tc(olympe.dc.CloudObject.instancesRel))||[])e&&(b=this.je.get(d),b.fi()||(yield b))}JA(b,c,d=!0){const e=olympe.dm.Relation.C.pL,
1355
1355
  f=olympe.dm.Relation.C.rM,g=olympe.dc.Ib.ORIGIN,h=olympe.dc.cb();b=new Set([b]);const l=new Set;for(const n of b){var m=this.je.get(n);if(void 0!==m){for(const [p,r,t]of m.di())t&&uj(h,p,c)&f?b.add(r):d||t||l.add(`${n}.${p}.${r}`);for(const [p,r,t]of m.Ga())t&&uj(h,p,c)&e?b.add(r):d||t||l.add(`${r}.${p}.${n}`)}for(const [p,r,t]of yj(h,n))m=r===g?e:f,!l.has(r===g?`${t}.${p}.${n}`:`${n}.${p}.${t}`)&&uj(h,p,c)&m&&b.add(t)}return Array.from(b).filter(n=>this.je.has(n))}O(b,c){let d=this.je.get(b);void 0===
@@ -1378,10 +1378,10 @@ g)}}};olympe.dc.db.Ct.C={iD:0,hA:1,Sg:2};olympe.dc.db.PT=class{constructor(a,b,c
1378
1378
  ' (name: '+c.get(e)+') has no model.\nList: '+d.join(' --M--\x3e ')}this.V.info(a)}else this.V.info('[DATABASE] Instance',b,'has never been created or referred by the database')}init(){const a=olympe.dc.db.Database.Event.jH,b=olympe.dc.db.Database.Event.wC,c=olympe.dc.db.Database.Event.Sg,d=olympe.dc.db.Database.Event.Uz,e=olympe.dc.db.Database.Event.CD,f=olympe.dc.db.Database.Event.yG,g=olympe.dc.db.Database.Event.zG,h=()=>{};this.C.C(olympe.dc.db.Database.Event.iH,()=>{});this.C.C(a,()=>{});this.C.C(b,
1379
1379
  l=>{this.C.Oa(()=>{rj(this.view,l,h,`monitorRelations${l}`)})});this.C.C(c,l=>{this.C.Oa(()=>{sj(this.view,l,`monitorRelations${l}`)})});this.C.C(d,()=>{});this.C.C(e,()=>{});this.C.C(f,()=>{});this.C.C(g,()=>{})}};function ti(a,b){if(null!==a.transactionId)throw Error('A transaction is already open');a.transactionId=a.C.Lg(b);a.V.debug(`DB Writer: transaction ${a.transactionId} opened`)}
1380
1380
  olympe.dc.db.YD=class{constructor(a,b,c,d){this.V=a;this.C=b;this.cb=c;this.O=d;this.transactionId=null}write(a,b){b&&(b=new ik(this.cb),a.Wf(b),this.V.info(b.flush()));if(null===this.transactionId)throw Error('You must first open a transaction before to write');this.V.debug('DB Writer: writing patch',a.ja(),'for transaction',this.transactionId);this.C.mg(this.transactionId,()=>a.Wf(this))}close(){if(null===this.transactionId)throw Error('No transaction is open');this.C.fc(this.transactionId);this.V.debug(`DB Writer: transaction ${this.transactionId} committed`);
1381
- this.transactionId=null}yf(a,b,c,d){this.C.create(a,b,c,this.O);d&&this.C.Ga(olympe.dc.Lf.vh,a,d)}rh(a,b){this.C.update(a,b)}D(a,b=olympe.dc.Se.NONE){for(const c of li(this.cb,a,b))this.C.Aa(c)}Sb(a,b,c){this.C.Ga(a,b,c)}Xf(a,b,c){this.C.dd(a,b,c)}};
1381
+ this.transactionId=null}zf(a,b,c,d){this.C.create(a,b,c,this.O);d&&this.C.Ga(olympe.dc.Lf.vh,a,d)}rh(a,b){this.C.update(a,b)}D(a,b=olympe.dc.Se.NONE){for(const c of li(this.cb,a,b))this.C.Aa(c)}Sb(a,b,c){this.C.Ga(a,b,c)}Xf(a,b,c){this.C.dd(a,b,c)}};
1382
1382
  function jk(a,b,c){if(!b)return'';let d='';if(c&&1<c)return'...';for(const [e,f]of b)if(d+=(d?', "':'"')+e+'":',!f)d+=JSON.stringify(f);else if(f instanceof olympe.dc.Kf||f instanceof olympe.dc.CloudObject)d+='Reference("'+f.ka()+'")';else if(f instanceof olympe.j.Color)d+='Color("'+f.Gl()+','+f.Fl()+','+f.ul()+','+f.tl()+'")';else if(f.constructor&&Object.prototype.hasOwnProperty.call(f.constructor.prototype,'toString'))d+=JSON.stringify(f.toString());else if('object'===typeof f){let g;d+=jk(a,f,
1383
1383
  (null!=(g=c)?g:0)+1)}return'{'+(d?d:'')+'}'}function kk(a,b){let c;return'string'===typeof b?null!=(c=a.db.name(b))?c:b:''}function lk(a,b){let c;return b===olympe.dc.Lf.vh?'Model':null!=(c=a.db.name(b))?c:b}
1384
- class ik{constructor(a){this.db=a;this.C='Applying patch on the local database'}flush(){const a=this.C;this.C='';return a}log(a,b){this.C+=`\ndb.${a};${b?`// ${b}`:''}`}yf(a,b,c,d){this.log(`createInstance(tag: ${a}, source: ${b}, ${jk(this,c)})`,kk(this,d))}rh(a,b,c){this.log(`updateInstance(tag: ${a}, ${jk(this,b)})`,kk(this,c))}D(a,b,c){this.log(`deleteInstance("${a}", rule: ${b})`,kk(this,c))}Sb(a,b,c){this.log(`createRelation("${a}", "${b}", "${c}")`,lk(this,a))}Xf(a,b,c){this.log(`deleteRelation("${a}", "${b}", "${c}")`,
1384
+ class ik{constructor(a){this.db=a;this.C='Applying patch on the local database'}flush(){const a=this.C;this.C='';return a}log(a,b){this.C+=`\ndb.${a};${b?`// ${b}`:''}`}zf(a,b,c,d){this.log(`createInstance(tag: ${a}, source: ${b}, ${jk(this,c)})`,kk(this,d))}rh(a,b,c){this.log(`updateInstance(tag: ${a}, ${jk(this,b)})`,kk(this,c))}D(a,b,c){this.log(`deleteInstance("${a}", rule: ${b})`,kk(this,c))}Sb(a,b,c){this.log(`createRelation("${a}", "${b}", "${c}")`,lk(this,a))}Xf(a,b,c){this.log(`deleteRelation("${a}", "${b}", "${c}")`,
1385
1385
  lk(this,a))}}olympe.dc.db.YD.Ba=[olympe.dc.eu,olympe.dc.eu];olympe.dc.db.ba={Wb:'dc.db.Logger',FC:'dc.db.gc.Logger',Mb:'dc.db.DatabaseManager',Uy:'dc.db.Database',pC:'dc.db.DBView',U0:'dc.db.Graph',R_:'dc.db.DatabaseWriter',R1:'dc.db.PermissionProcessor',hw:'dc.db.GraphMonitor'};olympe.dc.db.Config={GH:'db.garbageCollector',HH:'db.garbageCollectorDelay',fC:'db.commitBufferTimeout',hw:'db.monitor',JT:'db.monitorCounters',IT:'db.monitorCallbacks',YG:'db.debug'};
1386
1386
  olympe.ra.$e(function(a){E(a,olympe.dc.db.Config.GH,olympe.dc.db.co.C.RF);E(a,olympe.dc.db.Config.HH,5E3);E(a,olympe.dc.db.Config.fC,3E4);E(a,olympe.dc.db.Config.hw,!1);E(a,olympe.dc.db.Config.YG,!1);C(a,olympe.dc.db.ba.Wb,[olympe.eb.ba.Mb],b=>b.Zg('db'));C(a,olympe.dc.db.ba.FC,[olympe.eb.ba.Mb],b=>b.Zg('gc'));C(a,olympe.dc.db.ba.Uy,[olympe.dc.db.ba.Wb,olympe.dc.db.ba.FC,new olympe.ra.xb(olympe.dc.Config.Er),new olympe.ra.xb(olympe.dc.db.Config.GH),new olympe.ra.xb(olympe.dc.db.Config.HH),new olympe.ra.xb(olympe.dc.Config.Ut),
1387
1387
  new olympe.ra.xb(olympe.dc.db.Config.YG)],(b,c,d,e,f,g,h)=>{e=g?olympe.dc.db.co.C.sC:e;d=(new Map).set('selfTag',d).set('garbageCollector',e).set('garbageCollectorDelay',f).set('debug',h);return new olympe.dc.db.Database(b,c,d)});A(a,olympe.dc.db.ba.pC,olympe.dc.Bd,olympe.dc.db.ba.Wb,olympe.dc.db.ba.Uy);C(a,olympe.dc.db.ba.hw,[olympe.dc.db.ba.Mb],b=>b.MY);C(a,olympe.dc.db.ba.Mb,[olympe.dc.db.ba.Wb,olympe.dc.db.ba.Uy,olympe.dc.db.ba.pC,new olympe.ra.xb(olympe.dc.Config.Ap),new olympe.ra.xb(olympe.dc.db.Config.fC),
@@ -1419,7 +1419,7 @@ b?0:b.ah)?b.ah:olympe.dc.mb.Jf.jm;a='function'===typeof a.se?a.se():a;let d;retu
1419
1419
  return{b:this.D,p:this.vb.map(b=>b.fb()),r:Array.from(this.O),s:this.source,e:{m:this.C.max,o:this.C.offset,s:this.C.Pi,rm:null!=(a=this.C.Nl)?a:this.db.model(this.D)}}}toString(){return`Query: ${JSON.stringify(this)}`}toJSON(){return{origin:this.db.rc(this.D)?olympe.dc.CloudObject.get(this.D):this.D,relations:this.vb.map(a=>a.toJSON())}}};olympe.dc.mb.prototype.observe=olympe.dc.mb.prototype.observe;olympe.dc.mb.prototype.executeFromCache=olympe.dc.mb.prototype.rf;
1420
1420
  olympe.dc.mb.prototype.execute=olympe.dc.mb.prototype.Dd;olympe.dc.mb.prototype.parse=olympe.dc.mb.prototype.parse;olympe.dc.mb.prototype.back=olympe.dc.mb.prototype.back;olympe.dc.mb.prototype.sortBy=olympe.dc.mb.prototype.yv;olympe.dc.mb.prototype.limit=olympe.dc.mb.prototype.kn;olympe.dc.mb.prototype.cast=olympe.dc.mb.prototype.Sw;olympe.dc.mb.prototype.filter=olympe.dc.mb.prototype.filter;olympe.dc.mb.prototype.andReturn=olympe.dc.mb.prototype.bj;olympe.dc.mb.prototype.followRecursively=olympe.dc.mb.prototype.fq;
1421
1421
  olympe.dc.mb.prototype.follow=olympe.dc.mb.prototype.jc;olympe.dc.mb.followRule=olympe.dc.mb.af;olympe.dc.mb.instancesOf=olympe.dc.mb.dB;olympe.dc.mb.fromTag=olympe.dc.mb.sl;olympe.dc.mb.from=olympe.dc.mb.from;olympe.dc.mb.Jf={jm:1,Nz:2,Wp:3};olympe.dc.mb.C={cC:'cacheBucketName',qI:'isCacheable'};function Nk(a){null===a.$b&&null===a.C&&(a.$b=Vh(a.O))}
1422
- olympe.dc.query.zi=class extends olympe.dc.fr{constructor(a){super(a,null);this.O=new olympe.dc.transaction.bl}static ax(a){const b=new olympe.dc.query.zi(`DataResult_${a.ja()}`);b.D=a.Ad();return b}static C(a){const b=new olympe.dc.query.zi(a.i);let c;b.D=null!=(c=a.s)?c:null;let d;b.tA=null!=(d=a.t)?d:null;let e;b.$b=null!=(e=a.p)?e:[];return b}Wf(a){Nk(this);return super.Wf(a)}zf(){Nk(this);return super.zf()}QA(){Nk(this);return super.QA()}create(a,b,c){this.O.yf(a,this.D,c,b);return this}Sb(a,
1422
+ olympe.dc.query.zi=class extends olympe.dc.fr{constructor(a){super(a,null);this.O=new olympe.dc.transaction.bl}static ax(a){const b=new olympe.dc.query.zi(`DataResult_${a.ja()}`);b.D=a.Ad();return b}static C(a){const b=new olympe.dc.query.zi(a.i);let c;b.D=null!=(c=a.s)?c:null;let d;b.tA=null!=(d=a.t)?d:null;let e;b.$b=null!=(e=a.p)?e:[];return b}Wf(a){Nk(this);return super.Wf(a)}sf(){Nk(this);return super.sf()}QA(){Nk(this);return super.QA()}create(a,b,c){this.O.zf(a,this.D,c,b);return this}Sb(a,
1423
1423
  b,c){this.O.Sb(a,b,c,null,null);return this}fb(){return super.fb()}};olympe.dc.query.zi.prototype.createRelation=olympe.dc.query.zi.prototype.Sb;olympe.dc.query.zi.prototype.create=olympe.dc.query.zi.prototype.create;olympe.dc.query.zi.fromQuery=olympe.dc.query.zi.ax;function Lk(a,b){const c=new olympe.dc.query.$K(a.V,b);if(a.D.view.rc(b.D)){yk(c,b.D);for(const d of sk(b))d.Dd(c)}return c}
1424
1424
  function Mk(a,b,c,d,e,f){const g=b.ja();let h=a.C.get(g);if(!h){var l=b.Ad();a.V.debug(`Create new subscription for query ${g} for subscriber ${d}, to be executed by the data source ${l}`);l=!1===f.kg||a.R&&l===olympe.dc.vc.SERVER?[]:Array.from(a.C.values());h=new olympe.dc.query.hL(a.V,a.D,b,e,a.W.bind(a,e,f));a.C.set(g,h);Ok(h,m=>a.O.add(m));h.start(l)&&(null==f?0:f.Vr)&&Pk(a,b,e,f).catch(m=>{a.V.error(`Was not able to get the result of the subscribed query ${g} to add it to the cache: ${m}`)})}return new rxjs.Observable(m=>
1425
1425
  {const n=()=>{p&&c.AP(p);m.complete();if(r){var t=r;const v=a.C.get(g);a.V.debug(`${d} unsubscribed from ${g}`);if(null==v)t=0;else{var u=v;u.O.delete(t)&&u.V.debug(`Remove subscriber ${d} for query ${u.query.ja()}, now have ${u.O.size} subscribers`);d!==olympe.dc.vc.SELF&&(u.ca--,0===u.ca&&Bk(u.C));t=0===u.O.size}t&&(a.V.debug(`No more subscriber to ${g}, remove the subscription`),a.O.delete(g),a.C.delete(g),v.destroy())}},p=c.Ue(n),r=Qk(h,d,m);return n})}
@@ -1447,7 +1447,7 @@ olympe.dc.query.hL=class{constructor(a,b,c,d,e){this.V=a;this.na=b;this.db=b.vie
1447
1447
  (null===this.D||this.query.D===a.D)&&this.C.Yg(a))}Li(a){null!==this.D?this.D.push(a):a();return this}destroy(a){a?this.V.error(`Destroy subscription ${this.query.ja()} after error: ${a}`):this.V.debug(`Destroy subscription ${this.query.ja()}`);const b=this.$;this.$=null;this.O.forEach(e=>a?e.error(a):e.complete());let c;null==(c=this.R)||c.forEach(e=>fl(e,this));let d;null==(d=this.T)||d.forEach(e=>{e.R.delete(this);0===e.R.size&&(e.R=null)});b.forEach(e=>e())}nc(){return null===this.$}Na(){const a=
1448
1448
  olympe.dc.mb.Jf.Wp;if(this.ah===a)return olympe.la.stream.tap(c=>{c=c.QA().filter(e=>e.o===olympe.dc.kh.C).map(e=>e.t);this.na.tk(c,'Batch mode');const d=sk(this.query)[0];d instanceof olympe.dc.query.vb.DC&&c.forEach(e=>yk(this.C,e,d.ja(),d.C))});let b;if(0<(null==(b=this.W)?void 0:b.length)){const c=this.W.filter(e=>e.ah===a).map(e=>new Promise(f=>e.Li(f))),d=this.W.filter(e=>e.ah!==a).map(e=>new Promise(f=>e.Li(f)));this.W=void 0;return new TransformStream({start:()=>Promise.all(c),flush:()=>Promise.all(d)})}return null}};
1449
1449
  function hl(a,b){return a.C.has(al+b)||a.C.has($k+b)}
1450
- class gl{constructor(a,b,c,d){this.V=a;this.db=b;this.O=d;this.T=[];this.R=-1<c.C.max||0<c.C.offset;this.C=new Map;this.result=!1;const e=new Map;for(const f of sk(c)){a=f.ja();this.T.push(a);if(f instanceof olympe.dc.query.vb.Rt){a=f.relation;a=`${a.Cc()}${a.ka()}`;let g;b=null!=(g=this.C.get(a))?g:[];b.push(f);this.C.set(a,b)}il(f).forEach(g=>{let h;const l=null!=(h=e.get(g))?h:[];l.push(f.ja());e.set(g,l)})}this.properties=Array.from(e.entries())}flush(){const a=this.result;this.result=!1;return a}yf(){}rh(a,
1450
+ class gl{constructor(a,b,c,d){this.V=a;this.db=b;this.O=d;this.T=[];this.R=-1<c.C.max||0<c.C.offset;this.C=new Map;this.result=!1;const e=new Map;for(const f of sk(c)){a=f.ja();this.T.push(a);if(f instanceof olympe.dc.query.vb.Rt){a=f.relation;a=`${a.Cc()}${a.ka()}`;let g;b=null!=(g=this.C.get(a))?g:[];b.push(f);this.C.set(a,b)}il(f).forEach(g=>{let h;const l=null!=(h=e.get(g))?h:[];l.push(f.ja());e.set(g,l)})}this.properties=Array.from(e.entries())}flush(){const a=this.result;this.result=!1;return a}zf(){}rh(a,
1451
1451
  b){if(!(this.result||!this.R&&this.db.rc(a))){var c;this.result||(this.result=null==(c=this.properties)?void 0:c.some(([d,e])=>b.has(d)&&xk(this.O,a,e)))}}D(a){this.result||this.db.rc(a)&&!this.R||this.result||(this.result=this.T.some(b=>xk(this.O,a,b)))}Sb(a,b,c){if(!this.result&&hl(this,a)){var d=this.db.rc(b),e=this.db.rc(c);if(d&&!e||!d&&e){const f=this.C.get(al+a);a=this.C.get($k+a);this.result||(this.result=d&&(null==f?void 0:f.some(g=>xk(this.O,b,g.C)))||e&&(null==a?void 0:a.some(g=>xk(this.O,
1452
1452
  c,g.C))))}}}Xf(a,b,c){if(!this.result&&this.R&&hl(this,a)&&this.db.wP(b,new olympe.dc.Pc.Relation(a),c)){const d=this.C.get(al+a);a=this.C.get($k+a);const e=this.O;this.result||(this.result=(null==d?void 0:d.some(f=>xk(e,b,f.C)&&xk(e,c,f.ja())))||(null==a?void 0:a.some(f=>xk(e,c,f.C)&&xk(e,b,f.ja()))))}}}olympe.dc.query.hL.Ba=[olympe.dc.eu];function jl(a){return new olympe.dc.query.Relation(a.tag,a.direction,!0)}
1453
1453
  olympe.dc.query.Relation=class extends olympe.dc.Pc.Relation{constructor(a,b,c){super(a,b);this.recursive=c}toJSON(){let a='{ "tag": '+JSON.stringify(this.ka())+', ';a+='"direction": '+JSON.stringify(this.Cc())+', ';a+='"recursive": '+JSON.stringify(this.recursive);return a+'}'}static ke(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,b){return new olympe.dc.query.Relation(a.ka(),a.Cc(),null!=b?b:a instanceof olympe.dc.Qa.Gj)}fe(){const a=
@@ -1494,38 +1494,38 @@ function Ml(a,b){const c=b.ja();null===a.D&&(a.D=new olympe.la.Yt(6E4),jb(a.D,(f
1494
1494
  function Ol(a,b){const c=b.ja();let d,e;const f=null!=(e=null==(d=a.D)?void 0:d.get(c))?e:new olympe.dc.db.Rf(c);let g;null==(g=a.D)||g.delete(c);b.Wf(f);return a.applyTransaction(f,!1).catch(h=>{a.V.error(`Error occurred when applying burst transaction ${c} to the data source: ${h}`)})}function Pl(a,b){const c=rxjs.defer(()=>a.C.executeQuery(b));return 0<a.T?rxjs.interval(a.T).pipe(rxjs.operators.switchMap(()=>c)):c}
1495
1495
  olympe.dc.sources.fK=class{constructor(a,b){this.V=a;this.C=b;this.We=null;this.R=olympe.dc.query.SA();this.O=new olympe.j.ee('Context of source '+this.ja());let c;this.T=null!=(c=b.Go(olympe.dc.sources.Config.vD))?c:-1;this.D=null}ja(){return this.C.ja()}init(a){this.We=a;if(this.ja()===olympe.dc.vc.SELF)return this;(new Promise((b,c)=>{let d=!0;Ql(this.C,this.O).subscribe(rxjs.Subscriber.create(e=>{if(this.V.C()){this.V.debug(`Data source ${this.C.name()} has loaded ${e.size()} data types in its cache:`);
1496
1496
  for(const [f,g]of e)this.V.debug(`=> DataType: ${g.name()} (${f})`)}d&&(d=!1,b())},c))})).then(()=>this.C.init(this.O)).catch(b=>{this.V.error(`Error while initialization of DataSource ${this.C.name()} (${this.ja()}): ${b}`)});return this}healthCheck(){return this.C.healthCheck().then(()=>`Data source ${this.C.name()} (${this.C.ja()}) OK`)}destroy(){this.O.destroy();return this.C.destroy()}Aa(a){const b=a.ze();var c=a.getType();switch(c){case Bl:const d=olympe.dm.DataSource.Vf.ve,e=olympe.dm.DataSource.Vf.Nt;
1497
- return this.C.healthCheck().then(()=>({s:e})).catch(h=>({s:d,r:String(h)}));case Cl:return this.C.executeQuery(b);case Hl:const f=b.zf();Ml(this,f);Nl(this,Lh(f)).catch(h=>{this.V.warn(`Error occurred when applying burst transaction ${f.ja()} to the data source: ${h}`)});return Promise.resolve();case Jl:case Kl:const g=b.zf();return this.applyTransaction(g,c===Kl).finally(()=>{if(a.origin===olympe.dc.vc.SELF){var h=g.ja();h=Ph(new olympe.dc.Request(olympe.dc.Request.C.fz,olympe.dc.vc.SELF,{id:h,finalize:olympe.dc.transaction.yo.C.lw,
1498
- error:null}),this.ja());let l;null==(l=this.We)||l.bh(h)}});case Il:return Ol(this,b.zf());case El:return b.content instanceof Uint8Array?this.C.uploadFileContent(b.tag,b.model,b.content).then(()=>`datasource://${b.tag}`):Promise.reject('File content is undefined');case Fl:return this.C.downloadFileContent(b.tag,b.model);case Gl:return this.C.deleteFileContent(b.tag,b.model);case Ll:return c=Ph(new olympe.dc.Request(Ll,olympe.dc.vc.SELF,b,a.Ag()),this.ja()),this.We.bh(c);default:return Promise.reject(`Request of type ${a.getType()} is not supported by the data source`)}}subscribe(a){if(a.getType()===
1497
+ return this.C.healthCheck().then(()=>({s:e})).catch(h=>({s:d,r:String(h)}));case Cl:return this.C.executeQuery(b);case Hl:const f=b.sf();Ml(this,f);Nl(this,Lh(f)).catch(h=>{this.V.warn(`Error occurred when applying burst transaction ${f.ja()} to the data source: ${h}`)});return Promise.resolve();case Jl:case Kl:const g=b.sf();return this.applyTransaction(g,c===Kl).finally(()=>{if(a.origin===olympe.dc.vc.SELF){var h=g.ja();h=Ph(new olympe.dc.Request(olympe.dc.Request.C.fz,olympe.dc.vc.SELF,{id:h,finalize:olympe.dc.transaction.yo.C.lw,
1498
+ error:null}),this.ja());let l;null==(l=this.We)||l.bh(h)}});case Il:return Ol(this,b.sf());case El:return b.content instanceof Uint8Array?this.C.uploadFileContent(b.tag,b.model,b.content).then(()=>`datasource://${b.tag}`):Promise.reject('File content is undefined');case Fl:return this.C.downloadFileContent(b.tag,b.model);case Gl:return this.C.deleteFileContent(b.tag,b.model);case Ll:return c=Ph(new olympe.dc.Request(Ll,olympe.dc.vc.SELF,b,a.Ag()),this.ja()),this.We.bh(c);default:return Promise.reject(`Request of type ${a.getType()} is not supported by the data source`)}}subscribe(a){if(a.getType()===
1499
1499
  Dl){const b=a.ze();a=a.origin;return a===olympe.dc.vc.SELF?Pl(this,b):Mk(this.R,b,this.O,a,olympe.dc.mb.Jf.jm,{}).pipe(rxjs.operators.map(c=>{let d,e;return null!=(e=null==(d=c.Jl)?void 0:d.O)?e:null}),rxjs.operators.filter(c=>null!==c),rxjs.operators.map(c=>Lh(c,Date.now())))}return rxjs.throwError(()=>Error('Subscription request not supported'))}applyTransaction(a,b){const c=this;return q(function*(){var d=Rl(a);yield c.C.applyTransaction(d,{batch:b});d=Date.now();yield Wk(c.R,c.ja(),a);const e=
1500
1500
  Lh(a,d);yield Nl(c,e);return d})}};olympe.dc.sources.fK.Ba=[olympe.dc.sources.$y];function Rl(a){const b=olympe.dc.sources.Xp.C.cR,c=olympe.dc.sources.Xp.C.tV,d=olympe.dc.sources.Xp.C.kR,e=olympe.dc.sources.Xp.C.dR,f=olympe.dc.sources.Xp.C.lR,g=[],h=[],l=[],m=[],n=[];a.je.forEach((p,r)=>{const t=p.Pe();p.D()?g.push(Sl(b,r,t,p.W()?p.Yd():null)):p.fi()?l.push(Sl(d,r,t,null,p.O())):p.W()&&h.push(Sl(c,r,t,p.Yd()));for(const [u,v,w]of p.di())p=a.nh(v),w?m.push(new Tl(e,u,r,v,t,p.Pe())):n.push(new Tl(f,u,r,v,t,p.Pe()))});return n.concat(l,g,h,m)}
1501
1501
  function Sl(a,b,c,d,e){if('string'!==typeof c)throw Error(`Patch: model of instance ${b} is missing. It is invalid transaction.`);return new Ul(a,b,c,d,e)}olympe.dc.sources.Xp=class{constructor(a){this.type=a}};class Ul extends olympe.dc.sources.Xp{constructor(a,b,c,d,e){super(a);this.object=b;this.model=c;this.properties=null!=d?d:null;this.deleteRules=null!=e?e:olympe.dc.Se.NONE}}
1502
1502
  class Tl extends olympe.dc.sources.Xp{constructor(a,b,c,d,e,f){super(a);this.relation=b;this.from=c;this.to=d;this.fromModel=e;this.toModel=f}}olympe.dc.sources.Xp.C={cR:'CREATE',tV:'UPDATE',kR:'DELETE',dR:'CREATE_RELATION',lR:'DELETE_RELATION'};function Vl(a,b){b=Ph(new olympe.dc.Request(olympe.dc.Request.C.fz,olympe.dc.vc.SELF,{id:b,finalize:olympe.dc.transaction.yo.C.lw,error:null}),a.ja());let c;null==(c=a.We)||c.bh(b)}
1503
1503
  olympe.dc.sources.hC=class{constructor(a,b){this.V=a;this.D=b;this.We=null}ja(){}$(){}ca(){}init(a){this.We=a;return this}destroy(){return Promise.resolve()}Aa(a){const b=this;return q(function*(){if(!b.D.C)return b.$(a);var c=olympe.dc.Request.C.Vf,d=olympe.dc.Request.C.Mt;const e=olympe.dc.Request.C.wo,f=olympe.dc.Request.C.Xt;var g=olympe.dc.Request.C.Iv;const h=olympe.dc.Request.C.Jv,l=olympe.dc.Request.C.Pr;var m=olympe.dc.Request.C.er;const n=olympe.dc.Request.C.dr,p=olympe.dc.sources.Lj(),
1504
- r=a.getType(),t=a.Zf();if(be(b.D)){r===d&&(c=a.ze(),(g=Rh(a).get(olympe.dc.mb.C.cC))&&(yield Wl(p,c.ja(),g)),b.V.debug(`Data Provider: Query ${c.ja()} will be executed with its default Remote or Server provider`));if(r===m&&(m=a.ze(),'string'===typeof(null==m?void 0:m.url)&&m.url.startsWith('offline://')))return p.downloadFileContent(m.tag);m=yield b.$(a);if(r===d){const u=a.ze();d=m;const v=new olympe.dc.db.Rf(`fullResult_${u.ja()}`);m=d.pipeThrough(new TransformStream({transform:(w,x)=>q(function*(){const y=
1505
- w.zf();yield Xl(p,y);y.Wf(v);b.V.C()&&b.V.debug(`Data Provider: Data result for query ${u.ja()}`,y.je.size,'instances',Array.from(y.di()).length,'relations');x.enqueue(w)}),flush:()=>q(function*(){yield Yl(p,u.ja(),t,v,!0)})}))}else if(r===e||r===f||r===h)b.V.debug('Data Provider: Persisting graph patch in offline cache after successful transaction'),yield Zl(p,null,t,a.ze().zf(),!1);return m}b.V.debug(`Data Provider: Request (type: ${r}) will be sent to the cache data provider: ${a.ze()}`);switch(r){case c:return{s:olympe.dm.DataSource.Vf.zm};
1506
- case d:return p.executeQuery(a.ze());case e:case f:case h:d=a.ze();const u=d.zf().ja();return p.applyTransaction(d,t).finally(()=>Vl(b,u));case g:return Promise.resolve();case l:return d=a.ze(),p.uploadFileContent(d.tag,d.content,d.mimeType);case m:return p.downloadFileContent(a.ze().tag);case n:return p.deleteFileContent(a.ze().tag);default:return Promise.reject(`Messages of type ${a.getType()} is not supported by the source ${b.ja()}`)}})}subscribe(a,b){if(!this.D.C)return this.ca(a,b);const c=
1507
- olympe.dc.sources.Lj(),d=a.ze(),e=a.Zf();return rxjs.of(null).pipe(rxjs.operators.switchMap(()=>{if(be(this.D)){const f=new rxjs.Observable(h=>{olympe.j.IP([this.D.hn()],()=>{h.error(new olympe.error.RH('Go Offline',d.ja()))})}),g=this.ca(a,b);return rxjs.merge(f,g)}return new rxjs.Observable(f=>{olympe.j.IP([this.D.hn()],()=>{f.error(new olympe.error.vG('Back Online',d.ja()))})})})).pipe(rxjs.operators.switchMap(f=>rxjs.from(Zl(c,d.ja(),e,f.zf()).then(()=>f).catch(g=>{this.V.error(`Data Provider: Cache database failed to handle the data result with message: ${g}`);
1508
- throw g;}))))}};olympe.dc.sources.hC.Ba=[olympe.dc.sources.$y];const $l=olympe.dc.Request.C.Vf,am=olympe.dc.Request.C.Mt,bm=olympe.dc.Request.C.Sz,cm=olympe.dc.Request.C.wo,dm=olympe.dc.Request.C.Xt,em=olympe.dc.Request.C.Iv,fm=olympe.dc.Request.C.Jv,gm=olympe.dc.Request.C.Pr,hm=olympe.dc.Request.C.er,im=olympe.dc.Request.C.dr;function jm(a,b){let c;return(null==(c=a.Ga.Ad(b))?void 0:c.Go(olympe.dc.sources.Config.hm))!==olympe.dm.DataSource.hm.XH}
1509
- function km(a,b){let c;return(null==(c=a.Ga.Ad(b))?void 0:c.Go(olympe.dc.sources.Config.hm))!==olympe.dm.DataSource.hm.lG}function lm(a,b,c){const d=c.ze().zf().ja();let e=a.da.get(d);e||(e=olympe.X.Od.OO(b),a.da.set(d,e));return e.Nh(c)}function mm(a,b){b=b.Ag();if(b!==olympe.dm.User.C&&a.Go(olympe.dc.sources.Config.DD))throw a=`User ${b} has no right to access the restricted data source ${a.name()} (${a.ja()}). Please use an admin account instead.`,new olympe.error.mD(a);}
1504
+ r=a.getType(),t=a.Zf();if(be(b.D)){r===d&&(c=a.ze(),(g=Rh(a).get(olympe.dc.mb.C.cC))&&(yield Wl(p,c.ja(),g)),b.V.debug(`Data Provider: Query ${c.ja()} will be executed with its default Remote or Server provider`));if(r===m&&(m=a.ze(),'string'===typeof(null==m?void 0:m.url)&&m.url.startsWith('offline://')))return p.downloadFileContent(m.tag);m=yield b.$(a);if(r===d){const u=a.ze();if(m instanceof ReadableStream){const v=new olympe.dc.db.Rf(`fullResult_${u.ja()}`);m=m.pipeThrough(new TransformStream({transform:(w,
1505
+ x)=>q(function*(){const y=w.sf();yield Xl(p,y);y.Wf(v);b.V.C()&&b.V.debug(`Data Provider: Data result for query ${u.ja()}`,y.je.size,'instances',Array.from(y.di()).length,'relations');x.enqueue(w)}),flush:()=>q(function*(){yield Yl(p,u.ja(),t,v,!0)})}))}else d=m.sf(),yield Xl(p,d),yield Yl(p,u.ja(),t,d,!0)}else if(r===e||r===f||r===h)b.V.debug('Data Provider: Persisting graph patch in offline cache after successful transaction'),yield Zl(p,null,t,a.ze().sf(),!1);return m}b.V.debug(`Data Provider: Request (type: ${r}) will be sent to the cache data provider: ${a.ze()}`);
1506
+ switch(r){case c:return{s:olympe.dm.DataSource.Vf.zm};case d:return p.executeQuery(a.ze());case e:case f:case h:d=a.ze();const u=d.sf().ja();return p.applyTransaction(d,t).finally(()=>Vl(b,u));case g:return Promise.resolve();case l:return d=a.ze(),p.uploadFileContent(d.tag,d.content,d.mimeType);case m:return p.downloadFileContent(a.ze().tag);case n:return p.deleteFileContent(a.ze().tag);default:return Promise.reject(`Messages of type ${a.getType()} is not supported by the source ${b.ja()}`)}})}subscribe(a,
1507
+ b){if(!this.D.C)return this.ca(a,b);const c=olympe.dc.sources.Lj(),d=a.ze(),e=a.Zf();return rxjs.of(null).pipe(rxjs.operators.switchMap(()=>{if(be(this.D)){const f=new rxjs.Observable(h=>{olympe.j.IP([this.D.hn()],()=>{h.error(new olympe.error.RH('Go Offline',d.ja()))})}),g=this.ca(a,b);return rxjs.merge(f,g)}return new rxjs.Observable(f=>{olympe.j.IP([this.D.hn()],()=>{f.error(new olympe.error.vG('Back Online',d.ja()))})})})).pipe(rxjs.operators.switchMap(f=>rxjs.from(Zl(c,d.ja(),e,f.sf()).then(()=>
1508
+ f).catch(g=>{this.V.error(`Data Provider: Cache database failed to handle the data result with message: ${g}`);throw g;}))))}};olympe.dc.sources.hC.Ba=[olympe.dc.sources.$y];const $l=olympe.dc.Request.C.Vf,am=olympe.dc.Request.C.Mt,bm=olympe.dc.Request.C.Sz,cm=olympe.dc.Request.C.wo,dm=olympe.dc.Request.C.Xt,em=olympe.dc.Request.C.Iv,fm=olympe.dc.Request.C.Jv,gm=olympe.dc.Request.C.Pr,hm=olympe.dc.Request.C.er,im=olympe.dc.Request.C.dr;function jm(a,b){let c;return(null==(c=a.Ga.Ad(b))?void 0:c.Go(olympe.dc.sources.Config.hm))!==olympe.dm.DataSource.hm.XH}
1509
+ function km(a,b){let c;return(null==(c=a.Ga.Ad(b))?void 0:c.Go(olympe.dc.sources.Config.hm))!==olympe.dm.DataSource.hm.lG}function lm(a,b,c){const d=c.ze().sf().ja();let e=a.da.get(d);e||(e=olympe.X.Od.OO(b),a.da.set(d,e));return e.Nh(c)}function mm(a,b){b=b.Ag();if(b!==olympe.dm.User.C&&a.Go(olympe.dc.sources.Config.DD))throw a=`User ${b} has no right to access the restricted data source ${a.name()} (${a.ja()}). Please use an admin account instead.`,new olympe.error.mD(a);}
1510
1510
  function nm(a,b,c,d,e){return q(function*(){var f=olympe.X.Hb.C.SEND,g=olympe.X.Hb.C.GET;const h=olympe.X.Hb.C.PUBLISH,l=olympe.X.Hb.C.SUBSCRIBE,m=d.NP();var n=d.body();if(e!==n.Ag())throw Error('Access denied: try to impersonate a user');mm(c,n);let p;if(null==(p=a.We)||!p.sources.has(n.Zf()))throw Error(`Try to process a message with destination data source ${n.Zf()} coming from remote but not started here`);if(m===l){if(n.getType()===bm)f=n.ze().ja();else throw Error('Not supported type of subscription');
1511
1511
  g=yield d.RE(f);a.na.set(g,f);g=a.T.get(f);g||(g=new om(a.V,f,b,Ph(n,olympe.dc.vc.ro)),a.T.set(f,g));g.subscribe()}else m===g?(n=yield Kh(b,n),void 0!==n?yield d.bh(n):a.V.warn(`Request from ${d.source()} requires an output value, but got undefined instead.`)):m===f?(yield Kh(b,n),yield d.ack()):m===h&&(yield Kh(b,n))})}
1512
1512
  olympe.dc.sources.wL=class extends olympe.dc.sources.hC{constructor(a,b,c,d,e,f){super(a,d);this.R=b;this.C=c;this.db=e;this.O=new olympe.j.ee('Remote Provider Context');this.Na=new Map;this.W=new Map;this.T=new Map;this.na=new Map;this.Ga=f;this.da=new Map}ja(){return olympe.dc.vc.ro}$(a){var b=olympe.X.Od;const c=a.Zf();var d=a.getType();this.V.C()&&this.V.debug(`Request (type: ${d}) will be sent to remote data provider ${c}: ${a.ze()}`);switch(d){case $l:const e=olympe.dm.DataSource.Vf.ve,f=olympe.dm.DataSource.Vf.Nt;
1513
- b=jm(this,c)?b.get(c,a):Promise.resolve({s:f});a=km(this,c)?this.C.oh(a):Promise.resolve({s:f});return Promise.all([b,a]).then(([l,m])=>{if((null==l?void 0:l.s)===e||(null==m?void 0:m.s)===e){let n,p;return{s:e,r:`${null!=(n=null==l?void 0:l.r)?n:''} ${null!=(p=null==m?void 0:m.r)?p:''}`}}return{s:f}});case am:return km(this,c)?yl(this.C,a):b.get(c,a);case cm:const g=a.ze().zf().ja();return(jm(this,c)?b.get(c,a):zl(this.C,a)).finally(()=>Vl(this,g));case dm:const h=a.ze().zf().ja();return(km(this,
1514
- c)?zl(this.C,a):b.get(c,a)).finally(()=>Vl(this,h));case em:return jm(this,c)?lm(this,c,a).catch(l=>{this.V.error(`An error occurred while sending "burst transaction" to the data source ${c}: ${l}`)}):Promise.resolve();case fm:return d=a.ze().zf().ja(),this.da.delete(d),jm(this,c)?b.get(c,a):zl(this.C,a);case gm:return km(this,c)?this.C.uploadFileContent(a):b.get(c,a);case hm:return km(this,c)?this.C.downloadFileContent(a):b.get(c,a);case im:return km(this,c)?this.C.deleteFileContent(a):b.send(c,
1513
+ b=jm(this,c)?b.get(c,a):Promise.resolve({s:f});a=km(this,c)?this.C.oh(a):Promise.resolve({s:f});return Promise.all([b,a]).then(([l,m])=>{if((null==l?void 0:l.s)===e||(null==m?void 0:m.s)===e){let n,p;return{s:e,r:`${null!=(n=null==l?void 0:l.r)?n:''} ${null!=(p=null==m?void 0:m.r)?p:''}`}}return{s:f}});case am:return km(this,c)?yl(this.C,a):b.get(c,a);case cm:const g=a.ze().sf().ja();return(jm(this,c)?b.get(c,a):zl(this.C,a)).finally(()=>Vl(this,g));case dm:const h=a.ze().sf().ja();return(km(this,
1514
+ c)?zl(this.C,a):b.get(c,a)).finally(()=>Vl(this,h));case em:return jm(this,c)?lm(this,c,a).catch(l=>{this.V.error(`An error occurred while sending "burst transaction" to the data source ${c}: ${l}`)}):Promise.resolve();case fm:return d=a.ze().sf().ja(),this.da.delete(d),jm(this,c)?b.get(c,a):zl(this.C,a);case gm:return km(this,c)?this.C.uploadFileContent(a):b.get(c,a);case hm:return km(this,c)?this.C.downloadFileContent(a):b.get(c,a);case im:return km(this,c)?this.C.deleteFileContent(a):b.send(c,
1515
1515
  a);default:return Promise.reject(`Messages of type ${a.getType()} is not supported by the source ${this.ja()}`)}}ca(a,b){const c=a.Zf(),d=a.getType();if(!jm(this,c))return rxjs.throwError(()=>Error(`Subscription request not supported for data source ${this.db.name(c)} (${c}) which uses HTTP only.`));this.V.C()&&this.V.debug(`Subscription (type: ${d}) will be sent to remote data provider ${c}: ${a.ze()}`);return d===bm?olympe.X.Od.observe(c,this.O,a,{onRetry:b}).observable:rxjs.throwError(()=>Error(`Do not handle subscription request of type ${d}`))}init(a){super.init(a);
1516
1516
  if(a.O)return this;olympe.dc.mb.from(this.R,this.R).jc(olympe.dm.DataSource.Fx).filter(olympe.dc.query.Pb.Rb(olympe.dm.DataSource.iu,!0)).filter(olympe.dc.query.Pb.Rb(olympe.dm.DataSource.vN,!0)).observe(this.O).subscribe(b=>{b.wu().forEach(this.Oa.bind(this,a));b.Eu().forEach(c=>{let d;null==(d=this.Na.get(c))||d.destroy();this.Na.delete(c)})});this.db.xc(this.R,olympe.dm.DataSource.vN)&&(new olympe.X.Od(this.R,this.O)).Mu().subscribe(b=>{b=b.body();b instanceof olympe.dc.Request?a.bh(b):this.V.error('Self source received something else than a data request, ignore it.')});
1517
1517
  return this}destroy(){return q(function*(){})}Oa(a,b){const c=b.ka(),d=new olympe.j.ee(`Published data provider context ${c}`,this.O);this.Na.set(c,d);let e;pm(b,d).subscribe(f=>{let g;null==(g=e)||g();let h;null==(h=this.W.get(c))||h.stop();this.W.delete(c);f!==olympe.dm.DataSource.hm.lG&&(e=wl(this.C,c,l=>{mm(b,l);return Kh(a,l)}),d.onDestroy(()=>{let l;return null==(l=e)?void 0:l()}));f!==olympe.dm.DataSource.hm.XH&&(f=new olympe.j.ee(`Bus Service of data source ${c}`,d),f=(new olympe.X.Od(c,f)).qQ(this.Ja.bind(this)),
1518
1518
  this.W.set(c,f),f.Mu().subscribe(l=>{l.Dv().then(m=>nm(this,a,b,l,m)).catch(m=>{this.V.warn(`Error occurred while processing request from ${l.source()}: ${m}`);return l.ru(m instanceof Error?m:Error(m))})}))})}Ou(a){const b=this;return q(function*(){let c;yield null==(c=b.W.get(a.Zf()))?void 0:c.Ou(a)})}Ja(a){const b=this.na.get(a);this.na.delete(a);if(a=b)null==(a=this.T.get(b))?a=0:(0<a.C&&--a.C,0===a.C?(a.V.debug(`Data subscription ${a.D} has more subscriber: unsubscribe`),a.O.unsubscribe(),a=
1519
1519
  !0):(a.V.debug(`Data subscription ${a.D} has ${a.C} subscribers`),a=!1));a&&this.T.delete(b)}};class om{constructor(a,b,c,d){this.V=a;this.D=b;this.C=0;this.O=c.subscribe(d).subscribe({next:e=>{olympe.X.Od.Nh(b,e).catch(f=>a.error(`Error occurred while publishing a data notification: ${f}`))},error:e=>a.error(`Error occurred while trying to subscribe to topic ${b} for a datasource: ${e}`)})}subscribe(){this.C++;this.V.debug(`Data subscription ${this.D} has ${this.C} subscribers`);return this}}
1520
- olympe.dc.sources.wL.Ba=[olympe.dc.sources.$y];const qm={$M:10,DG:11,xH:12,eL:13,QUERY_RESULT:14,PH:15,WG:16,wo:17,fL:18,VG:19,tw:20};function rm(a,b){const c=new olympe.dc.transaction.bl,d=new olympe.dc.transaction.bl;b.forEach(e=>{const f=new Map(Array.from(Object.entries(e.p).map(([h,l])=>[h,a.C(l)]))),g=e.v?d:c;g.yf(e.t,e.s,f,e.m);e.r.forEach(h=>g.Sb(h.r,h.o,h.d))});a.ca.Oh(Uh(Vh(d),olympe.dc.vc.SELF),{persist:!1});a.ca.Oh(Uh(Vh(c),olympe.dc.vc.SELF))}
1520
+ olympe.dc.sources.wL.Ba=[olympe.dc.sources.$y];const qm={$M:10,DG:11,xH:12,eL:13,QUERY_RESULT:14,PH:15,WG:16,wo:17,fL:18,VG:19,tw:20};function rm(a,b){const c=new olympe.dc.transaction.bl,d=new olympe.dc.transaction.bl;b.forEach(e=>{const f=new Map(Array.from(Object.entries(e.p).map(([h,l])=>[h,a.C(l)]))),g=e.v?d:c;g.zf(e.t,e.s,f,e.m);e.r.forEach(h=>g.Sb(h.r,h.o,h.d))});a.ca.Oh(Uh(Vh(d),olympe.dc.vc.SELF),{persist:!1});a.ca.Oh(Uh(Vh(c),olympe.dc.vc.SELF))}
1521
1521
  olympe.dc.sources.Mf=class extends olympe.X.Mf{constructor(a){super();this.ca=a;this.db=a.view;this.O=new Map}fb(a){a=super.fb(a);if(0<this.O.size){const b=Array.from(this.O.values());this.O.clear();return Object.assign($e(qm.$M,a),{i:b})}return a}W(a){return(null==a?void 0:a.t)===qm.$M&&Array.isArray(null==a?void 0:a.i)?(rm(this,a.i),this.C(a.v)):this.C(a)}D(a){switch(!0){case a instanceof olympe.dm.File:var b=qm.xH;{const c=a.ka(),d={t:c};if(!this.O.has(c)&&(this.R(c),!this.db.Hl(c))){const e=a.get(olympe.dm.File.urlProp);
1522
1522
  if(e.startsWith('blob:')||e.startsWith('stream:'))a=olympe.dc.iO().Na(a),this.O.get(c).p[olympe.dm.File.urlProp.ka()]='stream://'+c,d.s=this.D(a)}a=d}return $e(b,a);case a instanceof olympe.dc.CloudObject:return $e(qm.DG,this.R(a.ka()));case a instanceof olympe.dc.mb:return $e(qm.eL,a.fb());case a instanceof olympe.dc.Bc:return $e(qm.QUERY_RESULT,a.fb(this.R.bind(this)));case a instanceof olympe.dc.db.Rf:return b=new olympe.dc.transaction.bl,a.Wf(b),$e(qm.PH,{i:a.ja(),p:Vh(b)});case a instanceof olympe.dc.Request:return $e(qm.WG,
1523
- {r:a.getType(),o:a.origin,d:a.Zf(),u:a.Ag(),c:this.D(a.ze())});case a instanceof olympe.dc.transaction.Dw:return $e(qm.wo,{r:a.os(),p:this.D(a.zf())});case a instanceof olympe.dc.query.zi:return $e(qm.fL,a.fb());case a instanceof olympe.dc.fr:return $e(qm.VG,a.fb());case a instanceof olympe.dc.Kf:return $e(qm.tw,this.R(a.ka()));default:return super.D(a)}}C(a){if(null===a||'object'!==typeof a)return super.C(a);const {t:b,v:c}=a;switch(b){case qm.xH:var d=c.t;c.s&&(a=this.C(c.s),olympe.dc.iO().Oa(d,
1523
+ {r:a.getType(),o:a.origin,d:a.Zf(),u:a.Ag(),c:this.D(a.ze())});case a instanceof olympe.dc.transaction.Dw:return $e(qm.wo,{r:a.os(),p:this.D(a.sf())});case a instanceof olympe.dc.query.zi:return $e(qm.fL,a.fb());case a instanceof olympe.dc.fr:return $e(qm.VG,a.fb());case a instanceof olympe.dc.Kf:return $e(qm.tw,this.R(a.ka()));default:return super.D(a)}}C(a){if(null===a||'object'!==typeof a)return super.C(a);const {t:b,v:c}=a;switch(b){case qm.xH:var d=c.t;c.s&&(a=this.C(c.s),olympe.dc.iO().Oa(d,
1524
1524
  a));return olympe.dc.CloudObject.get(d);case qm.DG:return olympe.dc.CloudObject.get(c);case qm.eL:return d=c.p.map(olympe.dc.query.vb.xD.C),a=c.e,new olympe.dc.mb(c.b,c.s,d,d.length-1,new Set(c.r),{max:a.m,offset:a.o,Pi:a.s,Nl:a.rm});case qm.QUERY_RESULT:return Yk(c);case qm.PH:return(new olympe.dc.transaction.pw).C(c.p,c.i);case qm.WG:return a=null!=(d=this.C(c.c))?d:void 0,Ph(new olympe.dc.Request(c.r,c.d,a,c.u),c.o);case qm.wo:return d=this.C(c.p),new olympe.dc.transaction.Dw(d,c.r);case qm.fL:return olympe.dc.query.zi.C(c);
1525
1525
  case qm.VG:return olympe.dc.fr.C(c);case qm.tw:return new olympe.dc.Kf(c);default:return super.C(a)}}R(a){if(this.O.has(a))return a;if(!this.db.rc(a))throw new olympe.dc.OK(a);const b={};this.db.Yd(a).forEach((d,e)=>{b[e]=this.D(d)});var c=[];for(const [d,e,f]of yj(this.db,a))this.O.has(f)&&c.push(e===olympe.dc.Ib.DESTINATION?{r:d,o:a,d:f}:{r:d,o:f,d:a});c={t:a,m:this.db.model(a),s:this.db.source(a),p:b,r:c};this.db.Hl(a)||(c.v=!0);this.O.set(a,c);return a}};const sm=olympe.dc.Request.C.ir,tm=olympe.dc.Request.C.wo,um=olympe.dc.Request.C.Xt,vm=olympe.dc.Request.C.Iv,wm=olympe.dc.Request.C.dG,xm=olympe.dc.Request.C.nL,ym=olympe.dc.Request.C.Mt,zm=olympe.dc.Request.C.Sz,Am=olympe.dc.Request.C.OH,Bm=olympe.dc.Request.C.JR,Cm=olympe.dc.Request.C.KR,Dm=olympe.dc.Request.C.LR,Em=olympe.dc.Request.C.dr,Fm=olympe.dc.Request.C.er,Gm=olympe.dc.Request.C.Pr,Hm=olympe.dc.Request.C.fz,Im=olympe.dc.Request.C.rV,Jm=olympe.dc.Request.C.vU,Km=olympe.dc.Request.C.JH,Lm=
1526
- olympe.dc.Request.C.Jv,Mm=olympe.dc.Request.C.aR,Nm=olympe.dc.Request.C.Vf;function Om(a){return Pm(a,olympe.dc.Request.C.ir).then(b=>{b=b.data.p;const c=Uh(b,a.ja());a.V.C()&&a.V.debug('< Get Context result',b);a.V.T()&&a.V.log('< Get Context result has',b.length,'operations');return c})}function Qm(a,b){const c=new olympe.dc.transaction.bl({sk:!1,mu:!1}),d=b.zf(),e=b.C;d.Wf(c);return Rm(a,tm,{i:d.ja(),r:b.os(),p:Vh(c),bd:e?!0:void 0}).then(f=>f.ct)}
1527
- function Sm(a,b){const c=b.zf(),d=new olympe.dc.transaction.bl({qB:!0,sk:!1,mu:!1});c.Wf(d);b=b.C?'bd=true':'';return Pm(a,um,Vh(d),b,olympe.wa.Mc.ResponseType.Aw).then(e=>{try{let f;return null!=(f=JSON.parse(e.data).ct)?f:Date.now()}catch(f){return Date.now()}}).finally(()=>{Tm(a,Hm,{id:c.ja(),finalize:olympe.dc.transaction.yo.C.lw})})}
1528
- function Um(a,b){const c=new olympe.dc.transaction.bl({sk:!1,mu:!1}),d=b.zf();d.Wf(c);return Rm(a,vm,{i:d.ja(),r:b.os(),p:Vh(c)},!1).catch(e=>a.V.error(`Error while publishing burst transaction: ${e}`))}function Vm(a,b){const c=new olympe.dc.transaction.bl({sk:!1,mu:!1});b=b.zf();b.Wf(c);return Rm(a,Lm,{i:b.ja(),p:Vh(c)}).then(d=>d.ct)}
1526
+ olympe.dc.Request.C.Jv,Mm=olympe.dc.Request.C.aR,Nm=olympe.dc.Request.C.Vf;function Om(a){return Pm(a,olympe.dc.Request.C.ir).then(b=>{b=b.data.p;const c=Uh(b,a.ja());a.V.C()&&a.V.debug('< Get Context result',b);a.V.T()&&a.V.log('< Get Context result has',b.length,'operations');return c})}function Qm(a,b){const c=new olympe.dc.transaction.bl({sk:!1,mu:!1}),d=b.sf(),e=b.C;d.Wf(c);return Rm(a,tm,{i:d.ja(),r:b.os(),p:Vh(c),bd:e?!0:void 0}).then(f=>f.ct)}
1527
+ function Sm(a,b){const c=b.sf(),d=new olympe.dc.transaction.bl({qB:!0,sk:!1,mu:!1});c.Wf(d);b=b.C?'bd=true':'';return Pm(a,um,Vh(d),b,olympe.wa.Mc.ResponseType.Aw).then(e=>{try{let f;return null!=(f=JSON.parse(e.data).ct)?f:Date.now()}catch(f){return Date.now()}}).finally(()=>{Tm(a,Hm,{id:c.ja(),finalize:olympe.dc.transaction.yo.C.lw})})}
1528
+ function Um(a,b){const c=new olympe.dc.transaction.bl({sk:!1,mu:!1}),d=b.sf();d.Wf(c);return Rm(a,vm,{i:d.ja(),r:b.os(),p:Vh(c)},!1).catch(e=>a.V.error(`Error while publishing burst transaction: ${e}`))}function Vm(a,b){const c=new olympe.dc.transaction.bl({sk:!1,mu:!1});b=b.sf();b.Wf(c);return Rm(a,Lm,{i:b.ja(),p:Vh(c)}).then(d=>d.ct)}
1529
1529
  function Wm(a,b){const c=encodeURI(db(olympe.la.Kj(),JSON.stringify(Xm(a,b))));a.V.C()&&a.V.debug(`Static GraphDef query ${b} sent to orchestrator`);return Pm(a,ym,void 0,`query=${c}&v=${a.version}`,olympe.wa.Mc.ResponseType.jl).then(d=>Ym(a,d))}function Zm(a,b){const c=b.ja();a.V.C()&&a.V.debug(`Query (${c}) sent to orchestrator: ${b}`);const d=Xm(a,b);return a.na.C(()=>Pm(a,Am,d,void 0,olympe.wa.Mc.ResponseType.jl)).then(e=>Ym(a,e))}
1530
1530
  function $m(a,b){if(!Ne(a.Ka))return a.V.error(`Server is disconnected, backup of instance ${b} is canceled.`),Promise.reject('Server is disconnected');b=Xm(a,olympe.dc.mb.from(b));b.f=olympe.dc.Se.bH;b=fd(a.C.le(olympe.dc.vc.SERVER,wm),olympe.wa.Mc.Ej.no,JSON.stringify(b),olympe.wa.Mc.ResponseType.$t);gd(b,{[olympe.wa.Mc.Headers.Nv]:olympe.wa.Mc.mC.JSON});return xl(a.C,b).then(c=>c.data)}
1531
1531
  function an(a,b,c,d){if(!Ne(a.Ka))return a.V.error('Server is disconnected, restore of instance is canceled.'),Promise.reject('Server is disconnected');const e=a.C.le(olympe.dc.vc.SERVER,xm);b=fd(e+`?debug=${c}&optional=${d}`,olympe.wa.Mc.Ej.no,b);gd(b,{[olympe.wa.Mc.Headers.Nv]:olympe.wa.Mc.mC.OV});return xl(a.C,b).then(f=>f.data)}
@@ -1570,7 +1570,7 @@ function En(a){const b=olympe.dc.sources.Lj();return q(function*(){let c;try{c=J
1570
1570
  function Gn(){const a=olympe.dc.sources.Lj();return q(function*(){yield Hn(a.C);yield nn(a)})}
1571
1571
  olympe.dc.sources.cache.Cache=class{constructor(a,b,c,d,e,f,g,h,l,m){this.V=a;this.We=b;this.C=c;this.Na=d;this.oc=e;this.Ja=f;this.Ga=g;this.Aa=h;this.version=m;this.ca=this.version!==this.Ga.get('__code-as-data-version__');this.tb=this.Oa=!1;this.D=new Map;this.T=new rxjs.BehaviorSubject([]);this.R=null;this.da=new rxjs.BehaviorSubject(!1);this.O=new olympe.dc.db.Rf;this.yb=this.nb=!1;this.na=[];this.$=0;this.fc=new rxjs.BehaviorSubject(!1);this.status=new rxjs.BehaviorSubject({processing:!1});
1572
1572
  this.W=!1;this.Fb=new rxjs.Subject;this.Qb=new olympe.la.promise.dM(l)}oh(){return this.status.asObservable()}init(){const a=this;return q(function*(){if(!a.nb)if(a.yb)yield new Promise(b=>{a.na.push(b)});else{a.yb=!0;(yield In(a.C)).forEach(b=>{a.D.set(b.name,new Set(b.Ni))});a.T.next(fn(a));yield nn(a);a.Na.Oh(Lh(a.O));for(const b of a.na)b();a.nb=!0;a.na=[]}})}executeQuery(a){const b=this;return q(function*(){yield b.init();return sn(b,a.ja())&&sk(a).some(c=>c instanceof olympe.dc.query.vb.sh)?
1573
- Jn(b.C,a).then(olympe.la.stream.zN):b.C.executeQuery(a).then(olympe.la.stream.zN)})}applyTransaction(a,b){const c=this;return q(function*(){c.V.debug('Cache: apply transaction',a,b);yield c.init();const d=a.zf(),e=Array.from(d.je.keys());let f,g;const h=Array.from(null!=(g=null==(f=c.R)?void 0:f.C.je.keys())?g:[]);let l;b!==(null==(l=c.R)?void 0:l.D)||e.some(m=>!h.includes(m))?(yield Kn(c.C,d,b),c.R=new olympe.dc.sources.cache.fR(d,b),c.da.next(!0)):(d.Wf(c.R.C),yield Kn(c.C,c.R.C,b));d.Wf(c.O);yield jn(c.C,
1573
+ Jn(b.C,a).then(olympe.la.stream.zN):b.C.executeQuery(a).then(olympe.la.stream.zN)})}applyTransaction(a,b){const c=this;return q(function*(){c.V.debug('Cache: apply transaction',a,b);yield c.init();const d=a.sf(),e=Array.from(d.je.keys());let f,g;const h=Array.from(null!=(g=null==(f=c.R)?void 0:f.C.je.keys())?g:[]);let l;b!==(null==(l=c.R)?void 0:l.D)||e.some(m=>!h.includes(m))?(yield Kn(c.C,d,b),c.R=new olympe.dc.sources.cache.fR(d,b),c.da.next(!0)):(d.Wf(c.R.C),yield Kn(c.C,c.R.C,b));d.Wf(c.O);yield jn(c.C,
1574
1574
  d,'local-transaction')})}uploadFileContent(a,b,c){const d=this;return q(function*(){yield d.init();yield rn(d.C,a,b,c);return`offline://${a}`})}downloadFileContent(a){const b=this;return q(function*(){yield b.init();return xn(b.C,a).then(c=>c.content)})}deleteFileContent(a){const b=this;return q(function*(){yield b.init();yield Ln(b.C,[a])})}};olympe.dc.sources.cache.fR=class{constructor(a,b){this.C=a;this.D=b}};olympe.dc.sources.cache.Cache.D='__code-as-data-version__';
1575
1575
  olympe.dc.sources.cache.Cache.C='__code-as-data__';function In(a){return q(function*(){return(yield a.db.D('buckets')).map(b=>olympe.dc.sources.cache.ow.ke(b))})}function on(a){return q(function*(){return(yield a.db.D('pending-transactions')).map(b=>{b=olympe.dc.sources.cache.Jt.ke(b);return dn(b.C)})})}
1576
1576
  function gn(a,b,c){return q(function*(){a.V.debug(`Offline DB: Adding query ${b} in bucket ${c}`);return a.db.C(()=>q(function*(){let d;const e=null!=(d=olympe.dc.sources.cache.ow.ke(yield a.db.get('buckets',c,{ud:!1})))?d:new olympe.dc.sources.cache.ow(c,[]);e.Ni.includes(b)||e.Ni.push(b);yield a.db.set('buckets',e.toJSON(),void 0,{ud:!1})}),{Cd:'addQueryIdInBucket',Uj:!0})})}
@@ -1583,7 +1583,7 @@ function An(a){return q(function*(){return(yield a.db.D('pending-transactions'))
1583
1583
  function xn(a,b){return q(function*(){const c=yield a.db.get('files',b);if(!c)throw Error(`File ${b} not found in offline cache database`);return olympe.dc.sources.cache.sD.ke(c)})}function Dn(a){return q(function*(){return a.db.D('pending-transactions')})}function Fn(a,b){return q(function*(){const c=new Map;for(const d of b){const e=olympe.dc.sources.cache.Jt.ke(d);e&&c.set(e.C.i,d)}yield a.db.W('pending-transactions',c)})}
1584
1584
  function Hn(a){return q(function*(){return a.db.clear('pending-transactions').then(()=>{})})}
1585
1585
  function Jn(a,b){return q(function*(){const c=b.Ad();a.V.debug(`Offline DB: Executing query ${b.ja()} by ID with source ${c}`);const d=olympe.dc.query.zi.ax(b);var e=(yield a.db.ca('instances','queryIds',b.ja())).map(f=>olympe.dc.sources.cache.qk.ke(f));for(const f of e){if(f.source!==c)continue;e=olympe.dc.sources.cache.Iz.Ae(f);const g=Nn(f.Mi);d.create(f.tag,e,g);for(const h of f.md)if(e=h.match(/^([a-z0-9]*)(<|>)([a-z0-9]*)$/)){const [,l,m,n]=e;e='<'===m;l===olympe.dc.Lf.vh&&!0===e||d.Sb(l,e?
1586
- n:f.tag,e?f.tag:n)}}a.V.C()&&a.V.debug(`Offline DB: Data result for query ${b.ja()}`,d.zf().je.size,'instances',Array.from(d.zf().di()).length,'relations');return d})}function Kn(a,b,c){b=a.T.fb(b);a.V.debug(`save transaction in destination '${c}'`,JSON.stringify(b));return a.db.set('pending-transactions',(new olympe.dc.sources.cache.Jt(c,b,Date.now())).toJSON())}function On(a){return q(function*(){return a.db.na('pending-transactions')})}
1586
+ n:f.tag,e?f.tag:n)}}a.V.C()&&a.V.debug(`Offline DB: Data result for query ${b.ja()}`,d.sf().je.size,'instances',Array.from(d.sf().di()).length,'relations');return d})}function Kn(a,b,c){b=a.T.fb(b);a.V.debug(`save transaction in destination '${c}'`,JSON.stringify(b));return a.db.set('pending-transactions',(new olympe.dc.sources.cache.Jt(c,b,Date.now())).toJSON())}function On(a){return q(function*(){return a.db.na('pending-transactions')})}
1587
1587
  function Ln(a,b,c){return q(function*(){b.forEach(d=>a.files.delete(d));yield a.db.T('files',b,c)})}
1588
1588
  function Mn(a,b){var c={ud:!1};return q(function*(){return 0===b.size?Promise.resolve():a.db.C(()=>q(function*(){var d=olympe.dc.Ib.ORIGIN;const e=olympe.dc.Ib.DESTINATION;a.V.debug(`Offline DB: Removing related relations of ${b.size} deleted instances`);var f=new Map;for(const g of b.values()){let h,l;for(const m of null!=(l=null==(h=g)?void 0:h.md)?l:[]){const n=m.substring(21);if(!b.has(n)){const p=`${m.substring(0,20)}${m.charAt(20)===d?e:d}${g.tag}`;let r;const t=null!=(r=f.get(n))?r:new Set;
1589
1589
  t.add(p);f.set(n,t)}}}d=yield a.db.R('instances',Array.from(f.keys()),{ud:!1,wq:olympe.dc.sources.cache.qk.ke});for(const [g,h]of f.entries())(f=d.get(g))?f.md=f.md.filter(l=>!h.has(l)):(a.V.warn(`Instance ${g} not found when trying to remove related relations`),d.delete(g));yield a.db.W('instances',d,{ud:!1,wq:g=>g.toJSON()})}),{Cd:'removeRelatedRelations',ud:null==c?void 0:c.ud,Uj:!0})})}function Nn(a){return Object.entries(a).reduce((b,[c,d])=>b.set(c,dn(d)),new Map)}
@@ -1593,28 +1593,28 @@ olympe.la.Promise.wA(()=>{const d=this;return q(function*(){if(!(0===d.C.size||0
1593
1593
  f.set(g.tag,g))}}).then(()=>q(function*(){if(0<f.size){const g=Array.from(f.keys());yield Promise.all([d.db.T('instances',g,{ud:!1}),Ln(d,g,{ud:!1})]);yield Mn(d,f)}}))},{Cd:'garbageCollector',Uj:!0}).then(()=>{});d.V.debug(`Offline DB GC: has taken ${Date.now()-e}ms to run`)}})},5E3)}static Ae(a){const b=new RegExp(`^(${olympe.dc.Lf.vh})>([a-z0-9]*)$`);for(const c of a.md)if(a=c.match(b))return a[2];return null}executeQuery(a){const b=this;return q(function*(){const c=Date.now();b.V.debug(`Offline DB: Executing query ${a.ja()} with source ${a.Ad()}`);
1594
1594
  const d=olympe.dc.query.zi.ax(a),e=a.Ad();var f=yield b.db.get('instances',a.D),g=olympe.dc.sources.cache.qk.ke(f);if(!g)return d;f=new Map;const h=new Set([g.tag]);d.create(g.tag,olympe.dc.sources.cache.Iz.Ae(g),Nn(g.Mi));for(const p of sk(a))if(p instanceof olympe.dc.query.vb.Rt){var l=p.relation;g=l.Cc()===olympe.dc.Ib.ORIGIN;const r=l.ka(),t=l.fe();l=new Set;f.set(p.ja(),l);const u=[f.has(p.C)?new Set(f.get(p.C)):new Set([a.D])];for(const v of u){const w=new Map;var m=yield Promise.all(Array.from(v).map(x=>
1595
1595
  {if(!h.has(x))return b.V.warn(`Offline DB: Instance ${x} not found while processing query part, this should not happen`),Promise.resolve([]);const y=`${t.ka()}${t.Cc()}${x}`;return b.db.ca('instances','relations',y,{ud:!0}).then(B=>B.map(H=>olympe.dc.sources.cache.qk.ke(H))).then(B=>{w.set(x,B)})})).then(()=>w);for(const [x,y]of m){p instanceof olympe.dc.query.vb.Sk&&p.O&&l.add(x);for(const B of y)if(m=B.tag,B.source===e){if(p instanceof olympe.dc.query.vb.Sk&&!l.has(m)){var n=u[u.length-1];n||(n=
1596
- new Set,u.push(n));n.add(m)}l.add(m);h.has(m)||(h.add(m),n=olympe.dc.sources.cache.Iz.Ae(B),d.create(m,n,Nn(B.Mi)));r===olympe.dc.Lf.vh&&!0===g||d.Sb(r,g?m:x,g?x:m)}}}}else p instanceof olympe.dc.query.vb.sh&&b.V.warn(`Offline DB: Trying to execute a query ${a.ja()} on the Cache DB that contains a FollowRule part. This is not supported and designed not to happen.`);b.V.C()&&(b.V.debug(`Offline DB: Data result for query ${a.ja()}`,d.zf().je.size,'instances',Array.from(d.zf().di()).length,'relations'),
1596
+ new Set,u.push(n));n.add(m)}l.add(m);h.has(m)||(h.add(m),n=olympe.dc.sources.cache.Iz.Ae(B),d.create(m,n,Nn(B.Mi)));r===olympe.dc.Lf.vh&&!0===g||d.Sb(r,g?m:x,g?x:m)}}}}else p instanceof olympe.dc.query.vb.sh&&b.V.warn(`Offline DB: Trying to execute a query ${a.ja()} on the Cache DB that contains a FollowRule part. This is not supported and designed not to happen.`);b.V.C()&&(b.V.debug(`Offline DB: Data result for query ${a.ja()}`,d.sf().je.size,'instances',Array.from(d.sf().di()).length,'relations'),
1597
1597
  b.V.debug(`Offline DB: Data result for query ${a.ja()} took ${Date.now()-c}ms to be executed`));return d})}};olympe.dc.sources.cache.ow=class{constructor(a,b){this.name=a;this.Ni=b}static ke(a){return a?new olympe.dc.sources.cache.ow(a.name,a.queryIds):null}toJSON(){return{name:this.name,queryIds:this.Ni}}};
1598
1598
  olympe.dc.sources.cache.qk=class{constructor(a,b,c,d,e){this.tag=a;this.source=b;this.Mi=null!=c?c:{};this.md=null!=d?d:[];this.Ni=null!=e?e:[]}static ke(a){return a?new olympe.dc.sources.cache.qk(a.tag,a.source,a.props,a.relations,a.queryIds):null}toJSON(){return{tag:this.tag,source:this.source,props:this.Mi,relations:this.md,queryIds:this.Ni}}};
1599
1599
  olympe.dc.sources.cache.Jt=class{constructor(a,b,c){this.D=a;this.C=b;this.timestamp=c}static ke(a){return a?new olympe.dc.sources.cache.Jt(a.destination,a.patch,a.timestamp):null}toJSON(){return{destination:this.D,patch:this.C,timestamp:this.timestamp}}};
1600
1600
  olympe.dc.sources.cache.dU=class extends olympe.dc.sources.cache.Jt{constructor(a,b,c,d){super(a,b,c);this.error=d}static ke(a){return a?new olympe.dc.sources.cache.dU(a.destination,a.patch,a.timestamp,a.error):null}toJSON(){return{destination:this.D,patch:this.C,timestamp:this.timestamp,error:this.error}}};
1601
1601
  olympe.dc.sources.cache.sD=class{constructor(a,b,c){this.tag=a;this.content=b;this.C=c}static ke(a){return a?new olympe.dc.sources.cache.sD(a.tag,a.content,a.mimetype):null}toJSON(){return{tag:this.tag,content:this.content,mimetype:this.C}}};function Pn(a,b){let c=a.W.get(b);c||(c=new Set(a.C.get(b).md),a.W.set(b,c));return c}
1602
- olympe.dc.sources.cache.dI=class{constructor(a,b){this.V=a;this.O=b;this.C=new Map;this.R=new Set;this.$=new Set;this.T=new olympe.dc.sources.cache.cI;this.W=new Map}xg(){this.R.forEach(a=>this.C.delete(a));Array.from(this.C.entries()).forEach(([a,b])=>{b||this.C.delete(a)});return this.C}yf(a,b,c){const d=this.C.get(a);d||this.$.add(a);var e;c=Array.from(null!=c?c:[]).reduce((h,l)=>{h[l[0]]=this.T.fb(l[1]);return h},null!=(e=null==d?void 0:d.Mi)?e:{});let f;e=null!=(f=null==d?void 0:d.Ni)?f:[];null===
1602
+ olympe.dc.sources.cache.dI=class{constructor(a,b){this.V=a;this.O=b;this.C=new Map;this.R=new Set;this.$=new Set;this.T=new olympe.dc.sources.cache.cI;this.W=new Map}xg(){this.R.forEach(a=>this.C.delete(a));Array.from(this.C.entries()).forEach(([a,b])=>{b||this.C.delete(a)});return this.C}zf(a,b,c){const d=this.C.get(a);d||this.$.add(a);var e;c=Array.from(null!=c?c:[]).reduce((h,l)=>{h[l[0]]=this.T.fb(l[1]);return h},null!=(e=null==d?void 0:d.Mi)?e:{});let f;e=null!=(f=null==d?void 0:d.Ni)?f:[];null===
1603
1603
  this.O||e.includes(this.O)||e.push(this.O);let g;b=new olympe.dc.sources.cache.qk(a,b,c,null!=(g=null==d?void 0:d.md)?g:[],e);this.C.set(a,b)}rh(a,b){const c=this.C.get(a);if(c){var d;c.Mi=Array.from(b).reduce((e,[f,g])=>{null===g?delete e[f]:e[f]=this.T.fb(g);return e},null!=(d=c.Mi)?d:{})}else this.V.warn(`Trying to update an instance (${a}) which do not exists in the cache database: ignoring.`)}D(a){this.R.add(a)}Sb(a,b,c){var d;const e=null!=(d=this.C.get(b))?d:new olympe.dc.sources.cache.qk(b,
1604
1604
  'unknown',{},[],[]);var f;d=null!=(f=this.C.get(c))?f:new olympe.dc.sources.cache.qk(c,'unknown',{},[],[]);b=`${a}${olympe.dc.Ib.ORIGIN}${b}`;f=(g,h)=>{this.C.set(g.tag,g);const l=Pn(this,g.tag);l.has(h)||(g.md.push(h),l.add(h));null===this.O||g.Ni.includes(this.O)||g.Ni.push(this.O)};f(e,`${a}${olympe.dc.Ib.DESTINATION}${c}`);f(d,b)}Xf(a,b,c){const d=this.C.get(b),e=this.C.get(c);c=`${a}${olympe.dc.Ib.DESTINATION}${c}`;a=`${a}${olympe.dc.Ib.ORIGIN}${b}`;b=(f,g)=>{const h=Pn(this,f.tag);if(h.has(g)){const l=
1605
1605
  f.md.indexOf(g);f.md.splice(l,1);h.delete(g)}};d&&b(d,c);e&&b(e,a)}};olympe.dc.sources.cache.dI.Ba=[olympe.dc.eu];olympe.dc.transaction={};olympe.dc.Kv=class a{constructor(b,c){this.id=null!=b?b:olympe.la.bf();this.D=new olympe.j.ee('BurstTransaction#'+this.id,c);this.Oa=Qn(this);this.W=!1;this.D.onDestroy(()=>this.T());this.$=new Set;this.O=new Map;this.R=new Set;this.C=null;let d;this.Ga=null!=(d=olympe.ra.getParameter(olympe.dc.transaction.Config.jG))?d:30;this.na=[]}static C(b,c){return`${b},${c}`}tb(b){for(const c of this.na)c(b);this.stop()}Na(){null!==this.C&&(clearTimeout(this.C),this.C=null);const b=this.da(this.R);0<b.size&&
1606
1606
  Rn(this,b,!1);this.R.clear()}da(b){const c=new Map;b.forEach(d=>{const e=d.split(',');let f=c.get(e[0]);void 0===f&&(f=new Map,c.set(e[0],f));f.set(e[1],this.O.get(d))});return c}ca(b,c,d){this.Aa(b,c,d);this.Oa(b,c,d);null===this.C&&(this.C=setTimeout(this.Na.bind(this),this.Ga))}Aa(b,c,d){b=a.C(b,c);this.O.set(b,d);this.R.add(b)}Ja(b,c){return this.O.get(a.C(b,c))}push(b,c){const d=olympe.dc.Va(b);b=c.subscribe(e=>{for(const [f,g]of e)e=olympe.dc.Va(f),this.Ja(d,e)!==g&&this.ca(d,e,g.valueOf())});
1607
1607
  this.$.add(b)}complete(){return new Promise((b,c)=>{this.T((d,e)=>{for(const f of this.$)f.unsubscribe();d?b():c(e)})})}update(b,c,d){const e=olympe.dc.Va(b),f=olympe.dc.Va(c);void 0===e||void 0===f?olympe.eb.sb('dc').error('Burst transaction: instance tag or property tag is undefined'):(this.D.run(()=>{olympe.j.Ll([d],g=>{this.W=!0;if(g instanceof olympe.dc.Kf)olympe.eb.sb('dc').error('Cannot send complex property values in burst transactions');else{var h;this.ca(e,f,null!=(h=null==g?void 0:g.valueOf())?
1608
1608
  h:null)}})}),this.D.Ue(()=>{this.T()}))}stop(){this.D.destroy();this.na.length=0}getContext(){return this.D}ja(){return this.id}os(){return!1}T(b){if(this.W){this.W=!1;null!==this.C&&(clearTimeout(this.C),this.C=null);this.R.clear();const c=this.da(new Set(this.O.keys()));Rn(this,c,!0,b)}else null==b||b(!0)}toString(){return'Burst transaction #'+this.id}};olympe.dc.Kv.prototype.complete=olympe.dc.Kv.prototype.complete;olympe.dc.Kv.prototype.push=olympe.dc.Kv.prototype.push;olympe.dc.kh=class{C(){}toString(){}};olympe.dc.kh.C=1;olympe.dc.kh.D=2;olympe.dc.kh.R=3;olympe.dc.kh.O=4;olympe.dc.kh.T=5;olympe.dc.transaction.pw=class a{constructor(b){this.O=null!=b?b:olympe.dc.vc.SERVER}static C(b){const c=new Map;for(const [d,e]of Object.entries(b)){b=d;let f=typeof e;20<b.length&&b.startsWith('fd')&&(b=olympe.dc.ri.xj+b.substring(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':case 'boolean':case 'number':c.set(b,e);break;case '4':c.set(b,new Date(Date.UTC(e.y,e.M-1,e.d,e.h,e.m,
1609
- 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&&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.Kf(e.t));break;case 'untyped':null===e&&c.set(b,null)}}return c}C(b,c){return this.D(b,new olympe.dc.db.Rf(c))}D(b,c){for(const d of b)switch(d.o){case olympe.dc.kh.C:b=a.C(d.p||{});let e;c.yf(d.t,null!=(e=d.s)?e:this.O,b,d.m);break;case olympe.dc.kh.D:c.rh(d.t,
1609
+ 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&&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.Kf(e.t));break;case 'untyped':null===e&&c.set(b,null)}}return c}C(b,c){return this.D(b,new olympe.dc.db.Rf(c))}D(b,c){for(const d of b)switch(d.o){case olympe.dc.kh.C:b=a.C(d.p||{});let e;c.zf(d.t,null!=(e=d.s)?e:this.O,b,d.m);break;case olympe.dc.kh.D:c.rh(d.t,
1610
1610
  a.C(d.p),d.m);break;case olympe.dc.kh.R:c.D(d.t,d.f,d.m);break;case olympe.dc.kh.O:c.Sb(d.m,d.l,d.r,d.lm,d.rm);break;case olympe.dc.kh.T:c.Xf(d.m,d.l,d.r,d.lm,d.rm);break;default:throw Error('Undefined patch operation: '+d.o);}return c}};function Sn(a,b){let c;return null!=(c=a.sources.get(b))?c:a.R.sl(b)}function Tn(a,b){let c,d,e;return null!=(e=null!=(d=null==(c=a.C.nh(b))?void 0:c.Pe())?d:a.db.model(b))?e:null}function Un(a,b){let c;return null!=(c=a.O.get(b))?c:a.db.Hl(b)||!a.db.rc(b)}function Vn(a,b){0===a.O.size?a.O=b:b.forEach((c,d)=>a.O.set(d,c))}function Wn(a){return Array.from(a.C.xg()).filter(b=>!b.fi()).map(b=>b.tag())}function Xn(a){return Array.from(a.C.xg()).filter(b=>b.fi()).map(b=>b.tag())}
1611
1611
  function Yn(a,b,c,d){d(a.C);c&&!a.T&&b!==olympe.dc.vc.SELF&&(c=a.D.get(b),c||(c=new olympe.dc.db.Rf(a.id),a.D.set(b,c)),d(c))}function Zn(a,b,c){const d=Sn(a,b),e=Un(a,b),f=Tn(a,b);Yn(a,d,e,g=>{g.D(b,c,f)})}
1612
- olympe.dc.transaction.oU=class{constructor(a,b,c){this.id=null!=c?c:olympe.la.bf();this.R=b;this.db=a;this.D=new Map;this.C=new olympe.dc.db.Rf(this.id);this.sources=new Map;this.O=new Map;this.T=!1}Ii(){return 0===this.C.je.size}Sc(){return this.D.size}yf(a,b,c,d){let e;const f=null!=(e=null!=c?c:this.sources.get(a))?e:this.R.fromModel(b);c=Un(this,a);this.sources.set(a,f);Yn(this,f,c,g=>{g.yf(a,f,d,b)})}rh(a,b){const c=Sn(this,a),d=Un(this,a),e=Tn(this,a);Yn(this,c,d,f=>{f.rh(a,null!=b?b:new Map,
1612
+ olympe.dc.transaction.oU=class{constructor(a,b,c){this.id=null!=c?c:olympe.la.bf();this.R=b;this.db=a;this.D=new Map;this.C=new olympe.dc.db.Rf(this.id);this.sources=new Map;this.O=new Map;this.T=!1}Ii(){return 0===this.C.je.size}Sc(){return this.D.size}zf(a,b,c,d){let e;const f=null!=(e=null!=c?c:this.sources.get(a))?e:this.R.fromModel(b);c=Un(this,a);this.sources.set(a,f);Yn(this,f,c,g=>{g.zf(a,f,d,b)})}rh(a,b){const c=Sn(this,a),d=Un(this,a),e=Tn(this,a);Yn(this,c,d,f=>{f.rh(a,null!=b?b:new Map,
1613
1613
  e)})}Sb(a,b,c){const d=Sn(this,b),e=Sn(this,c);var f=Un(this,b)&&Un(this,c)&&d!==olympe.dc.vc.SELF&&e!==olympe.dc.vc.SELF;f&&d!==e&&a!==olympe.dc.Lf.vh&&(f=g=>{let h;return null!=(h=olympe.dc.cb().name(g))?h:g},olympe.eb.sb('dc').warn(`Try to create a relation between 2 objects that have different locations: \n ${f(b)} (${b})-[${f(a)} (${a})]->${f(c)} (${c}), originSrc: ${f(d)} (${d}), destinationSrc: ${f(e)} (${e})`),f=!1);Yn(this,d,f,g=>{g.Sb(a,b,c,Tn(this,b),Tn(this,c))})}Xf(a,b,c){const d=Sn(this,
1614
1614
  b),e=Sn(this,c);let f=Un(this,b)&&Un(this,c)&&d!==olympe.dc.vc.SELF&&e!==olympe.dc.vc.SELF;f&&d!==e&&a!==olympe.dc.Lf.vh&&(olympe.eb.sb('dc').warn(`Try to delete a relation between 2 objects that have different locations: ${b}-[${a}]->${c}`),f=!1);Yn(this,d,f,g=>{g.Xf(a,b,c,Tn(this,b),Tn(this,c))})}};function $n(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.vI.Gr)if(e===olympe.dc.vc.SELF)d[g]=olympe.dc.cb().ja();else{if(e===olympe.dc.vc.SERVER)continue}else g.startsWith(olympe.dc.ri.xj)&&(g='fd'+g.substring(1));e=a.W(e);c&&e instanceof Object&&8===e.c?a.T.set(g,e):d[g]=e}return d}function ao(a){if(0===a.T.size)return null;const b=Object.create(null);a.T.forEach((c,d)=>{b[d]=c});a.T.clear();return b}
1615
1615
  class bo{constructor(){this.T=new Map}W(a){return a instanceof olympe.j.jb||a instanceof olympe.j.ia||a instanceof olympe.j.aa?a.valueOf():a instanceof Date||a instanceof olympe.j.ac?(a=a instanceof olympe.j.ac?a.valueOf():a,{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.Gl().valueOf(),g:a.Fl().valueOf(),b:a.ul().valueOf(),a:a.tl().valueOf()}:a&&'function'===
1616
1616
  typeof a.ka?{c:8,t:a.ka()}:a}}function Vh(a){const b=a.R.concat(a.O).concat(a.T).concat(a.C).concat(a.W);a.T=[];a.O=[];a.C=[];a.W=[];a.R=[];return b}
1617
- olympe.dc.transaction.bl=class{constructor({qB:a=!1,mu:b=!0,sk:c=!0}={}){this.T=[];this.O=[];this.C=[];this.W=[];this.R=[];this.qB=null!=a?a:!1;this.sk=null!=c?c:!0;this.mu=null!=b?b:!0;this.$=olympe.j?new bo:new class extends bo{W(d){return d&&'function'===typeof d.ka?{c:8,t:d.ka()}:d}}}flush(){return JSON.stringify(Vh(this))}yf(a,b,c,d=null){c=$n(this.$,null!=c?c:null,this.qB);c={o:olympe.dc.kh.C,t:a,p:c};this.mu&&(c.s=b);this.sk&&d&&(c.m=d);this.T.push(c);this.qB&&(b=ao(this.$))&&this.C.push({o:olympe.dc.kh.D,
1617
+ olympe.dc.transaction.bl=class{constructor({qB:a=!1,mu:b=!0,sk:c=!0}={}){this.T=[];this.O=[];this.C=[];this.W=[];this.R=[];this.qB=null!=a?a:!1;this.sk=null!=c?c:!0;this.mu=null!=b?b:!0;this.$=olympe.j?new bo:new class extends bo{W(d){return d&&'function'===typeof d.ka?{c:8,t:d.ka()}:d}}}flush(){return JSON.stringify(Vh(this))}zf(a,b,c,d=null){c=$n(this.$,null!=c?c:null,this.qB);c={o:olympe.dc.kh.C,t:a,p:c};this.mu&&(c.s=b);this.sk&&d&&(c.m=d);this.T.push(c);this.qB&&(b=ao(this.$))&&this.C.push({o:olympe.dc.kh.D,
1618
1618
  t:a,p:b})}rh(a,b,c=null){b=$n(this.$,b||null,!1);a={o:olympe.dc.kh.D,t:a,p:b};this.sk&&c&&(a.m=c);this.C.push(a)}D(a,b,c=null){a={o:olympe.dc.kh.R,t:a,f:b};this.sk&&c&&(a.m=c);this.O.push(a)}Sb(a,b,c,d=null,e=null){if(!a)throw Error('Cannot create relation of undefined type');if(!b)throw Error(`Cannot create relation ${a} from undefined origin to ${c}`);if(!c)throw Error(`Cannot create relation ${a} from ${b} to undefined destination`);a={o:olympe.dc.kh.O,m:a,l:b,r:c};this.sk&&d&&(a.lm=d);this.sk&&
1619
1619
  e&&(a.rm=e);this.W.push(a)}Xf(a,b,c,d=null,e=null){if(!a)throw Error('Cannot delete relation of undefined type');if(!b)throw Error('Cannot delete relation with undefined origin');if(!c)throw Error('Cannot delete relation with undefined destination');a={o:olympe.dc.kh.T,m:a,l:b,r:c};this.sk&&d&&(a.lm=d);this.sk&&e&&(a.rm=e);this.R.push(a)}};olympe.dc.transaction.bl.Ba=[olympe.dc.eu];function co(a){var b=new olympe.dc.Uc;b.$=a;return b}function eo(a,b){b instanceof olympe.dc.Uc&&b.D.forEach((c,d)=>a.D.set(d,c));a.$b.push(b);return b}function fo(){var a=new olympe.dc.Uc;a.da=!0;return a}
1620
1620
  function go(a,b,c,d){c=a.create(null!=c?c:olympe.dc.CloudObject,void 0);if('string'===typeof b)b=b||'',Z(c,olympe.dc.CloudObject.nameProp.ka(),b);else for(const [f,g]of Object.entries(b))Z(c,f,g);b=c.ka();d=null!=d?d:olympe.dc.CloudObject;const e=olympe.dc.CloudObject.extendRel.ka();eo(a,new olympe.dc.transaction.$b.dH(e,b));eo(a,new olympe.dc.transaction.$b.nC(e,b,d));return c}
@@ -1636,14 +1636,14 @@ new olympe.dc.db.Rf);return Ti(a.C,n)})}function oo(a,b,c,d){const e=olympe.j.Mo
1636
1636
  function po(a,b,c,d,e){if(c&&olympe.j.Pa(a.da.state)!==olympe.xa.Ec.C.Un)return Promise.reject('Cannot persist with batch transactions API if not authenticated (aka: `Transaction.executeAsLarge()`).');const f=c?olympe.dc.Request.C.Xt:olympe.dc.Request.C.wo;return Promise.all(Array.from(b).map(([g,h])=>{g=new olympe.dc.Request(f,g,new olympe.dc.transaction.Dw(h,d,e));return Kh(a.We,g)})).then(g=>g[0])}function lo(a,b,c,d){let e,f;null==(f=null==(e=a.O.get(b))?void 0:e.pop())||f(c,null!=d?d:null)}
1637
1637
  function qo(a,b){var c;null==(c=a.O.get(b))||c.forEach(d=>{d(olympe.dc.transaction.yo.C.lw,null)});a.O.delete(b);if(0===a.O.size){for(const d of a.$)d();a.$=[]}a.D.has(b)&&(c=a.D.get(b),a.D.delete(b),c(!0))}
1638
1638
  olympe.dc.transaction.yo=class{constructor(a,b,c,d,e,f,g){this.V=a;this.C=b;this.db=b.view;this.We=c;this.na=d;this.T=e;this.da=f;this.W=g.get('notificationTimeout');this.ca=[];let h;this.Aa=new Set(null!=(h=g.get('disabledCompilers'))?h:[]);this.R=new olympe.la.Yt(g.get('burstHoldTime'));this.O=new Map;this.$=[];this.D=new Map;this.Na=new olympe.la.promise.Wt;ko(this)}yk(a){this.Na.C(()=>Kh(this.We,new olympe.dc.Request(olympe.dc.Request.C.JH,olympe.dc.vc.SERVER)).then(b=>{a(b.ids,b.undo_stack_size,
1639
- b.redo_stack_size)}).catch(b=>this.V.error('Failed to process get stack request',b))).then(()=>{})}};olympe.dc.transaction.yo.C={jD:0,lw:1,RT:2};olympe.dc.transaction.Dw=class{constructor(a,b=!1,c=!1){this.D=a;this.O=b;this.C=c}os(){return this.O}zf(){return this.D}};olympe.dc.transaction.ba={Wb:'dc.transaction.Logger',Mb:'dc.transaction.Manager'};olympe.dc.transaction.Config={AK:'dc.transaction.timeout',jG:'dc.transaction.burstInterval',tC:'dc.transaction.disabledCompilers'};
1639
+ b.redo_stack_size)}).catch(b=>this.V.error('Failed to process get stack request',b))).then(()=>{})}};olympe.dc.transaction.yo.C={jD:0,lw:1,RT:2};olympe.dc.transaction.Dw=class{constructor(a,b=!1,c=!1){this.D=a;this.O=b;this.C=c}os(){return this.O}sf(){return this.D}};olympe.dc.transaction.ba={Wb:'dc.transaction.Logger',Mb:'dc.transaction.Manager'};olympe.dc.transaction.Config={AK:'dc.transaction.timeout',jG:'dc.transaction.burstInterval',tC:'dc.transaction.disabledCompilers'};
1640
1640
  olympe.ra.$e(function(a){E(a,olympe.dc.transaction.Config.AK,9E4);E(a,olympe.dc.transaction.Config.jG,30);E(a,olympe.dc.transaction.Config.tC,[]);C(a,olympe.dc.transaction.ba.Wb,[olympe.eb.ba.Mb],b=>b.Zg('dc'));C(a,'olympe.dc.transaction.Config',[new olympe.ra.xb(olympe.dc.transaction.Config.AK),new olympe.ra.xb(olympe.dc.transaction.Config.tC),new olympe.ra.xb(olympe.dc.db.Config.fC)],(b,c,d)=>new Map([['notificationTimeout',b],['disabledCompilers',c],['burstHoldTime',d]]));A(a,olympe.dc.transaction.ba.Mb,
1641
- olympe.dc.transaction.yo,olympe.dc.transaction.ba.Wb,olympe.dc.db.ba.Mb,olympe.dc.ba.zr,olympe.dc.sources.ba.il,olympe.dc.ba.dz,olympe.xa.ba.Mb,'olympe.dc.transaction.Config')},'olympe.dc.transaction');olympe.dc.transaction.$b={};function ro(a,b){const c=new Map;for(const [d,e]of b)c.set(d,a.Pa(e));return c}olympe.dc.transaction.$b.$q=class{constructor(){this.cb=olympe.dc.cb()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}Pa(a){a=olympe.j.Pa(a);return void 0===a||null===a?null:olympe.j.uP(a)?a.valueOf():a}};olympe.dc.transaction.$b.$q.Ba=[olympe.dc.kh];olympe.dc.transaction.$b.YF=class extends olympe.dc.transaction.$b.$q{constructor(a,b){super();this.relation=a instanceof olympe.dc.Pc.Relation?a:new olympe.dc.Pc.Relation(olympe.dc.Va(a));this.origin=this.cb.rc(b)?olympe.dc.CloudObject.get(b):b}getType(){return this.relation.ka()}Cc(){return this.relation.Cc()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}};function Z(a,b,c){a.Mi.set(olympe.dc.Va(b),c);return a}olympe.dc.transaction.$b.QG=class extends olympe.dc.transaction.$b.$q{constructor(a,b){super();let c;this.tag=null!=(c=b&&olympe.dc.Va(b))?c:olympe.la.Yr();this.model=olympe.dc.Va(a);this.source=null;this.Mi=new Map}ka(){return this.tag}Ae(){return this.model}ne(a){this.source=a;return this}C(a){const b=this.Ae(),c=this.ka();if(!b)throw Error('OperationError: Cannot create instance, model tag is undefined');a.yf(c,b,this.source,ro(this,this.Mi))}toString(){return`CreateInstance(${this.Ae()}, ${this.ka()})`}};
1641
+ olympe.dc.transaction.yo,olympe.dc.transaction.ba.Wb,olympe.dc.db.ba.Mb,olympe.dc.ba.zr,olympe.dc.sources.ba.il,olympe.dc.ba.dz,olympe.xa.ba.Mb,'olympe.dc.transaction.Config')},'olympe.dc.transaction');olympe.dc.transaction.$b={};function ro(a,b){const c=new Map;for(const [d,e]of b)c.set(d,a.Pa(e));return c}olympe.dc.transaction.$b.$q=class{constructor(){this.cb=olympe.dc.cb()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}Pa(a){a=olympe.j.Pa(a);return void 0===a||null===a?null:olympe.j.uP(a)?a.valueOf():a}};olympe.dc.transaction.$b.$q.Ba=[olympe.dc.kh];olympe.dc.transaction.$b.YF=class extends olympe.dc.transaction.$b.$q{constructor(a,b){super();this.relation=a instanceof olympe.dc.Pc.Relation?a:new olympe.dc.Pc.Relation(olympe.dc.Va(a));this.origin=this.cb.rc(b)?olympe.dc.CloudObject.get(b):b}getType(){return this.relation.ka()}Cc(){return this.relation.Cc()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}};function Z(a,b,c){a.Mi.set(olympe.dc.Va(b),c);return a}olympe.dc.transaction.$b.QG=class extends olympe.dc.transaction.$b.$q{constructor(a,b){super();let c;this.tag=null!=(c=b&&olympe.dc.Va(b))?c:olympe.la.Yr();this.model=olympe.dc.Va(a);this.source=null;this.Mi=new Map}ka(){return this.tag}Ae(){return this.model}ne(a){this.source=a;return this}C(a){const b=this.Ae(),c=this.ka();if(!b)throw Error('OperationError: Cannot create instance, model tag is undefined');a.zf(c,b,this.source,ro(this,this.Mi))}toString(){return`CreateInstance(${this.Ae()}, ${this.ka()})`}};
1642
1642
  olympe.dc.transaction.$b.QG.Ba=[olympe.dc.Uk];olympe.dc.transaction.$b.nC=class extends olympe.dc.transaction.$b.YF{constructor(a,b,c){super(a,b);this.D=this.cb.rc(c)?olympe.dc.CloudObject.get(c):c}C(a){const b=this.getType();if(''===b)throw Error('OperationError: Cannot create relation, type is undefined, null or empty string');if(b===olympe.dc.Lf.vh)throw Error('OperationError: Cannot create the instance -> model relation');if(!this.origin)throw Error('OperationError: Cannot create relation, origin tag is undefined, null or empty string');
1643
1643
  if(!this.D)throw Error('OperationError: Cannot create relation, destination tag is undefined, null or empty string');this.relation.Cc()===olympe.dc.Ib.DESTINATION?a.Sb(b,olympe.dc.Va(this.origin),olympe.dc.Va(this.D)):a.Sb(b,olympe.dc.Va(this.D),olympe.dc.Va(this.origin))}toString(){return`CreateRelation('${this.relation.Cc()}${this.relation.ka()}, ${olympe.dc.Va(this.origin)}, ${olympe.dc.Va(this.D)})`}};olympe.dc.transaction.$b.d0=class extends olympe.dc.transaction.$b.$q{constructor(a,b=olympe.dc.Se.Sg){super();this.model=a instanceof olympe.dc.CloudObject?a:olympe.dc.CloudObject.get(a);this.af=b}C(a){for(const b of this.cb.xg(this.model))b!==olympe.dc.Va(this.model)&&(new olympe.dc.transaction.$b.eH(b,this.af)).C(a)}toString(){return`DeleteAllInstances(${this.model.ka()}, ${this.af})`}};olympe.dc.transaction.$b.dH=class extends olympe.dc.transaction.$b.YF{C(a){const b=this.getType();if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Lf.vh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=olympe.dc.Va(this.origin);if(!this.origin)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=this.Cc(),e=this.cb.tc(c,this.relation);for(const f of e)d===olympe.dc.Ib.DESTINATION?
1644
1644
  a.Xf(b,c,f):a.Xf(b,f,c)}toString(){return`DeleteAllRelations(${this.Cc()}${this.getType()})`}};olympe.dc.transaction.$b.eH=class extends olympe.dc.transaction.$b.$q{constructor(a,b=olympe.dc.Se.Sg){super();this.tag=this.cb.rc(a)?olympe.dc.CloudObject.get(a):a;this.af=b}ka(){return olympe.dc.Va(this.tag)}C(a){const b=this.ka();if(void 0===b)throw Error('OperationError: Cannot delete instance, tag is undefined');this.cb.rc(b)&&Zn(a,b,this.af)}toString(){return'DeleteInstance('+this.ka()+', '+this.af+')'}};olympe.dc.transaction.$b.tR=class extends olympe.dc.transaction.$b.nC{C(a){const b=this.relation.ka();if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Lf.vh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=olympe.dc.Va(this.origin);if(void 0===c)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=olympe.dc.Va(this.D);if(void 0===d)throw Error('OperationError: Cannot delete relation, right tag is undefined');
1645
1645
  this.relation.Cc()===olympe.dc.Ib.DESTINATION?a.Xf(b,c,d):a.Xf(b,d,c)}toString(){return'DeleteRelation('+this.relation.Cc()+this.relation.ka()+', '+olympe.dc.Va(this.origin)+', '+olympe.dc.Va(this.D)+')'}};olympe.dc.transaction.$b.CV=class extends olympe.dc.transaction.$b.$q{constructor(a,b,c){super();this.tag=this.cb.rc(a)?olympe.dc.CloudObject.get(a):a;this.Mi=new Map;void 0!==b&&this.Mi.set(olympe.dc.Va(b),c)}ka(){return olympe.dc.Va(this.tag)}C(a){const b=this.ka();if(void 0===b)throw Error('OperationError: Cannot update instance, tag is undefined');var c;if(!(null!=(c=a.C.nh(b))&&c.D()||this.cb.rc(b)))throw Error('OperationError: Instance #'+b+' not found so it cannot be updated');c=ro(this,this.Mi);
1646
- for(const [e,f]of c){var d=this.cb.xc(b,e,!0);d instanceof olympe.dc.Kf&&Zn(a,d.ka(),olympe.dc.Se.Sg);f instanceof olympe.dc.Kf&&!Un(a,f.ka())&&(d=new olympe.dc.Uc,d.persist(f.ka()),d.C(a))}a.rh(b,c)}toString(){return'UpdateInstance('+this.ka()+', '+ro(this,this.Mi)+')'}};olympe.dc.transaction.$b.pU=class a extends olympe.dc.transaction.$b.$q{constructor(b,c){super();this.tag=b;this.source=c}C(b){const c=olympe.dc.cb();if(Un(b,this.tag)&&c.rc(this.tag)&&!c.Hl(this.tag)){const e=c.Yd(this.tag,!0);var d;let f;null==(f=null==(d=b.C.nh(this.tag))?void 0:d.Yd())||f.forEach((g,h)=>{e.set(h,g)});for(const g of e.values())g instanceof olympe.dc.Kf&&c.rc(g.ka())&&(new a(g.ka(),this.source)).C(b);d=c.model(this.tag);b.yf(this.tag,d,this.source,e);for(const [g,h,l]of yj(c,this.tag))Un(b,
1646
+ for(const [e,f]of c){var d=this.cb.xc(b,e,!0);d instanceof olympe.dc.Kf&&Zn(a,d.ka(),olympe.dc.Se.Sg);f instanceof olympe.dc.Kf&&!Un(a,f.ka())&&(d=new olympe.dc.Uc,d.persist(f.ka()),d.C(a))}a.rh(b,c)}toString(){return'UpdateInstance('+this.ka()+', '+ro(this,this.Mi)+')'}};olympe.dc.transaction.$b.pU=class a extends olympe.dc.transaction.$b.$q{constructor(b,c){super();this.tag=b;this.source=c}C(b){const c=olympe.dc.cb();if(Un(b,this.tag)&&c.rc(this.tag)&&!c.Hl(this.tag)){const e=c.Yd(this.tag,!0);var d;let f;null==(f=null==(d=b.C.nh(this.tag))?void 0:d.Yd())||f.forEach((g,h)=>{e.set(h,g)});for(const g of e.values())g instanceof olympe.dc.Kf&&c.rc(g.ka())&&(new a(g.ka(),this.source)).C(b);d=c.model(this.tag);b.zf(this.tag,d,this.source,e);for(const [g,h,l]of yj(c,this.tag))Un(b,
1647
1647
  l)&&(h===olympe.dc.Ib.ORIGIN?b.Sb(g,l,this.tag):b.Sb(g,this.tag,l))}}toString(){return`PersistOperation: tag - ${this.tag}, src - ${this.source}`}};olympe.dc.Va=function(a){let b=null;if('string'===typeof a)return a;if('function'===typeof(null==a?void 0:a.ka)&&(null==a||!a.Jh))b=a.ka();else if('function'===typeof a){let d;b=null!=(d=olympe.dc.Ia.Ae(a))?d:''}else if(olympe.j.Pg(a)){let d;b=olympe.dc.Va(null==(d=olympe.j.Pa(a))?void 0:d.valueOf())}let c;return null!=(c=b)?c:''};z('olympe.dc.instanceToTag',olympe.dc.Va);olympe.dc.cb=function(){return olympe.dc.$N().view};olympe.dc.register=function(a,b){olympe.dc.Ia.C(a,b)};
1648
1648
  olympe.dc.defineProperty=function(a){return new olympe.dc.Pc.Property(a)};olympe.dc.rN=function(a,b=olympe.dc.Ib.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.Ib.DESTINATION){const e=olympe.dc.Ib.DESTINATION;return b===olympe.dc.Ib.ORIGIN||b===e?new olympe.dc.Pc.Relation(a,b):new olympe.dc.Pc.Relation(a,d,b,c)};olympe.dc.yW=function(a){return a.fe()};olympe.dc.yd={};olympe.dc.yd.mE=a=>'string'===typeof a||'number'===typeof a||'boolean'===typeof a||a instanceof String?olympe.j.lc(a):a instanceof olympe.j.jb?a:null;olympe.dc.yd.jE=a=>'boolean'===typeof a||a instanceof Boolean?olympe.j.kc(a):a instanceof olympe.j.ia?a:null;olympe.dc.yd.lE=a=>'number'===typeof a||a instanceof Number?olympe.j.Ca(a):'string'===typeof a||a instanceof String?olympe.j.Ca(Number.parseFloat(a.valueOf())):a instanceof olympe.j.aa?a:null;
1649
1649
  olympe.dc.yd.kE=a=>'number'===typeof a||a instanceof Number?zc(a.valueOf()):'string'===typeof a||a instanceof String?vc(a.valueOf()):a instanceof Date?yc(a):a instanceof olympe.j.ac?a:null;olympe.dc.yd.mN=function(a){return a instanceof olympe.j.Color?a:'string'===typeof a||a instanceof String?Ic(a.valueOf()):null};olympe.dc.yd.nN=a=>a instanceof olympe.dc.CloudObject?a:a instanceof olympe.dc.Kf?Ih(a):null;olympe.dc.yd.Tw=a=>a instanceof olympe.dc.Kf?Ih(a):a;
@@ -1728,7 +1728,7 @@ this.ab()+'","a":["'+this.ka()+'","'+this.Cc()+'"]}'}toString(){return'Related('
1728
1728
  olympe.dc.Qa.Ao=class{constructor(a,b){this.Qa=this.D=null;a instanceof olympe.dc.Kb?(this.D=a.Jj(),this.Qa=a.$C()):(this.D=a,b&&(this.Qa=b))}Ee(){return null}ab(){return gi(olympe.dc.Qa.Ao)||''}ks(){return this.Qa}Jj(){return this.D}C(a,b,c){const d=new olympe.dc.cg.hD,e=new olympe.dc.cg.Ky;let f=[],g=[],h=!1,l=!1;const m=ep(b),n=ep(b);hp(b,()=>{const p=f.concat(g);0<p.length?b.D||(b.C.C=p[p.length-1]):ip(b);Uo(d,p,0,p.length,c)});dp(b,n);mp(this,a,this.D,e,b,(p,r,t,u)=>{const v=olympe.j.zb();v.$f()||
1729
1729
  v.nc()||(l||(u.wk().Uq(w=>{g=w;ip(b,n)}),Eo(b,()=>u.aq(),n),l=!0),d.C(p,r,t),Fo(b,t,n))});dp(b,m);return(p,r,t,u)=>{h||(u.wk().Uq(v=>{f=v;ip(b,m)}),Eo(b,()=>u.aq(),m),h=!0);d.C(p,r,t,m);Fo(b,t,m)}}fb(a){const b=this.Qa?'['+this.Qa.map(c=>c.fb(a)).join(',')+']':'null';return'{"c":"'+this.ab()+'","a":['+Jo(a,this.D)+','+b+']}'}toString(){const a=olympe.j.Zb(this.D)?'N:'+this.D.Ub.ja():this.D.valueOf(),b=this.Qa?','+this.Qa.map(c=>c.toString()).join(','):'';return'Union('+a+b+')'}};
1730
1730
  X('olympe.dc.transformers.Union',olympe.dc.Qa.Ao);olympe.dc.Qa.Ao.Ba=[olympe.dc.zo];olympe.dc.Qa.ED={M0:1,bS:-1,iI:0};olympe.dc.Qa.A2={t_:!0,V_:!1};olympe.dc.ag.ba={cK:'dc.legacy.listdefProcessor'};olympe.dc.ag.Config={bK:'dc.legacy.listdefsCovered'};olympe.ra.$e(a=>{E(a,olympe.dc.ag.Config.bK,!1);A(a,olympe.dc.ag.ba.cK,olympe.dc.ag.CT,olympe.dc.query.ba.Wb,olympe.dc.ba.it,olympe.dc.transaction.ba.Mb,olympe.dc.query.ba.sw,new olympe.ra.xb(olympe.dc.Config.Ut),new olympe.ra.xb(olympe.dc.ag.Config.bK))});olympe.ra.run([olympe.dc.ag.ba.cK],a=>{olympe.dc.ag.HX=()=>a});function op(a){const b=olympe.dc.cb(),c=new Map;b.nx(a).forEach(d=>{b.tc(d,olympe.dc.CloudObject.propertyRel).forEach(e=>{const f=b.name(e);c.has(f)||c.set(f,e)})});return c}
1731
- olympe.dc.CloudObject=class{constructor(a,b){this.tag=b;this.db=olympe.dc.cb();Object.defineProperty(this,'db',{enumerable:!1});this.model=null;Object.defineProperties(this,{db:{enumerable:!1}})}static yf(a,b,c,...d){b=olympe.dc.Va(b);var e=Oh(b);if(e=e&&e.C)return e(a,c,...d);a=a.create(b);void 0!==c&&null!==c&&Z(a,olympe.dc.CloudObject.nameProp,c);return a.ka()}static get(a){if(a instanceof olympe.dc.CloudObject)var b=a;else{b=olympe.dc.uO();a=olympe.dc.Va(a);var c=b.db.model(a);c=Nh(b,c);if(null===
1731
+ olympe.dc.CloudObject=class{constructor(a,b){this.tag=b;this.db=olympe.dc.cb();Object.defineProperty(this,'db',{enumerable:!1});this.model=null;Object.defineProperties(this,{db:{enumerable:!1}})}static zf(a,b,c,...d){b=olympe.dc.Va(b);var e=Oh(b);if(e=e&&e.C)return e(a,c,...d);a=a.create(b);void 0!==c&&null!==c&&Z(a,olympe.dc.CloudObject.nameProp,c);return a.ka()}static get(a){if(a instanceof olympe.dc.CloudObject)var b=a;else{b=olympe.dc.uO();a=olympe.dc.Va(a);var c=b.db.model(a);c=Nh(b,c);if(null===
1732
1732
  c)throw new olympe.dc.OK(a);c=c.instantiate(a,b.D);b.C.tk([a],olympe.dc.db.Instance.C.kI);b.Pc.register(c,a);b=c}return b}static Yw(a){return olympe.dc.cb().rc(olympe.dc.Va(a))}static Cx(...a){olympe.dc.$N().Cx(...a)}static xW(a,b,c){const d=olympe.dc.cb();let e=null;const f=l=>{null===e&&(e=op(b||this));return e.has(l)?e.get(l):null},g=co(!1),h=g.create(null!=b?b:this);void 0!==c&&h.ne(c);a.forEach((l,m)=>{d.rc(olympe.dc.Va(m))?Z(h,m,l):(m=f(m))&&Z(h,m,l)});g.Dd((l,m)=>{l||olympe.eb.sb('dc').error(`Error occurred for transaction executed by CloudObject.createWith: ${m}`)});
1733
1733
  return this.get(h)}static iN(){return this.get(this)}static dB(a){return olympe.dc.mb.dB(a)}static Yd(){return olympe.dc.cb().tc(this,olympe.dc.CloudObject.propertyRel).map(a=>new olympe.dc.Pc.Property(a))}static di(){const a=olympe.dc.cb();return a.tc(this,olympe.dc.CloudObject.Ex).map(b=>new olympe.dc.Pc.Relation(b)).concat(a.tc(this,olympe.dc.CloudObject.tN).map(b=>new olympe.dc.Pc.Relation(b,olympe.dc.Ib.ORIGIN)))}static nh(a){return olympe.dc.CloudObject.get(a)}static vO(a){var b=Nh(olympe.dc.uO(),
1734
1734
  olympe.dc.Va(a));b=b&&b.D;return new olympe.dc.Kb(olympe.dc.Va(a),olympe.dc.CloudObject.instancesRel,b)}ka(){return this.tag}name(){return this.db.name(this)}ab(){return this.Ud(olympe.dc.CloudObject.nameProp)}Pe(){this.model||(this.model=olympe.dc.CloudObject.get(this.db.model(this)));return this.model}query(){return olympe.dc.mb.from(this)}Hl(){return this.db.Hl(this)}Ad(){return this.db.source(this)}DX(){return this.db.Ju(this)?olympe.dc.Rj().fromModel(this):null}eO(){return olympe.j.Xa([this.ab()],
@@ -1754,7 +1754,7 @@ olympe.ra.run([olympe.dc.db.ba.Mb,olympe.dc.transaction.ba.Mb,olympe.dc.ba.nI,ol
1754
1754
  olympe.dm.$i.D=ci('014831d95f83635090ea','ADMIN_USERS_ROLE');olympe.dm.$i.prototype.ab.K=olympe.j.J.R;olympe.dm.$i.prototype.C.K=olympe.j.J.R;olympe.dm.$i.prototype.D.K=olympe.j.J.T;olympe.dm.TB={NONE:0,Z_:1,mR:2,$_:4,W_:8,Y_:16,X_:31,I1:32,F1:64,J1:128,G1:256,aU:512,H1:992,N0:1023};olympe.dm.User=class extends olympe.dc.CloudObject{vX(){return this.BE()}ab(){return this.BE()}BE(){return this.Ud(olympe.dm.User.loginProp)}dT(){return this.Ud(olympe.dm.User.D)}cT(){return olympe.j.jb.EMPTY}YX(){return this.Ud(olympe.dm.User.saltProp)}iY(){return this.Ud(olympe.dm.User.verifierProp)}WX(){return this.tc(olympe.dm.User.O,olympe.dm.$i)}};olympe.dm.User.U=olympe.dc.Ia.C('ff021000000000000003',olympe.dm.User);olympe.dm.User.loginProp=olympe.dm.User.U.fa('ff023000000000000001');
1755
1755
  z('olympe.dm.User.loginProp',olympe.dm.User.loginProp);olympe.dm.User.D=olympe.dm.User.U.fa('ff023000000000000002');olympe.dm.User.W=olympe.dm.User.U.fa('ff023000000000000003');olympe.dm.User.saltProp=olympe.dm.User.U.fa('ff023000000000000004');z('olympe.dm.User.saltProp',olympe.dm.User.saltProp);olympe.dm.User.verifierProp=olympe.dm.User.U.fa('ff023000000000000005');z('olympe.dm.User.verifierProp',olympe.dm.User.verifierProp);olympe.dm.User.T=olympe.dm.User.U.fa('ff023000000000000020');
1756
1756
  olympe.dm.User.SAMLnameIdProp=olympe.dm.User.U.fa('ff023000000000000036');z('olympe.dm.User.SAMLnameIdProp',olympe.dm.User.SAMLnameIdProp);olympe.dm.User.O=Y(olympe.dm.User.U,olympe.dm.$i.C);olympe.dm.User.$=olympe.dm.User.U.rb('ff022000000000000002');olympe.dm.User.C=ci('014831d95fd7d12b8568','ADMIN_USER');olympe.dm.User.R=ci('0163d9653067b6237f62','GUEST_USER');k=olympe.dm.User.prototype;k.vX.K=olympe.j.J.R;k.ab.K=olympe.j.J.R;k.BE.K=olympe.j.J.R;k.dT.K=olympe.j.J.R;k.cT.K=olympe.j.J.R;k.YX.K=olympe.j.J.R;
1757
- k.iY.K=olympe.j.J.R;k.WX.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.om=class extends olympe.dc.CloudObject{R(){return this.kx()}Oa(){return this.Ud(olympe.dm.om.Ja)}};olympe.dm.om.U=olympe.dc.Ia.C('01621fb84e3300000000',olympe.dm.om);olympe.dm.om.Ja=olympe.dm.om.U.fa('01609de3f292e3c2c6ff');olympe.dm.om.prototype.R.K=new olympe.j.J(()=>olympe.j.Xg,[]);olympe.dm.om.prototype.Oa.K=olympe.j.J.R;olympe.dm.BrickMetadata=class extends olympe.dm.om{jY(){return this.Ud(olympe.dm.BrickMetadata.Qb)}oh(){return this.Ud(olympe.dm.BrickMetadata.Ga)}getType(){return this.Ud(olympe.dm.BrickMetadata.W)}yY(){return this.bn(olympe.dm.BrickMetadata.nb)}Gi(){return null}bX(){return this.tc(olympe.sc.ui.Ze.Comment.C.fe(),olympe.sc.ui.Ze.Comment)}ce(){return this.rl(olympe.dm.BrickMetadata.na).rf().ce()}};olympe.dm.BrickMetadata.U=ji(olympe.dc.Ia.C('01621fb84e3500000000',olympe.dm.BrickMetadata));
1757
+ k.iY.K=olympe.j.J.R;k.WX.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.om=class extends olympe.dc.CloudObject{R(){return this.kx()}Oa(){return this.Ud(olympe.dm.om.Ja)}};olympe.dm.om.U=olympe.dc.Ia.C('01621fb84e3300000000',olympe.dm.om);olympe.dm.om.Ja=olympe.dm.om.U.fa('01609de3f292e3c2c6ff');olympe.dm.om.prototype.R.K=new olympe.j.J(()=>olympe.j.Xg,[]);olympe.dm.om.prototype.Oa.K=olympe.j.J.R;olympe.dm.BrickMetadata=class extends olympe.dm.om{jY(){return this.Ud(olympe.dm.BrickMetadata.Qb)}oh(){return this.Ud(olympe.dm.BrickMetadata.Ga)}getType(){return this.Ud(olympe.dm.BrickMetadata.W)}yY(){return this.bn(olympe.dm.BrickMetadata.nb)}Gi(){return null}bX(){return this.tc(olympe.sc.ui.Ze.Comment.C.fe(),olympe.sc.ui.Ze.Comment)}ce(){return this.rl(olympe.dm.BrickMetadata.na).rf().ce()}};olympe.dm.BrickMetadata.U=ii(olympe.dc.Ia.C('01621fb84e3500000000',olympe.dm.BrickMetadata));
1758
1758
  olympe.dm.BrickMetadata.Qb=olympe.dm.BrickMetadata.U.fa('01621fb84e320000f001');olympe.dm.BrickMetadata.Ga=olympe.dm.BrickMetadata.U.fa('01703376c4a81c0e9d94');olympe.dm.BrickMetadata.W=olympe.dm.BrickMetadata.U.fa('01703376c4a81c0e9d00');olympe.dm.BrickMetadata.nb=olympe.dm.BrickMetadata.U.fa('01703376c4a81c0eaea5');olympe.dm.BrickMetadata.na=olympe.dm.BrickMetadata.U.rb('0161ae97622bb21f335b');olympe.dm.BrickMetadata.ld={U1:'private',X1:'public'};
1759
1759
  olympe.dm.BrickMetadata.rk={i0:'experimental',p2:'stable',U_:'deprecated'};olympe.dm.BrickMetadata.fc={F_:'business',E2:'technical'};k=olympe.dm.BrickMetadata.prototype;k.jY.K=olympe.j.J.R;k.oh.K=olympe.j.J.R;k.getType.K=olympe.j.J.R;k.yY.K=olympe.j.J.T;k.Gi.K=new olympe.j.J(()=>String,[]);k.bX.K=new olympe.j.J(()=>olympe.dc.Kb,[]);k.ce.K=olympe.j.J.W;function Al(a,b){b=b.startsWith('data.')?b.substring(5):b;let c,d;return null!=(d=null!=(c=olympe.ra.getParameter(`${'data.'}${a}.${b}`))?c:olympe.ra.getParameter(`${'data.'}${b}`))?d:olympe.ra.getParameter(`${olympe.dc.sources.Dt.jU}${b}`)}
1760
1760
  function Ql(a,b){const c=a.query().jc(olympe.dm.mi.C.fe()).jc(olympe.dm.mi.D);a=a.query().jc(olympe.dm.gd.O.fe()).fq(olympe.dm.gd.C,!0).jc(olympe.sc.rg.C.fe());const d=e=>e.bj().fq(olympe.dc.CloudObject.extendRel,!0).jc(olympe.dc.CloudObject.Ex,!0).jc(olympe.dm.Relation.destinationModelRel).back(2).jc(olympe.dc.CloudObject.propertyRel,!0).jc(olympe.dm.Property.typeRel).observe(b);return rxjs.combineLatest([d(c),d(a)]).pipe(rxjs.operators.map(([e,...f])=>e.concat(...f)))}
@@ -1778,8 +1778,8 @@ olympe.dm.File.prototype.saveAs=olympe.dm.File.prototype.QP;olympe.dm.File.proto
1778
1778
  olympe.dm.File.fileNameProp=olympe.dm.File.U.fa('ff023000000000000050');z('olympe.dm.File.fileNameProp',olympe.dm.File.fileNameProp);olympe.dm.File.creationDateProp=olympe.dm.File.U.fa('ff023000000000000051');z('olympe.dm.File.creationDateProp',olympe.dm.File.creationDateProp);olympe.dm.File.modificationDateProp=olympe.dm.File.U.fa('ff023000000000000055');z('olympe.dm.File.modificationDateProp',olympe.dm.File.modificationDateProp);olympe.dm.File.mimeTypeProp=olympe.dm.File.U.fa('ff023000000000000052');
1779
1779
  z('olympe.dm.File.mimeTypeProp',olympe.dm.File.mimeTypeProp);olympe.dm.File.urlProp=olympe.dm.File.U.fa('ff023000000000000053');z('olympe.dm.File.urlProp',olympe.dm.File.urlProp);olympe.dm.File.C=olympe.dm.File.U.fa('ff023000000000000054');olympe.dm.File.U.C=olympe.dm.File.D.bind(null,olympe.dm.File);olympe.dm.File.T='application/data';olympe.dm.File.Ba=[olympe.j.File];k=olympe.dm.File.prototype;k.sx.K=olympe.j.J.R;k.jx.K=olympe.j.J.O;k.CA.K=olympe.j.J.O;k.ds.K=olympe.j.J.O;k.ZE.K=olympe.j.J.O;
1780
1780
  k.le.K=olympe.j.J.R;k.pz.K=olympe.j.J.R;k.fX.K=new olympe.j.J(()=>olympe.j.ac,[]);k.KX.K=new olympe.j.J(()=>olympe.j.ac,[]);k.xY.K=olympe.j.J.T;olympe.dm.Wi=class extends olympe.dc.CloudObject{C(){return this.Ud(olympe.dm.Wi.D)}O(){return this.zg(olympe.dm.Wi.O)}D(){return this.tc(olympe.dm.Wi.C,olympe.dm.Module)}};olympe.dm.Wi.U=olympe.dc.Ia.C('ff021000000000000041',olympe.dm.Wi);olympe.dm.Wi.D=olympe.dm.Wi.U.fa('ff023000000000000047');olympe.dm.Wi.O=olympe.dm.Wi.U.fa('ff023000000000000048');olympe.dm.Wi.C=olympe.dm.Module.C.fe();olympe.dm.Wi.prototype.C.K=olympe.j.J.R;olympe.dm.Wi.prototype.O.K=olympe.j.J.D;
1781
- olympe.dm.Wi.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.gd=class extends olympe.dm.lh{C(){return this.tc(olympe.dm.Ye.D,olympe.dm.Ye)}T(){return this.Ud(olympe.dm.gd.da)}$(){return this.Ud(olympe.dm.gd.tb)}O(){return this.tc(olympe.dm.gd.C,olympe.dm.gd)}};olympe.dm.gd.U=olympe.dc.Ia.C('0163d9594700fcf61e54',olympe.dm.gd);olympe.dm.gd.da=olympe.dm.gd.U.fa('017869c7d2833c9492c1');olympe.dm.gd.wf=olympe.dm.gd.U.fa('017869c7d2833c9492c2');olympe.dm.gd.Rc=olympe.dm.gd.U.fa('017869c7d2833c9492c3');olympe.dm.gd.tb=olympe.dm.gd.U.fa('017869c80bb9929c76d0');
1782
- olympe.dm.gd.T=olympe.dm.gd.U.rb('ff02200000000000002a');olympe.dm.gd.C=olympe.dm.gd.U.rb('ff02200000000000002b');olympe.dm.gd.Na=Y(olympe.dm.gd.U,olympe.dm.gd.C);olympe.dm.gd.O=olympe.dm.gd.U.rb('ff02200000000000002c');olympe.dm.gd.vg=olympe.dm.gd.U.rb('017e9c412e2b944bc48f');olympe.dm.gd.dd=olympe.dm.gd.U.rb('017e9c412e2b944bd590');olympe.dm.gd.vf=olympe.dm.gd.U.rb('017e9c416872a89d3415');olympe.dm.gd.gj=olympe.dm.gd.U.rb('017ebf8fe5c506662098');Y(olympe.dc.CloudObject.U,olympe.dm.gd.T);
1781
+ olympe.dm.Wi.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.gd=class extends olympe.dm.lh{C(){return this.tc(olympe.dm.Ye.D,olympe.dm.Ye)}T(){return this.Ud(olympe.dm.gd.da)}$(){return this.Ud(olympe.dm.gd.tb)}O(){return this.tc(olympe.dm.gd.C,olympe.dm.gd)}};olympe.dm.gd.U=olympe.dc.Ia.C('0163d9594700fcf61e54',olympe.dm.gd);olympe.dm.gd.da=olympe.dm.gd.U.fa('017869c7d2833c9492c1');olympe.dm.gd.xf=olympe.dm.gd.U.fa('017869c7d2833c9492c2');olympe.dm.gd.Rc=olympe.dm.gd.U.fa('017869c7d2833c9492c3');olympe.dm.gd.tb=olympe.dm.gd.U.fa('017869c80bb9929c76d0');
1782
+ olympe.dm.gd.T=olympe.dm.gd.U.rb('ff02200000000000002a');olympe.dm.gd.C=olympe.dm.gd.U.rb('ff02200000000000002b');olympe.dm.gd.Na=Y(olympe.dm.gd.U,olympe.dm.gd.C);olympe.dm.gd.O=olympe.dm.gd.U.rb('ff02200000000000002c');olympe.dm.gd.vg=olympe.dm.gd.U.rb('017e9c412e2b944bc48f');olympe.dm.gd.dd=olympe.dm.gd.U.rb('017e9c412e2b944bd590');olympe.dm.gd.wf=olympe.dm.gd.U.rb('017e9c416872a89d3415');olympe.dm.gd.gj=olympe.dm.gd.U.rb('017ebf8fe5c506662098');Y(olympe.dc.CloudObject.U,olympe.dm.gd.T);
1783
1783
  olympe.dm.gd.oc=ci('100000000000000000dd','PRIMORDIAL');olympe.dm.gd.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.gd.prototype.T.K=olympe.j.J.R;olympe.dm.gd.prototype.$.K=olympe.j.J.R;olympe.dm.gd.prototype.O.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.Property=class extends olympe.dc.CloudObject{C(){return this.Mg(olympe.dm.Property.definingModelRel,olympe.dc.CloudObject)}getType(){return this.Mg(olympe.dm.Property.typeRel,olympe.dc.CloudObject)}D(){return this.rl(olympe.dm.Property.typeRel).rf()}pg(){return this.C().ab().uA(this.ab(),'.')}};olympe.dm.Property.U=olympe.dc.Ia.C('ff021000000000000005',olympe.dm.Property);olympe.dm.Property.definingModelRel=Y(olympe.dm.Property.U,olympe.dc.CloudObject.propertyRel);
1784
1784
  z('olympe.dm.Property.definingModelRel',olympe.dm.Property.definingModelRel);olympe.dm.Property.typeRel=Y(olympe.dm.Property.U,olympe.dc.CloudObject.typeRel);z('olympe.dm.Property.typeRel',olympe.dm.Property.typeRel);olympe.dm.Property.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Property.prototype.getType.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Property.prototype.D.K=olympe.j.J.O;olympe.dm.Relation=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}GX(){return olympe.j.jb.EMPTY}WW(){return this.zg(olympe.dm.Relation.D)}RX(){return this.zg(olympe.dm.Relation.O)}aO(){return this.tc(olympe.dm.Relation.destinationModelRel,olympe.dc.CloudObject).Xd()}FO(){return this.tc(olympe.dm.Relation.originModelRel,olympe.dc.CloudObject).Xd()}pg(){return this.FO().ab().concat(['-',this.ab(),'->',this.aO().ab()])}};olympe.dm.Relation.U=olympe.dc.Ia.C('ff021000000000000006',olympe.dm.Relation);
1785
1785
  olympe.dm.Relation.O=olympe.dm.Relation.U.fa('ff023000000000000030');olympe.dm.Relation.D=olympe.dm.Relation.U.fa('ff023000000000000034');olympe.dm.Relation.da=olympe.dm.Relation.U.fa(olympe.dc.Se.bH);olympe.dm.Relation.$=olympe.dm.Relation.U.fa(olympe.dc.Se.Sg);olympe.dm.Relation.na=olympe.dm.Relation.U.fa(olympe.dc.Se.Zi);olympe.dm.Relation.Aa=olympe.dm.Relation.U.fa(olympe.dc.Se.UU);olympe.dm.Relation.ca=olympe.dm.Relation.U.fa(olympe.dc.Se.pR);olympe.dm.Relation.Na=olympe.dm.Relation.U.fa(olympe.dc.Se.vV);
@@ -1838,7 +1838,7 @@ function bq(a,b){if(1===b.length)return[(d,e)=>{null!==e?a.set(d,e):a.remove(d)}
1838
1838
  olympe.sc.Runnable=class extends olympe.dm.BrickMetadata{constructor(a,b,c){super(a,b);this.V=c}run(a){a.se().run(()=>{aq(this,a);this.init(a);a.rs(this.clear.bind(this,a));a.onDestroy(this.destroy.bind(this,a));dq(this,a);this.ue(a)})}lg(){return this.Pe()}init(a){this.onInit(a)}update(a,b,c){const d=this.lg();if(d.uq())this.onUpdate(a,b,c);else this.V.debug(`Softcoded runnable ${this.db.name(this)} with tag ${this.tag} running in context ${a.ja()}`),fq(this,d,olympe.sc.uc.O,a),this.Ga()&&fq(this,
1839
1839
  d,olympe.sc.uc.ca,a)}ue(a){a.Xq(olympe.sc.uc.tb)}clear(){}destroy(a){this.onDestroy(a)}setupExecution(a){return this.lg().O(a)}onInit(){}onUpdate(){const a=this.Ae(),b=this.db.name(a),c=this.db.name(this.db.model(a));this.V.error(`No code was found for ${b} (${c}: ${a})\n\n`+'This is probably because the code has not yet been deployed to the environment, or because the package.json does not import the required dependencies.')}onDestroy(){}getInputs(){return Yp(this.lg())}getOutputs(){return Zp(this.lg())}da(){return[]}W(){return null}Ga(){return!1}Ea(a,
1840
1840
  b,c,d,e=!0){a=b.va(a,c,e);void 0!==d&&olympe.j.pj(a,d);return a}O(a,b,c,d,e){olympe.j.Ll([d],f=>{b.set(a,olympe.j.uP(f)?f.valueOf():f)});return this.Ea(a,b,c,e)}T(){return[this.ca,this.$]}ca(a,b){cq(this,a,b,null)}$(a,b){cq(this,a,null,b)}na(a,b){const c=this.db,d=olympe.sc.logic.jd.O.fe(),e=olympe.sc.logic.jd.C,f=olympe.sc.logic.jd.D;this.yA(d,g=>{var h=g.ka();if(h=c.Zd(h,e)||c.Zd(h,f))return gq(g,a,b.bind(null,h))})}tb(a,b){const c=olympe.sc.hg.O.fe();this.yA(c,d=>d.yA(olympe.sc.hg.C,e=>{const f=
1841
- e.ka(),g=qp(a,hq(d,f),h=>{b(f,h)});return()=>{g();b(f,null)}}))}};olympe.sc.Runnable.U=ji(olympe.dc.Ia.C('01130000000000ca1100',olympe.sc.Runnable));olympe.sc.Runnable.$=olympe.sc.Runnable.U.rb('01692a4af82e8984742b');olympe.sc.Runnable.W=olympe.sc.Runnable.U.rb('01756a18d4921c103111');olympe.sc.Runnable.g4=Y(olympe.sc.Runnable.U,olympe.sc.uc.O);olympe.sc.Runnable.i4=Y(olympe.sc.Runnable.U,olympe.sc.uc.T);olympe.sc.Runnable.m4=Y(olympe.sc.Runnable.U,olympe.sc.uc.ca);Y(olympe.sc.uc.U,olympe.sc.Runnable.$);
1841
+ e.ka(),g=qp(a,hq(d,f),h=>{b(f,h)});return()=>{g();b(f,null)}}))}};olympe.sc.Runnable.U=ii(olympe.dc.Ia.C('01130000000000ca1100',olympe.sc.Runnable));olympe.sc.Runnable.$=olympe.sc.Runnable.U.rb('01692a4af82e8984742b');olympe.sc.Runnable.W=olympe.sc.Runnable.U.rb('01756a18d4921c103111');olympe.sc.Runnable.g4=Y(olympe.sc.Runnable.U,olympe.sc.uc.O);olympe.sc.Runnable.i4=Y(olympe.sc.Runnable.U,olympe.sc.uc.T);olympe.sc.Runnable.m4=Y(olympe.sc.Runnable.U,olympe.sc.uc.ca);Y(olympe.sc.uc.U,olympe.sc.Runnable.$);
1842
1842
  Y(olympe.sc.uc.U,olympe.sc.Runnable.W);olympe.sc.Runnable.prototype.lg.K=new olympe.j.J(()=>olympe.sc.uc,[]);olympe.sc.Runnable.prototype.Ea.K=new olympe.j.J(()=>Object,[]);olympe.sc.Runnable.prototype.O.K=olympe.j.J.O;function iq(a){if(a){if('string'===typeof a)return a;if(a instanceof olympe.sc.wi)return(a=a.D())?a.valueOf():null;if('function'===typeof a.ka)return a.ka()}return null}olympe.sc.wi=class extends olympe.dc.CloudObject{D(){return this.db.tc(this,olympe.sc.wi.C)[0]}C(){const a=iq(this);return olympe.dc.CloudObject.get(a)}Yf(){return this.C().Yf()}toString(){const a=iq(this);let b;a&&(b=this.db.name(a));return b||super.toString()}};olympe.sc.wi.U=olympe.dc.Ia.C('0163c9ae01f2d6e9ca49',olympe.sc.wi);
1843
1843
  olympe.sc.wi.C=olympe.sc.wi.U.rb('0169b5a8a33144fb0b49');Y(olympe.dc.CloudObject.U,olympe.sc.wi.C);olympe.sc.wi.prototype.D.K=new olympe.j.J(()=>String,[]);olympe.sc.wi.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.cH=class extends olympe.dm.Ye{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.cH.U=olympe.dc.Ia.C('0163a68ce44f3d1fa84c',olympe.sc.cH);olympe.sc.rg=class extends olympe.dm.BrickMetadata{};olympe.sc.rg.U=olympe.dc.Ia.C('016324fde11a836f76c2',olympe.sc.rg);olympe.sc.rg.C=olympe.sc.rg.U.rb('016324fde11a836087c2');olympe.sc.rg.U.C=function(a,b){return go(a,null!=b?b:'New type',olympe.sc.rg).ka()};let jq=null,kq=null,lq=[];
1844
1844
  function mq(a,b){jq=a;const c=olympe.j.zb();return olympe.dc.Xh.from(a).jc(olympe.sc.Db.Gg.C).jc(olympe.sc.Wn.C.fe()).Dd({Vr:'__code-as-data__'}).then(d=>{let e;null==(e=lq)||e.forEach(f=>f());lq=null;kq=d;if(null!==d){if(b){const f=olympe.dc.cb();return new Promise(g=>{Hk(c,d,h=>{h=f.Ju(h)?h:f.model(h);return null!==h&&f.me(h,olympe.sc.rg)},{GB:!0}).subscribe(rxjs.Subscriber.create(()=>{g()},()=>{olympe.eb.sb('sc').error('Impossible to load the business container for the application',a,'maybe are you offline?');
@@ -1879,7 +1879,7 @@ olympe.sc.workflow.qo.Fb='017ffe02381f9fac5062';olympe.sc.workflow.qo.Aa='017ffe
1879
1879
  olympe.sc.workflow.Transition.U=olympe.dc.Ia.C('017ffdc633219f16beea',olympe.sc.workflow.Transition);olympe.sc.workflow.Transition.processRefProp=olympe.sc.workflow.Transition.U.fa('017ffdc633219f16beec');olympe.sc.workflow.Transition.fromStateRel=olympe.sc.workflow.Transition.U.rb('017ffdc2dda51d46b431');olympe.sc.workflow.Transition.toStateRel=olympe.sc.workflow.Transition.U.rb('017ffdc633219f16beeb');olympe.sc.workflow.Transition.prototype.D.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);
1880
1880
  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{Gi(){return olympe.sc.jf.aj.ht}O(){return this.bn(olympe.sc.workflow.Workflow.serializationEnabledProp)}C(){return this.Mg(olympe.sc.workflow.Workflow.dataTypeRel,olympe.sc.rg)}D(){return this.Mg(olympe.sc.workflow.Workflow.initialStateRel,olympe.sc.workflow.Em)}};olympe.sc.workflow.Workflow.U=olympe.dc.Ia.C('017ffdc010e5bcc9c971',olympe.sc.workflow.Workflow);olympe.sc.workflow.Workflow.serializationEnabledProp=olympe.sc.workflow.Workflow.U.fa('017ffdc010e5bcc9c972');
1881
1881
  olympe.sc.workflow.Workflow.dataTypeRel=olympe.sc.workflow.Workflow.U.rb('017ffdc010e5bcc9c973');olympe.sc.workflow.Workflow.statesRel=olympe.sc.workflow.Workflow.U.rb('017ffdc010e5bcc9c974');olympe.sc.workflow.Workflow.initialStateRel=olympe.sc.workflow.Workflow.U.rb('017ffdc010e5bcc9c975');olympe.sc.workflow.Workflow.prototype.O.K=olympe.j.J.T;olympe.sc.workflow.Workflow.prototype.C.K=new olympe.j.J(()=>olympe.sc.rg,[]);
1882
- olympe.sc.workflow.Workflow.prototype.D.K=new olympe.j.J(()=>olympe.sc.workflow.Em,[]);olympe.sc.Db={};olympe.sc.Db.Gg=class extends olympe.sc.uc{Gi(){return olympe.sc.jf.aj.BL}};olympe.sc.Db.Gg.U=olympe.dc.Ia.C('01120300000000adef00',olympe.sc.Db.Gg);olympe.sc.Db.Gg.C=olympe.sc.Db.Gg.U.rb('0171bc1f15da96dfdb89');olympe.sc.Db.Gg.Na=olympe.sc.Db.Gg.U.rb('0171bc1f15da96dfdb90');Y(olympe.dm.lh.U,olympe.sc.Db.Gg.C);olympe.sc.Db.at=class extends olympe.sc.Runnable{da(){return[this.Ae()]}Aa(){return olympe.dc.Xh.from(this.Ae()).jc(olympe.sc.Db.Gg.C).rf()}};olympe.sc.Db.at.U=ji(olympe.dc.Ia.C('0113030000000aca1100',olympe.sc.Db.at));olympe.sc.Db.at.prototype.Aa.K=new olympe.j.J(()=>olympe.dm.gd,[]);olympe.sc.Db.Hd=class extends olympe.dc.CloudObject{mT(){return this.bn(olympe.sc.Db.Hd.iu)}OY(){return this.bn(olympe.sc.Db.Hd.na)}oh(){return this.zg(olympe.sc.Db.Hd.C)}rX(){return this.Ud(olympe.sc.Db.Hd.R)}VX(){return this.Ud(olympe.sc.Db.Hd.da)}UX(){return this.Ud(olympe.sc.Db.Hd.$)}Go(){return this.Ud(olympe.sc.Db.Hd.ca)}IX(){return this.Ud(olympe.sc.Db.Hd.T)}TW(){return this.Ud(olympe.sc.Db.Hd.D)}SX(){return this.Ud(olympe.sc.Db.Hd.W)}lT(){return this.Ud(olympe.sc.Db.Hd.O)}};
1882
+ olympe.sc.workflow.Workflow.prototype.D.K=new olympe.j.J(()=>olympe.sc.workflow.Em,[]);olympe.sc.Db={};olympe.sc.Db.Gg=class extends olympe.sc.uc{Gi(){return olympe.sc.jf.aj.BL}};olympe.sc.Db.Gg.U=olympe.dc.Ia.C('01120300000000adef00',olympe.sc.Db.Gg);olympe.sc.Db.Gg.C=olympe.sc.Db.Gg.U.rb('0171bc1f15da96dfdb89');olympe.sc.Db.Gg.Na=olympe.sc.Db.Gg.U.rb('0171bc1f15da96dfdb90');Y(olympe.dm.lh.U,olympe.sc.Db.Gg.C);olympe.sc.Db.at=class extends olympe.sc.Runnable{da(){return[this.Ae()]}Aa(){return olympe.dc.Xh.from(this.Ae()).jc(olympe.sc.Db.Gg.C).rf()}};olympe.sc.Db.at.U=ii(olympe.dc.Ia.C('0113030000000aca1100',olympe.sc.Db.at));olympe.sc.Db.at.prototype.Aa.K=new olympe.j.J(()=>olympe.dm.gd,[]);olympe.sc.Db.Hd=class extends olympe.dc.CloudObject{mT(){return this.bn(olympe.sc.Db.Hd.iu)}OY(){return this.bn(olympe.sc.Db.Hd.na)}oh(){return this.zg(olympe.sc.Db.Hd.C)}rX(){return this.Ud(olympe.sc.Db.Hd.R)}VX(){return this.Ud(olympe.sc.Db.Hd.da)}UX(){return this.Ud(olympe.sc.Db.Hd.$)}Go(){return this.Ud(olympe.sc.Db.Hd.ca)}IX(){return this.Ud(olympe.sc.Db.Hd.T)}TW(){return this.Ud(olympe.sc.Db.Hd.D)}SX(){return this.Ud(olympe.sc.Db.Hd.W)}lT(){return this.Ud(olympe.sc.Db.Hd.O)}};
1883
1883
  olympe.sc.Db.Hd.U=olympe.dc.Ia.C('011203300000000adef5',olympe.sc.Db.Hd);olympe.sc.Db.Hd.iu=olympe.sc.Db.Hd.U.fa('011203300000000adef6');olympe.sc.Db.Hd.na=olympe.sc.Db.Hd.U.fa('011203300000000adef7');olympe.sc.Db.Hd.C=olympe.sc.Db.Hd.U.fa('011203300000000adef8');olympe.sc.Db.Hd.R=olympe.sc.Db.Hd.U.fa('011203300000000adef9');olympe.sc.Db.Hd.da=olympe.sc.Db.Hd.U.fa('011203300000000adefa');olympe.sc.Db.Hd.$=olympe.sc.Db.Hd.U.fa('011203300000000adefb');olympe.sc.Db.Hd.D=olympe.sc.Db.Hd.U.fa('011203300000000adefc');
1884
1884
  olympe.sc.Db.Hd.ca=olympe.sc.Db.Hd.U.fa('011203300000000adefd');olympe.sc.Db.Hd.T=olympe.sc.Db.Hd.U.fa('011203300000000adefe');olympe.sc.Db.Hd.W=olympe.sc.Db.Hd.U.fa('011203300000000adeff');olympe.sc.Db.Hd.O=olympe.sc.Db.Hd.U.fa('011203300000000adee0');olympe.sc.Db.Hd.Vf={INIT:0,E_:1,w2:2,s2:3,q2:4,z2:5,ve:9};k=olympe.sc.Db.Hd.prototype;k.mT.K=olympe.j.J.T;k.OY.K=olympe.j.J.T;k.oh.K=olympe.j.J.D;k.rX.K=olympe.j.J.R;k.VX.K=olympe.j.J.R;k.UX.K=olympe.j.J.R;k.Go.K=olympe.j.J.R;k.IX.K=olympe.j.J.R;
1885
1885
  k.TW.K=olympe.j.J.R;k.SX.K=olympe.j.J.R;k.lT.K=olympe.j.J.R;olympe.sc.Db.NC=class extends olympe.sc.Db.at{ue(a){a.set(olympe.sc.Eb.C.SB,!0);super.ue(a)}Ga(){return!0}};olympe.sc.Db.NC.U=olympe.dc.Ia.C('0113032000000aca1102',olympe.sc.Db.NC,olympe.sc.ba.Wb);olympe.sc.Db.Dm=class extends olympe.sc.Db.Gg{C(){return(new olympe.dc.Tp(this.ka(),olympe.sc.Db.Hd)).jc(olympe.sc.Db.Dm.$).lk().Xd()}};olympe.sc.Db.Dm.U=olympe.dc.Ia.C('011203300000000adef3',olympe.sc.Db.Dm);olympe.sc.Db.Dm.$=olympe.sc.Db.Dm.U.rb('011203300000000adef4');Y(olympe.sc.Db.Hd.U,olympe.sc.Db.Dm.$);
@@ -1889,7 +1889,7 @@ olympe.sc.Wq.QY=a=>{const b=a.C,c=olympe.dc.cb();for(const d of b.xg()){const e=
1889
1889
  let p;f=null!=(p=null==(l=b.nh(h))?void 0:l.Pe())?p:c.model(h)}if(c.dn(f,olympe.dm.el)){l=pp(f);let p;n=null!=(p=m.xc(l.ka()))?p:c.xc(h,l)}if(void 0===n)throw Error(`Try to set a complex property to an instance of a DataType: ${c.name(e)} (${e})`);a.rh(d.tag(),new Map([[g,n]]));Zn(a,m.tag(),olympe.dc.Se.Sg)}})}};
1890
1890
  olympe.sc.Wq.nW=a=>{const b=a.C,c=olympe.dc.cb(),d=new Set;for(var e of b.je.values()){a=e.tag();let f;const g=null!=(f=e.Pe())?f:c.model(a);if(null!==g&&e.Qb()&&(d.has(g)||c.me(g,olympe.sc.rg))){d.add(g);const h=Array.from(e.Na()).flatMap(([l,,m,n])=>n&&l!==olympe.dc.Lf.vh?[m]:[]).find(l=>{let m,n;const p=null!=(n=null==(m=b.nh(l))?void 0:m.Pe())?n:c.model(l);return!p||!(d.has(p)||c.me(p,olympe.sc.rg))});if(void 0!==h){let l,m,n;e=null!=(n=null!=(m=null==(l=b.nh(h))?void 0:l.Pe())?m:c.model(h))?
1891
1891
  n:'unknown';throw Error(`Try to link an instance (${a}) of DataType ${c.name(g)} (${g}) to an instance which is not (${h}) a DataType: ${c.name(e)} (${e})`);}}}};olympe.sc.Wq.eZ=a=>{var b=a.C;const c=olympe.dc.cb();for(const d of b.xg()){b=d.tag();const e=d.Pe();if(e&&!c.me(e,olympe.sc.rg)&&Un(a,b))throw Error(`You are trying to persist an instance of : ${c.name(e)} (${e}), but only instances of DataType can be persisted`);}};
1892
- olympe.ra.run([olympe.dc.transaction.ba.Mb],a=>{mo(mo(mo(a,olympe.sc.Wq.nW,'businessDataRelations'),olympe.sc.Wq.DY,'linkBusinessContainer'),olympe.sc.Wq.QY,'noBusinessComplexProperty')});olympe.sc.Sy=class extends olympe.dm.BrickMetadata{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.Sy.U=olympe.dc.Ia.C('01645fe6873aeea59e64',olympe.sc.Sy);olympe.sc.Sy.C=olympe.sc.Sy.U.rb('017ed8ac775f48d4d589');olympe.sc.KG=class extends olympe.dm.Ye{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.KG.U=olympe.dc.Ia.C('0163a68ce44f3d1fa95d',olympe.sc.KG);olympe.sc.ft=class extends olympe.dm.BrickMetadata{};olympe.sc.ft.U=olympe.dc.Ia.C('016324fde11a836f77d3',olympe.sc.ft);olympe.sc.ft.C=olympe.sc.rg.U.rb('016324fde11a836088d3');olympe.sc.ft.U.C=(a,b)=>go(a,null!=b?b:'New config type',olympe.sc.ft).ka();olympe.sc.Q_=class{};olympe.sc.Zy=class extends olympe.dm.BrickMetadata{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.Zy.U=olympe.dc.Ia.C('017dc8d6c8fd8c8bd2ff',olympe.sc.Zy);olympe.sc.Zy.U.C=(a,b)=>go(a,null!=b?b:'New data connector',olympe.sc.Zy,olympe.dm.DataSource).ka();function hq(a,b){return`delegated^${olympe.dc.Va(a)}^${olympe.dc.Va(b)}`}olympe.sc.hg=class extends olympe.sc.Runnable{Na(){return this.tc(olympe.sc.hg.O,olympe.sc.Runnable)}Aa(){return this.tc(olympe.sc.hg.C,olympe.dm.Property)}};olympe.sc.hg.U=ji(olympe.dc.Ia.C('016c2d996d9ca27fa9d8',olympe.sc.hg));olympe.sc.hg.O=olympe.sc.hg.U.rb('016c3cb7742ec9309e0b');olympe.sc.hg.C=olympe.sc.hg.U.rb('016c42d3454636f90533');olympe.sc.hg.prototype.Na.K=new olympe.j.J(()=>olympe.dc.Kb,[]);
1892
+ olympe.ra.run([olympe.dc.transaction.ba.Mb],a=>{mo(mo(mo(a,olympe.sc.Wq.nW,'businessDataRelations'),olympe.sc.Wq.DY,'linkBusinessContainer'),olympe.sc.Wq.QY,'noBusinessComplexProperty')});olympe.sc.Sy=class extends olympe.dm.BrickMetadata{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.Sy.U=olympe.dc.Ia.C('01645fe6873aeea59e64',olympe.sc.Sy);olympe.sc.Sy.C=olympe.sc.Sy.U.rb('017ed8ac775f48d4d589');olympe.sc.KG=class extends olympe.dm.Ye{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.KG.U=olympe.dc.Ia.C('0163a68ce44f3d1fa95d',olympe.sc.KG);olympe.sc.ft=class extends olympe.dm.BrickMetadata{};olympe.sc.ft.U=olympe.dc.Ia.C('016324fde11a836f77d3',olympe.sc.ft);olympe.sc.ft.C=olympe.sc.rg.U.rb('016324fde11a836088d3');olympe.sc.ft.U.C=(a,b)=>go(a,null!=b?b:'New config type',olympe.sc.ft).ka();olympe.sc.Q_=class{};olympe.sc.Zy=class extends olympe.dm.BrickMetadata{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.Zy.U=olympe.dc.Ia.C('017dc8d6c8fd8c8bd2ff',olympe.sc.Zy);olympe.sc.Zy.U.C=(a,b)=>go(a,null!=b?b:'New data connector',olympe.sc.Zy,olympe.dm.DataSource).ka();function hq(a,b){return`delegated^${olympe.dc.Va(a)}^${olympe.dc.Va(b)}`}olympe.sc.hg=class extends olympe.sc.Runnable{Na(){return this.tc(olympe.sc.hg.O,olympe.sc.Runnable)}Aa(){return this.tc(olympe.sc.hg.C,olympe.dm.Property)}};olympe.sc.hg.U=ii(olympe.dc.Ia.C('016c2d996d9ca27fa9d8',olympe.sc.hg));olympe.sc.hg.O=olympe.sc.hg.U.rb('016c3cb7742ec9309e0b');olympe.sc.hg.C=olympe.sc.hg.U.rb('016c42d3454636f90533');olympe.sc.hg.prototype.Na.K=new olympe.j.J(()=>olympe.dc.Kb,[]);
1893
1893
  olympe.sc.hg.prototype.Aa.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.tH=class extends olympe.dm.Ye{Gi(){return olympe.sc.jf.aj.ht}};olympe.sc.tH.U=olympe.dc.Ia.C('017a7a9ff057958e5678',olympe.sc.tH);olympe.sc.Rv=class extends olympe.dm.Enum{static create(a,b,c,d,e){const f=olympe.dc.cb();e=void 0!==e?e:f.rc(b)&&f.xg(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.sc.Rv.create=olympe.sc.Rv.create;olympe.sc.Rv.U=olympe.dc.Ia.C('016cdd861b32d56c8208',olympe.sc.Rv);olympe.sc.uK=class extends olympe.dm.Ye{Gi(){return olympe.sc.jf.aj.UD}};olympe.sc.uK.U=olympe.dc.Ia.C('01644b6d4543b344b857',olympe.sc.uK);olympe.sc.vK=class extends olympe.dc.CloudObject{};olympe.sc.vK.U=olympe.dc.Ia.C('0162f672366be5ca7a86',olympe.sc.vK);const zq={nH:30};olympe.sc.Mf=class extends olympe.dc.sources.Mf{D(a){return a instanceof olympe.sc.logic.Error?$e(zq.nH,{c:a.ix(),m:a.message,s:a.yk()}):super.D(a)}C(a){return(null==a?void 0:a.t)===zq.nH?(a=a.v,yp(a.m,a.c,a.s)):super.C(a)}R(a){super.R(a);if(this.db.model(a)===olympe.sc.wi.U.ka()){const b=olympe.sc.wi.C;this.O.get(a).r.push({r:b.ka(),o:a,d:this.db.Zd(a,b)})}return a}};function Aq(a,b,c,d){const e=hq(a,c);olympe.j.Wa([d],f=>{b.set(e,f)});olympe.j.zb().Ue(()=>{b.remove(e)})}olympe.sc.Ir=class extends olympe.sc.hg{};olympe.sc.Ir.U=olympe.dc.Ia.C('016d3f37610ae4fc3962',olympe.sc.Ir);olympe.sc.Text=class extends olympe.dm.String{};olympe.sc.Text.U=olympe.dc.Ia.C('016cfca73e63f9ab5ba4',olympe.sc.Text);olympe.sc.Uc=class{constructor(a=!0){a=co(a);a.T=!0;var b=olympe.sc.Wq.eZ;let c;(null==(c=olympe.ra.getParameter(olympe.dc.transaction.Config.tC))?0:c.includes('persistenceBusinessDataOnly'))||a.W.push(b);this.C=a;this.D=[];this.source=null}static from(a){const b=olympe.sc.Eb.C.TRANSACTION;return a.has(b,!0)?a.get(b,!0):new olympe.sc.Uc}static process(a,b){return a.has(olympe.sc.Eb.C.TRANSACTION,!0)?Promise.resolve(!1):b.Dd().then(()=>!0)}ja(){return this.C.ja()}create(a,b=new Map,c=this.source,d){c=
1894
1894
  'string'===typeof c?c:olympe.dc.Rj().fromModel(a);a=this.C.create(a,d).ne(c);for(const [e,f]of b)Z(a,e,f);b=a.ka();this.D.push(b);return b}update(a,b,c){this.C.update(a,b,c);return this}zP(a,b){a=this.C.update(a);for(const [c,d]of b)b=d,a.Mi.set(olympe.dc.Va(c),b);return this}delete(a){this.C.delete(a);return this}Sb(a,b,c){this.C.Sb(a,b,c);return this}Xf(a,b,c){this.C.Xf(a,b,c);return this}pE(a,b){this.C.pE(a,b);return this}persist(a,b=!0){this.C.persist(a,b);return this}dZ(a,b=!0){olympe.eb.sb('dc').warn('Transaction#persistInstance() has been deprecated. Please use Transaction#persist() instead.');
1895
1895
  return this.persist(a,b)}ne(a){this.source=a;return this}model(a){return this.C.model(a)}merge(a){eo(this.C,a.C);return this}fE(a){this.C.fE(a);return this}Dd(){return new Promise((a,b)=>{this.C.Dd((c,d)=>{c?a(new olympe.sc.Ew(this.D)):b(d)})})}qE(){return new Promise((a,b)=>{this.C.qE((c,d)=>{c?a(new olympe.sc.Ew(this.D)):b(d)})})}};olympe.sc.Uc.prototype.executeAsLarge=olympe.sc.Uc.prototype.qE;olympe.sc.Uc.prototype.execute=olympe.sc.Uc.prototype.Dd;olympe.sc.Uc.prototype.afterExecution=olympe.sc.Uc.prototype.fE;
@@ -1924,7 +1924,7 @@ function Rq(a,b,c,d,e,f){olympe.j.Za(b.PE(e),()=>{var g=olympe.j.Xa([b,e],(l,m)=
1924
1924
  olympe.sc.ui.Vd=class extends olympe.sc.ui.Hj{ca(){return this.RA(olympe.sc.ui.Vd.C)}$(){return[this.Aa]}D(a,b){var c=olympe.j.ia;const d=olympe.sc.ui.Vd.C,e=olympe.sc.ui.Vd.Aa,f=olympe.sc.ui.Vd.Na,g=b.oa(a),h=b.Ea(e,a,c,c.ob),l=b.Ea(f,a,c,c.ob),m=Nq(this);c=b.Ea(d,a,olympe.sc.ui.ur);const n=new olympe.ui.F.Xe(g),p=b.Ea(olympe.sc.ui.hc.ca,a,olympe.j.Color).tl().Re(1).Qe();olympe.j.Wa([c],r=>{r.init(a);const t=r.zs(a,m);t.Ah(p);t.Es(a.va(olympe.sc.ui.Renderable.Ga,olympe.j.jb,!0));n.appendChild(olympe.j.Za(h.or(l),
1925
1925
  ()=>{var u=Oq(this,a,b,g,m);t.Gb(u);const v=new olympe.ui.F.Xe(g);u=Qq(this,a,b,v,g,u,h,l);u.Qd(t);v.appendChild(u,'scroller');return v},()=>{t.Tr();return t},olympe.ui.F.lb),'groupContent')});return n}C(){return super.C().yy(olympe.sc.ui.Vd.iN().transform(olympe.dc.CloudObject.propertyRel))}R(){return Nq(this)}};olympe.sc.ui.Vd.U=olympe.dc.Ia.C('016be61ab63fb8a838ee',olympe.sc.ui.Vd);olympe.sc.ui.Vd.C=olympe.sc.ui.Vd.U.fa('016be61ab921cb3bdef9');olympe.sc.ui.Vd.Aa=olympe.sc.ui.Vd.U.fa('01664466071718f2a34b');
1926
1926
  olympe.sc.ui.Vd.Na=olympe.sc.ui.Vd.U.fa('016652f9cd0b1e216e6b');olympe.sc.ui.Vd.yb=olympe.sc.ui.Vd.U.fa('01665907468d5e684177');olympe.sc.ui.Vd.Fb=olympe.sc.ui.Vd.U.fa('016e7ee3fd5998d599ce');olympe.sc.ui.Vd.oc=olympe.sc.ui.Vd.U.fa('016e7ee3fd59d238eec0');olympe.sc.ui.Vd.U.C=function(a,b,c,d){b=b||'Group';d=d||go(a,b,olympe.sc.ui.Vd,olympe.sc.ui.hc);Z(d,olympe.dc.ri.xj+olympe.dc.CloudObject.nameProp.ka(),b);a=a.create(olympe.sc.ui.Lb.Xe,c);Z(d,olympe.sc.ui.Vd.C.ka(),new olympe.dc.Kf(a));return d.ka()};
1927
- olympe.sc.ui.Vd.prototype.ca.K=new olympe.j.J(()=>olympe.sc.ui.ur,[]);olympe.sc.ui.Vd.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.Xe,[]);olympe.sc.ui.Zz=class extends olympe.sc.ui.Vd{};olympe.sc.ui.Zz.U=olympe.dc.Ia.C('01612df349e137bbb30b',olympe.sc.ui.Zz);olympe.sc.ui.Zz.U.C=function(a,b,c){b=b||'New Screen';const d=go(a,b,olympe.sc.ui.Zz,olympe.sc.ui.Screen);olympe.dc.CloudObject.yf(a,olympe.sc.ui.Vd,b,c,d);return d.ka()};olympe.sc.ui.kA=class extends olympe.sc.ui.Vd{};olympe.sc.ui.kA.U=olympe.dc.Ia.C('0166446c1f124f078a5f',olympe.sc.ui.kA);olympe.sc.ui.kA.U.C=function(a,b,c){b=b||'New Visual Component';c=go(a,b,olympe.sc.ui.kA,c||olympe.sc.ui.hc);olympe.dc.CloudObject.yf(a,olympe.sc.ui.Vd,b,void 0,c);Z(c,olympe.dc.ri.xj+olympe.sc.ui.Renderable.C.ka(),600);Z(c,olympe.dc.ri.xj+olympe.sc.ui.Renderable.D.ka(),300);return c.ka()};const Sq=new Map,Tq=new Set([]);function Uq(a){const b=olympe.sc.logic.jd,c=olympe.j.zb(),d=a.ka(),e=Object.create(null),f=Object.create(null);for(const [h,l]of Sq)f[h]=l,Sq.delete(h);const g=pj(a.db,d,b.Ss.fe(),c.re((h,l)=>{h?(h=a.db.Zd(l,b.vy),void 0!==f[h]&&(e[l]=h,f[h].enable())):(h=e[l],void 0!==h&&(f[h].disable(),delete e[l]))}));c.onDestroy(()=>{a.db.D(d,b.Ss.fe(),g)})}function Vq(a,b,c,d,e){a=new Wq(c,a,b);void 0!==e?Xq(a,d,e):Yq(a,d);Sq.set(olympe.dc.Va(c),a)}
1927
+ olympe.sc.ui.Vd.prototype.ca.K=new olympe.j.J(()=>olympe.sc.ui.ur,[]);olympe.sc.ui.Vd.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.Xe,[]);olympe.sc.ui.Zz=class extends olympe.sc.ui.Vd{};olympe.sc.ui.Zz.U=olympe.dc.Ia.C('01612df349e137bbb30b',olympe.sc.ui.Zz);olympe.sc.ui.Zz.U.C=function(a,b,c){b=b||'New Screen';const d=go(a,b,olympe.sc.ui.Zz,olympe.sc.ui.Screen);olympe.dc.CloudObject.zf(a,olympe.sc.ui.Vd,b,c,d);return d.ka()};olympe.sc.ui.kA=class extends olympe.sc.ui.Vd{};olympe.sc.ui.kA.U=olympe.dc.Ia.C('0166446c1f124f078a5f',olympe.sc.ui.kA);olympe.sc.ui.kA.U.C=function(a,b,c){b=b||'New Visual Component';c=go(a,b,olympe.sc.ui.kA,c||olympe.sc.ui.hc);olympe.dc.CloudObject.zf(a,olympe.sc.ui.Vd,b,void 0,c);Z(c,olympe.dc.ri.xj+olympe.sc.ui.Renderable.C.ka(),600);Z(c,olympe.dc.ri.xj+olympe.sc.ui.Renderable.D.ka(),300);return c.ka()};const Sq=new Map,Tq=new Set([]);function Uq(a){const b=olympe.sc.logic.jd,c=olympe.j.zb(),d=a.ka(),e=Object.create(null),f=Object.create(null);for(const [h,l]of Sq)f[h]=l,Sq.delete(h);const g=pj(a.db,d,b.Ss.fe(),c.re((h,l)=>{h?(h=a.db.Zd(l,b.vy),void 0!==f[h]&&(e[l]=h,f[h].enable())):(h=e[l],void 0!==h&&(f[h].disable(),delete e[l]))}));c.onDestroy(()=>{a.db.D(d,b.Ss.fe(),g)})}function Vq(a,b,c,d,e){a=new Wq(c,a,b);void 0!==e?Xq(a,d,e):Yq(a,d);Sq.set(olympe.dc.Va(c),a)}
1928
1928
  function Zq(a,b){const c=`finalThemeClass-${a.tag}`;let d;const e=f=>{d&&d();const g=$q(f,a.Ae(),'');let h=!1;d=qp(b,g,l=>{h=!0;b.set(c,l?f:'default')});h||b.set(c,'default');olympe.j.zb().onDestroy(()=>{d&&d()})};b.set(c,'default');qp(b,olympe.sc.ui.Renderable.nb.ka(),f=>e(f))}function ar(a,b){olympe.j.Wa([a.pa()],c=>{b.set(olympe.sc.ui.Renderable.C,c.valueOf())});olympe.j.Wa([a.sa()],c=>{b.set(olympe.sc.ui.Renderable.D,c.valueOf())})}
1929
1929
  olympe.sc.ui.Renderable=class extends olympe.sc.Runnable{constructor(a,b){super(a,b,olympe.eb.sb('sc'));this.Ja=!!olympe.ra.getParameter(olympe.sc.Config.uC)}da(){return this.lg()instanceof olympe.sc.ui.Vd?[this.Ae()]:[]}W(){const a=olympe.sc.zp.C.fS,b=this.db,c=new Map,d=this.lg();for(const e of Mq(d,!1))c.set(a+b.name(e),e);return c}update(a,b,c){const d=olympe.sc.Eb.C.yp,e=olympe.sc.Eb.C.Cp,f=this.lg().uq(),g=olympe.sc.ui.Renderable.prototype.D!==this.D;!f&&super.update(a,b,c);c=a.get(e);c||(c=
1930
1930
  a.state.se().run(()=>this.D(a)),a.set(e,c));const h=f&&!g?this.render(a,b):c.$m();if(!g&&(f||a.state.id.startsWith('_'))){const l=qp(a,d,m=>{void 0!==h?null!==h&&a.set('_off_container',this.updateParent(m,h)):this.draw(a,m)},a.ja());a.onDestroy(()=>{l();let m;null==(m=a.get('_off_container'))||m();a.remove('_off_container')})}}render(){}updateParent(a,b){b&&a.appendChild(b);return()=>{b.remove()}}D(a){var b=this.lg();if(b.uq()){const c=olympe.j.ia,d=olympe.j.jb;b=new olympe.ui.F.Te(this.tag,this.oa(a));
@@ -1932,11 +1932,11 @@ b.rd(this.Ea(olympe.sc.ui.hc.Na,a,c,c.ob));b.Es(this.Ea(olympe.sc.ui.Renderable.
1932
1932
  a.style['font-family']='Roboto';b.appendChild(a)}C(a,b){a.La(this.Ea(olympe.sc.ui.Renderable.ca,b,olympe.j.Color,Hc()));Uq(this)}T(){const a=[this.tb,this.na,this.ca,this.$];this.Ja||a.splice(3,0,this.Aa);return a}Aa(a,b){Zq(this,a);const c=olympe.j.zb(),d=this.Ae(),e=olympe.sc.ui.Hj.$,f=this.db.nx(this.Ae(),olympe.sc.ui.Renderable);f.push(d);let g=[];f.forEach(l=>{g=g.concat(this.db.tc(l,e))});let h;qp(a,`finalThemeClass-${this.tag}`,c.re(l=>{h&&h.destroy();const m=n=>{const p=$q(l,d,n);qp(a,p,r=>
1933
1933
  {b(n,r)})};h=new olympe.j.ee(`onFinalThemeClassKey for ${this.tag}`);h.run(()=>{for(const n of g)m(n);h.onDestroy(()=>{for(const n of g)b(n,null)})})}))}oa(a){return new olympe.j.ga(this.Ea(olympe.sc.ui.Renderable.C,a,olympe.j.aa,olympe.j.aa.ZERO,!0),this.Ea(olympe.sc.ui.Renderable.D,a,olympe.j.aa,olympe.j.aa.ZERO,!0))}gf(){return this.zg(olympe.sc.ui.Renderable.da)}R(){return null}};olympe.sc.ui.Renderable.prototype.getProperties=olympe.sc.ui.Renderable.prototype.Yd;let br=0;
1934
1934
  function Xq(a,b,c){!a.$&&a.C.Ah(!0);a.O=a.T.re(()=>{!a.$&&a.C.Ah(!1);const d=b(()=>a.R.Xq(a.W));olympe.j.zb().onDestroy(()=>{c(d);a.$||a.C.nc()||a.C.$f()||a.C.Ah(!0)})})}function Yq(a,b){null!=a.O||(a.O=a.T.re(()=>{olympe.j.Wa([b()],c=>{a.R.set(a.W,c)});olympe.j.zb().onDestroy(()=>a.R.remove(a.W))}))}
1935
- class Wq{constructor(a,b,c){++br;this.W=a;this.R=b;this.C=c;this.T=new olympe.j.ee('InteractionBinder context '+br);this.O=null;this.D=0;this.$=Tq.has(this.C.constructor)}enable(){++this.D;1===this.D&&this.O()}disable(){--this.D;0===this.D&&this.T.destroy()}}olympe.sc.ui.Renderable.U=ji(olympe.dc.Ia.C('01612df219d0691f6b4d',olympe.sc.ui.Renderable));olympe.sc.ui.Renderable.nb=olympe.sc.ui.Renderable.U.fa('0161d7ba2406f5d75a37');olympe.sc.ui.Renderable.ca=olympe.sc.ui.Renderable.U.fa('01611d9c686bbed5fdba');
1935
+ class Wq{constructor(a,b,c){++br;this.W=a;this.R=b;this.C=c;this.T=new olympe.j.ee('InteractionBinder context '+br);this.O=null;this.D=0;this.$=Tq.has(this.C.constructor)}enable(){++this.D;1===this.D&&this.O()}disable(){--this.D;0===this.D&&this.T.destroy()}}olympe.sc.ui.Renderable.U=ii(olympe.dc.Ia.C('01612df219d0691f6b4d',olympe.sc.ui.Renderable));olympe.sc.ui.Renderable.nb=olympe.sc.ui.Renderable.U.fa('0161d7ba2406f5d75a37');olympe.sc.ui.Renderable.ca=olympe.sc.ui.Renderable.U.fa('01611d9c686bbed5fdba');
1936
1936
  olympe.sc.ui.Renderable.Ga=olympe.sc.ui.Renderable.U.fa('01611d9c686bbed5fddd');olympe.sc.ui.Renderable.C=olympe.sc.ui.Renderable.U.fa('01611d99ec0553b5926e');olympe.sc.ui.Renderable.D=olympe.sc.ui.Renderable.U.fa('01611d9a0452a179c68f');olympe.sc.ui.Renderable.da=olympe.sc.ui.Renderable.U.fa('016c23bd12493a7e1b2e');olympe.sc.ui.Renderable.prototype.oa.K=olympe.j.J.W;olympe.sc.ui.Renderable.prototype.gf.K=olympe.j.J.D;olympe.sc.ui.hc=class extends olympe.sc.ui.Renderable{constructor(a,b){super(a,b)}ce(a){return new olympe.j.ga(this.Ea(olympe.sc.ui.hc.R,a,olympe.j.aa,olympe.j.aa.ZERO),this.Ea(olympe.sc.ui.hc.T,a,olympe.j.aa,olympe.j.aa.ZERO))}R(a){const b=this.lg();return b.eB()?b.RO().Ur().me([olympe.sc.ui.hc]).yv(olympe.sc.ui.Renderable.da).lk():a.includes(this.ka())?this.db.tc(b,olympe.dc.CloudObject.propertyRel).filter(c=>this.db.dn(this.db.Zd(c,olympe.dm.Property.typeRel),olympe.sc.ui.hc)).reduce((c,d)=>{olympe.j.Wa([this.RA(d)],
1937
- e=>{e=e.Pe();a.includes(olympe.dc.Va(e))&&c.set(d,e)});return c},new olympe.j.Ce(olympe.dm.om)):null}C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia,f=olympe.j.jb;a.rd(this.Ea(olympe.sc.ui.hc.Na,b,e,e.ob));a.ad(tc(this.Ea(olympe.sc.ui.hc.wf,b,d),0));a.nd(this.Ea(olympe.sc.ui.hc.gj,b,c));a.Xb(this.Ea(olympe.sc.ui.hc.vf,b,d));a.Os(this.Ea(olympe.sc.ui.hc.LW,b,d));olympe.j.Wa([this.Ea(olympe.sc.ui.hc.mg,b,f)],g=>{g=g.valueOf().split(';').filter(h=>''!==h).map(h=>h.split(':')).filter(([h,l])=>
1937
+ e=>{e=e.Pe();a.includes(olympe.dc.Va(e))&&c.set(d,e)});return c},new olympe.j.Ce(olympe.dm.om)):null}C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia,f=olympe.j.jb;a.rd(this.Ea(olympe.sc.ui.hc.Na,b,e,e.ob));a.ad(tc(this.Ea(olympe.sc.ui.hc.xf,b,d),0));a.nd(this.Ea(olympe.sc.ui.hc.gj,b,c));a.Xb(this.Ea(olympe.sc.ui.hc.wf,b,d));a.Os(this.Ea(olympe.sc.ui.hc.LW,b,d));olympe.j.Wa([this.Ea(olympe.sc.ui.hc.mg,b,f)],g=>{g=g.valueOf().split(';').filter(h=>''!==h).map(h=>h.split(':')).filter(([h,l])=>
1938
1938
  void 0!==h&&void 0!==l);for(const [h,l]of g)a.hb(h.trim(),l.trim());a.Bf()});olympe.j.Wa([this.Ea(olympe.sc.ui.hc.ld,b,e,e.ob)],g=>{a.hb('overflow',g.valueOf()?'visible':'hidden')});Vq(b,a,olympe.sc.ui.hc.vR,a.Wc.bind(a),a.Wj.bind(a));super.C(a,b)}};olympe.sc.ui.hc.U=olympe.dc.Ia.C('01664466071746f5e167',olympe.sc.ui.hc);olympe.sc.ui.hc.R=olympe.sc.ui.hc.U.fa('01611d99243ad989b91b');olympe.sc.ui.hc.T=olympe.sc.ui.hc.U.fa('01611d9962e7f4f9a26d');olympe.sc.ui.hc.Na=olympe.sc.ui.hc.U.fa('01611d9a88f340465399');
1939
- olympe.sc.ui.hc.LW=olympe.sc.ui.hc.U.fa('016b08fd79c14bad3193');olympe.sc.ui.hc.mg=olympe.sc.ui.hc.U.fa('017c5114f14f96c4f187');olympe.sc.ui.hc.ld=olympe.sc.ui.hc.U.fa('017e6d4a0974fd84338f');olympe.sc.ui.hc.wf=olympe.sc.ui.hc.U.fa('0163ba941097ae1920b0');olympe.sc.ui.hc.gj=olympe.sc.ui.hc.U.fa('0163ba942b6ee2bc78c0');olympe.sc.ui.hc.vf=olympe.sc.ui.hc.U.fa('0163ba9e1428240acec7');olympe.sc.ui.hc.CY=olympe.sc.ui.hc.U.fa('0162e2bd70fb607442d4');olympe.sc.ui.hc.vR=olympe.sc.ui.hc.U.fa('01619aacf66faf45a75d');
1939
+ olympe.sc.ui.hc.LW=olympe.sc.ui.hc.U.fa('016b08fd79c14bad3193');olympe.sc.ui.hc.mg=olympe.sc.ui.hc.U.fa('017c5114f14f96c4f187');olympe.sc.ui.hc.ld=olympe.sc.ui.hc.U.fa('017e6d4a0974fd84338f');olympe.sc.ui.hc.xf=olympe.sc.ui.hc.U.fa('0163ba941097ae1920b0');olympe.sc.ui.hc.gj=olympe.sc.ui.hc.U.fa('0163ba942b6ee2bc78c0');olympe.sc.ui.hc.wf=olympe.sc.ui.hc.U.fa('0163ba9e1428240acec7');olympe.sc.ui.hc.CY=olympe.sc.ui.hc.U.fa('0162e2bd70fb607442d4');olympe.sc.ui.hc.vR=olympe.sc.ui.hc.U.fa('01619aacf66faf45a75d');
1940
1940
  olympe.sc.ui.mm=class{constructor(a,b){this.tag=a;this.C=b}ka(){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.mm.prototype.set=olympe.sc.ui.mm.prototype.set;olympe.sc.ui.mm.prototype.observe=olympe.sc.ui.mm.prototype.observe;olympe.sc.ui.mm.prototype.get=olympe.sc.ui.mm.prototype.get;olympe.sc.ui.mm.prototype.getTag=olympe.sc.ui.mm.prototype.ka;olympe.sc.ui.kC=class extends olympe.sc.ui.mm{Xq(){this.set(Date.now())}};
1941
1941
  olympe.sc.ui.kC.prototype.trigger=olympe.sc.ui.kC.prototype.Xq;olympe.sc.ui.hc.Ba=[olympe.dc.Uk];olympe.sc.ui.hc.prototype.ce.K=olympe.j.J.W;function cr(a,b){const c=(d,e,f)=>{Vq(b,a,d,e,f)};Vq(b,a,olympe.sc.ui.Fa.FR,a.nn.bind(a),a.xq.bind(a));Vq(b,a,olympe.sc.ui.Fa.oT,a.ph.bind(a),a.Dk.bind(a));Vq(b,a,olympe.sc.ui.Fa.mU,a.$g.bind(a),a.Qg.bind(a));Vq(b,a,olympe.sc.ui.Fa.yT,a.lj.bind(a),a.Ek.bind(a));Vq(b,a,olympe.sc.ui.Fa.LT,a.Ki.bind(a),a.Xj.bind(a));Vq(b,a,olympe.sc.ui.Fa.TT,a.Kl.bind(a),a.ln.bind(a));Vq(b,a,olympe.sc.ui.Fa.cU,a.Xo.bind(a),a.Cq.bind(a));Vq(b,a,olympe.sc.ui.Fa.sU,a.Yo.bind(a),a.Dq.bind(a));Vq(b,a,olympe.sc.ui.Fa.MV,a.Hk.bind(a),
1942
1942
  a.Uo.bind(a));Vq(b,a,olympe.sc.ui.Fa.EV,a.Gk.bind(a),a.ij.bind(a));Vq(b,a,olympe.sc.ui.Fa.IV,a.ep.bind(a),a.Gq.bind(a));Vq(b,a,olympe.sc.ui.Fa.zV,a.pn.bind(a),a.To.bind(a));Vq(b,a,olympe.sc.ui.Fa.MR,a.Iq.bind(a),a.yq.bind(a));Vq(b,a,olympe.sc.ui.Fa.NV,a.Oq.bind(a),a.Hq.bind(a));Vq(b,a,olympe.sc.ui.Fa.VR,a.Jq.bind(a),a.zq.bind(a));Vq(b,a,olympe.sc.ui.Fa.mS,a.Kq.bind(a),a.Aq.bind(a));Vq(b,a,olympe.sc.ui.Fa.nT,a.Lq.bind(a),a.Bq.bind(a));Vq(b,a,olympe.sc.ui.Fa.dV,a.Nq.bind(a),a.Fq.bind(a));Vq(b,a,olympe.sc.ui.Fa.zU,
@@ -1948,17 +1948,17 @@ olympe.sc.ui.Fa.o_=olympe.sc.ui.Fa.U.fa('0168dc76919c78c432de');olympe.sc.ui.Fa.
1948
1948
  olympe.sc.ui.Fa.Il=olympe.sc.ui.Fa.U.fa('0168dcdbac93683e961f');olympe.sc.ui.Fa.BY=olympe.sc.ui.Fa.U.fa('0168dcdbe096622948a4');olympe.sc.ui.Fa.Ro=olympe.sc.ui.Fa.U.fa('0168dcdc172e489c48b9');olympe.sc.ui.Fa.LF=olympe.sc.ui.Fa.U.fa('0168dcdc4ef0492f7be9');olympe.sc.ui.Fa.NF=olympe.sc.ui.Fa.U.fa('0168dcdc6d186bf8c60d');olympe.sc.ui.Fa.QV=olympe.sc.ui.Fa.U.fa('0168dcdcaa879e1d49ec');olympe.sc.ui.Fa.PV=olympe.sc.ui.Fa.U.fa('0168dcdcd0e43889eeaf');olympe.sc.ui.Fa.AY=olympe.sc.ui.Fa.U.fa('0168e13a2c9eff4b1bb2');
1949
1949
  olympe.sc.ui.Fa.pY=olympe.sc.ui.Fa.U.fa('0168e13a668be409860f');olympe.sc.ui.Fa.mY=olympe.sc.ui.Fa.U.fa('0168e13a9bbb31492482');olympe.sc.ui.Fa.OW=olympe.sc.ui.Fa.U.fa('0168e13ad49117906a9b');olympe.sc.ui.Fa.FR=olympe.sc.ui.Fa.U.fa('016880862139c3324a2b');olympe.sc.ui.Fa.oT=olympe.sc.ui.Fa.U.fa('0168808622067a6ccc86');olympe.sc.ui.Fa.mU=olympe.sc.ui.Fa.U.fa('01688086226bdf417abe');olympe.sc.ui.Fa.TT=olympe.sc.ui.Fa.U.fa('0168808622d577c581a5');olympe.sc.ui.Fa.cU=olympe.sc.ui.Fa.U.fa('0168c772451ab8b1295c');
1950
1950
  olympe.sc.ui.Fa.yT=olympe.sc.ui.Fa.U.fa('0168c772458260728005');olympe.sc.ui.Fa.LT=olympe.sc.ui.Fa.U.fa('0168c77245ec33d5d3d6');olympe.sc.ui.Fa.sU=olympe.sc.ui.Fa.U.fa('0168c7724654174d5289');olympe.sc.ui.Fa.MV=olympe.sc.ui.Fa.U.fa('0168c7724990f6c6e2c5');olympe.sc.ui.Fa.EV=olympe.sc.ui.Fa.U.fa('0168c77249f71507f1a0');olympe.sc.ui.Fa.IV=olympe.sc.ui.Fa.U.fa('0168c7724a5ffdb8603c');olympe.sc.ui.Fa.zV=olympe.sc.ui.Fa.U.fa('0168c7724ac89011b0f1');olympe.sc.ui.Fa.MR=olympe.sc.ui.Fa.U.fa('0168c7724ccef19bd4fe');
1951
- olympe.sc.ui.Fa.NV=olympe.sc.ui.Fa.U.fa('0168c7724d3698b4bacc');olympe.sc.ui.Fa.VR=olympe.sc.ui.Fa.U.fa('0168c7724d9a84b5addb');olympe.sc.ui.Fa.mS=olympe.sc.ui.Fa.U.fa('0168c7724dff8c67d120');olympe.sc.ui.Fa.nT=olympe.sc.ui.Fa.U.fa('0168c7724e65de8791ac');olympe.sc.ui.Fa.dV=olympe.sc.ui.Fa.U.fa('0168c7724eca5653c809');olympe.sc.ui.Fa.zU=olympe.sc.ui.Fa.U.fa('0168c7724f30c049da91');olympe.sc.ui.ql=class extends olympe.sc.ui.Hj{D(){return this.Mg(olympe.sc.ui.ql.C,olympe.sc.ui.Screen)}};olympe.sc.ui.ql.U=olympe.dc.Ia.C('0112025000000015def0',olympe.sc.ui.ql);olympe.sc.ui.ql.C=olympe.sc.ui.ql.U.rb('0163f988aa658051daeb');olympe.sc.ui.ql.prototype.D.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.ur=class extends olympe.sc.hg{init(a){const b=a.set.bind(a);cq(this,a,b,b)}run(){}zs(){}D(){}C(){}};olympe.sc.ui.ur.U=ji(olympe.dc.Ia.C('016be61abe39070d9c42',olympe.sc.ui.ur));olympe.sc.ui.ur.prototype.zs.K=new olympe.j.J(()=>olympe.ui.F.lb,[]);olympe.sc.ui.Sd=class extends olympe.sc.ui.Fa{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia,f=olympe.j.jb;a instanceof olympe.ui.F.od||(a.Jb(this.Ea(olympe.sc.ui.Sd.O,b,f)),a.wb(this.Ea(olympe.sc.ui.Sd.fontFamilyProp,b,f)),a.qb(this.Ea(olympe.sc.ui.Sd.Ck,b,d)),a.Bb(this.Ea(olympe.sc.ui.Sd.tb,b,d)),a.Rd(olympe.j.Za(this.Ea(olympe.sc.ui.Sd.Oa,b,e,e.ob),()=>olympe.ui.ha.iz.iS,()=>olympe.ui.ha.iz.Bz,f)),a.kb(this.Ea(olympe.sc.ui.Sd.Ja,b,c)),a.Vb(this.Ea(olympe.sc.ui.Sd.yb,b,f)),a.Yb(this.Ea(olympe.sc.ui.Sd.Fb,
1952
- b,f)));super.C(a,b)}};olympe.sc.ui.Sd.U=ji(olympe.dc.Ia.C('01633e9252d8e1c4f25b',olympe.sc.ui.Sd));olympe.sc.ui.Sd.fontFamilyProp=olympe.sc.ui.Sd.U.fa('01635eaa384788490dc5');olympe.sc.ui.Sd.Ck=olympe.sc.ui.Sd.U.fa('01633fa38ad45c58d04d');olympe.sc.ui.Sd.Oa=olympe.sc.ui.Sd.U.fa('01633fa38c309356404a');olympe.sc.ui.Sd.tb=olympe.sc.ui.Sd.U.fa('01633fa38d2863f0a464');olympe.sc.ui.Sd.Ja=olympe.sc.ui.Sd.U.fa('01633fa5303ccd8c1801');olympe.sc.ui.Sd.yb=olympe.sc.ui.Sd.U.fa('0164229fd527ecd56900');
1951
+ olympe.sc.ui.Fa.NV=olympe.sc.ui.Fa.U.fa('0168c7724d3698b4bacc');olympe.sc.ui.Fa.VR=olympe.sc.ui.Fa.U.fa('0168c7724d9a84b5addb');olympe.sc.ui.Fa.mS=olympe.sc.ui.Fa.U.fa('0168c7724dff8c67d120');olympe.sc.ui.Fa.nT=olympe.sc.ui.Fa.U.fa('0168c7724e65de8791ac');olympe.sc.ui.Fa.dV=olympe.sc.ui.Fa.U.fa('0168c7724eca5653c809');olympe.sc.ui.Fa.zU=olympe.sc.ui.Fa.U.fa('0168c7724f30c049da91');olympe.sc.ui.ql=class extends olympe.sc.ui.Hj{D(){return this.Mg(olympe.sc.ui.ql.C,olympe.sc.ui.Screen)}};olympe.sc.ui.ql.U=olympe.dc.Ia.C('0112025000000015def0',olympe.sc.ui.ql);olympe.sc.ui.ql.C=olympe.sc.ui.ql.U.rb('0163f988aa658051daeb');olympe.sc.ui.ql.prototype.D.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.ur=class extends olympe.sc.hg{init(a){const b=a.set.bind(a);cq(this,a,b,b)}run(){}zs(){}D(){}C(){}};olympe.sc.ui.ur.U=ii(olympe.dc.Ia.C('016be61abe39070d9c42',olympe.sc.ui.ur));olympe.sc.ui.ur.prototype.zs.K=new olympe.j.J(()=>olympe.ui.F.lb,[]);olympe.sc.ui.Sd=class extends olympe.sc.ui.Fa{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia,f=olympe.j.jb;a instanceof olympe.ui.F.od||(a.Jb(this.Ea(olympe.sc.ui.Sd.O,b,f)),a.wb(this.Ea(olympe.sc.ui.Sd.fontFamilyProp,b,f)),a.qb(this.Ea(olympe.sc.ui.Sd.Ck,b,d)),a.Bb(this.Ea(olympe.sc.ui.Sd.tb,b,d)),a.Rd(olympe.j.Za(this.Ea(olympe.sc.ui.Sd.Oa,b,e,e.ob),()=>olympe.ui.ha.iz.iS,()=>olympe.ui.ha.iz.Bz,f)),a.kb(this.Ea(olympe.sc.ui.Sd.Ja,b,c)),a.Vb(this.Ea(olympe.sc.ui.Sd.yb,b,f)),a.Yb(this.Ea(olympe.sc.ui.Sd.Fb,
1952
+ b,f)));super.C(a,b)}};olympe.sc.ui.Sd.U=ii(olympe.dc.Ia.C('01633e9252d8e1c4f25b',olympe.sc.ui.Sd));olympe.sc.ui.Sd.fontFamilyProp=olympe.sc.ui.Sd.U.fa('01635eaa384788490dc5');olympe.sc.ui.Sd.Ck=olympe.sc.ui.Sd.U.fa('01633fa38ad45c58d04d');olympe.sc.ui.Sd.Oa=olympe.sc.ui.Sd.U.fa('01633fa38c309356404a');olympe.sc.ui.Sd.tb=olympe.sc.ui.Sd.U.fa('01633fa38d2863f0a464');olympe.sc.ui.Sd.Ja=olympe.sc.ui.Sd.U.fa('01633fa5303ccd8c1801');olympe.sc.ui.Sd.yb=olympe.sc.ui.Sd.U.fa('0164229fd527ecd56900');
1953
1953
  olympe.sc.ui.Sd.Fb=olympe.sc.ui.Sd.U.fa('016422a069b9bd45e8a8');olympe.sc.ui.Sd.O=olympe.sc.ui.Sd.U.fa('01633fa386be67e6fd1d');olympe.sc.ui.Me=class extends olympe.sc.ui.Sd{C(a,b){const c=olympe.j.aa,d=olympe.j.ia;Tq.add(a.constructor);a.Rg(this.Ea(olympe.sc.ui.Me.na,b,olympe.j.jb));a.eh(this.Ea(olympe.sc.ui.Me.Lg,b,olympe.j.Color));a.td(this.Ea(olympe.sc.ui.Me.Us,b,c,c.ZERO));a.sd(this.Ea(olympe.sc.ui.Me.Qb,b,c,c.ZERO));a.Gc(this.Ea(olympe.sc.ui.Me.Rc,b,c,c.ZERO));a.Kc(this.Ea(olympe.sc.ui.Me.Bg,b,c,c.ZERO));a.Cf(this.Ea(olympe.sc.ui.Me.fc,b,d,d.ob));Vq(b,a,olympe.sc.ui.Me.vg,a.kj.bind(a),a.O.bind(a));Vq(b,a,olympe.sc.ui.Me.dd,
1954
1954
  a.jj.bind(a),a.D.bind(a));super.C(a,b)}};olympe.sc.ui.Me.U=olympe.dc.Ia.C('016e64ba43b2367826cd',olympe.sc.ui.Me);olympe.sc.ui.Me.na=olympe.sc.ui.Me.U.fa('0164b26aecbaa5ca5b23');olympe.sc.ui.Me.Lg=olympe.sc.ui.Me.U.fa('0164b69dd71d223649bc');olympe.sc.ui.Me.fc=olympe.sc.ui.Me.U.fa('016e64de79ddfffad3ea');olympe.sc.ui.Me.Us=olympe.sc.ui.Me.U.fa('0168387e0011b88e3095');olympe.sc.ui.Me.Qb=olympe.sc.ui.Me.U.fa('0168387e0527edb9bd2a');olympe.sc.ui.Me.Rc=olympe.sc.ui.Me.U.fa('0168387e0a992ee500be');
1955
- olympe.sc.ui.Me.Bg=olympe.sc.ui.Me.U.fa('0168387e0e5bfd3e00d8');olympe.sc.ui.Me.vg=olympe.sc.ui.Me.U.fa('0168377a219478c7a296');olympe.sc.ui.Me.dd=olympe.sc.ui.Me.U.fa('0168377a5118eb32afd2');olympe.sc.ui.gw=class extends olympe.sc.ui.Vd{};olympe.sc.ui.gw.U=olympe.dc.Ia.C('01634497d5e7cab7022f',olympe.sc.ui.gw);olympe.sc.ui.gw.U.C=function(a,b,c,d){b=b||'List Element';c=go(a,{[olympe.dc.CloudObject.nameProp.ka()]:b},olympe.sc.ui.gw,olympe.sc.ui.Z.jo);olympe.dc.CloudObject.yf(a,olympe.sc.ui.Vd,b,d,c);return c.ka()};olympe.sc.ui.YL=class extends olympe.sc.ui.ql{};olympe.sc.ui.YL.U=olympe.dc.Ia.C('016c8f3b84720165aac5',olympe.sc.ui.YL);function dr(a,b){const c=new Map;a.db.tc(a,olympe.sc.ui.df.D).forEach(d=>{var e=a.db.Zd(d,olympe.sc.ui.wh.C);d=a.db.Zd(d,olympe.sc.ui.wh.D);a.V.debug(`ScreenTransition: Saving property ${e} to ${d}`);e=b.get(e);c.set(d,e)});return c}
1955
+ olympe.sc.ui.Me.Bg=olympe.sc.ui.Me.U.fa('0168387e0e5bfd3e00d8');olympe.sc.ui.Me.vg=olympe.sc.ui.Me.U.fa('0168377a219478c7a296');olympe.sc.ui.Me.dd=olympe.sc.ui.Me.U.fa('0168377a5118eb32afd2');olympe.sc.ui.gw=class extends olympe.sc.ui.Vd{};olympe.sc.ui.gw.U=olympe.dc.Ia.C('01634497d5e7cab7022f',olympe.sc.ui.gw);olympe.sc.ui.gw.U.C=function(a,b,c,d){b=b||'List Element';c=go(a,{[olympe.dc.CloudObject.nameProp.ka()]:b},olympe.sc.ui.gw,olympe.sc.ui.Z.jo);olympe.dc.CloudObject.zf(a,olympe.sc.ui.Vd,b,d,c);return c.ka()};olympe.sc.ui.YL=class extends olympe.sc.ui.ql{};olympe.sc.ui.YL.U=olympe.dc.Ia.C('016c8f3b84720165aac5',olympe.sc.ui.YL);function dr(a,b){const c=new Map;a.db.tc(a,olympe.sc.ui.df.D).forEach(d=>{var e=a.db.Zd(d,olympe.sc.ui.wh.C);d=a.db.Zd(d,olympe.sc.ui.wh.D);a.V.debug(`ScreenTransition: Saving property ${e} to ${d}`);e=b.get(e);c.set(d,e)});return c}
1956
1956
  olympe.sc.ui.df=class extends olympe.dc.CloudObject{constructor(a,b,c){super(a,b);this.V=c}WA(){return this.rl(olympe.sc.ui.df.O).rf()}HA(){return this.rl(olympe.sc.ui.df.C).rf()}EA(){return this.tc(olympe.sc.ui.df.R,olympe.dm.Property).Xd()}C(){return this.tc(olympe.sc.ui.df.D,olympe.sc.ui.wh)}};olympe.sc.ui.df.U=olympe.dc.Ia.C('01619a10457e749fdf59',olympe.sc.ui.df,olympe.sc.ba.Wb);olympe.sc.ui.df.O=olympe.sc.ui.df.U.rb('01619a16a406bf504c9f');olympe.sc.ui.df.C=olympe.sc.ui.df.U.rb('01619a16a406bf504c9e');
1957
1957
  olympe.sc.ui.df.R=olympe.sc.ui.df.U.rb('01619a16a406bf504c90');olympe.sc.ui.df.D=olympe.sc.ui.df.U.rb('0162befc703dfd7b93b4');Y(olympe.dm.Property.U,olympe.sc.ui.df.R);olympe.sc.ui.df.prototype.WA.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.df.prototype.HA.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.df.prototype.EA.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.df.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.ui.fA=class extends olympe.sc.Db.at{constructor(a,b,c,d,e,f){super(a,b,c);this.D=d;this.C=e;this.Na=f}ue(a){this.render(a);super.ue(a);const b=Le(this.C,olympe.X.Dj.Vf,c=>{c.c===olympe.X.iw.uV&&(0<Ik(olympe.dc.mb.from(olympe.sc.ui.ai.Aa).jc(olympe.sc.logic.jd.vy.fe()),[olympe.sc.logic.jd.Ss],this.Ae()).rf().size()?(this.V.debug('A custom listener has been set for the onUpgradeDone event.'),a.Xq(olympe.sc.ui.ai.Aa)):(new olympe.sc.ui.Z.DV(this.Na)).Yk(!0))});a.onDestroy(()=>Te(this.C,olympe.X.Dj.Vf,
1958
1958
  b))}render(a){const b=this.D.hf();var c=this.Aa();const d=this.lg();this.D.hi(d.ab());this.V.debug('Loading fonts');Lq(c,wp(a)).forEach(f=>{b.iJ(f)});this.V.debug('Apply theme');d.C().gN(a);const e=d.D();c=sp(a,e.ka());ar(b.oa(),c);c.MB(olympe.sc.Eb.C.Cp).then(f=>{a.set(olympe.sc.Eb.C.SB,!0);b.appendChild(f,'ui_app_screenflow')}).catch(()=>this.V.warn(`Screenflow ${e.ka()} has not been rendered.`))}};
1959
1959
  olympe.sc.ui.fA.U=olympe.dc.Ia.C('0113031000000aca1101',olympe.sc.ui.fA,olympe.sc.ba.Wb,olympe.ui.ba.Mb,olympe.X.ba.Tt,olympe.host.ba.Vt);olympe.sc.ui.ai=class extends olympe.sc.Db.Gg{Gi(){return olympe.sc.jf.aj.BL}C(){return this.Mg(olympe.sc.ui.ai.$,olympe.sc.ui.xh)}D(){const a=this.db.xA(this.tag,[olympe.sc.uc.O],b=>this.db.me(b,olympe.sc.ui.Z.kl));if(null===a)throw Error('Cannot find the Screenflow associated to the UIApplication. The UIApplication was likely badly created.');return olympe.dc.CloudObject.get(a)}R(){return this.kx().Ur().me([olympe.sc.ui.Z.kl]).lk()}};
1960
1960
  olympe.sc.ui.ai.U=olympe.dc.Ia.C('011203100000000adef1',olympe.sc.ui.ai,olympe.ui.ba.Mb,olympe.sc.ba.Wb);olympe.sc.ui.ai.Aa=olympe.sc.Db.Gg.U.fa('016200d21c9069cf23a3');olympe.sc.ui.ai.$=olympe.sc.ui.ai.U.rb('016200d21c9069cf23b4');
1961
- olympe.sc.ui.ai.U.C=(a,b,c,d)=>{b=go(a,b||'New UI App',olympe.sc.ui.ai,olympe.sc.ui.fA);var e=olympe.la.Yr();e=olympe.dc.CloudObject.yf(a,olympe.sc.ui.Z.kl,'UIApp Screenflow',e);a.Sb(olympe.sc.uc.O,b,e);a.Sb(olympe.dc.CloudObject.containsRel,b,e);a.Sb(olympe.sc.Db.Gg.C,b,c);d&&a.Sb(olympe.sc.ui.ai.$,b,d);return b.ka()};olympe.sc.ui.ai.prototype.C.K=new olympe.j.J(()=>olympe.sc.ui.xh,[]);olympe.sc.ui.ai.prototype.D.K=olympe.j.J.O;olympe.sc.ui.Screen=class extends olympe.sc.ui.Renderable{T(){return[this.na,this.Na,this.ca,this.Aa,this.$]}Na(a,b){if(a=a.Pa('MAP_PROPS'))for(const [c,d]of a)b(c,d)}};olympe.sc.ui.Screen.U=olympe.dc.Ia.C('01612df3703450d895ac',olympe.sc.ui.Screen);olympe.sc.ui.Screen.O=Y(olympe.sc.ui.Screen.U,olympe.sc.ui.df.C);olympe.sc.ui.Screen.tb=Y(olympe.sc.ui.Screen.U,olympe.sc.ui.df.O);olympe.sc.ui.Screen.Aa=olympe.sc.ui.Screen.U.fa('01648dde0de293c23f90');olympe.sc.ui.Screen.T=olympe.sc.ui.Screen.U.fa('01648dde0de252c9f851');
1961
+ olympe.sc.ui.ai.U.C=(a,b,c,d)=>{b=go(a,b||'New UI App',olympe.sc.ui.ai,olympe.sc.ui.fA);var e=olympe.la.Yr();e=olympe.dc.CloudObject.zf(a,olympe.sc.ui.Z.kl,'UIApp Screenflow',e);a.Sb(olympe.sc.uc.O,b,e);a.Sb(olympe.dc.CloudObject.containsRel,b,e);a.Sb(olympe.sc.Db.Gg.C,b,c);d&&a.Sb(olympe.sc.ui.ai.$,b,d);return b.ka()};olympe.sc.ui.ai.prototype.C.K=new olympe.j.J(()=>olympe.sc.ui.xh,[]);olympe.sc.ui.ai.prototype.D.K=olympe.j.J.O;olympe.sc.ui.Screen=class extends olympe.sc.ui.Renderable{T(){return[this.na,this.Na,this.ca,this.Aa,this.$]}Na(a,b){if(a=a.Pa('MAP_PROPS'))for(const [c,d]of a)b(c,d)}};olympe.sc.ui.Screen.U=olympe.dc.Ia.C('01612df3703450d895ac',olympe.sc.ui.Screen);olympe.sc.ui.Screen.O=Y(olympe.sc.ui.Screen.U,olympe.sc.ui.df.C);olympe.sc.ui.Screen.tb=Y(olympe.sc.ui.Screen.U,olympe.sc.ui.df.O);olympe.sc.ui.Screen.Aa=olympe.sc.ui.Screen.U.fa('01648dde0de293c23f90');olympe.sc.ui.Screen.T=olympe.sc.ui.Screen.U.fa('01648dde0de252c9f851');
1962
1962
  olympe.sc.ui.Screen.Ja=olympe.sc.ui.Screen.U.fa('01648dde0de26fef1ae0');olympe.sc.ui.Screen.Oa=olympe.sc.ui.Screen.U.fa('01648dde0de218c6a40b');olympe.sc.ui.Screen.na=olympe.sc.ui.Screen.U.fa('01648dde0de2ffac7f66');olympe.sc.ui.Screen.Na=olympe.sc.ui.Screen.U.fa('01648dde0de283af36bd');olympe.sc.ui.Screen.R=olympe.sc.ui.Screen.U.fa('01648dde0de2ea82e114');Y(olympe.sc.ui.Screen.U,olympe.sc.ui.ql.C);olympe.sc.ui.XL=class extends olympe.sc.ui.Screen{D(){const a=new olympe.ui.F.Xe(new olympe.j.ga(100,100));a.La(Ec());return a}};olympe.sc.ui.XL.U=olympe.dc.Ia.C('016402313e7c1e9fd8fa',olympe.sc.ui.XL);olympe.sc.ui.wh=class extends olympe.dc.CloudObject{HA(){return this.tc(olympe.sc.ui.wh.C,olympe.dm.Property).Xd()}WA(){return this.tc(olympe.sc.ui.wh.D,olympe.dm.Property).Xd()}};olympe.sc.ui.wh.O='MAP_PROPS';olympe.sc.ui.wh.U=olympe.dc.Ia.C('0162d3e045580eac6c53',olympe.sc.ui.wh);olympe.sc.ui.wh.C=olympe.sc.ui.wh.U.rb('0162bef0c00ce7782cee');olympe.sc.ui.wh.D=olympe.sc.ui.wh.U.rb('0162bef120e8ca8f61a3');olympe.sc.ui.wh.R=Y(olympe.sc.ui.wh.U,olympe.sc.ui.df.D);Y(olympe.dm.Property.U,olympe.sc.ui.wh.C);
1963
1963
  Y(olympe.dm.Property.U,olympe.sc.ui.wh.D);olympe.sc.ui.wh.prototype.HA.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.wh.prototype.WA.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.qM=class extends olympe.dc.CloudObject{};olympe.sc.ui.qM.U=olympe.dc.Ia.C('0162d3ede786c89fb31b',olympe.sc.ui.qM);olympe.sc.ui.UIEvent=class extends olympe.dc.CloudObject{};olympe.sc.ui.UIEvent.U=olympe.dc.Ia.C('0163fe51d83dad2a0f4b',olympe.sc.ui.UIEvent);olympe.sc.ui.pM=class extends olympe.dc.CloudObject{};olympe.sc.ui.pM.U=olympe.dc.Ia.C('016c865bbf883591cc25',olympe.sc.ui.pM);function $q(a,b,c){return a+'^'+b+'^'+('string'===typeof c?c:c.ka())}function er(a,b){void 0===a.C[b]&&(a.C[b]=new olympe.dc.Kb(b,[new olympe.dc.Qa.Gj(olympe.dc.Lf.mt,olympe.dc.Ib.DESTINATION,0),olympe.sc.ui.Hj.$],olympe.dm.Property));return a.C[b].getSubscription()}
1964
1964
  olympe.sc.ui.xh=class extends olympe.dm.BrickMetadata{constructor(a,b,c){super(a,b);this.C={};this.O=c}gN(a){if(!this.O){var b=this.db;this.D().forEach(c=>{const d=b.model(c);olympe.j.Wa([c.ab(),c.Ud(olympe.sc.ui.Renderable.nb)],(e,f)=>{const g=$q(e,d,'');a.Pa(g)||(a.set(g,!0),er(this,d).forEach(h=>{const l=$q(e,d,h);let m=null,n=null;const p=()=>{null!==m?a.set(l,m):null!==n?a.set(l,n):a.remove(l)},r=kj(b,c,h,(t,u)=>{m=u?null:t;p()});if(!e.Rb(f)){const t=$q(f,d,h);qp(a,t,u=>{n=u;p()})}olympe.j.zb().Ue(()=>
@@ -1966,7 +1966,7 @@ olympe.sc.ui.xh=class extends olympe.dm.BrickMetadata{constructor(a,b,c){super(a
1966
1966
  olympe.sc.ui.xh.prototype.gN.K=new olympe.j.J(()=>{},[]);olympe.sc.ui.xh.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.ui.ThemeModel=class extends olympe.sc.rg{};olympe.sc.ui.ThemeModel.U=olympe.dc.Ia.C('018170e67563c0afc0bb',olympe.sc.ui.ThemeModel);olympe.sc.ui.ThemeModel.nameProp=olympe.sc.ui.ThemeModel.U.fa('018170e8784d922f000e');olympe.sc.ui.ThemeModel.primaryColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee2608eacd830c');olympe.sc.ui.ThemeModel.secondaryColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee44ec5d550b90');olympe.sc.ui.ThemeModel.errorColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee5d9539e6d248');
1967
1967
  olympe.sc.ui.ThemeModel.warningColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee7bbb1e53309c');olympe.sc.ui.ThemeModel.infoColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee9a10111a31b4');olympe.sc.ui.ThemeModel.successColorProp=olympe.sc.ui.ThemeModel.U.fa('018170eeb3a585062ad4');olympe.sc.ui.ThemeModel.fontFamilyProp=olympe.sc.ui.ThemeModel.U.fa('018170ef10002db20904');olympe.sc.ui.Ug=class extends olympe.dm.om{gf(){return this.zg(olympe.sc.ui.Ug.C)}C(){return this.jc(olympe.sc.ui.Ug.D).rf()}};olympe.sc.ui.Ug.U=olympe.dc.Ia.C('01611e77c1becc16025b',olympe.sc.ui.Ug);olympe.sc.ui.Ug.C=olympe.sc.ui.Ug.U.fa('01611e7ad37b715e393d');olympe.sc.ui.Ug.propertyRel=olympe.sc.ui.Ug.U.rb('01611e7cd458bd5607ac');olympe.sc.ui.Ug.D=olympe.sc.ui.Ug.U.rb('016952415429cb0a0c0a');olympe.sc.ui.Ug.W=ci('0164188f5cc0c205bc06','CUSTOM_PROPERTIES_TAB_CAT');
1968
1968
  olympe.sc.ui.Ug.T=ci('0165335122d2ea44dd92','CUSTOM_EVENT_CAT');olympe.sc.ui.Ug.R=ci('0161bd31111c6b32e43d','CATEGORY_SPECIFIC_VALUE');olympe.sc.ui.Ug.O=ci('016362a33e99ca8f8ade','CATEGORY_SPECIFIC_FONT');olympe.sc.ui.Ug.$=ci('016122a51eea77d3dd8a','ROOT_CATEGORY');olympe.sc.ui.Ug.prototype.gf.K=olympe.j.J.D;olympe.sc.ui.Ug.prototype.C.K=new olympe.j.J(()=>olympe.dc.Bc,[]);olympe.sc.ui.Kg=class extends olympe.sc.gl{constructor(a,b){super(a,b)}tY(){return this.bn(olympe.sc.ui.Kg.sW)}zY(){return this.bn(olympe.sc.ui.Kg.rZ)}vY(){return this.bn(olympe.sc.ui.Kg.IW)}Yd(){return this.tc(olympe.sc.ui.Kg.propertyRel,olympe.dm.Property)}YW(){return this.tc(olympe.sc.ui.Kg.oN,olympe.sc.ui.Ug).Xd()}};olympe.sc.ui.Kg.U=olympe.dc.Ia.C('016d1bb681929c2cc3f0',olympe.sc.ui.Kg);olympe.sc.ui.Kg.rZ=olympe.sc.ui.Kg.U.fa('016d1bb681929c2cc3f2');olympe.sc.ui.Kg.sW=olympe.sc.ui.Kg.U.fa('016d1bb681929c2cc3f3');
1969
- olympe.sc.ui.Kg.IW=olympe.sc.ui.Kg.U.fa('0170beccaac4129d72a9');olympe.sc.ui.Kg.oN=olympe.sc.ui.Kg.U.rb('016d1bb681929c2cc3f4');olympe.sc.ui.Kg.propertyRel=olympe.sc.ui.Kg.U.rb('016d1bb681929c2cc3f5');Y(olympe.dm.Property.U,olympe.sc.ui.Kg.propertyRel);Y(olympe.sc.ui.Ug.U,olympe.sc.ui.Kg.oN);k=olympe.sc.ui.Kg.prototype;k.tY.K=olympe.j.J.T;k.zY.K=olympe.j.J.T;k.vY.K=olympe.j.J.T;k.Yd.K=new olympe.j.J(()=>olympe.dc.Kb,[]);k.YW.K=new olympe.j.J(()=>olympe.sc.ui.Ug,[]);olympe.sc.ui.Ze={};olympe.sc.ui.Ze.Comment=class extends olympe.dm.BrickMetadata{static yf(a,b,c,...d){c=d[0];d=d[1];b=a.create(b);const e=b.ka();a.Sb(olympe.dc.CloudObject.containsRel,c,b);a.Sb(olympe.sc.ui.Ze.Comment.C,b,c);c=a.create(olympe.sc.ui.jf.dl);Z(c,olympe.sc.ui.jf.dl.C,d.pa());Z(c,olympe.sc.ui.jf.dl.D,d.sa());a.Sb(olympe.dm.BrickMetadata.na,b,c);a.Sb(olympe.dc.CloudObject.containsRel,b,c);return e}getType(){return this.Ud(olympe.sc.ui.Ze.Comment.W)}Sj(){return this.Ud(olympe.sc.ui.Ze.Comment.O)}oa(){return new olympe.j.ga(this.zg(olympe.sc.ui.Ze.Comment.R),
1969
+ olympe.sc.ui.Kg.IW=olympe.sc.ui.Kg.U.fa('0170beccaac4129d72a9');olympe.sc.ui.Kg.oN=olympe.sc.ui.Kg.U.rb('016d1bb681929c2cc3f4');olympe.sc.ui.Kg.propertyRel=olympe.sc.ui.Kg.U.rb('016d1bb681929c2cc3f5');Y(olympe.dm.Property.U,olympe.sc.ui.Kg.propertyRel);Y(olympe.sc.ui.Ug.U,olympe.sc.ui.Kg.oN);k=olympe.sc.ui.Kg.prototype;k.tY.K=olympe.j.J.T;k.zY.K=olympe.j.J.T;k.vY.K=olympe.j.J.T;k.Yd.K=new olympe.j.J(()=>olympe.dc.Kb,[]);k.YW.K=new olympe.j.J(()=>olympe.sc.ui.Ug,[]);olympe.sc.ui.Ze={};olympe.sc.ui.Ze.Comment=class extends olympe.dm.BrickMetadata{static zf(a,b,c,...d){c=d[0];d=d[1];b=a.create(b);const e=b.ka();a.Sb(olympe.dc.CloudObject.containsRel,c,b);a.Sb(olympe.sc.ui.Ze.Comment.C,b,c);c=a.create(olympe.sc.ui.jf.dl);Z(c,olympe.sc.ui.jf.dl.C,d.pa());Z(c,olympe.sc.ui.jf.dl.D,d.sa());a.Sb(olympe.dm.BrickMetadata.na,b,c);a.Sb(olympe.dc.CloudObject.containsRel,b,c);return e}getType(){return this.Ud(olympe.sc.ui.Ze.Comment.W)}Sj(){return this.Ud(olympe.sc.ui.Ze.Comment.O)}oa(){return new olympe.j.ga(this.zg(olympe.sc.ui.Ze.Comment.R),
1970
1970
  this.zg(olympe.sc.ui.Ze.Comment.D))}};olympe.sc.ui.Ze.Comment.$=100;olympe.sc.ui.Ze.Comment.T=66;olympe.sc.ui.Ze.Comment.U=olympe.dc.Ia.C('0184bd886ee1c7adfe09',olympe.sc.ui.Ze.Comment);olympe.sc.ui.Ze.Comment.W=olympe.sc.ui.Ze.Comment.U.fa('0184c80e29ed08a16c5e');olympe.sc.ui.Ze.Comment.O=olympe.sc.ui.Ze.Comment.U.fa('0184bd889f33359cfe75');olympe.sc.ui.Ze.Comment.R=olympe.sc.ui.Ze.Comment.U.fa('0184c3f9406e25a41512');olympe.sc.ui.Ze.Comment.D=olympe.sc.ui.Ze.Comment.U.fa('0184c3f942e4cc136ce8');
1971
1971
  olympe.sc.ui.Ze.Comment.C=olympe.sc.ui.Ze.Comment.U.rb('0184be3f135a83fd6cc3');olympe.sc.ui.Ze.Comment.prototype.getType.K=olympe.j.J.R;olympe.sc.ui.Ze.Comment.prototype.Sj.K=olympe.j.J.R;olympe.sc.ui.Ze.Comment.prototype.oa.K=olympe.j.J.W;olympe.sc.ui.Ze.jC=class extends olympe.dm.Enum{};olympe.sc.ui.Ze.jC.C={J_:'Comment',n3:'Todo'};olympe.sc.ui.Ze.jC.U=olympe.dc.Ia.C('0184cc42e06205501bc7',olympe.sc.ui.Ze.jC);olympe.sc.ui.Z={};olympe.sc.ui.Z.he=class extends olympe.sc.ui.Fa{constructor(a,b){super(a,b)}D(a){const b=new olympe.ui.F.Audio(this.oa(a));b.ne(this.Ea(olympe.sc.ui.Z.he.urlProp,a,olympe.j.jb));this.C(b,a);b.sj(this.Ea(olympe.sc.ui.Z.he.Aa,a,olympe.j.ia,olympe.j.ia.ob));olympe.j.Ll([b.D.va()],()=>{});b.tj(this.Ea(olympe.sc.ui.Z.he.Ja,a,olympe.j.ia));b.oj(this.Ea(olympe.sc.ui.Z.he.na,a,olympe.j.ia));olympe.j.Ll([this.Ea(olympe.sc.ui.Z.he.O,a,olympe.j.ia)],c=>{c.valueOf()?b.play():b.pause()});olympe.j.Ll([b.C.va()],
1972
1972
  c=>{a.set(olympe.sc.ui.Z.he.O,c.Qe())});b.Nk(this.O(olympe.sc.ui.Z.he.tb,a,olympe.j.aa,b.volume.va(),olympe.j.aa.ONE));olympe.j.Ll([this.Ea(olympe.sc.ui.Z.he.Oa,a,olympe.j.aa)],c=>{olympe.j.Pa(this.Ea(olympe.sc.ui.Z.he.O,a,olympe.j.ia)).valueOf()||b.Lk(c)});olympe.j.Ll([b.O.va()],c=>{a.set(olympe.sc.ui.Z.he.Oa,c.gb(100).trunc().Ta(100))});olympe.j.Wa([b.duration.va()],c=>{a.set(olympe.sc.ui.Z.he.yb,c)});return b}};olympe.sc.ui.Z.he.U=olympe.dc.Ia.C('016c04e78462a540a8e0',olympe.sc.ui.Z.he);
@@ -2002,7 +2002,7 @@ function gr(a,b){const c=olympe.j.aa,d=a.Ea(olympe.sc.ui.Renderable.C,b,c,c.ZERO
2002
2002
  olympe.sc.ui.Z.Ce=class extends olympe.sc.ui.Fa{D(a){if(vp(a))return fr(this,a);var b=ir(this);b=new olympe.ui.F.tt(this.oa(a),hr(this,a),olympe.dc.CloudObject,this.Na.bind(this,gr(this,a),a,b));this.C(b,a);return b}R(a){return a.includes(this.ka())?this.kx().Ur().me([olympe.sc.ui.Vd]).filter(b=>a.includes(olympe.dc.Va(b))).lk():null}nb(a,b,c,d,e,f){a=this.Na(a,b,c,d,e,f);a.Md(1,olympe.j.Color.create(46,135,239));a.og(.4);return a}Na(a,b,c,d,e){const f=new olympe.ui.F.Xe(a);olympe.j.Wa([d],g=>{const h=
2003
2003
  b.Eo('list_row');c.run(h);const l=h.get(olympe.sc.Eb.C.Cp);olympe.j.Wa([a.pa()],m=>h.set(olympe.sc.ui.Renderable.C,m));olympe.j.Wa([a.sa()],m=>{0===m.valueOf()&&(m=olympe.j.aa.ONE);h.set(olympe.sc.ui.Renderable.D,m)});h.set(olympe.sc.ui.hc.R,0);h.set(olympe.sc.ui.hc.T,0);h.set(olympe.sc.ui.Z.jo.na,g);olympe.j.Wa([e],m=>h.set(olympe.sc.ui.Z.jo.O,m));f.appendChild(l,'currentRenderedItem');olympe.j.zb().Ue(()=>{h.destroy()})});return f}};olympe.sc.ui.Z.Ce.U=olympe.dc.Ia.C('01633eae77762d97b497',olympe.sc.ui.Z.Ce);
2004
2004
  olympe.sc.ui.Z.Ce.O=olympe.sc.ui.Z.Ce.U.fa('01633eda39772493a535');olympe.sc.ui.Z.Ce.na=olympe.sc.ui.Z.Ce.U.fa('01633eaf88c467023dac');olympe.sc.ui.Z.Ce.Aa=olympe.sc.ui.Z.Ce.U.fa('01633eaf88c4b25d8071');
2005
- olympe.sc.ui.Z.Ce.U.C=function(a,b){const c=a.create(olympe.sc.ui.Z.Ce);Z(c,olympe.dc.CloudObject.nameProp,b);Z(c,olympe.sc.ui.Renderable.C,200);Z(c,olympe.sc.ui.Renderable.D,400);b=olympe.dc.CloudObject.yf(a,olympe.sc.ui.gw,'Item Renderer',!0);const d=olympe.dc.CloudObject.yf(a,b,'item renderer');Z(c,olympe.sc.ui.Z.Ce.O,new olympe.dc.Kf(d));a.Sb(olympe.sc.Runnable.$,d,b);a.Sb(olympe.sc.Runnable.W,d,b);a.Sb(olympe.dc.CloudObject.containsRel,c,b);return c.ka()};olympe.sc.ui.Z.jo=class extends olympe.sc.ui.hc{D(a){return super.D(a)}};olympe.sc.ui.Z.jo.U=olympe.dc.Ia.C('016995c9f3cd1db60dc7',olympe.sc.ui.Z.jo);olympe.sc.ui.Z.jo.na=olympe.sc.ui.Z.jo.U.fa('016343f1676b2cb4ad06');olympe.sc.ui.Z.jo.O=olympe.sc.ui.Z.jo.U.fa('016343f1676b131af556');olympe.sc.ui.Z.Map=class extends olympe.sc.ui.Fa{D(a){const b=new olympe.ui.Sa.Ua.Map(this.oa(a));this.C(b,a);b.Cv(this.Ea(olympe.sc.ui.Z.Map.Ja,a,olympe.j.jb),this.Ea(olympe.sc.ui.Z.Map.Aa,a,olympe.j.jb));b.Gs(this.O(olympe.sc.ui.Z.Map.na,a,olympe.j.aa,b.CE()));b.Fs(this.O(olympe.sc.ui.Z.Map.O,a,olympe.j.aa,b.AE()));b.Qs(this.O(olympe.sc.ui.Z.Map.Oa,a,olympe.j.aa,b.R()));const c=this.Ea(olympe.sc.ui.Z.Map.tb,a,olympe.sc.logic.Function,null);olympe.j.Wa([this.Ea(olympe.sc.ui.Z.Map.yb,a,olympe.j.Xg)],
2005
+ olympe.sc.ui.Z.Ce.U.C=function(a,b){const c=a.create(olympe.sc.ui.Z.Ce);Z(c,olympe.dc.CloudObject.nameProp,b);Z(c,olympe.sc.ui.Renderable.C,200);Z(c,olympe.sc.ui.Renderable.D,400);b=olympe.dc.CloudObject.zf(a,olympe.sc.ui.gw,'Item Renderer',!0);const d=olympe.dc.CloudObject.zf(a,b,'item renderer');Z(c,olympe.sc.ui.Z.Ce.O,new olympe.dc.Kf(d));a.Sb(olympe.sc.Runnable.$,d,b);a.Sb(olympe.sc.Runnable.W,d,b);a.Sb(olympe.dc.CloudObject.containsRel,c,b);return c.ka()};olympe.sc.ui.Z.jo=class extends olympe.sc.ui.hc{D(a){return super.D(a)}};olympe.sc.ui.Z.jo.U=olympe.dc.Ia.C('016995c9f3cd1db60dc7',olympe.sc.ui.Z.jo);olympe.sc.ui.Z.jo.na=olympe.sc.ui.Z.jo.U.fa('016343f1676b2cb4ad06');olympe.sc.ui.Z.jo.O=olympe.sc.ui.Z.jo.U.fa('016343f1676b131af556');olympe.sc.ui.Z.Map=class extends olympe.sc.ui.Fa{D(a){const b=new olympe.ui.Sa.Ua.Map(this.oa(a));this.C(b,a);b.Cv(this.Ea(olympe.sc.ui.Z.Map.Ja,a,olympe.j.jb),this.Ea(olympe.sc.ui.Z.Map.Aa,a,olympe.j.jb));b.Gs(this.O(olympe.sc.ui.Z.Map.na,a,olympe.j.aa,b.CE()));b.Fs(this.O(olympe.sc.ui.Z.Map.O,a,olympe.j.aa,b.AE()));b.Qs(this.O(olympe.sc.ui.Z.Map.Oa,a,olympe.j.aa,b.R()));const c=this.Ea(olympe.sc.ui.Z.Map.tb,a,olympe.sc.logic.Function,null);olympe.j.Wa([this.Ea(olympe.sc.ui.Z.Map.yb,a,olympe.j.Xg)],
2006
2006
  d=>{d&&d.forEach&&d.forEach((e,f)=>{olympe.j.Wa([c],g=>{if(null===g)b.ys(f);else{const h=a.Eo('object_to_marker'),[l]=g.getInputs(),[m,n]=g.getOutputs();h.set(l,e);g.run(h);olympe.j.Wa([h.va(n,Number,!0),h.va(m,Number,!0)],(p,r)=>b.lu(p,r,f))}});olympe.j.zb().Ue(()=>b.ys(f))})});return b}};olympe.sc.ui.Z.Map.U=olympe.dc.Ia.C('016426b17399ffc56c99',olympe.sc.ui.Z.Map);olympe.sc.ui.Z.Map.Aa=olympe.sc.ui.Z.Map.U.fa('016427a99e367fa6c09d');olympe.sc.ui.Z.Map.Fb=olympe.sc.ui.Z.Map.U.fa('01766b9dcec160a517e1');
2007
2007
  olympe.sc.ui.Z.Map.na=olympe.sc.ui.Z.Map.U.fa('016427a9b97eea350e50');olympe.sc.ui.Z.Map.O=olympe.sc.ui.Z.Map.U.fa('016427a9cfb705df606e');olympe.sc.ui.Z.Map.Oa=olympe.sc.ui.Z.Map.U.fa('016427a9e5efd39a5071');olympe.sc.ui.Z.Map.Ja=olympe.sc.ui.Z.Map.U.fa('016436f8c0383becf392');olympe.sc.ui.Z.Map.yb=olympe.sc.ui.Z.Map.U.fa('0164378b2cebf5cc6b6b');olympe.sc.ui.Z.Map.tb=olympe.sc.ui.Z.Map.U.fa('0168ec49fe6e55ebe510');
2008
2008
  olympe.sc.ui.Z.Map.U.C=(a,b)=>{a=a.create(olympe.sc.ui.Z.Map);Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Z.Map.Ja,olympe.N.Sa.Ua.Map.C.nK);Z(a,olympe.sc.ui.Z.Map.Aa,'streets-v11');Z(a,olympe.sc.ui.Z.Map.O,46.5);Z(a,olympe.sc.ui.Z.Map.na,6.5);Z(a,olympe.sc.ui.Z.Map.Oa,10);Z(a,olympe.sc.ui.Renderable.C,500);Z(a,olympe.sc.ui.Renderable.D,500);return a.ka()};olympe.sc.ui.Z.xe=class extends olympe.sc.ui.Fa{D(a){const b=new olympe.ui.F.xe(this.oa(a));this.C(b,a);return b}};olympe.sc.ui.Z.xe.U=olympe.dc.Ia.C('01646f6a3fa5615a5bd1',olympe.sc.ui.Z.xe);olympe.sc.ui.Z.xe.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.xe);Z(a,olympe.dc.CloudObject.nameProp,b);return a.ka()};function jr(a,b){if(vp(b))b.set(olympe.sc.Eb.C.Cp,kr(a,b));else{var c=a.oa(b),d=new olympe.ui.F.Xe(c),e=a.Pe(),f=a.Ea(olympe.sc.ui.Z.kl.O,b,olympe.sc.ui.Screen),g=wp(b),h=new Set;lr(a,g,()=>{a.Na?mr(a,e,h,g,()=>{nr(e,f,b)}):nr(e,f,b)});var l=olympe.j.zb(),m=olympe.j.Ya(olympe.sc.ui.Screen,'Screenflow loaded screen');or(e,g,()=>{olympe.j.Wa([m],p=>{pr(p,b)})});olympe.j.Wa([f],p=>{h.has(p.ka())?m.update(p):l.run(()=>qr(p,g,()=>{h.add(p.ka());olympe.dc.Va(f)===p.ka()?m.update(p):a.V.warn(`The selected screen ${olympe.dc.Va(f)} has changed while the loading of another one ${p.ka()}`)}))},
@@ -2034,8 +2034,8 @@ c.Xb(0);c.nd(this.W);c.ad(1);c.fk(this.C);K(c.Oa,this.W);K(c.R,this.W);break;cas
2034
2034
  this.fontSize.gb(3))),c.wb('Helvetica'),c.qb(16),c.Bb(100),c.La(olympe.j.Color.create(69,90,100)),b=olympe.j.Color.create(255,255,255,.8),K(c.R,b),c.kb(this.Ga),c.Xb(5),c.nd(Hc()),c.ad(1),c.fh(new olympe.j.ga(0,0),5,1,olympe.j.Color.create(0,0,0,.2)),c.fk(olympe.j.Color.create(69,90,100))}return c})}Bu(a){return S(this,'label',olympe.ui.F.ea.Vh,a,b=>{let c=new olympe.ui.F.ea.Vh;c.wb('Helvetica');c.Bb(100);c.qb(this.fontSize);c.kb(this.ca);c.Yb(olympe.ui.ha.wc.Tc);switch(b){case olympe.sc.Hc.gg.D.PF:c.Bb(700);
2035
2035
  break;case olympe.sc.Hc.gg.D.wr:c.Gc(this.fontSize.Ta(2)),c.Kc(this.fontSize.Ta(2)),c.kb(this.Ga),c.qb(this.fontSize.gb(.8))}return c})}xx(a){return S(this,'textField',olympe.ui.F.ea.pl,a,b=>{let c=new olympe.ui.F.ea.pl;c.kb(this.ca);c.eh(this.ld);c.td(2);c.sd(2);c.Gc(8);c.Kc(8);c.qb(this.fontSize.gb(.8));c.Bb(100);c.nd(this.na);c.ad(1);c.La(this.C);switch(b){case olympe.sc.Hc.gg.W.wr:c.Gc(2);c.Kc(2);c.td(1);c.sd(1);c.nd(this.O);break;default:c.La(olympe.j.Color.create(234,234,234)),c.fh(new olympe.j.ga(0,
2036
2036
  1),2,0,olympe.j.Color.create(0,0,0,.2),!0),c.Xb(5),c.nd(olympe.j.Color.create(128,128,128,.2)),c.kb(olympe.j.Color.create(128,128,128)),c.Bb(400)}return c})}wx(a){return S(this,'textArea',olympe.ui.F.ea.ol,a,()=>{let b=new olympe.ui.F.ea.ol;b.La(this.$);b.kb(this.ca);b.nd(this.na);b.qb(12);b.wb('Helvetica')})}mx(a){return S(this,olympe.ui.F.ea.ni.Fc,olympe.ui.F.ea.ni,a,b=>{let c=new olympe.ui.F.ea.ni;switch(b){case olympe.sc.Hc.gg.O.jS:c.La(this.C);break;case olympe.sc.Hc.gg.O.lS:c.La(this.W);break;
2037
- case olympe.sc.Hc.gg.O.kS:c.La(this.fc);break;default:c.La(this.C),c.nd(this.na),c.ad(1),c.rz('images/arrow.png'),b=new olympe.j.ga(this.fontSize.gb(.6),this.fontSize.gb(.6)),K(c.C,b),b=new olympe.ui.F.ea.fd,b.La(this.C),b.nd(this.na),b.ad(1),b.fh(new olympe.j.ga(2,2),5),K(c.D,b)}return c})}hx(){return S(this,olympe.ui.F.ea.li.Fc,olympe.ui.F.ea.li,void 0,a=>{const b=new olympe.ui.F.ea.li;b.IA().Gb(new olympe.j.ga(60,30));b.tf().La(olympe.j.Color.create(230,230,230));b.tf().nd(olympe.j.Color.create(191,
2038
- 191,191));b.tf().ad(2);b.tf().Xb(100);b.Og().La(olympe.j.Color.create(60,187,51));b.Og().Xb(100);b.uf().nd(olympe.j.Color.create(191,191,191));b.uf().ad(2);b.uf().Xb(100);b.uf().La(olympe.j.Color.create(230,230,230));b.sf().nd(olympe.j.Color.create(191,191,191));b.sf().ad(2);b.sf().Xb(100);b.sf().La(olympe.j.Color.create(230,230,230));switch(a){case olympe.sc.Hc.gg.R.wr:b.sf().nd(this.O),b.sf().ad(1),b.Og().nd(this.O),b.Og().ad(1),b.tf().nd(this.O),b.tf().ad(1),b.uf().nd(this.O),b.uf().ad(1)}return b})}LA(a){return S(this,
2037
+ case olympe.sc.Hc.gg.O.kS:c.La(this.fc);break;default:c.La(this.C),c.nd(this.na),c.ad(1),c.rz('images/arrow.png'),b=new olympe.j.ga(this.fontSize.gb(.6),this.fontSize.gb(.6)),K(c.C,b),b=new olympe.ui.F.ea.fd,b.La(this.C),b.nd(this.na),b.ad(1),b.fh(new olympe.j.ga(2,2),5),K(c.D,b)}return c})}hx(){return S(this,olympe.ui.F.ea.li.Fc,olympe.ui.F.ea.li,void 0,a=>{const b=new olympe.ui.F.ea.li;b.IA().Gb(new olympe.j.ga(60,30));b.uf().La(olympe.j.Color.create(230,230,230));b.uf().nd(olympe.j.Color.create(191,
2038
+ 191,191));b.uf().ad(2);b.uf().Xb(100);b.Og().La(olympe.j.Color.create(60,187,51));b.Og().Xb(100);b.vf().nd(olympe.j.Color.create(191,191,191));b.vf().ad(2);b.vf().Xb(100);b.vf().La(olympe.j.Color.create(230,230,230));b.tf().nd(olympe.j.Color.create(191,191,191));b.tf().ad(2);b.tf().Xb(100);b.tf().La(olympe.j.Color.create(230,230,230));switch(a){case olympe.sc.Hc.gg.R.wr:b.tf().nd(this.O),b.tf().ad(1),b.Og().nd(this.O),b.Og().ad(1),b.uf().nd(this.O),b.uf().ad(1),b.vf().nd(this.O),b.vf().ad(1)}return b})}LA(a){return S(this,
2039
2039
  '',olympe.ui.F.ea.wm,a,()=>{let b=new olympe.ui.F.ea.wm;var c=new olympe.ui.F.ea.fd;c.Gb(new olympe.j.ga(206,19));c.ad(olympe.j.aa.ONE);c.Xb(olympe.j.Ca(10));b.C=c;c=new olympe.ui.F.ea.fd;c.Gb(new olympe.j.ga(12,24));c.ad(olympe.j.aa.ONE);c.Xb(olympe.j.Ca(10));b.D=c;c=new olympe.ui.F.ea.fd;c.Gb(new olympe.j.ga(12,24));c.ad(olympe.j.aa.ONE);c.Xb(olympe.j.Ca(10));b.O=c;return b})}tx(){return S(this,'popupPanel',olympe.ui.F.ea.Fj,void 0,()=>{let a=new olympe.ui.F.ea.Fj;K(a.C,this.Oa);a.La(this.C);return a})}Zr(a){return S(this,
2040
2040
  'alert',olympe.ui.F.ea.Ok,a,()=>{let b=new olympe.ui.F.ea.Ok;b.Gb(new olympe.j.ga(360,1));b.$d(!1);b.Gd(!0);K(b.C,this.Oa);b.La(this.C);var c=this.fontSize.gb(1.5);K(b.D,c);b.Df(this.fontSize.gb(1.5));K(b.O,olympe.sc.Hc.gg.D.PF);K(b.R,olympe.sc.Hc.gg.C.YK);b.Xb(0);return b})}ox(a){return S(this,'grid',olympe.ui.F.ea.Aj,a,()=>{let b=new olympe.ui.F.ea.Aj;b.La(this.$);K(b.C,olympe.sc.Hc.gg.D.GC);K(b.D,olympe.sc.Hc.gg.D.GD);b.bk(30);cg(b);return b})}BA(a){return S(this,'bubble',olympe.ui.F.ea.xp,a,()=>
2041
2041
  {let b=new olympe.ui.F.ea.xp;K(b.D,10);K(b.O,5);K(b.R,10);var c=olympe.j.Color.create(255,255,255);K(b.T,c);c=olympe.j.Color.create(200,200,200);K(b.W,c);K(b.$,1);return b})}zu(a){return S(this,'inputPopup',olympe.ui.F.ea.Wk,a,()=>{let b=new olympe.ui.F.ea.Wk;b.Gb(new olympe.j.ga(500,1));b.$d(!1);b.Gd(!0);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.La(this.$);K(b.D,10);b.Df(10);K(b.R,5);K(b.T,5);K(b.O,'Helvetica');return b})}YA(a){return S(this,'windowComponent',olympe.ui.F.ea.$p,a,()=>{let b=