diff --git a/javascript/build/ee_api_js.js b/javascript/build/ee_api_js.js index c66ef54..0ccf815 100644 --- a/javascript/build/ee_api_js.js +++ b/javascript/build/ee_api_js.js @@ -10,12 +10,12 @@ da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(v var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},fa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ha; if("function"==typeof Object.setPrototypeOf)ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var la=ha,q=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(la)la(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.M=b.prototype}; -da("Promise",function(a){function b(){this.rb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Gg=function(f){if(null==this.rb){this.rb=[];var l=this;this.Hg(function(){l.uk()})}this.rb.push(f)};var d=k.setTimeout;b.prototype.Hg=function(f){d(f,0)};b.prototype.uk=function(){for(;this.rb&&this.rb.length;){var f=this.rb;this.rb=[];for(var l=0;l=a.length)return sc;if(b in a)return{value:a[b++],done:!1};b++}};var d=c.next;c.wc=function(){return tc(d.call(c))};return c}throw Error("Not implemented");},wc=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(d){uc(d)}else for(a=vc(a);;){var c=void 0;try{c=a.wc()}catch(d){if(d===qc)break;throw d;}try{b.call(void 0,c,void 0,a)}catch(d){uc(d)}}};var Bc=function(a){if(a instanceof xc||a instanceof yc||a instanceof zc)return a;if("function"==typeof a.wc)return new xc(function(){return Ac(a)});if("function"==typeof a[Symbol.iterator])return new xc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ha)return new xc(function(){return Ac(a.Ha())});throw Error("Not an iterator or iterable.");},Ac=function(a){if(!(a instanceof rc))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.wc();break}catch(d){if(d!==qc)throw d;b= -!0}return{value:c,done:b}}}},xc=function(a){this.qf=a};xc.prototype.Ha=function(){return new yc(this.qf())};xc.prototype[Symbol.iterator]=function(){return new zc(this.qf())};xc.prototype.ug=function(){return new zc(this.qf())};var yc=function(a){this.vc=a};q(yc,rc);yc.prototype.wc=function(){var a=this.vc.next();if(a.done)throw qc;return a.value};yc.prototype.next=function(){return this.vc.next()};yc.prototype[Symbol.iterator]=function(){return new zc(this.vc)};yc.prototype.ug=function(){return new zc(this.vc)}; +!0}return{value:c,done:b}}}},xc=function(a){this.qf=a};xc.prototype.Ha=function(){return new yc(this.qf())};xc.prototype[Symbol.iterator]=function(){return new zc(this.qf())};xc.prototype.vg=function(){return new zc(this.qf())};var yc=function(a){this.vc=a};q(yc,rc);yc.prototype.wc=function(){var a=this.vc.next();if(a.done)throw qc;return a.value};yc.prototype.next=function(){return this.vc.next()};yc.prototype[Symbol.iterator]=function(){return new zc(this.vc)};yc.prototype.vg=function(){return new zc(this.vc)}; var zc=function(a){xc.call(this,function(){return a});this.vc=a};q(zc,xc);zc.prototype.next=function(){return this.vc.next()};var Cc=function(a,b){this.B={};this.K=[];this.sd=this.size=0;var c=arguments.length;if(12*this.size&&Dc(this),!0):!1};var Dc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return sc;var f=d.K[b++];return{value:a?f:d.B[f],done:!1}};var g=e.next;e.wc=function(){return tc(g.call(e))};return e};h.pb=function(a){this.size=a};var Ec=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Gc=function(a){if(a.S&&"function"==typeof a.S)a=a.S();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Hc=function(a){if(a.ba&&"function"==typeof a.ba)return a.ba();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ta(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Lc)&&5e&&(e+=d);return[a.Ik,c,e,b.y].join("/")};Qc.prototype.Wc=function(){return this.Cb.length};var Sc=function(a){y.call(this,"tileevent");this.count=a};x(Sc,y);var Tc=function(){},Uc=new Tc;function Vc(a){return Object.assign({N:{},jl:{},keys:[],xa:{},s:{},J:{},oh:!1},a)}var C=function(){this.h={}},E=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function Wc(a,b){return E(b,a)}function Xc(a,b,c){b[a]=c}function Yc(){return{}}function Zc(a,b){var c=new a;return null==b?c:$c(b,ad,bd,cd,a)}function ad(a,b){return b[a]}function bd(a,b,c){b.h[a]=c} +Lc.prototype[Symbol.iterator]=function(){return this.values()};Lc.prototype.pb=function(a){this.size=a};var Qc=function(a,b,c){A.call(this);this.Ik=b;this.token=c;this.Cb=[];this.tg=new Lc;this.Ab=0;this.url=a};x(Qc,A);w("ee.AbstractOverlay",Qc);var Rc=function(a,b,c){var d=1<e&&(e+=d);return[a.Ik,c,e,b.y].join("/")};Qc.prototype.Wc=function(){return this.Cb.length};var Sc=function(a){y.call(this,"tileevent");this.count=a};x(Sc,y);var Tc=function(){},Uc=new Tc;function Vc(a){return Object.assign({N:{},jl:{},keys:[],xa:{},s:{},J:{},ph:!1},a)}var C=function(){this.h={}},E=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function Wc(a,b){return E(b,a)}function Xc(a,b,c){b[a]=c}function Yc(){return{}}function Zc(a,b){var c=new a;return null==b?c:$c(b,ad,bd,cd,a)}function ad(a,b){return b[a]}function bd(a,b,c){b.h[a]=c} function cd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} -function $c(a,b,c,d,e){e=d(e);for(var g=dd(a,e),f=g.N||{},l=g.s||{},m=g.xa||{},p={},v=n(g.keys||[]),B=v.next();!B.done;p={Ic:p.Ic},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(f.hasOwnProperty(B)){if(g.oh&&0===D.length)continue;R=ed(D,b,c,d,!0,!0,f[B])}else if(l.hasOwnProperty(B))R=ed(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))p.Ic=m[B],R=p.Ic.ca?D.map(function(Y){return function(U){return fd(U,Y.Ic,b,c,d)}}(p)):fd(D,p.Ic,b,c,d);else if(Array.isArray(D)){if(g.oh&&0===D.length)continue; +function $c(a,b,c,d,e){e=d(e);for(var g=dd(a,e),f=g.N||{},l=g.s||{},m=g.xa||{},p={},v=n(g.keys||[]),B=v.next();!B.done;p={Ic:p.Ic},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(f.hasOwnProperty(B)){if(g.ph&&0===D.length)continue;R=ed(D,b,c,d,!0,!0,f[B])}else if(l.hasOwnProperty(B))R=ed(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))p.Ic=m[B],R=p.Ic.ca?D.map(function(Y){return function(U){return fd(U,Y.Ic,b,c,d)}}(p)):fd(D,p.Ic,b,c,d);else if(Array.isArray(D)){if(g.ph&&0===D.length)continue; R=ed(D,b,c,d,!0,!1)}else R=D instanceof Tc?null:D;c(B,e,R)}}return e}function fd(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=ed(m,c,d,e,b.ea,b.da,b.$))}return g} -function ed(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return $c(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?$c(a,b,c,d,f):a instanceof Tc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function dd(a,b){if(b instanceof C)a=Vc(b.i());else if(a instanceof C)a=Vc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var gd;var jd=function(a,b){this.lg=a===hd&&b||"";this.Yj=id};jd.prototype.zf=!0;jd.prototype.uf=function(){return this.lg};jd.prototype.toString=function(){return"Const{"+this.lg+"}"};var kd=function(a){if(a instanceof jd&&a.constructor===jd&&a.Yj===id)return a.lg;Ia("expected object of type Const, got '"+a+"'");return"type_error:Const"},id={},hd={};var md=function(a,b){this.Sf=b===ld?a:""};md.prototype.zf=!0;md.prototype.uf=function(){return this.Sf.toString()};md.prototype.toString=function(){return this.Sf+""}; +function ed(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return $c(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?$c(a,b,c,d,f):a instanceof Tc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function dd(a,b){if(b instanceof C)a=Vc(b.i());else if(a instanceof C)a=Vc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var gd;var jd=function(a,b){this.mg=a===hd&&b||"";this.Yj=id};jd.prototype.zf=!0;jd.prototype.uf=function(){return this.mg};jd.prototype.toString=function(){return"Const{"+this.mg+"}"};var kd=function(a){if(a instanceof jd&&a.constructor===jd&&a.Yj===id)return a.mg;Ia("expected object of type Const, got '"+a+"'");return"type_error:Const"},id={},hd={};var md=function(a,b){this.Sf=b===ld?a:""};md.prototype.zf=!0;md.prototype.uf=function(){return this.Sf.toString()};md.prototype.toString=function(){return this.Sf+""}; var nd=function(a){if(a instanceof md&&a.constructor===md)return a.Sf;Ia("expected object of type TrustedResourceUrl, got '"+a+"' of type "+sa(a));return"type_error:TrustedResourceUrl"},sd=function(a){var b=kd(od);if(!pd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(qd,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof jd?kd(d):encodeURIComponent(String(d))});return rd(c)},qd=/%{(\w+)}/g,pd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),ld={},rd=function(a){if(void 0===gd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ba,createScript:Ba,createScriptURL:Ba})}catch(d){r.console&&r.console.error(d.message)}gd=b}a=(b=gd)?b.createScriptURL(a):a;return new md(a,ld)};var ud=function(a,b){this.Rf=b===td?a:""};ud.prototype.zf=!0;ud.prototype.uf=function(){return this.Rf.toString()};ud.prototype.toString=function(){return this.Rf.toString()}; var vd=function(a){if(a instanceof ud&&a.constructor===ud)return a.Rf;Ia("expected object of type SafeUrl, got '"+a+"' of type "+sa(a));return"type_error:SafeUrl"},wd=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),xd=function(a){if(wd.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL? @@ -88,68 +88,68 @@ a=c[7]||"",Gd(this),this.Tb=Jd(a)):(this.Da=!!b,this.Fa=new Kd(null,this.Da))}; Ed.prototype.toString=function(){var a=[],b=this.yb;b&&a.push(Ld(b,Md,!0),":");var c=this.mb;if(c||"file"==b)a.push("//"),(b=this.hc)&&a.push(Ld(b,Md,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Ac,null!=c&&a.push(":",String(c));if(c=this.getPath())this.mb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ld(c,"/"==c.charAt(0)?Nd:Od,!0));(c=this.Fa.toString())&&a.push("?",c);(c=this.Tb)&&a.push("#",Ld(c,Pd));return a.join("")}; Ed.prototype.resolve=function(a){var b=this.clone(),c=!!a.yb;c?Fd(b,a.yb):c=!!a.hc;if(c){var d=a.hc;Gd(b);b.hc=d}else c=!!a.mb;c?(d=a.mb,Gd(b),b.mb=d):c=null!=a.Ac;d=a.getPath();if(c)Hd(b,a.Ac);else if(c=!!a.ac){if("/"!=d.charAt(0))if(this.mb&&!this.ac)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var g=[],f=0;fb)throw Error("Bad port number "+b);a.Ac=b}else a.Ac=null};Ed.prototype.getPath=function(){return this.ac};Ed.prototype.setPath=function(a,b){Gd(this);this.ac=b?Jd(a,!0):a;return this};var Id=function(a,b,c){Gd(a);b instanceof Kd?(a.Fa=b,a.Fa.eg(a.Da)):(c||(b=Ld(b,Qd)),a.Fa=new Kd(b,a.Da))};Ed.prototype.getQuery=function(){return this.Fa.toString()}; -Ed.prototype.removeParameter=function(a){Gd(this);this.Fa.remove(a);return this};var Gd=function(a){if(a.Ck)throw Error("Tried to modify a read-only Uri");};Ed.prototype.eg=function(a){this.Da=a;this.Fa&&this.Fa.eg(a)}; +var Fd=function(a,b,c){Gd(a);a.yb=c?Jd(b,!0):b;a.yb&&(a.yb=a.yb.replace(/:$/,""))},Hd=function(a,b){Gd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Ac=b}else a.Ac=null};Ed.prototype.getPath=function(){return this.ac};Ed.prototype.setPath=function(a,b){Gd(this);this.ac=b?Jd(a,!0):a;return this};var Id=function(a,b,c){Gd(a);b instanceof Kd?(a.Fa=b,a.Fa.fg(a.Da)):(c||(b=Ld(b,Qd)),a.Fa=new Kd(b,a.Da))};Ed.prototype.getQuery=function(){return this.Fa.toString()}; +Ed.prototype.removeParameter=function(a){Gd(this);this.Fa.remove(a);return this};var Gd=function(a){if(a.Ck)throw Error("Tried to modify a read-only Uri");};Ed.prototype.fg=function(a){this.Da=a;this.Fa&&this.Fa.fg(a)}; var Rd=function(a){return a instanceof Ed?a.clone():new Ed(a,void 0)},Jd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ld=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Sd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Sd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Md=/[#\/\?@]/g,Od=/[#\?:]/g,Nd=/[#\?]/g,Qd=/[#\?@]/g,Pd=/#/g,Kd=function(a,b){this.Z=this.P=null;this.va=a||null;this.Da=!!b}, Td=function(a){a.P||(a.P=new Map,a.Z=0,a.va&&Dd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Kd.prototype;h.S=function(){Td(this);return this.Z};h.add=function(a,b){Td(this);this.va=null;a=Ud(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.Z=Ja(this.Z)+1;return this};h.remove=function(a){Td(this);a=Ud(this,a);return this.P.has(a)?(this.va=null,this.Z=Ja(this.Z)-this.P.get(a).length,this.P.delete(a)):!1};h.clear=function(){this.P=this.va=null;this.Z=0}; h.isEmpty=function(){Td(this);return 0==this.Z};h.Rb=function(a){Td(this);a=Ud(this,a);return this.P.has(a)};h.Oc=function(a){var b=this.ba();return Va(b,a)};h.forEach=function(a,b){Td(this);this.P.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.vb=function(){Td(this);for(var a=Array.from(this.P.values()),b=Array.from(this.P.keys()),c=[],d=0;d