THREE.XHRLoader.prototype={constructor:THREE.XHRLoader,load:function(a,b,c,d){void0!==this.path&&(a=this.path+a);vare=this,f=THREE.Cache.get(a);if(void0!==f)returnb&&setTimeout(function(){b(f)},0),f;varg=newXMLHttpRequest;g.overrideMimeType("text/plain");g.open("GET",a,!0);g.addEventListener("load",function(c){varf=c.target.response;THREE.Cache.add(a,f);200===this.status?(b&&b(f),e.manager.itemEnd(a)):0===this.status?(console.warn("THREE.XHRLoader: HTTP Status 0 received."),b&&b(f),e.manager.itemEnd(a)):
THREE.XHRLoader.prototype={constructor:THREE.XHRLoader,load:function(a,b,c,d){void0!==this.path&&(a=this.path+a);vare=this,f=THREE.Cache.get(a);if(void0!==f)returnb&&setTimeout(function(){b(f)},0),f;varg=newXMLHttpRequest;g.overrideMimeType("text/plain");g.open("GET",a,!0);g.addEventListener("load",function(c){varf=c.target.response;THREE.Cache.add(a,f);200===this.status?(b&&b(f),e.manager.itemEnd(a)):0===this.status?(console.warn("THREE.XHRLoader: HTTP Status 0 received."),b&&b(f),e.manager.itemEnd(a)):
d(b);e.manager.itemError(a)},!1);void0!==this.crossOrigin&&(g.crossOrigin=this.crossOrigin);e.manager.itemStart(a);g.src=a;returng},setCrossOrigin:function(a){this.crossOrigin=a},setPath:function(a){this.path=a}};THREE.JSONLoader=function(a){"boolean"===typeofa&&(console.warn("THREE.JSONLoader: showStatus parameter has been removed from constructor."),a=void0);this.manager=void0!==a?a:THREE.DefaultLoadingManager;this.withCredentials=!1};
d(b);e.manager.itemError(a)},!1);void0!==this.crossOrigin&&(g.crossOrigin=this.crossOrigin);e.manager.itemStart(a);g.src=a;returng},setCrossOrigin:function(a){this.crossOrigin=a},setPath:function(a){this.path=a}};THREE.JSONLoader=function(a){"boolean"===typeofa&&(console.warn("THREE.JSONLoader: showStatus parameter has been removed from constructor."),a=void0);this.manager=void0!==a?a:THREE.DefaultLoadingManager;this.withCredentials=!1};
THREE.JSONLoader.prototype={constructor:THREE.JSONLoader,getstatusDomElement(){void0===this._statusDomElement&&(this._statusDomElement=document.createElement("div"));console.warn("THREE.JSONLoader: .statusDomElement has been removed.");returnthis._statusDomElement},load:function(a,b,c,d){vare=this,f=this.texturePath&&"string"===typeofthis.texturePath?this.texturePath:THREE.Loader.prototype.extractUrlBase(a),g=newTHREE.XHRLoader(this.manager);g.setWithCredentials(this.withCredentials);g.load(a,
THREE.JSONLoader.prototype={constructor:THREE.JSONLoader,getstatusDomElement(){void0===this._statusDomElement&&(this._statusDomElement=document.createElement("div"));console.warn("THREE.JSONLoader: .statusDomElement has been removed.");returnthis._statusDomElement},load:function(a,b,c,d){vare=this,f=this.texturePath&&"string"===typeofthis.texturePath?this.texturePath:THREE.Loader.prototype.extractUrlBase(a),g=newTHREE.XHRLoader(this.manager);g.setWithCredentials(this.withCredentials);g.load(a,