import{__awaiter as n,__extends as r,__generator as t}from"tslib";import e from"./core/Instance";import{EventEmitter as i}from"events";var o=function(){};export{o as M3CesiumConstruction};var u=function(i){function o(r){var o=i.call(this)||this;return o.t=e,o.i=r.o,n(o,void 0,void 0,(function(){return t(this,(function(n){switch(n.label){case 0:return[4,this.u()];case 1:return n.s(),[2]}}))})),o}return r(o,i),o.prototype.u=function(){return n(this,void 0,void 0,(function(){var r,i,o,u,s,c,w,a,d,f,h,v,m,p,l,x,y=this;return t(this,(function(b){switch(b.label){case 0:return r=this.i,[4,e.h()];case 1:return i=b.s(),[4,e.v()];case 2:return o=b.s(),[4,e.m()];case 3:return u=b.s(),[4,e.p()];case 4:return s=b.s(),[4,e.l()];case 5:return c=b.s(),[4,e.I(r)];case 6:return w=b.s(),[4,e.P(w.g)];case 7:return a=b.s(),[4,e.j(w.g)];case 8:return d=b.s(),[4,e.k(w.g)];case 9:return f=b.s(),[4,e.q(w.g)];case 10:return h=b.s(),[4,e.A(w.g)];case 11:return b.s(),[4,e.B(w.g)];case 12:return v=b.s(),[4,e.C()];case 13:return m=b.s(),[4,e.D(w.g)];case 14:return p=b.s(),[4,e.F(w.g)];case 15:return l=b.s(),[4,e.G()];case 16:return x=b.s(),f.H("moveEnd",(function(){return n(y,void 0,void 0,(function(){return t(this,(function(n){switch(n.label){case 0:return[4,v.create("latest")];case 1:return n.s(),[2]}}))}))})),process.env.NODE_ENV,window.t=e,window.cAn=s,window.cCa=a,window.cCe=w,window.cCl=i,window.cLp=u,window.cPo=f,window.cSc=d,window.cStg=h,window.cSW=o,window.cVP=v,window.cWo=m,window.cCp=p,window.cMe=l,window.cBiz=x,window.cSt=c,this.J("ready",this),[4,s.K(1e3)];case 17:return b.s(),w.L(!0),d.M=!1,[4,s.K(1e3)];case 18:return b.s(),d.M=!0,[2]}}))}))},o.N=function(r){return n(this,void 0,void 0,(function(){return t(this,(function(n){return[2,new Promise((function(n){new o(r).once("ready",n)}))]}))}))},o}(i);export default u;