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C,KAAK,KAAM,IAC3DqC,EAAmB9O,KAAOyO,EAAqBhC,KAAK,KAAMqC,EAAmB9O,KAAKyM,KAAKqC,G,ICpFvF,IAAIE,EAAsB3H,EAAoBU,OAAE1R,EAAW,CAAC,OAAO,WAAa,OAAOgR,EAAoB,MAAQ,IACnH2H,EAAsB3H,EAAoBU,EAAEiH,E","sources":["webpack://MonReservoirUtilisable/./src/api/auth.ts","webpack://MonReservoirUtilisable/./src/helpers/apiHelper.ts","webpack://MonReservoirUtilisable/./src/helpers/serviceParamsHandler.ts","webpack://MonReservoirUtilisable/./src/components/modals/NotificationSnackbar.vue?fcaf","webpack://MonReservoirUtilisable/./src/components/modals/NotificationSnackbar.vue","webpack://MonReservoirUtilisable/./src/components/modals/ErrorModal.vue?0942","webpack://MonReservoirUtilisable/./src/components/modals/ErrorModal.vue","webpack://MonReservoirUtilisable/./src/components/layouts/visAppBar.vue?ca50","webpack://MonReservoirUtilisable/./src/components/layouts/visAppBar.vue","webpack://MonReservoirUtilisable/./src/App.vue?cb76","webpack://MonReservoirUtilisable/./src/App.vue","webpack://MonReservoirUtilisable/./src/plugins/vuetify.ts","webpack://MonReservoirUtilisable/./src/plugins/webfontloader.ts","webpack://MonReservoirUtilisable/./src/main.ts","webpack://MonReservoirUtilisable/./src/router/index.ts","webpack://MonReservoirUtilisable/./src/store/useAuthentification.ts","webpack://MonReservoirUtilisable/./src/store/useErrors.ts","webpack://MonReservoirUtilisable/./src/store/useNotificationSnackBar.ts","webpack://MonReservoirUtilisable/./src/types/api.ts","webpack://MonReservoirUtilisable/./src/types/ui.ts","webpack://MonReservoirUtilisable/./src/types/userAA.ts","webpack://MonReservoirUtilisable/webpack/bootstrap","webpack://MonReservoirUtilisable/webpack/runtime/chunk loaded","webpack://MonReservoirUtilisable/webpack/runtime/compat get default export","webpack://MonReservoirUtilisable/webpack/runtime/create fake namespace object","webpack://MonReservoirUtilisable/webpack/runtime/define property getters","webpack://MonReservoirUtilisable/webpack/runtime/ensure chunk","webpack://MonReservoirUtilisable/webpack/runtime/get javascript chunk filename","webpack://MonReservoirUtilisable/webpack/runtime/get mini-css chunk filename","webpack://MonReservoirUtilisable/webpack/runtime/global","webpack://MonReservoirUtilisable/webpack/runtime/hasOwnProperty shorthand","webpack://MonReservoirUtilisable/webpack/runtime/load script","webpack://MonReservoirUtilisable/webpack/runtime/make namespace object","webpack://MonReservoirUtilisable/webpack/runtime/node module decorator","webpack://MonReservoirUtilisable/webpack/runtime/publicPath","webpack://MonReservoirUtilisable/webpack/runtime/css loading","webpack://MonReservoirUtilisable/webpack/runtime/jsonp chunk loading","webpack://MonReservoirUtilisable/webpack/startup"],"sourcesContent":["import { LoginForm, UserToken, User } from \"@/types/auth/user\";\nimport { postWithoutAuth, fetchWithtAuth } from \"@/helpers/apiHelper\";\nimport { UserAA } from \"@/types/userAA\";\nimport { ApiItem } from \"@/types/api\";\n\n// #NO_AUTH\nexport const loginTest = (payload: LoginForm): Promise => {\n return new Promise((resolve, reject) => {\n // Liste user\n fetch(\"./users.json\")\n .then((response) => response.json())\n .then((users) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const user = users.find((u: User) => u.login === payload.login);\n if (user) {\n resolve({\n login: user.login,\n token: user.id,\n });\n } else {\n reject(\"401\");\n }\n });\n });\n};\nexport const login = (payload: LoginForm): Promise => {\n return postWithoutAuth(`login`, payload);\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const getCurrentUser = async (): Promise> => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const i: any = await fetchWithtAuth(`current_user`);\n //i = i.data;\n i.data = new UserAA(i.data);\n return i;\n};\n\n// #NO_AUTH\nexport const fetchUser = (payload: UserToken): Promise => {\n return new Promise((resolve, reject) => {\n // Liste user\n fetch(\"./users.json\")\n .then((response) => response.json())\n .then((users) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const user = users.find(\n (u: User) => String(u.id) === String(payload.token),\n );\n if (user) {\n resolve(user);\n } else {\n reject(\"401\");\n }\n });\n });\n};\n// export const login = (): Promise> => {\n// return postWithoutAuth(`login`);\n// };\n\n// #NO_AUTH\nexport const refreshToken = (payload: UserToken): Promise => {\n return new Promise((resolve, reject) => {\n // Liste user\n fetch(\"./users.json\")\n .then((response) => response.json())\n .then((users) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const user = users.find(\n (u: User) => String(u.id) === String(payload.token),\n );\n if (user) {\n resolve(payload);\n } else {\n reject(\"401\");\n }\n });\n });\n};\n// export const login = (): Promise> => {\n// return postWithoutAuth(`refreshtoken`);\n// };\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { handleServiceParams } from \"@/helpers/serviceParamsHandler\";\nimport {\n currentTokenUser,\n isLoggedIn,\n currentProfil,\n} from \"@/store/useAuthentification\";\nimport { ApiError } from \"@/types/api\";\nconst TIMEOUT = 300000;\nenum Methods {\n GET = \"GET\",\n POST = \"POST\",\n PUT = \"PUT\",\n DELETE = \"DELETE\",\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst createFetch = async (\n url: string,\n method: Methods,\n withAuth = false,\n data: any = undefined,\n params: any = {},\n): Promise => {\n const controller = new AbortController();\n const signal = controller.signal;\n let headers = {};\n if (\n (method === Methods.POST || method === Methods.PUT) &&\n data instanceof FormData === false\n ) {\n headers = {\n ...headers,\n \"Content-Type\": \"application/json\",\n \"Content-Length\": 0,\n };\n }\n if (withAuth) {\n if (!isLoggedIn.value) {\n throw new Error(\"Avec Authent, mais non authentifié\");\n }\n headers = {\n ...headers,\n Authorization: `Bearer ${currentTokenUser.value.token}`,\n };\n }\n let body = null as FormData | string | null;\n if (data) {\n if (data instanceof FormData) {\n body = data;\n } else {\n body =\n typeof data === \"string\" || data instanceof String\n ? String(data)\n : JSON.stringify(data);\n headers = {\n ...headers,\n \"Content-Length\": String(body.length),\n };\n }\n }\n params[\"user_profil\"] = currentProfil.value?.code;\n // if (params == null) {\n // params = { user_profil: currentProfil.value?.code };\n // } else {\n // params[\"user_profil\"] = currentProfil.value?.code;\n // }\n\n setTimeout(() => {\n controller.abort();\n }, TIMEOUT);\n\n //const fullUrl = `${process.env.VUE_APP_BASE_API}${url}`;\n const fullUrl = new URL(`${process.env.VUE_APP_BASE_API}${url}`);\n if (params) fullUrl.search = handleServiceParams(params).toString();\n\n const response = await fetch(fullUrl.toString(), {\n headers,\n body,\n method,\n signal,\n });\n const responseBody = readResponse(response);\n if (response.ok) {\n if (response.status == 204) {\n return undefined;\n }\n return responseBody;\n }\n\n throw new ApiError(response, responseBody);\n};\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst readResponse = async (response: Response): Promise => {\n const contentType = response.headers.get(\"Content-Type\");\n const contentLength = Number.parseInt(\n response.headers.get(\"content-length\") || \"\",\n 10,\n );\n const hasJSONContent =\n contentType && contentType.includes(\"application/json\");\n\n // Content-Disposition: attachment\n // Content-Disposition: attachment; filename=\"filename.jpg\"\n const disposition = response.headers.get(\"content-disposition\");\n let filename = \"\";\n if (disposition && disposition.indexOf(\"attachment\") !== -1) {\n const filenameRegex = /filename[^;=\\n]*=((['\"]).*?\\2|[^;\\n]*)/;\n const matches = filenameRegex.exec(disposition);\n if (matches != null && matches[1]) {\n filename = matches[1].replace(/['\"]/g, \"\");\n }\n }\n const hasBlobContent =\n disposition && disposition.indexOf(\"attachment\") !== -1 && filename != \"\";\n\n if (contentLength === 0) {\n return Promise.resolve(undefined);\n }\n if (hasJSONContent) {\n return response.json();\n }\n if (hasBlobContent) {\n return { filename: filename, blob: response.blob() };\n }\n return response.text().then((text) => {\n try {\n // même sans header de Content-type, on essaie de lire du JSON\n return JSON.parse(text);\n } catch (error) {\n // error de parsing, on renvoi le text\n return text;\n }\n });\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst fetchWithtAuth = (url: string, params: any = {}): Promise => {\n return createFetch(url, Methods.GET, true, undefined, params);\n};\n\nconst fetchWithoutAuth = (url: string): Promise => {\n return createFetch(url, Methods.GET, false, undefined, {});\n};\n\nconst deleteWithAuth = (url: string): Promise => {\n return createFetch(url, Methods.DELETE, true);\n};\n\n//TODO: a supprimer en production\nconst deleteWithoutAuth = (url: string): Promise => {\n return createFetch(url, Methods.DELETE, false);\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst postWithAuth = (url: string, data?: any): Promise => {\n return createFetch(url, Methods.POST, true, data);\n};\n\n//TODO: a supprimer en production\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst postWithoutAuth = (url: string, data?: any): Promise => {\n return createFetch(url, Methods.POST, false, data);\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst putWithAuth = (url: string, data: any): Promise => {\n return createFetch(url, Methods.PUT, true, data);\n};\n\n//TODO: a supprimer en production\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst putWithoutAuth = (url: string, data: any): Promise => {\n return createFetch(url, Methods.PUT, false, data);\n};\n\nexport {\n ApiError,\n fetchWithtAuth,\n fetchWithoutAuth,\n deleteWithAuth,\n deleteWithoutAuth,\n postWithAuth,\n postWithoutAuth,\n putWithAuth,\n putWithoutAuth,\n};\n","// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function handleServiceParams(params: any): URLSearchParams {\n const search = new URLSearchParams();\n if (params) {\n for (const paramKey in params) {\n if (Array.isArray(params[paramKey])) {\n for (const paramItem of params[paramKey]) {\n if (paramItem != undefined) {\n search.append(`${paramKey}[]`, paramItem);\n }\n }\n } else {\n if (params[paramKey] != undefined) {\n search.append(paramKey, params[paramKey]);\n }\n }\n }\n }\n return search;\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nimport { snackBar } from \"@/store/useNotificationSnackBar\";\nimport { eTypeSnackBar } from \"@/types/ui\";\nimport { useI18n } from \"vue-i18n\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'NotificationSnackbar',\n setup(__props) {\n\nconst { t } = useI18n();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_icon = _resolveComponent(\"v-icon\")!\n const _component_v_snackbar = _resolveComponent(\"v-snackbar\")!\n\n return (_openBlock(), _createBlock(_component_v_snackbar, {\n color: _unref(snackBar).type,\n timeout: 2000,\n modelValue: _unref(snackBar).visible,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(snackBar).visible) = $event))\n }, {\n default: _withCtx(() => [\n (_unref(snackBar).type === _unref(eTypeSnackBar).success)\n ? (_openBlock(), _createBlock(_component_v_icon, {\n key: 0,\n size: \"x-large\",\n icon: \"mdi-thumb-up\"\n }))\n : (_openBlock(), _createBlock(_component_v_icon, {\n key: 1,\n size: \"x-large\",\n icon: \"mdi-alert-outline\"\n })),\n _createTextVNode(\" \" + _toDisplayString(_unref(t)(_unref(snackBar).message)), 1)\n ]),\n _: 1\n }, 8, [\"color\", \"modelValue\"]))\n}\n}\n\n})","import script from \"./NotificationSnackbar.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./NotificationSnackbar.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-43f1dcb4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n class: \"text-left font-weight-bold\",\n style: {\"white-space\":\"pre-line\"}\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"mt-5\"\n}\nconst _hoisted_3 = { class: \"mb-5\" }\nconst _hoisted_4 = {\n class: \"text-left\",\n style: {\"white-space\":\"pre-line\"}\n}\nconst _hoisted_5 = {\n class: \"text-left\",\n style: {\"white-space\":\"pre-line\"}\n}\nconst _hoisted_6 = {\n class: \"text-left\",\n style: {\"white-space\":\"pre-line\"}\n}\n\nimport { ref } from \"vue\";\nimport { useErrors, clearErrors } from \"@/store/useErrors\";\nimport { useI18n } from \"vue-i18n\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ErrorModal',\n setup(__props) {\n\nconst showDetails = ref(false);\nconst { t } = useI18n();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_alert = _resolveComponent(\"v-alert\")!\n const _component_v_card_title = _resolveComponent(\"v-card-title\")!\n const _component_v_icon = _resolveComponent(\"v-icon\")!\n const _component_v_list_item = _resolveComponent(\"v-list-item\")!\n const _component_v_list = _resolveComponent(\"v-list\")!\n const _component_v_card_text = _resolveComponent(\"v-card-text\")!\n const _component_v_spacer = _resolveComponent(\"v-spacer\")!\n const _component_v_btn = _resolveComponent(\"v-btn\")!\n const _component_v_card_actions = _resolveComponent(\"v-card-actions\")!\n const _component_v_card = _resolveComponent(\"v-card\")!\n const _component_v_dialog = _resolveComponent(\"v-dialog\")!\n\n return (_openBlock(), _createBlock(_component_v_dialog, {\n modelValue: _unref(useErrors).visible,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(useErrors).visible) = $event)),\n persistent: \"\",\n \"max-width\": \"500\",\n transition: false,\n scrollable: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_card_title, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_alert, {\n dense: \"\",\n shaped: \"\",\n type: \"error\",\n transition: \"scale-transition\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(t)(\"api-error-api.title\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_v_card_text, { class: \"pa-5\" }, {\n default: _withCtx(() => [\n _createVNode(_component_v_list, null, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(useErrors)?.messages || [], (message, i) => {\n return (_openBlock(), _createBlock(_component_v_list_item, {\n density: \"compact\",\n key: `Messages${i}`\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_v_icon, { class: \"mr-2\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"mdi-message-text\")\n ]),\n _: 1\n }),\n _createTextVNode(\" \" + _toDisplayString(message.code) + \" - \" + _toDisplayString(message.description), 1)\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }),\n (showDetails.value && _unref(useErrors)?.status)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", _hoisted_3, _toDisplayString(_unref(t)(\"api-error-api.details\")), 1),\n _createVNode(_component_v_list_item, { dense: \"\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_v_icon, { class: \"mr-2\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"mdi-api\")\n ]),\n _: 1\n }),\n _createTextVNode(\" \" + _toDisplayString(_unref(useErrors)?.url), 1)\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_v_list_item, { dense: \"\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_v_icon, { class: \"mr-2\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"mdi-code-tags\")\n ]),\n _: 1\n }),\n _createTextVNode(\" \" + _toDisplayString(_unref(useErrors)?.status), 1)\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_v_list_item, { dense: \"\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_v_icon, { class: \"mr-2\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"mdi-label\")\n ]),\n _: 1\n }),\n _createTextVNode(\" \" + _toDisplayString(_unref(useErrors)?.statusText), 1)\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_v_card_actions, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_spacer),\n _createVNode(_component_v_btn, {\n small: \"\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showDetails.value = !showDetails.value))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_icon, { class: \"mr-2\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"mdi-magnify\")\n ]),\n _: 1\n }),\n _createTextVNode(_toDisplayString(_unref(t)(\"button.details\")), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_v_btn, {\n small: \"\",\n onClick: _withModifiers(_unref(clearErrors), [\"stop\"])\n }, {\n default: _withCtx(() => [\n _createVNode(_component_v_icon, { class: \"mr-2\" }, {\n default: _withCtx(() => [\n _createTextVNode(\"mdi-close\")\n ]),\n _: 1\n }),\n _createTextVNode(_toDisplayString(_unref(t)(\"button.close\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","import script from \"./ErrorModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ErrorModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ErrorModal.vue?vue&type=style&index=0&id=43f1dcb4&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-43f1dcb4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, withModifiers as _withModifiers, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { style: {\"margin-top\":\"20px\"} }\nconst _hoisted_2 = { style: {\"background-color\":\"#ffffff\",\"height\":\"80px\"} }\nconst _hoisted_3 = { class: \"header-group\" }\nconst _hoisted_4 = { class: \"header-logo\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", {\n class: \"header-logo\",\n \"max-width\": \"550\"\n}, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"nom-outil\" }, \"Mon Réservoir Utilisable\")\n], -1)\nconst _hoisted_6 = { class: \"nav-bar\" }\nconst _hoisted_7 = { class: \"links\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.arvalis.fr/outils-et-services/outils-et-fiches\",\n class: \"link\",\n target: \"_blank\"\n}, \"Plus d'outils\", -1)\n\nimport router from \"@/router\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'visAppBar',\n setup(__props) {\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: \"img/logo_arvalis.png\",\n alt: \"Logo\",\n class: \"logo-arvalis-header\",\n \"min-width\": \"188\",\n width: \"270\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(($event: any) => (_unref(router).push('/')), [\"prevent\"]))\n })\n ]),\n _hoisted_5\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_router_link, {\n to: \"/\",\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Accueil\")\n ]),\n _: 1\n }),\n _createTextVNode(\" | \"),\n _createVNode(_component_router_link, {\n to: \"/about\",\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"En savoir plus\")\n ]),\n _: 1\n }),\n _createTextVNode(\" | \"),\n _hoisted_8\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./visAppBar.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./visAppBar.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./visAppBar.vue?vue&type=style&index=0&id=049c8ec7&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\nimport _imports_0 from '@/assets/logo-arvalis.png'\n\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_4 = {\n class: \"justify-center\",\n style: {\"margin\":\"0 auto 30px auto\",\"max-width\":\"600px\",\"text-align\":\"center\",\"padding-top\":\"0px\",\"font-size\":\"12px\"}\n}\nconst _hoisted_5 = { class: \"justify-center\" }\nconst _hoisted_6 = {\n class: \"justify-center\",\n style: {\"max-width\":\"600px\",\"text-align\":\"center\",\"padding-top\":\"0px\",\"border-bottom\":\"1px solid #087b7a\"}\n}\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"http://arvalis.info/cguoad\",\n style: {\"text-decoration\":\"none\",\"color\":\"#0097ac\"},\n target: \"_blank\"\n}, \" CGU \", -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"mailto:contact@arvalis.fr?subject=Question sur le site mon-ru.arvalis.fr\",\n style: {\"text-decoration\":\"none\",\"color\":\"#0097ac\"}\n}, \" Contact \", -1)\n\nimport NotificationSnackbar from \"@/components/modals/NotificationSnackbar.vue\";\nimport ErrorModal from \"@/components/modals/ErrorModal.vue\";\nimport visAppBar from \"./components/layouts/visAppBar.vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_v_main = _resolveComponent(\"v-main\")!\n const _component_v_img = _resolveComponent(\"v-img\")!\n const _component_center = _resolveComponent(\"center\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_v_footer = _resolveComponent(\"v-footer\")!\n const _component_v_app = _resolveComponent(\"v-app\")!\n\n return (_openBlock(), _createBlock(_component_v_app, null, {\n default: _withCtx(() => [\n _createVNode(visAppBar),\n _createVNode(_component_v_main, null, {\n default: _withCtx(() => [\n _createVNode(_component_router_view)\n ]),\n _: 1\n }),\n _hoisted_1,\n _hoisted_2,\n _hoisted_3,\n _createVNode(_component_v_footer, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_center, null, {\n default: _withCtx(() => [\n _createVNode(_component_v_img, {\n src: _imports_0,\n alt: \"Logo ARVALIS\",\n width: \"300px\",\n \"min-width\": \"200px\",\n \"text-align\": \"center\"\n })\n ]),\n _: 1\n })\n ]),\n _createVNode(_component_router_link, {\n to: { name: 'mentionslegales' },\n style: {\"text-decoration\":\"none\",\"color\":\"#0097ac\"}\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Mentions légales \")\n ]),\n _: 1\n }),\n _createTextVNode(\" | \"),\n _hoisted_7,\n _createTextVNode(\" | \"),\n _hoisted_8,\n _createTextVNode(\" | Mon Réservoir Utilisable est un outil d'ARVALIS - Institut du Végétal \")\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(NotificationSnackbar),\n _createVNode(ErrorModal)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./App.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","// Styles\nimport \"@mdi/font/css/materialdesignicons.css\";\nimport \"vuetify/styles\";\nimport { createVuetify } from \"vuetify\";\n// import { VDataTable } from \"vuetify/labs/VDataTable\"; pour mise à jour vuetify 3.4.6\n// import { VDatePicker } from \"vuetify/lib/components/VDatePicker\";\nrequire(\"@/assets/main.scss\");\n\nconst theme = {\n dark: false,\n colors: {\n background: \"#FFFFFF\",\n surface: \"#FFFFFF\",\n primary: \"#087B7A\",\n \"primary-darken-1\": \"#3700B3\",\n secondary: \"#0097AC\",\n \"secondary-darken-1\": \"#018786\",\n error: \"#e30613\",\n info: \"#2196F3\",\n success: \"#087B7A\",\n warning: \"#f5B100\",\n },\n};\n\nexport default createVuetify({\n components: {},\n theme: {\n defaultTheme: \"theme\",\n themes: {\n theme,\n },\n },\n defaults: {\n VTextField: {\n density: \"compact\",\n variant: \"underlined\",\n },\n VAutocomplete: {\n density: \"compact\",\n variant: \"underlined\",\n },\n VSelect: {\n density: \"compact\",\n variant: \"underlined\",\n },\n },\n});\n","/**\n * plugins/webfontloader.js\n *\n * webfontloader documentation: https://github.com/typekit/webfontloader\n */\n\nexport async function loadFonts() {\n const webFontLoader = await import(\n /* webpackChunkName: \"webfontloader\" */ \"webfontloader\"\n );\n\n webFontLoader.load({\n google: {\n families: [\"Roboto:100,300,400,500,700,900&display=swap\"],\n },\n });\n}\n","import { createApp } from \"vue\";\nimport { createPinia } from \"pinia\";\nimport App from \"./App.vue\";\nimport { createGtm } from \"@gtm-support/vue-gtm\";\nimport router from \"./router\";\nimport vuetify from \"./plugins/vuetify\";\nimport { createI18n } from \"vue-i18n\";\nimport frFR from \"./locales/fr.json\";\nimport { loadFonts } from \"./plugins/webfontloader\";\n//import VueExcelEditor from \"vue3-excel-editor\"; probleme avec version 3.4.6 de vuetify\nimport { Icon } from \"leaflet\";\nimport { createHead } from \"@vueuse/head\";\nconst head = createHead();\n\n// delete Icon.Default.prototype._getIconUrl;\nIcon.Default.mergeOptions({\n iconRetinaUrl: require(\"leaflet/dist/images/marker-icon-2x.png\"),\n iconUrl: require(\"leaflet/dist/images/marker-icon.png\"),\n shadowUrl: require(\"leaflet/dist/images/marker-shadow.png\"),\n});\n\nloadFonts();\n\ntype MessageSchema = typeof frFR;\n\nconst i18n = createI18n<[MessageSchema], \"fr-FR\">({\n locale: \"fr-FR\",\n legacy: false,\n messages: {\n \"fr-FR\": frFR,\n },\n});\nconst pinia = createPinia();\n\ncreateApp(App)\n .use(head)\n .use(router)\n .use(i18n)\n .use(vuetify)\n .use(pinia)\n .use(\n createGtm({\n id: process.env.VUE_APP_GTM_ID,\n vueRouter: router,\n }),\n )\n .mount(\"#app\");\n","import {\n currentReadRights,\n isLoggedIn,\n logout,\n} from \"@/store/useAuthentification\";\nimport { setSnackBar } from \"@/store/useNotificationSnackBar\";\nimport { eTypeSnackBar } from \"@/types/ui\";\nimport {\n createRouter,\n createWebHashHistory,\n RouteLocationNormalized,\n RouteRecordRaw,\n} from \"vue-router\";\n\nconst routes: Array = [\n {\n path: \"/\",\n name: \"root\",\n component: () => import(\"@/views/HomeView.vue\"),\n meta: { authorize: [] },\n },\n {\n path: \"/home\",\n name: \"home\",\n component: () => import(\"@/views/HomeView.vue\"),\n meta: { authorize: [] },\n },\n {\n path: \"/simulation\",\n name: \"home\",\n component: () => import(\"@/views/SimulationView.vue\"),\n meta: { authorize: [] },\n },\n {\n path: \"/mentionslegales\",\n name: \"mentionslegales\",\n component: () => import(\"@/views/MentionsView.vue\"),\n meta: { authorize: [] },\n },\n {\n path: \"/about\",\n name: \"about\",\n component: () => import(\"@/views/AboutView.vue\"),\n meta: { authorize: [] },\n },\n {\n path: \"/login\",\n name: \"login\",\n component: () => import(\"@/views/auth/LoginView.vue\"),\n meta: { authorize: [\"*\"] },\n },\n {\n path: \"/profil\",\n name: \"profil\",\n component: () => import(\"@/views/auth/ProfilView.vue\"),\n meta: { authorize: [\"*\"] },\n },\n {\n path: \"/search\",\n name: \"search\",\n component: () => import(\"@/views/search/SearchView.vue\"),\n meta: { authorize: [\"*\"] },\n },\n {\n path: \"/map\",\n name: \"map\",\n component: () => import(\"@/views/map/MapView.vue\"),\n meta: { authorize: [\"*\"] },\n },\n {\n path: \"/imports/:id\",\n name: \"imports1\",\n component: () => import(\"@/views/imports/ImportListView.vue\"),\n meta: { authorize: [\"ADMIN\", \"IMPORT_OWN\"] },\n },\n {\n path: \"/imports\",\n name: \"imports\",\n component: () => import(\"@/views/imports/ImportListView.vue\"),\n meta: { authorize: [\"ADMIN\", \"IMPORT_OWN\"] },\n },\n {\n path: \"/imports/edit\",\n name: \"import-edit\",\n component: () => import(\"@/views/imports/ImportStepMainView.vue\"),\n meta: { authorize: [\"ADMIN\", \"IMPORT_OWN\"] },\n },\n {\n path: \"/issues\",\n name: \"issues\",\n component: () => import(\"@/views/issues/IssuesListView.vue\"),\n meta: { authorize: [\"*\"] },\n },\n {\n path: \"/baskets\",\n name: \"baskets\",\n component: () => import(\"@/views/basket/BasketListView.vue\"),\n meta: { authorize: [\"*\"] },\n },\n {\n path: \"/notice\",\n name: \"notice\",\n component: () => import(\"@/views/NoticeView.vue\"),\n meta: { authorize: [] },\n },\n {\n path: \"/administration\",\n name: \"administration\",\n component: () => import(\"@/views/administration/IndexView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n children: [\n {\n path: \"dico\",\n name: \"administration-dico\",\n component: () => import(\"@/views/administration/DicoListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n {\n path: \"topic\",\n name: \"administration-topic\",\n component: () => import(\"@/views/administration/TopicListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n {\n path: \"user\",\n name: \"administration-user\",\n component: () => import(\"@/views/administration/UserListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n {\n path: \"site\",\n name: \"administration-site\",\n component: () => import(\"@/views/administration/SiteListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n {\n path: \"tool\",\n name: \"administration-tool\",\n component: () => import(\"@/views/administration/UserListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n {\n path: \"variable\",\n name: \"administration-variable\",\n component: () => import(\"@/views/administration/VariableListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n {\n path: \"externallayer\",\n name: \"administration-externallayer\",\n component: () =>\n import(\"@/views/administration/ExternalLayerListView.vue\"),\n meta: { authorize: [\"ADMIN\"] },\n },\n ],\n },\n];\n\nconst router = createRouter({\n history: createWebHashHistory(),\n routes,\n});\n\nrouter.beforeEach(\n async (to: RouteLocationNormalized, from: RouteLocationNormalized, next) => {\n const authorize = to.meta.authorize as string[];\n\n if (authorize == undefined || authorize.length === 0) {\n // Si aucune info, c'est qu'il n'y a pas de restriction --> On continue!\n next();\n } else {\n if (!isLoggedIn) {\n logout();\n next({ path: \"/login\" });\n } else {\n // Check session et actualise le tocken\n //const activeSession = await refreshTokenUser();\n\n //if (!activeSession) {\n // next({ path: \"/login\" });\n // } else {\n const userRight = currentReadRights.value.map((value) => value.code);\n const intersection = authorize.filter((x) => userRight.includes(x));\n if (intersection.length > 0 || authorize.includes(\"*\")) {\n next();\n } else {\n setSnackBar(\"snack-notif.not-authorized\", eTypeSnackBar.warning);\n next({ path: \"/\" });\n }\n // }\n }\n }\n },\n);\n\nexport default router;\n","import { UserToken } from \"@/types/auth/user\";\nimport { UserAA, IProfil } from \"@/types/userAA\";\nimport { computed, ref } from \"vue\";\nimport { refreshToken, getCurrentUser } from \"@/api/auth\";\nimport jwtDecode from \"jwt-decode\";\nimport { JWT } from \"@/types/auth/JWT\";\nimport { useStorage } from \"@vueuse/core\";\nimport router from \"@/router\";\n\nexport const currentTokenUser = ref(\n useStorage(\"usertoken\", {} as UserToken),\n);\nexport const currentUser = ref(useStorage(\"user\", {} as UserAA));\n\nexport const currentProfil = ref(useStorage(\"profil\", {} as IProfil));\n\nexport const changeProfil = (newProfil: IProfil): void => {\n currentProfil.value = newProfil;\n};\n\nexport const setLogin = (userToken: UserToken): void => {\n currentTokenUser.value = userToken;\n getCurrentUser().then((res) => {\n currentUser.value = res.data;\n currentProfil.value = res.data.profilsADPU.find((p) => {\n return p.isDefaut;\n });\n });\n};\n\n// FIXME: appellé dans le router N fois !\nexport const refreshTokenUser = (): boolean => {\n refreshToken(currentTokenUser.value)\n .then((res) => {\n currentTokenUser.value = res;\n return true;\n })\n .catch(() => {\n logout();\n return false;\n });\n return false;\n};\n\n// #NO_AUTH\nexport const tokenExpirationDate = computed(() => {\n try {\n const decoded: JWT = jwtDecode(currentTokenUser.value.token);\n return (\n new Date(decoded.exp * 1000).toLocaleDateString(\"fr\") +\n \" à \" +\n new Date(decoded.exp * 1000).toLocaleTimeString(\"fr\")\n );\n } catch (err) {\n return null;\n }\n});\n\n// #NO_AUTH\n//export const isLoggedIn = computed(() => !!currentTokenUser?.value?.token);\nexport const isLoggedIn = computed(() => {\n let retour = false;\n if (currentTokenUser?.value?.token) {\n try {\n const decoded = jwtDecode(currentTokenUser.value.token);\n console.log(\"Date Expiration\", new Date(decoded.exp * 1000));\n if (Date.now() >= decoded.exp * 1000) {\n console.log(\"token expiré\");\n currentTokenUser.value = null;\n retour = false;\n } else {\n retour = true;\n }\n } catch (err) {\n return false;\n }\n }\n return retour;\n});\n\nexport const logout = (): void => {\n currentTokenUser.value = null;\n currentUser.value = undefined;\n router.push(\"/\");\n};\nexport const currentReadRights = computed(() => {\n if (isLoggedIn.value) {\n return currentProfil.value.droits.filter((right) => {\n if (right.lecture) {\n return right;\n }\n });\n }\n return [];\n});\n","import { ApiError, ServerError } from \"@/types/api\";\nimport { reactive } from \"vue\";\n\nconst useErrors = reactive({\n url: \"\" as string,\n status: -1 as number,\n statusText: \"\" as string,\n messages: [] as ServerError[],\n visible: false,\n});\n\nconst clearErrors = (): void => {\n useErrors.url = \"\";\n useErrors.status = -1;\n useErrors.statusText = \"\";\n useErrors.messages = [];\n useErrors.visible = false;\n};\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst errHandler = (err: any) => {\n if (err instanceof ApiError) {\n useErrors.url = err.response.url;\n useErrors.status = err.response.status;\n useErrors.statusText = err.response.statusText;\n err.json.then((json) => {\n useErrors.messages = json.messages;\n });\n } else {\n useErrors.messages = [{ type: 500, code: \"I001\", description: err }];\n }\n useErrors.visible = true;\n};\nconst fetchErrHandler = errHandler;\nconst updateErrHandler = errHandler;\nexport {\n useErrors,\n clearErrors,\n errHandler,\n fetchErrHandler,\n updateErrHandler,\n};\n","import { eTypeSnackBar } from \"@/types/ui\";\nimport { reactive } from \"vue\";\nexport const snackBar = reactive({\n message: \"\",\n visible: false,\n type: eTypeSnackBar.success,\n});\n\nexport const setSnackBar = (message: string, type: eTypeSnackBar): void => {\n snackBar.message = message;\n snackBar.visible = true;\n snackBar.type = type ?? eTypeSnackBar.success;\n};\n\nexport const clearNotificationSnackBar = (): void => {\n snackBar.message = \"\";\n snackBar.visible = false;\n};\n","export interface ApiList {\n total: number;\n data: T[];\n}\n\nexport interface ApiItem {\n data: T;\n messages: [];\n}\n\nexport interface IUrlParam {\n key: string;\n value: string;\n}\n\nexport interface APIConfig {\n appUrl: string;\n authName: string;\n}\n\nexport interface APIBlob {\n filename: string;\n blob: Blob;\n}\n\nexport interface ServerError {\n type: number;\n code: string;\n description: string;\n}\n\nexport class ApiError extends Error {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n json: Promise;\n response: Response;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(response: Response, json: any) {\n super(response.statusText);\n this.name = \"ApiError\";\n this.json = json;\n this.response = response;\n }\n}\n","export enum eTypeSnackBar {\n success = \"success\",\n warning = \"warning\",\n}\n","export class UserAA {\n // implements IDicoType {\n public id: number | null = null;\n public login: string | null = null;\n public userName = \"\";\n public email = \"\";\n public type = \"\";\n public groupes: string[] = [];\n public profilsADPU: IProfil[] = [];\n\n constructor(json?: UserAA) {\n if (json != null) {\n this.id = json.id;\n this.login = json.login;\n this.userName = json.userName;\n this.email = json.email;\n this.groupes = json.groupes;\n this.profilsADPU = json.profilsADPU;\n }\n }\n}\n\nexport interface IProfil {\n code: string;\n nom: string;\n isDefaut: boolean;\n droits: IDroit[];\n}\n\nexport interface IDroit {\n code: string;\n ecriture: boolean;\n lecture: boolean;\n}\n\n// export function fromAPI(json: DicoType) {\n// return {\n// id: json.id,\n// code: json.code,\n// name: json.name,\n// regex: json.regex,\n// updated_by: json.updated_by,\n// children:\n// json.children == null\n// ? null\n// : json.children.map((item) => {\n// const a = DicoType.fromAPI(item);\n// return a;\n// }),\n// data_type_parent:\n// json.data_type_parent == null\n// ? null\n// : this.fromAPI(json.data_type_parent),\n// updated_at_format:\n// json.updated_at == null\n// ? \"?\"\n// : new Date(json.updated_at).toLocaleDateString() +\n// \" à \" +\n// new Date(json.updated_at).toLocaleTimeString(),\n// };\n// }\n// export function toAPI(json: DicoType) {\n// return {\n// id: json.id,\n// code: json.code,\n// name: json.name,\n// id_type: json.id_type,\n// };\n// }\n// export default {\n// // fromAPI,\n// toAPI,\n// };\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + (chunkId === 3461 ? \"webfontloader\" : chunkId) + \".\" + {\"2\":\"b66cde2e\",\"18\":\"62fd95a8\",\"60\":\"c3b236f1\",\"68\":\"f8188d24\",\"159\":\"9205a079\",\"165\":\"f7ecede2\",\"389\":\"3c48b2d6\",\"427\":\"bcedda27\",\"476\":\"1cf290a5\",\"517\":\"f4d9bd8d\",\"558\":\"6ed81a45\",\"643\":\"b03a03e7\",\"668\":\"b67ac053\",\"762\":\"6476a025\",\"842\":\"0aa62294\",\"848\":\"ca506db0\",\"1011\":\"fc021b23\",\"1089\":\"706b0b59\",\"1112\":\"7433495f\",\"1147\":\"eca164ef\",\"1611\":\"7e9b30dc\",\"1612\":\"ca6f0565\",\"1657\":\"8248181c\",\"1725\":\"3b20f087\",\"1879\":\"1aa7933e\",\"2019\":\"941afc71\",\"2074\":\"be883d70\",\"2225\":\"f29bc0c5\",\"2316\":\"7c65ea06\",\"2470\":\"e3a64495\",\"2536\":\"e2dcb59c\",\"2609\":\"5d9478d7\",\"2881\":\"a7f18ca9\",\"2984\":\"fefc8dd2\",\"2996\":\"6699a597\",\"3039\":\"b1c24415\",\"3066\":\"d5e0aa23\",\"3072\":\"3fa00c7e\",\"3135\":\"11c87cbe\",\"3194\":\"26d52f86\",\"3223\":\"47957d70\",\"3226\":\"db2d7114\",\"3323\":\"72a856a7\",\"3331\":\"7f6540a0\",\"3406\":\"fbf49713\",\"3408\":\"c5de4234\",\"3461\":\"4b0c20ee\",\"3475\":\"0cb7a94b\",\"3534\":\"781b585b\",\"3541\":\"51e6bd10\",\"3564\":\"b523e4a7\",\"3592\":\"f4e2e382\",\"3658\":\"e58e57f2\",\"3673\":\"cef1d33a\",\"3712\":\"317c6829\",\"3751\":\"e4b2eb7a\",\"3775\":\"302a6d0f\",\"3851\":\"455287e2\",\"4212\":\"7eb048c9\",\"4482\":\"56c432eb\",\"4562\":\"6640f1e9\",\"4791\":\"58870f97\",\"4794\":\"ac3f0976\",\"4796\":\"c309d916\",\"4818\":\"97304aef\",\"4837\":\"80ef7fa4\",\"4895\":\"58c320d7\",\"4957\":\"e5042a96\",\"4984\":\"2f8b9a3b\",\"4993\":\"86cafb25\",\"5018\":\"70271ae6\",\"5042\":\"b8824450\",\"5062\":\"ce6fa68b\",\"5068\":\"b9cce3fc\",\"5081\":\"b7428a35\",\"5121\":\"5c74c490\",\"5321\":\"22e2d5e3\",\"5362\":\"6b57008f\",\"5396\":\"a5fa9488\",\"5457\":\"060f1c64\",\"5573\":\"f11139ff\",\"5618\":\"66823763\",\"5664\":\"2dbfd64f\",\"5708\":\"08e68997\",\"5896\":\"57049db9\",\"5917\":\"0a3ed333\",\"6023\":\"897d3532\",\"6180\":\"0abc2ac8\",\"6224\":\"c2034d8c\",\"6355\":\"eed90cb4\",\"6386\":\"11fc95ae\",\"6436\":\"f53592bc\",\"6614\":\"238c0dfe\",\"6698\":\"f91f2aed\",\"6759\":\"353d3e9d\",\"6791\":\"60c39339\",\"6798\":\"392caf4d\",\"6832\":\"d440449d\",\"6891\":\"f7075e7a\",\"6919\":\"659d7a2f\",\"6924\":\"a767e86d\",\"6973\":\"d7ddcbf8\",\"7010\":\"3edeb03e\",\"7142\":\"fbea1a35\",\"7218\":\"562d64ad\",\"7250\":\"f787bb36\",\"7332\":\"4a7d6fc0\",\"7469\":\"4135fc94\",\"7607\":\"73ef4069\",\"7620\":\"46fff71c\",\"7637\":\"fda39802\",\"7708\":\"7a9d66cf\",\"7717\":\"9a29c2b3\",\"7847\":\"83f30947\",\"8004\":\"908ba029\",\"8027\":\"c4412695\",\"8084\":\"4200c48e\",\"8098\":\"ac746457\",\"8122\":\"32ed0be4\",\"8366\":\"3402acf5\",\"8431\":\"806eef32\",\"8463\":\"b3735ec2\",\"8561\":\"255d4b78\",\"8612\":\"8d210e6a\",\"8703\":\"86713c3d\",\"8709\":\"946f6bed\",\"8741\":\"d5ec2544\",\"8771\":\"882ae864\",\"8867\":\"c56b9c8a\",\"8943\":\"a60aa70e\",\"8970\":\"48fb06e7\",\"9029\":\"919daa02\",\"9054\":\"47ec0126\",\"9056\":\"c813b68a\",\"9105\":\"43ba3c55\",\"9117\":\"5fcde374\",\"9226\":\"7aae4836\",\"9271\":\"27b2e467\",\"9323\":\"1b4f941f\",\"9335\":\"4ed6fce4\",\"9344\":\"268c947b\",\"9413\":\"dee9fcab\",\"9603\":\"2feccaf0\",\"9620\":\"09707571\",\"9631\":\"fe3a87b6\",\"9680\":\"27fe65fa\",\"9746\":\"5875260a\",\"9925\":\"2e2cbabe\",\"9964\":\"cae7507c\",\"9974\":\"24b0003e\",\"9985\":\"01b2b1a6\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"60\":\"2a8fdfba\",\"165\":\"2bc6ff9a\",\"762\":\"d03d0483\",\"1112\":\"692e152b\",\"1725\":\"e6516a94\",\"2074\":\"60dadf7b\",\"2225\":\"2c415d3d\",\"2470\":\"bc7c40b4\",\"3194\":\"03fda526\",\"3226\":\"afc4de84\",\"3541\":\"e16a1bec\",\"3851\":\"5a9a6489\",\"4212\":\"23c2f043\",\"4818\":\"3bf69f9f\",\"4957\":\"27aa1cba\",\"5042\":\"b24dbeea\",\"6798\":\"d4359406\",\"7332\":\"3d798eac\",\"7620\":\"88f3aa74\",\"7708\":\"dc03f1aa\",\"7717\":\"4022fd33\",\"8366\":\"c9fe169e\",\"8943\":\"9f2d3bce\",\"9323\":\"fce5a60b\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"MonReservoirUtilisable:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t2143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"60\":1,\"165\":1,\"762\":1,\"1112\":1,\"1725\":1,\"2074\":1,\"2225\":1,\"2470\":1,\"3194\":1,\"3226\":1,\"3541\":1,\"3851\":1,\"4212\":1,\"4818\":1,\"4957\":1,\"5042\":1,\"6798\":1,\"7332\":1,\"7620\":1,\"7708\":1,\"7717\":1,\"8366\":1,\"8943\":1,\"9323\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(4212 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkMonReservoirUtilisable\"] = self[\"webpackChunkMonReservoirUtilisable\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4998], function() { return __webpack_require__(24306); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["login","payload","postWithoutAuth","getCurrentUser","async","i","fetchWithtAuth","data","UserAA","TIMEOUT","Methods","createFetch","url","method","withAuth","undefined","params","controller","AbortController","signal","headers","POST","PUT","FormData","isLoggedIn","value","Error","Authorization","currentTokenUser","token","body","String","JSON","stringify","length","currentProfil","code","setTimeout","abort","fullUrl","URL","search","handleServiceParams","toString","response","fetch","responseBody","readResponse","ok","status","ApiError","contentType","get","contentLength","Number","parseInt","hasJSONContent","includes","disposition","filename","indexOf","filenameRegex","matches","exec","replace","hasBlobContent","Promise","resolve","json","blob","text","then","parse","error","GET","fetchWithoutAuth","deleteWithAuth","DELETE","deleteWithoutAuth","postWithAuth","putWithAuth","putWithoutAuth","URLSearchParams","paramKey","Array","isArray","paramItem","append","_defineComponent","__name","setup","__props","t","useI18n","_ctx","_cache","_openBlock","_createBlock","_component_v_snackbar","color","_unref","snackBar","type","timeout","modelValue","visible","$event","default","_withCtx","eTypeSnackBar","success","_component_v_icon","key","size","icon","_createTextVNode","_toDisplayString","message","_","__exports__","_hoisted_1","class","style","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","showDetails","ref","_component_v_dialog","useErrors","persistent","transition","scrollable","_createVNode","_component_v_card","_component_v_card_title","_component_v_alert","dense","shaped","_component_v_card_text","_component_v_list","_createElementBlock","_Fragment","_renderList","messages","_component_v_list_item","density","_createElementVNode","description","statusText","_createCommentVNode","_component_v_card_actions","_component_v_spacer","_component_v_btn","small","onClick","_withModifiers","clearErrors","_hoisted_7","_hoisted_8","href","target","_component_router_link","_resolveComponent","src","alt","width","router","push","to","_component_router_view","_component_center","_component_v_app","visAppBar","_component_v_main","_component_v_footer","_component_v_img","_imports_0","name","NotificationSnackbar","ErrorModal","require","theme","dark","colors","background","surface","primary","secondary","info","warning","createVuetify","components","defaultTheme","themes","defaults","VTextField","variant","VAutocomplete","VSelect","loadFonts","webFontLoader","load","google","families","head","createHead","Icon","Default","mergeOptions","iconRetinaUrl","iconUrl","shadowUrl","i18n","createI18n","locale","legacy","frFR","pinia","createPinia","createApp","App","use","vuetify","createGtm","id","process","vueRouter","mount","routes","path","component","meta","authorize","children","createRouter","history","createWebHashHistory","beforeEach","from","next","userRight","currentReadRights","map","intersection","filter","x","setSnackBar","logout","useStorage","currentUser","setLogin","userToken","res","profilsADPU","find","p","isDefaut","tokenExpirationDate","computed","decoded","jwtDecode","Date","exp","toLocaleDateString","toLocaleTimeString","err","retour","console","log","now","droits","right","lecture","reactive","errHandler","fetchErrHandler","constructor","super","_defineProperty","this","userName","email","groupes","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","__proto__","mode","ns","create","def","current","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","f","e","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","nc","setAttribute","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","appendChild","Symbol","toStringTag","nmd","paths","createStylesheet","fullhref","oldTag","reject","linkTag","rel","onLinkComplete","errorType","realHref","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}