diff --git a/javascript/build/ee_api_js.js b/javascript/build/ee_api_js.js index ae86c09cc..f924959b5 100644 --- a/javascript/build/ee_api_js.js +++ b/javascript/build/ee_api_js.js @@ -1,8 +1,8 @@ (function(){var h,aa=aa||{},k=this,m=function(a){return void 0!==a},ba=function(){},ca=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!= typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},da=function(a){return null!=a},n=function(a){return"array"==ca(a)},ea=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},p=function(a){return"string"==typeof a},q=function(a){return"number"==typeof a},r=function(a){return"function"==ca(a)},t=function(a){var b=typeof a;return"object"==b&&null!=a|| "function"==b},fa="closure_uid_"+(1E9*Math.random()>>>0),ga=0,ha=function(a,b,c){return a.call.apply(a.bind,arguments)},ia=function(a,b,c){if(!a)throw Error();if(2")&&(a=a.replace(ra,">"));-1!=a.indexOf('"')&&(a=a.replace(sa,"""));-1!=a.indexOf("'")&& +ha:ia;return u.apply(null,arguments)},ja=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},ka=Date.now||function(){return+new Date},v=function(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&m(b)?c[d]=b:c=c[d]&&Object.prototype.hasOwnProperty.call(c,d)?c[d]:c[d]={}},x=function(a,b){function c(){}c.prototype=b.prototype;a.j=b.prototype; +a.prototype=new c;a.prototype.constructor=a;a.Ee=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e")&&(a=a.replace(ra,">"));-1!=a.indexOf('"')&&(a=a.replace(sa,"""));-1!=a.indexOf("'")&& (a=a.replace(ta,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(ua,"�"));return a},pa=/&/g,qa=//g,sa=/"/g,ta=/'/g,ua=/\x00/g,oa=/[\x00&<>"']/,wa=function(a,b){return ab?1:0};var xa=function(a,b){b.unshift(a);y.call(this,ma.apply(null,b));b.shift()};x(xa,y);xa.prototype.name="AssertionError"; var ya=function(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),f=d;else a&&(e+=": "+a,f=b);throw new xa(""+e,f||[]);},z=function(a,b,c){a||ya("",null,b,Array.prototype.slice.call(arguments,2));return a},za=function(a,b){throw new xa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Aa=function(a,b,c){q(a)||ya("Expected number but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ba=function(a,b,c){r(a)||ya("Expected function but got %s: %s.",[ca(a), a],b,Array.prototype.slice.call(arguments,2))},Ca=function(a,b,c){t(a)||ya("Expected object but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2))},Da=function(a,b,c){n(a)||ya("Expected array but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2))};var Ea=Array.prototype.indexOf?function(a,b,c){z(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(p(a))return p(b)&&1==b.length?a.indexOf(b,c):-1;for(;cc&&(c=Math.max(0,a.length+c));if(p(a))return p(b)&&1== @@ -210,11 +210,11 @@ Ki.prototype.ve=function(){if(!this.Aa){var a=u(function(a){this.Aa||(ng(this.C, x(Oi,A);Oi.prototype.setActive=function(a){this.N=a};Oi.prototype.rd=function(){return this.N};var Ji=function(a,b){hg.call(this,a,b)};x(Ji,hg);Ji.prototype.ec=function(){return new Oi};Ji.prototype.nb=function(a){a.T()};Ji.prototype.zc=function(a){return!a.aa&&!a.rd()};var Y=function(a,b,c,d,e){tg.call(this,a,b,c);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.zb=m(d.zb)?d.zb:!0;this.name=d.name;this.Mc=new yd;this.Ac=1;this.J=e||null};x(Y,tg);v("ee.MapLayerOverlay",Y);Y.prototype.Yb=function(a){return Sb(this,"tileevent",a)};Y.prototype.addTileCallback=Y.prototype.Yb;Y.prototype.Ec=function(a){ac(a)}; Y.prototype.removeTileCallback=Y.prototype.Ec;Y.prototype.getTile=function(a,b,c){if(ba.y||a.y>=1< uri.indexOf("#") && 0 > uri.indexOf("?"), "goog.uri.utils: Fragment or query identifiers are not supported: [%s]", uri); }; goog.uri.utils.parseQueryData = function(encodedQuery, callback) { if (encodedQuery) { @@ -10408,7 +10409,6 @@ goog.structs.Pool = function(opt_minCount, opt_maxCount) { this.delay = 0; this.lastAccess = null; this.adjustForMinMax(); - var magicProps = {canBeReused:0}; }; goog.inherits(goog.structs.Pool, goog.Disposable); goog.structs.Pool.ERROR_MIN_MAX_ = "[goog.structs.Pool] Min can not be greater than max"; diff --git a/python/ee/oauth.py b/python/ee/oauth.py index cd97f6e5d..ff03fa55d 100644 --- a/python/ee/oauth.py +++ b/python/ee/oauth.py @@ -32,7 +32,7 @@ CLIENT_SECRET = 'RUP0RZ6e0pPhDzsqIJ7KlNd1' REDIRECT_URI = 'urn:ietf:wg:oauth:2.0:oob' # Prompts user to copy-paste code SCOPE = ('https://www.googleapis.com/auth/earthengine' - ' https://www.googleapis.com/auth/devstorage.read_write') + ' https://www.googleapis.com/auth/devstorage.full_control') TOKEN_REQ_URL = 'https://accounts.google.com/o/oauth2/token'