{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/core/workers/request.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAAU,CAAC,2BAAW,CAAC,mCAAE,oBAAoB,aAAa,MAAM,sCAAsC,SAAS,2CAA2C,iBAAiB,EAAE,qBAAqB,8EAA8E,kBAAkB,wDAAwD,gBAAgB,EAAE,SAAS,oBAAoB,qBAAqB,iJAAiJ,IAAI,sBAAsB,SAAS,8BAA8B,KAAK,uBAAuB,EAAE,0CAA0C,YAAY,0BAA0B,WAAW,uBAAuB,EAAE,iDAAiD,UAAU,eAAe,MAAM,eAAe,MAAM,eAAe,MAAM,YAAY,OAAO,yCAAyC,IAAI;AAAA,oGAAE,C","file":"js/chunk-773855f6.001d6e6d.js","sourcesContent":["// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../Error\",\"../global\"],(function(e,r,s,t,n){\"use strict\";var a;Object.defineProperty(r,\"__esModule\",{value:!0}),r.execute=void 0,r.execute=function(e,r){void 0===r&&(r={});var o=r.responseType;o?\"json\"!==o&&\"text\"!==o&&\"blob\"!==o&&\"array-buffer\"!==o&&(o=\"text\"):o=\"json\";var i=r&&r.signal;return delete r.signal,n.invokeStaticMessage(\"request\",{url:e,options:r},{signal:i}).then((function(n){var i,u,l,c,b=n.data;if(b&&!(\"json\"!==o&&\"text\"!==o&&\"blob\"!==o||(i=new Blob([b]),\"json\"!==o&&\"text\"!==o||(a||(a=new FileReaderSync),u=a.readAsText(i),\"json\"!==o)))){try{l=JSON.parse(u||null)}catch(n){var d=s.__assign(s.__assign({},n),{url:e,requestOptions:r});throw new t(\"request:server\",n.message,d)}if(l.error){d=s.__assign(s.__assign({},l.error),{url:e,requestOptions:r});throw new t(\"request:server\",l.error.message,d)}}switch(o){case\"json\":c=l;break;case\"text\":c=u;break;case\"blob\":c=i;break;default:c=b}return{data:c,requestOptions:r,ssl:n.ssl,url:e}}))}}));"],"sourceRoot":""}