diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 06211b78f..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Bug report -about: 'NOTICE: Transitioning from GitHub Issues to Google Issue Tracker' -title: 'NOTICE: Do not create new issues here.' -labels: '' -assignees: '' - ---- - -In order to be more responsive to bug reports and feature requests, we are transitioning from using GitHub Issues to Google Issue Tracker, which better integrates with the Earth Engine team's software development workflow. Please see the [Get Help](https://developers.google.com/earth-engine/help) page of the Earth Engine documentation for details on how to browse and submit issues to Issue Tracker. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 15e9e4ff9..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Feature request -about: 'NOTICE: Transitioning from GitHub Issues to Google Issue Tracker' -title: 'NOTICE: Do not create new issues here.' -labels: '' -assignees: '' - ---- - -In order to be more responsive to bug reports and feature requests, we are transitioning from using GitHub Issues to Google Issue Tracker, which better integrates with the Earth Engine team's software development workflow. Please see the [Get Help](https://developers.google.com/earth-engine/help) page of the Earth Engine documentation for details on how to browse and submit issues to Issue Tracker. diff --git a/javascript/build/ee_api_js.js b/javascript/build/ee_api_js.js index d270aa3f8..8df758224 100644 --- a/javascript/build/ee_api_js.js +++ b/javascript/build/ee_api_js.js @@ -1,26 +1,26 @@ (function(){var h,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e}); +da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Yi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Yi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e}); da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;cb||1342177279>>=1)c+=c;return d}}); var ua=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind, arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b|| 1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ua=Array.prototype.forEach?function(a,b){B(null!=a.length);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} -function fb(a){var b=[];if(0>a-0)return[];for(var c=0;ca-0)return[];for(var c=0;c>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)}); -return a[kc]};var D=function(){z.call(this);this.Ha=new Vb(this);this.Pk=this;this.Sf=null};x(D,z);D.prototype[Ab]=!0;h=D.prototype;h.addEventListener=function(a,b,c,d){bc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ic(this,a,b,c,d)}; -h.dispatchEvent=function(a){lc(this);var b=this.Sf;if(b){var c=[];for(var d=1;b;b=b.Sf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Pk;d=a.type||a;if("string"===typeof a)a=new A(a,b);else if(a instanceof A)a.target=a.target||b;else{var e=a;a=new A(d,b);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.ad&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.ad||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.ad||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.ad&&g=a.length)return sc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},uc=function(a,b){if(xa(a))Ua(a,b);else for(a=tc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var yc=function(a){if(a instanceof vc||a instanceof wc||a instanceof xc)return a;if("function"==typeof a.next)return new vc(function(){return a});if("function"==typeof a[Symbol.iterator])return new vc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ca)return new vc(function(){return a.Ca()});throw Error("Not an iterator or iterable.");},vc=function(a){this.sf=a};vc.prototype.Ca=function(){return new wc(this.sf())};vc.prototype[Symbol.iterator]=function(){return new xc(this.sf())}; -vc.prototype.xg=function(){return new xc(this.sf())};var wc=function(a){this.Qc=a};q(wc,rc);wc.prototype.next=function(){return this.Qc.next()};wc.prototype[Symbol.iterator]=function(){return new xc(this.Qc)};wc.prototype.xg=function(){return new xc(this.Qc)};var xc=function(a){vc.call(this,function(){return a});this.Qc=a};q(xc,vc);xc.prototype.next=function(){return this.Qc.next()};var zc=function(a,b){this.A={};this.K=[];this.md=this.size=0;var c=arguments.length;if(12*this.size&&Ac(this),!0):!1};var Ac=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return sc;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.lb=function(a){this.size=a};var Bc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Dc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Ec=function(a){if(a.Z&&"function"==typeof a.Z)return a.Z();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(xa(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Ic)&&5e&&(e+=d);return[a.ml,c,e,b.y].join("/")};Nc.prototype.Jc=function(){return this.zb.length};var Pc=function(a){A.call(this,"tileevent");this.count=a};x(Pc,A);var Qc=function(){},Rc=new Qc;function Sc(a){return Object.assign({},{P:{},Ol:{},keys:[],La:{},s:{},H:{},sh:!1},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Tc(a,b){return F(b,a)}function Uc(a,b,c){b[a]=c}function Vc(){return{}}function Wc(a,b){var c=new a;return null==b?c:Xc(b,Yc,Zc,$c,a)}function Yc(a,b){return b[a]}function Zc(a,b,c){b.h[a]=c} +a.Uc(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!0,d,e)},ic=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)}); +return a[kc]};var D=function(){y.call(this);this.Ia=new Vb(this);this.Qk=this;this.Tf=null};x(D,y);D.prototype[Ab]=!0;h=D.prototype;h.addEventListener=function(a,b,c,d){bc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ic(this,a,b,c,d)}; +h.dispatchEvent=function(a){lc(this);var b=this.Tf;if(b){var c=[];for(var d=1;b;b=b.Tf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Qk;d=a.type||a;if("string"===typeof a)a=new A(a,b);else if(a instanceof A)a.target=a.target||b;else{var e=a;a=new A(d,b);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.bd&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.bd||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.bd||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.bd&&g=a.length)return sc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},uc=function(a,b){if(xa(a))Ua(a,b);else for(a=tc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var yc=function(a){if(a instanceof vc||a instanceof wc||a instanceof xc)return a;if("function"==typeof a.next)return new vc(function(){return a});if("function"==typeof a[Symbol.iterator])return new vc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Da)return new vc(function(){return a.Da()});throw Error("Not an iterator or iterable.");},vc=function(a){this.tf=a};vc.prototype.Da=function(){return new wc(this.tf())};vc.prototype[Symbol.iterator]=function(){return new xc(this.tf())}; +vc.prototype.yg=function(){return new xc(this.tf())};var wc=function(a){this.Rc=a};q(wc,rc);wc.prototype.next=function(){return this.Rc.next()};wc.prototype[Symbol.iterator]=function(){return new xc(this.Rc)};wc.prototype.yg=function(){return new xc(this.Rc)};var xc=function(a){vc.call(this,function(){return a});this.Rc=a};q(xc,vc);xc.prototype.next=function(){return this.Rc.next()};var zc=function(a,b){this.A={};this.K=[];this.nd=this.size=0;var c=arguments.length;if(12*this.size&&Ac(this),!0):!1};var Ac=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return sc;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.mb=function(a){this.size=a};var Bc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Dc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(xa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Ec=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();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(xa(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof Ic)&&5e&&(e+=d);return[a.nl,c,e,b.y].join("/")};Nc.prototype.Kc=function(){return this.Ab.length};var Pc=function(a){A.call(this,"tileevent");this.count=a};x(Pc,A);var Qc=function(){},Rc=new Qc;function Sc(a){return Object.assign({},{P:{},Pl:{},keys:[],Ma:{},s:{},H:{},th:!1},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Tc(a,b){return F(b,a)}function Uc(a,b,c){b[a]=c}function Vc(){return{}}function Wc(a,b){var c=new a;return null==b?c:Xc(b,Yc,Zc,$c,a)}function Yc(a,b){return b[a]}function Zc(a,b,c){b.h[a]=c} function $c(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a} -function Xc(a,b,c,d,e){e=d(e);for(var g=ad(a,e),f=g.P||{},l=g.s||{},m=g.La||{},p=n(g.keys||[]),v=p.next(),y={};!v.done;y={Uc:y.Uc},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var Q=void 0;if(f.hasOwnProperty(v)){if(g.sh&&0===C.length)continue;Q=bd(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))Q=bd(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))y.Uc=m[v],Q=y.Uc.oa?C.map(function(oa){return function(R){return cd(R,oa.Uc,b,c,d)}}(y)):cd(C,y.Uc,b,c,d);else if(Array.isArray(C)){if(g.sh&&0===C.length)continue; -Q=bd(C,b,c,d,!0,!1)}else Q=C instanceof Qc?null:C;c(v,e,Q)}}return e}function cd(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]=bd(m,c,d,e,b.qa,b.pa,b.ja))}return g} -function bd(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 Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.Uf=a};fd.prototype.toString=function(){return this.Uf+""};fd.prototype.Pc=!0;fd.prototype.Lc=function(){return this.Uf.toString()}; -var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.Uf;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,wa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};var jd=function(a,b){if(b!==id)throw Error("SafeUrl is not meant to be built directly");this.Tf=a};jd.prototype.toString=function(){return this.Tf.toString()};jd.prototype.Pc=!0;jd.prototype.Lc=function(){return this.Tf.toString()};var kd=function(a){if(a instanceof jd&&a.constructor===jd)return a.Tf;Na("expected object of type SafeUrl, got '"+a+"' of type "+wa(a));return"type_error:SafeUrl"},id={},ld=new jd("about:invalid#zClosurez",id);new jd("about:blank",id);var md={},nd=function(){if(md!==md)throw Error("SafeStyle is not meant to be built directly");this.oi="";this.Pc=!0};nd.prototype.Lc=function(){return this.oi};nd.prototype.toString=function(){return this.oi.toString()};new nd;var od={},pd=function(){if(od!==od)throw Error("SafeStyleSheet is not meant to be built directly");this.ni="";this.Pc=!0};pd.prototype.toString=function(){return this.ni.toString()};pd.prototype.Lc=function(){return this.ni};new pd;var qd={},rd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(qd!==qd)throw Error("SafeHtml is not meant to be built directly");this.mi=a;this.Pc=!0};rd.prototype.Lc=function(){return this.mi.toString()};rd.prototype.toString=function(){return this.mi.toString()};new rd;var td=function(a,b){if(!t(a)||!t(a)||!t(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(t(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d=""}else d=void 0===a?"undefined":null===a?"null":typeof a;Na("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView|| -r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&sd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=gd(b)},sd=/^[\w+/_-]+[=]{0,2}$/;var ud=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1b)throw Error("Bad port number "+b);a.uc=b}else a.uc=null};yd.prototype.getPath=function(){return this.Yb};yd.prototype.setPath=function(a,b){Ad(this);this.Yb=b?Dd(a,!0):a;return this};var Cd=function(a,b,c){Ad(a);b instanceof Ed?(a.Aa=b,a.Aa.hg(a.ya)):(c||(b=Fd(b,Kd)),a.Aa=new Ed(b,a.ya))};yd.prototype.getQuery=function(){return this.Aa.toString()}; -yd.prototype.removeParameter=function(a){Ad(this);this.Aa.remove(a);return this};var Ad=function(a){if(a.hl)throw Error("Tried to modify a read-only Uri");};yd.prototype.hg=function(a){this.ya=a;this.Aa&&this.Aa.hg(a)}; -var Ld=function(a){return a instanceof yd?a.clone():new yd(a)},Dd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Fd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Md),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Md=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Gd=/[#\/\?@]/g,Id=/[#\?:]/g,Hd=/[#\?]/g,Kd=/[#\?@]/g,Jd=/#/g,Ed=function(a,b){this.X=this.N=null;this.sa=a||null;this.ya=!!b},Nd= -function(a){a.N||(a.N=new Map,a.X=0,a.sa&&xd(a.sa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Ed.prototype;h.R=function(){Nd(this);return this.X};h.add=function(a,b){Nd(this);this.sa=null;a=Od(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.X=Oa(this.X)+1;return this};h.remove=function(a){Nd(this);a=Od(this,a);return this.N.has(a)?(this.sa=null,this.X=Oa(this.X)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.sa=null;this.X=0}; -h.isEmpty=function(){Nd(this);return 0==this.X};h.Ob=function(a){Nd(this);a=Od(this,a);return this.N.has(a)};h.Ec=function(a){var b=this.Z();return $a(b,a)};h.forEach=function(a,b){Nd(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.sb=function(){Nd(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d"}else d=void 0===a?"undefined":null===a?"null":typeof a;Na("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView|| +r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&sd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=gd(b)},sd=/^[\w+/_-]+[=]{0,2}$/;var ud=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1b)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};yd.prototype.getPath=function(){return this.Zb};yd.prototype.setPath=function(a,b){Ad(this);this.Zb=b?Dd(a,!0):a;return this};var Cd=function(a,b,c){Ad(a);b instanceof Ed?(a.Ba=b,a.Ba.ig(a.za)):(c||(b=Fd(b,Kd)),a.Ba=new Ed(b,a.za))};yd.prototype.getQuery=function(){return this.Ba.toString()}; +yd.prototype.removeParameter=function(a){Ad(this);this.Ba.remove(a);return this};var Ad=function(a){if(a.il)throw Error("Tried to modify a read-only Uri");};yd.prototype.ig=function(a){this.za=a;this.Ba&&this.Ba.ig(a)}; +var Ld=function(a){return a instanceof yd?a.clone():new yd(a)},Dd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Fd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Md),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Md=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Gd=/[#\/\?@]/g,Id=/[#\?:]/g,Hd=/[#\?]/g,Kd=/[#\?@]/g,Jd=/#/g,Ed=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},Nd= +function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&xd(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Ed.prototype;h.R=function(){Nd(this);return this.Y};h.add=function(a,b){Nd(this);this.ta=null;a=Od(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=Oa(this.Y)+1;return this};h.remove=function(a){Nd(this);a=Od(this,a);return this.N.has(a)?(this.ta=null,this.Y=Oa(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.ta=null;this.Y=0}; +h.isEmpty=function(){Nd(this);return 0==this.Y};h.Pb=function(a){Nd(this);a=Od(this,a);return this.N.has(a)};h.Fc=function(a){var b=this.aa();return $a(b,a)};h.forEach=function(a,b){Nd(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.tb=function(){Nd(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d