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CAAAvD,IAAA,cAAAjG,MAED,SAAY2J,GACRtC,KAAKoC,WAAWxF,KAAK0F,EACzB,GAAC,CAAA1D,IAAA,MAAAjG,MAED,SAAIiG,GACA,OAAOoB,KAAKmC,IAAItB,IAAIjC,EACxB,GAAC,CAAAA,IAAA,uBAAAjG,MAED,SAAqB4J,EAAUzC,EAAa0C,EAAeC,GAAU,IAAAC,EAAA,KACjE,yFACKnE,OAAM,SAACoE,GACJ,MAAMA,CACV,IACCrH,MAAK,SAACsH,GACHA,EAAOC,QAAQN,EAAUzC,EAAa0C,EAAeC,EAAUC,EAAK7B,IAAI,OAC5E,GACR,GAAC,CAAAjC,IAAA,0BAAAjG,MAED,SAAwB4J,EAAUO,EAASC,GAAO,IAAAC,EAAA,KAC9C,sDACKzE,OAAM,SAACoE,GACJ,MAAMA,CACV,IACCrH,MAAK,SAACsH,GACHA,EAAOC,QAAQN,EAAUO,EAASC,EAAOC,EAAKnC,IAAI,OACtD,GACR,GAAC,CAAAjC,IAAA,2BAAAjG,MAED,SAAyBsK,EAAQC,EAAYC,GACzC,+DACK5E,OAAM,SAACoE,GACJ,MAAMA,CACV,IACCrH,MAAK,SAACsH,GACHA,EAAOC,QAAQI,EAAQC,EAAYC,EACvC,GACR,GAAC,CAAAvE,IAAA,iBAAAjG,MAED,SAAeyK,EAAiBC,GAC5B,iFACK9E,OAAM,SAACoE,GACJ,MAAMA,CACV,IACCrH,MAAK,SAACsH,GACHA,EAAOC,QAAQO,EAAiBC,EACpC,GACR,mFAAC,CAhEI,GAmETC,OAAOpB,IAAM,IAAIA","sources":["webpack:///./front/js/utils/url.js","webpack:///./front/js/services/Api.js","webpack:///./front/js/services/Container.js","webpack:///./front/js/app.js","webpack:///./front/js/services.js"],"sourcesContent":["import qs from 'qs'\n\nexport default function stringify(params) {\n return qs.stringify(params, { arrayFormat: 'brackets' })\n}\n","import 'whatwg-fetch'\nimport { saveAs } from 'file-saver'\nimport stringify from '../utils/url'\n\nexport default class Api {\n myFetch(url, callback, errorCallback = null, options = {}) {\n if (options.headers === undefined) {\n options.headers = {}\n }\n\n options.headers['X-Requested-With'] = 'XMLHttpRequest'\n\n fetch(url, options).then((response) => {\n if (response.ok) {\n if (response.status !== 204) {\n response.json().then(callback)\n } else {\n callback()\n }\n } else if (errorCallback !== null) {\n response.json().then(errorCallback)\n }\n })\n }\n\n fetchProjectData(projectUuid, queryParams, callback) {\n this.myFetch(`/espace-client/api/projects/${projectUuid}?${stringify(queryParams)}`, callback)\n }\n\n exportIndicator(projectUuid, format, data) {\n fetch(`/espace-client/projets/${projectUuid}/export.${format}`, {\n method: 'POST',\n body: JSON.stringify(data),\n headers: {\n 'Content-Type': 'application/json',\n },\n }).then(async (response) => {\n const blob = await response.blob()\n\n const fileName = response.headers.has('content-disposition')\n ? response.headers.get('content-disposition').split('filename=')[1].replace(/\"/g, '')\n : null\n\n saveAs(blob, fileName)\n })\n }\n\n fetchCrossProjectsData(projectUuid, queryParams, callback) {\n this.myFetch(`/espace-client/api/projects/${projectUuid}/cross-projects?${stringify(queryParams)}`, callback)\n }\n\n calculateIsochronePolygon(point, mode, duration, apiKey, callback, errorCallback) {\n this.myFetch(\n `https://api.mapbox.com/isochrone/v1/mapbox/${mode}/${point.lng}%2C${point.lat}?contours_minutes=${duration}&generalize=25&polygons=true&denoise=0.5&access_token=${apiKey}`,\n callback,\n errorCallback\n )\n }\n}\n","export default class Container {\n constructor(values) {\n this._values = {}\n this._keys = {}\n this._instances = {}\n\n Object.keys(values || {}).forEach((key) => {\n this.set(key, values[key])\n })\n }\n\n set(key, callback) {\n this._values[key] = callback\n this._keys[key] = true\n }\n\n get(key) {\n if (typeof this._keys[key] === 'undefined') {\n throw new ReferenceError(`Identifier ${key} is not defined.`)\n }\n\n if (typeof this._values[key] !== 'function') {\n return this._values[key]\n }\n\n if (typeof this._instances[key] === 'undefined') {\n this._instances[key] = this._values[key]()\n }\n\n return this._instances[key]\n }\n\n has(key) {\n return typeof this._keys[key] !== 'undefined'\n }\n}\n","import Container from './services/Container'\nimport registerServices from './services'\n\nclass App {\n constructor() {\n this._di = null\n this._listeners = []\n }\n\n run(parameters) {\n this._di = new Container(parameters)\n\n // Register the services\n registerServices(this._di)\n\n // Execute the page load listeners\n this._listeners.forEach((listener) => {\n listener(this._di)\n })\n }\n\n addListener(listener) {\n this._listeners.push(listener)\n }\n\n get(key) {\n return this._di.get(key)\n }\n\n runIndicatorViewPage(selector, projectUuid, configuration, projects) {\n import('./pages/indicator_view')\n .catch((error) => {\n throw error\n })\n .then((module) => {\n module.default(selector, projectUuid, configuration, projects, this.get('api'))\n })\n }\n\n runViewProjectTablePage(selector, project, zones) {\n import('./pages/view_project_table')\n .catch((error) => {\n throw error\n })\n .then((module) => {\n module.default(selector, project, zones, this.get('api'))\n })\n }\n\n runCatalogIndicatorsPage(locale, indicators, categories) {\n import('./pages/indicator_list')\n .catch((error) => {\n throw error\n })\n .then((module) => {\n module.default(locale, indicators, categories)\n })\n }\n\n runRedZonePage(wrapperSelector, config) {\n import('./pages/redzone')\n .catch((error) => {\n throw error\n })\n .then((module) => {\n module.default(wrapperSelector, config)\n })\n }\n}\n\nwindow.App = new App()\n","import Api from './services/Api'\n\nexport default (di) => {\n di.set('api', () => new Api())\n}\n"],"names":["stringify","params","qs","arrayFormat","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","asyncGeneratorStep","_defineProperties","_toPropertyKey","key","toPrimitive","String","_toPrimitive","Api","_classCallCheck","url","callback","errorCallback","arguments","undefined","options","headers","fetch","response","ok","status","json","projectUuid","queryParams","this","myFetch","concat","format","data","body","JSON","_ref","_callee","blob","fileName","_context","has","get","split","replace","saveAs","apply","_next","_throw","_x","point","mode","duration","apiKey","lng","lat","Container","_this","_values","_keys","_instances","set","ReferenceError","App","_di","_listeners","parameters","listener","selector","configuration","projects","_this2","error","module","default","project","zones","_this3","locale","indicators","categories","wrapperSelector","config","window"],"sourceRoot":""}