diff --git a/README.md b/README.md index 9035a64a..12cc3115 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,31 @@ -# LaSuperMeteo +# LaSuperMeteo +![React Native](https://img.shields.io/badge/reactnative-3DDC84?style=for-the-badge&logo=react&logoColor=white) +![TypeScript](https://img.shields.io/badge/typescript-%237F52FF.svg?style=for-the-badge&logo=typescript&logoColor=white) + +La Super Météo est une application qui vous permet de connaître la météo des grandes villes de France. Elle utilise l'API : https://iut-weather-api.azurewebsites.net/swagger-ui/#/Cities/get_cities + +Cette application permet aussi d'ajouter une ville en favorite pour accéder à sa météo plus facilement. + +## Description + +Sur la page d'accueil de l'application, est affichée la ville favorite de l'utilisateur avec toutes ses données métrologiques. Si l'utilisateur n'a pas choisi de ville favorite alors il lui est conseillé d'en mettre une. + +Ensuite, il y a une autre page contenant la liste des villes de l'API. L'utilisateur peut aussi rechercher une ville en utilisant la barre de recherche. Si l'utilisateur clique sur un des composants de la ville alors les détails de cette ville s'afficheront. + +## Sketchs + + +
+home_page_sketch +city_list_sketch +
+ + +## ScreenShots + +
+home_page +city_list +search_screen +
\ No newline at end of file diff --git a/documentation/HomeScreen.png b/documentation/HomeScreen.png new file mode 100644 index 00000000..749cf7f1 Binary files /dev/null and b/documentation/HomeScreen.png differ diff --git a/documentation/HomeScreenSM.png b/documentation/HomeScreenSM.png new file mode 100644 index 00000000..0dc07be6 Binary files /dev/null and b/documentation/HomeScreenSM.png differ diff --git a/documentation/ListScreen.png b/documentation/ListScreen.png new file mode 100644 index 00000000..43f87e7f Binary files /dev/null and b/documentation/ListScreen.png differ diff --git a/documentation/ListScreenSM.png b/documentation/ListScreenSM.png new file mode 100644 index 00000000..e87fa92d Binary files /dev/null and b/documentation/ListScreenSM.png differ diff --git a/documentation/SearchScreenSM.png b/documentation/SearchScreenSM.png new file mode 100644 index 00000000..8d86109c Binary files /dev/null and b/documentation/SearchScreenSM.png differ diff --git a/documentation/Sketch.drawio b/documentation/Sketch.drawio new file mode 100644 index 00000000..b4ffe028 --- /dev/null +++ b/documentation/Sketch.drawio @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iut-expo-starter/.expo/packager-info.json b/iut-expo-starter/.expo/packager-info.json index 765d447b..fc8b3e65 100644 --- a/iut-expo-starter/.expo/packager-info.json +++ b/iut-expo-starter/.expo/packager-info.json @@ -1,9 +1,9 @@ { - "expoServerPort": null, + "expoServerPort": 19000, "packagerPort": 19000, "packagerPid": null, "expoServerNgrokUrl": null, "packagerNgrokUrl": null, "ngrokPid": null, - "webpackServerPort": null + "webpackServerPort": 19006 } diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/05b7beb7a6fb2e9cddb35c4ee65a9cc6.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/05b7beb7a6fb2e9cddb35c4ee65a9cc6.json new file mode 100644 index 00000000..32212254 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/05b7beb7a6fb2e9cddb35c4ee65a9cc6.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { City, Weather } from \"../../data/stub\";\nimport { setWeatherList } from \"./setWeatherList\";\nimport { setWeatherSearched } from \"./setWeatherSearched\";\nexport var getWeatherList = function getWeatherList() {\n return function () {\n var _ref = _asyncToGenerator(function* (dispatch) {\n try {\n var cityPromise = yield fetch('https://iut-weather-api.azurewebsites.net/cities');\n var cityListJson = yield cityPromise.json();\n var cityList = cityListJson.map(function (elt) {\n return new City(elt[\"name\"], elt[\"latitude\"], elt[\"longitude\"]);\n });\n var promises = cityList.map(function (city) {\n return fetch('https://iut-weather-api.azurewebsites.net/weather/city/name/' + city.name);\n });\n Promise.all(promises).then(function (values) {\n var prom = values.map(function () {\n var _ref2 = _asyncToGenerator(function* (resp) {\n var weatherJson = yield resp.json();\n return new Weather(weatherJson[\"at\"], weatherJson[\"visibility\"], weatherJson[\"weatherType\"], weatherJson[\"weatherDescription\"], weatherJson[\"temperature\"], weatherJson[\"temperatureFeelsLike\"], weatherJson[\"humidity\"], weatherJson[\"windSpeed\"], weatherJson[\"pressure\"], new City(weatherJson[\"city\"][\"name\"], weatherJson[\"city\"][\"latitude\"], weatherJson[\"city\"][\"longitude\"]));\n });\n return function (_x2) {\n return _ref2.apply(this, arguments);\n };\n }());\n Promise.all(prom).then(function (values) {\n dispatch(setWeatherList(values));\n dispatch(setWeatherSearched(values));\n });\n });\n } catch (error) {\n console.log('Error---------', error);\n }\n });\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }();\n};","map":{"version":3,"names":["City","Weather","setWeatherList","setWeatherSearched","getWeatherList","dispatch","cityPromise","fetch","cityListJson","json","cityList","map","elt","promises","city","name","Promise","all","then","values","prom","resp","weatherJson","error","console","log"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/getWeatherList.ts"],"sourcesContent":["import { City, Weather } from '../../data/stub';\nimport {GET_CITIES} from '../constants';\nimport { setWeatherList } from './setWeatherList';\nimport { setWeatherSearched } from './setWeatherSearched';\n\nexport const getWeatherList = () => {\n return async dispatch => {\n\n try {\n const cityPromise = await fetch('https://iut-weather-api.azurewebsites.net/cities');\n\n const cityListJson = await cityPromise.json();\n\n const cityList: City[] = cityListJson.map((elt: { [x: string]: any; }) => new City(elt[\"name\"], elt[\"latitude\"], elt[\"longitude\"]));\n\n const promises = cityList.map( (city) =>{\n return fetch('https://iut-weather-api.azurewebsites.net/weather/city/name/'+city.name);\n })\n Promise.all(promises).then((values) => {\n const prom = values.map(async resp => {\n const weatherJson = await resp.json();\n return new Weather(weatherJson[\"at\"], weatherJson[\"visibility\"], weatherJson[\"weatherType\"], weatherJson[\"weatherDescription\"], weatherJson[\"temperature\"], weatherJson[\"temperatureFeelsLike\"], weatherJson[\"humidity\"], weatherJson[\"windSpeed\"], weatherJson[\"pressure\"], new City(weatherJson[\"city\"][\"name\"], weatherJson[\"city\"][\"latitude\"], weatherJson[\"city\"][\"longitude\"]));\n });\n Promise.all(prom).then((values) => {\n dispatch(setWeatherList(values));\n dispatch(setWeatherSearched(values))\n })\n\n })\n } catch (error) {\n console.log('Error---------', error);\n //You can dispatch to another action if you want to display an error message in the application\n //dispatch(fetchDataRejected(error))\n }\n }\n}"],"mappings":";AAAA,SAASA,IAAI,EAAEC,OAAO;AAEtB,SAASC,cAAc;AACvB,SAASC,kBAAkB;AAE3B,OAAO,IAAMC,cAAc,GAAG,SAAjBA,cAAc,GAAS;EAClC;IAAA,6BAAO,WAAMC,QAAQ,EAAI;MAEvB,IAAI;QACF,IAAMC,WAAW,SAASC,KAAK,CAAC,kDAAkD,CAAC;QAEnF,IAAMC,YAAY,SAASF,WAAW,CAACG,IAAI,EAAE;QAE7C,IAAMC,QAAgB,GAAGF,YAAY,CAACG,GAAG,CAAC,UAACC,GAA0B;UAAA,OAAK,IAAIZ,IAAI,CAACY,GAAG,CAAC,MAAM,CAAC,EAAEA,GAAG,CAAC,UAAU,CAAC,EAAEA,GAAG,CAAC,WAAW,CAAC,CAAC;QAAA,EAAC;QAEnI,IAAMC,QAAQ,GAAGH,QAAQ,CAACC,GAAG,CAAE,UAACG,IAAI,EAAI;UACtC,OAAOP,KAAK,CAAC,8DAA8D,GAACO,IAAI,CAACC,IAAI,CAAC;QACxF,CAAC,CAAC;QACFC,OAAO,CAACC,GAAG,CAACJ,QAAQ,CAAC,CAACK,IAAI,CAAC,UAACC,MAAM,EAAK;UACrC,IAAMC,IAAI,GAAGD,MAAM,CAACR,GAAG;YAAA,8BAAC,WAAMU,IAAI,EAAI;cACpC,IAAMC,WAAW,SAASD,IAAI,CAACZ,IAAI,EAAE;cACrC,OAAO,IAAIR,OAAO,CAACqB,WAAW,CAAC,IAAI,CAAC,EAAEA,WAAW,CAAC,YAAY,CAAC,EAAEA,WAAW,CAAC,aAAa,CAAC,EAAEA,WAAW,CAAC,oBAAoB,CAAC,EAAEA,WAAW,CAAC,aAAa,CAAC,EAAEA,WAAW,CAAC,sBAAsB,CAAC,EAAEA,WAAW,CAAC,UAAU,CAAC,EAAEA,WAAW,CAAC,WAAW,CAAC,EAAEA,WAAW,CAAC,UAAU,CAAC,EAAE,IAAItB,IAAI,CAACsB,WAAW,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EAAEA,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,EAAEA,WAAW,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;YACxX,CAAC;YAAA;cAAA;YAAA;UAAA,IAAC;UACFN,OAAO,CAACC,GAAG,CAACG,IAAI,CAAC,CAACF,IAAI,CAAC,UAACC,MAAM,EAAK;YACjCd,QAAQ,CAACH,cAAc,CAACiB,MAAM,CAAC,CAAC;YAChCd,QAAQ,CAACF,kBAAkB,CAACgB,MAAM,CAAC,CAAC;UACtC,CAAC,CAAC;QAEJ,CAAC,CAAC;MACJ,CAAC,CAAC,OAAOI,KAAK,EAAE;QACdC,OAAO,CAACC,GAAG,CAAC,gBAAgB,EAAEF,KAAK,CAAC;MAGtC;IACF,CAAC;IAAA;MAAA;IAAA;EAAA;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/06eac418ebfe6b68aa3ac4ecba06541f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/06eac418ebfe6b68aa3ac4ecba06541f.json new file mode 100644 index 00000000..2e8a6a13 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/06eac418ebfe6b68aa3ac4ecba06541f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import Platform from \"react-native-web/dist/exports/Platform\";\nimport NativeModules from \"react-native-web/dist/exports/NativeModules\";\nvar NativeIconAPI = NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\nexport default function ensureNativeModuleAvailable() {\n if (!NativeIconAPI) {\n if (Platform.OS === 'android') {\n throw new Error('RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.');\n }\n throw new Error('RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.');\n }\n}","map":{"version":3,"names":["NativeIconAPI","NativeModules","RNVectorIconsManager","RNVectorIconsModule","ensureNativeModuleAvailable","Platform","OS","Error"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/ensure-native-module-available.js"],"sourcesContent":["import { Platform, NativeModules } from 'react-native';\n\nconst NativeIconAPI =\n NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport default function ensureNativeModuleAvailable() {\n if (!NativeIconAPI) {\n if (Platform.OS === 'android') {\n throw new Error(\n 'RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.'\n );\n }\n throw new Error(\n 'RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.'\n );\n }\n}\n"],"mappings":";;AAEA,IAAMA,aAAa,GACjBC,aAAa,CAACC,oBAAoB,IAAID,aAAa,CAACE,mBAAmB;AAEzE,eAAe,SAASC,2BAA2B,GAAG;EACpD,IAAI,CAACJ,aAAa,EAAE;IAClB,IAAIK,QAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;MAC7B,MAAM,IAAIC,KAAK,CACb,sJAAsJ,CACvJ;IACH;IACA,MAAM,IAAIA,KAAK,CACb,0LAA0L,CAC3L;EACH;AACF"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/07bf1b868fd9d74faa01cd92acef7bc2.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/07bf1b868fd9d74faa01cd92acef7bc2.json new file mode 100644 index 00000000..f7f8913b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/07bf1b868fd9d74faa01cd92acef7bc2.json @@ -0,0 +1 @@ +{"ast":null,"code":"export var GET_FAVORITE_CITY = \"GET_FAVORITE_CITY\";\nexport var ADD_FAVORITE_CITY = \"ADD_FAVORITE_CITY\";\nexport var FETCH_FAVORITE_CITY = \"FETCH_FAVORITE_CITY\";\nexport var DELETE_FAVORITE_CITY = \"DELETE_FAVORITE_CITY\";\nexport var GET_CITIES = \"GET_CITIES\";\nexport var GET_WEATHER_LIST = \"GET_WEATHER_LIST\";\nexport var FETCH_WEATHER_LIST = \"FETCH_WEATHER_LIST\";\nexport var GET_WEATHER = \"GET_WEATHER\";\nexport var FETCH_WEATHER = \"FETCH_WEATHER\";\nexport var GET_WEATHER_SEARCHED = \"GET_WEATHER_SEARCHED\";\nexport var FETCH_WEATHER_SEARCHED = \"FETCH_WEATHER_SEARCHED\";","map":{"version":3,"names":["GET_FAVORITE_CITY","ADD_FAVORITE_CITY","FETCH_FAVORITE_CITY","DELETE_FAVORITE_CITY","GET_CITIES","GET_WEATHER_LIST","FETCH_WEATHER_LIST","GET_WEATHER","FETCH_WEATHER","GET_WEATHER_SEARCHED","FETCH_WEATHER_SEARCHED"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/constants.ts"],"sourcesContent":["export const GET_FAVORITE_CITY = \"GET_FAVORITE_CITY\"\nexport const ADD_FAVORITE_CITY = \"ADD_FAVORITE_CITY\"\nexport const FETCH_FAVORITE_CITY = \"FETCH_FAVORITE_CITY\"\nexport const DELETE_FAVORITE_CITY = \"DELETE_FAVORITE_CITY\"\nexport const GET_CITIES = \"GET_CITIES\"\nexport const GET_WEATHER_LIST = \"GET_WEATHER_LIST\"\nexport const FETCH_WEATHER_LIST = \"FETCH_WEATHER_LIST\"\nexport const GET_WEATHER = \"GET_WEATHER\"\nexport const FETCH_WEATHER = \"FETCH_WEATHER\"\nexport const GET_WEATHER_SEARCHED = \"GET_WEATHER_SEARCHED\"\nexport const FETCH_WEATHER_SEARCHED = \"FETCH_WEATHER_SEARCHED\"\n\n"],"mappings":"AAAA,OAAO,IAAMA,iBAAiB,GAAG,mBAAmB;AACpD,OAAO,IAAMC,iBAAiB,GAAG,mBAAmB;AACpD,OAAO,IAAMC,mBAAmB,GAAG,qBAAqB;AACxD,OAAO,IAAMC,oBAAoB,GAAG,sBAAsB;AAC1D,OAAO,IAAMC,UAAU,GAAG,YAAY;AACtC,OAAO,IAAMC,gBAAgB,GAAG,kBAAkB;AAClD,OAAO,IAAMC,kBAAkB,GAAG,oBAAoB;AACtD,OAAO,IAAMC,WAAW,GAAG,aAAa;AACxC,OAAO,IAAMC,aAAa,GAAG,eAAe;AAC5C,OAAO,IAAMC,oBAAoB,GAAG,sBAAsB;AAC1D,OAAO,IAAMC,sBAAsB,GAAG,wBAAwB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/08fed5bc4bbc301ed43d92d99b5fdcc2.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/08fed5bc4bbc301ed43d92d99b5fdcc2.json new file mode 100644 index 00000000..f2b9b774 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/08fed5bc4bbc301ed43d92d99b5fdcc2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import canUseDOM from \"../../modules/canUseDom\";\nfunction isScreenReaderEnabled() {\n return new Promise(function (resolve, reject) {\n resolve(true);\n });\n}\nvar prefersReducedMotionMedia = canUseDOM && typeof window.matchMedia === 'function' ? window.matchMedia('(prefers-reduced-motion: reduce)') : null;\nfunction isReduceMotionEnabled() {\n return new Promise(function (resolve, reject) {\n resolve(prefersReducedMotionMedia ? prefersReducedMotionMedia.matches : true);\n });\n}\nfunction addChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.addEventListener != null ? prefersReducedMotionMedia.addEventListener('change', fn) : prefersReducedMotionMedia.addListener(fn);\n }\n}\nfunction removeChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.removeEventListener != null ? prefersReducedMotionMedia.removeEventListener('change', fn) : prefersReducedMotionMedia.removeListener(fn);\n }\n}\nvar handlers = {};\nvar AccessibilityInfo = {\n isScreenReaderEnabled: isScreenReaderEnabled,\n isReduceMotionEnabled: isReduceMotionEnabled,\n fetch: isScreenReaderEnabled,\n addEventListener: function addEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n if (!prefersReducedMotionMedia) {\n return;\n }\n var listener = function listener(event) {\n handler(event.matches);\n };\n addChangeListener(listener);\n handlers[handler] = listener;\n }\n return {\n remove: function remove() {\n return AccessibilityInfo.removeEventListener(eventName, handler);\n }\n };\n },\n setAccessibilityFocus: function setAccessibilityFocus(reactTag) {},\n announceForAccessibility: function announceForAccessibility(announcement) {},\n removeEventListener: function removeEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n var listener = handlers[handler];\n if (!listener || !prefersReducedMotionMedia) {\n return;\n }\n removeChangeListener(listener);\n }\n return;\n }\n};\nexport default AccessibilityInfo;","map":{"version":3,"names":["canUseDOM","isScreenReaderEnabled","Promise","resolve","reject","prefersReducedMotionMedia","window","matchMedia","isReduceMotionEnabled","matches","addChangeListener","fn","addEventListener","addListener","removeChangeListener","removeEventListener","removeListener","handlers","AccessibilityInfo","fetch","eventName","handler","listener","event","remove","setAccessibilityFocus","reactTag","announceForAccessibility","announcement"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/AccessibilityInfo/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport canUseDOM from '../../modules/canUseDom';\n\nfunction isScreenReaderEnabled() {\n return new Promise((resolve, reject) => {\n resolve(true);\n });\n}\n\nvar prefersReducedMotionMedia = canUseDOM && typeof window.matchMedia === 'function' ? window.matchMedia('(prefers-reduced-motion: reduce)') : null;\n\nfunction isReduceMotionEnabled() {\n return new Promise((resolve, reject) => {\n resolve(prefersReducedMotionMedia ? prefersReducedMotionMedia.matches : true);\n });\n}\n\nfunction addChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.addEventListener != null ? prefersReducedMotionMedia.addEventListener('change', fn) : prefersReducedMotionMedia.addListener(fn);\n }\n}\n\nfunction removeChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.removeEventListener != null ? prefersReducedMotionMedia.removeEventListener('change', fn) : prefersReducedMotionMedia.removeListener(fn);\n }\n}\n\nvar handlers = {};\nvar AccessibilityInfo = {\n /**\n * Query whether a screen reader is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n */\n isScreenReaderEnabled,\n\n /**\n * Query whether the user prefers reduced motion.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n */\n isReduceMotionEnabled,\n\n /**\n * Deprecated\n */\n fetch: isScreenReaderEnabled,\n\n /**\n * Add an event handler. Supported events: reduceMotionChanged\n */\n addEventListener: function addEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n if (!prefersReducedMotionMedia) {\n return;\n }\n\n var listener = event => {\n handler(event.matches);\n };\n\n addChangeListener(listener);\n handlers[handler] = listener;\n }\n\n return {\n remove: () => AccessibilityInfo.removeEventListener(eventName, handler)\n };\n },\n\n /**\n * Set accessibility focus to a react component.\n */\n setAccessibilityFocus: function setAccessibilityFocus(reactTag) {},\n\n /**\n * Post a string to be announced by the screen reader.\n */\n announceForAccessibility: function announceForAccessibility(announcement) {},\n\n /**\n * Remove an event handler.\n */\n removeEventListener: function removeEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n var listener = handlers[handler];\n\n if (!listener || !prefersReducedMotionMedia) {\n return;\n }\n\n removeChangeListener(listener);\n }\n\n return;\n }\n};\nexport default AccessibilityInfo;"],"mappings":"AAQA,OAAOA,SAAS;AAEhB,SAASC,qBAAqB,GAAG;EAC/B,OAAO,IAAIC,OAAO,CAAC,UAACC,OAAO,EAAEC,MAAM,EAAK;IACtCD,OAAO,CAAC,IAAI,CAAC;EACf,CAAC,CAAC;AACJ;AAEA,IAAIE,yBAAyB,GAAGL,SAAS,IAAI,OAAOM,MAAM,CAACC,UAAU,KAAK,UAAU,GAAGD,MAAM,CAACC,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI;AAEnJ,SAASC,qBAAqB,GAAG;EAC/B,OAAO,IAAIN,OAAO,CAAC,UAACC,OAAO,EAAEC,MAAM,EAAK;IACtCD,OAAO,CAACE,yBAAyB,GAAGA,yBAAyB,CAACI,OAAO,GAAG,IAAI,CAAC;EAC/E,CAAC,CAAC;AACJ;AAEA,SAASC,iBAAiB,CAACC,EAAE,EAAE;EAC7B,IAAIN,yBAAyB,IAAI,IAAI,EAAE;IACrCA,yBAAyB,CAACO,gBAAgB,IAAI,IAAI,GAAGP,yBAAyB,CAACO,gBAAgB,CAAC,QAAQ,EAAED,EAAE,CAAC,GAAGN,yBAAyB,CAACQ,WAAW,CAACF,EAAE,CAAC;EAC3J;AACF;AAEA,SAASG,oBAAoB,CAACH,EAAE,EAAE;EAChC,IAAIN,yBAAyB,IAAI,IAAI,EAAE;IACrCA,yBAAyB,CAACU,mBAAmB,IAAI,IAAI,GAAGV,yBAAyB,CAACU,mBAAmB,CAAC,QAAQ,EAAEJ,EAAE,CAAC,GAAGN,yBAAyB,CAACW,cAAc,CAACL,EAAE,CAAC;EACpK;AACF;AAEA,IAAIM,QAAQ,GAAG,CAAC,CAAC;AACjB,IAAIC,iBAAiB,GAAG;EAOtBjB,qBAAqB,EAArBA,qBAAqB;EAQrBO,qBAAqB,EAArBA,qBAAqB;EAKrBW,KAAK,EAAElB,qBAAqB;EAK5BW,gBAAgB,EAAE,SAASA,gBAAgB,CAACQ,SAAS,EAAEC,OAAO,EAAE;IAC9D,IAAID,SAAS,KAAK,qBAAqB,EAAE;MACvC,IAAI,CAACf,yBAAyB,EAAE;QAC9B;MACF;MAEA,IAAIiB,QAAQ,GAAG,SAAXA,QAAQ,CAAGC,KAAK,EAAI;QACtBF,OAAO,CAACE,KAAK,CAACd,OAAO,CAAC;MACxB,CAAC;MAEDC,iBAAiB,CAACY,QAAQ,CAAC;MAC3BL,QAAQ,CAACI,OAAO,CAAC,GAAGC,QAAQ;IAC9B;IAEA,OAAO;MACLE,MAAM,EAAE;QAAA,OAAMN,iBAAiB,CAACH,mBAAmB,CAACK,SAAS,EAAEC,OAAO,CAAC;MAAA;IACzE,CAAC;EACH,CAAC;EAKDI,qBAAqB,EAAE,SAASA,qBAAqB,CAACC,QAAQ,EAAE,CAAC,CAAC;EAKlEC,wBAAwB,EAAE,SAASA,wBAAwB,CAACC,YAAY,EAAE,CAAC,CAAC;EAK5Eb,mBAAmB,EAAE,SAASA,mBAAmB,CAACK,SAAS,EAAEC,OAAO,EAAE;IACpE,IAAID,SAAS,KAAK,qBAAqB,EAAE;MACvC,IAAIE,QAAQ,GAAGL,QAAQ,CAACI,OAAO,CAAC;MAEhC,IAAI,CAACC,QAAQ,IAAI,CAACjB,yBAAyB,EAAE;QAC3C;MACF;MAEAS,oBAAoB,CAACQ,QAAQ,CAAC;IAChC;IAEA;EACF;AACF,CAAC;AACD,eAAeJ,iBAAiB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/0be45a59281bf571390d51c572661505.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/0be45a59281bf571390d51c572661505.json new file mode 100644 index 00000000..0f776aaf --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/0be45a59281bf571390d51c572661505.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json\";\nexport default createIconSet(glyphMap, 'material', font);","map":{"version":3,"sources":["../src/MaterialIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json';\n\nexport default createIconSet(glyphMap, 'material', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/0d9d8d5c38d7ca3dbbeda368c24ade38.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/0d9d8d5c38d7ca3dbbeda368c24ade38.json new file mode 100644 index 00000000..b118a23f --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/0d9d8d5c38d7ca3dbbeda368c24ade38.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as React from 'react';\nimport Appearance from \"../Appearance\";\nexport default function useColorScheme() {\n var _React$useState = React.useState(Appearance.getColorScheme()),\n colorScheme = _React$useState[0],\n setColorScheme = _React$useState[1];\n React.useEffect(function () {\n function listener(appearance) {\n setColorScheme(appearance.colorScheme);\n }\n var _Appearance$addChange = Appearance.addChangeListener(listener),\n remove = _Appearance$addChange.remove;\n return remove;\n });\n return colorScheme;\n}","map":{"version":3,"names":["React","Appearance","useColorScheme","_React$useState","useState","getColorScheme","colorScheme","setColorScheme","useEffect","listener","appearance","_Appearance$addChange","addChangeListener","remove"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/useColorScheme/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport Appearance from '../Appearance';\nexport default function useColorScheme() {\n var _React$useState = React.useState(Appearance.getColorScheme()),\n colorScheme = _React$useState[0],\n setColorScheme = _React$useState[1];\n\n React.useEffect(() => {\n function listener(appearance) {\n setColorScheme(appearance.colorScheme);\n }\n\n var _Appearance$addChange = Appearance.addChangeListener(listener),\n remove = _Appearance$addChange.remove;\n\n return remove;\n });\n return colorScheme;\n}"],"mappings":"AASA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU;AACjB,eAAe,SAASC,cAAc,GAAG;EACvC,IAAIC,eAAe,GAAGH,KAAK,CAACI,QAAQ,CAACH,UAAU,CAACI,cAAc,EAAE,CAAC;IAC7DC,WAAW,GAAGH,eAAe,CAAC,CAAC,CAAC;IAChCI,cAAc,GAAGJ,eAAe,CAAC,CAAC,CAAC;EAEvCH,KAAK,CAACQ,SAAS,CAAC,YAAM;IACpB,SAASC,QAAQ,CAACC,UAAU,EAAE;MAC5BH,cAAc,CAACG,UAAU,CAACJ,WAAW,CAAC;IACxC;IAEA,IAAIK,qBAAqB,GAAGV,UAAU,CAACW,iBAAiB,CAACH,QAAQ,CAAC;MAC9DI,MAAM,GAAGF,qBAAqB,CAACE,MAAM;IAEzC,OAAOA,MAAM;EACf,CAAC,CAAC;EACF,OAAOP,WAAW;AACpB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1003077aaf99d9c5815dd48c6c56ab85.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1003077aaf99d9c5815dd48c6c56ab85.json new file mode 100644 index 00000000..d74691c2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1003077aaf99d9c5815dd48c6c56ab85.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"styleInterpolator\", \"interpolationIndex\", \"current\", \"gesture\", \"next\", \"layout\", \"insets\", \"overlay\", \"overlayEnabled\", \"shadowEnabled\", \"gestureEnabled\", \"gestureDirection\", \"pageOverflowEnabled\", \"headerDarkContent\", \"children\", \"containerStyle\", \"contentStyle\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nimport Color from 'color';\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport InteractionManager from \"react-native-web/dist/exports/InteractionManager\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { forModalPresentationIOS } from \"../../TransitionConfigs/CardStyleInterpolators\";\nimport CardAnimationContext from \"../../utils/CardAnimationContext\";\nimport getDistanceForDirection from \"../../utils/getDistanceForDirection\";\nimport getInvertedMultiplier from \"../../utils/getInvertedMultiplier\";\nimport memoize from \"../../utils/memoize\";\nimport { GestureState, PanGestureHandler } from \"../GestureHandler\";\nimport ModalStatusBarManager from \"../ModalStatusBarManager\";\nimport CardSheet from \"./CardSheet\";\nvar GESTURE_VELOCITY_IMPACT = 0.3;\nvar TRUE = 1;\nvar FALSE = 0;\nvar GESTURE_RESPONSE_DISTANCE_HORIZONTAL = 50;\nvar GESTURE_RESPONSE_DISTANCE_VERTICAL = 135;\nvar useNativeDriver = Platform.OS !== 'web';\nvar hasOpacityStyle = function hasOpacityStyle(style) {\n if (style) {\n var flattenedStyle = StyleSheet.flatten(style);\n return flattenedStyle.opacity != null;\n }\n return false;\n};\nvar Card = function (_React$Component) {\n _inherits(Card, _React$Component);\n var _super = _createSuper(Card);\n function Card() {\n var _this;\n _classCallCheck(this, Card);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.isCurrentlyMounted = false;\n _this.isClosing = new Animated.Value(FALSE);\n _this.inverted = new Animated.Value(getInvertedMultiplier(_this.props.gestureDirection));\n _this.layout = {\n width: new Animated.Value(_this.props.layout.width),\n height: new Animated.Value(_this.props.layout.height)\n };\n _this.isSwiping = new Animated.Value(FALSE);\n _this.animate = function (_ref2) {\n var closing = _ref2.closing,\n velocity = _ref2.velocity;\n var _this$props = _this.props,\n gesture = _this$props.gesture,\n transitionSpec = _this$props.transitionSpec,\n onOpen = _this$props.onOpen,\n onClose = _this$props.onClose,\n onTransition = _this$props.onTransition;\n var toValue = _this.getAnimateToValue(_objectSpread(_objectSpread({}, _this.props), {}, {\n closing: closing\n }));\n _this.lastToValue = toValue;\n _this.isClosing.setValue(closing ? TRUE : FALSE);\n var spec = closing ? transitionSpec.close : transitionSpec.open;\n var animation = spec.animation === 'spring' ? Animated.spring : Animated.timing;\n _this.setPointerEventsEnabled(!closing);\n _this.handleStartInteraction();\n clearTimeout(_this.pendingGestureCallback);\n onTransition === null || onTransition === void 0 ? void 0 : onTransition({\n closing: closing,\n gesture: velocity !== undefined\n });\n animation(gesture, _objectSpread(_objectSpread({}, spec.config), {}, {\n velocity: velocity,\n toValue: toValue,\n useNativeDriver: useNativeDriver,\n isInteraction: false\n })).start(function (_ref3) {\n var finished = _ref3.finished;\n _this.handleEndInteraction();\n clearTimeout(_this.pendingGestureCallback);\n if (finished) {\n if (closing) {\n onClose();\n } else {\n onOpen();\n }\n if (_this.isCurrentlyMounted) {\n _this.forceUpdate();\n }\n }\n });\n };\n _this.getAnimateToValue = function (_ref4) {\n var closing = _ref4.closing,\n layout = _ref4.layout,\n gestureDirection = _ref4.gestureDirection;\n if (!closing) {\n return 0;\n }\n return getDistanceForDirection(layout, gestureDirection);\n };\n _this.setPointerEventsEnabled = function (enabled) {\n var _this$ref$current;\n var pointerEvents = enabled ? 'box-none' : 'none';\n (_this$ref$current = _this.ref.current) === null || _this$ref$current === void 0 ? void 0 : _this$ref$current.setPointerEvents(pointerEvents);\n };\n _this.handleStartInteraction = function () {\n if (_this.interactionHandle === undefined) {\n _this.interactionHandle = InteractionManager.createInteractionHandle();\n }\n };\n _this.handleEndInteraction = function () {\n if (_this.interactionHandle !== undefined) {\n InteractionManager.clearInteractionHandle(_this.interactionHandle);\n _this.interactionHandle = undefined;\n }\n };\n _this.handleGestureStateChange = function (_ref5) {\n var nativeEvent = _ref5.nativeEvent;\n var _this$props2 = _this.props,\n layout = _this$props2.layout,\n onClose = _this$props2.onClose,\n onGestureBegin = _this$props2.onGestureBegin,\n onGestureCanceled = _this$props2.onGestureCanceled,\n onGestureEnd = _this$props2.onGestureEnd,\n gestureDirection = _this$props2.gestureDirection,\n gestureVelocityImpact = _this$props2.gestureVelocityImpact;\n switch (nativeEvent.state) {\n case GestureState.ACTIVE:\n _this.isSwiping.setValue(TRUE);\n _this.handleStartInteraction();\n onGestureBegin === null || onGestureBegin === void 0 ? void 0 : onGestureBegin();\n break;\n case GestureState.CANCELLED:\n {\n _this.isSwiping.setValue(FALSE);\n _this.handleEndInteraction();\n var velocity = gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? nativeEvent.velocityY : nativeEvent.velocityX;\n _this.animate({\n closing: _this.props.closing,\n velocity: velocity\n });\n onGestureCanceled === null || onGestureCanceled === void 0 ? void 0 : onGestureCanceled();\n break;\n }\n case GestureState.END:\n {\n _this.isSwiping.setValue(FALSE);\n var distance;\n var translation;\n var _velocity;\n if (gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted') {\n distance = layout.height;\n translation = nativeEvent.translationY;\n _velocity = nativeEvent.velocityY;\n } else {\n distance = layout.width;\n translation = nativeEvent.translationX;\n _velocity = nativeEvent.velocityX;\n }\n var closing = (translation + _velocity * gestureVelocityImpact) * getInvertedMultiplier(gestureDirection) > distance / 2 ? _velocity !== 0 || translation !== 0 : _this.props.closing;\n _this.animate({\n closing: closing,\n velocity: _velocity\n });\n if (closing) {\n _this.pendingGestureCallback = setTimeout(function () {\n onClose();\n _this.forceUpdate();\n }, 32);\n }\n onGestureEnd === null || onGestureEnd === void 0 ? void 0 : onGestureEnd();\n break;\n }\n }\n };\n _this.getInterpolatedStyle = memoize(function (styleInterpolator, animation) {\n return styleInterpolator(animation);\n });\n _this.getCardAnimation = memoize(function (interpolationIndex, current, next, layout, insetTop, insetRight, insetBottom, insetLeft) {\n return {\n index: interpolationIndex,\n current: {\n progress: current\n },\n next: next && {\n progress: next\n },\n closing: _this.isClosing,\n swiping: _this.isSwiping,\n inverted: _this.inverted,\n layouts: {\n screen: layout\n },\n insets: {\n top: insetTop,\n right: insetRight,\n bottom: insetBottom,\n left: insetLeft\n }\n };\n });\n _this.ref = React.createRef();\n return _this;\n }\n _createClass(Card, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.animate({\n closing: this.props.closing\n });\n this.isCurrentlyMounted = true;\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var _this$props3 = this.props,\n layout = _this$props3.layout,\n gestureDirection = _this$props3.gestureDirection,\n closing = _this$props3.closing;\n var width = layout.width,\n height = layout.height;\n if (width !== prevProps.layout.width) {\n this.layout.width.setValue(width);\n }\n if (height !== prevProps.layout.height) {\n this.layout.height.setValue(height);\n }\n if (gestureDirection !== prevProps.gestureDirection) {\n this.inverted.setValue(getInvertedMultiplier(gestureDirection));\n }\n var toValue = this.getAnimateToValue(this.props);\n if (this.getAnimateToValue(prevProps) !== toValue || this.lastToValue !== toValue) {\n this.animate({\n closing: closing\n });\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.props.gesture.stopAnimation();\n this.isCurrentlyMounted = false;\n this.handleEndInteraction();\n }\n }, {\n key: \"gestureActivationCriteria\",\n value: function gestureActivationCriteria() {\n var _this$props4 = this.props,\n layout = _this$props4.layout,\n gestureDirection = _this$props4.gestureDirection,\n gestureResponseDistance = _this$props4.gestureResponseDistance;\n var enableTrackpadTwoFingerGesture = true;\n var distance = gestureResponseDistance !== undefined ? gestureResponseDistance : gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? GESTURE_RESPONSE_DISTANCE_VERTICAL : GESTURE_RESPONSE_DISTANCE_HORIZONTAL;\n if (gestureDirection === 'vertical') {\n return {\n maxDeltaX: 15,\n minOffsetY: 5,\n hitSlop: {\n bottom: -layout.height + distance\n },\n enableTrackpadTwoFingerGesture: enableTrackpadTwoFingerGesture\n };\n } else if (gestureDirection === 'vertical-inverted') {\n return {\n maxDeltaX: 15,\n minOffsetY: -5,\n hitSlop: {\n top: -layout.height + distance\n },\n enableTrackpadTwoFingerGesture: enableTrackpadTwoFingerGesture\n };\n } else {\n var hitSlop = -layout.width + distance;\n var invertedMultiplier = getInvertedMultiplier(gestureDirection);\n if (invertedMultiplier === 1) {\n return {\n minOffsetX: 5,\n maxDeltaY: 20,\n hitSlop: {\n right: hitSlop\n },\n enableTrackpadTwoFingerGesture: enableTrackpadTwoFingerGesture\n };\n } else {\n return {\n minOffsetX: -5,\n maxDeltaY: 20,\n hitSlop: {\n left: hitSlop\n },\n enableTrackpadTwoFingerGesture: enableTrackpadTwoFingerGesture\n };\n }\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props5 = this.props,\n styleInterpolator = _this$props5.styleInterpolator,\n interpolationIndex = _this$props5.interpolationIndex,\n current = _this$props5.current,\n gesture = _this$props5.gesture,\n next = _this$props5.next,\n layout = _this$props5.layout,\n insets = _this$props5.insets,\n overlay = _this$props5.overlay,\n overlayEnabled = _this$props5.overlayEnabled,\n shadowEnabled = _this$props5.shadowEnabled,\n gestureEnabled = _this$props5.gestureEnabled,\n gestureDirection = _this$props5.gestureDirection,\n pageOverflowEnabled = _this$props5.pageOverflowEnabled,\n headerDarkContent = _this$props5.headerDarkContent,\n children = _this$props5.children,\n customContainerStyle = _this$props5.containerStyle,\n contentStyle = _this$props5.contentStyle,\n rest = _objectWithoutProperties(_this$props5, _excluded);\n var interpolationProps = this.getCardAnimation(interpolationIndex, current, next, layout, insets.top, insets.right, insets.bottom, insets.left);\n var interpolatedStyle = this.getInterpolatedStyle(styleInterpolator, interpolationProps);\n var containerStyle = interpolatedStyle.containerStyle,\n cardStyle = interpolatedStyle.cardStyle,\n overlayStyle = interpolatedStyle.overlayStyle,\n shadowStyle = interpolatedStyle.shadowStyle;\n var handleGestureEvent = gestureEnabled ? Animated.event([{\n nativeEvent: gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? {\n translationY: gesture\n } : {\n translationX: gesture\n }\n }], {\n useNativeDriver: useNativeDriver\n }) : undefined;\n var _StyleSheet$flatten = StyleSheet.flatten(contentStyle || {}),\n backgroundColor = _StyleSheet$flatten.backgroundColor;\n var isTransparent = typeof backgroundColor === 'string' ? Color(backgroundColor).alpha() === 0 : false;\n return React.createElement(CardAnimationContext.Provider, {\n value: interpolationProps\n }, Platform.OS === 'ios' && overlayEnabled && next && getIsModalPresentation(styleInterpolator) ? React.createElement(ModalStatusBarManager, {\n dark: headerDarkContent,\n layout: layout,\n insets: insets,\n style: cardStyle\n }) : null, React.createElement(Animated.View, {\n style: {\n opacity: current\n },\n collapsable: false\n }), React.createElement(View, _extends({\n pointerEvents: \"box-none\"\n }, rest), overlayEnabled ? React.createElement(View, {\n pointerEvents: \"box-none\",\n style: StyleSheet.absoluteFill\n }, overlay({\n style: overlayStyle\n })) : null, React.createElement(Animated.View, {\n style: [styles.container, containerStyle, customContainerStyle],\n pointerEvents: \"box-none\"\n }, React.createElement(PanGestureHandler, _extends({\n enabled: layout.width !== 0 && gestureEnabled,\n onGestureEvent: handleGestureEvent,\n onHandlerStateChange: this.handleGestureStateChange\n }, this.gestureActivationCriteria()), React.createElement(Animated.View, {\n needsOffscreenAlphaCompositing: hasOpacityStyle(cardStyle),\n style: [styles.container, cardStyle]\n }, shadowEnabled && shadowStyle && !isTransparent ? React.createElement(Animated.View, {\n style: [styles.shadow, gestureDirection === 'horizontal' ? [styles.shadowHorizontal, styles.shadowLeft] : gestureDirection === 'horizontal-inverted' ? [styles.shadowHorizontal, styles.shadowRight] : gestureDirection === 'vertical' ? [styles.shadowVertical, styles.shadowTop] : [styles.shadowVertical, styles.shadowBottom], {\n backgroundColor: backgroundColor\n }, shadowStyle],\n pointerEvents: \"none\"\n }) : null, React.createElement(CardSheet, {\n ref: this.ref,\n enabled: pageOverflowEnabled,\n layout: layout,\n style: contentStyle\n }, children))))));\n }\n }]);\n return Card;\n}(React.Component);\nCard.defaultProps = {\n shadowEnabled: false,\n gestureEnabled: true,\n gestureVelocityImpact: GESTURE_VELOCITY_IMPACT,\n overlay: function overlay(_ref) {\n var style = _ref.style;\n return style ? React.createElement(Animated.View, {\n pointerEvents: \"none\",\n style: [styles.overlay, style]\n }) : null;\n }\n};\nexport { Card as default };\nexport var getIsModalPresentation = function getIsModalPresentation(cardStyleInterpolator) {\n return cardStyleInterpolator === forModalPresentationIOS || cardStyleInterpolator.name === 'forModalPresentationIOS';\n};\nvar styles = StyleSheet.create({\n container: {\n flex: 1\n },\n overlay: {\n flex: 1,\n backgroundColor: '#000'\n },\n shadow: {\n position: 'absolute',\n shadowRadius: 5,\n shadowColor: '#000',\n shadowOpacity: 0.3\n },\n shadowHorizontal: {\n top: 0,\n bottom: 0,\n width: 3,\n shadowOffset: {\n width: -1,\n height: 1\n }\n },\n shadowLeft: {\n left: 0\n },\n shadowRight: {\n right: 0\n },\n shadowVertical: {\n left: 0,\n right: 0,\n height: 3,\n shadowOffset: {\n width: 1,\n height: -1\n }\n },\n shadowTop: {\n top: 0\n },\n shadowBottom: {\n bottom: 0\n }\n});","map":{"version":3,"sources":["views/Stack/Card.tsx"],"names":["Color","React","forModalPresentationIOS","CardAnimationContext","getDistanceForDirection","getInvertedMultiplier","memoize","GestureState","PanGestureHandler","ModalStatusBarManager","CardSheet","GESTURE_VELOCITY_IMPACT","TRUE","FALSE","GESTURE_RESPONSE_DISTANCE_HORIZONTAL","GESTURE_RESPONSE_DISTANCE_VERTICAL","useNativeDriver","Platform","OS","hasOpacityStyle","style","flattenedStyle","StyleSheet","flatten","opacity","Card","Component","defaultProps","shadowEnabled","gestureEnabled","gestureVelocityImpact","overlay","styles","componentDidMount","animate","closing","props","isCurrentlyMounted","componentDidUpdate","prevProps","layout","gestureDirection","width","height","setValue","inverted","toValue","getAnimateToValue","lastToValue","componentWillUnmount","gesture","stopAnimation","handleEndInteraction","isClosing","Animated","Value","isSwiping","velocity","transitionSpec","onOpen","onClose","onTransition","spec","close","open","animation","spring","timing","setPointerEventsEnabled","handleStartInteraction","clearTimeout","pendingGestureCallback","undefined","config","isInteraction","start","finished","forceUpdate","enabled","pointerEvents","ref","current","setPointerEvents","interactionHandle","InteractionManager","createInteractionHandle","clearInteractionHandle","handleGestureStateChange","nativeEvent","onGestureBegin","onGestureCanceled","onGestureEnd","state","ACTIVE","CANCELLED","velocityY","velocityX","END","distance","translation","translationY","translationX","setTimeout","getInterpolatedStyle","styleInterpolator","getCardAnimation","interpolationIndex","next","insetTop","insetRight","insetBottom","insetLeft","index","progress","swiping","layouts","screen","insets","top","right","bottom","left","gestureActivationCriteria","gestureResponseDistance","enableTrackpadTwoFingerGesture","maxDeltaX","minOffsetY","hitSlop","invertedMultiplier","minOffsetX","maxDeltaY","createRef","render","overlayEnabled","pageOverflowEnabled","headerDarkContent","children","containerStyle","customContainerStyle","contentStyle","rest","interpolationProps","interpolatedStyle","cardStyle","overlayStyle","shadowStyle","handleGestureEvent","event","backgroundColor","isTransparent","alpha","getIsModalPresentation","absoluteFill","container","shadow","shadowHorizontal","shadowLeft","shadowRight","shadowVertical","shadowTop","shadowBottom","cardStyleInterpolator","name","create","flex","position","shadowRadius","shadowColor","shadowOpacity","shadowOffset"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAa9B,SAASC,uBA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AEX,KAAK;IAAE,CAAA,CAAG,GACpE,IAAI;EAAA;AACZ,CAAC;AAAA,SAbkBK,IAAI;AAkezB,OAAO,IAAM8H,sBAAsB,GACjCU,SADWV,sBAAsB,CACjCU,qBAAiD,EAC9C;EACH,OACEA,qBAAqB,KAAK/J,uBAAuB,IAEjD+J,qBAAqB,CAACC,IAAI,KAAK,yBAAyB;AAE5D,CAAC;AAED,IAAMlI,MAAM,GAAGV,UAAU,CAAC6I,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,IAAI,EAAE;EACR,CAAC;EACDrI,OAAO,EAAE;IACPqI,IAAI,EAAE,CAAC;IACPhB,eAAe,EAAE;EACnB,CAAC;EACDM,MAAM,EAAE;IACNW,QAAQ,EAAE,UAAU;IACpBC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE,MAAM;IACnBC,aAAa,EAAE;EACjB,CAAC;EACDb,gBAAgB,EAAE;IAChBrC,GAAG,EAAE,CAAC;IACNE,MAAM,EAAE,CAAC;IACT9E,KAAK,EAAE,CAAC;IACR+H,YAAY,EAAE;MAAE/H,KAAK,EAAE,CAAC,CAAC;MAAEC,MAAM,EAAE;IAAE;EACvC,CAAC;EACDiH,UAAU,EAAE;IACVnC,IAAI,EAAE;EACR,CAAC;EACDoC,WAAW,EAAE;IACXtC,KAAK,EAAE;EACT,CAAC;EACDuC,cAAc,EAAE;IACdrC,IAAI,EAAE,CAAC;IACPF,KAAK,EAAE,CAAC;IACR5E,MAAM,EAAE,CAAC;IACT8H,YAAY,EAAE;MAAE/H,KAAK,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC;IAAE;EACvC,CAAC;EACDoH,SAAS,EAAE;IACTzC,GAAG,EAAE;EACP,CAAC;EACD0C,YAAY,EAAE;IACZxC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","sourceRoot":"../../../../src","sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport Color from 'color';\nimport * as React from 'react';\nimport { Animated, InteractionManager, Platform, StyleSheet, View } from 'react-native';\nimport { forModalPresentationIOS } from '../../TransitionConfigs/CardStyleInterpolators';\nimport CardAnimationContext from '../../utils/CardAnimationContext';\nimport getDistanceForDirection from '../../utils/getDistanceForDirection';\nimport getInvertedMultiplier from '../../utils/getInvertedMultiplier';\nimport memoize from '../../utils/memoize';\nimport { GestureState, PanGestureHandler } from '../GestureHandler';\nimport ModalStatusBarManager from '../ModalStatusBarManager';\nimport CardSheet from './CardSheet';\nconst GESTURE_VELOCITY_IMPACT = 0.3;\nconst TRUE = 1;\nconst FALSE = 0;\n\n/**\n * The distance of touch start from the edge of the screen where the gesture will be recognized\n */\nconst GESTURE_RESPONSE_DISTANCE_HORIZONTAL = 50;\nconst GESTURE_RESPONSE_DISTANCE_VERTICAL = 135;\nconst useNativeDriver = Platform.OS !== 'web';\nconst hasOpacityStyle = style => {\n if (style) {\n const flattenedStyle = StyleSheet.flatten(style);\n return flattenedStyle.opacity != null;\n }\n return false;\n};\nexport default class Card extends React.Component {\n static defaultProps = {\n shadowEnabled: false,\n gestureEnabled: true,\n gestureVelocityImpact: GESTURE_VELOCITY_IMPACT,\n overlay: _ref => {\n let {\n style\n } = _ref;\n return style ? /*#__PURE__*/React.createElement(Animated.View, {\n pointerEvents: \"none\",\n style: [styles.overlay, style]\n }) : null;\n }\n };\n componentDidMount() {\n this.animate({\n closing: this.props.closing\n });\n this.isCurrentlyMounted = true;\n }\n componentDidUpdate(prevProps) {\n const {\n layout,\n gestureDirection,\n closing\n } = this.props;\n const {\n width,\n height\n } = layout;\n if (width !== prevProps.layout.width) {\n this.layout.width.setValue(width);\n }\n if (height !== prevProps.layout.height) {\n this.layout.height.setValue(height);\n }\n if (gestureDirection !== prevProps.gestureDirection) {\n this.inverted.setValue(getInvertedMultiplier(gestureDirection));\n }\n const toValue = this.getAnimateToValue(this.props);\n if (this.getAnimateToValue(prevProps) !== toValue || this.lastToValue !== toValue) {\n // We need to trigger the animation when route was closed\n // Thr route might have been closed by a `POP` action or by a gesture\n // When route was closed due to a gesture, the animation would've happened already\n // It's still important to trigger the animation so that `onClose` is called\n // If `onClose` is not called, cleanup step won't be performed for gestures\n this.animate({\n closing\n });\n }\n }\n componentWillUnmount() {\n this.props.gesture.stopAnimation();\n this.isCurrentlyMounted = false;\n this.handleEndInteraction();\n }\n isCurrentlyMounted = false;\n isClosing = new Animated.Value(FALSE);\n inverted = new Animated.Value(getInvertedMultiplier(this.props.gestureDirection));\n layout = {\n width: new Animated.Value(this.props.layout.width),\n height: new Animated.Value(this.props.layout.height)\n };\n isSwiping = new Animated.Value(FALSE);\n animate = _ref2 => {\n let {\n closing,\n velocity\n } = _ref2;\n const {\n gesture,\n transitionSpec,\n onOpen,\n onClose,\n onTransition\n } = this.props;\n const toValue = this.getAnimateToValue({\n ...this.props,\n closing\n });\n this.lastToValue = toValue;\n this.isClosing.setValue(closing ? TRUE : FALSE);\n const spec = closing ? transitionSpec.close : transitionSpec.open;\n const animation = spec.animation === 'spring' ? Animated.spring : Animated.timing;\n this.setPointerEventsEnabled(!closing);\n this.handleStartInteraction();\n clearTimeout(this.pendingGestureCallback);\n onTransition === null || onTransition === void 0 ? void 0 : onTransition({\n closing,\n gesture: velocity !== undefined\n });\n animation(gesture, {\n ...spec.config,\n velocity,\n toValue,\n useNativeDriver,\n isInteraction: false\n }).start(_ref3 => {\n let {\n finished\n } = _ref3;\n this.handleEndInteraction();\n clearTimeout(this.pendingGestureCallback);\n if (finished) {\n if (closing) {\n onClose();\n } else {\n onOpen();\n }\n if (this.isCurrentlyMounted) {\n // Make sure to re-open screen if it wasn't removed\n this.forceUpdate();\n }\n }\n });\n };\n getAnimateToValue = _ref4 => {\n let {\n closing,\n layout,\n gestureDirection\n } = _ref4;\n if (!closing) {\n return 0;\n }\n return getDistanceForDirection(layout, gestureDirection);\n };\n setPointerEventsEnabled = enabled => {\n var _this$ref$current;\n const pointerEvents = enabled ? 'box-none' : 'none';\n (_this$ref$current = this.ref.current) === null || _this$ref$current === void 0 ? void 0 : _this$ref$current.setPointerEvents(pointerEvents);\n };\n handleStartInteraction = () => {\n if (this.interactionHandle === undefined) {\n this.interactionHandle = InteractionManager.createInteractionHandle();\n }\n };\n handleEndInteraction = () => {\n if (this.interactionHandle !== undefined) {\n InteractionManager.clearInteractionHandle(this.interactionHandle);\n this.interactionHandle = undefined;\n }\n };\n handleGestureStateChange = _ref5 => {\n let {\n nativeEvent\n } = _ref5;\n const {\n layout,\n onClose,\n onGestureBegin,\n onGestureCanceled,\n onGestureEnd,\n gestureDirection,\n gestureVelocityImpact\n } = this.props;\n switch (nativeEvent.state) {\n case GestureState.ACTIVE:\n this.isSwiping.setValue(TRUE);\n this.handleStartInteraction();\n onGestureBegin === null || onGestureBegin === void 0 ? void 0 : onGestureBegin();\n break;\n case GestureState.CANCELLED:\n {\n this.isSwiping.setValue(FALSE);\n this.handleEndInteraction();\n const velocity = gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? nativeEvent.velocityY : nativeEvent.velocityX;\n this.animate({\n closing: this.props.closing,\n velocity\n });\n onGestureCanceled === null || onGestureCanceled === void 0 ? void 0 : onGestureCanceled();\n break;\n }\n case GestureState.END:\n {\n this.isSwiping.setValue(FALSE);\n let distance;\n let translation;\n let velocity;\n if (gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted') {\n distance = layout.height;\n translation = nativeEvent.translationY;\n velocity = nativeEvent.velocityY;\n } else {\n distance = layout.width;\n translation = nativeEvent.translationX;\n velocity = nativeEvent.velocityX;\n }\n const closing = (translation + velocity * gestureVelocityImpact) * getInvertedMultiplier(gestureDirection) > distance / 2 ? velocity !== 0 || translation !== 0 : this.props.closing;\n this.animate({\n closing,\n velocity\n });\n if (closing) {\n // We call onClose with a delay to make sure that the animation has already started\n // This will make sure that the state update caused by this doesn't affect start of animation\n this.pendingGestureCallback = setTimeout(() => {\n onClose();\n\n // Trigger an update after we dispatch the action to remove the screen\n // This will make sure that we check if the screen didn't get removed so we can cancel the animation\n this.forceUpdate();\n }, 32);\n }\n onGestureEnd === null || onGestureEnd === void 0 ? void 0 : onGestureEnd();\n break;\n }\n }\n };\n\n // Memoize this to avoid extra work on re-render\n getInterpolatedStyle = memoize((styleInterpolator, animation) => styleInterpolator(animation));\n\n // Keep track of the animation context when deps changes.\n getCardAnimation = memoize((interpolationIndex, current, next, layout, insetTop, insetRight, insetBottom, insetLeft) => ({\n index: interpolationIndex,\n current: {\n progress: current\n },\n next: next && {\n progress: next\n },\n closing: this.isClosing,\n swiping: this.isSwiping,\n inverted: this.inverted,\n layouts: {\n screen: layout\n },\n insets: {\n top: insetTop,\n right: insetRight,\n bottom: insetBottom,\n left: insetLeft\n }\n }));\n gestureActivationCriteria() {\n const {\n layout,\n gestureDirection,\n gestureResponseDistance\n } = this.props;\n const enableTrackpadTwoFingerGesture = true;\n const distance = gestureResponseDistance !== undefined ? gestureResponseDistance : gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? GESTURE_RESPONSE_DISTANCE_VERTICAL : GESTURE_RESPONSE_DISTANCE_HORIZONTAL;\n if (gestureDirection === 'vertical') {\n return {\n maxDeltaX: 15,\n minOffsetY: 5,\n hitSlop: {\n bottom: -layout.height + distance\n },\n enableTrackpadTwoFingerGesture\n };\n } else if (gestureDirection === 'vertical-inverted') {\n return {\n maxDeltaX: 15,\n minOffsetY: -5,\n hitSlop: {\n top: -layout.height + distance\n },\n enableTrackpadTwoFingerGesture\n };\n } else {\n const hitSlop = -layout.width + distance;\n const invertedMultiplier = getInvertedMultiplier(gestureDirection);\n if (invertedMultiplier === 1) {\n return {\n minOffsetX: 5,\n maxDeltaY: 20,\n hitSlop: {\n right: hitSlop\n },\n enableTrackpadTwoFingerGesture\n };\n } else {\n return {\n minOffsetX: -5,\n maxDeltaY: 20,\n hitSlop: {\n left: hitSlop\n },\n enableTrackpadTwoFingerGesture\n };\n }\n }\n }\n ref = /*#__PURE__*/React.createRef();\n render() {\n const {\n styleInterpolator,\n interpolationIndex,\n current,\n gesture,\n next,\n layout,\n insets,\n overlay,\n overlayEnabled,\n shadowEnabled,\n gestureEnabled,\n gestureDirection,\n pageOverflowEnabled,\n headerDarkContent,\n children,\n containerStyle: customContainerStyle,\n contentStyle,\n ...rest\n } = this.props;\n const interpolationProps = this.getCardAnimation(interpolationIndex, current, next, layout, insets.top, insets.right, insets.bottom, insets.left);\n const interpolatedStyle = this.getInterpolatedStyle(styleInterpolator, interpolationProps);\n const {\n containerStyle,\n cardStyle,\n overlayStyle,\n shadowStyle\n } = interpolatedStyle;\n const handleGestureEvent = gestureEnabled ? Animated.event([{\n nativeEvent: gestureDirection === 'vertical' || gestureDirection === 'vertical-inverted' ? {\n translationY: gesture\n } : {\n translationX: gesture\n }\n }], {\n useNativeDriver\n }) : undefined;\n const {\n backgroundColor\n } = StyleSheet.flatten(contentStyle || {});\n const isTransparent = typeof backgroundColor === 'string' ? Color(backgroundColor).alpha() === 0 : false;\n return /*#__PURE__*/React.createElement(CardAnimationContext.Provider, {\n value: interpolationProps\n },\n // StatusBar messes with translucent status bar on Android\n // So we should only enable it on iOS\n Platform.OS === 'ios' && overlayEnabled && next && getIsModalPresentation(styleInterpolator) ? /*#__PURE__*/React.createElement(ModalStatusBarManager, {\n dark: headerDarkContent,\n layout: layout,\n insets: insets,\n style: cardStyle\n }) : null, /*#__PURE__*/React.createElement(Animated.View, {\n style: {\n // This is a dummy style that doesn't actually change anything visually.\n // Animated needs the animated value to be used somewhere, otherwise things don't update properly.\n // If we disable animations and hide header, it could end up making the value unused.\n // So we have this dummy style that will always be used regardless of what else changed.\n opacity: current\n }\n // Make sure that this view isn't removed. If this view is removed, our style with animated value won't apply\n ,\n collapsable: false\n }), /*#__PURE__*/React.createElement(View, _extends({\n pointerEvents: \"box-none\"\n }, rest), overlayEnabled ? /*#__PURE__*/React.createElement(View, {\n pointerEvents: \"box-none\",\n style: StyleSheet.absoluteFill\n }, overlay({\n style: overlayStyle\n })) : null, /*#__PURE__*/React.createElement(Animated.View, {\n style: [styles.container, containerStyle, customContainerStyle],\n pointerEvents: \"box-none\"\n }, /*#__PURE__*/React.createElement(PanGestureHandler, _extends({\n enabled: layout.width !== 0 && gestureEnabled,\n onGestureEvent: handleGestureEvent,\n onHandlerStateChange: this.handleGestureStateChange\n }, this.gestureActivationCriteria()), /*#__PURE__*/React.createElement(Animated.View, {\n needsOffscreenAlphaCompositing: hasOpacityStyle(cardStyle),\n style: [styles.container, cardStyle]\n }, shadowEnabled && shadowStyle && !isTransparent ? /*#__PURE__*/React.createElement(Animated.View, {\n style: [styles.shadow, gestureDirection === 'horizontal' ? [styles.shadowHorizontal, styles.shadowLeft] : gestureDirection === 'horizontal-inverted' ? [styles.shadowHorizontal, styles.shadowRight] : gestureDirection === 'vertical' ? [styles.shadowVertical, styles.shadowTop] : [styles.shadowVertical, styles.shadowBottom], {\n backgroundColor\n }, shadowStyle],\n pointerEvents: \"none\"\n }) : null, /*#__PURE__*/React.createElement(CardSheet, {\n ref: this.ref,\n enabled: pageOverflowEnabled,\n layout: layout,\n style: contentStyle\n }, children))))));\n }\n}\nexport const getIsModalPresentation = cardStyleInterpolator => {\n return cardStyleInterpolator === forModalPresentationIOS ||\n // Handle custom modal presentation interpolators as well\n cardStyleInterpolator.name === 'forModalPresentationIOS';\n};\nconst styles = StyleSheet.create({\n container: {\n flex: 1\n },\n overlay: {\n flex: 1,\n backgroundColor: '#000'\n },\n shadow: {\n position: 'absolute',\n shadowRadius: 5,\n shadowColor: '#000',\n shadowOpacity: 0.3\n },\n shadowHorizontal: {\n top: 0,\n bottom: 0,\n width: 3,\n shadowOffset: {\n width: -1,\n height: 1\n }\n },\n shadowLeft: {\n left: 0\n },\n shadowRight: {\n right: 0\n },\n shadowVertical: {\n left: 0,\n right: 0,\n height: 3,\n shadowOffset: {\n width: 1,\n height: -1\n }\n },\n shadowTop: {\n top: 0\n },\n shadowBottom: {\n bottom: 0\n }\n});\n//# sourceMappingURL=Card.js.map"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1044e4a5b868d50b8434c9019f7e0e60.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1044e4a5b868d50b8434c9019f7e0e60.json new file mode 100644 index 00000000..f3c87f43 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1044e4a5b868d50b8434c9019f7e0e60.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/EvilIcons.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/EvilIcons.json\";\nexport default createIconSet(glyphMap, 'evilicons', font);","map":{"version":3,"sources":["../src/EvilIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,WAAW,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/EvilIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/EvilIcons.json';\n\nexport default createIconSet(glyphMap, 'evilicons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/11d305a92932bf2bfb50fd85484587dc.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/11d305a92932bf2bfb50fd85484587dc.json new file mode 100644 index 00000000..59399a67 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/11d305a92932bf2bfb50fd85484587dc.json @@ -0,0 +1 @@ +{"ast":null,"code":"var _slicedToArray = require(\"@babel/runtime/helpers/slicedToArray\");\nvar _toConsumableArray = require(\"@babel/runtime/helpers/toConsumableArray\");\nvar colorString = require('color-string');\nvar convert = require('color-convert');\nvar skippedModels = ['keyword', 'gray', 'hex'];\nvar hashedModelKeys = {};\nfor (var model of Object.keys(convert)) {\n hashedModelKeys[_toConsumableArray(convert[model].labels).sort().join('')] = model;\n}\nvar limiters = {};\nfunction Color(object, model) {\n if (!(this instanceof Color)) {\n return new Color(object, model);\n }\n if (model && model in skippedModels) {\n model = null;\n }\n if (model && !(model in convert)) {\n throw new Error('Unknown model: ' + model);\n }\n var i;\n var channels;\n if (object == null) {\n this.model = 'rgb';\n this.color = [0, 0, 0];\n this.valpha = 1;\n } else if (object instanceof Color) {\n this.model = object.model;\n this.color = _toConsumableArray(object.color);\n this.valpha = object.valpha;\n } else if (typeof object === 'string') {\n var result = colorString.get(object);\n if (result === null) {\n throw new Error('Unable to parse color from string: ' + object);\n }\n this.model = result.model;\n channels = convert[this.model].channels;\n this.color = result.value.slice(0, channels);\n this.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n } else if (object.length > 0) {\n this.model = model || 'rgb';\n channels = convert[this.model].channels;\n var newArray = Array.prototype.slice.call(object, 0, channels);\n this.color = zeroArray(newArray, channels);\n this.valpha = typeof object[channels] === 'number' ? object[channels] : 1;\n } else if (typeof object === 'number') {\n this.model = 'rgb';\n this.color = [object >> 16 & 0xFF, object >> 8 & 0xFF, object & 0xFF];\n this.valpha = 1;\n } else {\n this.valpha = 1;\n var keys = Object.keys(object);\n if ('alpha' in object) {\n keys.splice(keys.indexOf('alpha'), 1);\n this.valpha = typeof object.alpha === 'number' ? object.alpha : 0;\n }\n var hashedKeys = keys.sort().join('');\n if (!(hashedKeys in hashedModelKeys)) {\n throw new Error('Unable to parse color from object: ' + JSON.stringify(object));\n }\n this.model = hashedModelKeys[hashedKeys];\n var labels = convert[this.model].labels;\n var color = [];\n for (i = 0; i < labels.length; i++) {\n color.push(object[labels[i]]);\n }\n this.color = zeroArray(color);\n }\n if (limiters[this.model]) {\n channels = convert[this.model].channels;\n for (i = 0; i < channels; i++) {\n var limit = limiters[this.model][i];\n if (limit) {\n this.color[i] = limit(this.color[i]);\n }\n }\n }\n this.valpha = Math.max(0, Math.min(1, this.valpha));\n if (Object.freeze) {\n Object.freeze(this);\n }\n}\nColor.prototype = {\n toString: function toString() {\n return this.string();\n },\n toJSON: function toJSON() {\n return this[this.model]();\n },\n string: function string(places) {\n var self = this.model in colorString.to ? this : this.rgb();\n self = self.round(typeof places === 'number' ? places : 1);\n var args = self.valpha === 1 ? self.color : [].concat(_toConsumableArray(self.color), [this.valpha]);\n return colorString.to[self.model](args);\n },\n percentString: function percentString(places) {\n var self = this.rgb().round(typeof places === 'number' ? places : 1);\n var args = self.valpha === 1 ? self.color : [].concat(_toConsumableArray(self.color), [this.valpha]);\n return colorString.to.rgb.percent(args);\n },\n array: function array() {\n return this.valpha === 1 ? _toConsumableArray(this.color) : [].concat(_toConsumableArray(this.color), [this.valpha]);\n },\n object: function object() {\n var result = {};\n var channels = convert[this.model].channels;\n var labels = convert[this.model].labels;\n for (var i = 0; i < channels; i++) {\n result[labels[i]] = this.color[i];\n }\n if (this.valpha !== 1) {\n result.alpha = this.valpha;\n }\n return result;\n },\n unitArray: function unitArray() {\n var rgb = this.rgb().color;\n rgb[0] /= 255;\n rgb[1] /= 255;\n rgb[2] /= 255;\n if (this.valpha !== 1) {\n rgb.push(this.valpha);\n }\n return rgb;\n },\n unitObject: function unitObject() {\n var rgb = this.rgb().object();\n rgb.r /= 255;\n rgb.g /= 255;\n rgb.b /= 255;\n if (this.valpha !== 1) {\n rgb.alpha = this.valpha;\n }\n return rgb;\n },\n round: function round(places) {\n places = Math.max(places || 0, 0);\n return new Color([].concat(_toConsumableArray(this.color.map(roundToPlace(places))), [this.valpha]), this.model);\n },\n alpha: function alpha(value) {\n if (value !== undefined) {\n return new Color([].concat(_toConsumableArray(this.color), [Math.max(0, Math.min(1, value))]), this.model);\n }\n return this.valpha;\n },\n red: getset('rgb', 0, maxfn(255)),\n green: getset('rgb', 1, maxfn(255)),\n blue: getset('rgb', 2, maxfn(255)),\n hue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, function (value) {\n return (value % 360 + 360) % 360;\n }),\n saturationl: getset('hsl', 1, maxfn(100)),\n lightness: getset('hsl', 2, maxfn(100)),\n saturationv: getset('hsv', 1, maxfn(100)),\n value: getset('hsv', 2, maxfn(100)),\n chroma: getset('hcg', 1, maxfn(100)),\n gray: getset('hcg', 2, maxfn(100)),\n white: getset('hwb', 1, maxfn(100)),\n wblack: getset('hwb', 2, maxfn(100)),\n cyan: getset('cmyk', 0, maxfn(100)),\n magenta: getset('cmyk', 1, maxfn(100)),\n yellow: getset('cmyk', 2, maxfn(100)),\n black: getset('cmyk', 3, maxfn(100)),\n x: getset('xyz', 0, maxfn(95.047)),\n y: getset('xyz', 1, maxfn(100)),\n z: getset('xyz', 2, maxfn(108.833)),\n l: getset('lab', 0, maxfn(100)),\n a: getset('lab', 1),\n b: getset('lab', 2),\n keyword: function keyword(value) {\n if (value !== undefined) {\n return new Color(value);\n }\n return convert[this.model].keyword(this.color);\n },\n hex: function hex(value) {\n if (value !== undefined) {\n return new Color(value);\n }\n return colorString.to.hex(this.rgb().round().color);\n },\n hexa: function hexa(value) {\n if (value !== undefined) {\n return new Color(value);\n }\n var rgbArray = this.rgb().round().color;\n var alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n if (alphaHex.length === 1) {\n alphaHex = '0' + alphaHex;\n }\n return colorString.to.hex(rgbArray) + alphaHex;\n },\n rgbNumber: function rgbNumber() {\n var rgb = this.rgb().color;\n return (rgb[0] & 0xFF) << 16 | (rgb[1] & 0xFF) << 8 | rgb[2] & 0xFF;\n },\n luminosity: function luminosity() {\n var rgb = this.rgb().color;\n var lum = [];\n for (var _ref of rgb.entries()) {\n var _ref2 = _slicedToArray(_ref, 2);\n var i = _ref2[0];\n var element = _ref2[1];\n var chan = element / 255;\n lum[i] = chan <= 0.04045 ? chan / 12.92 : Math.pow((chan + 0.055) / 1.055, 2.4);\n }\n return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n },\n contrast: function contrast(color2) {\n var lum1 = this.luminosity();\n var lum2 = color2.luminosity();\n if (lum1 > lum2) {\n return (lum1 + 0.05) / (lum2 + 0.05);\n }\n return (lum2 + 0.05) / (lum1 + 0.05);\n },\n level: function level(color2) {\n var contrastRatio = this.contrast(color2);\n if (contrastRatio >= 7) {\n return 'AAA';\n }\n return contrastRatio >= 4.5 ? 'AA' : '';\n },\n isDark: function isDark() {\n var rgb = this.rgb().color;\n var yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;\n return yiq < 128;\n },\n isLight: function isLight() {\n return !this.isDark();\n },\n negate: function negate() {\n var rgb = this.rgb();\n for (var i = 0; i < 3; i++) {\n rgb.color[i] = 255 - rgb.color[i];\n }\n return rgb;\n },\n lighten: function lighten(ratio) {\n var hsl = this.hsl();\n hsl.color[2] += hsl.color[2] * ratio;\n return hsl;\n },\n darken: function darken(ratio) {\n var hsl = this.hsl();\n hsl.color[2] -= hsl.color[2] * ratio;\n return hsl;\n },\n saturate: function saturate(ratio) {\n var hsl = this.hsl();\n hsl.color[1] += hsl.color[1] * ratio;\n return hsl;\n },\n desaturate: function desaturate(ratio) {\n var hsl = this.hsl();\n hsl.color[1] -= hsl.color[1] * ratio;\n return hsl;\n },\n whiten: function whiten(ratio) {\n var hwb = this.hwb();\n hwb.color[1] += hwb.color[1] * ratio;\n return hwb;\n },\n blacken: function blacken(ratio) {\n var hwb = this.hwb();\n hwb.color[2] += hwb.color[2] * ratio;\n return hwb;\n },\n grayscale: function grayscale() {\n var rgb = this.rgb().color;\n var value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n return Color.rgb(value, value, value);\n },\n fade: function fade(ratio) {\n return this.alpha(this.valpha - this.valpha * ratio);\n },\n opaquer: function opaquer(ratio) {\n return this.alpha(this.valpha + this.valpha * ratio);\n },\n rotate: function rotate(degrees) {\n var hsl = this.hsl();\n var hue = hsl.color[0];\n hue = (hue + degrees) % 360;\n hue = hue < 0 ? 360 + hue : hue;\n hsl.color[0] = hue;\n return hsl;\n },\n mix: function mix(mixinColor, weight) {\n if (!mixinColor || !mixinColor.rgb) {\n throw new Error('Argument to \"mix\" was not a Color instance, but rather an instance of ' + typeof mixinColor);\n }\n var color1 = mixinColor.rgb();\n var color2 = this.rgb();\n var p = weight === undefined ? 0.5 : weight;\n var w = 2 * p - 1;\n var a = color1.alpha() - color2.alpha();\n var w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2;\n var w2 = 1 - w1;\n return Color.rgb(w1 * color1.red() + w2 * color2.red(), w1 * color1.green() + w2 * color2.green(), w1 * color1.blue() + w2 * color2.blue(), color1.alpha() * p + color2.alpha() * (1 - p));\n }\n};\nvar _loop = function _loop(model) {\n if (skippedModels.includes(model)) {\n return \"continue\";\n }\n var channels = convert[model].channels;\n Color.prototype[model] = function () {\n if (this.model === model) {\n return new Color(this);\n }\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (args.length > 0) {\n return new Color(args, model);\n }\n return new Color([].concat(_toConsumableArray(assertArray(convert[this.model][model].raw(this.color))), [this.valpha]), model);\n };\n Color[model] = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n var color = args[0];\n if (typeof color === 'number') {\n color = zeroArray(args, channels);\n }\n return new Color(color, model);\n };\n};\nfor (var _model of Object.keys(convert)) {\n var _ret = _loop(_model);\n if (_ret === \"continue\") continue;\n}\nfunction roundTo(number, places) {\n return Number(number.toFixed(places));\n}\nfunction roundToPlace(places) {\n return function (number) {\n return roundTo(number, places);\n };\n}\nfunction getset(model, channel, modifier) {\n model = Array.isArray(model) ? model : [model];\n for (var m of model) {\n (limiters[m] || (limiters[m] = []))[channel] = modifier;\n }\n model = model[0];\n return function (value) {\n var result;\n if (value !== undefined) {\n if (modifier) {\n value = modifier(value);\n }\n result = this[model]();\n result.color[channel] = value;\n return result;\n }\n result = this[model]().color[channel];\n if (modifier) {\n result = modifier(result);\n }\n return result;\n };\n}\nfunction maxfn(max) {\n return function (v) {\n return Math.max(0, Math.min(max, v));\n };\n}\nfunction assertArray(value) {\n return Array.isArray(value) ? value : [value];\n}\nfunction zeroArray(array, length) {\n for (var i = 0; i < length; i++) {\n if (typeof array[i] !== 'number') {\n array[i] = 0;\n }\n }\n return array;\n}\nmodule.exports = Color;","map":{"version":3,"names":["colorString","require","convert","skippedModels","hashedModelKeys","model","Object","keys","labels","sort","join","limiters","Color","object","Error","i","channels","color","valpha","result","get","value","slice","length","newArray","Array","prototype","call","zeroArray","splice","indexOf","alpha","hashedKeys","JSON","stringify","push","limit","Math","max","min","freeze","toString","string","toJSON","places","self","to","rgb","round","args","percentString","percent","array","unitArray","unitObject","r","g","b","map","roundToPlace","undefined","red","getset","maxfn","green","blue","hue","saturationl","lightness","saturationv","chroma","gray","white","wblack","cyan","magenta","yellow","black","x","y","z","l","a","keyword","hex","hexa","rgbArray","alphaHex","toUpperCase","rgbNumber","luminosity","lum","entries","element","chan","contrast","color2","lum1","lum2","level","contrastRatio","isDark","yiq","isLight","negate","lighten","ratio","hsl","darken","saturate","desaturate","whiten","hwb","blacken","grayscale","fade","opaquer","rotate","degrees","mix","mixinColor","weight","color1","p","w","w1","w2","includes","assertArray","raw","roundTo","number","Number","toFixed","channel","modifier","isArray","m","v","module","exports"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@react-navigation/stack/node_modules/color/index.js"],"sourcesContent":["const colorString = require('color-string');\nconst convert = require('color-convert');\n\nconst skippedModels = [\n\t// To be honest, I don't really feel like keyword belongs in color convert, but eh.\n\t'keyword',\n\n\t// Gray conflicts with some method names, and has its own method defined.\n\t'gray',\n\n\t// Shouldn't really be in color-convert either...\n\t'hex',\n];\n\nconst hashedModelKeys = {};\nfor (const model of Object.keys(convert)) {\n\thashedModelKeys[[...convert[model].labels].sort().join('')] = model;\n}\n\nconst limiters = {};\n\nfunction Color(object, model) {\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(object, model);\n\t}\n\n\tif (model && model in skippedModels) {\n\t\tmodel = null;\n\t}\n\n\tif (model && !(model in convert)) {\n\t\tthrow new Error('Unknown model: ' + model);\n\t}\n\n\tlet i;\n\tlet channels;\n\n\tif (object == null) { // eslint-disable-line no-eq-null,eqeqeq\n\t\tthis.model = 'rgb';\n\t\tthis.color = [0, 0, 0];\n\t\tthis.valpha = 1;\n\t} else if (object instanceof Color) {\n\t\tthis.model = object.model;\n\t\tthis.color = [...object.color];\n\t\tthis.valpha = object.valpha;\n\t} else if (typeof object === 'string') {\n\t\tconst result = colorString.get(object);\n\t\tif (result === null) {\n\t\t\tthrow new Error('Unable to parse color from string: ' + object);\n\t\t}\n\n\t\tthis.model = result.model;\n\t\tchannels = convert[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n\t} else if (object.length > 0) {\n\t\tthis.model = model || 'rgb';\n\t\tchannels = convert[this.model].channels;\n\t\tconst newArray = Array.prototype.slice.call(object, 0, channels);\n\t\tthis.color = zeroArray(newArray, channels);\n\t\tthis.valpha = typeof object[channels] === 'number' ? object[channels] : 1;\n\t} else if (typeof object === 'number') {\n\t\t// This is always RGB - can be converted later on.\n\t\tthis.model = 'rgb';\n\t\tthis.color = [\n\t\t\t(object >> 16) & 0xFF,\n\t\t\t(object >> 8) & 0xFF,\n\t\t\tobject & 0xFF,\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\n\t\tconst keys = Object.keys(object);\n\t\tif ('alpha' in object) {\n\t\t\tkeys.splice(keys.indexOf('alpha'), 1);\n\t\t\tthis.valpha = typeof object.alpha === 'number' ? object.alpha : 0;\n\t\t}\n\n\t\tconst hashedKeys = keys.sort().join('');\n\t\tif (!(hashedKeys in hashedModelKeys)) {\n\t\t\tthrow new Error('Unable to parse color from object: ' + JSON.stringify(object));\n\t\t}\n\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\n\t\tconst {labels} = convert[this.model];\n\t\tconst color = [];\n\t\tfor (i = 0; i < labels.length; i++) {\n\t\t\tcolor.push(object[labels[i]]);\n\t\t}\n\n\t\tthis.color = zeroArray(color);\n\t}\n\n\t// Perform limitations (clamping, etc.)\n\tif (limiters[this.model]) {\n\t\tchannels = convert[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tconst limit = limiters[this.model][i];\n\t\t\tif (limit) {\n\t\t\t\tthis.color[i] = limit(this.color[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\n\tif (Object.freeze) {\n\t\tObject.freeze(this);\n\t}\n}\n\nColor.prototype = {\n\ttoString() {\n\t\treturn this.string();\n\t},\n\n\ttoJSON() {\n\t\treturn this[this.model]();\n\t},\n\n\tstring(places) {\n\t\tlet self = this.model in colorString.to ? this : this.rgb();\n\t\tself = self.round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to[self.model](args);\n\t},\n\n\tpercentString(places) {\n\t\tconst self = this.rgb().round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to.rgb.percent(args);\n\t},\n\n\tarray() {\n\t\treturn this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];\n\t},\n\n\tobject() {\n\t\tconst result = {};\n\t\tconst {channels} = convert[this.model];\n\t\tconst {labels} = convert[this.model];\n\n\t\tfor (let i = 0; i < channels; i++) {\n\t\t\tresult[labels[i]] = this.color[i];\n\t\t}\n\n\t\tif (this.valpha !== 1) {\n\t\t\tresult.alpha = this.valpha;\n\t\t}\n\n\t\treturn result;\n\t},\n\n\tunitArray() {\n\t\tconst rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.push(this.valpha);\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tunitObject() {\n\t\tconst rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.alpha = this.valpha;\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tround(places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);\n\t},\n\n\talpha(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);\n\t\t}\n\n\t\treturn this.valpha;\n\t},\n\n\t// Rgb\n\tred: getset('rgb', 0, maxfn(255)),\n\tgreen: getset('rgb', 1, maxfn(255)),\n\tblue: getset('rgb', 2, maxfn(255)),\n\n\thue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, value => ((value % 360) + 360) % 360),\n\n\tsaturationl: getset('hsl', 1, maxfn(100)),\n\tlightness: getset('hsl', 2, maxfn(100)),\n\n\tsaturationv: getset('hsv', 1, maxfn(100)),\n\tvalue: getset('hsv', 2, maxfn(100)),\n\n\tchroma: getset('hcg', 1, maxfn(100)),\n\tgray: getset('hcg', 2, maxfn(100)),\n\n\twhite: getset('hwb', 1, maxfn(100)),\n\twblack: getset('hwb', 2, maxfn(100)),\n\n\tcyan: getset('cmyk', 0, maxfn(100)),\n\tmagenta: getset('cmyk', 1, maxfn(100)),\n\tyellow: getset('cmyk', 2, maxfn(100)),\n\tblack: getset('cmyk', 3, maxfn(100)),\n\n\tx: getset('xyz', 0, maxfn(95.047)),\n\ty: getset('xyz', 1, maxfn(100)),\n\tz: getset('xyz', 2, maxfn(108.833)),\n\n\tl: getset('lab', 0, maxfn(100)),\n\ta: getset('lab', 1),\n\tb: getset('lab', 2),\n\n\tkeyword(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn convert[this.model].keyword(this.color);\n\t},\n\n\thex(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn colorString.to.hex(this.rgb().round().color);\n\t},\n\n\thexa(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\tconst rgbArray = this.rgb().round().color;\n\n\t\tlet alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n\t\tif (alphaHex.length === 1) {\n\t\t\talphaHex = '0' + alphaHex;\n\t\t}\n\n\t\treturn colorString.to.hex(rgbArray) + alphaHex;\n\t},\n\n\trgbNumber() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);\n\t},\n\n\tluminosity() {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tconst rgb = this.rgb().color;\n\n\t\tconst lum = [];\n\t\tfor (const [i, element] of rgb.entries()) {\n\t\t\tconst chan = element / 255;\n\t\t\tlum[i] = (chan <= 0.04045) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;\n\t\t}\n\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast(color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tconst lum1 = this.luminosity();\n\t\tconst lum2 = color2.luminosity();\n\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel(color2) {\n\t\t// https://www.w3.org/TR/WCAG/#contrast-enhanced\n\t\tconst contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tisDark() {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tconst rgb = this.rgb().color;\n\t\tconst yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;\n\t\treturn yiq < 128;\n\t},\n\n\tisLight() {\n\t\treturn !this.isDark();\n\t},\n\n\tnegate() {\n\t\tconst rgb = this.rgb();\n\t\tfor (let i = 0; i < 3; i++) {\n\t\t\trgb.color[i] = 255 - rgb.color[i];\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tlighten(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdarken(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tsaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdesaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\twhiten(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\n\tblacken(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\n\tgrayscale() {\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tconst rgb = this.rgb().color;\n\t\tconst value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\treturn Color.rgb(value, value, value);\n\t},\n\n\tfade(ratio) {\n\t\treturn this.alpha(this.valpha - (this.valpha * ratio));\n\t},\n\n\topaquer(ratio) {\n\t\treturn this.alpha(this.valpha + (this.valpha * ratio));\n\t},\n\n\trotate(degrees) {\n\t\tconst hsl = this.hsl();\n\t\tlet hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\n\tmix(mixinColor, weight) {\n\t\t// Ported from sass implementation in C\n\t\t// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t\tif (!mixinColor || !mixinColor.rgb) {\n\t\t\tthrow new Error('Argument to \"mix\" was not a Color instance, but rather an instance of ' + typeof mixinColor);\n\t\t}\n\n\t\tconst color1 = mixinColor.rgb();\n\t\tconst color2 = this.rgb();\n\t\tconst p = weight === undefined ? 0.5 : weight;\n\n\t\tconst w = 2 * p - 1;\n\t\tconst a = color1.alpha() - color2.alpha();\n\n\t\tconst w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2;\n\t\tconst w2 = 1 - w1;\n\n\t\treturn Color.rgb(\n\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\tw1 * color1.blue() + w2 * color2.blue(),\n\t\t\tcolor1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n};\n\n// Model conversion methods and static constructors\nfor (const model of Object.keys(convert)) {\n\tif (skippedModels.includes(model)) {\n\t\tcontinue;\n\t}\n\n\tconst {channels} = convert[model];\n\n\t// Conversion methods\n\tColor.prototype[model] = function (...args) {\n\t\tif (this.model === model) {\n\t\t\treturn new Color(this);\n\t\t}\n\n\t\tif (args.length > 0) {\n\t\t\treturn new Color(args, model);\n\t\t}\n\n\t\treturn new Color([...assertArray(convert[this.model][model].raw(this.color)), this.valpha], model);\n\t};\n\n\t// 'static' construction methods\n\tColor[model] = function (...args) {\n\t\tlet color = args[0];\n\t\tif (typeof color === 'number') {\n\t\t\tcolor = zeroArray(args, channels);\n\t\t}\n\n\t\treturn new Color(color, model);\n\t};\n}\n\nfunction roundTo(number, places) {\n\treturn Number(number.toFixed(places));\n}\n\nfunction roundToPlace(places) {\n\treturn function (number) {\n\t\treturn roundTo(number, places);\n\t};\n}\n\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\n\tfor (const m of model) {\n\t\t(limiters[m] || (limiters[m] = []))[channel] = modifier;\n\t}\n\n\tmodel = model[0];\n\n\treturn function (value) {\n\t\tlet result;\n\n\t\tif (value !== undefined) {\n\t\t\tif (modifier) {\n\t\t\t\tvalue = modifier(value);\n\t\t\t}\n\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = value;\n\t\t\treturn result;\n\t\t}\n\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) {\n\t\t\tresult = modifier(result);\n\t\t}\n\n\t\treturn result;\n\t};\n}\n\nfunction maxfn(max) {\n\treturn function (v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\n\nfunction assertArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\n\nfunction zeroArray(array, length) {\n\tfor (let i = 0; i < length; i++) {\n\t\tif (typeof array[i] !== 'number') {\n\t\t\tarray[i] = 0;\n\t\t}\n\t}\n\n\treturn array;\n}\n\nmodule.exports = Color;\n"],"mappings":";;AAAA,IAAMA,WAAW,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC3C,IAAMC,OAAO,GAAGD,OAAO,CAAC,eAAe,CAAC;AAExC,IAAME,aAAa,GAAG,CAErB,SAAS,EAGT,MAAM,EAGN,KAAK,CACL;AAED,IAAMC,eAAe,GAAG,CAAC,CAAC;AAC1B,KAAK,IAAMC,KAAK,IAAIC,MAAM,CAACC,IAAI,CAACL,OAAO,CAAC,EAAE;EACzCE,eAAe,CAAC,mBAAIF,OAAO,CAACG,KAAK,CAAC,CAACG,MAAM,EAAEC,IAAI,EAAE,CAACC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAGL,KAAK;AACpE;AAEA,IAAMM,QA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O,GAAGhI,KAAK"},"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/12f6f5c81f03aee8f87e7079d10cfb41.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/12f6f5c81f03aee8f87e7079d10cfb41.json new file mode 100644 index 00000000..aa40f744 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/12f6f5c81f03aee8f87e7079d10cfb41.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as React from 'react';\nimport View from \"../View\";\nimport createElement from \"../createElement\";\nimport StyleSheet from \"../StyleSheet\";\nimport UIManager from \"../UIManager\";\nimport canUseDOM from \"../../modules/canUseDom\";\nvar FocusBracket = function FocusBracket() {\n return createElement('div', {\n accessibilityRole: 'none',\n tabIndex: 0,\n style: styles.focusBracket\n });\n};\nfunction attemptFocus(element) {\n if (!canUseDOM) {\n return false;\n }\n try {\n element.focus();\n } catch (e) {}\n return document.activeElement === element;\n}\nfunction focusFirstDescendant(element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n if (attemptFocus(child) || focusFirstDescendant(child)) {\n return true;\n }\n }\n return false;\n}\nfunction focusLastDescendant(element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n if (attemptFocus(child) || focusLastDescendant(child)) {\n return true;\n }\n }\n return false;\n}\nvar ModalFocusTrap = function ModalFocusTrap(_ref) {\n var active = _ref.active,\n children = _ref.children;\n var trapElementRef = React.useRef();\n var focusRef = React.useRef({\n trapFocusInProgress: false,\n lastFocusedElement: null\n });\n React.useEffect(function () {\n if (canUseDOM) {\n var trapFocus = function trapFocus() {\n if (trapElementRef.current == null || focusRef.current.trapFocusInProgress || !active) {\n return;\n }\n try {\n focusRef.current.trapFocusInProgress = true;\n if (document.activeElement instanceof Node && !trapElementRef.current.contains(document.activeElement)) {\n var hasFocused = focusFirstDescendant(trapElementRef.current);\n if (focusRef.current.lastFocusedElement === document.activeElement) {\n hasFocused = focusLastDescendant(trapElementRef.current);\n }\n if (!hasFocused && trapElementRef.current != null && document.activeElement) {\n UIManager.focus(trapElementRef.current);\n }\n }\n } finally {\n focusRef.current.trapFocusInProgress = false;\n }\n focusRef.current.lastFocusedElement = document.activeElement;\n };\n trapFocus();\n document.addEventListener('focus', trapFocus, true);\n return function () {\n return document.removeEventListener('focus', trapFocus, true);\n };\n }\n }, [active]);\n React.useEffect(function () {\n if (canUseDOM) {\n var lastFocusedElementOutsideTrap = document.activeElement;\n return function () {\n if (lastFocusedElementOutsideTrap && document.contains(lastFocusedElementOutsideTrap)) {\n UIManager.focus(lastFocusedElementOutsideTrap);\n }\n };\n }\n }, []);\n return React.createElement(React.Fragment, null, React.createElement(FocusBracket, null), React.createElement(View, {\n ref: trapElementRef\n }, children), React.createElement(FocusBracket, null));\n};\nexport default ModalFocusTrap;\nvar styles = StyleSheet.create({\n focusBracket: {\n outlineStyle: 'none'\n }\n});","map":{"version":3,"names":["React","View","createElement","StyleSheet","UIManager","canUseDOM","FocusBracket","accessibilityRole","tabIndex","style","styles","focusBracket","attemptFocus","element","focus","e","document","activeElement","focusFirstDescendant","i","childNodes","length","child","focusLastDescendant","ModalFocusTrap","_ref","active","children","trapElementRef","useRef","focusRef","trapFocusInProgress","lastFocusedElement","useEffect","trapFocus","current","Node","contains","hasFocused","addEventListener","removeEventListener","lastFocusedElementOutsideTrap","Fragment","ref","create","outlineStyle"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Modal/ModalFocusTrap.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport View from '../View';\nimport createElement from '../createElement';\nimport StyleSheet from '../StyleSheet';\nimport UIManager from '../UIManager';\nimport canUseDOM from '../../modules/canUseDom';\n/**\n * This Component is used to \"wrap\" the modal we're opening\n * so that changing focus via tab will never leave the document.\n *\n * This allows us to properly trap the focus within a modal\n * even if the modal is at the start or end of a document.\n */\n\nvar FocusBracket = () => {\n return createElement('div', {\n accessibilityRole: 'none',\n tabIndex: 0,\n style: styles.focusBracket\n });\n};\n\nfunction attemptFocus(element) {\n if (!canUseDOM) {\n return false;\n }\n\n try {\n element.focus();\n } catch (e) {// Do nothing\n }\n\n return document.activeElement === element;\n}\n\nfunction focusFirstDescendant(element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n\n if (attemptFocus(child) || focusFirstDescendant(child)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction focusLastDescendant(element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n\n if (attemptFocus(child) || focusLastDescendant(child)) {\n return true;\n }\n }\n\n return false;\n}\n\nvar ModalFocusTrap = _ref => {\n var active = _ref.active,\n children = _ref.children;\n var trapElementRef = React.useRef();\n var focusRef = React.useRef({\n trapFocusInProgress: false,\n lastFocusedElement: null\n });\n React.useEffect(() => {\n if (canUseDOM) {\n var trapFocus = () => {\n // We should not trap focus if:\n // - The modal hasn't fully initialized with an HTMLElement ref\n // - Focus is already in the process of being trapped (e.g., we're refocusing)\n // - isTrapActive prop being falsey tells us to do nothing\n if (trapElementRef.current == null || focusRef.current.trapFocusInProgress || !active) {\n return;\n }\n\n try {\n focusRef.current.trapFocusInProgress = true;\n\n if (document.activeElement instanceof Node && !trapElementRef.current.contains(document.activeElement)) {\n // To handle keyboard focusing we can make an assumption here.\n // If you're tabbing through the focusable elements, the previously\n // active element will either be the first or the last.\n // If the previously selected element is the \"first\" descendant\n // and we're leaving it - this means that we should be looping\n // around to the other side of the modal.\n var hasFocused = focusFirstDescendant(trapElementRef.current);\n\n if (focusRef.current.lastFocusedElement === document.activeElement) {\n hasFocused = focusLastDescendant(trapElementRef.current);\n } // If we couldn't focus a new element then we need to focus onto the trap target\n\n\n if (!hasFocused && trapElementRef.current != null && document.activeElement) {\n UIManager.focus(trapElementRef.current);\n }\n }\n } finally {\n focusRef.current.trapFocusInProgress = false;\n }\n\n focusRef.current.lastFocusedElement = document.activeElement;\n }; // Call the trapFocus callback at least once when this modal has been activated.\n\n\n trapFocus();\n document.addEventListener('focus', trapFocus, true);\n return () => document.removeEventListener('focus', trapFocus, true);\n }\n }, [active]); // To be fully compliant with WCAG we need to refocus element that triggered opening modal\n // after closing it\n\n React.useEffect(function () {\n if (canUseDOM) {\n var lastFocusedElementOutsideTrap = document.activeElement;\n return function () {\n if (lastFocusedElementOutsideTrap && document.contains(lastFocusedElementOutsideTrap)) {\n UIManager.focus(lastFocusedElementOutsideTrap);\n }\n };\n }\n }, []);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FocusBracket, null), /*#__PURE__*/React.createElement(View, {\n ref: trapElementRef\n }, children), /*#__PURE__*/React.createElement(FocusBracket, null));\n};\n\nexport default ModalFocusTrap;\nvar styles = StyleSheet.create({\n focusBracket: {\n outlineStyle: 'none'\n }\n});"],"mappings":"AASA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,IAAI;AACX,OAAOC,aAAa;AACpB,OAAOC,UAAU;AACjB,OAAOC,SAAS;AAChB,OAAOC,SAAS;AAShB,IAAIC,YAAY,GAAG,SAAfA,YAAY,GAAS;EACvB,OAAOJ,aAAa,CAAC,KAAK,EAAE;IAC1BK,iBAAiB,EAAE,MAAM;IACzBC,QAAQ,EAAE,CAAC;IACXC,KAAK,EAAEC,MAAM,CAACC;EAChB,CAAC,CAAC;AACJ,CAAC;AAED,SAASC,YAAY,CAACC,OAAO,EAAE;EAC7B,IAAI,CAACR,SAAS,EAAE;IACd,OAAO,KAAK;EACd;EAEA,IAAI;IACFQ,OAAO,CAACC,KAAK,EAAE;EACjB,CAAC,CAAC,OAAOC,CAAC,EAAE,CACZ;EAEA,OAAOC,QAAQ,CAACC,a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C,EAAE;UACrFrC,SAAS,CAACU,KAAK,CAAC2B,6BAA6B,CAAC;QAChD;MACF,CAAC;IACH;EACF,CAAC,EAAE,EAAE,CAAC;EACN,OAAoBzC,KAAK,CAACE,aAAa,CAACF,KAAK,CAAC0C,QAAQ,EAAE,IAAI,EAAe1C,KAAK,CAACE,aAAa,CAACI,YAAY,EAAE,IAAI,CAAC,EAAeN,KAAK,CAACE,aAAa,CAACD,IAAI,EAAE;IACzJ0C,GAAG,EAAEf;EACP,CAAC,EAAED,QAAQ,CAAC,EAAe3B,KAAK,CAACE,aAAa,CAACI,YAAY,EAAE,IAAI,CAAC,CAAC;AACrE,CAAC;AAED,eAAekB,cAAc;AAC7B,IAAId,MAAM,GAAGP,UAAU,CAACyC,MAAM,CAAC;EAC7BjC,YAAY,EAAE;IACZkC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/131222d81ad88c9befb42f435d0fe811.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/131222d81ad88c9befb42f435d0fe811.json new file mode 100644 index 00000000..13a1bdb7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/131222d81ad88c9befb42f435d0fe811.json @@ -0,0 +1 @@ +{"ast":null,"code":"var TYPE_VALUE = 'value';\nvar TYPE_ERROR = 'error';\nexport default function createIconSourceCache() {\n var cache = new Map();\n var setValue = function setValue(key, value) {\n return cache.set(key, {\n type: TYPE_VALUE,\n data: value\n });\n };\n var setError = function setError(key, error) {\n return cache.set(key, {\n type: TYPE_ERROR,\n data: error\n });\n };\n var has = function has(key) {\n return cache.has(key);\n };\n var get = function get(key) {\n if (!cache.has(key)) {\n return undefined;\n }\n var _cache$get = cache.get(key),\n type = _cache$get.type,\n data = _cache$get.data;\n if (type === TYPE_ERROR) {\n throw data;\n }\n return data;\n };\n return {\n setValue: setValue,\n setError: setError,\n has: has,\n get: get\n };\n}","map":{"version":3,"names":["TYPE_VALUE","TYPE_ERROR","createIconSourceCache","cache","Map","setValue","key","value","set","type","data","setError","error","has","get","undefined"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-source-cache.js"],"sourcesContent":["const TYPE_VALUE = 'value';\nconst TYPE_ERROR = 'error';\n\nexport default function createIconSourceCache() {\n const cache = new Map();\n\n const setValue = (key, value) =>\n cache.set(key, { type: TYPE_VALUE, data: value });\n\n const setError = (key, error) =>\n cache.set(key, { type: TYPE_ERROR, data: error });\n\n const has = key => cache.has(key);\n\n const get = key => {\n if (!cache.has(key)) {\n return undefined;\n }\n const { type, data } = cache.get(key);\n if (type === TYPE_ERROR) {\n throw data;\n }\n return data;\n };\n\n return { setValue, setError, has, get };\n}\n"],"mappings":"AAAA,IAAMA,UAAU,GAAG,OAAO;AAC1B,IAAMC,UAAU,GAAG,OAAO;AAE1B,eAAe,SAASC,qBAAqB,GAAG;EAC9C,IAAMC,KAAK,GAAG,IAAIC,GAAG,EAAE;EAEvB,IAAMC,QAAQ,GAAG,SAAXA,QAAQ,CAAIC,GAAG,EAAEC,KAAK;IAAA,OAC1BJ,KAAK,CAACK,GAAG,CAACF,GAAG,EAAE;MAAEG,IAAI,EAAET,UAAU;MAAEU,IAAI,EAAEH;IAAM,CAAC,CAAC;EAAA;EAEnD,IAAMI,QAAQ,GAAG,SAAXA,QAAQ,CAAIL,GAAG,EAAEM,KAAK;IAAA,OAC1BT,KAAK,CAACK,GAAG,CAACF,GAAG,EAAE;MAAEG,IAAI,EAAER,UAAU;MAAES,IAAI,EAAEE;IAAM,CAAC,CAAC;EAAA;EAEnD,IAAMC,GAAG,GAAG,SAANA,GAAG,CAAGP,GAAG;IAAA,OAAIH,KAAK,CAACU,GAAG,CAACP,GAAG,CAAC;EAAA;EAEjC,IAAMQ,GAAG,GAAG,SAANA,GAAG,CAAGR,GAAG,EAAI;IACjB,IAAI,CAACH,KAAK,CAACU,GAAG,CAACP,GAAG,CAAC,EAAE;MACnB,OAAOS,SAAS;IAClB;IACA,iBAAuBZ,KAAK,CAACW,GAAG,CAACR,GAAG,CAAC;MAA7BG,IAAI,cAAJA,IAAI;MAAEC,IAAI,cAAJA,IAAI;IAClB,IAAID,IAAI,KAAKR,UAAU,EAAE;MACvB,MAAMS,IAAI;IACZ;IACA,OAAOA,IAAI;EACb,CAAC;EAED,OAAO;IAAEL,QAAQ,EAARA,QAAQ;IAAEM,QAAQ,EAARA,QAAQ;IAAEE,GAAG,EAAHA,GAAG;IAAEC,GAAG,EAAHA;EAAI,CAAC;AACzC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/15bfc621aa42c15a0a0f1663f501924d.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/15bfc621aa42c15a0a0f1663f501924d.json new file mode 100644 index 00000000..ea39d662 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/15bfc621aa42c15a0a0f1663f501924d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Ionicons.json\";\nvar iconSet = createIconSet(glyphMap, 'Ionicons', 'Ionicons.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Ionicons.js"],"sourcesContent":["/**\n * Ionicons icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Ionicons.json';\n\nconst iconSet = createIconSet(glyphMap, 'Ionicons', 'Ionicons.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC;AAEnE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1a6cebdd921cf82f6b8eab2a570a022f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1a6cebdd921cf82f6b8eab2a570a022f.json new file mode 100644 index 00000000..61ea373d --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1a6cebdd921cf82f6b8eab2a570a022f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"children\", \"style\", \"imageStyle\", \"imageRef\"];\nimport * as React from 'react';\nimport { forwardRef } from 'react';\nimport Image from \"../Image\";\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar emptyObject = {};\nvar ImageBackground = forwardRef(function (props, forwardedRef) {\n var children = props.children,\n _props$style = props.style,\n style = _props$style === void 0 ? emptyObject : _props$style,\n imageStyle = props.imageStyle,\n imageRef = props.imageRef,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n var _StyleSheet$flatten = StyleSheet.flatten(style),\n height = _StyleSheet$flatten.height,\n width = _StyleSheet$flatten.width;\n return React.createElement(View, {\n ref: forwardedRef,\n style: style\n }, React.createElement(Image, _extends({}, rest, {\n ref: imageRef,\n style: [{\n width: width,\n height: height,\n zIndex: -1\n }, StyleSheet.absoluteFill, imageStyle]\n })), children);\n});\nImageBackground.displayName = 'ImageBackground';\nexport default ImageBackground;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","forwardRef","Image","StyleSheet","View","emptyObject","ImageBackground","props","forwardedRef","children","_props$style","style","imageStyle","imageRef","rest","_StyleSheet$flatten","flatten","height","width","createElement","ref","zIndex","absoluteFill","displayName"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/ImageBackground/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"children\", \"style\", \"imageStyle\", \"imageRef\"];\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport { forwardRef } from 'react';\nimport Image from '../Image';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nvar emptyObject = {};\n/**\n * Very simple drop-in replacement for which supports nesting views.\n */\n\nvar ImageBackground = /*#__PURE__*/forwardRef((props, forwardedRef) => {\n var children = props.children,\n _props$style = props.style,\n style = _props$style === void 0 ? emptyObject : _props$style,\n imageStyle = props.imageStyle,\n imageRef = props.imageRef,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n\n var _StyleSheet$flatten = StyleSheet.flatten(style),\n height = _StyleSheet$flatten.height,\n width = _StyleSheet$flatten.width;\n\n return /*#__PURE__*/React.createElement(View, {\n ref: forwardedRef,\n style: style\n }, /*#__PURE__*/React.createElement(Image, _extends({}, rest, {\n ref: imageRef,\n style: [{\n // Temporary Workaround:\n // Current (imperfect yet) implementation of overwrites width and height styles\n // (which is not quite correct), and these styles conflict with explicitly set styles\n // of and with our internal layout model here.\n // So, we have to proxy/reapply these styles explicitly for actual component.\n // This workaround should be removed after implementing proper support of\n // intrinsic content size of the .\n width,\n height,\n zIndex: -1\n }, StyleSheet.absoluteFill, imageStyle]\n })), children);\n});\nImageBackground.displayName = 'ImageBackground';\nexport default ImageBackground;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC;AAU/D,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,QAAQ,OAAO;AAClC,OAAOC,KAAK;AACZ,OAAOC,UAAU;AACjB,OAAOC,IAAI;AACX,IAAIC,WAAW,GAAG,CAAC,CAAC;AAKpB,IAAIC,eAAe,GAAgBL,UAAU,CAAC,UAACM,KAAK,EAAEC,YAAY,EAAK;EACrE,IAAIC,QAAQ,GAAGF,KAAK,CAACE,QAAQ;IACzBC,YAAY,GAAGH,KAAK,CAACI,KAAK;IAC1BA,KAAK,GAAGD,YAAY,KAAK,KAAK,CAAC,GAAGL,WAAW,GAAGK,YAAY;IAC5DE,UAAU,GAAGL,KAAK,CAACK,UAAU;IAC7BC,QAAQ,GAAGN,KAAK,CAACM,QAAQ;IACzBC,IAAI,GAAGhB,6BAA6B,CAACS,KAAK,EAAER,SAAS,CAAC;EAE1D,IAAIgB,mBAAmB,GAAGZ,UAAU,CAACa,OAAO,CAACL,KAAK,CAAC;IAC/CM,MAAM,GAAGF,mBAAmB,CAACE,MAAM;IACnCC,KAAK,GAAGH,mBAAmB,CAACG,KAAK;EAErC,OAAoBlB,KAAK,CAACmB,aAAa,CAACf,IAAI,EAAE;IAC5CgB,GAAG,EAAEZ,YAAY;IACjBG,KAAK,EAAEA;EACT,CAAC,EAAeX,KAAK,CAACmB,aAAa,CAACjB,KAAK,EAAEL,QAAQ,CAAC,CAAC,CAAC,EAAEiB,IAAI,EAAE;IAC5DM,GAAG,EAAEP,QAAQ;IACbF,KAAK,EAAE,CAAC;MAQNO,KAAK,EAALA,KAAK;MACLD,MAAM,EAANA,MAAM;MACNI,MAAM,EAAE,CAAC;IACX,CAAC,EAAElB,UAAU,CAACmB,YAAY,EAAEV,UAAU;EACxC,CAAC,CAAC,CAAC,EAAEH,QAAQ,CAAC;AAChB,CAAC,CAAC;AACFH,eAAe,CAACiB,WAAW,GAAG,iBAAiB;AAC/C,eAAejB,eAAe"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1c0a1e222747c44032b61fabf6632813.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1c0a1e222747c44032b61fabf6632813.json new file mode 100644 index 00000000..f7587bed --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1c0a1e222747c44032b61fabf6632813.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"name\", \"size\", \"color\", \"style\", \"children\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport NativeModules from \"react-native-web/dist/exports/NativeModules\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport PixelRatio from \"react-native-web/dist/exports/PixelRatio\";\nimport processColor from \"react-native-web/dist/exports/processColor\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport ensureNativeModuleAvailable from \"./ensure-native-module-available\";\nimport createIconSourceCache from \"./create-icon-source-cache\";\nimport createIconButtonComponent from \"./icon-button\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport var NativeIconAPI = NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\nexport var DEFAULT_ICON_SIZE = 12;\nexport var DEFAULT_ICON_COLOR = 'black';\nexport default function createIconSet(glyphMap, fontFamily, fontFile, fontStyle) {\n var fontBasename = fontFile ? fontFile.replace(/\\.(otf|ttf)$/, '') : fontFamily;\n var fontReference = Platform.select({\n windows: \"/Assets/\" + fontFile + \"#\" + fontFamily,\n android: fontBasename,\n web: fontBasename,\n default: fontFamily\n });\n var IconNamePropType = PropTypes.oneOf(Object.keys(glyphMap));\n var Icon = function (_PureComponent) {\n _inherits(Icon, _PureComponent);\n var _super = _createSuper(Icon);\n function Icon() {\n var _this;\n _classCallCheck(this, Icon);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.root = null;\n _this.handleRef = function (ref) {\n _this.root = ref;\n };\n return _this;\n }\n _createClass(Icon, [{\n key: \"setNativeProps\",\n value: function setNativeProps(nativeProps) {\n if (this.root) {\n this.root.setNativeProps(nativeProps);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n name = _this$props.name,\n size = _this$props.size,\n color = _this$props.color,\n style = _this$props.style,\n children = _this$props.children,\n props = _objectWithoutProperties(_this$props, _excluded);\n var glyph = name ? glyphMap[name] || '?' : '';\n if (typeof glyph === 'number') {\n glyph = String.fromCodePoint(glyph);\n }\n var styleDefaults = {\n fontSize: size,\n color: color\n };\n var styleOverrides = {\n fontFamily: fontReference,\n fontWeight: 'normal',\n fontStyle: 'normal'\n };\n props.style = [styleDefaults, style, styleOverrides, fontStyle || {}];\n props.ref = this.handleRef;\n return _jsxs(Text, _objectSpread(_objectSpread({\n selectable: false\n }, props), {}, {\n children: [glyph, children]\n }));\n }\n }]);\n return Icon;\n }(PureComponent);\n Icon.propTypes = {\n allowFontScaling: PropTypes.bool,\n name: IconNamePropType,\n size: PropTypes.number,\n color: PropTypes.any,\n children: PropTypes.node,\n style: PropTypes.any\n };\n Icon.defaultProps = {\n size: DEFAULT_ICON_SIZE,\n allowFontScaling: false\n };\n var imageSourceCache = createIconSourceCache();\n function resolveGlyph(name) {\n var glyph = glyphMap[name] || '?';\n if (typeof glyph === 'number') {\n return String.fromCodePoint(glyph);\n }\n return glyph;\n }\n function getImageSourceSync(name) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_ICON_SIZE;\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_ICON_COLOR;\n ensureNativeModuleAvailable();\n var glyph = resolveGlyph(name);\n var processedColor = processColor(color);\n var cacheKey = glyph + \":\" + size + \":\" + processedColor;\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n var imagePath = NativeIconAPI.getImageForFontSync(fontReference, glyph, size, processedColor);\n var value = {\n uri: imagePath,\n scale: PixelRatio.get()\n };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n }\n function getImageSource(_x) {\n return _getImageSource.apply(this, arguments);\n }\n function _getImageSource() {\n _getImageSource = _asyncToGenerator(function* (name) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_ICON_SIZE;\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_ICON_COLOR;\n ensureNativeModuleAvailable();\n var glyph = resolveGlyph(name);\n var processedColor = processColor(color);\n var cacheKey = glyph + \":\" + size + \":\" + processedColor;\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n var imagePath = yield NativeIconAPI.getImageForFont(fontReference, glyph, size, processedColor);\n var value = {\n uri: imagePath,\n scale: PixelRatio.get()\n };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n });\n return _getImageSource.apply(this, arguments);\n }\n function loadFont() {\n return _loadFont.apply(this, arguments);\n }\n function _loadFont() {\n _loadFont = _asyncToGenerator(function* () {\n var file = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : fontFile;\n if (Platform.OS === 'ios') {\n ensureNativeModuleAvailable();\n if (!file) {\n throw new Error('Unable to load font, because no file was specified. ');\n }\n yield NativeIconAPI.loadFontWithFileName.apply(NativeIconAPI, _toConsumableArray(file.split('.')));\n }\n });\n return _loadFont.apply(this, arguments);\n }\n function hasIcon(name) {\n return Object.prototype.hasOwnProperty.call(glyphMap, name);\n }\n function getRawGlyphMap() {\n return glyphMap;\n }\n function getFontFamily() {\n return fontReference;\n }\n Icon.Button = createIconButtonComponent(Icon);\n Icon.getImageSource = getImageSource;\n Icon.getImageSourceSync = getImageSourceSync;\n Icon.loadFont = loadFont;\n Icon.hasIcon = hasIcon;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.getFontFamily = getFontFamily;\n return Icon;\n}","map":{"version":3,"names":["React","PureComponent","PropTypes","ensureNativeModuleAvailable","createIconSourceCache","createIconButtonComponent","NativeIconAPI","NativeModules","RNVectorIconsManager","RNVectorIconsModule","DEFAULT_ICON_SIZE","DEFAULT_ICON_COLOR","createIconSet","glyphMap","fontFamily","fontFile","fontStyle","fontBasename","replace","fontReference","Platform","select","windows","android","web","default","IconNamePropType","oneOf","Object","keys","Icon","root","handleRef","ref","nativeProps","setNativeProps","props","name","size","color","style","children","glyph","String","fromCodePoint","styleDefaults","fontSize","styleOverrides","fontWeight","propTypes","allowFontScaling","bool","number","any","node","defaultProps","imageSourceCache","resolveGlyph","getImageSourceSync","processedColor","processColor","cacheKey","has","get","imagePath","getImageForFontSync","value","uri","scale","PixelRatio","setValue","error","setError","getImageSource","getImageForFont","loadFont","file","OS","Error","loadFontWithFileName","split","hasIcon","prototype","hasOwnProperty","call","getRawGlyphMap","getFontFamily","Button"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/create-icon-set.js"],"sourcesContent":["import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NativeModules,\n Platform,\n PixelRatio,\n processColor,\n Text,\n} from 'react-native';\n\nimport ensureNativeModuleAvailable from './ensure-native-module-available';\nimport createIconSourceCache from './create-icon-source-cache';\nimport createIconButtonComponent from './icon-button';\n\nexport const NativeIconAPI =\n NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport const DEFAULT_ICON_SIZE = 12;\nexport const DEFAULT_ICON_COLOR = 'black';\n\nexport default function createIconSet(\n glyphMap,\n fontFamily,\n fontFile,\n fontStyle\n) {\n // Android doesn't care about actual fontFamily name, it will only look in fonts folder.\n const fontBasename = fontFile\n ? fontFile.replace(/\\.(otf|ttf)$/, '')\n : fontFamily;\n\n const fontReference = Platform.select({\n windows: `/Assets/${fontFile}#${fontFamily}`,\n android: fontBasename,\n web: fontBasename,\n default: fontFamily,\n });\n\n const IconNamePropType = PropTypes.oneOf(Object.keys(glyphMap));\n\n class Icon extends PureComponent {\n root = null;\n\n static propTypes = {\n allowFontScaling: PropTypes.bool,\n name: IconNamePropType,\n size: PropTypes.number,\n color: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n children: PropTypes.node,\n style: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n };\n\n static defaultProps = {\n size: DEFAULT_ICON_SIZE,\n allowFontScaling: false,\n };\n\n setNativeProps(nativeProps) {\n if (this.root) {\n this.root.setNativeProps(nativeProps);\n }\n }\n\n handleRef = ref => {\n this.root = ref;\n };\n\n render() {\n const { name, size, color, style, children, ...props } = this.props;\n\n let glyph = name ? glyphMap[name] || '?' : '';\n if (typeof glyph === 'number') {\n glyph = String.fromCodePoint(glyph);\n }\n\n const styleDefaults = {\n fontSize: size,\n color,\n };\n\n const styleOverrides = {\n fontFamily: fontReference,\n fontWeight: 'normal',\n fontStyle: 'normal',\n };\n\n props.style = [styleDefaults, style, styleOverrides, fontStyle || {}];\n props.ref = this.handleRef;\n\n return (\n \n {glyph}\n {children}\n \n );\n }\n }\n\n const imageSourceCache = createIconSourceCache();\n\n function resolveGlyph(name) {\n const glyph = glyphMap[name] || '?';\n if (typeof glyph === 'number') {\n return String.fromCodePoint(glyph);\n }\n return glyph;\n }\n\n function getImageSourceSync(\n name,\n size = DEFAULT_ICON_SIZE,\n color = DEFAULT_ICON_COLOR\n ) {\n ensureNativeModuleAvailable();\n\n const glyph = resolveGlyph(name);\n const processedColor = processColor(color);\n const cacheKey = `${glyph}:${size}:${processedColor}`;\n\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n const imagePath = NativeIconAPI.getImageForFontSync(\n fontReference,\n glyph,\n size,\n processedColor\n );\n const value = { uri: imagePath, scale: PixelRatio.get() };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n }\n\n async function getImageSource(\n name,\n size = DEFAULT_ICON_SIZE,\n color = DEFAULT_ICON_COLOR\n ) {\n ensureNativeModuleAvailable();\n\n const glyph = resolveGlyph(name);\n const processedColor = processColor(color);\n const cacheKey = `${glyph}:${size}:${processedColor}`;\n\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n const imagePath = await NativeIconAPI.getImageForFont(\n fontReference,\n glyph,\n size,\n processedColor\n );\n const value = { uri: imagePath, scale: PixelRatio.get() };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n }\n\n async function loadFont(file = fontFile) {\n if (Platform.OS === 'ios') {\n ensureNativeModuleAvailable();\n if (!file) {\n throw new Error('Unable to load font, because no file was specified. ');\n }\n await NativeIconAPI.loadFontWithFileName(...file.split('.'));\n }\n }\n\n function hasIcon(name) {\n return Object.prototype.hasOwnProperty.call(glyphMap, name);\n }\n\n function getRawGlyphMap() {\n return glyphMap;\n }\n\n function getFontFamily() {\n return fontReference;\n }\n\n Icon.Button = createIconButtonComponent(Icon);\n Icon.getImageSource = getImageSource;\n Icon.getImageSourceSync = getImageSourceSync;\n Icon.loadFont = loadFont;\n Icon.hasIcon = hasIcon;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.getFontFamily = getFontFamily;\n\n return Icon;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,OAAOC,SAAS,MAAM,YAAY;AAAC;AAAA;AAAA;AAAA;AAAA;AASnC,OAAOC,2BAA2B;AAClC,OAAOC,qBAAq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ACjB;EAEA,SAASyE,aAAa,GAAG;IACvB,OAAOnE,aAAa;EACtB;EAEAW,IAAI,CAACyD,MAAM,GAAGlF,yBAAyB,CAACyB,IAAI,CAAC;EAC7CA,IAAI,CAAC2C,cAAc,GAAGA,cAAc;EACpC3C,IAAI,CAAC4B,kBAAkB,GAAGA,kBAAkB;EAC5C5B,IAAI,CAAC6C,QAAQ,GAAGA,QAAQ;EACxB7C,IAAI,CAACmD,OAAO,GAAGA,OAAO;EACtBnD,IAAI,CAACuD,cAAc,GAAGA,cAAc;EACpCvD,IAAI,CAACwD,aAAa,GAAGA,aAAa;EAElC,OAAOxD,IAAI;AACb"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1d7fc8506389ca22a93ce1042558acb5.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1d7fc8506389ca22a93ce1042558acb5.json new file mode 100644 index 00000000..dcc8cd6a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1d7fc8506389ca22a93ce1042558acb5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport createIconSet, { DEFAULT_ICON_COLOR, DEFAULT_ICON_SIZE } from \"./create-icon-set\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createMultiStyleIconSet(styles) {\n var optionsInput = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var styleNames = Object.keys(styles);\n if (styleNames.length === 0) {\n throw new Error('You need to add at least one style');\n }\n var options = _objectSpread({\n defaultStyle: styleNames[0],\n fallbackFamily: function fallbackFamily() {\n return styleNames[0];\n },\n glyphValidator: function glyphValidator() {\n return true;\n }\n }, optionsInput);\n var iconSets = styleNames.reduce(function (acc, name) {\n var style = styles[name];\n acc[name] = createIconSet(style.glyphMap || {}, style.fontFamily || '', style.fontFile || '', style.fontStyle || {});\n return acc;\n }, {});\n function styleFromProps(props) {\n return Object.keys(props).reduce(function (result, propName) {\n return styleNames.indexOf(propName) !== -1 && props[propName] === true ? propName : result;\n }, options.defaultStyle);\n }\n function getIconSetForProps(props) {\n var name = props.name;\n var style = styleFromProps(props);\n if (options.glyphValidator(name, style)) return iconSets[style];\n var family = options.fallbackFamily(name);\n if (styleNames.indexOf(family) === -1) {\n return options.defaultStyle;\n }\n return iconSets[family];\n }\n function selectIconClass(iconSet, iconClass) {\n return iconClass.length > 0 ? iconSet[iconClass] : iconSet;\n }\n function reduceProps(props) {\n return Object.keys(props).reduce(function (acc, prop) {\n if (styleNames.indexOf(prop) === -1) {\n acc[prop] = props[prop];\n }\n return acc;\n }, {});\n }\n function getStyledIconSet(style) {\n var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n if (styleNames.indexOf(style) === -1) {\n return iconSets[options.defaultStyle];\n }\n return !name ? iconSets[styleFromProps(_defineProperty({}, style, true))] : getIconSetForProps(_defineProperty({\n name: name\n }, style, true));\n }\n function getImageSource(name) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_ICON_SIZE;\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_ICON_COLOR;\n var style = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : options.defaultStyle;\n return getStyledIconSet(style, name).getImageSource(name, size, color);\n }\n function getFontFamily() {\n var style = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : options.defaultStyle;\n return getStyledIconSet(style).getFontFamily();\n }\n function getRawGlyphMap() {\n var style = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : options.defaultStyle;\n return getStyledIconSet(style).getRawGlyphMap();\n }\n function hasIcon(name) {\n var style = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : options.defaultStyle;\n return options.glyphValidator(name, style);\n }\n function createStyledIconClass() {\n var selectClass = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var IconClass = function (_PureComponent) {\n _inherits(IconClass, _PureComponent);\n var _super = _createSuper(IconClass);\n function IconClass() {\n _classCallCheck(this, IconClass);\n return _super.apply(this, arguments);\n }\n _createClass(IconClass, [{\n key: \"render\",\n value: function render() {\n var selectedIconSet = getIconSetForProps(this.props);\n var SelectedIconClass = selectIconClass(selectedIconSet, selectClass);\n var props = reduceProps(this.props);\n return _jsx(SelectedIconClass, _objectSpread({}, props));\n }\n }]);\n return IconClass;\n }(PureComponent);\n IconClass.propTypes = styleNames.reduce(function (acc, name) {\n acc[name] = PropTypes.bool;\n return acc;\n }, {});\n IconClass.defaultProps = styleNames.reduce(function (acc, name) {\n acc[name] = false;\n return acc;\n }, {});\n return IconClass;\n }\n var Icon = createStyledIconClass();\n Icon.Button = createStyledIconClass('Button');\n Icon.getStyledIconSet = getStyledIconSet;\n Icon.getImageSource = getImageSource;\n Icon.getFontFamily = getFontFamily;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.hasIcon = hasIcon;\n return Icon;\n}","map":{"version":3,"names":["React","PureComponent","PropTypes","createIconSet","DEFAULT_ICON_COLOR","DEFAULT_ICON_SIZE","createMultiStyleIconSet","styles","optionsInput","styleNames","Object","keys","length","Error","options","defaultStyle","fallbackFamily","glyphValidator","iconSets","reduce","acc","name","style","glyphMap","fontFamily","fontFile","fontStyle","styleFromProps","props","result","propName","indexOf","getIconSetForProps","family","selectIconClass","iconSet","iconClass","reduceProps","prop","getStyledIconSet","getImageSource","size","color","getFontFamily","getRawGlyphMap","hasIcon","createStyledIconClass","selectClass","IconClass","selectedIconSet","SelectedIconClass","propTypes","bool","defaultProps","Icon","Button"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/create-multi-style-icon-set.js"],"sourcesContent":["import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\n\nimport createIconSet, {\n DEFAULT_ICON_COLOR,\n DEFAULT_ICON_SIZE,\n} from './create-icon-set';\n\nexport default function createMultiStyleIconSet(styles, optionsInput = {}) {\n const styleNames = Object.keys(styles);\n\n if (styleNames.length === 0) {\n throw new Error('You need to add at least one style');\n }\n\n const options = {\n defaultStyle: styleNames[0],\n fallbackFamily: () => styleNames[0],\n glyphValidator: () => true,\n ...optionsInput,\n };\n\n const iconSets = styleNames.reduce((acc, name) => {\n const style = styles[name];\n\n acc[name] = createIconSet(\n style.glyphMap || {},\n style.fontFamily || '',\n style.fontFile || '',\n style.fontStyle || {}\n );\n\n return acc;\n }, {});\n\n function styleFromProps(props) {\n return Object.keys(props).reduce(\n (result, propName) =>\n styleNames.indexOf(propName) !== -1 && props[propName] === true\n ? propName\n : result,\n options.defaultStyle\n );\n }\n\n function getIconSetForProps(props) {\n const { name } = props;\n const style = styleFromProps(props);\n\n if (options.glyphValidator(name, style)) return iconSets[style];\n\n const family = options.fallbackFamily(name);\n\n if (styleNames.indexOf(family) === -1) {\n return options.defaultStyle;\n }\n\n return iconSets[family];\n }\n\n function selectIconClass(iconSet, iconClass) {\n return iconClass.length > 0 ? iconSet[iconClass] : iconSet;\n }\n\n function reduceProps(props) {\n return Object.keys(props).reduce((acc, prop) => {\n if (styleNames.indexOf(prop) === -1) {\n acc[prop] = props[prop];\n }\n\n return acc;\n }, {});\n }\n\n function getStyledIconSet(style, name = '') {\n if (styleNames.indexOf(style) === -1) {\n return iconSets[options.defaultStyle];\n }\n\n return !name\n ? iconSets[styleFromProps({ [style]: true })]\n : getIconSetForProps({ name, [style]: true });\n }\n\n function getImageSource(\n name,\n size = DEFAULT_ICON_SIZE,\n color = DEFAULT_ICON_COLOR,\n style = options.defaultStyle\n ) {\n return getStyledIconSet(style, name).getImageSource(name, size, color);\n }\n\n function getFontFamily(style = options.defaultStyle) {\n return getStyledIconSet(style).getFontFamily();\n }\n\n function getRawGlyphMap(style = options.defaultStyle) {\n return getStyledIconSet(style).getRawGlyphMap();\n }\n\n function hasIcon(name, style = options.defaultStyle) {\n return options.glyphValidator(name, style);\n }\n\n function createStyledIconClass(selectClass = '') {\n class IconClass extends PureComponent {\n static propTypes = styleNames.reduce((acc, name) => {\n acc[name] = PropTypes.bool;\n return acc;\n }, {});\n\n static defaultProps = styleNames.reduce((acc, name) => {\n acc[name] = false;\n return acc;\n }, {});\n\n render() {\n const selectedIconSet = getIconSetForProps(this.props);\n const SelectedIconClass = selectIconClass(selectedIconSet, selectClass);\n const props = reduceProps(this.props);\n\n return ;\n }\n }\n\n return IconClass;\n }\n\n const Icon = createStyledIconClass();\n Icon.Button = createStyledIconClass('Button');\n Icon.getStyledIconSet = getStyledIconSet;\n Icon.getImageSource = getImageSource;\n Icon.getFontFamily = getFontFamily;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.hasIcon = hasIcon;\n\n return Icon;\n}\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,OAAOC,SAAS,MAAM,YAAY;AAElC,OAAOC,aAAa,IAClBC,kBAAkB,EAClBC,iBAAiB;AACQ;AAE3B,eAAe,SAASC,uBAAuB,CAACC,MAAM,EAAqB;EAAA,IAAnBC,YAAY,uEAAG,CAAC,CAAC;EACvE,IAAMC,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACJ,MAAM,CAAC;EAEtC,IAAIE,UAAU,CAACG,MAAM,KAAK,CAAC,EAAE;IAC3B,MAAM,IAAIC,KAAK,CAAC,oCAAoC,CAAC;EACvD;EAEA,IAAMC,OAAO;IACXC,YAAY,EAAEN,UAAU,CAAC,CAAC,CAAC;IAC3BO,cAAc,EAAE;MAAA,OAAMP,UAAU,CAAC,CAAC,CAAC;IAAA;IACnCQ,cAAc,EAAE;MAAA,OAAM,IAAI;IAAA;EAAA,GACvBT,YAAY,CAChB;EAED,IAAMU,QAAQ,GAAGT,UAAU,CAACU,MAAM,CAAC,UAACC,GAAG,EAAEC,IAAI,EAAK;IAChD,IAAMC,KAAK,GAAGf,MAAM,CAACc,IAAI,CAAC;IAE1BD,GAAG,CAACC,IAAI,CAAC,GAAGlB,aAAa,CACvBmB,KAAK,CAACC,QAAQ,IAAI,CAAC,CAAC,EACpBD,KAAK,CAACE,UAAU,IAAI,EAAE,EACtBF,KAAK,CAACG,QAAQ,IAAI,EAAE,EACpBH,KAAK,CAACI,SAAS,IAAI,CAAC,CAAC,CACtB;IAED,OA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lBC,WAAW,uEAAG,EAAE;IAAA,IACvCC,SAAS;MAAA;MAAA;MAAA;QAAA;QAAA;MAAA;MAAA;QAAA;QAAA,OAWb,kBAAS;UACP,IAAMC,eAAe,GAAGjB,kBAAkB,CAAC,IAAI,CAACJ,KAAK,CAAC;UACtD,IAAMsB,iBAAiB,GAAGhB,eAAe,CAACe,eAAe,EAAEF,WAAW,CAAC;UACvE,IAAMnB,KAAK,GAAGS,WAAW,CAAC,IAAI,CAACT,KAAK,CAAC;UAErC,OAAO,KAAC,iBAAiB,oBAAKA,KAAK,EAAI;QACzC;MAAC;MAAA;IAAA,EAjBqB3B,aAAa;IAA/B+C,SAAS,CACNG,SAAS,GAAG1C,UAAU,CAACU,MAAM,CAAC,UAACC,GAAG,EAAEC,IAAI,EAAK;MAClDD,GAAG,CAACC,IAAI,CAAC,GAAGnB,SAAS,CAACkD,IAAI;MAC1B,OAAOhC,GAAG;IACZ,CAAC,EAAE,CAAC,CAAC,CAAC;IAJF4B,SAAS,CAMNK,YAAY,GAAG5C,UAAU,CAACU,MAAM,CAAC,UAACC,GAAG,EAAEC,IAAI,EAAK;MACrDD,GAAG,CAACC,IAAI,CAAC,GAAG,KAAK;MACjB,OAAOD,GAAG;IACZ,CAAC,EAAE,CAAC,CAAC,CAAC;IAWR,OAAO4B,SAAS;EAClB;EAEA,IAAMM,IAAI,GAAGR,qBAAqB,EAAE;EACpCQ,IAAI,CAACC,MAAM,GAAGT,qBAAqB,CAAC,QAAQ,CAAC;EAC7CQ,IAAI,CAACf,gBAAgB,GAAGA,gBAAgB;EACxCe,IAAI,CAACd,cAAc,GAAGA,cAAc;EACpCc,IAAI,CAACX,aAAa,GAAGA,aAAa;EAClCW,IAAI,CAACV,cAAc,GAAGA,cAAc;EACpCU,IAAI,CAACT,OAAO,GAAGA,OAAO;EAEtB,OAAOS,IAAI;AACb"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1ecf23b6cad424c49f8326128c26e6fe.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1ecf23b6cad424c49f8326128c26e6fe.json new file mode 100644 index 00000000..424f96fa --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1ecf23b6cad424c49f8326128c26e6fe.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { createFA5iconSet } from \"./lib/create-icon-set-from-fontawesome5\";\nimport glyphMap from \"./glyphmaps/FontAwesome5Free.json\";\nimport metadata from \"./glyphmaps/FontAwesome5Free_meta.json\";\nexport { FA5Style } from \"./lib/create-icon-set-from-fontawesome5\";\nvar iconSet = createFA5iconSet(glyphMap, metadata, false);\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createFA5iconSet","glyphMap","metadata","FA5Style","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/FontAwesome5.js"],"sourcesContent":["/**\n * FontAwesome5 icon set component.\n * Usage: \n */\n\nimport { createFA5iconSet } from './lib/create-icon-set-from-fontawesome5';\n\nimport glyphMap from './glyphmaps/FontAwesome5Free.json';\nimport metadata from './glyphmaps/FontAwesome5Free_meta.json';\n\nexport { FA5Style } from './lib/create-icon-set-from-fontawesome5';\n\nconst iconSet = createFA5iconSet(glyphMap, metadata, false);\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,SAASA,gBAAgB;AAEzB,OAAOC,QAAQ;AACf,OAAOC,QAAQ;AAEf,SAASC,QAAQ;AAEjB,IAAMC,OAAO,GAAGJ,gBAAgB,CAACC,QAAQ,EAAEC,QAAQ,EAAE,KAAK,CAAC;AAE3D,eAAeE,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/1f94e17bca7a021396af4fe0b7e41e94.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/1f94e17bca7a021396af4fe0b7e41e94.json new file mode 100644 index 00000000..9c15566b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/1f94e17bca7a021396af4fe0b7e41e94.json @@ -0,0 +1 @@ +{"ast":null,"code":"import React from \"react\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport TouchableHighlight from \"react-native-web/dist/exports/TouchableHighlight\";\nimport Image from \"react-native-web/dist/exports/Image\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function Details(props) {\n var weather = props.weather;\n var city = weather.city;\n return _jsxs(View, {\n style: {\n alignItems: \"center\",\n backgroundColor: \"darksalmon\",\n height: \"100%\",\n width: \"100%\"\n },\n children: [_jsx(Text, {\n style: styles.name,\n children: city.name\n }), _jsx(View, {\n style: styles.place,\n children: _jsxs(Text, {\n style: styles.petitText,\n children: [city.longitude, \" - \", city.latitude]\n })\n }), _jsx(TouchableHighlight, {\n children: _jsx(Image, {\n style: styles.image,\n source: (weather == null ? void 0 : weather.weatherType) == \"Nuageux\" ? require(\"../assets/Nuageux.png\") : require(\"../assets/Nuageux.png\")\n })\n }), _jsx(Text, {\n style: styles.weatherType,\n children: weather == null ? void 0 : weather.weatherType\n }), _jsxs(View, {\n style: styles.supertruc,\n children: [_jsx(Image, {\n style: styles.petitImage,\n source: require(\"../assets/temperature.png\")\n }), _jsxs(View, {\n style: styles.supertrucencore,\n children: [_jsxs(Text, {\n style: styles.temperature,\n children: [weather == null ? void 0 : weather.temperature, \"\\xB0C\"]\n }), _jsxs(Text, {\n style: styles.petitTemp,\n children: [\"Ressenti \", weather == null ? void 0 : weather.temperatureFeelsLike, \"\\xB0C\"]\n })]\n })]\n }), _jsxs(View, {\n style: styles.boxes,\n children: [_jsxs(View, {\n style: styles.leftBox,\n children: [_jsxs(View, {\n style: styles.imageEtTexte,\n children: [_jsx(Image, {\n style: styles.imageHumidity,\n source: require(\"../assets/humidity.png\")\n }), _jsx(Text, {\n style: styles.text,\n children: \"HUMIDITY\"\n })]\n }), _jsxs(Text, {\n style: styles.humidityText,\n children: [weather == null ? void 0 : weather.humidity, \"%\"]\n })]\n }), _jsxs(View, {\n style: styles.rightBox,\n children: [_jsxs(View, {\n style: styles.imageEtTexte,\n children: [_jsx(Image, {\n style: styles.imageHumidity,\n source: require(\"../assets/wind.png\")\n }), _jsx(Text, {\n style: styles.text,\n children: \"WIND SPEED\"\n })]\n }), _jsxs(Text, {\n style: styles.humidityText,\n children: [weather == null ? void 0 : weather.windSpeed, \" km/h\"]\n })]\n })]\n }), _jsxs(View, {\n style: styles.boxes,\n children: [_jsxs(View, {\n style: styles.leftBox,\n children: [_jsxs(View, {\n style: styles.imageEtTexte,\n children: [_jsx(Image, {\n style: styles.imageHumidity,\n source: require(\"../assets/pressure.png\")\n }), _jsx(Text, {\n style: styles.text,\n children: \"PRESSURE\"\n })]\n }), _jsxs(Text, {\n style: styles.humidityText,\n children: [weather == null ? void 0 : weather.pressure, \" hPa\"]\n })]\n }), _jsxs(View, {\n style: styles.rightBox,\n children: [_jsxs(View, {\n style: styles.imageEtTexte,\n children: [_jsx(Image, {\n style: styles.imageHumidity,\n source: require(\"../assets/visibility.png\")\n }), _jsx(Text, {\n style: styles.text,\n children: \"VISIBILITY\"\n })]\n }), _jsxs(Text, {\n style: styles.humidityText,\n children: [weather == null ? void 0 : weather.visibility, \" km\"]\n })]\n })]\n })]\n });\n}\nvar styles = StyleSheet.create({\n name: {\n marginTop: 30,\n fontSize: 35,\n fontWeight: \"bold\"\n },\n place: {\n marginBottom: 20\n },\n petitText: {\n fontSize: 15\n },\n image: {\n height: 100,\n width: 100\n },\n title: {\n fontWeight: \"bold\",\n fontSize: 18\n },\n temperature: {\n marginTop: 10,\n fontSize: 25,\n fontWeight: \"600\"\n },\n petitTemp: {\n fontSize: 16,\n marginBottom: 35\n },\n weatherType: {\n fontSize: 17,\n marginBottom: 20\n },\n button: {\n height: 30,\n width: 30,\n marginTop: 13,\n alignSelf: \"flex-end\",\n margin: 5\n },\n supertruc: {\n flexDirection: \"row\"\n },\n supertrucencore: {\n flexDirection: \"column\"\n },\n petitImage: {\n height: 40,\n width: 40,\n marginRight: 7,\n marginTop: 15\n },\n imageHumidity: {\n height: 20,\n width: 20,\n marginLeft: 10\n },\n leftBox: {\n alignSelf: \"flex-start\",\n margin: 25,\n marginTop: 10,\n marginBottom: 5,\n height: 90,\n width: 150,\n flexDirection: \"column\",\n backgroundColor: \"powderblue\",\n borderRadius: 20\n },\n rightBox: {\n alignSelf: \"flex-start\",\n marginRight: 25,\n marginTop: 10,\n marginBottom: 5,\n height: 90,\n width: 150,\n flexDirection: \"column\",\n backgroundColor: \"powderblue\",\n borderRadius: 20\n },\n humidityText: {\n marginTop: 13,\n fontWeight: \"bold\",\n fontSize: 20,\n alignSelf: \"center\"\n },\n text: {\n fontWeight: \"normal\",\n fontStyle: 'italic',\n fontSize: 10,\n alignSelf: \"center\",\n marginLeft: 7\n },\n imageEtTexte: {\n flexDirection: \"row\",\n marginTop: 13\n },\n boxes: {\n flexDirection: \"row\"\n }\n});","map":{"version":3,"names":["React","Details","props","weather","city","alignItems","backgroundColor","height","width","styles","name","place","petitText","longitude","latitude","image","weatherType","require","supertruc","petitImage","supertrucencore","temperature","petitTemp","temperatureFeelsLike","boxes","leftBox","imageEtTexte","imageHumidity","text","humidityText","humidity","rightBox","windSpeed","pressure","visibility","StyleSheet","create","marginTop","fontSize","fontWeight","marginBottom","title","button","alignSelf","margin","flexDirection","marginRight","marginLeft","borderRadius","fontStyle"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/components/Details.tsx"],"sourcesContent":["import React from \"react\"\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport { View, Text, StyleSheet, TouchableHighlight, Image } from \"react-native\";\nimport { City, Weather } from \"../data/stub\";\n\n\ntype CityProps = {\n weather: Weather,\n}\n\nexport function Details(props: CityProps){\n\n\n const weather: Weather = props.weather\n const city = weather.city\n\n return (\n \n {city.name}\n \n {city.longitude} - {city.latitude}\n \n \n \n \n {weather?.weatherType}\n \n \n \n {weather?.temperature}°C\n Ressenti {weather?.temperatureFeelsLike}°C\n \n \n \n \n \n \n HUMIDITY\n \n {weather?.humidity}%\n \n \n \n \n WIND SPEED\n \n {weather?.windSpeed} km/h\n \n \n \n \n \n \n PRESSURE\n \n {weather?.pressure} hPa\n \n \n \n \n VISIBILITY\n \n {weather?.visibility} km\n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n name: {\n marginTop: 30,\n fontSize: 35,\n fontWeight: \"bold\"\n },\n place: {\n marginBottom: 20,\n },\n petitText: {\n fontSize: 15\n },\n image: {\n height: 100,\n width: 100\n },\n title: {\n fontWeight: \"bold\",\n fontSize: 18\n },\n temperature: {\n marginTop: 10,\n fontSize: 25, \n fontWeight: \"600\"\n },\n petitTemp: {\n fontSize: 16,\n marginBottom: 35\n },\n weatherType: {\n fontSize: 17,\n marginBottom: 20\n },\n button: {\n height: 30,\n width: 30,\n marginTop: 13,\n alignSelf: \"flex-end\",\n margin: 5\n },\n supertruc: {\n flexDirection: \"row\"\n },\n supertrucencore: {\n flexDirection: \"column\"\n },\n petitImage: {\n height: 40,\n width: 40,\n marginRight: 7,\n marginTop: 15\n },\n imageHumidity: {\n height: 20,\n width: 20,\n marginLeft: 10\n },\n leftBox: {\n alignSelf: \"flex-start\",\n margin: 25,\n marginTop: 10,\n marginBottom: 5,\n height: 90,\n width: 150,\n flexDirection: \"column\",\n backgroundColor: \"powderblue\",\n borderRadius: 20\n },\n rightBox: {\n alignSelf: \"flex-start\",\n marginRight: 25,\n marginTop: 10,\n marginBottom: 5,\n height: 90,\n width: 150,\n flexDirection: \"column\",\n backgroundColor: \"powderblue\",\n borderRadius: 20\n },\n humidityText: {\n marginTop: 13,\n fontWeight: \"bold\",\n fontSize: 20,\n alignSelf: \"center\"\n },\n text: {\n fontWeight: \"normal\",\n fontStyle: 'italic',\n fontSize: 10,\n alignSelf: \"center\",\n marginLeft: 7\n },\n imageEtTexte: {\n flexDirection: \"row\",\n marginTop: 13\n },\n boxes: {\n flexDirection: \"row\"\n }\n });\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUzB,OAAO,SAASC,OAAO,CAACC,KAAgB,EAAC;EAGrC,IAAMC,OAAgB,GAAGD,KAAK,CAACC,OAAO;EACtC,IAAMC,IAAI,GAAGD,OAAO,CAACC,IAAI;EAEzB,OACI,MAAC,IAAI;IAAC,KAAK,EAAE;MAACC,UAAU,EAAE,QAAQ;MAAEC,eAAe,EAAE,YAAY;MAAEC,MAAM,EAAE,MAAM;MAAEC,KAAK,EAAE;IAAM,CAAE;IAAA,WAC9F,KAAC,IAAI;MAAC,KAAK,EAAEC,MAAM,CAACC,IAAK;MAAA,UAAEN,IAAI,CAACM;IAAI,EAAQ,EAC5C,KAAC,IAAI;MAAC,KAAK,EAAED,MAAM,CAACE,KAAM;MAAA,UACtB,MAAC,IAAI;QAAC,KAAK,EAAEF,MAAM,CAACG,SAAU;QAAA,WAAER,IAAI,CAACS,SAAS,EAAC,KAAG,EAACT,IAAI,CAACU,QAAQ;MAAA;IAAQ,EACrE,EACP,KAAC,kBAAkB;MAAA,UACjB,KAAC,KAAK;QAAC,KAAK,EAAEL,MAAM,CAACM,KAAM;QAAC,MAAM,EAAG,CAAAZ,OAAO,oBAAPA,OAAO,CAAEa,WAAW,KAAE,SAAS,GAAGC,OAAO,yBAAyB,GAAGA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IACXpB,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,EAAE;IACTuC,UAAU,EAAE;EAChB,CAAC;EACDtB,OAAO,EAAE;IACLkB,SAAS,EAAE,YAAY;IACvBC,MAAM,EAAE,EAAE;IACVP,SAAS,EAAE,EAAE;IACbG,YAAY,EAAE,CAAC;IACfjC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,GAAG;IACVqC,aAAa,EAAE,QAAQ;IACvBvC,eAAe,EAAE,YAAY;IAC7B0C,YAAY,EAAE;EAClB,CAAC;EACDjB,QAAQ,EAAE;IACNY,SAAS,EAAE,YAAY;IACvBG,WAAW,EAAE,EAAE;IACfT,SAAS,EAAE,EAAE;IACbG,YAAY,EAAE,CAAC;IACfjC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,GAAG;IACVqC,aAAa,EAAE,QAAQ;IACvBvC,eAAe,EAAE,YAAY;IAC7B0C,YAAY,EAAE;EAClB,CAAC;EACDnB,YAAY,EAAE;IACVQ,SAAS,EAAE,EAAE;IACbE,UAAU,EAAE,MAAM;IAClBD,QAAQ,EAAE,EAAE;IACZK,SAAS,EAAE;EACf,CAAC;EACDf,IAAI,EAAE;IACFW,UAAU,EAAE,QAAQ;IACpBU,SAAS,EAAE,QAAQ;IACnBX,QAAQ,EAAE,EAAE;IACZK,SAAS,EAAE,QAAQ;IACnBI,UAAU,EAAE;EAChB,CAAC;EACDrB,YAAY,EAAE;IACVmB,aAAa,EAAE,KAAK;IACpBR,SAAS,EAAE;EACf,CAAC;EACDb,KAAK,EAAE;IACHqB,aAAa,EAAE;EACnB;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/22227e9dda15d978fe9831c385f64eff.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/22227e9dda15d978fe9831c385f64eff.json new file mode 100644 index 00000000..553024a9 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/22227e9dda15d978fe9831c385f64eff.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nexport var City = function () {\n function City(name, latitude, longitude) {\n _classCallCheck(this, City);\n this._name = name;\n this._latitude = latitude;\n this._longitude = longitude;\n }\n _createClass(City, [{\n key: \"name\",\n get: function get() {\n return this._name;\n },\n set: function set(value) {\n this._name = value;\n }\n }, {\n key: \"latitude\",\n get: function get() {\n return this._latitude;\n },\n set: function set(value) {\n this._latitude = value;\n }\n }, {\n key: \"longitude\",\n get: function get() {\n return this._longitude;\n },\n set: function set(value) {\n this._longitude = value;\n }\n }]);\n return City;\n}();\nexport var Weather = function () {\n function Weather(at, visibility, weatherType, weatherDescription, temperature, temperatureFeelsLike, humidity, windSpeed, pressure, city) {\n _classCallCheck(this, Weather);\n this._at = at;\n this._visibility = visibility;\n this._weatherType = weatherType;\n this._weatherDescription = weatherDescription;\n this._temperature = temperature;\n this._temperatureFeelsLike = temperatureFeelsLike;\n this._humidity = humidity;\n this._windSpeed = windSpeed;\n this._pressure = pressure;\n this._city = city;\n }\n _createClass(Weather, [{\n key: \"at\",\n get: function get() {\n return this._at;\n },\n set: function set(value) {\n this._at = value;\n }\n }, {\n key: \"visibility\",\n get: function get() {\n return this._visibility;\n },\n set: function set(value) {\n this._visibility = value;\n }\n }, {\n key: \"weatherType\",\n get: function get() {\n return this._weatherType;\n },\n set: function set(value) {\n this._weatherType = value;\n }\n }, {\n key: \"weatherDescription\",\n get: function get() {\n return this._weatherDescription;\n },\n set: function set(value) {\n this._weatherDescription = value;\n }\n }, {\n key: \"temperature\",\n get: function get() {\n return this._temperature;\n },\n set: function set(value) {\n this._temperature = value;\n }\n }, {\n key: \"temperatureFeelsLike\",\n get: function get() {\n return this._temperatureFeelsLike;\n },\n set: function set(value) {\n this._temperatureFeelsLike = value;\n }\n }, {\n key: \"humidity\",\n get: function get() {\n return this._humidity;\n },\n set: function set(value) {\n this._humidity = value;\n }\n }, {\n key: \"windSpeed\",\n get: function get() {\n return this._windSpeed;\n },\n set: function set(value) {\n this._windSpeed = value;\n }\n }, {\n key: \"pressure\",\n get: function get() {\n return this._pressure;\n },\n set: function set(value) {\n this._pressure = value;\n }\n }, {\n key: \"city\",\n get: function get() {\n return this._city;\n },\n set: function set(value) {\n this._city = value;\n }\n }]);\n return Weather;\n}();\nexport var CITIES_DATA = [new City(\"Paris\", 48.866667, 2.333333), new City(\"Clermont-Ferrand\", 45.777222, 3.087025), new City(\"Lyon\", 45.764043, 4.835659), new City(\"Marseille\", 43.296482, 5.36978), new City(\"Bruxelles\", 50.85034, 4.35171)];\nexport var FAVORITE_CITY_DATA = new City(\"Clermont-Ferrand\", 45.777222, 3.087025);\nexport var DEFAULT_SELECTED_CITY_DATA = new City(\"Paris\", 48.866667, 2.333333);\nexport var WEATHER_DATA = [new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\", \"couvert\", 0.52, -4.34, 82, 5.14, 1032, new City(\"Paris\", 48.866667, 2.333333)), new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\", \"couvert\", 0.52, -4.34, 82, 5.14, 1032, new City(\"Clermont-Ferrand\", 45.777222, 3.087025)), new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\", \"couvert\", 0.52, -4.34, 82, 5.14, 1032, new City(\"Lyon\", 45.764043, 4.835659)), new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\", \"couvert\", 0.52, -4.34, 82, 5.14, 1032, new City(\"Marseille\", 43.296482, 5.36978)), new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\", \"couvert\", 0.52, -4.34, 82, 5.14, 1032, new City(\"Bruxelles\", 50.85034, 4.35171))];\nexport var getCurrentWeather = function getCurrentWeather(cityName) {\n if (cityName === undefined) return null;\n return WEATHER_DATA.filter(function (elt) {\n return elt.city.name === cityName;\n })[0];\n};","map":{"version":3,"names":["City","name","latitude","longitude","_name","_latitude","_longitude","value","Weather","at","visibility","weatherType","weatherDescription","temperature","temperatureFeelsLike","humidity","windSpeed","pressure","city","_at","_visibility","_weatherType","_weatherDescription","_temperature","_temperatureFeelsLike","_humidity","_windSpeed","_pressure","_city","CITIES_DATA","FAVORITE_CITY_DATA","DEFAULT_SELECTED_CITY_DATA","WEATHER_DATA","getCurrentWeather","cityName","undefined","filter","elt"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/data/stub.ts"],"sourcesContent":["export class City {\n private _name: string;\n private _latitude: number;\n private _longitude: number;\n\n constructor(name: string, latitude: number, longitude: number) {\n this._name = name;\n this._latitude = latitude;\n this._longitude = longitude;\n }\n\n get name(): string {\n return this._name;\n }\n\n set name(value: string) {\n this._name = value;\n }\n\n get latitude(): number {\n return this._latitude;\n }\n\n set latitude(value: number) {\n this._latitude = value;\n }\n\n get longitude(): number {\n return this._longitude;\n }\n\n set longitude(value: number) {\n this._longitude = value;\n }\n}\n\nexport class Weather {\n private _at: string;\n private _visibility: number;\n private _weatherType: string;\n private _weatherDescription: string;\n private _temperature: number;\n private _temperatureFeelsLike: number;\n private _humidity: number;\n private _windSpeed: number;\n private _pressure: number;\n private _city: City;\n\n constructor(at: string, visibility: number, weatherType: string, weatherDescription: string, temperature: number, temperatureFeelsLike: number, humidity: number, windSpeed: number, pressure: number, city: City) {\n this._at = at;\n this._visibility = visibility;\n this._weatherType = weatherType;\n this._weatherDescription = weatherDescription;\n this._temperature = temperature;\n this._temperatureFeelsLike = temperatureFeelsLike;\n this._humidity = humidity;\n this._windSpeed = windSpeed;\n this._pressure = pressure;\n this._city = city;\n }\n\n get at(): string {\n return this._at;\n }\n\n set at(value: string) {\n this._at = value;\n }\n\n get visibility(): number {\n return this._visibility;\n }\n\n set visibility(value: number) {\n this._visibility = value;\n }\n\n get weatherType(): string {\n return this._weatherType;\n }\n\n set weatherType(value: string) {\n this._weatherType = value;\n }\n\n get weatherDescription(): string {\n return this._weatherDescription;\n }\n\n set weatherDescription(value: string) {\n this._weatherDescription = value;\n }\n\n get temperature(): number {\n return this._temperature;\n }\n\n set temperature(value: number) {\n this._temperature = value;\n }\n\n get temperatureFeelsLike(): number {\n return this._temperatureFeelsLike;\n }\n\n set temperatureFeelsLike(value: number) {\n this._temperatureFeelsLike = value;\n }\n\n get humidity(): number {\n return this._humidity;\n }\n\n set humidity(value: number) {\n this._humidity = value;\n }\n\n get windSpeed(): number {\n return this._windSpeed;\n }\n\n set windSpeed(value: number) {\n this._windSpeed = value;\n }\n\n get pressure(): number {\n return this._pressure;\n }\n\n set pressure(value: number) {\n this._pressure = value;\n }\n\n get city(): City {\n return this._city;\n }\n\n set city(value: City) {\n this._city = value;\n }\n}\n\nexport const CITIES_DATA: City[] = [\n new City(\"Paris\", 48.866667, 2.333333),\n new City(\"Clermont-Ferrand\", 45.777222, 3.087025),\n new City(\"Lyon\", 45.764043, 4.835659),\n new City(\"Marseille\", 43.296482, 5.36978),\n new City(\"Bruxelles\", 50.85034, 4.35171),\n];\n\nexport const FAVORITE_CITY_DATA =\n new City(\"Clermont-Ferrand\", 45.777222, 3.087025);\n\nexport const DEFAULT_SELECTED_CITY_DATA: City =\n new City(\"Paris\", 48.866667, 2.333333);\n\nexport const WEATHER_DATA: Weather[] = [\n new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\",\n \"couvert\", 0.52, -4.34,\n 82, 5.14, 1032,\n new City(\"Paris\", 48.866667, 2.333333)\n ),\n new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\",\n \"couvert\", 0.52, -4.34,\n 82, 5.14, 1032,\n new City(\"Clermont-Ferrand\", 45.777222, 3.087025)\n ),\n new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\",\n \"couvert\", 0.52, -4.34,\n 82, 5.14, 1032,\n new City(\"Lyon\", 45.764043, 4.835659)\n ),\n new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\",\n \"couvert\", 0.52, -4.34,\n 82, 5.14, 1032,\n new City(\"Marseille\", 43.296482, 5.36978)\n ),\n new Weather(\"2023-01-22 09:55:59\", 10000, \"Nuageux\",\n \"couvert\", 0.52, -4.34,\n 82, 5.14, 1032,\n new City(\"Bruxelles\", 50.85034, 4.35171)\n ),\n];\n\nexport const getCurrentWeather = (cityName: string) => {\n if (cityName === undefined) return null;\n return WEATHER_DATA.filter(elt => elt.city.name === cityName)[0];\n}\n"],"mappings":";;AAAA,WAAaA,IAAI;EAKf,cAAYC,IAAY,EAAEC,QAAgB,EAAEC,SAAiB,EAAE;IAAA;IAC7D,IAAI,CAACC,KAAK,GAAGH,IAAI;IACjB,IAAI,CAACI,SAAS,GAAGH,QAAQ;IACzB,IAAI,CAACI,UAAU,GAAGH,SAAS;EAC7B;EAAC;IAAA;IAAA,KAED,eAAmB;MACjB,OAAO,IAAI,CAACC,KAAK;IACnB,CAAC;IAAA,KAED,aAASG,KAAa,EAAE;MACtB,IAAI,CAACH,KAAK,GAAGG,KAAK;IACpB;EAAC;IAAA;IAAA,KAED,eAAuB;MACrB,OAAO,IAAI,CAACF,SAAS;IACvB,CAAC;IAAA,KAED,aAAaE,KAAa,EAAE;MAC1B,IAAI,CAACF,SAAS,GAAGE,KAAK;IACxB;EAAC;IAAA;IAAA,KAED,eAAwB;MACtB,OAAO,IAAI,CAACD,UAAU;IACxB,CAAC;IAAA,KAED,aAAcC,KAAa,EAAE;MAC3B,IAAI,CAACD,UAAU,GAAGC,KAAK;IACzB;EAAC;EAAA;AAAA;AAGH,WAAaC,OAAO;EAYlB,iBAAYC,EAAU,EAAEC,UAAkB,EAAEC,WAAmB,EAAEC,kBAA0B,EAAEC,WAAmB,EAAEC,oBAA4B,EAAEC,QAAgB,EAAEC,SAAiB,EAAEC,QAAgB,EAAEC,IAAU,EAAE;IAAA;IACjN,IAAI,CAACC,GAAG,GAAGV,EAAE;IACb,IAAI,CAACW,WAAW,GAAGV,UAAU;IAC7B,IAAI,CAACW,YAAY,GAAGV,WAAW;IAC/B,IAAI,CAACW,mBAA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end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/23d06fafaa8b37ab67daedf898a3426a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/23d06fafaa8b37ab67daedf898a3426a.json new file mode 100644 index 00000000..c227d74c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/23d06fafaa8b37ab67daedf898a3426a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { getFavoriteCityStorage } from \"../../asyncStorange/getFavoriteCityStorage\";\nimport { City } from \"../../data/stub\";\nimport { getWeather } from \"./getWeather\";\nimport { setFavoriteCity } from \"./setFavoriteCity\";\nimport { setWeather } from \"./setWeather\";\nexport var getFavoriteCity = function getFavoriteCity() {\n return function () {\n var _ref = _asyncToGenerator(function* (dispatch) {\n try {\n var json = yield getFavoriteCityStorage();\n if (json != null) {\n var city = new City(json[\"_name\"], json[\"_latitude\"], json[\"_longitude\"]);\n dispatch(setFavoriteCity(city));\n dispatch(getWeather(city));\n } else {\n dispatch(setFavoriteCity(null));\n dispatch(setWeather(null));\n }\n } catch (error) {\n console.log('Error---------', error);\n }\n });\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }();\n};","map":{"version":3,"names":["getFavoriteCityStorage","City","getWeather","setFavoriteCity","setWeather","getFavoriteCity","dispatch","json","city","error","console","log"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/getFavoriteCity.ts"],"sourcesContent":["import { getFavoriteCityStorage } from \"../../asyncStorange/getFavoriteCityStorage\";\nimport { City } from \"../../data/stub\";\nimport { getWeather } from \"./getWeather\";\nimport { setFavoriteCity } from \"./setFavoriteCity\";\nimport { setWeather } from \"./setWeather\";\n\nexport const getFavoriteCity = () => {\n return async dispatch => {\n try {\n const json = await getFavoriteCityStorage()\n if (json!=null){\n const city = new City(json[\"_name\"], json[\"_latitude\"], json[\"_longitude\"])\n dispatch(setFavoriteCity(city))\n dispatch(getWeather(city))\n }\n else{\n dispatch(setFavoriteCity(null))\n dispatch(setWeather(null))\n }\n } catch (error) {\n console.log('Error---------', error);\n //You can dispatch to another action if you want to display an error message in the application\n //dispatch(fetchDataRejected(error))\n }\n }\n }"],"mappings":";AAAA,SAASA,sBAAsB;AAC/B,SAASC,IAAI;AACb,SAASC,UAAU;AACnB,SAASC,eAAe;AACxB,SAASC,UAAU;AAEnB,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAe,GAAS;EACjC;IAAA,6BAAO,WAAMC,QAAQ,EAAI;MACvB,IAAI;QACE,IAAMC,IAAI,SAASP,sBAAsB,EAAE;QAC3C,IAAIO,IAAI,IAAE,IAAI,EAAC;UACX,IAAMC,IAAI,GAAG,IAAIP,IAAI,CAACM,IAAI,CAAC,OAAO,CAAC,EAAEA,IAAI,CAAC,WAAW,CAAC,EAAEA,IAAI,CAAC,YAAY,CAAC,CAAC;UAC3ED,QAAQ,CAACH,eAAe,CAACK,IAAI,CAAC,CAAC;UAC/BF,QAAQ,CAACJ,UAAU,CAACM,IAAI,CAAC,CAAC;QAC9B,CAAC,MACG;UACAF,QAAQ,CAACH,eAAe,CAAC,IAAI,CAAC,CAAC;UAC/BG,QAAQ,CAACF,UAAU,CAAC,IAAI,CAAC,CAAC;QAC9B;MACN,CAAC,CAAC,OAAOK,KAAK,EAAE;QACdC,OAAO,CAACC,GAAG,CAAC,gBAAgB,EAAEF,KAAK,CAAC;MAGtC;IACF,CAAC;IAAA;MAAA;IAAA;EAAA;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/2637dc8ae6094cfb4ae778c24033640c.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/2637dc8ae6094cfb4ae778c24033640c.json new file mode 100644 index 00000000..3e5411c4 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/2637dc8ae6094cfb4ae778c24033640c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { Platform } from 'expo-modules-core';\nimport { getAssetByID } from \"./AssetRegistry\";\nimport { selectAssetSource } from \"./AssetSources\";\nimport * as AssetUris from \"./AssetUris\";\nimport * as ImageAssets from \"./ImageAssets\";\nimport { getLocalAssetUri } from \"./LocalAssets\";\nimport { downloadAsync as _downloadAsync, IS_ENV_WITH_UPDATES_ENABLED } from \"./PlatformUtils\";\nimport resolveAssetSource from \"./resolveAssetSource\";\nexport var Asset = function () {\n function Asset(_ref) {\n var name = _ref.name,\n type = _ref.type,\n _ref$hash = _ref.hash,\n hash = _ref$hash === void 0 ? null : _ref$hash,\n uri = _ref.uri,\n width = _ref.width,\n height = _ref.height;\n _classCallCheck(this, Asset);\n this.hash = null;\n this.localUri = null;\n this.width = null;\n this.height = null;\n this.downloading = false;\n this.downloaded = false;\n this._downloadCallbacks = [];\n this.name = name;\n this.type = type;\n this.hash = hash;\n this.uri = uri;\n if (typeof width === 'number') {\n this.width = width;\n }\n if (typeof height === 'number') {\n this.height = height;\n }\n if (hash) {\n this.localUri = getLocalAssetUri(hash, type);\n if (this.localUri) {\n this.downloaded = true;\n }\n }\n if (Platform.OS === 'web') {\n if (!name) {\n this.name = AssetUris.getFilename(uri);\n }\n if (!type) {\n this.type = AssetUris.getFileExtension(uri);\n }\n }\n }\n _createClass(Asset, [{\n key: \"downloadAsync\",\n value: function () {\n var _downloadAsync2 = _asyncToGenerator(function* () {\n var _this = this;\n if (this.downloaded) {\n return this;\n }\n if (this.downloading) {\n yield new Promise(function (resolve, reject) {\n _this._downloadCallbacks.push({\n resolve: resolve,\n reject: reject\n });\n });\n return this;\n }\n this.downloading = true;\n try {\n if (Platform.OS === 'web') {\n if (ImageAssets.isImageType(this.type)) {\n var _yield$ImageAssets$ge = yield ImageAssets.getImageInfoAsync(this.uri),\n width = _yield$ImageAssets$ge.width,\n height = _yield$ImageAssets$ge.height,\n name = _yield$ImageAssets$ge.name;\n this.width = width;\n this.height = height;\n this.name = name;\n } else {\n this.name = AssetUris.getFilename(this.uri);\n }\n }\n this.localUri = yield _downloadAsync(this.uri, this.hash, this.type, this.name);\n this.downloaded = true;\n this._downloadCallbacks.forEach(function (_ref2) {\n var resolve = _ref2.resolve;\n return resolve();\n });\n } catch (e) {\n this._downloadCallbacks.forEach(function (_ref3) {\n var reject = _ref3.reject;\n return reject(e);\n });\n throw e;\n } finally {\n this.downloading = false;\n this._downloadCallbacks = [];\n }\n return this;\n });\n function downloadAsync() {\n return _downloadAsync2.apply(this, arguments);\n }\n return downloadAsync;\n }()\n }], [{\n key: \"loadAsync\",\n value: function loadAsync(moduleId) {\n var moduleIds = Array.isArray(moduleId) ? moduleId : [moduleId];\n return Promise.all(moduleIds.map(function (moduleId) {\n return Asset.fromModule(moduleId).downloadAsync();\n }));\n }\n }, {\n key: \"fromModule\",\n value: function fromModule(virtualAssetModule) {\n if (typeof virtualAssetModule === 'string') {\n return Asset.fromURI(virtualAssetModule);\n }\n var meta = getAssetByID(virtualAssetModule);\n if (!meta) {\n throw new Error(\"Module \\\"\" + virtualAssetModule + \"\\\" is missing from the asset registry\");\n }\n if (!IS_ENV_WITH_UPDATES_ENABLED) {\n var _resolveAssetSource = resolveAssetSource(virtualAssetModule),\n uri = _resolveAssetSource.uri;\n var asset = new Asset({\n name: meta.name,\n type: meta.type,\n hash: meta.hash,\n uri: uri,\n width: meta.width,\n height: meta.height\n });\n if (Platform.OS === 'android' && !uri.includes(':') && (meta.width || meta.height)) {\n asset.localUri = asset.uri;\n asset.downloaded = true;\n }\n Asset.byHash[meta.hash] = asset;\n return asset;\n }\n return Asset.fromMetadata(meta);\n }\n }, {\n key: \"fromMetadata\",\n value: function fromMetadata(meta) {\n var metaHash = meta.hash;\n if (Asset.byHash[metaHash]) {\n return Asset.byHash[metaHash];\n }\n var _selectAssetSource = selectAssetSource(meta),\n uri = _selectAssetSource.uri,\n hash = _selectAssetSource.hash;\n var asset = new Asset({\n name: meta.name,\n type: meta.type,\n hash: hash,\n uri: uri,\n width: meta.width,\n height: meta.height\n });\n Asset.byHash[metaHash] = asset;\n return asset;\n }\n }, {\n key: \"fromURI\",\n value: function fromURI(uri) {\n if (Asset.byUri[uri]) {\n return Asset.byUri[uri];\n }\n var type = '';\n if (uri.indexOf(';base64') > -1) {\n type = uri.split(';')[0].split('/')[1];\n } else {\n var extension = AssetUris.getFileExtension(uri);\n type = extension.startsWith('.') ? extension.substring(1) : extension;\n }\n var asset = new Asset({\n name: '',\n type: type,\n hash: null,\n uri: uri\n });\n Asset.byUri[uri] = asset;\n return asset;\n }\n }]);\n return Asset;\n}();\nAsset.byHash = {};\nAsset.byUri = {};","map":{"version":3,"sources":["../src/Asset.ts"],"names":[],"mappings":";;;AAAA,SAAS,QAAQ,QAAQ,mBAAmB;AAE5C,SAAS,YAAY;AACrB,SAAwB,iBAAiB;AACzC,OAAO,KAAK,SAAS;AACrB,OAAO,KAAK,WAAW;AACvB,SAAS,gBAAgB;AACzB,SAAS,aAAa,IAAb,cAAa,EAAE,2BAA2B;AACnD,OAAO,kBAAkB;AAwBzB,WAAa,KAAK;EAsDhB,qBAA4E;IAAA,IAA9D,IAAI,QAAJ,IAAI;MAAE,IAAI,QAAJ,IAAI;MAAA,iBAAE,IAAI;MAAJ,IAAI,0BAAG,IAAI;MAAE,GAAG,QAAH,GAAG;MAAE,KAAK,QAAL,KAAK;MAAE,MAAM,QAAN,MAAM;IAAA;IAAA,KAhCzD,IAAI,GAAkB,IAAI;IAAA,KAY1B,QAAQ,GAAkB,IAAI;IAAA,KAK9B,KAAK,GAAkB,IAAI;IAAA,KAI3B,MAAM,GAAkB,IAAI;IAAA,KAE5B,WAAW,GAAY,KAAK;IAAA,KAE5B,UAAU,GAAY,KAAK;IAAA,KAK3B,kBAAkB,GAA+B,EAAE;IAGjD,IAAI,CAAC,IAAI,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AC;EAAA;AAAA;AAlMU,KAAK,CAIT,MAAM,GAAG,CAAA,CAAE;AAJP,KAAK,CAQT,KAAK,GAAG,CAAA,CAAE","sourcesContent":["import { Platform } from 'expo-modules-core';\n\nimport { getAssetByID } from './AssetRegistry';\nimport { AssetMetadata, selectAssetSource } from './AssetSources';\nimport * as AssetUris from './AssetUris';\nimport * as ImageAssets from './ImageAssets';\nimport { getLocalAssetUri } from './LocalAssets';\nimport { downloadAsync, IS_ENV_WITH_UPDATES_ENABLED } from './PlatformUtils';\nimport resolveAssetSource from './resolveAssetSource';\n\n// @docsMissing\nexport type AssetDescriptor = {\n name: string;\n type: string;\n hash?: string | null;\n uri: string;\n width?: number | null;\n height?: number | null;\n};\n\ntype DownloadPromiseCallbacks = {\n resolve: () => void;\n reject: (error: Error) => void;\n};\n\nexport { AssetMetadata };\n\n// @needsAudit\n/**\n * The `Asset` class represents an asset in your app. It gives metadata about the asset (such as its\n * name and type) and provides facilities to load the asset data.\n */\nexport class Asset {\n /**\n * @private\n */\n static byHash = {};\n /**\n * @private\n */\n static byUri = {};\n\n /**\n * The name of the asset file without the extension. Also without the part from `@` onward in the\n * filename (used to specify scale factor for images).\n */\n name: string;\n /**\n * The extension of the asset filename.\n */\n type: string;\n /**\n * The MD5 hash of the asset's data.\n */\n hash: string | null = null;\n /**\n * A URI that points to the asset's data on the remote server. When running the published version\n * of your app, this refers to the location on Expo's asset server where Expo has stored your\n * asset. When running the app from Expo CLI during development, this URI points to Expo CLI's\n * server running on your computer and the asset is served directly from your computer.\n */\n uri: string;\n /**\n * If the asset has been downloaded (by calling [`downloadAsync()`](#downloadasync)), the\n * `file://` URI pointing to the local file on the device that contains the asset data.\n */\n localUri: string | null = null;\n /**\n * If the asset is an image, the width of the image data divided by the scale factor. The scale\n * factor is the number after `@` in the filename, or `1` if not present.\n */\n width: number | null = null;\n /**\n * If the asset is an image, the height of the image data divided by the scale factor. The scale factor is the number after `@` in the filename, or `1` if not present.\n */\n height: number | null = null;\n // @docsMissing\n downloading: boolean = false;\n // @docsMissing\n downloaded: boolean = false;\n\n /**\n * @private\n */\n _downloadCallbacks: DownloadPromiseCallbacks[] = [];\n\n constructor({ name, type, hash = null, uri, width, height }: AssetDescriptor) {\n this.name = name;\n this.type = type;\n this.hash = hash;\n this.uri = uri;\n\n if (typeof width === 'number') {\n this.width = width;\n }\n if (typeof height === 'number') {\n this.height = height;\n }\n\n if (hash) {\n this.localUri = getLocalAssetUri(hash, type);\n if (this.localUri) {\n this.downloaded = true;\n }\n }\n\n if (Platform.OS === 'web') {\n if (!name) {\n this.name = AssetUris.getFilename(uri);\n }\n if (!type) {\n this.type = AssetUris.getFileExtension(uri);\n }\n }\n }\n\n // @needsAudit\n /**\n * A helper that wraps `Asset.fromModule(module).downloadAsync` for convenience.\n * @param moduleId An array of `require('path/to/file')` or external network URLs. Can also be\n * just one module or URL without an Array.\n * @return Returns a Promise that fulfills with an array of `Asset`s when the asset(s) has been\n * saved to disk.\n * @example\n * ```ts\n * const [{ localUri }] = await Asset.loadAsync(require('./assets/snack-icon.png'));\n * ```\n */\n static loadAsync(moduleId: number | number[] | string | string[]): Promise {\n const moduleIds = Array.isArray(moduleId) ? moduleId : [moduleId];\n return Promise.all(moduleIds.map((moduleId) => Asset.fromModule(moduleId).downloadAsync()));\n }\n\n // @needsAudit\n /**\n * Returns the [`Asset`](#asset) instance representing an asset given its module or URL.\n * @param virtualAssetModule The value of `require('path/to/file')` for the asset or external\n * network URL\n * @return The [`Asset`](#asset) instance for the asset.\n */\n static fromModule(virtualAssetModule: number | string): Asset {\n if (typeof virtualAssetModule === 'string') {\n return Asset.fromURI(virtualAssetModule);\n }\n\n const meta = getAssetByID(virtualAssetModule);\n if (!meta) {\n throw new Error(`Module \"${virtualAssetModule}\" is missing from the asset registry`);\n }\n\n // Outside of the managed env we need the moduleId to initialize the asset\n // because resolveAssetSource depends on it\n if (!IS_ENV_WITH_UPDATES_ENABLED) {\n const { uri } = resolveAssetSource(virtualAssetModule);\n const asset = new Asset({\n name: meta.name,\n type: meta.type,\n hash: meta.hash,\n uri,\n width: meta.width,\n height: meta.height,\n });\n\n // TODO: FileSystem should probably support 'downloading' from drawable\n // resources But for now it doesn't (it only supports raw resources) and\n // React Native's Image works fine with drawable resource names for\n // images.\n if (Platform.OS === 'android' && !uri.includes(':') && (meta.width || meta.height)) {\n asset.localUri = asset.uri;\n asset.downloaded = true;\n }\n\n Asset.byHash[meta.hash] = asset;\n return asset;\n }\n\n return Asset.fromMetadata(meta);\n }\n\n // @docsMissing\n static fromMetadata(meta: AssetMetadata): Asset {\n // The hash of the whole asset, not to be confused with the hash of a specific file returned\n // from `selectAssetSource`\n const metaHash = meta.hash;\n if (Asset.byHash[metaHash]) {\n return Asset.byHash[metaHash];\n }\n\n const { uri, hash } = selectAssetSource(meta);\n const asset = new Asset({\n name: meta.name,\n type: meta.type,\n hash,\n uri,\n width: meta.width,\n height: meta.height,\n });\n Asset.byHash[metaHash] = asset;\n return asset;\n }\n\n // @docsMissing\n static fromURI(uri: string): Asset {\n if (Asset.byUri[uri]) {\n return Asset.byUri[uri];\n }\n\n // Possibly a Base64-encoded URI\n let type = '';\n if (uri.indexOf(';base64') > -1) {\n type = uri.split(';')[0].split('/')[1];\n } else {\n const extension = AssetUris.getFileExtension(uri);\n type = extension.startsWith('.') ? extension.substring(1) : extension;\n }\n\n const asset = new Asset({\n name: '',\n type,\n hash: null,\n uri,\n });\n\n Asset.byUri[uri] = asset;\n\n return asset;\n }\n\n // @needsAudit\n /**\n * Downloads the asset data to a local file in the device's cache directory. Once the returned\n * promise is fulfilled without error, the [`localUri`](#assetlocaluri) field of this asset points\n * to a local file containing the asset data. The asset is only downloaded if an up-to-date local\n * file for the asset isn't already present due to an earlier download. The downloaded `Asset`\n * will be returned when the promise is resolved.\n * @return Returns a Promise which fulfills with an `Asset` instance.\n */\n async downloadAsync(): Promise {\n if (this.downloaded) {\n return this;\n }\n if (this.downloading) {\n await new Promise((resolve, reject) => {\n this._downloadCallbacks.push({ resolve, reject });\n });\n return this;\n }\n this.downloading = true;\n\n try {\n if (Platform.OS === 'web') {\n if (ImageAssets.isImageType(this.type)) {\n const { width, height, name } = await ImageAssets.getImageInfoAsync(this.uri);\n this.width = width;\n this.height = height;\n this.name = name;\n } else {\n this.name = AssetUris.getFilename(this.uri);\n }\n }\n this.localUri = await downloadAsync(this.uri, this.hash, this.type, this.name);\n\n this.downloaded = true;\n this._downloadCallbacks.forEach(({ resolve }) => resolve());\n } catch (e) {\n this._downloadCallbacks.forEach(({ reject }) => reject(e));\n throw e;\n } finally {\n this.downloading = false;\n this._downloadCallbacks = [];\n }\n return this;\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/2687ca329de5c8053b991765af666aa2.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/2687ca329de5c8053b991765af666aa2.json new file mode 100644 index 00000000..7f279700 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/2687ca329de5c8053b991765af666aa2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"accessibilityReadOnly\", \"color\", \"disabled\", \"onChange\", \"onValueChange\", \"style\", \"value\"];\nimport * as React from 'react';\nimport createElement from \"../createElement\";\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar CheckBox = React.forwardRef(function (props, forwardedRef) {\n var accessibilityReadOnly = props.accessibilityReadOnly,\n color = props.color,\n disabled = props.disabled,\n onChange = props.onChange,\n onValueChange = props.onValueChange,\n style = props.style,\n value = props.value,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n function handleChange(event) {\n var value = event.nativeEvent.target.checked;\n event.nativeEvent.value = value;\n onChange && onChange(event);\n onValueChange && onValueChange(value);\n }\n var fakeControl = React.createElement(View, {\n style: [styles.fakeControl, value && styles.fakeControlChecked, value && color && {\n backgroundColor: color,\n borderColor: color\n }, disabled && styles.fakeControlDisabled, value && disabled && styles.fakeControlCheckedAndDisabled]\n });\n var nativeControl = createElement('input', {\n checked: value,\n disabled: disabled,\n onChange: handleChange,\n readOnly: accessibilityReadOnly,\n ref: forwardedRef,\n style: [styles.nativeControl, styles.cursorInherit],\n type: 'checkbox'\n });\n return React.createElement(View, _extends({}, other, {\n accessibilityDisabled: disabled,\n accessibilityReadOnly: accessibilityReadOnly,\n style: [styles.root, style, disabled && styles.cursorDefault]\n }), fakeControl, nativeControl);\n});\nCheckBox.displayName = 'CheckBox';\nvar styles = StyleSheet.create({\n root: {\n cursor: 'pointer',\n height: 16,\n userSelect: 'none',\n width: 16\n },\n cursorDefault: {\n cursor: 'default'\n },\n cursorInherit: {\n cursor: 'inherit'\n },\n fakeControl: {\n alignItems: 'center',\n backgroundColor: '#fff',\n borderColor: '#657786',\n borderRadius: 2,\n borderStyle: 'solid',\n borderWidth: 2,\n height: '100%',\n justifyContent: 'center',\n width: '100%'\n },\n fakeControlChecked: {\n backgroundColor: '#009688',\n backgroundImage: 'url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K\")',\n backgroundRepeat: 'no-repeat',\n borderColor: '#009688'\n },\n fakeControlDisabled: {\n borderColor: '#CCD6DD'\n },\n fakeControlCheckedAndDisabled: {\n backgroundColor: '#AAB8C2',\n borderColor: '#AAB8C2'\n },\n nativeControl: _objectSpread(_objectSpread({}, StyleSheet.absoluteFillObject), {}, {\n height: '100%',\n margin: 0,\n appearance: 'none',\n padding: 0,\n width: '100%'\n })\n});\nexport default CheckBox;","map":{"version":3,"names":["_objectSpread","_extends","_objectWithoutPropertiesLoose","_excluded","React","createElement","StyleSheet","View","CheckBox","forwardRef","props","forwardedRef","accessibilityReadOnly","color","disabled","onChange","onValueChange","style","value","other","handleChange","event","nativeEvent","target","checked","fakeControl","styles","fakeControlChecked","backgroundColor","borderColor","fakeControlDisabled","fakeControlCheckedAndDisabled","nativeControl","readOnly","ref","cursorInherit","type","accessibilityDisabled","root","cursorDefault","displayName","create","cursor","height","userSelect","width","alignItems","borderRadius","borderStyle","borderWidth","justifyContent","backgroundImage","backgroundRepeat","absoluteFillObject","margin","appearance","padding"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/CheckBox/index.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"accessibilityReadOnly\", \"color\", \"disabled\", \"onChange\", \"onValueChange\", \"style\", \"value\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport createElement from '../createElement';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nvar CheckBox = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {\n var accessibilityReadOnly = props.accessibilityReadOnly,\n color = props.color,\n disabled = props.disabled,\n onChange = props.onChange,\n onValueChange = props.onValueChange,\n style = props.style,\n value = props.value,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n function handleChange(event) {\n var value = event.nativeEvent.target.checked;\n event.nativeEvent.value = value;\n onChange && onChange(event);\n onValueChange && onValueChange(value);\n }\n\n var fakeControl = /*#__PURE__*/React.createElement(View, {\n style: [styles.fakeControl, value && styles.fakeControlChecked, // custom color\n value && color && {\n backgroundColor: color,\n borderColor: color\n }, disabled && styles.fakeControlDisabled, value && disabled && styles.fakeControlCheckedAndDisabled]\n });\n var nativeControl = createElement('input', {\n checked: value,\n disabled: disabled,\n onChange: handleChange,\n readOnly: accessibilityReadOnly,\n ref: forwardedRef,\n style: [styles.nativeControl, styles.cursorInherit],\n type: 'checkbox'\n });\n return /*#__PURE__*/React.createElement(View, _extends({}, other, {\n accessibilityDisabled: disabled,\n accessibilityReadOnly: accessibilityReadOnly,\n style: [styles.root, style, disabled && styles.cursorDefault]\n }), fakeControl, nativeControl);\n});\nCheckBox.displayName = 'CheckBox';\nvar styles = StyleSheet.create({\n root: {\n cursor: 'pointer',\n height: 16,\n userSelect: 'none',\n width: 16\n },\n cursorDefault: {\n cursor: 'default'\n },\n cursorInherit: {\n cursor: 'inherit'\n },\n fakeControl: {\n alignItems: 'center',\n backgroundColor: '#fff',\n borderColor: '#657786',\n borderRadius: 2,\n borderStyle: 'solid',\n borderWidth: 2,\n height: '100%',\n justifyContent: 'center',\n width: '100%'\n },\n fakeControlChecked: {\n backgroundColor: '#009688',\n backgroundImage: 'url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K\")',\n backgroundRepeat: 'no-repeat',\n borderColor: '#009688'\n },\n fakeControlDisabled: {\n borderColor: '#CCD6DD'\n },\n fakeControlCheckedAndDisabled: {\n backgroundColor: '#AAB8C2',\n borderColor: '#AAB8C2'\n },\n nativeControl: _objectSpread(_objectSpread({}, StyleSheet.absoluteFillObject), {}, {\n height: '100%',\n margin: 0,\n appearance: 'none',\n padding: 0,\n width: '100%'\n })\n});\nexport default CheckBox;"],"mappings":"AAAA,OAAOA,aAAa,MAAM,sCAAsC;AAChE,OAAOC,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,uBAAuB,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,CAAC;AAW7G,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,aAAa;AACpB,OAAOC,UAAU;AACjB,OAAOC,IAAI;AACX,IAAIC,QAAQ,GAAgBJ,KAAK,CAACK,UAAU,CAAC,UAACC,KAAK,EAAEC,YAAY,EAAK;EACpE,IAAIC,qBAAqB,GAAGF,KAAK,CAACE,qBAAqB;IACnDC,KAAK,GAAGH,KAAK,CAACG,KAAK;IACnBC,QAAQ,GAAGJ,KAAK,CAACI,QAAQ;IACzBC,QAAQ,GAAGL,KAAK,CAACK,QAAQ;IACzBC,aAAa,GAAGN,KAAK,CAACM,aAAa;IACnCC,KAAK,GAAGP,KAAK,CAACO,KAAK;IACnBC,KAAK,GAAGR,KAAK,CAACQ,KAAK;IACnBC,KAAK,GAAGjB,6BAA6B,CAACQ,KAAK,EAAEP,SAAS,CAAC;EAE3D,SAASiB,YAAY,CAACC,KAAK,EAAE;IAC3B,IAAIH,KAAK,GAAGG,KAAK,CAACC,WAAW,CAACC,MAAM,CAACC,OAAO;IAC5CH,KAAK,CAACC,WAA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EAAE;IACJI,MAAM,EAAE,SAAS;IACjBC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,MAAM;IAClBC,KAAK,EAAE;EACT,CAAC;EACDN,aAAa,EAAE;IACbG,MAAM,EAAE;EACV,CAAC;EACDP,aAAa,EAAE;IACbO,MAAM,EAAE;EACV,CAAC;EACDjB,WAAW,EAAE;IACXqB,UAAU,EAAE,QAAQ;IACpBlB,eAAe,EAAE,MAAM;IACvBC,WAAW,EAAE,SAAS;IACtBkB,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE,OAAO;IACpBC,WAAW,EAAE,CAAC;IACdN,MAAM,EAAE,MAAM;IACdO,cAAc,EAAE,QAAQ;IACxBL,KAAK,EAAE;EACT,CAAC;EACDlB,kBAAkB,EAAE;IAClBC,eAAe,EAAE,SAAS;IAC1BuB,eAAe,EAAE,m4BAAm4B;IACp5BC,gBAAgB,EAAE,WAAW;IAC7BvB,WAAW,EAAE;EACf,CAAC;EACDC,mBAAmB,EAAE;IACnBD,WAAW,EAAE;EACf,CAAC;EACDE,6BAA6B,EAAE;IAC7BH,eAAe,EAAE,SAAS;IAC1BC,WAAW,EAAE;EACf,CAAC;EACDG,aAAa,EAAEhC,aAAa,CAACA,aAAa,CAAC,CAAC,CAAC,EAAEM,UAAU,CAAC+C,kBAAkB,CAAC,EAAE,CAAC,CAAC,EAAE;IACjFV,MAAM,EAAE,MAAM;IACdW,MAAM,EAAE,CAAC;IACTC,UAAU,EAAE,MAAM;IAClBC,OAAO,EAAE,CAAC;IACVX,KAAK,EAAE;EACT,CAAC;AACH,CAAC,CAAC;AACF,eAAerC,QAAQ"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/27f95c6061192597704db2a5d350a5c3.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/27f95c6061192597704db2a5d350a5c3.json new file mode 100644 index 00000000..bb1fe00b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/27f95c6061192597704db2a5d350a5c3.json @@ -0,0 +1 @@ +{"ast":null,"code":"var promiseMock = function promiseMock() {\n return Promise.resolve(false);\n};\nexport default {\n PERMISSIONS: {},\n RESULTS: {},\n checkPermission: promiseMock,\n check: promiseMock,\n requestPermission: promiseMock,\n request: promiseMock,\n requestMultiple: promiseMock\n};","map":{"version":3,"names":["promiseMock","Promise","resolve","PERMISSIONS","RESULTS","checkPermission","check","requestPermission","request","requestMultiple"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/PermissionsAndroid/index.js"],"sourcesContent":["var promiseMock = () => Promise.resolve(false);\n\nexport default {\n PERMISSIONS: {},\n RESULTS: {},\n checkPermission: promiseMock,\n check: promiseMock,\n requestPermission: promiseMock,\n request: promiseMock,\n requestMultiple: promiseMock\n};"],"mappings":"AAAA,IAAIA,WAAW,GAAG,SAAdA,WAAW;EAAA,OAASC,OAAO,CAACC,OAAO,CAAC,KAAK,CAAC;AAAA;AAE9C,eAAe;EACbC,WAAW,EAAE,CAAC,CAAC;EACfC,OAAO,EAAE,CAAC,CAAC;EACXC,eAAe,EAAEL,WAAW;EAC5BM,KAAK,EAAEN,WAAW;EAClBO,iBAAiB,EAAEP,WAAW;EAC9BQ,OAAO,EAAER,WAAW;EACpBS,eAAe,EAAET;AACnB,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/28d8fba041920200a3cb51ac5bc2c1a8.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/28d8fba041920200a3cb51ac5bc2c1a8.json new file mode 100644 index 00000000..6ef7440c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/28d8fba041920200a3cb51ac5bc2c1a8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nexport var IS_MANAGED_ENV = false;\nexport var IS_ENV_WITH_UPDATES_ENABLED = false;\nexport var IS_ENV_WITHOUT_UPDATES_ENABLED = false;\nexport var manifestBaseUrl = null;\nexport function downloadAsync(_x, _x2, _x3, _x4) {\n return _downloadAsync.apply(this, arguments);\n}\nfunction _downloadAsync() {\n _downloadAsync = _asyncToGenerator(function* (uri, hash, type, name) {\n return uri;\n });\n return _downloadAsync.apply(this, arguments);\n}\nexport function getManifest() {\n return {};\n}\nexport function getManifest2() {\n return {};\n}","map":{"version":3,"sources":["../src/PlatformUtils.web.ts"],"names":[],"mappings":";AAAA,OAAO,IAAM,cAAc,GAAG,KAAK;AACnC,OAAO,IAAM,2BAA2B,GAAG,KAAK;AAChD,OAAO,IAAM,8BAA8B,GAAG,KAAK;AAGnD,OAAO,IAAM,eAAe,GAAG,IAAI;AAEnC,gBAAsB,aAAa;EAAA;AAAA;AAElC;EAAA,mCAFM,WAA6B,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAA;IACvD,OAAO,GAAG;EACZ,CAAC;EAAA;AAAA;AAED,OAAM,SAAU,WAAW,GAAA;EACzB,OAAO,CAAA,CAAE;AACX;AAEA,OAAM,SAAU,YAAY,GAAA;EAC1B,OAAO,CAAA,CAAE;AACX","sourcesContent":["export const IS_MANAGED_ENV = false;\nexport const IS_ENV_WITH_UPDATES_ENABLED = false;\nexport const IS_ENV_WITHOUT_UPDATES_ENABLED = false;\n\n// Compute manifest base URL if available\nexport const manifestBaseUrl = null;\n\nexport async function downloadAsync(uri, hash, type, name): Promise {\n return uri;\n}\n\nexport function getManifest() {\n return {};\n}\n\nexport function getManifest2() {\n return {};\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/2c30f76b2b326195678887aed8c9168c.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/2c30f76b2b326195678887aed8c9168c.json new file mode 100644 index 00000000..d5bf7ddc --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/2c30f76b2b326195678887aed8c9168c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport View from \"react-native-web/dist/exports/View\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport TouchableHighlight from \"react-native-web/dist/exports/TouchableHighlight\";\nimport { FlatList } from \"react-native-gesture-handler\";\nimport { VilleCompopo } from \"../components/VilleCompopo\";\nimport { TopBar } from \"../components/TopBar\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useEffect, useState } from \"react\";\nimport { getWeatherList } from \"../redux/actions/getWeatherList\";\nimport { SearchBar } from '@rneui/themed';\nimport { setWeatherSearched } from \"../redux/actions/setWeatherSearched\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function CityList(_ref) {\n var navigation = _ref.navigation;\n var weatherList = useSelector(function (state) {\n return state.appReducer.weatherList;\n });\n var weatherListSearched = useSelector(function (state) {\n return state.appReducer.weatherListSearched;\n });\n var favoriteCity = useSelector(function (state) {\n return state.appReducer.favoriteCity;\n });\n var dispatch = useDispatch();\n var _useState = useState(''),\n _useState2 = _slicedToArray(_useState, 2),\n cityName = _useState2[0],\n setCityName = _useState2[1];\n useEffect(function () {\n var loadWeather = function () {\n var _ref2 = _asyncToGenerator(function* () {\n dispatch(getWeatherList());\n });\n return function loadWeather() {\n return _ref2.apply(this, arguments);\n };\n }();\n loadWeather();\n }, [dispatch]);\n function updateSearch(newVal) {\n if (newVal == \"\") {\n dispatch(setWeatherSearched(weatherList));\n } else {\n dispatch(setWeatherSearched(weatherList.filter(function (arg) {\n return arg.city.name.toLowerCase().startsWith(newVal.toLowerCase());\n })));\n }\n }\n return _jsxs(View, {\n style: {\n flex: 1,\n width: \"100%\",\n alignItems: \"center\"\n },\n children: [_jsx(TopBar, {}), _jsx(SearchBar, {\n platform: \"default\",\n containerStyle: {\n width: \"100%\",\n backgroundColor: \"darksalmon\"\n },\n inputContainerStyle: {\n backgroundColor: \"powderblue\"\n },\n inputStyle: {},\n leftIconContainerStyle: {},\n rightIconContainerStyle: {},\n loadingProps: {},\n onChangeText: function onChangeText(newVal) {\n setCityName(newVal);\n updateSearch(newVal);\n },\n placeholder: \"Type query here...\",\n placeholderTextColor: \"#888\",\n round: true,\n value: cityName\n }), _jsx(FlatList, {\n data: weatherListSearched,\n keyExtractor: function keyExtractor(item) {\n return item.city.name;\n },\n renderItem: function renderItem(_ref3) {\n var item = _ref3.item;\n return _jsx(TouchableHighlight, {\n onPress: function onPress() {\n return navigation.navigate(\"CityDetails\", {\n \"weather\": item\n });\n },\n children: _jsx(VilleCompopo, {\n weather: item,\n fav: favoriteCity\n })\n });\n },\n style: leStyle.container\n })]\n });\n}\nvar leStyle = StyleSheet.create({\n container: {\n flex: 1,\n alignContent: 'center',\n width: '100%'\n },\n searchBar: {\n width: \"90%\",\n margin: 20,\n height: 30,\n backgroundColor: \"powderblue\",\n borderRadius: 10,\n textAlign: \"center\"\n }\n});","map":{"version":3,"names":["FlatList","VilleCompopo","TopBar","useDispatch","useSelector","useEffect","useState","getWeatherList","SearchBar","setWeatherSearched","CityList","navigation","weatherList","state","appReducer","weatherListSearched","favoriteCity","dispatch","cityName","setCityName","loadWeather","updateSearch","newVal","filter","arg","city","name","toLowerCase","startsWith","flex","width","alignItems","backgroundColor","item","navigate","leStyle","container","StyleSheet","create","alignContent","searchBar","margin","height","borderRadius","textAlign"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/CityList.tsx"],"sourcesContent":["import { View, Text, StyleSheet, TouchableHighlight, Image } from \"react-native\"\nimport { FlatList, TextInput } from \"react-native-gesture-handler\"\nimport { CITIES_DATA, City, getCurrentWeather, FAVORITE_CITY_DATA, Weather } from \"../data/stub\"\nimport { VilleCompopo } from \"../components/VilleCompopo\";\nimport { TopBar } from \"../components/TopBar\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useEffect, useState } from \"react\";\nimport { getWeatherList } from \"../redux/actions/getWeatherList\";\nimport { SearchBar } from '@rneui/themed';\nimport { setWeatherSearched } from \"../redux/actions/setWeatherSearched\";\n\n\nexport default function CityList({navigation}){\n\n const weatherList: Weather[] = useSelector(state => state.appReducer.weatherList);\n const weatherListSearched: Weather[] = useSelector(state => state.appReducer.weatherListSearched);\n\n\n const favoriteCity = useSelector(state => state.appReducer.favoriteCity)\n\n // Create a const that will hold the react-redux events dispatcher\n const dispatch = useDispatch();\n \n const [cityName, setCityName] = useState('');\n\n\n \n // Let's define a hook that will be used to update the rendered state after the return will be called\n // You cannot perform side-effects outside of a useEffect hook\n useEffect(() => {\n const loadWeather = async () => {\n dispatch(getWeatherList());\n };\n loadWeather();\n }, [dispatch]);\n \n\n function updateSearch(newVal: string){\n if (newVal == \"\"){\n dispatch(setWeatherSearched(weatherList))\n }\n else{\n dispatch(setWeatherSearched(weatherList.filter((arg) => arg.city.name.toLowerCase().startsWith(newVal.toLowerCase()))))\n }\n }\n\n return (\n \n \n {setCityName(newVal); updateSearch(newVal)}}\n placeholder=\"Type query here...\"\n placeholderTextColor=\"#888\"\n round\n value={cityName}\n /> \n\n item.city.name}\n renderItem={({item}) => navigation.navigate(\"CityDetails\", {\"weather\": item})}>}\n style={leStyle.container} \n />\n \n )\n}\n\nconst leStyle = StyleSheet.create({\n container: {\n flex: 1,\n alignContent: 'center',\n width: '100%'\n },\n searchBar: {\n width: \"90%\",\n margin: 20,\n height: 30,\n backgroundColor: \"powderblue\",\n borderRadius: 10,\n textAlign: \"center\"\n }\n});"],"mappings":";;;;;AACA,SAASA,QAAQ,QAAmB,8BAA8B;AAElE,SAASC,YAAY;AACrB,SAASC,MAAM;AACf,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,SAASC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,cAAc;AACvB,SAASC,SAAS,QAAQ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EAAE,KAAK;IACZW,MAAM,EAAE,EAAE;IACVC,MAAM,EAAE,EAAE;IACVV,eAAe,EAAE,YAAY;IAC7BW,YAAY,EAAE,EAAE;IAChBC,SAAS,EAAE;EACf;AACJ,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/2f8e9f8d32e20ade1d74b48c9503eed9.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/2f8e9f8d32e20ade1d74b48c9503eed9.json new file mode 100644 index 00000000..1f919f4f --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/2f8e9f8d32e20ade1d74b48c9503eed9.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"activeOpacity\", \"delayPressIn\", \"delayPressOut\", \"delayLongPress\", \"disabled\", \"focusable\", \"onLongPress\", \"onPress\", \"onPressIn\", \"onPressOut\", \"rejectResponderTermination\", \"style\"];\nimport * as React from 'react';\nimport { useCallback, useMemo, useState, useRef } from 'react';\nimport useMergeRefs from \"../../modules/useMergeRefs\";\nimport usePressEvents from \"../../modules/usePressEvents\";\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nfunction TouchableOpacity(props, forwardedRef) {\n var activeOpacity = props.activeOpacity,\n delayPressIn = props.delayPressIn,\n delayPressOut = props.delayPressOut,\n delayLongPress = props.delayLongPress,\n disabled = props.disabled,\n focusable = props.focusable,\n onLongPress = props.onLongPress,\n onPress = props.onPress,\n onPressIn = props.onPressIn,\n onPressOut = props.onPressOut,\n rejectResponderTermination = props.rejectResponderTermination,\n style = props.style,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n var hostRef = useRef(null);\n var setRef = useMergeRefs(forwardedRef, hostRef);\n var _useState = useState('0s'),\n duration = _useState[0],\n setDuration = _useState[1];\n var _useState2 = useState(null),\n opacityOverride = _useState2[0],\n setOpacityOverride = _useState2[1];\n var setOpacityTo = useCallback(function (value, duration) {\n setOpacityOverride(value);\n setDuration(duration ? duration / 1000 + \"s\" : '0s');\n }, [setOpacityOverride, setDuration]);\n var setOpacityActive = useCallback(function (duration) {\n setOpacityTo(activeOpacity !== null && activeOpacity !== void 0 ? activeOpacity : 0.2, duration);\n }, [activeOpacity, setOpacityTo]);\n var setOpacityInactive = useCallback(function (duration) {\n setOpacityTo(null, duration);\n }, [setOpacityTo]);\n var pressConfig = useMemo(function () {\n return {\n cancelable: !rejectResponderTermination,\n disabled: disabled,\n delayLongPress: delayLongPress,\n delayPressStart: delayPressIn,\n delayPressEnd: delayPressOut,\n onLongPress: onLongPress,\n onPress: onPress,\n onPressStart: function onPressStart(event) {\n var isGrant = event.dispatchConfig != null ? event.dispatchConfig.registrationName === 'onResponderGrant' : event.type === 'keydown';\n setOpacityActive(isGrant ? 0 : 150);\n if (onPressIn != null) {\n onPressIn(event);\n }\n },\n onPressEnd: function onPressEnd(event) {\n setOpacityInactive(250);\n if (onPressOut != null) {\n onPressOut(event);\n }\n }\n };\n }, [delayLongPress, delayPressIn, delayPressOut, disabled, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination, setOpacityActive, setOpacityInactive]);\n var pressEventHandlers = usePressEvents(hostRef, pressConfig);\n return React.createElement(View, _extends({}, rest, pressEventHandlers, {\n accessibilityDisabled: disabled,\n focusable: !disabled && focusable !== false,\n pointerEvents: disabled ? 'none' : undefined,\n ref: setRef,\n style: [styles.root, !disabled && styles.actionable, style, opacityOverride != null && {\n opacity: opacityOverride\n }, {\n transitionDuration: duration\n }]\n }));\n}\nvar styles = StyleSheet.create({\n root: {\n transitionProperty: 'opacity',\n transitionDuration: '0.15s',\n userSelect: 'none'\n },\n actionable: {\n cursor: 'pointer',\n touchAction: 'manipulation'\n }\n});\nvar MemoedTouchableOpacity = React.memo(React.forwardRef(TouchableOpacity));\nMemoedTouchableOpacity.displayName = 'TouchableOpacity';\nexport default MemoedTouchableOpacity;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","useCallback","useMemo","useState","useRef","useMergeRefs","usePressEvents","StyleSheet","View","TouchableOpacity","props","forwardedRef","activeOpacity","delayPressIn","delayPressOut","delayLongPress","disabled","focusable","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","style","rest","hostRef","setRef","_useState","duration","setDuration","_useState2","opacityOverride","setOpacityOverride","setOpacityTo","value","setOpacityActive","setOpacityInactive","pressConfig","cancelable","delayPressStart","delayPressEnd","onPressStart","event","isGrant","dispatchConfig","registrationName","type","onPressEnd","pressEventHandlers","createElement","accessibilityDisabled","pointerEvents","undefined","ref","styles","root","actionable","opacity","transitionDuration","create","transitionProperty","userSelect","cursor","touchAction","MemoedTouchableOpacity","memo","forwardRef","displayName"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/TouchableOpacity/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"activeOpacity\", \"delayPressIn\", \"delayPressOut\", \"delayLongPress\", \"disabled\", \"focusable\", \"onLongPress\", \"onPress\", \"onPressIn\", \"onPressOut\", \"rejectResponderTermination\", \"style\"];\nimport * as React from 'react';\nimport { useCallback, useMemo, useState, useRef } from 'react';\nimport useMergeRefs from '../../modules/useMergeRefs';\nimport usePressEvents from '../../modules/usePressEvents';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, dimming it.\n */\nfunction TouchableOpacity(props, forwardedRef) {\n var activeOpacity = props.activeOpacity,\n delayPressIn = props.delayPressIn,\n delayPressOut = props.delayPressOut,\n delayLongPress = props.delayLongPress,\n disabled = props.disabled,\n focusable = props.focusable,\n onLongPress = props.onLongPress,\n onPress = props.onPress,\n onPressIn = props.onPressIn,\n onPressOut = props.onPressOut,\n rejectResponderTermination = props.rejectResponderTermination,\n style = props.style,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n\n var hostRef = useRef(null);\n var setRef = useMergeRefs(forwardedRef, hostRef);\n\n var _useState = useState('0s'),\n duration = _useState[0],\n setDuration = _useState[1];\n\n var _useState2 = useState(null),\n opacityOverride = _useState2[0],\n setOpacityOverride = _useState2[1];\n\n var setOpacityTo = useCallback((value, duration) => {\n setOpacityOverride(value);\n setDuration(duration ? duration / 1000 + \"s\" : '0s');\n }, [setOpacityOverride, setDuration]);\n var setOpacityActive = useCallback(duration => {\n setOpacityTo(activeOpacity !== null && activeOpacity !== void 0 ? activeOpacity : 0.2, duration);\n }, [activeOpacity, setOpacityTo]);\n var setOpacityInactive = useCallback(duration => {\n setOpacityTo(null, duration);\n }, [setOpacityTo]);\n var pressConfig = useMemo(() => ({\n cancelable: !rejectResponderTermination,\n disabled,\n delayLongPress,\n delayPressStart: delayPressIn,\n delayPressEnd: delayPressOut,\n onLongPress,\n onPress,\n\n onPressStart(event) {\n var isGrant = event.dispatchConfig != null ? event.dispatchConfig.registrationName === 'onResponderGrant' : event.type === 'keydown';\n setOpacityActive(isGrant ? 0 : 150);\n\n if (onPressIn != null) {\n onPressIn(event);\n }\n },\n\n onPressEnd(event) {\n setOpacityInactive(250);\n\n if (onPressOut != null) {\n onPressOut(event);\n }\n }\n\n }), [delayLongPress, delayPressIn, delayPressOut, disabled, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination, setOpacityActive, setOpacityInactive]);\n var pressEventHandlers = usePressEvents(hostRef, pressConfig);\n return /*#__PURE__*/React.createElement(View, _extends({}, rest, pressEventHandlers, {\n accessibilityDisabled: disabled,\n focusable: !disabled && focusable !== false,\n pointerEvents: disabled ? 'none' : undefined,\n ref: setRef,\n style: [styles.root, !disabled && styles.actionable, style, opacityOverride != null && {\n opacity: opacityOverride\n }, {\n transitionDuration: duration\n }]\n }));\n}\n\nvar styles = StyleSheet.create({\n root: {\n transitionProperty: 'opacity',\n transitionDuration: '0.15s',\n userSelect: 'none'\n },\n actionable: {\n cursor: 'pointer',\n touchAction: 'manipulation'\n }\n});\nvar MemoedTouchableOpacity = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(TouchableOpacity));\nMemoedTouchableOpacity.displayName = 'TouchableOpacity';\nexport default MemoedTouchableOpacity;"],"mappings":"AASA,YAAY;;AAEZ,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,4BAA4B,EAAE,OAAO,CAAC;AACzM,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,OAAO;AAC9D,OAAOC,YAAY;AACnB,OAAOC,cAAc;AACrB,OAAOC,UAAU;AACjB,OAAOC,IAAI;AAMX,SAASC,gBAAgB,CAACC,KAAK,EAAEC,YAAY,EAAE;EAC7C,IAAIC,aAAa,GAAGF,KAAK,CAACE,aAAa;IACnCC,YAAY,GAAGH,KAAK,CAACG,YAAY;IACjCC,aAAa,GAAGJ,KAAK,CAACI,aAAa;IACnCC,cAAc,GAAGL,KAAK,CAACK,cAAc;IACrCC,QAAQ,GAAGN,KAAK,CAACM,QAAQ;IACzBC,SAAS,GAAGP,KAAK,CAACO,SAAS;IAC3BC,WAAW,GAAGR,KAAK,CAACQ,WAAW;IAC/BC,OAAO,GAAGT,KAAK,CAACS,OAA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,IAAIC,SAAS,KAAK,KAAK;IAC3CkC,aAAa,EAAEnC,QAAQ,GAAG,MAAM,GAAGoC,SAAS;IAC5CC,GAAG,EAAE3B,MAAM;IACXH,KAAK,EAAE,CAAC+B,MAAM,CAACC,IAAI,EAAE,CAACvC,QAAQ,IAAIsC,MAAM,CAACE,UAAU,EAAEjC,KAAK,EAAEQ,eAAe,IAAI,IAAI,IAAI;MACrF0B,OAAO,EAAE1B;IACX,CAAC,EAAE;MACD2B,kBAAkB,EAAE9B;IACtB,CAAC;EACH,CAAC,CAAC,CAAC;AACL;AAEA,IAAI0B,MAAM,GAAG/C,UAAU,CAACoD,MAAM,CAAC;EAC7BJ,IAAI,EAAE;IACJK,kBAAkB,EAAE,SAAS;IAC7BF,kBAAkB,EAAE,OAAO;IAC3BG,UAAU,EAAE;EACd,CAAC;EACDL,UAAU,EAAE;IACVM,MAAM,EAAE,SAAS;IACjBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC;AACF,IAAIC,sBAAsB,GAAgBhE,KAAK,CAACiE,IAAI,CAAejE,KAAK,CAACkE,UAAU,CAACzD,gBAAgB,CAAC,CAAC;AACtGuD,sBAAsB,CAACG,WAAW,GAAG,kBAAkB;AACvD,eAAeH,sBAAsB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/2fb8d1b1f89bfea96a358f5244f16773.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/2fb8d1b1f89bfea96a358f5244f16773.json new file mode 100644 index 00000000..f841af13 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/2fb8d1b1f89bfea96a358f5244f16773.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport invariant from 'fbjs/lib/invariant';\nvar Share = function () {\n function Share() {\n _classCallCheck(this, Share);\n }\n _createClass(Share, null, [{\n key: \"share\",\n value: function share(content, options) {\n if (options === void 0) {\n options = {};\n }\n invariant(typeof content === 'object' && content !== null, 'Content to share must be a valid object');\n invariant(typeof content.url === 'string' || typeof content.message === 'string', 'At least one of URL and message is required');\n invariant(typeof options === 'object' && options !== null, 'Options must be a valid object');\n invariant(!content.title || typeof content.title === 'string', 'Invalid title: title should be a string.');\n if (window.navigator.share !== undefined) {\n return window.navigator.share({\n title: content.title,\n text: content.message,\n url: content.url\n });\n } else {\n return Promise.reject(new Error('Share is not supported in this browser'));\n }\n }\n }, {\n key: \"sharedAction\",\n get: function get() {\n return 'sharedAction';\n }\n }, {\n key: \"dismissedAction\",\n get: function get() {\n return 'dismissedAction';\n }\n }]);\n return Share;\n}();\nexport default Share;","map":{"version":3,"names":["invariant","Share","content","options","url","message","title","window","navigator","share","undefined","text","Promise","reject","Error"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Share/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\n\nclass Share {\n static share(content, options) {\n if (options === void 0) {\n options = {};\n }\n\n invariant(typeof content === 'object' && content !== null, 'Content to share must be a valid object');\n invariant(typeof content.url === 'string' || typeof content.message === 'string', 'At least one of URL and message is required');\n invariant(typeof options === 'object' && options !== null, 'Options must be a valid object');\n invariant(!content.title || typeof content.title === 'string', 'Invalid title: title should be a string.');\n\n if (window.navigator.share !== undefined) {\n return window.navigator.share({\n title: content.title,\n text: content.message,\n url: content.url\n });\n } else {\n return Promise.reject(new Error('Share is not supported in this browser'));\n }\n }\n /**\n * The content was successfully shared.\n */\n\n\n static get sharedAction() {\n return 'sharedAction';\n }\n /**\n * The dialog has been dismissed.\n * @platform ios\n */\n\n\n static get dismissedAction() {\n return 'dismissedAction';\n }\n\n}\n\nexport default Share;"],"mappings":";;AASA,OAAOA,SAAS,MAAM,oBAAoB;AAAC,IAErCC,KAAK;EAAA;IAAA;EAAA;EAAA;IAAA;IAAA,OACT,eAAaC,OAAO,EAAEC,OAAO,EAAE;MAC7B,IAAIA,OAAO,KAAK,KAAK,CAAC,EAAE;QACtBA,OAAO,GAAG,CAAC,CAAC;MACd;MAEAH,SAAS,CAAC,OAAOE,OAAO,KAAK,QAAQ,IAAIA,OAAO,KAAK,IAAI,EAAE,yCAAyC,CAAC;MACrGF,SAAS,CAAC,OAAOE,OAAO,CAACE,GAAG,KAAK,QAAQ,IAAI,OAAOF,OAAO,CAACG,OAAO,KAAK,QAAQ,EAAE,6CAA6C,CAAC;MAChIL,SAAS,CAAC,OAAOG,OAAO,KAAK,QAAQ,IAAIA,OAAO,KAAK,IAAI,EAAE,gCAAgC,CAAC;MAC5FH,SAAS,CAAC,CAACE,OAAO,CAACI,KAAK,IAAI,OAAOJ,OAAO,CAACI,KAAK,KAAK,QAAQ,EAAE,0CAA0C,CAAC;MAE1G,IAAIC,MAAM,CAACC,SAAS,CAACC,KAAK,KAAKC,SAAS,EAAE;QACxC,OAAOH,MAAM,CAACC,SAAS,CAACC,KAAK,CAAC;UAC5BH,KAAK,EAAEJ,OAAO,CAACI,KAAK;UACpBK,IAAI,EAAET,OAAO,CAACG,OAAO;UACrBD,GAAG,EAAEF,OAAO,CAACE;QACf,CAAC,CAAC;MACJ,CAAC,MAAM;QACL,OAAOQ,OAAO,CAACC,MAAM,CAAC,IAAIC,KAAK,CAAC,wCAAwC,CAAC,CAAC;MAC5E;IACF;EAAC;IAAA;IAAA,KAMD,eAA0B;MACxB,OAAO,cAAc;IACvB;EAAC;IAAA;IAAA,KAOD,eAA6B;MAC3B,OAAO,iBAAiB;IAC1B;EAAC;EAAA;AAAA;AAIH,eAAeb,KAAK"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/30f61cbc007c9f5f4db6dd708f3aea86.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/30f61cbc007c9f5f4db6dd708f3aea86.json new file mode 100644 index 00000000..693d4c23 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/30f61cbc007c9f5f4db6dd708f3aea86.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport TouchableOpacity from \"../TouchableOpacity\";\nimport Text from \"../Text\";\nvar Button = React.forwardRef(function (props, forwardedRef) {\n var accessibilityLabel = props.accessibilityLabel,\n color = props.color,\n disabled = props.disabled,\n onPress = props.onPress,\n testID = props.testID,\n title = props.title;\n return React.createElement(TouchableOpacity, {\n accessibilityLabel: accessibilityLabel,\n accessibilityRole: \"button\",\n disabled: disabled,\n focusable: !disabled,\n onPress: onPress,\n ref: forwardedRef,\n style: [styles.button, color && {\n backgroundColor: color\n }, disabled && styles.buttonDisabled],\n testID: testID\n }, React.createElement(Text, {\n style: [styles.text, disabled && styles.textDisabled]\n }, title));\n});\nButton.displayName = 'Button';\nvar styles = StyleSheet.create({\n button: {\n backgroundColor: '#2196F3',\n borderRadius: 2\n },\n text: {\n color: '#fff',\n fontWeight: '500',\n padding: 8,\n textAlign: 'center',\n textTransform: 'uppercase'\n },\n buttonDisabled: {\n backgroundColor: '#dfdfdf'\n },\n textDisabled: {\n color: '#a1a1a1'\n }\n});\nexport default Button;","map":{"version":3,"names":["React","StyleSheet","TouchableOpacity","Text","Button","forwardRef","props","forwardedRef","accessibilityLabel","color","disabled","onPress","testID","title","createElement","accessibilityRole","focusable","ref","style","styles","button","backgroundColor","buttonDisabled","text","textDisabled","displayName","create","borderRadius","fontWeight","padding","textAlign","textTransform"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Button/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport TouchableOpacity from '../TouchableOpacity';\nimport Text from '../Text';\nvar Button = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {\n var accessibilityLabel = props.accessibilityLabel,\n color = props.color,\n disabled = props.disabled,\n onPress = props.onPress,\n testID = props.testID,\n title = props.title;\n return /*#__PURE__*/React.createElement(TouchableOpacity, {\n accessibilityLabel: accessibilityLabel,\n accessibilityRole: \"button\",\n disabled: disabled,\n focusable: !disabled,\n onPress: onPress,\n ref: forwardedRef,\n style: [styles.button, color && {\n backgroundColor: color\n }, disabled && styles.buttonDisabled],\n testID: testID\n }, /*#__PURE__*/React.createElement(Text, {\n style: [styles.text, disabled && styles.textDisabled]\n }, title));\n});\nButton.displayName = 'Button';\nvar styles = StyleSheet.create({\n button: {\n backgroundColor: '#2196F3',\n borderRadius: 2\n },\n text: {\n color: '#fff',\n fontWeight: '500',\n padding: 8,\n textAlign: 'center',\n textTransform: 'uppercase'\n },\n buttonDisabled: {\n backgroundColor: '#dfdfdf'\n },\n textDisabled: {\n color: '#a1a1a1'\n }\n});\nexport default Button;"],"mappings":"AASA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU;AACjB,OAAOC,gBAAgB;AACvB,OAAOC,IAAI;AACX,IAAIC,MAAM,GAAgBJ,KAAK,CAACK,UAAU,CAAC,UAACC,KAAK,EAAEC,YAAY,EAAK;EAClE,IAAIC,kBAAkB,GAAGF,KAAK,CAACE,kBAAkB;IAC7CC,KAAK,GAAGH,KAAK,CAACG,KAAK;IACnBC,QAAQ,GAAGJ,KAAK,CAACI,QAAQ;IACzBC,OAAO,GAAGL,KAAK,CAACK,OAAO;IACvBC,MAAM,GAAGN,KAAK,CAACM,MAAM;IACrBC,KAAK,GAAGP,KAAK,CAACO,KAAK;EACvB,OAAoBb,KAAK,CAACc,aAAa,CAACZ,gBAAgB,EAAE;IACxDM,kBAAkB,EAAEA,kBAAkB;IACtCO,iBAAiB,EAAE,QAAQ;IAC3BL,QAAQ,EAAEA,QAAQ;IAClBM,SAAS,EAAE,CAACN,QAAQ;IACpBC,OAAO,EAAEA,OAAO;IAChBM,GAAG,EAAEV,YAAY;IACjBW,KAAK,EAAE,CAACC,MAAM,CAACC,MAAM,EAAEX,KAAK,IAAI;MAC9BY,eAAe,EAAEZ;IACnB,CAAC,EAAEC,QAAQ,IAAIS,MAAM,CAACG,cAAc,CAAC;IACrCV,MAAM,EAAEA;EACV,CAAC,EAAeZ,KAAK,CAACc,aAAa,CAACX,IAAI,EAAE;IACxCe,KAAK,EAAE,CAACC,MAAM,CAACI,IAAI,EAAEb,QAAQ,IAAIS,MAAM,CAACK,YAAY;EACtD,CAAC,EAAEX,KAAK,CAAC,CAAC;AACZ,CAAC,CAAC;AACFT,MAAM,CAACqB,WAAW,GAAG,QAAQ;AAC7B,IAAIN,MAAM,GAAGlB,UAAU,CAACyB,MAAM,CAAC;EAC7BN,MAAM,EAAE;IACNC,eAAe,EAAE,SAAS;IAC1BM,YAAY,EAAE;EAChB,CAAC;EACDJ,IAAI,EAAE;IACJd,KAAK,EAAE,MAAM;IACbmB,UAAU,EAAE,KAAK;IACjBC,OAAO,EAAE,CAAC;IACVC,SAAS,EAAE,QAAQ;IACnBC,aAAa,EAAE;EACjB,CAAC;EACDT,cAAc,EAAE;IACdD,eAAe,EAAE;EACnB,CAAC;EACDG,YAAY,EAAE;IACZf,KAAK,EAAE;EACT;AACF,CAAC,CAAC;AACF,eAAeL,MAAM"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/3324c567267b870146ea6c174a1a7f9f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/3324c567267b870146ea6c174a1a7f9f.json new file mode 100644 index 00000000..a8ca7921 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/3324c567267b870146ea6c174a1a7f9f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Feather.json\";\nvar iconSet = createIconSet(glyphMap, 'Feather', 'Feather.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Feather.js"],"sourcesContent":["/**\n * Feather icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Feather.json';\n\nconst iconSet = createIconSet(glyphMap, 'Feather', 'Feather.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,SAAS,EAAE,aAAa,CAAC;AAEjE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/339d36f2ae8aaf6919002688cd4a1508.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/339d36f2ae8aaf6919002688cd4a1508.json new file mode 100644 index 00000000..8f686ebc --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/339d36f2ae8aaf6919002688cd4a1508.json @@ -0,0 +1 @@ +{"ast":null,"code":"var TouchHistoryMath = {\n centroidDimension: function centroidDimension(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {\n var touchBank = touchHistory.touchBank;\n var total = 0;\n var count = 0;\n var oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;\n if (oneTouchData !== null) {\n if (oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter) {\n total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (var i = 0; i < touchBank.length; i++) {\n var touchTrack = touchBank[i];\n if (touchTrack !== null && touchTrack !== undefined && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {\n var toAdd = void 0;\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n total += toAdd;\n count++;\n }\n }\n }\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n currentCentroidXOfTouchesChangedAfter: function currentCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, true);\n },\n currentCentroidYOfTouchesChangedAfter: function currentCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, true);\n },\n previousCentroidXOfTouchesChangedAfter: function previousCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, false);\n },\n previousCentroidYOfTouchesChangedAfter: function previousCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, false);\n },\n currentCentroidX: function currentCentroidX(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, true, true);\n },\n currentCentroidY: function currentCentroidY(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, false, true);\n },\n noCentroid: -1\n};\nexport default TouchHistoryMath;","map":{"version":3,"names":["TouchHistoryMath","centroidDimension","touchHistory","touchesChangedAfter","isXAxis","ofCurrent","touchBank","total","count","oneTouchData","numberActiveTouches","indexOfSingleActiveTouch","touchActive","currentTimeStamp","currentPageX","currentPageY","previousPageX","previousPageY","i","length","touchTrack","undefined","toAdd","noCentroid","currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","currentCentroidX","currentCentroidY"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/vendor/react-native/TouchHistoryMath/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\nvar TouchHistoryMath = {\n /**\n * This code is optimized and not intended to look beautiful. This allows\n * computing of touch centroids that have moved after `touchesChangedAfter`\n * timeStamp. You can compute the current centroid involving all touches\n * moves after `touchesChangedAfter`, or you can compute the previous\n * centroid of all touches that were moved after `touchesChangedAfter`.\n *\n * @param {TouchHistoryMath} touchHistory Standard Responder touch track\n * data.\n * @param {number} touchesChangedAfter timeStamp after which moved touches\n * are considered \"actively moving\" - not just \"active\".\n * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.\n * @param {boolean} ofCurrent Compute current centroid for actively moving\n * touches vs. previous centroid of now actively moving touches.\n * @return {number} value of centroid in specified dimension.\n */\n centroidDimension: function centroidDimension(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {\n var touchBank = touchHistory.touchBank;\n var total = 0;\n var count = 0;\n var oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;\n\n if (oneTouchData !== null) {\n if (oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter) {\n total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (var i = 0; i < touchBank.length; i++) {\n var touchTrack = touchBank[i];\n\n if (touchTrack !== null && touchTrack !== undefined && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {\n var toAdd = void 0; // Yuck, program temporarily in invalid state.\n\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n\n total += toAdd;\n count++;\n }\n }\n }\n\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n currentCentroidXOfTouchesChangedAfter: function currentCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, // isXAxis\n true // ofCurrent\n );\n },\n currentCentroidYOfTouchesChangedAfter: function currentCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, // isXAxis\n true // ofCurrent\n );\n },\n previousCentroidXOfTouchesChangedAfter: function previousCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, // isXAxis\n false // ofCurrent\n );\n },\n previousCentroidYOfTouchesChangedAfter: function previousCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, // isXAxis\n false // ofCurrent\n );\n },\n currentCentroidX: function currentCentroidX(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, // touchesChangedAfter\n true, // isXAxis\n true // ofCurrent\n );\n },\n currentCentroidY: function currentCentroidY(touchHistory) {\n return TouchHistoryMath.centroidDimension(touchHistory, 0, // touchesChangedAfter\n false, // isXAxis\n true // ofCurrent\n );\n },\n noCentroid: -1\n};\nexport default TouchHistoryMath;"],"mappings":"AAQA,IAAIA,gBAAgB,GAAG;EAiBrBC,iBAAiB,EAAE,SAASA,iBAAiB,CAACC,YAAY,EAAEC,mBAAmB,EAAEC,OAAO,EAAEC,SAAS,EAAE;IACnG,IAAIC,SAAS,GAAGJ,YAAY,CAACI,SAAS;IACtC,IAAIC,KAAK,GAAG,CAAC;IACb,IAAIC,KAAK,GAAG,CAAC;IACb,IAAIC,YAAY,GAAGP,YAAY,CAACQ,mBAAmB,KAAK,CAAC,GAAGR,YAAY,CAACI,SAAS,CAACJ,YAAY,CAACS,wBAAwB,CAAC,GAAG,IAAI;IAEhI,IAAIF,YAAY,KAAK,IAAI,EAAE;MACzB,IAAIA,YAAY,CAACG,WAAW,IAAIH,YAAY,CAACI,gBAAgB,GAAGV,mBAAmB,EAAE;QACnFI,KAAK,IAAIF,SAAS,IAAID,OAAO,GAAGK,YAAY,CAACK,YAAY,GAAGT,SAAS,IAAI,CAACD,OAAO,GAAGK,YAAY,CAACM,YAAY,GAAG,CAACV,SAAS,IAAID,OAAO,GAAGK,YAAY,CAACO,aAAa,GAAGP,YAAY,CAACQ,aAAa;QAC/LT,KAAK,GAAG,CAAC;MACX;IACF,CAAC,MAAM;MACL,KAAK,IAAIU,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGZ,SAAS,CAACa,MAAM,EAAED,CAAC,EAAE,EAAE;QACzC,IAAIE,UAAU,GAAGd,SAAS,CAACY,CAAC,CAAC;QAE7B,IAAIE,UAAU,KAAK,IAAI,IAAIA,UAAU,KAAKC,SAAS,IAAID,UAAU,CAACR,WAAW,IAAIQ,UAAU,CAACP,gBA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,CACJ;EACH,CAAC;EACDyB,gBAAgB,EAAE,SAASA,gBAAgB,CAAC1B,YAAY,EAAE;IACxD,OAAOF,gBAAgB,CAACC,iBAAiB,CAACC,YAAY,EAAE,CAAC,EACzD,IAAI,EACJ,IAAI,CACH;EACH,CAAC;EACD2B,gBAAgB,EAAE,SAASA,gBAAgB,CAAC3B,YAAY,EAAE;IACxD,OAAOF,gBAAgB,CAACC,iBAAiB,CAACC,YAAY,EAAE,CAAC,EACzD,KAAK,EACL,IAAI,CACH;EACH,CAAC;EACDqB,UAAU,EAAE,CAAC;AACf,CAAC;AACD,eAAevB,gBAAgB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/3446126cdc9a247b02aef3a6f0cbcff1.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/3446126cdc9a247b02aef3a6f0cbcff1.json new file mode 100644 index 00000000..9a049945 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/3446126cdc9a247b02aef3a6f0cbcff1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import Platform from \"react-native-web/dist/exports/Platform\";\nimport createMultiStyleIconSet from \"./createMultiStyleIconSet\";\nexport var FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand'\n};\nexport function createFA5iconSet(glyphMap) {\n var metadata = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var fonts = arguments.length > 2 ? arguments[2] : undefined;\n var pro = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var metadataKeys = Object.keys(metadata);\n var fontFamily = \"FontAwesome5\" + (pro ? 'Pro' : 'Free');\n function fallbackFamily(glyph) {\n for (var i = 0; i < metadataKeys.length; i += 1) {\n var family = metadataKeys[i];\n if (metadata[family].indexOf(glyph) !== -1) {\n return family === 'brands' ? 'brand' : family;\n }\n }\n return 'regular';\n }\n function glyphValidator(glyph, style) {\n var family = style === 'brand' ? 'brands' : style;\n if (metadataKeys.indexOf(family) === -1) return false;\n return metadata[family].indexOf(glyph) !== -1;\n }\n function createFontAwesomeStyle(styleName, fontWeight) {\n var family = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : fontFamily;\n var fontFile = fonts[styleName];\n return {\n fontFamily: family + \"-\" + styleName,\n fontFile: fontFile,\n fontStyle: Platform.select({\n ios: {\n fontWeight: fontWeight\n },\n default: {}\n }),\n glyphMap: glyphMap\n };\n }\n var brandIcons = createFontAwesomeStyle('Brand', '400');\n var lightIcons = createFontAwesomeStyle('Light', '100');\n var regularIcons = createFontAwesomeStyle('Regular', '400');\n var solidIcons = createFontAwesomeStyle('Solid', '700');\n var Icon = createMultiStyleIconSet({\n brand: brandIcons,\n light: lightIcons,\n regular: regularIcons,\n solid: solidIcons\n }, {\n defaultStyle: 'regular',\n fallbackFamily: fallbackFamily,\n glyphValidator: glyphValidator\n });\n return Icon;\n}","map":{"version":3,"sources":["../src/createIconSetFromFontAwesome5.ts"],"names":[],"mappings":";AACA,OAAO,uBAAuB;AAE9B,OAAO,IAAM,QAAQ,GAAG;EACtB,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;EACd,KAAK,EAAE;CACR;AAED,OAAM,SAAU,gBAAgB,CAAC,QAAQ,EAAmC;EAAA,IAAjC,QAAQ,uEAAG,CAAA,CAAE;EAAA,IAAE,KAAK;EAAA,IAAE,GAAG,uEAAG,KAAK;EAC1E,IAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;EAC1C,IAAM,UAAU,qBAAkB,GAAG,GAAG,KAAK,GAAG,MAAM,CAAE;EAExD,SAAS,cAAc,CAAC,KAAK,EAAA;IAC3B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;MAC/C,IAAM,MAAM,GAAG,YAAY,CAAC,CAAC,CAAC;MAC9B,IAAI,QAAQ,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AAd,cAAc;IACd,cAAc,EAAd;GACD,CACF;EAED,OAAO,IAAI;AACb","sourcesContent":["import { Platform } from 'react-native';\nimport createMultiStyleIconSet from './createMultiStyleIconSet';\n\nexport const FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand',\n};\n\nexport function createFA5iconSet(glyphMap, metadata = {}, fonts, pro = false) {\n const metadataKeys = Object.keys(metadata);\n const fontFamily = `FontAwesome5${pro ? 'Pro' : 'Free'}`;\n\n function fallbackFamily(glyph) {\n for (let i = 0; i < metadataKeys.length; i += 1) {\n const family = metadataKeys[i];\n if (metadata[family].indexOf(glyph) !== -1) {\n return family === 'brands' ? 'brand' : family;\n }\n }\n\n return 'regular';\n }\n\n function glyphValidator(glyph, style) {\n const family = style === 'brand' ? 'brands' : style;\n if (metadataKeys.indexOf(family) === -1) return false;\n return metadata[family].indexOf(glyph) !== -1;\n }\n\n function createFontAwesomeStyle(styleName, fontWeight, family = fontFamily) {\n let fontFile = fonts[styleName];\n\n return {\n fontFamily: `${family}-${styleName}`,\n fontFile,\n fontStyle: Platform.select({\n ios: {\n fontWeight,\n },\n default: {},\n }),\n glyphMap,\n };\n }\n\n const brandIcons = createFontAwesomeStyle('Brand', '400');\n const lightIcons = createFontAwesomeStyle('Light', '100');\n const regularIcons = createFontAwesomeStyle('Regular', '400');\n const solidIcons = createFontAwesomeStyle('Solid', '700');\n const Icon = createMultiStyleIconSet(\n {\n brand: brandIcons,\n light: lightIcons,\n regular: regularIcons,\n solid: solidIcons,\n },\n {\n defaultStyle: 'regular',\n fallbackFamily,\n glyphValidator,\n },\n );\n\n return Icon;\n}"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/35dc825ceedb7fca0c1f364dbfd6533c.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/35dc825ceedb7fca0c1f364dbfd6533c.json new file mode 100644 index 00000000..26850987 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/35dc825ceedb7fca0c1f364dbfd6533c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport invariant from 'fbjs/lib/invariant';\nimport EventEmitter from \"../../vendor/react-native/emitter/_EventEmitter\";\nimport canUseDOM from \"../../modules/canUseDom\";\nvar isPrefixed = canUseDOM && !document.hasOwnProperty('hidden') && document.hasOwnProperty('webkitHidden');\nvar EVENT_TYPES = ['change', 'memoryWarning'];\nvar VISIBILITY_CHANGE_EVENT = isPrefixed ? 'webkitvisibilitychange' : 'visibilitychange';\nvar VISIBILITY_STATE_PROPERTY = isPrefixed ? 'webkitVisibilityState' : 'visibilityState';\nvar AppStates = {\n BACKGROUND: 'background',\n ACTIVE: 'active'\n};\nvar changeEmitter = null;\nvar AppState = function () {\n function AppState() {\n _classCallCheck(this, AppState);\n }\n _createClass(AppState, null, [{\n key: \"currentState\",\n get: function get() {\n if (!AppState.isAvailable) {\n return AppStates.ACTIVE;\n }\n switch (document[VISIBILITY_STATE_PROPERTY]) {\n case 'hidden':\n case 'prerender':\n case 'unloaded':\n return AppStates.BACKGROUND;\n default:\n return AppStates.ACTIVE;\n }\n }\n }, {\n key: \"addEventListener\",\n value: function addEventListener(type, handler) {\n if (AppState.isAvailable) {\n invariant(EVENT_TYPES.indexOf(type) !== -1, 'Trying to subscribe to unknown event: \"%s\"', type);\n if (type === 'change') {\n if (!changeEmitter) {\n changeEmitter = new EventEmitter();\n document.addEventListener(VISIBILITY_CHANGE_EVENT, function () {\n if (changeEmitter) {\n changeEmitter.emit('change', AppState.currentState);\n }\n }, false);\n }\n return changeEmitter.addListener(type, handler);\n }\n }\n }\n }, {\n key: \"removeEventListener\",\n value: function removeEventListener(type, handler) {\n if (AppState.isAvailable) {\n console.error(\"AppState.removeListener('\" + type + \"', ...): Method has been \" + 'deprecated. Please instead use `remove()` on the subscription ' + 'returned by `AppState.addEventListener`.');\n invariant(EVENT_TYPES.indexOf(type) !== -1, 'Trying to remove listener for unknown event: \"%s\"', type);\n if (type === 'change' && changeEmitter) {\n changeEmitter.removeListener(handler);\n }\n }\n }\n }]);\n return AppState;\n}();\nexport { AppState as default };\nAppState.isAvailable = canUseDOM && document[VISIBILITY_STATE_PROPERTY];","map":{"version":3,"names":["invariant","EventEmitter","canUseDOM","isPrefixed","document","hasOwnProperty","EVENT_TYPES","VISIBILITY_CHANGE_EVENT","VISIBILITY_STATE_PROPERTY","AppStates","BACKGROUND","ACTIVE","changeEmitter","AppState","isAvailable","type","handler","indexOf","addEventListener","emit","currentState","addListener","console","error","removeListener"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/AppState/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\nimport EventEmitter from '../../vendor/react-native/emitter/_EventEmitter';\nimport canUseDOM from '../../modules/canUseDom'; // Android 4.4 browser\n\nvar isPrefixed = canUseDOM && !document.hasOwnProperty('hidden') && document.hasOwnProperty('webkitHidden');\nvar EVENT_TYPES = ['change', 'memoryWarning'];\nvar VISIBILITY_CHANGE_EVENT = isPrefixed ? 'webkitvisibilitychange' : 'visibilitychange';\nvar VISIBILITY_STATE_PROPERTY = isPrefixed ? 'webkitVisibilityState' : 'visibilityState';\nvar AppStates = {\n BACKGROUND: 'background',\n ACTIVE: 'active'\n};\nvar changeEmitter = null;\nexport default class AppState {\n static get currentState() {\n if (!AppState.isAvailable) {\n return AppStates.ACTIVE;\n }\n\n switch (document[VISIBILITY_STATE_PROPERTY]) {\n case 'hidden':\n case 'prerender':\n case 'unloaded':\n return AppStates.BACKGROUND;\n\n default:\n return AppStates.ACTIVE;\n }\n }\n\n static addEventListener(type, handler) {\n if (AppState.isAvailable) {\n invariant(EVENT_TYPES.indexOf(type) !== -1, 'Trying to subscribe to unknown event: \"%s\"', type);\n\n if (type === 'change') {\n if (!changeEmitter) {\n changeEmitter = new EventEmitter();\n document.addEventListener(VISIBILITY_CHANGE_EVENT, () => {\n if (changeEmitter) {\n changeEmitter.emit('change', AppState.currentState);\n }\n }, false);\n }\n\n return changeEmitter.addListener(type, handler);\n }\n }\n }\n\n static removeEventListener(type, handler) {\n if (AppState.isAvailable) {\n console.error(\"AppState.removeListener('\" + type + \"', ...): Method has been \" + 'deprecated. Please instead use `remove()` on the subscription ' + 'returned by `AppState.addEventListener`.');\n invariant(EVENT_TYPES.indexOf(type) !== -1, 'Trying to remove listener for unknown event: \"%s\"', type);\n\n if (type === 'change' && changeEmitter) {\n changeEmitter.removeListener(handler);\n }\n }\n }\n\n}\nAppState.isAvailable = canUseDOM && document[VISIBILITY_STATE_PROPERTY];"],"mappings":";;AASA,OAAOA,SAAS,MAAM,oBAAoB;AAC1C,OAAOC,YAAY;AACnB,OAAOC,SAAS;AAEhB,IAAIC,UAAU,GAAGD,SAAS,IAAI,CAACE,QAAQ,CAACC,cAAc,CAAC,QAAQ,CAAC,IAAID,QAAQ,CAACC,cAAc,CAAC,cAAc,CAAC;AAC3G,IAAIC,WAAW,GAAG,CAAC,QAAQ,EAAE,eAAe,CAAC;AAC7C,IAAIC,uBAAuB,GAAGJ,UAAU,GAAG,wBAAwB,GAAG,kBAAkB;AACxF,IAAIK,yBAAyB,GAAGL,UAAU,GAAG,uBAAuB,GAAG,iBAAiB;AACxF,IAAIM,SAAS,GAAG;EACdC,UAAU,EAAE,YAAY;EACxBC,MAAM,EAAE;AACV,CAAC;AACD,IAAIC,aAAa,GAAG,IAAI;AAAC,IACJC,QAAQ;EAAA;IAAA;EAAA;EAAA;IAAA;IAAA,KAC3B,eAA0B;MACxB,IAAI,CAACA,QAAQ,CAACC,WAAW,EAAE;QACzB,OAAOL,SAAS,CAACE,MAAM;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BA,QAAQ,CAACC,WAAW,GAAGZ,SAAS,IAAIE,QAAQ,CAACI,yBAAyB,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/368059601d2bc8e6dac342fc0d6b2614.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/368059601d2bc8e6dac342fc0d6b2614.json new file mode 100644 index 00000000..10c457b7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/368059601d2bc8e6dac342fc0d6b2614.json @@ -0,0 +1 @@ +{"ast":null,"code":"export default {};","map":{"version":3,"names":[],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Settings/index.js"],"sourcesContent":["export default {};"],"mappings":"AAAA,eAAe,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/3bc3dda6a9bc4fce61c0f4f9730ecfe1.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/3bc3dda6a9bc4fce61c0f4f9730ecfe1.json new file mode 100644 index 00000000..ded33af3 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/3bc3dda6a9bc4fce61c0f4f9730ecfe1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import Dimensions from \"../Dimensions\";\nimport canUseDOM from \"../../modules/canUseDom\";\nvar DeviceInfo = {\n Dimensions: {\n get windowPhysicalPixels() {\n var _Dimensions$get = Dimensions.get('window'),\n width = _Dimensions$get.width,\n height = _Dimensions$get.height,\n fontScale = _Dimensions$get.fontScale,\n scale = _Dimensions$get.scale;\n return {\n width: width * scale,\n height: height * scale,\n scale: scale,\n fontScale: fontScale\n };\n },\n get screenPhysicalPixels() {\n var _Dimensions$get2 = Dimensions.get('screen'),\n width = _Dimensions$get2.width,\n height = _Dimensions$get2.height,\n fontScale = _Dimensions$get2.fontScale,\n scale = _Dimensions$get2.scale;\n return {\n width: width * scale,\n height: height * scale,\n scale: scale,\n fontScale: fontScale\n };\n }\n },\n get locale() {\n if (canUseDOM) {\n if (navigator.languages) {\n return navigator.languages[0];\n } else {\n return navigator.language;\n }\n }\n },\n get totalMemory() {\n return canUseDOM ? navigator.deviceMemory : undefined;\n },\n get userAgent() {\n return canUseDOM ? navigator.userAgent : '';\n }\n};\nexport default DeviceInfo;","map":{"version":3,"names":["Dimensions","canUseDOM","DeviceInfo","windowPhysicalPixels","_Dimensions$get","get","width","height","fontScale","scale","screenPhysicalPixels","_Dimensions$get2","locale","navigator","languages","language","totalMemory","deviceMemory","undefined","userAgent"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/DeviceInfo/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport Dimensions from '../Dimensions';\nimport canUseDOM from '../../modules/canUseDom';\nvar DeviceInfo = {\n Dimensions: {\n get windowPhysicalPixels() {\n var _Dimensions$get = Dimensions.get('window'),\n width = _Dimensions$get.width,\n height = _Dimensions$get.height,\n fontScale = _Dimensions$get.fontScale,\n scale = _Dimensions$get.scale;\n\n return {\n width: width * scale,\n height: height * scale,\n scale,\n fontScale\n };\n },\n\n get screenPhysicalPixels() {\n var _Dimensions$get2 = Dimensions.get('screen'),\n width = _Dimensions$get2.width,\n height = _Dimensions$get2.height,\n fontScale = _Dimensions$get2.fontScale,\n scale = _Dimensions$get2.scale;\n\n return {\n width: width * scale,\n height: height * scale,\n scale,\n fontScale\n };\n }\n\n },\n\n get locale() {\n if (canUseDOM) {\n if (navigator.languages) {\n return navigator.languages[0];\n } else {\n return navigator.language;\n }\n }\n },\n\n get totalMemory() {\n // $FlowIssue deviceMemory not defined in navigator\n return canUseDOM ? navigator.deviceMemory : undefined;\n },\n\n get userAgent() {\n return canUseDOM ? navigator.userAgent : '';\n }\n\n};\nex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EAED,IAAIC,SAAS,GAAG;IACd,OAAOlB,SAAS,GAAGY,SAAS,CAACM,SAAS,GAAG,EAAE;EAC7C;AAEF,CAAC;AACD,eAAejB,UAAU"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/3d756a8a78261d9f54cc288c1b65d8f6.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/3d756a8a78261d9f54cc288c1b65d8f6.json new file mode 100644 index 00000000..b11479c4 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/3d756a8a78261d9f54cc288c1b65d8f6.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"animating\", \"color\", \"hidesWhenStopped\", \"size\", \"style\"];\nimport * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar createSvgCircle = function createSvgCircle(style) {\n return React.createElement(\"circle\", {\n cx: \"16\",\n cy: \"16\",\n fill: \"none\",\n r: \"14\",\n strokeWidth: \"4\",\n style: style\n });\n};\nvar ActivityIndicator = React.forwardRef(function (props, forwardedRef) {\n var _props$animating = props.animating,\n animating = _props$animating === void 0 ? true : _props$animating,\n _props$color = props.color,\n color = _props$color === void 0 ? '#1976D2' : _props$color,\n _props$hidesWhenStopp = props.hidesWhenStopped,\n hidesWhenStopped = _props$hidesWhenStopp === void 0 ? true : _props$hidesWhenStopp,\n _props$size = props.size,\n size = _props$size === void 0 ? 'small' : _props$size,\n style = props.style,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n var svg = React.createElement(\"svg\", {\n height: \"100%\",\n viewBox: \"0 0 32 32\",\n width: \"100%\"\n }, createSvgCircle({\n stroke: color,\n opacity: 0.2\n }), createSvgCircle({\n stroke: color,\n strokeDasharray: 80,\n strokeDashoffset: 60\n }));\n return React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n accessibilityValueMax: 1,\n accessibilityValueMin: 0,\n ref: forwardedRef,\n style: [styles.container, style]\n }), React.createElement(View, {\n children: svg,\n style: [typeof size === 'number' ? {\n height: size,\n width: size\n } : indicatorSizes[size], styles.animation, !animating && styles.animationPause, !animating && hidesWhenStopped && styles.hidesWhenStopped]\n }));\n});\nActivityIndicator.displayName = 'ActivityIndicator';\nvar styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center'\n },\n hidesWhenStopped: {\n visibility: 'hidden'\n },\n animation: {\n animationDuration: '0.75s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n rotate: '0deg'\n }]\n },\n '100%': {\n transform: [{\n rotate: '360deg'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n },\n animationPause: {\n animationPlayState: 'paused'\n }\n});\nvar indicatorSizes = StyleSheet.create({\n small: {\n width: 20,\n height: 20\n },\n large: {\n width: 36,\n height: 36\n }\n});\nexport default ActivityIndicator;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","StyleSheet","View","createSvgCircle","style","createElement","cx","cy","fill","r","strokeWidth","ActivityIndicator","forwardRef","props","forwardedRef","_props$animating","animating","_props$color","color","_props$hidesWhenStopp","hidesWhenStopped","_props$size","size","other","svg","height","viewBox","width","stroke","opacity","strokeDasharray","strokeDashoffset","accessibilityRole","accessibilityValueMax","accessibilityValueMin","ref","styles","container","children","indicatorSizes","animation","animationPause","displayName","create","alignItems","justifyContent","visibility","animationDuration","animationKeyframes","transform","rotate","animationTimingFunction","animationIterationCount","animationPlayState","small","large"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/ActivityIndicator/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"animating\", \"color\", \"hidesWhenStopped\", \"size\", \"style\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\n\nvar createSvgCircle = style => /*#__PURE__*/React.createElement(\"circle\", {\n cx: \"16\",\n cy: \"16\",\n fill: \"none\",\n r: \"14\",\n strokeWidth: \"4\",\n style: style\n});\n\nvar ActivityIndicator = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {\n var _props$animating = props.animating,\n animating = _props$animating === void 0 ? true : _props$animating,\n _props$color = props.color,\n color = _props$color === void 0 ? '#1976D2' : _props$color,\n _props$hidesWhenStopp = props.hidesWhenStopped,\n hidesWhenStopped = _props$hidesWhenStopp === void 0 ? true : _props$hidesWhenStopp,\n _props$size = props.size,\n size = _props$size === void 0 ? 'small' : _props$size,\n style = props.style,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n var svg = /*#__PURE__*/React.createElement(\"svg\", {\n height: \"100%\",\n viewBox: \"0 0 32 32\",\n width: \"100%\"\n }, createSvgCircle({\n stroke: color,\n opacity: 0.2\n }), createSvgCircle({\n stroke: color,\n strokeDasharray: 80,\n strokeDashoffset: 60\n }));\n return /*#__PURE__*/React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n accessibilityValueMax: 1,\n accessibilityValueMin: 0,\n ref: forwardedRef,\n style: [styles.container, style]\n }), /*#__PURE__*/React.createElement(View, {\n children: svg,\n style: [typeof size === 'number' ? {\n height: size,\n width: size\n } : indicatorSizes[size], styles.animation, !animating && styles.animationPause, !animating && hidesWhenStopped && styles.hidesWhenStopped]\n }));\n});\nActivityIndicator.displayName = 'ActivityIndicator';\nvar styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center'\n },\n hidesWhenStopped: {\n visibility: 'hidden'\n },\n animation: {\n animationDuration: '0.75s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n rotate: '0deg'\n }]\n },\n '100%': {\n transform: [{\n rotate: '360deg'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n },\n animationPause: {\n animationPlayState: 'paused'\n }\n});\nvar indicatorSizes = StyleSheet.create({\n small: {\n width: 20,\n height: 20\n },\n large: {\n width: 36,\n height: 36\n }\n});\nexport default ActivityIndicator;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,WAAW,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC;AAW3E,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU;AACjB,OAAOC,IAAI;AAEX,IAAIC,eAAe,GAAG,SAAlBA,eAAe,CAAGC,KAAK;EAAA,OAAiBJ,KAAK,CAACK,aAAa,CAAC,QAAQ,EAAE;IACxEC,EAAE,EAAE,IAAI;IACRC,EAAE,EAAE,IAAI;IACRC,IAAI,EAAE,MAAM;IACZC,CAAC,EAAE,IAAI;IACPC,WAAW,EAAE,GAAG;IAChBN,KAAK,EAAEA;EACT,CAAC,CAAC;AAAA;AAEF,IAAIO,iBAAiB,GAAgBX,KAAK,CAACY,UAAU,CAAC,UAACC,KAAK,EAAEC,YAAY,EAAK;EAC7E,IAAIC,gBAAgB,GAAGF,KAAK,CAACG,SAAS;IAClCA,SAAS,GAAGD,gBAAgB,KAAK,KAAK,CAAC,GAAG,IAAI,GAAGA,gBAAgB;IACjEE,YAAY,GAAGJ,KAAK,CAACK,KAAK;IAC1BA,KAAK,GAAGD,YAAY,KAAK,KAAK,CAAC,GAAG,SAAS,GAAGA,YAAY;IAC1DE,qBAAqB,GAAGN,KAAK,CAACO,gBAAgB;IAC9CA,gBAAgB,GAAGD,qBAAqB,KAAK,KAAK,CAAC,GAAG,IAAI,GAAGA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ACL,CAAC,CAAC;AACFT,iBAAiB,CAAC+B,WAAW,GAAG,mBAAmB;AACnD,IAAIN,MAAM,GAAGnC,UAAU,CAAC0C,MAAM,CAAC;EAC7BN,SAAS,EAAE;IACTO,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDzB,gBAAgB,EAAE;IAChB0B,UAAU,EAAE;EACd,CAAC;EACDN,SAAS,EAAE;IACTO,iBAAiB,EAAE,OAAO;IAC1BC,kBAAkB,EAAE,CAAC;MACnB,IAAI,EAAE;QACJC,SAAS,EAAE,CAAC;UACVC,MAAM,EAAE;QACV,CAAC;MACH,CAAC;MACD,MAAM,EAAE;QACND,SAAS,EAAE,CAAC;UACVC,MAAM,EAAE;QACV,CAAC;MACH;IACF,CAAC,CAAC;IACFC,uBAAuB,EAAE,QAAQ;IACjCC,uBAAuB,EAAE;EAC3B,CAAC;EACDX,cAAc,EAAE;IACdY,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC;AACF,IAAId,cAAc,GAAGtC,UAAU,CAAC0C,MAAM,CAAC;EACrCW,KAAK,EAAE;IACL3B,KAAK,EAAE,EAAE;IACTF,MAAM,EAAE;EACV,CAAC;EACD8B,KAAK,EAAE;IACL5B,KAAK,EAAE,EAAE;IACTF,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AACF,eAAed,iBAAiB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/3f3b3c030699ba20f2eac4eb6b4d0e6a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/3f3b3c030699ba20f2eac4eb6b4d0e6a.json new file mode 100644 index 00000000..0277a8f6 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/3f3b3c030699ba20f2eac4eb6b4d0e6a.json @@ -0,0 +1 @@ +{"ast":null,"code":"var TYPE_VALUE = 'value';\nvar TYPE_ERROR = 'error';\nexport default function createIconSourceCache() {\n var cache = new Map();\n var setValue = function setValue(key, value) {\n return cache.set(key, {\n type: TYPE_VALUE,\n data: value\n });\n };\n var setError = function setError(key, error) {\n return cache.set(key, {\n type: TYPE_ERROR,\n data: error\n });\n };\n var has = function has(key) {\n return cache.has(key);\n };\n var get = function get(key) {\n if (!cache.has(key)) {\n return undefined;\n }\n var _cache$get = cache.get(key),\n type = _cache$get.type,\n data = _cache$get.data;\n if (type === TYPE_ERROR) {\n throw data;\n }\n return data;\n };\n return {\n setValue: setValue,\n setError: setError,\n has: has,\n get: get\n };\n}","map":{"version":3,"names":["TYPE_VALUE","TYPE_ERROR","createIconSourceCache","cache","Map","setValue","key","value","set","type","data","setError","error","has","get","undefined"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/create-icon-source-cache.js"],"sourcesContent":["const TYPE_VALUE = 'value';\nconst TYPE_ERROR = 'error';\n\nexport default function createIconSourceCache() {\n const cache = new Map();\n\n const setValue = (key, value) =>\n cache.set(key, { type: TYPE_VALUE, data: value });\n\n const setError = (key, error) =>\n cache.set(key, { type: TYPE_ERROR, data: error });\n\n const has = key => cache.has(key);\n\n const get = key => {\n if (!cache.has(key)) {\n return undefined;\n }\n const { type, data } = cache.get(key);\n if (type === TYPE_ERROR) {\n throw data;\n }\n return data;\n };\n\n return { setValue, setError, has, get };\n}\n"],"mappings":"AAAA,IAAMA,UAAU,GAAG,OAAO;AAC1B,IAAMC,UAAU,GAAG,OAAO;AAE1B,eAAe,SAASC,qBAAqB,GAAG;EAC9C,IAAMC,KAAK,GAAG,IAAIC,GAAG,EAAE;EAEvB,IAAMC,QAAQ,GAAG,SAAXA,QAAQ,CAAIC,GAAG,EAAEC,KAAK;IAAA,OAC1BJ,KAAK,CAACK,GAAG,CAACF,GAAG,EAAE;MAAEG,IAAI,EAAET,UAAU;MAAEU,IAAI,EAAEH;IAAM,CAAC,CAAC;EAAA;EAEnD,IAAMI,QAAQ,GAAG,SAAXA,QAAQ,CAAIL,GAAG,EAAEM,KAAK;IAAA,OAC1BT,KAAK,CAACK,GAAG,CAACF,GAAG,EAAE;MAAEG,IAAI,EAAER,UAAU;MAAES,IAAI,EAAEE;IAAM,CAAC,CAAC;EAAA;EAEnD,IAAMC,GAAG,GAAG,SAANA,GAAG,CAAGP,GAAG;IAAA,OAAIH,KAAK,CAACU,GAAG,CAACP,GAAG,CAAC;EAAA;EAEjC,IAAMQ,GAAG,GAAG,SAANA,GAAG,CAAGR,GAAG,EAAI;IACjB,IAAI,CAACH,KAAK,CAACU,GAAG,CAACP,GAAG,CAAC,EAAE;MACnB,OAAOS,SAAS;IAClB;IACA,iBAAuBZ,KAAK,CAACW,GAAG,CAACR,GAAG,CAAC;MAA7BG,IAAI,cAAJA,IAAI;MAAEC,IAAI,cAAJA,IAAI;IAClB,IAAID,IAAI,KAAKR,UAAU,EAAE;MACvB,MAAMS,IAAI;IACZ;IACA,OAAOA,IAAI;EACb,CAAC;EAED,OAAO;IAAEL,QAAQ,EAARA,QAAQ;IAAEM,QAAQ,EAARA,QAAQ;IAAEE,GAAG,EAAHA,GAAG;IAAEC,GAAG,EAAHA;EAAI,CAAC;AACzC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4082165a464e3663b6bce14fa60ac8b2.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4082165a464e3663b6bce14fa60ac8b2.json new file mode 100644 index 00000000..a814d79b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4082165a464e3663b6bce14fa60ac8b2.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nimport InteractionManager from \"../../../exports/InteractionManager\";\nimport TouchHistoryMath from \"../TouchHistoryMath\";\nvar currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter;\nvar currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter;\nvar previousCentroidXOfTouchesChangedAfter = TouchHistoryMath.previousCentroidXOfTouchesChangedAfter;\nvar previousCentroidYOfTouchesChangedAfter = TouchHistoryMath.previousCentroidYOfTouchesChangedAfter;\nvar currentCentroidX = TouchHistoryMath.currentCentroidX;\nvar currentCentroidY = TouchHistoryMath.currentCentroidY;\nvar PanResponder = {\n _initializeGestureState: function _initializeGestureState(gestureState) {\n gestureState.moveX = 0;\n gestureState.moveY = 0;\n gestureState.x0 = 0;\n gestureState.y0 = 0;\n gestureState.dx = 0;\n gestureState.dy = 0;\n gestureState.vx = 0;\n gestureState.vy = 0;\n gestureState.numberActiveTouches = 0;\n gestureState._accountsForMovesUpTo = 0;\n },\n _updateGestureStateOnMove: function _updateGestureStateOnMove(gestureState, touchHistory) {\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);\n gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);\n var movedAfter = gestureState._accountsForMovesUpTo;\n var prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n var x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n var prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n var y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n var nextDX = gestureState.dx + (x - prevX);\n var nextDY = gestureState.dy + (y - prevY);\n var dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;\n gestureState.vx = (nextDX - gestureState.dx) / dt;\n gestureState.vy = (nextDY - gestureState.dy) / dt;\n gestureState.dx = nextDX;\n gestureState.dy = nextDY;\n gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;\n },\n create: function create(config) {\n var interactionState = {\n handle: null,\n shouldCancelClick: false,\n timeout: null\n };\n var gestureState = {\n stateID: Math.random(),\n moveX: 0,\n moveY: 0,\n x0: 0,\n y0: 0,\n dx: 0,\n dy: 0,\n vx: 0,\n vy: 0,\n numberActiveTouches: 0,\n _accountsForMovesUpTo: 0\n };\n var panHandlers = {\n onStartShouldSetResponder: function onStartShouldSetResponder(event) {\n return config.onStartShouldSetPanResponder == null ? false : config.onStartShouldSetPanResponder(event, gestureState);\n },\n onMoveShouldSetResponder: function onMoveShouldSetResponder(event) {\n return config.onMoveShouldSetPanResponder == null ? false : config.onMoveShouldSetPanResponder(event, gestureState);\n },\n onStartShouldSetResponderCapture: function onStartShouldSetResponderCapture(event) {\n if (event.nativeEvent.touches.length === 1) {\n PanResponder._initializeGestureState(gestureState);\n }\n gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches;\n return config.onStartShouldSetPanResponderCapture != null ? config.onStartShouldSetPanResponderCapture(event, gestureState) : false;\n },\n onMoveShouldSetResponderCapture: function onMoveShouldSetResponderCapture(event) {\n var touchHistory = event.touchHistory;\n if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {\n return false;\n }\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n return config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(event, gestureState) : false;\n },\n onResponderGrant: function onResponderGrant(event) {\n if (!interactionState.handle) {\n interactionState.handle = InteractionManager.createInteractionHandle();\n }\n if (interactionState.timeout) {\n clearInteractionTimeout(interactionState);\n }\n interactionState.shouldCancelClick = true;\n gestureState.x0 = currentCentroidX(event.touchHistory);\n gestureState.y0 = currentCentroidY(event.touchHistory);\n gestureState.dx = 0;\n gestureState.dy = 0;\n if (config.onPanResponderGrant) {\n config.onPanResponderGrant(event, gestureState);\n }\n return config.onShouldBlockNativeResponder == null ? true : config.onShouldBlockNativeResponder(event, gestureState);\n },\n onResponderReject: function onResponderReject(event) {\n clearInteractionHandle(interactionState, config.onPanResponderReject, event, gestureState);\n },\n onResponderRelease: function onResponderRelease(event) {\n clearInteractionHandle(interactionState, config.onPanResponderRelease, event, gestureState);\n setInteractionTimeout(interactionState);\n PanResponder._initializeGestureState(gestureState);\n },\n onResponderStart: function onResponderStart(event) {\n var touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n if (config.onPanResponderStart) {\n config.onPanResponderStart(event, gestureState);\n }\n },\n onResponderMove: function onResponderMove(event) {\n var touchHistory = event.touchHistory;\n if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {\n return;\n }\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n if (config.onPanResponderMove) {\n config.onPanResponderMove(event, gestureState);\n }\n },\n onResponderEnd: function onResponderEnd(event) {\n var touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n clearInteractionHandle(interactionState, config.onPanResponderEnd, event, gestureState);\n },\n onResponderTerminate: function onResponderTerminate(event) {\n clearInteractionHandle(interactionState, config.onPanResponderTerminate, event, gestureState);\n setInteractionTimeout(interactionState);\n PanResponder._initializeGestureState(gestureState);\n },\n onResponderTerminationRequest: function onResponderTerminationRequest(event) {\n return config.onPanResponderTerminationRequest == null ? true : config.onPanResponderTerminationRequest(event, gestureState);\n },\n onClickCapture: function onClickCapture(event) {\n if (interactionState.shouldCancelClick === true) {\n event.stopPropagation();\n event.preventDefault();\n }\n }\n };\n return {\n panHandlers: panHandlers,\n getInteractionHandle: function getInteractionHandle() {\n return interactionState.handle;\n }\n };\n }\n};\nfunction clearInteractionHandle(interactionState, callback, event, gestureState) {\n if (interactionState.handle) {\n InteractionManager.clearInteractionHandle(interactionState.handle);\n interactionState.handle = null;\n }\n if (callback) {\n callback(event, gestureState);\n }\n}\nfunction clearInteractionTimeout(interactionState) {\n clearTimeout(interactionState.timeout);\n}\nfunction setInteractionTimeout(interactionState) {\n interactionState.timeout = setTimeout(function () {\n interactionState.shouldCancelClick = false;\n }, 250);\n}\nexport default PanResponder;","map":{"version":3,"names":["InteractionManager","TouchHistoryMath","currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","currentCentroidX","currentCentroidY","PanResponder","_initializeGestureState","gestureState","moveX","moveY","x0","y0","dx","dy","vx","vy","numberActiveTouches","_accountsForMovesUpTo","_updateGestureStateOnMove","touchHistory","movedAfter","prevX","x","prevY","y","nextDX","nextDY","dt","mostRecentTimeStamp","create","config","interactionState","handle","shouldCancelClick","timeout","stateID","Math","random","panHandlers","onStartShouldSetResponder","event","onStartShouldSetPanResponder","onMoveShouldSetResponder","onMoveShouldSetPanResponder","onStartShouldSetResponderCapture","nativeEvent","touches","length","onStartShouldSetPanResponderCapture","onMoveShouldSetResponderCapture","onMoveShouldSetPanResponderCapture","onResponderGrant","createInteractionHandle","clearInteractionTimeout","onPanResponderGrant","onShouldBlockNativeResponder","onResponderReject","clearInteractionHandle","onPanResponderReject","onResponderRelease","onPanResponderRelease","setInteractionTimeout","onResponderStart","onPanResponderStart","onResponderMove","onPanResponderMove","onResponderEnd","onPanResponderEnd","onResponderTerminate","onPanResponderTerminate","onResponderTerminationRequest","onPanResponderTerminationRequest","onClickCapture","stopPropagation","preventDefault","getInteractionHandle","callback","clearTimeout","setTimeout"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/vendor/react-native/PanResponder/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport InteractionManager from '../../../exports/InteractionManager';\nimport TouchHistoryMath from '../TouchHistoryMath';\nvar currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter;\nvar currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter;\nvar previousCentroidXOfTouchesChangedAfter = TouchHistoryMath.previousCentroidXOfTouchesChangedAfter;\nvar previousCentroidYOfTouchesChangedAfter = TouchHistoryMath.previousCentroidYOfTouchesChangedAfter;\nvar currentCentroidX = TouchHistoryMath.currentCentroidX;\nvar currentCentroidY = TouchHistoryMath.currentCentroidY;\n/**\n * `PanResponder` reconciles several touches into a single gesture. It makes\n * single-touch gestures resilient to extra touches, and can be used to\n * recognize simple multi-touch gestures.\n *\n * By default, `PanResponder` holds an `InteractionManager` handle to block\n * long-running JS events from interrupting active gestures.\n *\n * It provides a predictable wrapper of the responder handlers provided by the\n * [gesture responder system](docs/gesture-responder-system.html).\n * For each handler, it provides a new `gestureState` object alongside the\n * native event object:\n *\n * ```\n * onPanResponderMove: (event, gestureState) => {}\n * ```\n *\n * A native event is a synthetic touch event with the following form:\n *\n * - `nativeEvent`\n * + `changedTouches` - Array of all touch events that have changed since the last event\n * + `identifier` - The ID of the touch\n * + `locationX` - The X position of the touch, relative to the element\n * + `locationY` - The Y position of the touch, relative to the element\n * + `pageX` - The X position of the touch, relative to the root element\n * + `pageY` - The Y position of the touch, relative to the root element\n * + `target` - The node id of the element receiving the touch event\n * + `timestamp` - A time identifier for the touch, useful for velocity calculation\n * + `touches` - Array of all current touches on the screen\n *\n * A `gestureState` object has the following:\n *\n * - `stateID` - ID of the gestureState- persisted as long as there at least\n * one touch on screen\n * - `moveX` - the latest screen coordinates of the recently-moved touch\n * - `moveY` - the latest screen coordinates of the recently-moved touch\n * - `x0` - the screen coordinates of the responder grant\n * - `y0` - the screen coordinates of the responder grant\n * - `dx` - accumulated distance of the gesture since the touch started\n * - `dy` - accumulated distance of the gesture since the touch started\n * - `vx` - current velocity of the gesture\n * - `vy` - current velocity of the gesture\n * - `numberActiveTouches` - Number of touches currently on screen\n *\n * ### Basic Usage\n *\n * ```\n * componentWillMount: function() {\n * this._panResponder = PanResponder.create({\n * // Ask to be the responder:\n * onStartShouldSetPanResponder: (evt, gestureState) => true,\n * onStartShouldSetPanResponderCapture: (evt, gestureState) => true,\n * onMoveShouldSetPanResponder: (evt, gestureState) => true,\n * onMoveShouldSetPanResponderCapture: (evt, gestureState) => true,\n *\n * onPanResponderGrant: (evt, gestureState) => {\n * // The gesture has started. Show visual feedback so the user knows\n * // what is happening!\n *\n * // gestureState.d{x,y} will be set to zero now\n * },\n * onPanResponderMove: (evt, gestureState) => {\n * // The most recent move distance is gestureState.move{X,Y}\n *\n * // The accumulated gesture distance since becoming responder is\n * // gestureState.d{x,y}\n * },\n * onPanResponderTerminationRequest: (evt, gestureState) => true,\n * onPanResponderRelease: (evt, gestureState) => {\n * // The user has released all touches while this view is the\n * // responder. This typically means a gesture has succeeded\n * },\n * onPanResponderTerminate: (evt, gestureState) => {\n * // Another component has become the responder, so this gesture\n * // should be cancelled\n * },\n * onShouldBlockNativeResponder: (evt, gestureState) => {\n * // Returns whether this component should block native components from becoming the JS\n * // responder. Returns true by default. Is currently only supported on android.\n * return true;\n * },\n * });\n * },\n *\n * render: function() {\n * return (\n * \n * );\n * },\n *\n * ```\n *\n * ### Working Example\n *\n * To see it in action, try the\n * [PanResponder example in RNTester](https://github.com/facebook/react-native/blob/master/RNTester/js/PanResponderExample.js)\n */\n\nvar PanResponder = {\n /**\n *\n * A graphical explanation of the touch data flow:\n *\n * +----------------------------+ +--------------------------------+\n * | ResponderTouchHistoryStore | |TouchHistoryMath |\n * +----------------------------+ +----------+---------------------+\n * |Global store of touchHistory| |Allocation-less math util |\n * |including activeness, start | |on touch history (centroids |\n * |position, prev/cur position.| |and multitouch movement etc) |\n * | | | |\n * +----^-----------------------+ +----^---------------------------+\n * | |\n * | (records relevant history |\n * | of touches relevant for |\n * | implementing higher level |\n * | gestures) |\n * | |\n * +----+-----------------------+ +----|---------------------------+\n * | ResponderEventPlugin | | | Your App/Component |\n * +----------------------------+ +----|---------------------------+\n * |Negotiates which view gets | Low level | | High level |\n * |onResponderMove events. | events w/ | +-+-------+ events w/ |\n * |Also records history into | touchHistory| | Pan | multitouch + |\n * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|\n * +----------------------------+ attached to | | | distance and |\n * each event | +---------+ velocity. |\n * | |\n * | |\n * +--------------------------------+\n *\n *\n *\n * Gesture that calculates cumulative movement over time in a way that just\n * \"does the right thing\" for multiple touches. The \"right thing\" is very\n * nuanced. When moving two touches in opposite directions, the cumulative\n * distance is zero in each dimension. When two touches move in parallel five\n * pixels in the same direction, the cumulative distance is five, not ten. If\n * two touches start, one moves five in a direction, then stops and the other\n * touch moves fives in the same direction, the cumulative distance is ten.\n *\n * This logic requires a kind of processing of time \"clusters\" of touch events\n * so that two touch moves that essentially occur in parallel but move every\n * other frame respectively, are considered part of the same movement.\n *\n * Explanation of some of the non-obvious fields:\n *\n * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is\n * invalid. If a move event has been observed, `(moveX, moveY)` is the\n * centroid of the most recently moved \"cluster\" of active touches.\n * (Currently all move have the same timeStamp, but later we should add some\n * threshold for what is considered to be \"moving\"). If a palm is\n * accidentally counted as a touch, but a finger is moving greatly, the palm\n * will move slightly, but we only want to count the single moving touch.\n * - x0/y0: Centroid location (non-cumulative) at the time of becoming\n * responder.\n * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch\n * distance. Accounts for touch moves that are clustered together in time,\n * moving the same direction. Only valid when currently responder (otherwise,\n * it only represents the drag distance below the threshold).\n * - vx/vy: Velocity.\n */\n _initializeGestureState(gestureState) {\n gestureState.moveX = 0;\n gestureState.moveY = 0;\n gestureState.x0 = 0;\n gestureState.y0 = 0;\n gestureState.dx = 0;\n gestureState.dy = 0;\n gestureState.vx = 0;\n gestureState.vy = 0;\n gestureState.numberActiveTouches = 0; // All `gestureState` accounts for timeStamps up until:\n\n gestureState._accountsForMovesUpTo = 0;\n },\n\n /**\n * This is nuanced and is necessary. It is incorrect to continuously take all\n * active *and* recently moved touches, find the centroid, and track how that\n * result changes over time. Instead, we must take all recently moved\n * touches, and calculate how the centroid has changed just for those\n * recently moved touches, and append that change to an accumulator. This is\n * to (at least) handle the case where the user is moving three fingers, and\n * then one of the fingers stops but the other two continue.\n *\n * This is very different than taking all of the recently moved touches and\n * storing their centroid as `dx/dy`. For correctness, we must *accumulate\n * changes* in the centroid of recently moved touches.\n *\n * There is also some nuance with how we handle multiple moved touches in a\n * single event. With the way `ReactNativeEventEmitter` dispatches touches as\n * individual events, multiple touches generate two 'move' events, each of\n * them triggering `onResponderMove`. But with the way `PanResponder` works,\n * all of the gesture inference is performed on the first dispatch, since it\n * looks at all of the touches (even the ones for which there hasn't been a\n * native dispatch yet). Therefore, `PanResponder` does not call\n * `onResponderMove` passed the first dispatch. This diverges from the\n * typical responder callback pattern (without using `PanResponder`), but\n * avoids more dispatches than necessary.\n */\n _updateGestureStateOnMove(gestureState, touchHistory) {\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);\n gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);\n var movedAfter = gestureState._accountsForMovesUpTo;\n var prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n var x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n var prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n var y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n var nextDX = gestureState.dx + (x - prevX);\n var nextDY = gestureState.dy + (y - prevY); // TODO: This must be filtered intelligently.\n\n var dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;\n gestureState.vx = (nextDX - gestureState.dx) / dt;\n gestureState.vy = (nextDY - gestureState.dy) / dt;\n gestureState.dx = nextDX;\n gestureState.dy = nextDY;\n gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;\n },\n\n /**\n * @param {object} config Enhanced versions of all of the responder callbacks\n * that provide not only the typical `ResponderSyntheticEvent`, but also the\n * `PanResponder` gesture state. Simply replace the word `Responder` with\n * `PanResponder` in each of the typical `onResponder*` callbacks. For\n * example, the `config` object would look like:\n *\n * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onPanResponderReject: (e, gestureState) => {...}`\n * - `onPanResponderGrant: (e, gestureState) => {...}`\n * - `onPanResponderStart: (e, gestureState) => {...}`\n * - `onPanResponderEnd: (e, gestureState) => {...}`\n * - `onPanResponderRelease: (e, gestureState) => {...}`\n * - `onPanResponderMove: (e, gestureState) => {...}`\n * - `onPanResponderTerminate: (e, gestureState) => {...}`\n * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`\n * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`\n *\n * In general, for events that have capture equivalents, we update the\n * gestureState once in the capture phase and can use it in the bubble phase\n * as well.\n *\n * Be careful with onStartShould* callbacks. They only reflect updated\n * `gestureState` for start/end events that bubble/capture to the Node.\n * Once the node is the responder, you can rely on every start/end event\n * being processed by the gesture and `gestureState` being updated\n * accordingly. (numberActiveTouches) may not be totally accurate unless you\n * are the responder.\n */\n create(config) {\n var interactionState = {\n handle: null,\n shouldCancelClick: false,\n timeout: null\n };\n var gestureState = {\n // Useful for debugging\n stateID: Math.random(),\n moveX: 0,\n moveY: 0,\n x0: 0,\n y0: 0,\n dx: 0,\n dy: 0,\n vx: 0,\n vy: 0,\n numberActiveTouches: 0,\n _accountsForMovesUpTo: 0\n };\n var panHandlers = {\n onStartShouldSetResponder(event) {\n return config.onStartShouldSetPanResponder == null ? false : config.onStartShouldSetPanResponder(event, gestureState);\n },\n\n onMoveShouldSetResponder(event) {\n return config.onMoveShouldSetPanResponder == null ? false : config.onMoveShouldSetPanResponder(event, gestureState);\n },\n\n onStartShouldSetResponderCapture(event) {\n // TODO: Actually, we should reinitialize the state any time\n // touches.length increases from 0 active to > 0 active.\n if (event.nativeEvent.touches.length === 1) {\n PanResponder._initializeGestureState(gestureState);\n }\n\n gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches;\n return config.onStartShouldSetPanResponderCapture != null ? config.onStartShouldSetPanResponderCapture(event, gestureState) : false;\n },\n\n onMoveShouldSetResponderCapture(event) {\n var touchHistory = event.touchHistory; // Responder system incorrectly dispatches should* to current responder\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n\n if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {\n return false;\n }\n\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n\n return config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(event, gestureState) : false;\n },\n\n onResponderGrant(event) {\n if (!interactionState.handle) {\n interactionState.handle = InteractionManager.createInteractionHandle();\n }\n\n if (interactionState.timeout) {\n clearInteractionTimeout(interactionState);\n }\n\n interactionState.shouldCancelClick = true;\n gestureState.x0 = currentCentroidX(event.touchHistory);\n gestureState.y0 = currentCentroidY(event.touchHistory);\n gestureState.dx = 0;\n gestureState.dy = 0;\n\n if (config.onPanResponderGrant) {\n config.onPanResponderGrant(event, gestureState);\n } // TODO: t7467124 investigate if this can be removed\n\n\n return config.onShouldBlockNativeResponder == null ? true : config.onShouldBlockNativeResponder(event, gestureState);\n },\n\n onResponderReject(event) {\n clearInteractionHandle(interactionState, config.onPanResponderReject, event, gestureState);\n },\n\n onResponderRelease(event) {\n clearInteractionHandle(interactionState, config.onPanResponderRelease, event, gestureState);\n setInteractionTimeout(interactionState);\n\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderStart(event) {\n var touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n\n if (config.onPanResponderStart) {\n config.onPanResponderStart(event, gestureState);\n }\n },\n\n onResponderMove(event) {\n var touchHistory = event.touchHistory; // Guard against the dispatch of two touch moves when there are two\n // simultaneously changed touches.\n\n if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {\n return;\n } // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n\n\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n\n if (config.onPanResponderMove) {\n config.onPanResponderMove(event, gestureState);\n }\n },\n\n onResponderEnd(event) {\n var touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n clearInteractionHandle(interactionState, config.onPanResponderEnd, event, gestureState);\n },\n\n onResponderTerminate(event) {\n clearInteractionHandle(interactionState, config.onPanResponderTerminate, event, gestureState);\n setInteractionTimeout(interactionState);\n\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderTerminationRequest(event) {\n return config.onPanResponderTerminationRequest == null ? true : config.onPanResponderTerminationRequest(event, gestureState);\n },\n\n // We do not want to trigger 'click' activated gestures or native behaviors\n // on any pan target that is under a mouse cursor when it is released.\n // Browsers will natively cancel 'click' events on a target if a non-mouse\n // active pointer moves.\n onClickCapture: event => {\n if (interactionState.shouldCancelClick === true) {\n event.stopPropagation();\n event.preventDefault();\n }\n }\n };\n return {\n panHandlers,\n\n getInteractionHandle() {\n return interactionState.handle;\n }\n\n };\n }\n\n};\n\nfunction clearInteractionHandle(interactionState, callback, event, gestureState) {\n if (interactionState.handle) {\n InteractionManager.clearInteractionHandle(interactionState.handle);\n interactionState.handle = null;\n }\n\n if (callback) {\n callback(event, gestureState);\n }\n}\n\nfunction clearInteractionTimeout(interactionState) {\n clearTimeout(interactionState.timeout);\n}\n\nfunction setInteractionTimeout(interactionState) {\n interactionState.timeout = setTimeout(() => {\n interactionState.shouldCancelClick = false;\n }, 250);\n}\n\nexport default PanResponder;"],"mappings":"AASA,YAAY;;AAEZ,OAAOA,kBAAkB;AACzB,OAAOC,gBAAgB;AACvB,IAAIC,qCAAqC,GAAGD,gBAAgB,CAACC,qCAAqC;AAClG,IAAIC,qCAAqC,GAAGF,gBAAgB,CAACE,qCAAqC;AAClG,IAAIC,sCAAsC,GAAGH,gBAAgB,CAACG,sCAAsC;AACpG,IAAIC,sCAAsC,GAAGJ,gBAAgB,CAACI,sCAAsC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sBAAsB,CAAC1B,gBAAgB,CAACC,MAAM,CAAC;IAClED,gBAAgB,CAACC,MAAM,GAAG,IAAI;EAChC;EAEA,IAAI4C,QAAQ,EAAE;IACZA,QAAQ,CAACpC,KAAK,EAAEjC,YAAY,CAAC;EAC/B;AACF;AAEA,SAAS8C,uBAAuB,CAACtB,gBAAgB,EAAE;EACjD8C,YAAY,CAAC9C,gBAAgB,CAACG,OAAO,CAAC;AACxC;AAEA,SAAS2B,qBAAqB,CAAC9B,gBAAgB,EAAE;EAC/CA,gBAAgB,CAACG,OAAO,GAAG4C,UAAU,CAAC,YAAM;IAC1C/C,gBAAgB,CAACE,iBAAiB,GAAG,KAAK;EAC5C,CAAC,EAAE,GAAG,CAAC;AACT;AAEA,eAAe5B,YAAY"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/41f4628ad1101f9088df91eaf91c5a97.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/41f4628ad1101f9088df91eaf91c5a97.json new file mode 100644 index 00000000..e65ba5de --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/41f4628ad1101f9088df91eaf91c5a97.json @@ -0,0 +1 @@ +{"ast":null,"code":"import React from \"react\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TopBar() {\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n return _jsx(View, {\n style: {\n width: '100%',\n backgroundColor: '#E9967A',\n alignItems: 'center',\n flexDirection: 'row',\n justifyContent: 'space-evenly',\n marginTop: statusBarHeight\n },\n children: _jsx(Text, {\n style: TopBarStyle.title,\n children: \"La Super M\\xE9t\\xE9o\"\n })\n });\n}\nvar TopBarStyle = StyleSheet.create({\n title: {\n fontSize: 30,\n fontWeigh: 'bold',\n color: '#B6D0E2'\n }\n});","map":{"version":3,"names":["React","useSafeAreaInsets","TopBar","insets","statusBarHeight","top","width","backgroundColor","alignItems","flexDirection","justifyContent","marginTop","TopBarStyle","title","StyleSheet","create","fontSize","fontWeigh","color"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/components/TopBar.tsx"],"sourcesContent":["import React from \"react\"\nimport { View, Text, StyleSheet, Platform } from \"react-native\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\n\nexport function TopBar(){\nconst insets = useSafeAreaInsets();\nconst statusBarHeight = insets.top;\n return (\n \n La Super Météo\n \n );\n}\n\nconst TopBarStyle = StyleSheet.create({\n title : {\n fontSize : 30,\n fontWeigh : 'bold',\n color : '#B6D0E2'\n }\n});\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAAA;AAAA;AAAA;AAEzB,SAASC,iBAAiB,QAAQ,gCAAgC;AAAC;AAEnE,OAAO,SAASC,MAAM,GAAE;EACxB,IAAMC,MAAM,GAAGF,iBAAiB,EAAE;EAClC,IAAMG,eAAe,GAAGD,MAAM,CAACE,GAAG;EAC9B,OACI,KAAC,IAAI;IAAC,KAAK,EAAE;MAACC,KAAK,EAAG,MAAM;MAC5BC,eAAe,EAAG,SAAS;MAC3BC,UAAU,EAAG,QAAQ;MACrBC,aAAa,EAAG,KAAK;MACrBC,cAAc,EAAG,cAAc;MAC/BC,SAAS,EAAGP;IAAe,CAAE;IAAA,UACzB,KAAC,IAAI;MAAC,KAAK,EAAEQ,WAAW,CAACC,KAAM;MAAA,UAAC;IAAc;EAAO,EAClD;AAEf;AAEA,IAAMD,WAAW,GAAGE,UAAU,CAACC,MAAM,CAAC;EAClCF,KAAK,EAAG;IACJG,QAAQ,EAAG,EAAE;IACbC,SAAS,EAAG,MAAM;IAClBC,KAAK,EAAG;EACZ;AACJ,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/43cf32e1d66ecc8392b274c95f263a26.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/43cf32e1d66ecc8392b274c95f263a26.json new file mode 100644 index 00000000..6341ebd6 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/43cf32e1d66ecc8392b274c95f263a26.json @@ -0,0 +1 @@ +{"ast":null,"code":"import AsyncStorage from \"./AsyncStorage\";\nexport function useAsyncStorage(key) {\n return {\n getItem: function getItem() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return AsyncStorage.getItem.apply(AsyncStorage, [key].concat(args));\n },\n setItem: function setItem() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n return AsyncStorage.setItem.apply(AsyncStorage, [key].concat(args));\n },\n mergeItem: function mergeItem() {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n return AsyncStorage.mergeItem.apply(AsyncStorage, [key].concat(args));\n },\n removeItem: function removeItem() {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n return AsyncStorage.removeItem.apply(AsyncStorage, [key].concat(args));\n }\n };\n}","map":{"version":3,"sources":["hooks.ts"],"names":["AsyncStorage","useAsyncStorage","key","getItem","args","setItem","mergeItem","removeItem"],"mappings":"AAAA,OAAOA,YAAP;AAGA,OAAO,SAASC,eAAT,CAAyBC,GAAzB,EAAwD;EAC7D,OAAO;IACLC,OAAO,EAAE,mBAAA;MAAA,KAAA,IAAA,IAAA,GAAA,SAAA,CAAA,MAAA,EAAIC,IAAJ,GAAA,IAAA,KAAA,CAAA,IAAA,CAAA,EAAA,IAAA,GAAA,CAAA,EAAA,IAAA,GAAA,IAAA,EAAA,IAAA,EAAA,EAAA;QAAIA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Ab;IAAA;EAJP,CAAP;AAMD","sourcesContent":["import AsyncStorage from './AsyncStorage';\nimport type { AsyncStorageHook } from './types';\n\nexport function useAsyncStorage(key: string): AsyncStorageHook {\n return {\n getItem: (...args) => AsyncStorage.getItem(key, ...args),\n setItem: (...args) => AsyncStorage.setItem(key, ...args),\n mergeItem: (...args) => AsyncStorage.mergeItem(key, ...args),\n removeItem: (...args) => AsyncStorage.removeItem(key, ...args),\n };\n}\n"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/441331f80e970e1fec07019208fb5c33.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/441331f80e970e1fec07019208fb5c33.json new file mode 100644 index 00000000..54e79290 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/441331f80e970e1fec07019208fb5c33.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { FETCH_FAVORITE_CITY } from \"../constants\";\nexport var setFavoriteCity = function setFavoriteCity(city) {\n return {\n type: FETCH_FAVORITE_CITY,\n payload: city\n };\n};","map":{"version":3,"names":["FETCH_FAVORITE_CITY","setFavoriteCity","city","type","payload"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/setFavoriteCity.ts"],"sourcesContent":["import { City } from '../../data/stub';\nimport {ADD_FAVORITE_CITY, FETCH_FAVORITE_CITY} from '../constants';\n\nexport const setFavoriteCity = (city: City | null) => {\n return {\n type: FETCH_FAVORITE_CITY,\n payload: city,\n };\n}"],"mappings":"AACA,SAA2BA,mBAAmB;AAE9C,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAe,CAAIC,IAAiB,EAAK;EACpD,OAAO;IACLC,IAAI,EAAEH,mBAAmB;IACzBI,OAAO,EAAEF;EACX,CAAC;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4566a55546cdfd106364d28a42a7788e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4566a55546cdfd106364d28a42a7788e.json new file mode 100644 index 00000000..6da6ab8d --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4566a55546cdfd106364d28a42a7788e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import PooledClass from \"../../vendor/react-native/PooledClass\";\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nfunction BoundingDimensions(width, height) {\n this.width = width;\n this.height = height;\n}\nBoundingDimensions.prototype.destructor = function () {\n this.width = null;\n this.height = null;\n};\nBoundingDimensions.getPooledFromElement = function (element) {\n return BoundingDimensions.getPooled(element.offsetWidth, element.offsetHeight);\n};\nPooledClass.addPoolingTo(BoundingDimensions, twoArgumentPooler);\nexport default BoundingDimensions;","map":{"version":3,"names":["PooledClass","twoArgumentPooler","BoundingDimensions","width","height","prototype","destructor","getPooledFromElement","element","getPooled","offsetWidth","offsetHeight","addPoolingTo"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Touchable/BoundingDimensions.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport PooledClass from '../../vendor/react-native/PooledClass';\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\n/**\n * PooledClass representing the bounding rectangle of a region.\n */\n\nfunction BoundingDimensions(width, height) {\n this.width = width;\n this.height = height;\n}\n\nBoundingDimensions.prototype.destructor = function () {\n this.width = null;\n this.height = null;\n};\n\nBoundingDimensions.getPooledFromElement = function (element) {\n return BoundingDimensions.getPooled(element.offsetWidth, element.offsetHeight);\n};\n\nPooledClass.addPoolingTo(BoundingDimensions, twoArgumentPooler);\nexport default BoundingDimensions;"],"mappings":"AASA,OAAOA,WAAW;AAClB,IAAIC,iBAAiB,GAAGD,WAAW,CAACC,iBAAiB;AAKrD,SAASC,kBAAkB,CAACC,KAAK,EAAEC,MAAM,EAAE;EACzC,IAAI,CAACD,KAAK,GAAGA,KAAK;EAClB,IAAI,CAACC,MAAM,GAAGA,MAAM;AACtB;AAEAF,kBAAkB,CAACG,SAAS,CAACC,UAAU,GAAG,YAAY;EACpD,IAAI,CAACH,KAAK,GAAG,IAAI;EACjB,IAAI,CAACC,MAAM,GAAG,IAAI;AACpB,CAAC;AAEDF,kBAAkB,CAACK,oBAAoB,GAAG,UAAUC,OAAO,EAAE;EAC3D,OAAON,kBAAkB,CAACO,SAAS,CAACD,OAAO,CAACE,WAAW,EAAEF,OAAO,CAACG,YAAY,CAAC;AAChF,CAAC;AAEDX,WAAW,CAACY,YAAY,CAACV,kBAAkB,EAAED,iBAAiB,CAAC;AAC/D,eAAeC,kBAAkB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/462b99898173e0b46b67d7daf5a26565.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/462b99898173e0b46b67d7daf5a26565.json new file mode 100644 index 00000000..540773ea --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/462b99898173e0b46b67d7daf5a26565.json @@ -0,0 +1 @@ +{"ast":null,"code":"var LogBox = {\n ignoreLogs: function ignoreLogs() {},\n ignoreAllLogs: function ignoreAllLogs() {},\n uninstall: function uninstall() {},\n install: function install() {}\n};\nexport default LogBox;","map":{"version":3,"names":["LogBox","ignoreLogs","ignoreAllLogs","uninstall","install"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/LogBox/index.js"],"sourcesContent":["/**\n * Copyright (c) 2016-present, Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar LogBox = {\n ignoreLogs() {},\n\n ignoreAllLogs() {},\n\n uninstall() {},\n\n install() {}\n\n};\nexport default LogBox;"],"mappings":"AAQA,IAAIA,MAAM,GAAG;EACXC,UAAU,wBAAG,CAAC,CAAC;EAEfC,aAAa,2BAAG,CAAC,CAAC;EAElBC,SAAS,uBAAG,CAAC,CAAC;EAEdC,OAAO,qBAAG,CAAC;AAEb,CAAC;AACD,eAAeJ,MAAM"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/46ba51126b89c2f4e69cfbb55fceb909.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/46ba51126b89c2f4e69cfbb55fceb909.json new file mode 100644 index 00000000..47752c0e --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/46ba51126b89c2f4e69cfbb55fceb909.json @@ -0,0 +1 @@ +{"ast":null,"code":"export { default as AntDesign } from \"./AntDesign\";\nexport { default as Entypo } from \"./Entypo\";\nexport { default as EvilIcons } from \"./EvilIcons\";\nexport { default as Feather } from \"./Feather\";\nexport { default as Fontisto } from \"./Fontisto\";\nexport { default as FontAwesome } from \"./FontAwesome\";\nexport { default as FontAwesome5 } from \"./FontAwesome5\";\nexport { default as Foundation } from \"./Foundation\";\nexport { default as Ionicons } from \"./Ionicons\";\nexport { default as MaterialCommunityIcons } from \"./MaterialCommunityIcons\";\nexport { default as MaterialIcons } from \"./MaterialIcons\";\nexport { default as Octicons } from \"./Octicons\";\nexport { default as SimpleLineIcons } from \"./SimpleLineIcons\";\nexport { default as Zocial } from \"./Zocial\";\nexport { default as createMultiStyleIconSet } from \"./createMultiStyleIconSet\";\nexport { default as createIconSet } from \"./createIconSet\";\nexport { default as createIconSetFromFontello } from \"./createIconSetFromFontello\";\nexport { default as createIconSetFromIcoMoon } from \"./createIconSetFromIcoMoon\";\nexport { default as createMu } from \"./createIconSetFromIcoMoon\";","map":{"version":3,"sources":["../src/Icons.ts"],"names":[],"mappings":"AAAA,SAAS,OAAO,IAAI,SAAS;AAC7B,SAAS,OAAO,IAAI,MAAM;AAC1B,SAAS,OAAO,IAAI,SAAS;AAC7B,SAAS,OAAO,IAAI,OAAO;AAC3B,SAAS,OAAO,IAAI,QAAQ;AAC5B,SAAS,OAAO,IAAI,WAAW;AAC/B,SAAS,OAAO,IAAI,YAAY;AAChC,SAAS,OAAO,IAAI,UAAU;AAC9B,SAAS,OAAO,IAAI,QAAQ;AAC5B,SAAS,OAAO,IAAI,sBAAsB;AAC1C,SAAS,OAAO,IAAI,aAAa;AACjC,SAAS,OAAO,IAAI,QAAQ;AAC5B,SAAS,OAAO,IAAI,eAAe;AACnC,SAAS,OAAO,IAAI,MAAM;AAC1B,SAAS,OAAO,IAAI,uBAAuB;AAC3C,SAAS,OAAO,IAAI,aAAa;AACjC,SAAS,OAAO,IAAI,yBAAyB;AAC7C,SAAS,OAAO,IAAI,wBAAwB;AAC5C,SAAS,OAAO,IAAI,QAAQ","sourcesContent":["export { default as AntDesign } from \"./AntDesign\";\nexport { default as Entypo } from \"./Entypo\";\nexport { default as EvilIcons } from \"./EvilIcons\";\nexport { default as Feather } from \"./Feather\";\nexport { default as Fontisto } from \"./Fontisto\";\nexport { default as FontAwesome } from \"./FontAwesome\";\nexport { default as FontAwesome5 } from \"./FontAwesome5\";\nexport { default as Foundation } from \"./Foundation\";\nexport { default as Ionicons } from \"./Ionicons\";\nexport { default as MaterialCommunityIcons } from \"./MaterialCommunityIcons\";\nexport { default as MaterialIcons } from \"./MaterialIcons\";\nexport { default as Octicons } from \"./Octicons\";\nexport { default as SimpleLineIcons } from \"./SimpleLineIcons\";\nexport { default as Zocial } from \"./Zocial\";\nexport { default as createMultiStyleIconSet } from \"./createMultiStyleIconSet\";\nexport { default as createIconSet } from \"./createIconSet\";\nexport { default as createIconSetFromFontello } from \"./createIconSetFromFontello\";\nexport { default as createIconSetFromIcoMoon } from \"./createIconSetFromIcoMoon\";\nexport { default as createMu } from \"./createIconSetFromIcoMoon\";\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/478a42a377518ba99ddcc215b6366733.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/478a42a377518ba99ddcc215b6366733.json new file mode 100644 index 00000000..bc5fa428 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/478a42a377518ba99ddcc215b6366733.json @@ -0,0 +1 @@ +{"ast":null,"code":"import URL from 'url-parse';\nexport function getFilename(url) {\n var _URL = new URL(url, {}),\n pathname = _URL.pathname;\n return pathname.substring(pathname.lastIndexOf('/') + 1);\n}\nexport function getFileExtension(url) {\n var filename = getFilename(url);\n var dotIndex = filename.lastIndexOf('.');\n return dotIndex > 0 ? filename.substring(dotIndex) : '';\n}\nexport function getManifestBaseUrl(manifestUrl) {\n var urlObject = new URL(manifestUrl, {});\n if (urlObject.protocol === 'exp:') {\n urlObject.set('protocol', 'http:');\n } else if (urlObject.protocol === 'exps:') {\n urlObject.set('protocol', 'https:');\n }\n var directory = urlObject.pathname.substring(0, urlObject.pathname.lastIndexOf('/') + 1);\n urlObject.set('pathname', directory);\n urlObject.set('query', '');\n urlObject.set('hash', '');\n return urlObject.href;\n}","map":{"version":3,"sources":["../src/AssetUris.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,WAAW;AAE3B,OAAM,SAAU,WAAW,CAAC,GAAW,EAAA;EACrC,WAAqB,IAAI,GAAG,CAAC,GAAG,EAAE,CAAA,CAAE,CAAC;IAA7B,QAAQ,QAAR,QAAQ;EAChB,OAAO,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC1D;AAEA,OAAM,SAAU,gBAAgB,CAAC,GAAW,EAAA;EAC1C,IAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,CAAC;EACjC,IAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC;EAE1C,OAAO,QAAQ,GAAG,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE;AACzD;AAaA,OAAM,SAAU,kBAAkB,CAAC,WAAmB,EAAA;EACpD,IAAM,SAAS,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE,CAAA,CAAE,CAAC;EAG1C,IAAI,SAAS,CAAC,QAAQ,KAAK,MAAM,EAAE;IACjC,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC;GACnC,MAAM,IAAI,SAAS,CAAC,QAAQ,KAAK,OAAO,EAAE;IACzC,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;EACpC;EAGD,IAAM,SAAS,GAAG,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;EAC1F,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,SAAS,CAAC;EACpC,SAAS,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC;EAC1B,SAAS,CAAC,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC;EAEzB,OAAO,SAAS,CAAC,IAAI;AACvB","sourcesContent":["import URL from 'url-parse';\n\nexport function getFilename(url: string): string {\n const { pathname } = new URL(url, {});\n return pathname.substring(pathname.lastIndexOf('/') + 1);\n}\n\nexport function getFileExtension(url: string): string {\n const filename = getFilename(url);\n const dotIndex = filename.lastIndexOf('.');\n // Ignore leading dots for hidden files\n return dotIndex > 0 ? filename.substring(dotIndex) : '';\n}\n\n/**\n * Returns the base URL from a manifest's URL. For example, given a manifest hosted at\n * https://example.com/app/manifest.json, the base URL would be https://example.com/app/. Query\n * parameters and fragments also are removed.\n *\n * For an Expo-hosted project with a manifest hosted at https://exp.host/@user/project/index.exp, the\n * base URL would be https://exp.host/@user/project.\n *\n * We also normalize the \"exp\" protocol to \"http\" to handle internal URLs with the Expo schemes used\n * to tell the OS to open the URLs in the the Expo client.\n */\nexport function getManifestBaseUrl(manifestUrl: string): string {\n const urlObject = new URL(manifestUrl, {});\n\n // Change the scheme to http(s) if it is exp(s)\n if (urlObject.protocol === 'exp:') {\n urlObject.set('protocol', 'http:');\n } else if (urlObject.protocol === 'exps:') {\n urlObject.set('protocol', 'https:');\n }\n\n // Trim filename, query parameters, and fragment, if any\n const directory = urlObject.pathname.substring(0, urlObject.pathname.lastIndexOf('/') + 1);\n urlObject.set('pathname', directory);\n urlObject.set('query', '');\n urlObject.set('hash', '');\n\n return urlObject.href;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4b9e055a0fc2acee19f1c562dd579504.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4b9e055a0fc2acee19f1c562dd579504.json new file mode 100644 index 00000000..18086e32 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4b9e055a0fc2acee19f1c562dd579504.json @@ -0,0 +1 @@ +{"ast":null,"code":"var conversions = require(\"./conversions\");\nfunction buildGraph() {\n var graph = {};\n var models = Object.keys(conversions);\n for (var len = models.length, i = 0; i < len; i++) {\n graph[models[i]] = {\n distance: -1,\n parent: null\n };\n }\n return graph;\n}\nfunction deriveBFS(fromModel) {\n var graph = buildGraph();\n var queue = [fromModel];\n graph[fromModel].distance = 0;\n while (queue.length) {\n var current = queue.pop();\n var adjacents = Object.keys(conversions[current]);\n for (var len = adjacents.length, i = 0; i < len; i++) {\n var adjacent = adjacents[i];\n var node = graph[adjacent];\n if (node.distance === -1) {\n node.distance = graph[current].distance + 1;\n node.parent = current;\n queue.unshift(adjacent);\n }\n }\n }\n return graph;\n}\nfunction link(from, to) {\n return function (args) {\n return to(from(args));\n };\n}\nfunction wrapConversion(toModel, graph) {\n var path = [graph[toModel].parent, toModel];\n var fn = conversions[graph[toModel].parent][toModel];\n var cur = graph[toModel].parent;\n while (graph[cur].parent) {\n path.unshift(graph[cur].parent);\n fn = link(conversions[graph[cur].parent][cur], fn);\n cur = graph[cur].parent;\n }\n fn.conversion = path;\n return fn;\n}\nmodule.exports = function (fromModel) {\n var graph = deriveBFS(fromModel);\n var conversion = {};\n var models = Object.keys(graph);\n for (var len = models.length, i = 0; i < len; i++) {\n var toModel = models[i];\n var node = graph[toModel];\n if (node.parent === null) {\n continue;\n }\n conversion[toModel] = wrapConversion(toModel, graph);\n }\n return conversion;\n};","map":{"version":3,"names":["conversions","require","buildGraph","graph","models","Object","keys","len","length","i","distance","parent","deriveBFS","fromModel","queue","current","pop","adjacents","adjacent","node","unshift","link","from","to","args","wrapConversion","toModel","path","fn","cur","conversion","module","exports"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@react-navigation/stack/node_modules/color-convert/route.js"],"sourcesContent":["const conversions = require('./conversions');\n\n/*\n\tThis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tconst graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tconst models = Object.keys(conversions);\n\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel]; // Unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions[current]);\n\n\t\tfor (let len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions[graph[toModel].parent][toModel];\n\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\n\tconst models = Object.keys(graph);\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tconst toModel = models[i];\n\t\tconst node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// No possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n"],"mappings":"AAAA,IAAMA,WAAW,GAAGC,OAAO,iBAAiB;AAa5C,SAASC,UAAU,GAAG;EACrB,IAAMC,KAAK,GAAG,CAAC,CAAC;EAEhB,IAAMC,MAAM,GAAGC,MAAM,CAACC,IAAI,CAACN,WAAW,CAAC;EAEvC,KAAK,IAAIO,GAAG,GAAGH,MAAM,CAACI,MAAM,EAAEC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,GAAG,EAAEE,CAAC,EAAE,EAAE;IAClDN,KAAK,CAACC,MAAM,CAACK,CAAC,CAAC,CAAC,GAAG;MAGlBC,QAAQ,EAAE,CAAC,CAAC;MACZC,MAAM,EAAE;IACT,CAAC;EACF;EAEA,OAAOR,KAAK;AACb;AAGA,SAASS,SAAS,CAACC,SAAS,EAAE;EAC7B,IAAMV,KAAK,GAAGD,UAAU,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AACf,MAAM;EAC/B,OAAOR,KAAK,CAAC0B,GAAG,CAAC,CAAClB,MAAM,EAAE;IACzBgB,IAAI,CAACP,OAAO,CAACjB,KAAK,CAAC0B,GAAG,CAAC,CAAClB,MAAM,CAAC;IAC/BiB,EAAE,GAAGP,IAAI,CAACrB,WAAW,CAACG,KAAK,CAAC0B,GAAG,CAAC,CAAClB,MAAM,CAAC,CAACkB,GAAG,CAAC,EAAED,EAAE,CAAC;IAClDC,GAAG,GAAG1B,KAAK,CAAC0B,GAAG,CAAC,CAAClB,MAAM;EACxB;EAEAiB,EAAE,CAACE,UAAU,GAAGH,IAAI;EACpB,OAAOC,EAAE;AACV;AAEAG,MAAM,CAACC,OAAO,GAAG,UAAUnB,SAAS,EAAE;EACrC,IAAMV,KAAK,GAAGS,SAAS,CAACC,SAAS,CAAC;EAClC,IAAMiB,UAAU,GAAG,CAAC,CAAC;EAErB,IAAM1B,MAAM,GAAGC,MAAM,CAACC,IAAI,CAACH,KAAK,CAAC;EACjC,KAAK,IAAII,GAAG,GAAGH,MAAM,CAACI,MAAM,EAAEC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,GAAG,EAAEE,CAAC,EAAE,EAAE;IAClD,IAAMiB,OAAO,GAAGtB,MAAM,CAACK,CAAC,CAAC;IACzB,IAAMU,IAAI,GAAGhB,KAAK,CAACuB,OAAO,CAAC;IAE3B,IAAIP,IAAI,CAACR,MAAM,KAAK,IAAI,EAAE;MAEzB;IACD;IAEAmB,UAAU,CAACJ,OAAO,CAAC,GAAGD,cAAc,CAACC,OAAO,EAAEvB,KAAK,CAAC;EACrD;EAEA,OAAO2B,UAAU;AAClB,CAAC"},"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4c33417390015d688aa1651e7a45ba70.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4c33417390015d688aa1651e7a45ba70.json new file mode 100644 index 00000000..7ce0ed00 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4c33417390015d688aa1651e7a45ba70.json @@ -0,0 +1 @@ +{"ast":null,"code":"import StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport deepMap from \"./deep-map\";\nvar validScaleSheetRegex = /^(\\-?\\d+(?:\\.\\d{1,3})?)@(mv?s(\\d+(?:\\.\\d{1,2})?)?|s|vs)r?$/;\nvar scaleByAnnotation = function scaleByAnnotation(scale, verticalScale, moderateScale, moderateVerticalScale) {\n return function (value) {\n if (!validScaleSheetRegex.test(value)) {\n return value;\n }\n var regexExecResult = validScaleSheetRegex.exec(value);\n var size = parseFloat(regexExecResult[1]);\n var scaleFunc = regexExecResult[2];\n var scaleFactor = regexExecResult[3];\n if (scaleFactor) scaleFunc = scaleFunc.slice(0, -scaleFactor.length);\n var shouldRound = value.endsWith('r');\n var result;\n switch (scaleFunc) {\n case 's':\n result = scale(size);\n break;\n case 'vs':\n result = verticalScale(size);\n break;\n case 'ms':\n result = moderateScale(size, scaleFactor);\n break;\n case 'mvs':\n result = moderateVerticalScale(size, scaleFactor);\n break;\n }\n return shouldRound ? Math.round(result) : result;\n };\n};\nvar scaledSheetCreator = function scaledSheetCreator(scale, verticalScale, moderateScale, moderateVerticalScale) {\n var scaleFunc = scaleByAnnotation(scale, verticalScale, moderateScale, moderateVerticalScale);\n return {\n create: function create(styleSheet) {\n return StyleSheet.create(deepMap(styleSheet, scaleFunc));\n }\n };\n};\nexport default scaledSheetCreator;","map":{"version":3,"names":["deepMap","validScaleSheetRegex","scaleByAnnotation","scale","verticalScale","moderateScale","moderateVerticalScale","value","test","regexExecResult","exec","size","parseFloat","scaleFunc","scaleFactor","slice","length","shouldRound","endsWith","result","Math","round","scaledSheetCreator","create","styleSheet","StyleSheet"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-size-matters/lib/ScaledSheet.js"],"sourcesContent":["import { StyleSheet } from 'react-native';\nimport deepMap from './deep-map';\n\n// Groups Size Func Factor\n// 1 2 3\nconst validScaleSheetRegex = /^(\\-?\\d+(?:\\.\\d{1,3})?)@(mv?s(\\d+(?:\\.\\d{1,2})?)?|s|vs)r?$/;\n\nconst scaleByAnnotation = (scale, verticalScale, moderateScale, moderateVerticalScale) => (value) => {\n if (!validScaleSheetRegex.test(value)) {\n return value;\n }\n\n const regexExecResult = validScaleSheetRegex.exec(value);\n\n const size = parseFloat(regexExecResult[1]);\n let scaleFunc = regexExecResult[2];\n const scaleFactor = regexExecResult[3]; // string or undefined\n\n if (scaleFactor)\n scaleFunc = scaleFunc.slice(0, - scaleFactor.length); // Remove the factor from it\n\n const shouldRound = value.endsWith('r');\n\n let result;\n\n switch (scaleFunc) {\n case 's':\n result = scale(size);\n break;\n case 'vs':\n result = verticalScale(size);\n break;\n case 'ms':\n result = moderateScale(size, scaleFactor);\n break;\n case 'mvs':\n result = moderateVerticalScale(size, scaleFactor);\n break;\n }\n\n return shouldRound ? Math.round(result) : result;\n};\n\nconst scaledSheetCreator = (scale, verticalScale, moderateScale, moderateVerticalScale) => {\n const scaleFunc = scaleByAnnotation(scale, verticalScale, moderateScale, moderateVerticalScale);\n return {\n create: styleSheet => StyleSheet.create(deepMap(styleSheet, scaleFunc))\n };\n};\n\nexport default scaledSheetCreator;"],"mappings":";AACA,OAAOA,OAAO;AAId,IAAMC,oBAAoB,GAAG,4DAA4D;AAEzF,IAAMC,iBAAiB,GAAG,SAApBA,iBAAiB,CAAIC,KAAK,EAAEC,aAAa,EAAEC,aAAa,EAAEC,qBAAqB;EAAA,OAAK,UAACC,KAAK,EAAK;IACjG,IAAI,CAACN,oBAAoB,CAACO,IAAI,CAACD,KAAK,CAAC,EAAE;MACnC,OAAOA,KAAK;IAChB;IAEA,IAAME,eAAe,GAAGR,oBAAoB,CAACS,IAAI,CAACH,KAAK,CAAC;IAExD,IAAMI,IAAI,GAAGC,UAAU,CAACH,eAAe,CAAC,CAAC,CAAC,CAAC;IAC3C,IAAII,SAAS,GAAGJ,eAAe,CAAC,CAAC,CAAC;IAClC,IAAMK,WAAW,GAAGL,eAAe,CAAC,CAAC,CAAC;IAEtC,IAAIK,WAAW,EACXD,SAAS,GAAGA,SAAS,CAACE,KAAK,CAAC,CAAC,EAAE,CAAED,WAAW,CAACE,MAAM,CAAC;IAExD,IAAMC,WAAW,GAAGV,KAAK,CAACW,QAAQ,CAAC,GAAG,CAAC;IAEvC,IAAIC,MAAM;IAEV,QAAQN,SAAS;MACb,KAAK,GAAG;QACJM,MAAM,GAAGhB,KAAK,CAACQ,IAAI,CAAC;QACpB;MACJ,KAAK,IAAI;QACLQ,MAAM,GAAGf,aAAa,CAACO,IAAI,CAAC;QAC5B;MACJ,KAAK,IAAI;QACLQ,MAAM,GAAGd,aAAa,CAACM,IAAI,EAAEG,WAAW,CAAC;QACzC;MACJ,KAAK,KAAK;QACNK,MAAM,GAAGb,qBAAqB,CAACK,IAAI,EAAEG,WAAW,CAAC;QACjD;IAAM;IAGd,OAAOG,WAAW,GAAGG,IAAI,CAACC,KAAK,CAACF,MAAM,CAAC,GAAGA,MAAM;EACpD,CAAC;AAAA;AAED,IAAMG,kBAAkB,GAAG,SAArBA,kBAAkB,CAAInB,KAAK,EAAEC,aAAa,EAAEC,aAAa,EAAEC,qBAAqB,EAAK;EACvF,IAAMO,SAAS,GAAGX,iBAAiB,CAACC,KAAK,EAAEC,aAAa,EAAEC,aAAa,EAAEC,qBAAqB,CAAC;EAC/F,OAAO;IACHiB,MAAM,EAAE,gBAAAC,UAAU;MAAA,OAAIC,UAAU,CAACF,MAAM,CAACvB,OAAO,CAACwB,UAAU,EAAEX,SAAS,CAAC,CAAC;IAAA;EAC3E,CAAC;AACL,CAAC;AAED,eAAeS,kBAAkB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4d41e29567a45917414b47fd4c3f7c00.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4d41e29567a45917414b47fd4c3f7c00.json new file mode 100644 index 00000000..fb0efe3a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4d41e29567a45917414b47fd4c3f7c00.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/AntDesign.json\";\nvar iconSet = createIconSet(glyphMap, 'anticon', 'AntDesign.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/AntDesign.js"],"sourcesContent":["/**\n * AntDesign icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/AntDesign.json';\n\nconst iconSet = createIconSet(glyphMap, 'anticon', 'AntDesign.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,SAAS,EAAE,eAAe,CAAC;AAEnE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4e14e7f1c57a7417038008fbf2963d7b.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4e14e7f1c57a7417038008fbf2963d7b.json new file mode 100644 index 00000000..cc0648bd --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4e14e7f1c57a7417038008fbf2963d7b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { City, Weather } from \"../../data/stub\";\nimport { setWeather } from \"./setWeather\";\nexport var getWeather = function getWeather(city) {\n return function () {\n var _ref = _asyncToGenerator(function* (dispatch) {\n try {\n var promise = yield fetch('https://iut-weather-api.azurewebsites.net/weather/city/name/' + city.name);\n var weatherJson = yield promise.json();\n var weather = new Weather(weatherJson[\"at\"], weatherJson[\"visibility\"], weatherJson[\"weatherType\"], weatherJson[\"weatherDescription\"], weatherJson[\"temperature\"], weatherJson[\"temperatureFeelsLike\"], weatherJson[\"humidity\"], weatherJson[\"windSpeed\"], weatherJson[\"pressure\"], new City(weatherJson[\"city\"][\"name\"], weatherJson[\"city\"][\"latitude\"], weatherJson[\"city\"][\"longitude\"]));\n console.log(weather);\n dispatch(setWeather(weather));\n } catch (error) {\n console.log('Error---------', error);\n }\n });\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }();\n};","map":{"version":3,"names":["City","Weather","setWeather","getWeather","city","dispatch","promise","fetch","name","weatherJson","json","weather","console","log","error"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/getWeather.ts"],"sourcesContent":["import { getFavoriteCityStorage } from \"../../asyncStorange/getFavoriteCityStorage\";\nimport { City, Weather } from \"../../data/stub\";\nimport { setFavoriteCity } from \"./setFavoriteCity\";\nimport { setWeather } from \"./setWeather\";\n\nexport const getWeather = (city: City) => {\n return async dispatch => {\n try {\n \n const promise = await fetch('https://iut-weather-api.azurewebsites.net/weather/city/name/'+city.name);\n const weatherJson = await promise.json();\n \n const weather = new Weather(weatherJson[\"at\"], weatherJson[\"visibility\"], weatherJson[\"weatherType\"], weatherJson[\"weatherDescription\"], weatherJson[\"temperature\"], weatherJson[\"temperatureFeelsLike\"], weatherJson[\"humidity\"], weatherJson[\"windSpeed\"], weatherJson[\"pressure\"], new City(weatherJson[\"city\"][\"name\"], weatherJson[\"city\"][\"latitude\"], weatherJson[\"city\"][\"longitude\"]));\n \n console.log(weather)\n dispatch(setWeather(weather));\n\n } catch (error) {\n console.log('Error---------', error);\n //You can dispatch to another action if you want to display an error message in the application\n //dispatch(fetchDataRejected(error))\n }\n }\n }"],"mappings":";AACA,SAASA,IAAI,EAAEC,OAAO;AAEtB,SAASC,UAAU;AAEnB,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAU,CAAIC,IAAU,EAAK;EACtC;IAAA,6BAAO,WAAMC,QAAQ,EAAI;MACvB,IAAI;QAEE,IAAMC,OAAO,SAASC,KAAK,CAAC,8DAA8D,GAACH,IAAI,CAACI,IAAI,CAAC;QACrG,IAAMC,WAAW,SAASH,OAAO,CAACI,IAAI,EAAE;QAExC,IAAMC,OAAO,GAAG,IAAIV,OAAO,CAACQ,WAAW,CAAC,IAAI,CAAC,EAAEA,WAAW,CAAC,YAAY,CAAC,EAAEA,WAAW,CAAC,aAAa,CAAC,EAAEA,WAAW,CAAC,oBAAoB,CAAC,EAAEA,WAAW,CAAC,aAAa,CAAC,EAAEA,WAAW,CAAC,sBAAsB,CAAC,EAAEA,WAAW,CAAC,UAAU,CAAC,EAAEA,WAAW,CAAC,WAAW,CAAC,EAAEA,WAAW,CAAC,UAAU,CAAC,EAAE,IAAIT,IAAI,CAACS,WAAW,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EAAEA,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,EAAEA,WAAW,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;QAE/XG,OAAO,CAACC,GAAG,CAACF,OAAO,CAAC;QACpBN,QAAQ,CAACH,UAAU,CAACS,OAAO,CAAC,CAAC;MAEnC,CAAC,CAAC,OAAOG,KAAK,EAAE;QACdF,OAAO,CAACC,GAAG,CAAC,gBAAgB,EAAEC,KAAK,CAAC;MAGtC;IACF,CAAC;IAAA;MAAA;IAAA;EAAA;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/4e4aa8c0097680279e817d3e310227c9.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/4e4aa8c0097680279e817d3e310227c9.json new file mode 100644 index 00000000..48d13267 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/4e4aa8c0097680279e817d3e310227c9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport * as Font from \"expo-font\";\nimport React from \"react\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport createIconSet from \"./vendor/react-native-vector-icons/lib/create-icon-set\";\nimport createIconButtonComponent from \"./vendor/react-native-vector-icons/lib/icon-button\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport { DEFAULT_ICON_COLOR, DEFAULT_ICON_SIZE } from \"./vendor/react-native-vector-icons/lib/create-icon-set\";\nexport default function (glyphMap, fontName, expoAssetId, fontStyle) {\n var _a;\n var font = _defineProperty({}, fontName, expoAssetId);\n var RNVIconComponent = createIconSet(glyphMap, fontName, null, fontStyle);\n return _a = function (_React$Component) {\n _inherits(Icon, _React$Component);\n var _super = _createSuper(Icon);\n function Icon() {\n var _this;\n _classCallCheck(this, Icon);\n _this = _super.apply(this, arguments);\n _this._mounted = false;\n _this.state = {\n fontIsLoaded: Font.isLoaded(fontName)\n };\n return _this;\n }\n _createClass(Icon, [{\n key: \"componentDidMount\",\n value: function () {\n var _componentDidMount = _asyncToGenerator(function* () {\n this._mounted = true;\n if (!this.state.fontIsLoaded) {\n yield Font.loadAsync(font);\n this._mounted && this.setState({\n fontIsLoaded: true\n });\n }\n });\n function componentDidMount() {\n return _componentDidMount.apply(this, arguments);\n }\n return componentDidMount;\n }()\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this._mounted = false;\n }\n }, {\n key: \"setNativeProps\",\n value: function setNativeProps(props) {\n if (this._icon) {\n this._icon.setNativeProps(props);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n if (__DEV__ && this.props.name && !(this.props.name in glyphMap)) {\n console.warn(\"\\\"\" + this.props.name + \"\\\" is not a valid icon name for family \\\"\" + fontName + \"\\\"\");\n }\n if (!this.state.fontIsLoaded) {\n return _jsx(Text, {});\n }\n return _jsx(RNVIconComponent, _objectSpread({\n ref: function ref(view) {\n _this2._icon = view;\n }\n }, this.props));\n }\n }]);\n return Icon;\n }(React.Component), _a.defaultProps = RNVIconComponent.defaultProps, _a.Button = createIconButtonComponent(_a), _a.glyphMap = glyphMap, _a.getRawGlyphMap = function () {\n return glyphMap;\n }, _a.getFontFamily = function () {\n return fontName;\n }, _a.loadFont = function () {\n return Font.loadAsync(font);\n }, _a.font = font, _a;\n}","map":{"version":3,"sources":["../src/createIconSet.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,IAAI,MAAM,WAAW;AACjC,OAAO,KAAyB,MAAM,OAAO;AAAC;AAW9C,OAAO,aAAa;AACpB,OAAO,yBAAyB;AAA2D;AAE3F,SACE,kBAAkB,EAClB,iBAAiB;AAqFnB,eAAc,UACZ,QAAqB,EACrB,QAAY,EACZ,WAAW,EACX,SAAe,EAAA;;EAEf,IAAM,IAAI,uBAAM,QAAQ,EAAG,WAAW,CAAE;EACxC,IAAM,gBAAgB,GAAG,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC;EAE3E,OAAA,EAAA;IAAA;IAAA;IAAO,gBAAA;MAAA;MAAA;;MASL,MAAA,QAAQ,GAAG,KAAK;MAGhB,MAAA,KAAK,GAAG;QACN,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ;OACrC;MAAC;IAwCJ;IAAC;MAAA;MAAA;QAAA,2CAtCC,aAAuB;UACrB,IAAI,CAAC,QAAQ,GAAG,IAAI;UACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;YAC5B,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;YAC1B,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;cAAE,YAAY,EAAE;YAAI,CAAE,CAAC;UACvD;QACH,CAAC;QAAA;UAAA;QAAA;QAAA;MAAA;IAAA;MAAA;MAAA,OAED,gCAAoB;QAClB,IAAI,CAAC,QAAQ,GAAG,KAAK;MACvB;IAAC;MAAA;MAAA,OAED,wBAAe,KAAK,EAAA;QAClB,IAAI,IAAI,CAAC,KAAK,EAAE;UACd,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC;QACjC;MACH;IAAC;MAAA;MAAA,OAED,kBAAM;QAAA;QACJ,IAAI,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,EAAE;UAChE,OAAO,CAAC,IAAI,QACN,IAAI,CAAC,KAAK,CAAC,IAAI,iDAA0C,QAAQ,QACtE;QACF;QAED,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;UAC5B,OAAO,KAAC,IAAI,KAAG;QAChB;QAED,OACE,KAAC,gBAAgB;UACf,GAAG,EAAE,aAAC,IAAI,EAAI;YACZ,MAAI,CAAC,KAAK,GAAG,IAAI;UACnB;QAAE,GACE,IAAI,CAAC,KAAK,EACd;MAEN;IAAC;IAAA;EAAA,EArDuB,KAAK,CAAC,SAAuB,CAsDtD,EArDQ,EAAA,CAAA,YAAY,GAAG,gBAAgB,CAAC,YAAa,EAC7C,EAAA,CAAA,MAAM,GAAG,yBAAyB,CAAC,EAAI,CAAE,EACzC,EAAA,CAAA,QAAQ,GAAG,QAAS,EACpB,EAAA,CAAA,cAAc,GAAG;IAAA,OAAM,QAAS;EAAA,GAChC,EAAA,CAAA,aAAa,GAAG;IAAA,OAAM,QAAS;EAAA,GAC/B,EAAA,CAAA,QAAQ,GAAG;IAAA,OAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAE;EAAA,GACtC,EAAA,CAAA,IAAI,GAAG,IAAK,E,EA+CnB;AACJ","sourcesContent":["import * as Font from \"expo-font\";\nimport React, { ComponentClass } from \"react\";\nimport {\n Text,\n TextProps,\n TouchableHighlightProps,\n ViewProps,\n OpaqueColorValue,\n TextStyle,\n ViewStyle,\n} from \"react-native\";\n\nimport createIconSet from \"./vendor/react-native-vector-icons/lib/create-icon-set\";\nimport createIconButtonComponent from \"./vendor/react-native-vector-icons/lib/icon-button\";\n\nexport {\n DEFAULT_ICON_COLOR,\n DEFAULT_ICON_SIZE,\n} from \"./vendor/react-native-vector-icons/lib/create-icon-set\";\n\nexport interface IconProps extends TextProps {\n /**\n * Size of the icon, can also be passed as fontSize in the style object.\n *\n * @default 12\n */\n size?: number;\n\n /**\n * Name of the icon to show\n *\n * See Icon Explorer app\n * {@link https://expo.github.io/vector-icons/}\n */\n name: GLYPHS;\n\n /**\n * Color of the icon. Can be a string or OpaqueColorValue (returned from\n * PlatformColor(..))\n *\n */\n color?: string | OpaqueColorValue;\n}\n\nexport interface IconButtonProps\n extends IconProps,\n ViewProps,\n TouchableHighlightProps {\n /**\n * Text and icon color\n * Use iconStyle or nest a Text component if you need different colors.\n * Can be a string or OpaqueColorValue (returned from PlatformColor(..))\n *\n * @default 'white'\n */\n color?: string | OpaqueColorValue;\n\n /**\n * Border radius of the button\n * Set to 0 to disable.\n *\n * @default 5\n */\n borderRadius?: number;\n\n /**\n * Styles applied to the icon only\n * Good for setting margins or a different color.\n *\n * @default {marginRight: 10}\n */\n iconStyle?: TextStyle;\n\n /**\n * Style prop inherited from TextProps and TouchableWithoutFeedbackProperties\n * Only exist here so we can have ViewStyle or TextStyle\n *\n */\n style?: ViewStyle | TextStyle;\n\n /**\n * Background color of the button. Can be a string or OpaqueColorValue (returned from\n * PlatformColor(..))\n *\n * @default '#007AFF'\n */\n backgroundColor?: string | OpaqueColorValue;\n}\n\nexport type GlyphMap = { [K in G]: number | string };\n\nexport interface Icon {\n defaultProps: any;\n Button: ComponentClass>;\n glyphMap: GlyphMap;\n getRawGlyphMap: () => GlyphMap;\n getFontFamily: () => FN;\n loadFont: () => Promise;\n font: { [x: string]: any };\n new (props: IconProps): React.Component>;\n}\n\nexport default function (\n glyphMap: GlyphMap,\n fontName: FN,\n expoAssetId,\n fontStyle?: any\n): Icon {\n const font = { [fontName]: expoAssetId };\n const RNVIconComponent = createIconSet(glyphMap, fontName, null, fontStyle);\n\n return class Icon extends React.Component> {\n static defaultProps = RNVIconComponent.defaultProps;\n static Button = createIconButtonComponent(Icon);\n static glyphMap = glyphMap;\n static getRawGlyphMap = () => glyphMap;\n static getFontFamily = () => fontName;\n static loadFont = () => Font.loadAsync(font);\n static font = font;\n\n _mounted = false;\n _icon?: any;\n\n state = {\n fontIsLoaded: Font.isLoaded(fontName),\n };\n\n async componentDidMount() {\n this._mounted = true;\n if (!this.state.fontIsLoaded) {\n await Font.loadAsync(font);\n this._mounted && this.setState({ fontIsLoaded: true });\n }\n }\n\n componentWillUnmount() {\n this._mounted = false;\n }\n\n setNativeProps(props) {\n if (this._icon) {\n this._icon.setNativeProps(props);\n }\n }\n\n render() {\n if (__DEV__ && this.props.name && !(this.props.name in glyphMap)) {\n console.warn(\n `\"${this.props.name}\" is not a valid icon name for family \"${fontName}\"`\n );\n }\n\n if (!this.state.fontIsLoaded) {\n return ;\n }\n\n return (\n {\n this._icon = view;\n }}\n {...this.props}\n />\n );\n }\n };\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/513e109dba1dd3772e7c735869fb1519.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/513e109dba1dd3772e7c735869fb1519.json new file mode 100644 index 00000000..faee58a7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/513e109dba1dd3772e7c735869fb1519.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./create-icon-set\";\nexport default function createIconSetFromFontello(config, fontFamilyArg, fontFile) {\n var glyphMap = {};\n config.glyphs.forEach(function (glyph) {\n glyphMap[glyph.css] = glyph.code;\n });\n var fontFamily = fontFamilyArg || config.name || 'fontello';\n return createIconSet(glyphMap, fontFamily, fontFile || fontFamily + \".ttf\");\n}","map":{"version":3,"names":["createIconSet","createIconSetFromFontello","config","fontFamilyArg","fontFile","glyphMap","glyphs","forEach","glyph","css","code","fontFamily","name"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set-from-fontello.js"],"sourcesContent":["import createIconSet from './create-icon-set';\n\nexport default function createIconSetFromFontello(\n config,\n fontFamilyArg,\n fontFile\n) {\n const glyphMap = {};\n config.glyphs.forEach(glyph => {\n glyphMap[glyph.css] = glyph.code;\n });\n\n const fontFamily = fontFamilyArg || config.name || 'fontello';\n\n return createIconSet(glyphMap, fontFamily, fontFile || `${fontFamily}.ttf`);\n}\n"],"mappings":"AAAA,OAAOA,aAAa;AAEpB,eAAe,SAASC,yBAAyB,CAC/CC,MAAM,EACNC,aAAa,EACbC,QAAQ,EACR;EACA,IAAMC,QAAQ,GAAG,CAAC,CAAC;EACnBH,MAAM,CAACI,MAAM,CAACC,OAAO,CAAC,UAAAC,KAAK,EAAI;IAC7BH,QAAQ,CAACG,KAAK,CAACC,GAAG,CAAC,GAAGD,KAAK,CAACE,IAAI;EAClC,CAAC,CAAC;EAEF,IAAMC,UAAU,GAAGR,aAAa,IAAID,MAAM,CAACU,IAAI,IAAI,UAAU;EAE7D,OAAOZ,aAAa,CAACK,QAAQ,EAAEM,UAAU,EAAEP,QAAQ,IAAOO,UAAU,SAAM,CAAC;AAC7E"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/52ecc8fe5168e7a444cd9cf42a8d6825.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/52ecc8fe5168e7a444cd9cf42a8d6825.json new file mode 100644 index 00000000..1e5c6248 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/52ecc8fe5168e7a444cd9cf42a8d6825.json @@ -0,0 +1 @@ +{"ast":null,"code":"var deepMap = function deepMap(obj, fn) {\n var deepMapper = function deepMapper(val) {\n return isObject(val) ? deepMap(val, fn) : fn(val);\n };\n if (Array.isArray(obj)) {\n return obj.map(deepMapper);\n }\n if (isObject(obj)) {\n return mapObject(obj, deepMapper);\n }\n return obj;\n};\nvar mapObject = function mapObject(obj, fn) {\n return Object.keys(obj).reduce(function (res, key) {\n res[key] = fn(obj[key]);\n return res;\n }, {});\n};\nvar isObject = function isObject(myVar) {\n return myVar && typeof myVar === 'object';\n};\nexport default deepMap;","map":{"version":3,"names":["deepMap","obj","fn","deepMapper","val","isObject","Array","isArray","map","mapObject","Object","keys","reduce","res","key","myVar"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-size-matters/lib/deep-map.js"],"sourcesContent":["const deepMap = (obj, fn) => {\n const deepMapper = val => (isObject(val)) ? deepMap(val, fn) : fn(val);\n if (Array.isArray(obj)) {\n return obj.map(deepMapper);\n }\n if (isObject(obj)) {\n return mapObject(obj, deepMapper);\n }\n return obj;\n};\n\nconst mapObject = (obj, fn) => Object.keys(obj).reduce(\n (res, key) => {\n res[key] = fn(obj[key]);\n return res;\n }, {});\n\nconst isObject = myVar => myVar && typeof myVar === 'object';\n\nexport default deepMap;\n"],"mappings":"AAAA,IAAMA,OAAO,GAAG,SAAVA,OAAO,CAAIC,GAAG,EAAEC,EAAE,EAAK;EACzB,IAAMC,UAAU,GAAG,SAAbA,UAAU,CAAGC,GAAG;IAAA,OAAKC,QAAQ,CAACD,GAAG,CAAC,GAAIJ,OAAO,CAACI,GAAG,EAAEF,EAAE,CAAC,GAAGA,EAAE,CAACE,GAAG,CAAC;EAAA;EACtE,IAAIE,KAAK,CAACC,OAAO,CAACN,GAAG,CAAC,EAAE;IACpB,OAAOA,GAAG,CAACO,GAAG,CAACL,UAAU,CAAC;EAC9B;EACA,IAAIE,QAAQ,CAACJ,GAAG,CAAC,EAAE;IACf,OAAOQ,SAAS,CAACR,GAAG,EAAEE,UAAU,CAAC;EACrC;EACA,OAAOF,GAAG;AACd,CAAC;AAED,IAAMQ,SAAS,GAAG,SAAZA,SAAS,CAAIR,GAAG,EAAEC,EAAE;EAAA,OAAKQ,MAAM,CAACC,IAAI,CAACV,GAAG,CAAC,CAACW,MAAM,CAClD,UAACC,GAAG,EAAEC,GAAG,EAAK;IACVD,GAAG,CAACC,GAAG,CAAC,GAAGZ,EAAE,CAACD,GAAG,CAACa,GAAG,CAAC,CAAC;IACvB,OAAOD,GAAG;EACd,CAAC,EAAE,CAAC,CAAC,CAAC;AAAA;AAEV,IAAMR,QAAQ,GAAG,SAAXA,QAAQ,CAAGU,KAAK;EAAA,OAAIA,KAAK,IAAI,OAAOA,KAAK,KAAK,QAAQ;AAAA;AAE5D,eAAef,OAAO"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/53a673449c5a216d9e1ec006e811b5ef.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/53a673449c5a216d9e1ec006e811b5ef.json new file mode 100644 index 00000000..1a37fbc9 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/53a673449c5a216d9e1ec006e811b5ef.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/FontAwesome.json\";\nvar iconSet = createIconSet(glyphMap, 'FontAwesome', 'FontAwesome.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/FontAwesome.js"],"sourcesContent":["/**\n * FontAwesome icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/FontAwesome.json';\n\nconst iconSet = createIconSet(glyphMap, 'FontAwesome', 'FontAwesome.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,aAAa,EAAE,iBAAiB,CAAC;AAEzE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/53c30023b53dfef24f6f7d05b1684239.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/53c30023b53dfef24f6f7d05b1684239.json new file mode 100644 index 00000000..bd5cad20 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/53c30023b53dfef24f6f7d05b1684239.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"name\", \"size\", \"color\", \"style\", \"children\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport React, { PureComponent } from 'react';\nimport NativeModules from \"react-native-web/dist/exports/NativeModules\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport PixelRatio from \"react-native-web/dist/exports/PixelRatio\";\nimport processColor from \"react-native-web/dist/exports/processColor\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport ensureNativeModuleAvailable from \"./ensure-native-module-available\";\nimport createIconSourceCache from \"./create-icon-source-cache\";\nimport createIconButtonComponent from \"./icon-button\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport var NativeIconAPI = NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\nexport var DEFAULT_ICON_SIZE = 12;\nexport var DEFAULT_ICON_COLOR = 'black';\nexport default function createIconSet(glyphMap, fontFamily, fontFile, fontStyle) {\n var fontBasename = fontFile ? fontFile.replace(/\\.(otf|ttf)$/, '') : fontFamily;\n var fontReference = Platform.select({\n windows: \"/Assets/\" + fontFile + \"#\" + fontFamily,\n android: fontBasename,\n web: fontBasename,\n default: fontFamily\n });\n var Icon = function (_PureComponent) {\n _inherits(Icon, _PureComponent);\n var _super = _createSuper(Icon);\n function Icon() {\n var _this;\n _classCallCheck(this, Icon);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.root = null;\n _this.handleRef = function (ref) {\n _this.root = ref;\n };\n return _this;\n }\n _createClass(Icon, [{\n key: \"setNativeProps\",\n value: function setNativeProps(nativeProps) {\n if (this.root) {\n this.root.setNativeProps(nativeProps);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n name = _this$props.name,\n size = _this$props.size,\n color = _this$props.color,\n style = _this$props.style,\n children = _this$props.children,\n props = _objectWithoutProperties(_this$props, _excluded);\n var glyph = name ? glyphMap[name] || '?' : '';\n if (typeof glyph === 'number') {\n glyph = String.fromCodePoint(glyph);\n }\n var styleDefaults = {\n fontSize: size,\n color: color\n };\n var styleOverrides = {\n fontFamily: fontReference,\n fontWeight: 'normal',\n fontStyle: 'normal'\n };\n props.style = [styleDefaults, style, styleOverrides, fontStyle || {}];\n props.ref = this.handleRef;\n return _jsxs(Text, _objectSpread(_objectSpread({\n selectable: false\n }, props), {}, {\n children: [glyph, children]\n }));\n }\n }]);\n return Icon;\n }(PureComponent);\n Icon.defaultProps = {\n size: DEFAULT_ICON_SIZE,\n allowFontScaling: false\n };\n var imageSourceCache = createIconSourceCache();\n function resolveGlyph(name) {\n var glyph = glyphMap[name] || '?';\n if (typeof glyph === 'number') {\n return String.fromCodePoint(glyph);\n }\n return glyph;\n }\n function getImageSourceSync(name) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_ICON_SIZE;\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_ICON_COLOR;\n ensureNativeModuleAvailable();\n var glyph = resolveGlyph(name);\n var processedColor = processColor(color);\n var cacheKey = glyph + \":\" + size + \":\" + processedColor;\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n var imagePath = NativeIconAPI.getImageForFontSync(fontReference, glyph, size, processedColor);\n var value = {\n uri: imagePath,\n scale: PixelRatio.get()\n };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n }\n function getImageSource(_x) {\n return _getImageSource.apply(this, arguments);\n }\n function _getImageSource() {\n _getImageSource = _asyncToGenerator(function* (name) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_ICON_SIZE;\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_ICON_COLOR;\n ensureNativeModuleAvailable();\n var glyph = resolveGlyph(name);\n var processedColor = processColor(color);\n var cacheKey = glyph + \":\" + size + \":\" + processedColor;\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n var imagePath = yield NativeIconAPI.getImageForFont(fontReference, glyph, size, processedColor);\n var value = {\n uri: imagePath,\n scale: PixelRatio.get()\n };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n });\n return _getImageSource.apply(this, arguments);\n }\n function loadFont() {\n return _loadFont.apply(this, arguments);\n }\n function _loadFont() {\n _loadFont = _asyncToGenerator(function* () {\n var file = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : fontFile;\n if (Platform.OS === 'ios') {\n ensureNativeModuleAvailable();\n if (!file) {\n throw new Error('Unable to load font, because no file was specified. ');\n }\n yield NativeIconAPI.loadFontWithFileName.apply(NativeIconAPI, _toConsumableArray(file.split('.')));\n }\n });\n return _loadFont.apply(this, arguments);\n }\n function hasIcon(name) {\n return Object.prototype.hasOwnProperty.call(glyphMap, name);\n }\n function getRawGlyphMap() {\n return glyphMap;\n }\n function getFontFamily() {\n return fontReference;\n }\n Icon.Button = createIconButtonComponent(Icon);\n Icon.getImageSource = getImageSource;\n Icon.getImageSourceSync = getImageSourceSync;\n Icon.loadFont = loadFont;\n Icon.hasIcon = hasIcon;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.getFontFamily = getFontFamily;\n return Icon;\n}","map":{"version":3,"names":["React","PureComponent","ensureNativeModuleAvailable","createIconSourceCache","createIconButtonComponent","NativeIconAPI","NativeModules","RNVectorIconsManager","RNVectorIconsModule","DEFAULT_ICON_SIZE","DEFAULT_ICON_COLOR","createIconSet","glyphMap","fontFamily","fontFile","fontStyle","fontBasename","replace","fontReference","Platform","select","windows","android","web","default","Icon","root","handleRef","ref","nativeProps","setNativeProps","props","name","size","color","style","children","glyph","String","fromCodePoint","styleDefaults","fontSize","styleOverrides","fontWeight","defaultProps","allowFontScaling","imageSourceCache","resolveGlyph","getImageSourceSync","processedColor","processColor","cacheKey","has","get","imagePath","getImageForFontSync","value","uri","scale","PixelRatio","setValue","error","setError","getImageSource","getImageForFont","loadFont","file","OS","Error","loadFontWithFileName","split","hasIcon","Object","prototype","hasOwnProperty","call","getRawGlyphMap","getFontFamily","Button"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set.js"],"sourcesContent":["import React, { PureComponent } from 'react';\nimport {\n NativeModules,\n Platform,\n PixelRatio,\n processColor,\n Text,\n} from 'react-native';\n\nimport ensureNativeModuleAvailable from './ensure-native-module-available';\nimport createIconSourceCache from './create-icon-source-cache';\nimport createIconButtonComponent from './icon-button';\n\nexport const NativeIconAPI =\n NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport const DEFAULT_ICON_SIZE = 12;\nexport const DEFAULT_ICON_COLOR = 'black';\n\nexport default function createIconSet(\n glyphMap,\n fontFamily,\n fontFile,\n fontStyle\n) {\n // Android doesn't care about actual fontFamily name, it will only look in fonts folder.\n const fontBasename = fontFile\n ? fontFile.replace(/\\.(otf|ttf)$/, '')\n : fontFamily;\n\n const fontReference = Platform.select({\n windows: `/Assets/${fontFile}#${fontFamily}`,\n android: fontBasename,\n web: fontBasename,\n default: fontFamily,\n });\n\n class Icon extends PureComponent {\n root = null;\n\n static defaultProps = {\n size: DEFAULT_ICON_SIZE,\n allowFontScaling: false,\n };\n\n setNativeProps(nativeProps) {\n if (this.root) {\n this.root.setNativeProps(nativeProps);\n }\n }\n\n handleRef = ref => {\n this.root = ref;\n };\n\n render() {\n const { name, size, color, style, children, ...props } = this.props;\n\n let glyph = name ? glyphMap[name] || '?' : '';\n if (typeof glyph === 'number') {\n glyph = String.fromCodePoint(glyph);\n }\n\n const styleDefaults = {\n fontSize: size,\n color,\n };\n\n const styleOverrides = {\n fontFamily: fontReference,\n fontWeight: 'normal',\n fontStyle: 'normal',\n };\n\n props.style = [styleDefaults, style, styleOverrides, fontStyle || {}];\n props.ref = this.handleRef;\n\n return (\n \n {glyph}\n {children}\n \n );\n }\n }\n\n const imageSourceCache = createIconSourceCache();\n\n function resolveGlyph(name) {\n const glyph = glyphMap[name] || '?';\n if (typeof glyph === 'number') {\n return String.fromCodePoint(glyph);\n }\n return glyph;\n }\n\n function getImageSourceSync(\n name,\n size = DEFAULT_ICON_SIZE,\n color = DEFAULT_ICON_COLOR\n ) {\n ensureNativeModuleAvailable();\n\n const glyph = resolveGlyph(name);\n const processedColor = processColor(color);\n const cacheKey = `${glyph}:${size}:${processedColor}`;\n\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n const imagePath = NativeIconAPI.getImageForFontSync(\n fontReference,\n glyph,\n size,\n processedColor\n );\n const value = { uri: imagePath, scale: PixelRatio.get() };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n }\n\n async function getImageSource(\n name,\n size = DEFAULT_ICON_SIZE,\n color = DEFAULT_ICON_COLOR\n ) {\n ensureNativeModuleAvailable();\n\n const glyph = resolveGlyph(name);\n const processedColor = processColor(color);\n const cacheKey = `${glyph}:${size}:${processedColor}`;\n\n if (imageSourceCache.has(cacheKey)) {\n return imageSourceCache.get(cacheKey);\n }\n try {\n const imagePath = await NativeIconAPI.getImageForFont(\n fontReference,\n glyph,\n size,\n processedColor\n );\n const value = { uri: imagePath, scale: PixelRatio.get() };\n imageSourceCache.setValue(cacheKey, value);\n return value;\n } catch (error) {\n imageSourceCache.setError(cacheKey, error);\n throw error;\n }\n }\n\n async function loadFont(file = fontFile) {\n if (Platform.OS === 'ios') {\n ensureNativeModuleAvailable();\n if (!file) {\n throw new Error('Unable to load font, because no file was specified. ');\n }\n await NativeIconAPI.loadFontWithFileName(...file.split('.'));\n }\n }\n\n function hasIcon(name) {\n return Object.prototype.hasOwnProperty.call(glyphMap, name);\n }\n\n function getRawGlyphMap() {\n return glyphMap;\n }\n\n function getFontFamily() {\n return fontReference;\n }\n\n Icon.Button = createIconButtonComponent(Icon);\n Icon.getImageSource = getImageSource;\n Icon.getImageSourceSync = getImageSourceSync;\n Icon.loadFont = loadFont;\n Icon.hasIcon = hasIcon;\n Icon.getRawGlyphMap = getRawGlyphMap;\n Icon.getFontFamily = getFontFamily;\n\n return Icon;\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAAC;AAAA;AAAA;AAAA;AAAA;AAS7C,OAAOC,2BAA2B;AAClC,OAAOC,qBAAqB;AAC5B,OAAOC,yBAAyB;AAAsB;AAEtD,OAAO,IAAMC,aAAa,GACxBC,aAAa,CAACC,oBAAoB,IAAID,aAAa,CAACE,mBAAmB;AAEzE,OAAO,IAAMC,iBAAiB,GAAG,EAAE;AACnC,OAAO,IAAMC,kBAAkB,GAAG,OAAO;AAEzC,eAAe,SAASC,aAAa,CACnCC,QAAQ,EACRC,UAAU,EACVC,QAAQ,E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AAA;EAAA,SAEcI,QAAQ;IAAA;EAAA;EAAA;IAAA,8BAAvB,aAAyC;MAAA,IAAjBC,IAAI,uEAAGpD,QAAQ;MACrC,IAAIK,QAAQ,CAACgD,EAAE,KAAK,KAAK,EAAE;QACzBjE,2BAA2B,EAAE;QAC7B,IAAI,CAACgE,IAAI,EAAE;UACT,MAAM,IAAIE,KAAK,CAAC,sDAAsD,CAAC;QACzE;QACA,MAAM/D,aAAa,CAACgE,oBAAoB,OAAlChE,aAAa,qBAAyB6D,IAAI,CAACI,KAAK,CAAC,GAAG,CAAC,EAAC;MAC9D;IACF,CAAC;IAAA;EAAA;EAED,SAASC,OAAO,CAACvC,IAAI,EAAE;IACrB,OAAOwC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAAC/D,QAAQ,EAAEoB,IAAI,CAAC;EAC7D;EAEA,SAAS4C,cAAc,GAAG;IACxB,OAAOhE,QAAQ;EACjB;EAEA,SAASiE,aAAa,GAAG;IACvB,OAAO3D,aAAa;EACtB;EAEAO,IAAI,CAACqD,MAAM,GAAG1E,yBAAyB,CAACqB,IAAI,CAAC;EAC7CA,IAAI,CAACsC,cAAc,GAAGA,cAAc;EACpCtC,IAAI,CAACuB,kBAAkB,GAAGA,kBAAkB;EAC5CvB,IAAI,CAACwC,QAAQ,GAAGA,QAAQ;EACxBxC,IAAI,CAAC8C,OAAO,GAAGA,OAAO;EACtB9C,IAAI,CAACmD,cAAc,GAAGA,cAAc;EACpCnD,IAAI,CAACoD,aAAa,GAAGA,aAAa;EAElC,OAAOpD,IAAI;AACb"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/5476a3d50d83a77622c10858402e23d3.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/5476a3d50d83a77622c10858402e23d3.json new file mode 100644 index 00000000..0be80dec --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/5476a3d50d83a77622c10858402e23d3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nexport var getFavoriteCityStorage = function () {\n var _ref = _asyncToGenerator(function* () {\n try {\n var cityJson = yield AsyncStorage.getItem('favorite_city');\n return cityJson != null ? JSON.parse(cityJson) : null;\n } catch (e) {\n console.log(\"An error occurred\", e);\n }\n });\n return function getFavoriteCityStorage() {\n return _ref.apply(this, arguments);\n };\n}();","map":{"version":3,"names":["AsyncStorage","getFavoriteCityStorage","cityJson","getItem","JSON","parse","e","console","log"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/asyncStorange/getFavoriteCityStorage.ts"],"sourcesContent":["import AsyncStorage from '@react-native-async-storage/async-storage';\nimport { City } from '../data/stub';\nimport {FETCH_FAVORITE_CITY} from '../redux/constants';\n\nexport const getFavoriteCityStorage = async () => {\n try {\n const cityJson = await AsyncStorage.getItem('favorite_city')\n return cityJson != null ? JSON.parse(cityJson) : null;\n } catch(e) {\n console.log(\"An error occurred\", e);\n }\n}"],"mappings":";AAAA,OAAOA,YAAY,MAAM,2CAA2C;AAIpE,OAAO,IAAMC,sBAAsB;EAAA,6BAAG,aAAY;IAChD,IAAI;MACF,IAAMC,QAAQ,SAASF,YAAY,CAACG,OAAO,CAAC,eAAe,CAAC;MAC5D,OAAOD,QAAQ,IAAI,IAAI,GAAGE,IAAI,CAACC,KAAK,CAACH,QAAQ,CAAC,GAAG,IAAI;IACvD,CAAC,CAAC,OAAMI,CAAC,EAAE;MACTC,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEF,CAAC,CAAC;IACrC;EACF,CAAC;EAAA,gBAPYL,sBAAsB;IAAA;EAAA;AAAA,GAOlC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/575ef9db3f9db8cf35db201e92f2298f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/575ef9db3f9db8cf35db201e92f2298f.json new file mode 100644 index 00000000..bfd498f0 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/575ef9db3f9db8cf35db201e92f2298f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"style\", \"iconStyle\", \"children\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport React, { PureComponent } from 'react';\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport TouchableHighlight from \"react-native-web/dist/exports/TouchableHighlight\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { pick, omit } from \"./object-utils\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nvar styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n alignItems: 'center',\n padding: 8\n },\n touchable: {\n overflow: 'hidden'\n },\n icon: {\n marginRight: 10\n },\n text: {\n fontWeight: '600',\n backgroundColor: 'transparent'\n }\n});\nvar IOS7_BLUE = '#007AFF';\nvar TEXT_PROP_NAMES = ['ellipsizeMode', 'numberOfLines', 'textBreakStrategy', 'selectable', 'suppressHighlighting', 'allowFontScaling', 'adjustsFontSizeToFit', 'minimumFontScale'];\nvar TOUCHABLE_PROP_NAMES = ['accessible', 'accessibilityLabel', 'accessibilityHint', 'accessibilityComponentType', 'accessibilityRole', 'accessibilityStates', 'accessibilityTraits', 'onFocus', 'onBlur', 'disabled', 'onPress', 'onPressIn', 'onPressOut', 'onLayout', 'onLongPress', 'nativeID', 'testID', 'delayPressIn', 'delayPressOut', 'delayLongPress', 'activeOpacity', 'underlayColor', 'selectionColor', 'onShowUnderlay', 'onHideUnderlay', 'hasTVPreferredFocus', 'tvParallaxProperties'];\nexport default function createIconButtonComponent(Icon) {\n var _class;\n return _class = function (_PureComponent) {\n _inherits(IconButton, _PureComponent);\n var _super = _createSuper(IconButton);\n function IconButton() {\n _classCallCheck(this, IconButton);\n return _super.apply(this, arguments);\n }\n _createClass(IconButton, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n style = _this$props.style,\n iconStyle = _this$props.iconStyle,\n children = _this$props.children,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n var iconProps = pick(restProps, TEXT_PROP_NAMES, 'style', 'name', 'size', 'color');\n var touchableProps = pick(restProps, TOUCHABLE_PROP_NAMES);\n var props = omit(restProps, Object.keys(iconProps), Object.keys(touchableProps), 'iconStyle', 'borderRadius', 'backgroundColor');\n iconProps.style = iconStyle ? [styles.icon, iconStyle] : styles.icon;\n var colorStyle = pick(this.props, 'color');\n var blockStyle = pick(this.props, 'backgroundColor', 'borderRadius');\n return _jsx(TouchableHighlight, _objectSpread(_objectSpread({\n style: [styles.touchable, blockStyle]\n }, touchableProps), {}, {\n children: _jsxs(View, _objectSpread(_objectSpread({\n style: [styles.container, blockStyle, style]\n }, props), {}, {\n children: [_jsx(Icon, _objectSpread({}, iconProps)), typeof children === 'string' ? _jsx(Text, {\n style: [styles.text, colorStyle],\n selectable: false,\n children: children\n }) : children]\n }))\n }));\n }\n }]);\n return IconButton;\n }(PureComponent), _class.defaultProps = {\n backgroundColor: IOS7_BLUE,\n borderRadius: 5,\n color: 'white',\n size: 20\n }, _class;\n}","map":{"version":3,"names":["React","PureComponent","pick","omit","styles","StyleSheet","create","container","flexDirection","justifyContent","alignItems","padding","touchable","overflow","icon","marginRight","text","fontWeight","backgroundColor","IOS7_BLUE","TEXT_PROP_NAMES","TOUCHABLE_PROP_NAMES","createIconButtonComponent","Icon","props","style","iconStyle","children","restProps","iconProps","touchableProps","Object","keys","colorStyle","blockStyle","defaultProps","borderRadius","color","size"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/icon-button.js"],"sourcesContent":["import React, { PureComponent } from 'react';\nimport { StyleSheet, Text, TouchableHighlight, View } from 'react-native';\nimport { pick, omit } from './object-utils';\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n alignItems: 'center',\n padding: 8,\n },\n touchable: {\n overflow: 'hidden',\n },\n icon: {\n marginRight: 10,\n },\n text: {\n fontWeight: '600',\n backgroundColor: 'transparent',\n },\n});\n\nconst IOS7_BLUE = '#007AFF';\n\nconst TEXT_PROP_NAMES = [\n 'ellipsizeMode',\n 'numberOfLines',\n 'textBreakStrategy',\n 'selectable',\n 'suppressHighlighting',\n 'allowFontScaling',\n 'adjustsFontSizeToFit',\n 'minimumFontScale',\n];\n\nconst TOUCHABLE_PROP_NAMES = [\n 'accessible',\n 'accessibilityLabel',\n 'accessibilityHint',\n 'accessibilityComponentType',\n 'accessibilityRole',\n 'accessibilityStates',\n 'accessibilityTraits',\n 'onFocus',\n 'onBlur',\n 'disabled',\n 'onPress',\n 'onPressIn',\n 'onPressOut',\n 'onLayout',\n 'onLongPress',\n 'nativeID',\n 'testID',\n 'delayPressIn',\n 'delayPressOut',\n 'delayLongPress',\n 'activeOpacity',\n 'underlayColor',\n 'selectionColor',\n 'onShowUnderlay',\n 'onHideUnderlay',\n 'hasTVPreferredFocus',\n 'tvParallaxProperties',\n];\n\nexport default function createIconButtonComponent(Icon) {\n return class IconButton extends PureComponent {\n static defaultProps = {\n backgroundColor: IOS7_BLUE,\n borderRadius: 5,\n color: 'white',\n size: 20,\n };\n\n render() {\n const { style, iconStyle, children, ...restProps } = this.props;\n\n const iconProps = pick(\n restProps,\n TEXT_PROP_NAMES,\n 'style',\n 'name',\n 'size',\n 'color'\n );\n const touchableProps = pick(restProps, TOUCHABLE_PROP_NAMES);\n const props = omit(\n restProps,\n Object.keys(iconProps),\n Object.keys(touchableProps),\n 'iconStyle',\n 'borderRadius',\n 'backgroundColor'\n );\n iconProps.style = iconStyle ? [styles.icon, iconStyle] : styles.icon;\n\n const colorStyle = pick(this.props, 'color');\n const blockStyle = pick(this.props, 'backgroundColor', 'borderRadius');\n\n return (\n \n \n \n {typeof children === 'string' ? (\n \n {children}\n \n ) : (\n children\n )}\n \n \n );\n }\n };\n}\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAAC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dC,IAAI,EAAE;EACR,CAAC;AA8CL"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/5b3cc6ed9a03b583c062b0a6222152f8.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/5b3cc6ed9a03b583c062b0a6222152f8.json new file mode 100644 index 00000000..216b38e6 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/5b3cc6ed9a03b583c062b0a6222152f8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import React from 'react';\nimport UnimplementedView from \"../../modules/UnimplementedView\";\nfunction YellowBox(props) {\n return React.createElement(UnimplementedView, props);\n}\nYellowBox.ignoreWarnings = function () {};\nexport default YellowBox;","map":{"version":3,"names":["React","UnimplementedView","YellowBox","props","createElement","ignoreWarnings"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/YellowBox/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport React from 'react';\nimport UnimplementedView from '../../modules/UnimplementedView';\n\nfunction YellowBox(props) {\n return /*#__PURE__*/React.createElement(UnimplementedView, props);\n}\n\nYellowBox.ignoreWarnings = () => {};\n\nexport default YellowBox;"],"mappings":"AASA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,iBAAiB;AAExB,SAASC,SAAS,CAACC,KAAK,EAAE;EACxB,OAAoBH,KAAK,CAACI,aAAa,CAACH,iBAAiB,EAAEE,KAAK,CAAC;AACnE;AAEAD,SAAS,CAACG,cAAc,GAAG,YAAM,CAAC,CAAC;AAEnC,eAAeH,SAAS"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/5de3a6b198dc260d11430fd4d7eeb448.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/5de3a6b198dc260d11430fd4d7eeb448.json new file mode 100644 index 00000000..fcf6ff20 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/5de3a6b198dc260d11430fd4d7eeb448.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Feather.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Feather.json\";\nexport default createIconSet(glyphMap, 'feather', font);","map":{"version":3,"sources":["../src/Feather.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Feather.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Feather.json';\n\nexport default createIconSet(glyphMap, 'feather', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/63aa00dd76cef39c63c226a09113d519.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/63aa00dd76cef39c63c226a09113d519.json new file mode 100644 index 00000000..b684e751 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/63aa00dd76cef39c63c226a09113d519.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Octicons.json\";\nvar iconSet = createIconSet(glyphMap, 'Octicons', 'Octicons.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Octicons.js"],"sourcesContent":["/**\n * Octicons icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Octicons.json';\n\nconst iconSet = createIconSet(glyphMap, 'Octicons', 'Octicons.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC;AAEnE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6544470f6fc28c17d6732fe10248c13f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6544470f6fc28c17d6732fe10248c13f.json new file mode 100644 index 00000000..1f9e0829 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6544470f6fc28c17d6732fe10248c13f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { TopBar } from \"../components/TopBar\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport React, { useEffect } from \"react\";\nimport { getFavoriteCity } from \"../redux/actions/getFavoriteCity\";\nimport { Details } from \"../components/Details\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function Home(navigation) {\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n var favoriteCity = useSelector(function (state) {\n return state.appReducer.favoriteCity;\n });\n var weather = useSelector(function (state) {\n return state.appReducer.favoriteWeather;\n });\n var dispatch = useDispatch();\n useEffect(function () {\n var loadFavoriteCity = function () {\n var _ref = _asyncToGenerator(function* () {\n yield dispatch(getFavoriteCity());\n });\n return function loadFavoriteCity() {\n return _ref.apply(this, arguments);\n };\n }();\n loadFavoriteCity();\n }, [dispatch]);\n return _jsxs(View, {\n style: {\n alignItems: \"center\",\n width: \"100%\"\n },\n children: [_jsx(TopBar, {}), function () {\n if (weather != null) {\n return _jsx(Details, {\n weather: weather\n });\n } else {\n return _jsx(Text, {\n style: leStyle.text,\n children: \"Pas de city\"\n });\n }\n }()]\n });\n}\nvar leStyle = StyleSheet.create({\n container: {\n alignItems: 'center'\n },\n text: {\n fontWeight: \"normal\",\n fontStyle: 'italic',\n fontSize: 10,\n alignSelf: \"center\",\n marginLeft: 7\n }\n});","map":{"version":3,"names":["useSafeAreaInsets","TopBar","useDispatch","useSelector","React","useEffect","getFavoriteCity","Details","Home","navigation","insets","statusBarHeight","top","favoriteCity","state","appReducer","weather","favoriteWeather","dispatch","loadFavoriteCity","alignItems","width","leStyle","text","StyleSheet","create","container","fontWeight","fontStyle","fontSize","alignSelf","marginLeft"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/Home.tsx"],"sourcesContent":["import { View, Text, StyleSheet, ImageBackground } from \"react-native\"\nimport { FlatList } from \"react-native-gesture-handler\"\nimport { City, Weather } from \"../data/stub\"\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { VilleCompopo } from \"../components/VilleCompopo\";\nimport { TopBar } from \"../components/TopBar\";\nimport CityDetails from \"./CityDetails\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport React, { useEffect } from \"react\";\nimport { getFavoriteCity } from \"../redux/actions/getFavoriteCity\";\nimport { Details } from \"../components/Details\";\nimport { getWeather } from \"../redux/actions/getWeather\";\n\n\nexport default function Home(navigation){\n\n \n const insets = useSafeAreaInsets();\n const statusBarHeight = insets.top;\n\n const favoriteCity: City | null = useSelector(state => state.appReducer.favoriteCity);\n const weather: Weather | null = useSelector(state => state.appReducer.favoriteWeather);\n\n\n const dispatch = useDispatch();\n \n useEffect(() => {\n const loadFavoriteCity = async () => {\n await dispatch(getFavoriteCity());\n };\n loadFavoriteCity();\n }, [dispatch]);\n\n return (\n \n \n {(() => {\n if (weather != null){\n return (\n
\n )\n }\n else{\n return(\n Pas de city\n )\n }\n })()}\n \n )\n}\n\n\nconst leStyle = StyleSheet.create({\n container: {\n alignItems: 'center',\n },\n text: {\n fontWeight: \"normal\",\n fontStyle: 'italic',\n fontSize: 10,\n alignSelf: \"center\",\n marginLeft: 7\n },\n});"],"mappings":";;;;AAGA,SAASA,iBAAiB,QAAQ,gCAAgC;AAElE,SAASC,MAAM;AAEf,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,OAAOC,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,eAAe;AACxB,SAASC,OAAO;AAAgC;AAAA;AAIhD,eAAe,SAASC,IAAI,CAACC,UAAU,EAAC;EAGpC,IAAMC,MAAM,GAAGV,iBAAiB,EAAE;EAClC,IAAMW,eAAe,GAAGD,MAAM,CAACE,GAAG;EAElC,IAAMC,YAAyB,GAAGV,WAAW,CAAC,UAAAW,KAAK;IAAA,OAAIA,KAAK,CAACC,UAAU,CAACF,YAAY;EAAA,EAAC;EACrF,IAAMG,OAAuB,GAAGb,WAAW,CAAC,UAAAW,KAAK;IAAA,OAAIA,KAAK,CAACC,UAAU,CAACE,eAAe;EAAA,EAAC;EAGtF,IAAMC,QAAQ,GAAGhB,WAAW,EAAE;EAE9BG,SAAS,CAAC,YAAM;IACd,IAAMc,gBAAgB;MAAA,6BAAG,aAAY;QACnC,MAAMD,QAAQ,CAACZ,eAAe,EAAE,CAAC;MACnC,CAAC;MAAA,gBAFKa,gBAAgB;QAAA;MAAA;IAAA,GAErB;IACDA,gBAAgB,EAAE;EACpB,CAAC,EAAE,CAACD,QAAQ,CAAC,CAAC;EAEd,OACI,MAAC,IAAI;IAAC,KAAK,EAAE;MAACE,UAAU,EAAE,QAAQ;MAAEC,KAAK,EAAE;IAAM,CAAE;IAAA,WAC/C,KAAC,MAAM,KAAE,EACP,YAAM;MACN,IAAIL,OAAO,IAAI,IAAI,EAAC;QAClB,OACI,KAAC,OAAO;UAAC,OAAO,EAAEA;QAAQ,EAAE;MAElC,CAAC,MACG;QACF,OACI,KAAC,IAAI;UAAC,KAAK,EAAEM,OAAO,CAACC,IAAK;UAAA,UAAC;QAAW,EAAO;MAEnD;IACF,CAAC,EAAG;EAAA,EACD;AAEf;AAGA,IAAMD,OAAO,GAAGE,UAAU,CAACC,MAAM,CAAC;EAC9BC,SAAS,EAAE;IACPN,UAAU,EAAE;EAChB,CAAC;EACDG,IAAI,EAAE;IACJI,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAE;EAChB;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/675ec9dd67837a172260711e3c84f16d.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/675ec9dd67837a172260711e3c84f16d.json new file mode 100644 index 00000000..c9053379 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/675ec9dd67837a172260711e3c84f16d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json\";\nexport default createIconSet(glyphMap, 'material-community', font);","map":{"version":3,"sources":["../src/MaterialCommunityIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,oBAAoB,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json';\n\nexport default createIconSet(glyphMap, 'material-community', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6870afe4b037bff58bc0ac1e19042319.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6870afe4b037bff58bc0ac1e19042319.json new file mode 100644 index 00000000..9081e91b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6870afe4b037bff58bc0ac1e19042319.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useEffect, useState } from 'react';\nimport { Asset } from \"./Asset\";\nexport function useAssets(moduleIds) {\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n assets = _useState2[0],\n setAssets = _useState2[1];\n var _useState3 = useState(),\n _useState4 = _slicedToArray(_useState3, 2),\n error = _useState4[0],\n setError = _useState4[1];\n useEffect(function () {\n Asset.loadAsync(moduleIds).then(setAssets).catch(setError);\n }, []);\n return [assets, error];\n}","map":{"version":3,"sources":["../src/AssetHooks.ts"],"names":[],"mappings":";AAAA,SAAS,SAAS,EAAE,QAAQ,QAAQ,OAAO;AAE3C,SAAS,KAAK;AAuBd,OAAM,SAAU,SAAS,CAAC,SAA4B,EAAA;EACpD,gBAA4B,QAAQ,EAAW;IAAA;IAAxC,MAAM;IAAE,SAAS;EACxB,iBAA0B,QAAQ,EAAS;IAAA;IAApC,KAAK;IAAE,QAAQ;EAEtB,SAAS,CAAC,YAAK;IACb,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;EAC5D,CAAC,EAAE,EAAE,CAAC;EAEN,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC;AACxB","sourcesContent":["import { useEffect, useState } from 'react';\n\nimport { Asset } from './Asset';\n\n// @needsAudit\n/**\n * Downloads and stores one or more assets locally.\n * After the assets are loaded, this hook returns a list of asset instances.\n * If something went wrong when loading the assets, an error is returned.\n *\n * > Note, the assets are not \"reloaded\" when you dynamically change the asset list.\n *\n * @return Returns an array containing:\n * - on the first position, a list of all loaded assets. If they aren't loaded yet, this value is\n * `undefined`.\n * - on the second position, an error which encountered when loading the assets. If there was no\n * error, this value is `undefined`.\n *\n * @example\n * ```tsx\n * const [assets, error] = useAssets([require('path/to/asset.jpg'), require('path/to/other.png')]);\n *\n * return assets ? : null;\n * ```\n */\nexport function useAssets(moduleIds: number | number[]): [Asset[] | undefined, Error | undefined] {\n const [assets, setAssets] = useState();\n const [error, setError] = useState();\n\n useEffect(() => {\n Asset.loadAsync(moduleIds).then(setAssets).catch(setError);\n }, []);\n\n return [assets, error];\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6a6272612ae4600a3aa01f370d39c44a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6a6272612ae4600a3aa01f370d39c44a.json new file mode 100644 index 00000000..20ed58c2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6a6272612ae4600a3aa01f370d39c44a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { getFilename } from \"./AssetUris\";\nexport function isImageType(type) {\n return /^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(type);\n}\nexport function getImageInfoAsync(url) {\n return new Promise(function (resolve, reject) {\n var img = new Image();\n img.onerror = reject;\n img.onload = function () {\n resolve({\n name: getFilename(url),\n width: img.naturalWidth,\n height: img.naturalHeight\n });\n };\n img.src = url;\n });\n}","map":{"version":3,"sources":["../src/ImageAssets.ts"],"names":[],"mappings":"AACA,SAAS,WAAW;AAQpB,OAAM,SAAU,WAAW,CAAC,IAAY,EAAA;EACtC,OAAO,qCAAqC,CAAC,IAAI,CAAC,IAAI,CAAC;AACzD;AAEA,OAAM,SAAU,iBAAiB,CAAC,GAAW,EAAA;EAC3C,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,EAAE,MAAM,EAAI;IACrC,IAAM,GAAG,GAAG,IAAI,KAAK,EAAE;IACvB,GAAG,CAAC,OAAO,GAAG,MAAM;IACpB,GAAG,CAAC,MAAM,GAAG,YAAK;MAChB,OAAO,CAAC;QACN,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,GAAG,CAAC,YAAY;QACvB,MAAM,EAAE,GAAG,CAAC;OACb,CAAC;IACJ,CAAC;IACD,GAAG,CAAC,GAAG,GAAG,GAAG;EACf,CAAC,CAAC;AACJ","sourcesContent":["/* eslint-env browser */\nimport { getFilename } from './AssetUris';\n\ntype ImageInfo = {\n name: string;\n width: number;\n height: number;\n};\n\nexport function isImageType(type: string): boolean {\n return /^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(type);\n}\n\nexport function getImageInfoAsync(url: string): Promise {\n return new Promise((resolve, reject) => {\n const img = new Image();\n img.onerror = reject;\n img.onload = () => {\n resolve({\n name: getFilename(url),\n width: img.naturalWidth,\n height: img.naturalHeight,\n });\n };\n img.src = url;\n });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6b4f5ac6f90dddb5a0f54d06e0e9b884.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6b4f5ac6f90dddb5a0f54d06e0e9b884.json new file mode 100644 index 00000000..1980dc2a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6b4f5ac6f90dddb5a0f54d06e0e9b884.json @@ -0,0 +1 @@ +{"ast":null,"code":"export default {};","map":{"version":3,"names":[],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Systrace/index.js"],"sourcesContent":["export default {};"],"mappings":"AAAA,eAAe,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6cb78e4e519bbbfd0ef3ed7f8b4510de.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6cb78e4e519bbbfd0ef3ed7f8b4510de.json new file mode 100644 index 00000000..5ad00393 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6cb78e4e519bbbfd0ef3ed7f8b4510de.json @@ -0,0 +1 @@ +{"ast":null,"code":"import Platform from \"react-native-web/dist/exports/Platform\";\nimport NativeModules from \"react-native-web/dist/exports/NativeModules\";\nvar NativeIconAPI = NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\nexport default function ensureNativeModuleAvailable() {\n if (!NativeIconAPI) {\n if (Platform.OS === 'android') {\n throw new Error('RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.');\n }\n throw new Error('RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.');\n }\n}","map":{"version":3,"names":["NativeIconAPI","NativeModules","RNVectorIconsManager","RNVectorIconsModule","ensureNativeModuleAvailable","Platform","OS","Error"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/ensure-native-module-available.js"],"sourcesContent":["import { Platform, NativeModules } from 'react-native';\n\nconst NativeIconAPI =\n NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport default function ensureNativeModuleAvailable() {\n if (!NativeIconAPI) {\n if (Platform.OS === 'android') {\n throw new Error(\n 'RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.'\n );\n }\n throw new Error(\n 'RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.'\n );\n }\n}\n"],"mappings":";;AAEA,IAAMA,aAAa,GACjBC,aAAa,CAACC,oBAAoB,IAAID,aAAa,CAACE,mBAAmB;AAEzE,eAAe,SAASC,2BAA2B,GAAG;EACpD,IAAI,CAACJ,aAAa,EAAE;IAClB,IAAIK,QAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;MAC7B,MAAM,IAAIC,KAAK,CACb,sJAAsJ,CACvJ;IACH;IACA,MAAM,IAAIA,KAAK,CACb,0LAA0L,CAC3L;EACH;AACF"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6d20b71ffb33e93f6abd71a72a778321.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6d20b71ffb33e93f6abd71a72a778321.json new file mode 100644 index 00000000..cf4f350e --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6d20b71ffb33e93f6abd71a72a778321.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"active\", \"children\", \"onRequestClose\", \"transparent\"];\nimport * as React from 'react';\nimport View from \"../View\";\nimport StyleSheet from \"../StyleSheet\";\nimport canUseDOM from \"../../modules/canUseDom\";\nvar ModalContent = React.forwardRef(function (props, forwardedRef) {\n var active = props.active,\n children = props.children,\n onRequestClose = props.onRequestClose,\n transparent = props.transparent,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n React.useEffect(function () {\n if (canUseDOM) {\n var closeOnEscape = function closeOnEscape(e) {\n if (active && e.key === 'Escape') {\n e.stopPropagation();\n if (onRequestClose) {\n onRequestClose();\n }\n }\n };\n document.addEventListener('keyup', closeOnEscape, false);\n return function () {\n return document.removeEventListener('keyup', closeOnEscape, false);\n };\n }\n }, [active, onRequestClose]);\n var style = React.useMemo(function () {\n return [styles.modal, transparent ? styles.modalTransparent : styles.modalOpaque];\n }, [transparent]);\n return React.createElement(View, _extends({}, rest, {\n accessibilityModal: true,\n accessibilityRole: active ? 'dialog' : null,\n ref: forwardedRef,\n style: style\n }), React.createElement(View, {\n style: styles.container\n }, children));\n});\nvar styles = StyleSheet.create({\n modal: {\n position: 'fixed',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n modalTransparent: {\n backgroundColor: 'transparent'\n },\n modalOpaque: {\n backgroundColor: 'white'\n },\n container: {\n top: 0,\n flex: 1\n }\n});\nexport default ModalContent;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","View","StyleSheet","canUseDOM","ModalContent","forwardRef","props","forwardedRef","active","children","onRequestClose","transparent","rest","useEffect","closeOnEscape","e","key","stopPropagation","document","addEventListener","removeEventListener","style","useMemo","styles","modal","modalTransparent","modalOpaque","createElement","accessibilityModal","accessibilityRole","ref","container","create","position","top","right","bottom","left","backgroundColor","flex"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Modal/ModalContent.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"active\", \"children\", \"onRequestClose\", \"transparent\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport View from '../View';\nimport StyleSheet from '../StyleSheet';\nimport canUseDOM from '../../modules/canUseDom';\nvar ModalContent = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {\n var active = props.active,\n children = props.children,\n onRequestClose = props.onRequestClose,\n transparent = props.transparent,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n\n React.useEffect(() => {\n if (canUseDOM) {\n var closeOnEscape = e => {\n if (active && e.key === 'Escape') {\n e.stopPropagation();\n\n if (onRequestClose) {\n onRequestClose();\n }\n }\n };\n\n document.addEventListener('keyup', closeOnEscape, false);\n return () => document.removeEventListener('keyup', closeOnEscape, false);\n }\n }, [active, onRequestClose]);\n var style = React.useMemo(() => {\n return [styles.modal, transparent ? styles.modalTransparent : styles.modalOpaque];\n }, [transparent]);\n return /*#__PURE__*/React.createElement(View, _extends({}, rest, {\n accessibilityModal: true,\n accessibilityRole: active ? 'dialog' : null,\n ref: forwardedRef,\n style: style\n }), /*#__PURE__*/React.createElement(View, {\n style: styles.container\n }, children));\n});\nvar styles = StyleSheet.create({\n modal: {\n position: 'fixed',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n modalTransparent: {\n backgroundColor: 'transparent'\n },\n modalOpaque: {\n backgroundColor: 'white'\n },\n container: {\n top: 0,\n flex: 1\n }\n});\nexport default ModalContent;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,CAAC;AAWvE,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,IAAI;AACX,OAAOC,UAAU;AACjB,OAAOC,SAAS;AAChB,IAAIC,YAAY,GAAgBJ,KAAK,CAACK,UAAU,CAAC,UAACC,KAAK,EAAEC,YAAY,EAAK;EACxE,IAAIC,MAAM,GAAGF,KAAK,CAACE,MAAM;IACrBC,QAAQ,GAAGH,KAAK,CAACG,QAAQ;IACzBC,cAAc,GAAGJ,KAAK,CAACI,cAAc;IACrCC,WAAW,GAAGL,KAAK,CAACK,WAAW;IAC/BC,IAAI,GAAGd,6BAA6B,CAACQ,KAAK,EAAEP,SAAS,CAAC;EAE1DC,KAAK,CAACa,SAAS,CAAC,YAA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IACRC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE;EACR,CAAC;EACDZ,gBAAgB,EAAE;IAChBa,eAAe,EAAE;EACnB,CAAC;EACDZ,WAAW,EAAE;IACXY,eAAe,EAAE;EACnB,CAAC;EACDP,SAAS,EAAE;IACTG,GAAG,EAAE,CAAC;IACNK,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AACF,eAAenC,YAAY"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/6fcf749cc9ae44677ac6ef6dd91a4d92.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/6fcf749cc9ae44677ac6ef6dd91a4d92.json new file mode 100644 index 00000000..3547cdb3 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/6fcf749cc9ae44677ac6ef6dd91a4d92.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport AccessibilityUtil from \"../../modules/AccessibilityUtil\";\nimport BoundingDimensions from \"./BoundingDimensions\";\nimport findNodeHandle from \"../findNodeHandle\";\nimport normalizeColor from 'normalize-css-color';\nimport Position from \"./Position\";\nimport React from 'react';\nimport UIManager from \"../UIManager\";\nimport View from \"../View\";\nvar extractSingleTouch = function extractSingleTouch(nativeEvent) {\n var touches = nativeEvent.touches;\n var changedTouches = nativeEvent.changedTouches;\n var hasTouches = touches && touches.length > 0;\n var hasChangedTouches = changedTouches && changedTouches.length > 0;\n return !hasTouches && hasChangedTouches ? changedTouches[0] : hasTouches ? touches[0] : nativeEvent;\n};\nvar States = {\n NOT_RESPONDER: 'NOT_RESPONDER',\n RESPONDER_INACTIVE_PRESS_IN: 'RESPONDER_INACTIVE_PRESS_IN',\n RESPONDER_INACTIVE_PRESS_OUT: 'RESPONDER_INACTIVE_PRESS_OUT',\n RESPONDER_ACTIVE_PRESS_IN: 'RESPONDER_ACTIVE_PRESS_IN',\n RESPONDER_ACTIVE_PRESS_OUT: 'RESPONDER_ACTIVE_PRESS_OUT',\n RESPONDER_ACTIVE_LONG_PRESS_IN: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n RESPONDER_ACTIVE_LONG_PRESS_OUT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n ERROR: 'ERROR'\n};\nvar baseStatesConditions = {\n NOT_RESPONDER: false,\n RESPONDER_INACTIVE_PRESS_IN: false,\n RESPONDER_INACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_PRESS_IN: false,\n RESPONDER_ACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_LONG_PRESS_IN: false,\n RESPONDER_ACTIVE_LONG_PRESS_OUT: false,\n ERROR: false\n};\nvar IsActive = _objectSpread(_objectSpread({}, baseStatesConditions), {}, {\n RESPONDER_ACTIVE_PRESS_OUT: true,\n RESPONDER_ACTIVE_PRESS_IN: true\n});\nvar IsPressingIn = _objectSpread(_objectSpread({}, baseStatesConditions), {}, {\n RESPONDER_INACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true\n});\nvar IsLongPressingIn = _objectSpread(_objectSpread({}, baseStatesConditions), {}, {\n RESPONDER_ACTIVE_LONG_PRESS_IN: true\n});\nvar Signals = {\n DELAY: 'DELAY',\n RESPONDER_GRANT: 'RESPONDER_GRANT',\n RESPONDER_RELEASE: 'RESPONDER_RELEASE',\n RESPONDER_TERMINATED: 'RESPONDER_TERMINATED',\n ENTER_PRESS_RECT: 'ENTER_PRESS_RECT',\n LEAVE_PRESS_RECT: 'LEAVE_PRESS_RECT',\n LONG_PRESS_DETECTED: 'LONG_PRESS_DETECTED'\n};\nvar Transitions = {\n NOT_RESPONDER: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.ERROR,\n RESPONDER_TERMINATED: States.ERROR,\n ENTER_PRESS_RECT: States.ERROR,\n LEAVE_PRESS_RECT: States.ERROR,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_IN,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_OUT,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n error: {\n DELAY: States.NOT_RESPONDER,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.NOT_RESPONDER,\n LEAVE_PRESS_RECT: States.NOT_RESPONDER,\n LONG_PRESS_DETECTED: States.NOT_RESPONDER\n }\n};\nvar HIGHLIGHT_DELAY_MS = 130;\nvar PRESS_EXPAND_PX = 20;\nvar LONG_PRESS_THRESHOLD = 500;\nvar LONG_PRESS_DELAY_MS = LONG_PRESS_THRESHOLD - HIGHLIGHT_DELAY_MS;\nvar LONG_PRESS_ALLOWED_MOVEMENT = 10;\nvar TouchableMixin = {\n componentDidMount: function componentDidMount() {\n var _this = this;\n this._touchableNode = findNodeHandle(this);\n if (this._touchableNode && this._touchableNode.addEventListener) {\n this._touchableBlurListener = function (e) {\n if (_this._isTouchableKeyboardActive) {\n if (_this.state.touchable.touchState && _this.state.touchable.touchState !== States.NOT_RESPONDER) {\n _this.touchableHandleResponderTerminate({\n nativeEvent: e\n });\n }\n _this._isTouchableKeyboardActive = false;\n }\n };\n this._touchableNode.addEventListener('blur', this._touchableBlurListener);\n }\n },\n componentWillUnmount: function componentWillUnmount() {\n if (this._touchableNode && this._touchableNode.addEventListener) {\n this._touchableNode.removeEventListener('blur', this._touchableBlurListener);\n }\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressInLocation = null;\n this.state.touchable.responderID = null;\n this._touchableNode = null;\n },\n touchableGetInitialState: function touchableGetInitialState() {\n return {\n touchable: {\n touchState: undefined,\n responderID: null\n }\n };\n },\n touchableHandleResponderTerminationRequest: function touchableHandleResponderTerminationRequest() {\n return !this.props.rejectResponderTermination;\n },\n touchableHandleStartShouldSetResponder: function touchableHandleStartShouldSetResponder() {\n return !this.props.disabled;\n },\n touchableLongPressCancelsPress: function touchableLongPressCancelsPress() {\n return true;\n },\n touchableHandleResponderGrant: function touchableHandleResponderGrant(e) {\n var dispatchID = e.currentTarget;\n e.persist();\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressOutDelayTimeout = null;\n this.state.touchable.touchState = States.NOT_RESPONDER;\n this.state.touchable.responderID = dispatchID;\n this._receiveSignal(Signals.RESPONDER_GRANT, e);\n var delayMS = this.touchableGetHighlightDelayMS !== undefined ? Math.max(this.touchableGetHighlightDelayMS(), 0) : HIGHLIGHT_DELAY_MS;\n delayMS = isNaN(delayMS) ? HIGHLIGHT_DELAY_MS : delayMS;\n if (delayMS !== 0) {\n this.touchableDelayTimeout = setTimeout(this._handleDelay.bind(this, e), delayMS);\n } else {\n this._handleDelay(e);\n }\n var longDelayMS = this.touchableGetLongPressDelayMS !== undefined ? Math.max(this.touchableGetLongPressDelayMS(), 10) : LONG_PRESS_DELAY_MS;\n longDelayMS = isNaN(longDelayMS) ? LONG_PRESS_DELAY_MS : longDelayMS;\n this.longPressDelayTimeout = setTimeout(this._handleLongDelay.bind(this, e), longDelayMS + delayMS);\n },\n touchableHandleResponderRelease: function touchableHandleResponderRelease(e) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_RELEASE, e);\n },\n touchableHandleResponderTerminate: function touchableHandleResponderTerminate(e) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_TERMINATED, e);\n },\n touchableHandleResponderMove: function touchableHandleResponderMove(e) {\n if (!this.state.touchable.positionOnActivate) {\n return;\n }\n var positionOnActivate = this.state.touchable.positionOnActivate;\n var dimensionsOnActivate = this.state.touchable.dimensionsOnActivate;\n var pressRectOffset = this.touchableGetPressRectOffset ? this.touchableGetPressRectOffset() : {\n left: PRESS_EXPAND_PX,\n right: PRESS_EXPAND_PX,\n top: PRESS_EXPAND_PX,\n bottom: PRESS_EXPAND_PX\n };\n var pressExpandLeft = pressRectOffset.left;\n var pressExpandTop = pressRectOffset.top;\n var pressExpandRight = pressRectOffset.right;\n var pressExpandBottom = pressRectOffset.bottom;\n var hitSlop = this.touchableGetHitSlop ? this.touchableGetHitSlop() : null;\n if (hitSlop) {\n pressExpandLeft += hitSlop.left || 0;\n pressExpandTop += hitSlop.top || 0;\n pressExpandRight += hitSlop.right || 0;\n pressExpandBottom += hitSlop.bottom || 0;\n }\n var touch = extractSingleTouch(e.nativeEvent);\n var pageX = touch && touch.pageX;\n var pageY = touch && touch.pageY;\n if (this.pressInLocation) {\n var movedDistance = this._getDistanceBetweenPoints(pageX, pageY, this.pressInLocation.pageX, this.pressInLocation.pageY);\n if (movedDistance > LONG_PRESS_ALLOWED_MOVEMENT) {\n this._cancelLongPressDelayTimeout();\n }\n }\n var isTouchWithinActive = pageX > positionOnActivate.left - pressExpandLeft && pageY > positionOnActivate.top - pressExpandTop && pageX < positionOnActivate.left + dimensionsOnActivate.width + pressExpandRight && pageY < positionOnActivate.top + dimensionsOnActivate.height + pressExpandBottom;\n if (isTouchWithinActive) {\n var prevState = this.state.touchable.touchState;\n this._receiveSignal(Signals.ENTER_PRESS_RECT, e);\n var curState = this.state.touchable.touchState;\n if (curState === States.RESPONDER_INACTIVE_PRESS_IN && prevState !== States.RESPONDER_INACTIVE_PRESS_IN) {\n this._cancelLongPressDelayTimeout();\n }\n } else {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);\n }\n },\n touchableHandleFocus: function touchableHandleFocus(e) {\n this.props.onFocus && this.props.onFocus(e);\n },\n touchableHandleBlur: function touchableHandleBlur(e) {\n this.props.onBlur && this.props.onBlur(e);\n },\n _remeasureMetricsOnActivation: function _remeasureMetricsOnActivation() {\n var tag = this.state.touchable.responderID;\n if (tag == null) {\n return;\n }\n UIManager.measure(tag, this._handleQueryLayout);\n },\n _handleQueryLayout: function _handleQueryLayout(l, t, w, h, globalX, globalY) {\n if (!l && !t && !w && !h && !globalX && !globalY) {\n return;\n }\n this.state.touchable.positionOnActivate && Position.release(this.state.touchable.positionOnActivate);\n this.state.touchable.dimensionsOnActivate && BoundingDimensions.release(this.state.touchable.dimensionsOnActivate);\n this.state.touchable.positionOnActivate = Position.getPooled(globalX, globalY);\n this.state.touchable.dimensionsOnActivate = BoundingDimensions.getPooled(w, h);\n },\n _handleDelay: function _handleDelay(e) {\n this.touchableDelayTimeout = null;\n this._receiveSignal(Signals.DELAY, e);\n },\n _handleLongDelay: function _handleLongDelay(e) {\n this.longPressDelayTimeout = null;\n var curState = this.state.touchable.touchState;\n if (curState !== States.RESPONDER_ACTIVE_PRESS_IN && curState !== States.RESPONDER_ACTIVE_LONG_PRESS_IN) {\n console.error('Attempted to transition from state `' + curState + '` to `' + States.RESPONDER_ACTIVE_LONG_PRESS_IN + '`, which is not supported. This is ' + 'most likely due to `Touchable.longPressDelayTimeout` not being cancelled.');\n } else {\n this._receiveSignal(Signals.LONG_PRESS_DETECTED, e);\n }\n },\n _receiveSignal: function _receiveSignal(signal, e) {\n var responderID = this.state.touchable.responderID;\n var curState = this.state.touchable.touchState;\n var nextState = Transitions[curState] && Transitions[curState][signal];\n if (!responderID && signal === Signals.RESPONDER_RELEASE) {\n return;\n }\n if (!nextState) {\n throw new Error('Unrecognized signal `' + signal + '` or state `' + curState + '` for Touchable responder `' + responderID + '`');\n }\n if (nextState === States.ERROR) {\n throw new Error('Touchable cannot transition from `' + curState + '` to `' + signal + '` for responder `' + responderID + '`');\n }\n if (curState !== nextState) {\n this._performSideEffectsForTransition(curState, nextState, signal, e);\n this.state.touchable.touchState = nextState;\n }\n },\n _cancelLongPressDelayTimeout: function _cancelLongPressDelayTimeout() {\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.longPressDelayTimeout = null;\n },\n _isHighlight: function _isHighlight(state) {\n return state === States.RESPONDER_ACTIVE_PRESS_IN || state === States.RESPONDER_ACTIVE_LONG_PRESS_IN;\n },\n _savePressInLocation: function _savePressInLocation(e) {\n var touch = extractSingleTouch(e.nativeEvent);\n var pageX = touch && touch.pageX;\n var pageY = touch && touch.pageY;\n var locationX = touch && touch.locationX;\n var locationY = touch && touch.locationY;\n this.pressInLocation = {\n pageX: pageX,\n pageY: pageY,\n locationX: locationX,\n locationY: locationY\n };\n },\n _getDistanceBetweenPoints: function _getDistanceBetweenPoints(aX, aY, bX, bY) {\n var deltaX = aX - bX;\n var deltaY = aY - bY;\n return Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n },\n _performSideEffectsForTransition: function _performSideEffectsForTransition(curState, nextState, signal, e) {\n var curIsHighlight = this._isHighlight(curState);\n var newIsHighlight = this._isHighlight(nextState);\n var isFinalSignal = signal === Signals.RESPONDER_TERMINATED || signal === Signals.RESPONDER_RELEASE;\n if (isFinalSignal) {\n this._cancelLongPressDelayTimeout();\n }\n var isInitialTransition = curState === States.NOT_RESPONDER && nextState === States.RESPONDER_INACTIVE_PRESS_IN;\n var isActiveTransition = !IsActive[curState] && IsActive[nextState];\n if (isInitialTransition || isActiveTransition) {\n this._remeasureMetricsOnActivation();\n }\n if (IsPressingIn[curState] && signal === Signals.LONG_PRESS_DETECTED) {\n this.touchableHandleLongPress && this.touchableHandleLongPress(e);\n }\n if (newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n } else if (!newIsHighlight && curIsHighlight) {\n this._endHighlight(e);\n }\n if (IsPressingIn[curState] && signal === Signals.RESPONDER_RELEASE) {\n var hasLongPressHandler = !!this.props.onLongPress;\n var pressIsLongButStillCallOnPress = IsLongPressingIn[curState] && (!hasLongPressHandler || !this.touchableLongPressCancelsPress());\n var shouldInvokePress = !IsLongPressingIn[curState] || pressIsLongButStillCallOnPress;\n if (shouldInvokePress && this.touchableHandlePress) {\n if (!newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n this._endHighlight(e);\n }\n this.touchableHandlePress(e);\n }\n }\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.touchableDelayTimeout = null;\n },\n _playTouchSound: function _playTouchSound() {\n UIManager.playTouchSound();\n },\n _startHighlight: function _startHighlight(e) {\n this._savePressInLocation(e);\n this.touchableHandleActivePressIn && this.touchableHandleActivePressIn(e);\n },\n _endHighlight: function _endHighlight(e) {\n var _this2 = this;\n if (this.touchableHandleActivePressOut) {\n if (this.touchableGetPressOutDelayMS && this.touchableGetPressOutDelayMS()) {\n this.pressOutDelayTimeout = setTimeout(function () {\n _this2.touchableHandleActivePressOut(e);\n }, this.touchableGetPressOutDelayMS());\n } else {\n this.touchableHandleActivePressOut(e);\n }\n }\n },\n touchableHandleKeyEvent: function touchableHandleKeyEvent(e) {\n var type = e.type,\n key = e.key;\n if (key === 'Enter' || key === ' ') {\n if (type === 'keydown') {\n if (!this._isTouchableKeyboardActive) {\n if (!this.state.touchable.touchState || this.state.touchable.touchState === States.NOT_RESPONDER) {\n this.touchableHandleResponderGrant(e);\n this._isTouchableKeyboardActive = true;\n }\n }\n } else if (type === 'keyup') {\n if (this._isTouchableKeyboardActive) {\n if (this.state.touchable.touchState && this.state.touchable.touchState !== States.NOT_RESPONDER) {\n this.touchableHandleResponderRelease(e);\n this._isTouchableKeyboardActive = false;\n }\n }\n }\n e.stopPropagation();\n if (!(key === 'Enter' && AccessibilityUtil.propsToAriaRole(this.props) === 'link')) {\n e.preventDefault();\n }\n }\n },\n withoutDefaultFocusAndBlur: {}\n};\nvar touchableHandleFocus = TouchableMixin.touchableHandleFocus,\n touchableHandleBlur = TouchableMixin.touchableHandleBlur,\n TouchableMixinWithoutDefaultFocusAndBlur = _objectWithoutPropertiesLoose(TouchableMixin, [\"touchableHandleFocus\", \"touchableHandleBlur\"]);\nTouchableMixin.withoutDefaultFocusAndBlur = TouchableMixinWithoutDefaultFocusAndBlur;\nvar Touchable = {\n Mixin: TouchableMixin,\n TOUCH_TARGET_DEBUG: false,\n renderDebugView: function renderDebugView(_ref) {\n var color = _ref.color,\n hitSlop = _ref.hitSlop;\n if (!Touchable.TOUCH_TARGET_DEBUG) {\n return null;\n }\n if (process.env.NODE_ENV !== 'production') {\n throw Error('Touchable.TOUCH_TARGET_DEBUG should not be enabled in prod!');\n }\n var debugHitSlopStyle = {};\n hitSlop = hitSlop || {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n };\n for (var key in hitSlop) {\n debugHitSlopStyle[key] = -hitSlop[key];\n }\n var normalizedColor = normalizeColor(color);\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n var hexColor = '#' + ('00000000' + normalizedColor.toString(16)).substr(-8);\n return React.createElement(View, {\n pointerEvents: \"none\",\n style: _objectSpread({\n position: 'absolute',\n borderColor: hexColor.slice(0, -2) + '55',\n borderWidth: 1,\n borderStyle: 'dashed',\n backgroundColor: hexColor.slice(0, -2) + '0F'\n }, debugHitSlopStyle)\n });\n }\n};\nexport default Touchable;","map":{"version":3,"names":["_objectWithoutPropertiesLoose","_objectSpread","AccessibilityUtil","BoundingDimensions","findNodeHandle","normalizeColor","Position","React","UIManager","View","extractSingleTouch","nativeEvent","touches","changedTouches","hasTouches","length","hasChangedTouches","States","NOT_RESPONDER","RESPONDER_INACTIVE_PRESS_IN","RESPONDER_INACTIVE_PRESS_OUT","RESPONDER_ACTIVE_PRESS_IN","RESPONDER_ACTIVE_PRESS_OUT","RESPONDER_ACTIVE_LONG_PRESS_IN","RESPONDER_ACTIVE_LONG_PRESS_OUT","ERROR","baseStatesConditions","IsActive","IsPressingIn","IsLongPressingIn","Signals","DELAY","RESPONDER_GRANT","RESPONDER_RELEASE","RESPONDER_TERMINATED","ENTER_PRESS_RECT","LEAVE_PRESS_RECT","LONG_PRESS_DETECTED","Transitions","error","HIGHLIGHT_DELAY_MS","PRESS_EXPAND_PX","LONG_PRESS_THRESHOLD","LONG_PRESS_DELAY_MS","LONG_PRESS_ALLOWED_MOVEMENT","TouchableMixin","componentDidMount","_touchableNode","addEventListener","_touchableBlurListener","e","_isTouchableKeyboardActive","state","touchable","touchState","touchableHandleResponderTerminate","componentWillUnmount","removeEventListener","touchableDelayTimeout","clearTimeout","longPressDelayTimeout","pressOutDelayTimeout","pressInLocation","responderID","touchableGetInitialState","undefined","touchableHandleResponderTerminationRequest","props","rejectResponderTermination","touchableHandleStartShouldSetResponder","disabled","touchableLongPressCancelsPress","touchableHandleResponderGrant","dispatchID","currentTarget","persist","_receiveSignal","delayMS","touchableGetHighlightDelayMS","Math","max","isNaN","setTimeout","_handleDelay","bind","longDelayMS","touchableGetLongPressDelayMS","_handleLongDelay","touchableHandleResponderRelease","touchableHandleResponderMove","positionOnActivate","dimensionsOnActivate","pressRectOffset","touchableGetPressRectOffset","left","right","top","bottom","pressExpandLeft","pressExpandTop","pressExpandRight","pressExpandBottom","hitSlop","touchableGetHitSlop","touch","pageX","pageY","movedDistance","_getDistanceBetweenPoints","_cancelLongPressDelayTimeout","isTouchWithinActive","width","height","prevState","curState","touchableHandleFocus","onFocus","touchableHandleBlur","onBlur","_remeasureMetricsOnActivation","tag","measure","_handleQueryLayout","l","t","w","h","globalX","globalY","release","getPooled","console","signal","nextState","Error","_performSideEffectsForTransition","_isHighlight","_savePressInLocation","locationX","locationY","aX","aY","bX","bY","deltaX","deltaY","sqrt","curIsHighlight","newIsHighlight","isFinalSignal","isInitialTransition","isActiveTransition","touchableHandleLongPress","_startHighlight","_endHighlight","hasLongPressHandler","onLongPress","pressIsLongButStillCallOnPress","shouldInvokePress","touchableHandlePress","_playTouchSound","playTouchSound","touchableHandleActivePressIn","touchableHandleActivePressOut","touchableGetPressOutDelayMS","touchableHandleKeyEvent","type","key","stopPropagation","propsToAriaRole","preventDefault","withoutDefaultFocusAndBlur","TouchableMixinWithoutDefaultFocusAndBlur","Touchable","Mixin","TOUCH_TARGET_DEBUG","renderDebugView","_ref","color","process","env","NODE_ENV","debugHitSlopStyle","normalizedColor","hexColor","toString","substr","createElement","pointerEvents","style","position","borderColor","slice","borderWidth","borderStyle","backgroundColor"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Touchable/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport AccessibilityUtil from '../../modules/AccessibilityUtil';\nimport BoundingDimensions from './BoundingDimensions';\nimport findNodeHandle from '../findNodeHandle';\nimport normalizeColor from 'normalize-css-color';\nimport Position from './Position';\nimport React from 'react';\nimport UIManager from '../UIManager';\nimport View from '../View';\n\nvar extractSingleTouch = nativeEvent => {\n var touches = nativeEvent.touches;\n var changedTouches = nativeEvent.changedTouches;\n var hasTouches = touches && touches.length > 0;\n var hasChangedTouches = changedTouches && changedTouches.length > 0;\n return !hasTouches && hasChangedTouches ? changedTouches[0] : hasTouches ? touches[0] : nativeEvent;\n};\n/**\n * `Touchable`: Taps done right.\n *\n * You hook your `ResponderEventPlugin` events into `Touchable`. `Touchable`\n * will measure time/geometry and tells you when to give feedback to the user.\n *\n * ====================== Touchable Tutorial ===============================\n * The `Touchable` mixin helps you handle the \"press\" interaction. It analyzes\n * the geometry of elements, and observes when another responder (scroll view\n * etc) has stolen the touch lock. It notifies your component when it should\n * give feedback to the user. (bouncing/highlighting/unhighlighting).\n *\n * - When a touch was activated (typically you highlight)\n * - When a touch was deactivated (typically you unhighlight)\n * - When a touch was \"pressed\" - a touch ended while still within the geometry\n * of the element, and no other element (like scroller) has \"stolen\" touch\n * lock (\"responder\") (Typically you bounce the element).\n *\n * A good tap interaction isn't as simple as you might think. There should be a\n * slight delay before showing a highlight when starting a touch. If a\n * subsequent touch move exceeds the boundary of the element, it should\n * unhighlight, but if that same touch is brought back within the boundary, it\n * should rehighlight again. A touch can move in and out of that boundary\n * several times, each time toggling highlighting, but a \"press\" is only\n * triggered if that touch ends while within the element's boundary and no\n * scroller (or anything else) has stolen the lock on touches.\n *\n * To create a new type of component that handles interaction using the\n * `Touchable` mixin, do the following:\n *\n * - Initialize the `Touchable` state.\n *\n * getInitialState: function() {\n * return merge(this.touchableGetInitialState(), yourComponentState);\n * }\n *\n * - Choose the rendered component who's touches should start the interactive\n * sequence. On that rendered node, forward all `Touchable` responder\n * handlers. You can choose any rendered node you like. Choose a node whose\n * hit target you'd like to instigate the interaction sequence:\n *\n * // In render function:\n * return (\n * \n * \n * Even though the hit detection/interactions are triggered by the\n * wrapping (typically larger) node, we usually end up implementing\n * custom logic that highlights this inner one.\n * \n * \n * );\n *\n * - You may set up your own handlers for each of these events, so long as you\n * also invoke the `touchable*` handlers inside of your custom handler.\n *\n * - Implement the handlers on your component class in order to provide\n * feedback to the user. See documentation for each of these class methods\n * that you should implement.\n *\n * touchableHandlePress: function() {\n * this.performBounceAnimation(); // or whatever you want to do.\n * },\n * touchableHandleActivePressIn: function() {\n * this.beginHighlighting(...); // Whatever you like to convey activation\n * },\n * touchableHandleActivePressOut: function() {\n * this.endHighlighting(...); // Whatever you like to convey deactivation\n * },\n *\n * - There are more advanced methods you can implement (see documentation below):\n * touchableGetHighlightDelayMS: function() {\n * return 20;\n * }\n * // In practice, *always* use a predeclared constant (conserve memory).\n * touchableGetPressRectOffset: function() {\n * return {top: 20, left: 20, right: 20, bottom: 100};\n * }\n */\n\n/**\n * Touchable states.\n */\n\n\nvar States = {\n NOT_RESPONDER: 'NOT_RESPONDER',\n // Not the responder\n RESPONDER_INACTIVE_PRESS_IN: 'RESPONDER_INACTIVE_PRESS_IN',\n // Responder, inactive, in the `PressRect`\n RESPONDER_INACTIVE_PRESS_OUT: 'RESPONDER_INACTIVE_PRESS_OUT',\n // Responder, inactive, out of `PressRect`\n RESPONDER_ACTIVE_PRESS_IN: 'RESPONDER_ACTIVE_PRESS_IN',\n // Responder, active, in the `PressRect`\n RESPONDER_ACTIVE_PRESS_OUT: 'RESPONDER_ACTIVE_PRESS_OUT',\n // Responder, active, out of `PressRect`\n RESPONDER_ACTIVE_LONG_PRESS_IN: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n // Responder, active, in the `PressRect`, after long press threshold\n RESPONDER_ACTIVE_LONG_PRESS_OUT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n // Responder, active, out of `PressRect`, after long press threshold\n ERROR: 'ERROR'\n};\n\n/*\n * Quick lookup map for states that are considered to be \"active\"\n */\nvar baseStatesConditions = {\n NOT_RESPONDER: false,\n RESPONDER_INACTIVE_PRESS_IN: false,\n RESPONDER_INACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_PRESS_IN: false,\n RESPONDER_ACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_LONG_PRESS_IN: false,\n RESPONDER_ACTIVE_LONG_PRESS_OUT: false,\n ERROR: false\n};\n\nvar IsActive = _objectSpread(_objectSpread({}, baseStatesConditions), {}, {\n RESPONDER_ACTIVE_PRESS_OUT: true,\n RESPONDER_ACTIVE_PRESS_IN: true\n});\n/**\n * Quick lookup for states that are considered to be \"pressing\" and are\n * therefore eligible to result in a \"selection\" if the press stops.\n */\n\n\nvar IsPressingIn = _objectSpread(_objectSpread({}, baseStatesConditions), {}, {\n RESPONDER_INACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true\n});\n\nvar IsLongPressingIn = _objectSpread(_objectSpread({}, baseStatesConditions), {}, {\n RESPONDER_ACTIVE_LONG_PRESS_IN: true\n});\n/**\n * Inputs to the state machine.\n */\n\n\nvar Signals = {\n DELAY: 'DELAY',\n RESPONDER_GRANT: 'RESPONDER_GRANT',\n RESPONDER_RELEASE: 'RESPONDER_RELEASE',\n RESPONDER_TERMINATED: 'RESPONDER_TERMINATED',\n ENTER_PRESS_RECT: 'ENTER_PRESS_RECT',\n LEAVE_PRESS_RECT: 'LEAVE_PRESS_RECT',\n LONG_PRESS_DETECTED: 'LONG_PRESS_DETECTED'\n};\n\n/**\n * Mapping from States x Signals => States\n */\nvar Transitions = {\n NOT_RESPONDER: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.ERROR,\n RESPONDER_TERMINATED: States.ERROR,\n ENTER_PRESS_RECT: States.ERROR,\n LEAVE_PRESS_RECT: States.ERROR,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_IN,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_OUT,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR\n },\n error: {\n DELAY: States.NOT_RESPONDER,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.NOT_RESPONDER,\n LEAVE_PRESS_RECT: States.NOT_RESPONDER,\n LONG_PRESS_DETECTED: States.NOT_RESPONDER\n }\n}; // ==== Typical Constants for integrating into UI components ====\n// var HIT_EXPAND_PX = 20;\n// var HIT_VERT_OFFSET_PX = 10;\n\nvar HIGHLIGHT_DELAY_MS = 130;\nvar PRESS_EXPAND_PX = 20;\nvar LONG_PRESS_THRESHOLD = 500;\nvar LONG_PRESS_DELAY_MS = LONG_PRESS_THRESHOLD - HIGHLIGHT_DELAY_MS;\nvar LONG_PRESS_ALLOWED_MOVEMENT = 10; // Default amount \"active\" region protrudes beyond box\n\n/**\n * By convention, methods prefixed with underscores are meant to be @private,\n * and not @protected. Mixers shouldn't access them - not even to provide them\n * as callback handlers.\n *\n *\n * ========== Geometry =========\n * `Touchable` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * +--------------------------+\n * | | - \"Start\" events in `HitRect` cause `HitRect`\n * | +--------------------+ | to become the responder.\n * | | +--------------+ | | - `HitRect` is typically expanded around\n * | | | | | | the `VisualRect`, but shifted downward.\n * | | | VisualRect | | | - After pressing down, after some delay,\n * | | | | | | and before letting up, the Visual React\n * | | +--------------+ | | will become \"active\". This makes it eligible\n * | | HitRect | | for being highlighted (so long as the\n * | +--------------------+ | press remains in the `PressRect`).\n * | PressRect o |\n * +----------------------|---+\n * Out Region |\n * +-----+ This gap between the `HitRect` and\n * `PressRect` allows a touch to move far away\n * from the original hit rect, and remain\n * highlighted, and eligible for a \"Press\".\n * Customize this via\n * `touchableGetPressRectOffset()`.\n *\n *\n *\n * ======= State Machine =======\n *\n * +-------------+ <---+ RESPONDER_RELEASE\n * |NOT_RESPONDER|\n * +-------------+ <---+ RESPONDER_TERMINATED\n * +\n * | RESPONDER_GRANT (HitRect)\n * v\n * +---------------------------+ DELAY +-------------------------+ T + DELAY +------------------------------+\n * |RESPONDER_INACTIVE_PRESS_IN|+-------->|RESPONDER_ACTIVE_PRESS_IN| +------------> |RESPONDER_ACTIVE_LONG_PRESS_IN|\n * +---------------------------+ +-------------------------+ +------------------------------+\n * + ^ + ^ + ^\n * |LEAVE_ |ENTER_ |LEAVE_ |ENTER_ |LEAVE_ |ENTER_\n * |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT\n * | | | | | |\n * v + v + v +\n * +----------------------------+ DELAY +--------------------------+ +-------------------------------+\n * |RESPONDER_INACTIVE_PRESS_OUT|+------->|RESPONDER_ACTIVE_PRESS_OUT| |RESPONDER_ACTIVE_LONG_PRESS_OUT|\n * +----------------------------+ +--------------------------+ +-------------------------------+\n *\n * T + DELAY => LONG_PRESS_DELAY_MS + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the `touchableHandlePress` abstract method invocation that occurs\n * when a responder is released while in either of the \"Press\" states.\n *\n * The other important side effects are the highlight abstract method\n * invocations (internal callbacks) to be implemented by the mixer.\n *\n *\n * @lends Touchable.prototype\n */\n\nvar TouchableMixin = {\n // HACK (part 1): basic support for touchable interactions using a keyboard\n componentDidMount: function componentDidMount() {\n this._touchableNode = findNodeHandle(this);\n\n if (this._touchableNode && this._touchableNode.addEventListener) {\n this._touchableBlurListener = e => {\n if (this._isTouchableKeyboardActive) {\n if (this.state.touchable.touchState && this.state.touchable.touchState !== States.NOT_RESPONDER) {\n this.touchableHandleResponderTerminate({\n nativeEvent: e\n });\n }\n\n this._isTouchableKeyboardActive = false;\n }\n };\n\n this._touchableNode.addEventListener('blur', this._touchableBlurListener);\n }\n },\n\n /**\n * Clear all timeouts on unmount\n */\n componentWillUnmount: function componentWillUnmount() {\n if (this._touchableNode && this._touchableNode.addEventListener) {\n this._touchableNode.removeEventListener('blur', this._touchableBlurListener);\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout); // Clear DOM nodes\n\n this.pressInLocation = null;\n this.state.touchable.responderID = null;\n this._touchableNode = null;\n },\n\n /**\n * It's prefer that mixins determine state in this way, having the class\n * explicitly mix the state in the one and only `getInitialState` method.\n *\n * @return {object} State object to be placed inside of\n * `this.state.touchable`.\n */\n touchableGetInitialState: function touchableGetInitialState() {\n return {\n touchable: {\n touchState: undefined,\n responderID: null\n }\n };\n },\n // ==== Hooks to Gesture Responder system ====\n\n /**\n * Must return true if embedded in a native platform scroll view.\n */\n touchableHandleResponderTerminationRequest: function touchableHandleResponderTerminationRequest() {\n return !this.props.rejectResponderTermination;\n },\n\n /**\n * Must return true to start the process of `Touchable`.\n */\n touchableHandleStartShouldSetResponder: function touchableHandleStartShouldSetResponder() {\n return !this.props.disabled;\n },\n\n /**\n * Return true to cancel press on long press.\n */\n touchableLongPressCancelsPress: function touchableLongPressCancelsPress() {\n return true;\n },\n\n /**\n * Place as callback for a DOM element's `onResponderGrant` event.\n * @param {SyntheticEvent} e Synthetic event from event system.\n *\n */\n touchableHandleResponderGrant: function touchableHandleResponderGrant(e) {\n var dispatchID = e.currentTarget; // Since e is used in a callback invoked on another event loop\n // (as in setTimeout etc), we need to call e.persist() on the\n // event to make sure it doesn't get reused in the event object pool.\n\n e.persist();\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressOutDelayTimeout = null;\n this.state.touchable.touchState = States.NOT_RESPONDER;\n this.state.touchable.responderID = dispatchID;\n\n this._receiveSignal(Signals.RESPONDER_GRANT, e);\n\n var delayMS = this.touchableGetHighlightDelayMS !== undefined ? Math.max(this.touchableGetHighlightDelayMS(), 0) : HIGHLIGHT_DELAY_MS;\n delayMS = isNaN(delayMS) ? HIGHLIGHT_DELAY_MS : delayMS;\n\n if (delayMS !== 0) {\n this.touchableDelayTimeout = setTimeout(this._handleDelay.bind(this, e), delayMS);\n } else {\n this._handleDelay(e);\n }\n\n var longDelayMS = this.touchableGetLongPressDelayMS !== undefined ? Math.max(this.touchableGetLongPressDelayMS(), 10) : LONG_PRESS_DELAY_MS;\n longDelayMS = isNaN(longDelayMS) ? LONG_PRESS_DELAY_MS : longDelayMS;\n this.longPressDelayTimeout = setTimeout(this._handleLongDelay.bind(this, e), longDelayMS + delayMS);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderRelease` event.\n */\n touchableHandleResponderRelease: function touchableHandleResponderRelease(e) {\n this.pressInLocation = null;\n\n this._receiveSignal(Signals.RESPONDER_RELEASE, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderTerminate` event.\n */\n touchableHandleResponderTerminate: function touchableHandleResponderTerminate(e) {\n this.pressInLocation = null;\n\n this._receiveSignal(Signals.RESPONDER_TERMINATED, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderMove` event.\n */\n touchableHandleResponderMove: function touchableHandleResponderMove(e) {\n // Measurement may not have returned yet.\n if (!this.state.touchable.positionOnActivate) {\n return;\n }\n\n var positionOnActivate = this.state.touchable.positionOnActivate;\n var dimensionsOnActivate = this.state.touchable.dimensionsOnActivate;\n var pressRectOffset = this.touchableGetPressRectOffset ? this.touchableGetPressRectOffset() : {\n left: PRESS_EXPAND_PX,\n right: PRESS_EXPAND_PX,\n top: PRESS_EXPAND_PX,\n bottom: PRESS_EXPAND_PX\n };\n var pressExpandLeft = pressRectOffset.left;\n var pressExpandTop = pressRectOffset.top;\n var pressExpandRight = pressRectOffset.right;\n var pressExpandBottom = pressRectOffset.bottom;\n var hitSlop = this.touchableGetHitSlop ? this.touchableGetHitSlop() : null;\n\n if (hitSlop) {\n pressExpandLeft += hitSlop.left || 0;\n pressExpandTop += hitSlop.top || 0;\n pressExpandRight += hitSlop.right || 0;\n pressExpandBottom += hitSlop.bottom || 0;\n }\n\n var touch = extractSingleTouch(e.nativeEvent);\n var pageX = touch && touch.pageX;\n var pageY = touch && touch.pageY;\n\n if (this.pressInLocation) {\n var movedDistance = this._getDistanceBetweenPoints(pageX, pageY, this.pressInLocation.pageX, this.pressInLocation.pageY);\n\n if (movedDistance > LONG_PRESS_ALLOWED_MOVEMENT) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n var isTouchWithinActive = pageX > positionOnActivate.left - pressExpandLeft && pageY > positionOnActivate.top - pressExpandTop && pageX < positionOnActivate.left + dimensionsOnActivate.width + pressExpandRight && pageY < positionOnActivate.top + dimensionsOnActivate.height + pressExpandBottom;\n\n if (isTouchWithinActive) {\n var prevState = this.state.touchable.touchState;\n\n this._receiveSignal(Signals.ENTER_PRESS_RECT, e);\n\n var curState = this.state.touchable.touchState;\n\n if (curState === States.RESPONDER_INACTIVE_PRESS_IN && prevState !== States.RESPONDER_INACTIVE_PRESS_IN) {\n // fix for t7967420\n this._cancelLongPressDelayTimeout();\n }\n } else {\n this._cancelLongPressDelayTimeout();\n\n this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);\n }\n },\n\n /**\n * Invoked when the item receives focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * currently has the focus. Most platforms only support a single element being\n * focused at a time, in which case there may have been a previously focused\n * element that was blurred just prior to this. This can be overridden when\n * using `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n touchableHandleFocus: function touchableHandleFocus(e) {\n this.props.onFocus && this.props.onFocus(e);\n },\n\n /**\n * Invoked when the item loses focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * no longer has focus. Most platforms only support a single element being\n * focused at a time, in which case the focus may have moved to another.\n * This can be overridden when using\n * `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n touchableHandleBlur: function touchableHandleBlur(e) {\n this.props.onBlur && this.props.onBlur(e);\n },\n // ==== Abstract Application Callbacks ====\n\n /**\n * Invoked when the item should be highlighted. Mixers should implement this\n * to visually distinguish the `VisualRect` so that the user knows that\n * releasing a touch will result in a \"selection\" (analog to click).\n *\n * @abstract\n * touchableHandleActivePressIn: function,\n */\n\n /**\n * Invoked when the item is \"active\" (in that it is still eligible to become\n * a \"select\") but the touch has left the `PressRect`. Usually the mixer will\n * want to unhighlight the `VisualRect`. If the user (while pressing) moves\n * back into the `PressRect` `touchableHandleActivePressIn` will be invoked\n * again and the mixer should probably highlight the `VisualRect` again. This\n * event will not fire on an `touchEnd/mouseUp` event, only move events while\n * the user is depressing the mouse/touch.\n *\n * @abstract\n * touchableHandleActivePressOut: function\n */\n\n /**\n * Invoked when the item is \"selected\" - meaning the interaction ended by\n * letting up while the item was either in the state\n * `RESPONDER_ACTIVE_PRESS_IN` or `RESPONDER_INACTIVE_PRESS_IN`.\n *\n * @abstract\n * touchableHandlePress: function\n */\n\n /**\n * Invoked when the item is long pressed - meaning the interaction ended by\n * letting up while the item was in `RESPONDER_ACTIVE_LONG_PRESS_IN`. If\n * `touchableHandleLongPress` is *not* provided, `touchableHandlePress` will\n * be called as it normally is. If `touchableHandleLongPress` is provided, by\n * default any `touchableHandlePress` callback will not be invoked. To\n * override this default behavior, override `touchableLongPressCancelsPress`\n * to return false. As a result, `touchableHandlePress` will be called when\n * lifting up, even if `touchableHandleLongPress` has also been called.\n *\n * @abstract\n * touchableHandleLongPress: function\n */\n\n /**\n * Returns the number of millis to wait before triggering a highlight.\n *\n * @abstract\n * touchableGetHighlightDelayMS: function\n */\n\n /**\n * Returns the amount to extend the `HitRect` into the `PressRect`. Positive\n * numbers mean the size expands outwards.\n *\n * @abstract\n * touchableGetPressRectOffset: function\n */\n // ==== Internal Logic ====\n\n /**\n * Measures the `HitRect` node on activation. The Bounding rectangle is with\n * respect to viewport - not page, so adding the `pageXOffset/pageYOffset`\n * should result in points that are in the same coordinate system as an\n * event's `globalX/globalY` data values.\n *\n * - Consider caching this for the lifetime of the component, or possibly\n * being able to share this cache between any `ScrollMap` view.\n *\n * @sideeffects\n * @private\n */\n _remeasureMetricsOnActivation: function _remeasureMetricsOnActivation() {\n var tag = this.state.touchable.responderID;\n\n if (tag == null) {\n return;\n }\n\n UIManager.measure(tag, this._handleQueryLayout);\n },\n _handleQueryLayout: function _handleQueryLayout(l, t, w, h, globalX, globalY) {\n //don't do anything UIManager failed to measure node\n if (!l && !t && !w && !h && !globalX && !globalY) {\n return;\n }\n\n this.state.touchable.positionOnActivate && Position.release(this.state.touchable.positionOnActivate);\n this.state.touchable.dimensionsOnActivate && // $FlowFixMe\n BoundingDimensions.release(this.state.touchable.dimensionsOnActivate);\n this.state.touchable.positionOnActivate = Position.getPooled(globalX, globalY); // $FlowFixMe\n\n this.state.touchable.dimensionsOnActivate = BoundingDimensions.getPooled(w, h);\n },\n _handleDelay: function _handleDelay(e) {\n this.touchableDelayTimeout = null;\n\n this._receiveSignal(Signals.DELAY, e);\n },\n _handleLongDelay: function _handleLongDelay(e) {\n this.longPressDelayTimeout = null;\n var curState = this.state.touchable.touchState;\n\n if (curState !== States.RESPONDER_ACTIVE_PRESS_IN && curState !== States.RESPONDER_ACTIVE_LONG_PRESS_IN) {\n console.error('Attempted to transition from state `' + curState + '` to `' + States.RESPONDER_ACTIVE_LONG_PRESS_IN + '`, which is not supported. This is ' + 'most likely due to `Touchable.longPressDelayTimeout` not being cancelled.');\n } else {\n this._receiveSignal(Signals.LONG_PRESS_DETECTED, e);\n }\n },\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n *\n * @param {Signals} signal State machine signal.\n * @throws Error if invalid state transition or unrecognized signal.\n * @sideeffects\n */\n _receiveSignal: function _receiveSignal(signal, e) {\n var responderID = this.state.touchable.responderID;\n var curState = this.state.touchable.touchState;\n var nextState = Transitions[curState] && Transitions[curState][signal];\n\n if (!responderID && signal === Signals.RESPONDER_RELEASE) {\n return;\n }\n\n if (!nextState) {\n throw new Error('Unrecognized signal `' + signal + '` or state `' + curState + '` for Touchable responder `' + responderID + '`');\n }\n\n if (nextState === States.ERROR) {\n throw new Error('Touchable cannot transition from `' + curState + '` to `' + signal + '` for responder `' + responderID + '`');\n }\n\n if (curState !== nextState) {\n this._performSideEffectsForTransition(curState, nextState, signal, e);\n\n this.state.touchable.touchState = nextState;\n }\n },\n _cancelLongPressDelayTimeout: function _cancelLongPressDelayTimeout() {\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.longPressDelayTimeout = null;\n },\n _isHighlight: function _isHighlight(state) {\n return state === States.RESPONDER_ACTIVE_PRESS_IN || state === States.RESPONDER_ACTIVE_LONG_PRESS_IN;\n },\n _savePressInLocation: function _savePressInLocation(e) {\n var touch = extractSingleTouch(e.nativeEvent);\n var pageX = touch && touch.pageX;\n var pageY = touch && touch.pageY;\n var locationX = touch && touch.locationX;\n var locationY = touch && touch.locationY;\n this.pressInLocation = {\n pageX,\n pageY,\n locationX,\n locationY\n };\n },\n _getDistanceBetweenPoints: function _getDistanceBetweenPoints(aX, aY, bX, bY) {\n var deltaX = aX - bX;\n var deltaY = aY - bY;\n return Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n },\n\n /**\n * Will perform a transition between touchable states, and identify any\n * highlighting or unhighlighting that must be performed for this particular\n * transition.\n *\n * @param {States} curState Current Touchable state.\n * @param {States} nextState Next Touchable state.\n * @param {Signal} signal Signal that triggered the transition.\n * @param {Event} e Native event.\n * @sideeffects\n */\n _performSideEffectsForTransition: function _performSideEffectsForTransition(curState, nextState, signal, e) {\n var curIsHighlight = this._isHighlight(curState);\n\n var newIsHighlight = this._isHighlight(nextState);\n\n var isFinalSignal = signal === Signals.RESPONDER_TERMINATED || signal === Signals.RESPONDER_RELEASE;\n\n if (isFinalSignal) {\n this._cancelLongPressDelayTimeout();\n }\n\n var isInitialTransition = curState === States.NOT_RESPONDER && nextState === States.RESPONDER_INACTIVE_PRESS_IN;\n var isActiveTransition = !IsActive[curState] && IsActive[nextState];\n\n if (isInitialTransition || isActiveTransition) {\n this._remeasureMetricsOnActivation();\n }\n\n if (IsPressingIn[curState] && signal === Signals.LONG_PRESS_DETECTED) {\n this.touchableHandleLongPress && this.touchableHandleLongPress(e);\n }\n\n if (newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n } else if (!newIsHighlight && curIsHighlight) {\n this._endHighlight(e);\n }\n\n if (IsPressingIn[curState] && signal === Signals.RESPONDER_RELEASE) {\n var hasLongPressHandler = !!this.props.onLongPress;\n var pressIsLongButStillCallOnPress = IsLongPressingIn[curState] && ( // We *are* long pressing.. // But either has no long handler\n !hasLongPressHandler || !this.touchableLongPressCancelsPress()); // or we're told to ignore it.\n\n var shouldInvokePress = !IsLongPressingIn[curState] || pressIsLongButStillCallOnPress;\n\n if (shouldInvokePress && this.touchableHandlePress) {\n if (!newIsHighlight && !curIsHighlight) {\n // we never highlighted because of delay, but we should highlight now\n this._startHighlight(e);\n\n this._endHighlight(e);\n }\n\n this.touchableHandlePress(e);\n }\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.touchableDelayTimeout = null;\n },\n _playTouchSound: function _playTouchSound() {\n UIManager.playTouchSound();\n },\n _startHighlight: function _startHighlight(e) {\n this._savePressInLocation(e);\n\n this.touchableHandleActivePressIn && this.touchableHandleActivePressIn(e);\n },\n _endHighlight: function _endHighlight(e) {\n if (this.touchableHandleActivePressOut) {\n if (this.touchableGetPressOutDelayMS && this.touchableGetPressOutDelayMS()) {\n this.pressOutDelayTimeout = setTimeout(() => {\n this.touchableHandleActivePressOut(e);\n }, this.touchableGetPressOutDelayMS());\n } else {\n this.touchableHandleActivePressOut(e);\n }\n }\n },\n // HACK (part 2): basic support for touchable interactions using a keyboard (including\n // delays and longPress)\n touchableHandleKeyEvent: function touchableHandleKeyEvent(e) {\n var type = e.type,\n key = e.key;\n\n if (key === 'Enter' || key === ' ') {\n if (type === 'keydown') {\n if (!this._isTouchableKeyboardActive) {\n if (!this.state.touchable.touchState || this.state.touchable.touchState === States.NOT_RESPONDER) {\n this.touchableHandleResponderGrant(e);\n this._isTouchableKeyboardActive = true;\n }\n }\n } else if (type === 'keyup') {\n if (this._isTouchableKeyboardActive) {\n if (this.state.touchable.touchState && this.state.touchable.touchState !== States.NOT_RESPONDER) {\n this.touchableHandleResponderRelease(e);\n this._isTouchableKeyboardActive = false;\n }\n }\n }\n\n e.stopPropagation(); // prevent the default behaviour unless the Touchable functions as a link\n // and Enter is pressed\n\n if (!(key === 'Enter' && AccessibilityUtil.propsToAriaRole(this.props) === 'link')) {\n e.preventDefault();\n }\n }\n },\n withoutDefaultFocusAndBlur: {}\n};\n/**\n * Provide an optional version of the mixin where `touchableHandleFocus` and\n * `touchableHandleBlur` can be overridden. This allows appropriate defaults to\n * be set on TV platforms, without breaking existing implementations of\n * `Touchable`.\n */\n\nvar touchableHandleFocus = TouchableMixin.touchableHandleFocus,\n touchableHandleBlur = TouchableMixin.touchableHandleBlur,\n TouchableMixinWithoutDefaultFocusAndBlur = _objectWithoutPropertiesLoose(TouchableMixin, [\"touchableHandleFocus\", \"touchableHandleBlur\"]);\n\nTouchableMixin.withoutDefaultFocusAndBlur = TouchableMixinWithoutDefaultFocusAndBlur;\nvar Touchable = {\n Mixin: TouchableMixin,\n TOUCH_TARGET_DEBUG: false,\n // Highlights all touchable targets. Toggle with Inspector.\n\n /**\n * Renders a debugging overlay to visualize touch target with hitSlop (might not work on Android).\n */\n renderDebugView: _ref => {\n var color = _ref.color,\n hitSlop = _ref.hitSlop;\n\n if (!Touchable.TOUCH_TARGET_DEBUG) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n throw Error('Touchable.TOUCH_TARGET_DEBUG should not be enabled in prod!');\n }\n\n var debugHitSlopStyle = {};\n hitSlop = hitSlop || {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n };\n\n for (var key in hitSlop) {\n debugHitSlopStyle[key] = -hitSlop[key];\n }\n\n var normalizedColor = normalizeColor(color);\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n var hexColor = '#' + ('00000000' + normalizedColor.toString(16)).substr(-8);\n return /*#__PURE__*/React.createElement(View, {\n pointerEvents: \"none\",\n style: _objectSpread({\n position: 'absolute',\n borderColor: hexColor.slice(0, -2) + '55',\n // More opaque\n borderWidth: 1,\n borderStyle: 'dashed',\n backgroundColor: hexColor.slice(0, -2) + '0F'\n }, debugHitSlopStyle)\n });\n }\n};\nexport default Touchable;"],"mappings":"AASA,YAAY;;AAEZ,OAAOA,6BAA6B,MAAM,qDAAqD;AAC/F,OAAOC,aAAa,MAAM,sCAAsC;AAChE,OAAOC,iBAAiB;AACxB,OAAOC,kBAAkB;AACzB,OAAOC,cAAc;AACrB,OAAOC,cAAc,MAAM,qBAAqB;AAChD,OAAOC,QAAQ;AACf,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS;AAChB,OAAOC,IAAI;AAEX,IAAIC,kBAAkB,GAAG,SAArBA,kBAAkB,CAAGC,WAAW,EAAI;EACtC,IAAIC,OAAO,GAAGD,WAAW,CAACC,OAAO;EACjC,IAAIC,cAAc,GAAGF,WAAW,CAACE,cAAc;EAC/C,IAAIC,UAAU,GAAGF,OAAO,IAAIA,OAAO,CAACG,MAAM,GAAG,CAAC;EAC9C,IAAIC,iBAAiB,GAAGH,cAAc,IAAIA,cAAc,CAACE,MAAM,GAAG,CAAC;EACnE,OAAO,CAACD,UAAU,IAAIE,iBAAiB,GAAGH,cAAc,CAAC,CAAC,CAAC,GAAGC,UAAU,GAAGF,OAAO,CAAC,CAAC,CAAC,GAAGD,WAAW;AACrG,CAAC;AA2FD,IAAIM,MAAM,GAAG;EACXC,aAAa,EAAE,eAAe;EAE9BC,2BAA2B,EAAE,6BAA6B;EAE1DC,4BAA4B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,OAAO,IAAI;IACb;IAEA,IAAIC,QAAQ,GAAG,GAAG,GAAG,CAAC,UAAU,GAAGD,eAAe,CAACE,QAAQ,CAAC,EAAE,CAAC,EAAEC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC3E,OAAoBnL,KAAK,CAACoL,aAAa,CAAClL,IAAI,EAAE;MAC5CmL,aAAa,EAAE,MAAM;MACrBC,KAAK,EAAE5L,aAAa,CAAC;QACnB6L,QAAQ,EAAE,UAAU;QACpBC,WAAW,EAAEP,QAAQ,CAACQ,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI;QAEzCC,WAAW,EAAE,CAAC;QACdC,WAAW,EAAE,QAAQ;QACrBC,eAAe,EAAEX,QAAQ,CAACQ,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG;MAC3C,CAAC,EAAEV,iBAAiB;IACtB,CAAC,CAAC;EACJ;AACF,CAAC;AACD,eAAeT,SAAS"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/718a8f80e33ac69a5c4ecb72c81260d4.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/718a8f80e33ac69a5c4ecb72c81260d4.json new file mode 100644 index 00000000..c19fec45 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/718a8f80e33ac69a5c4ecb72c81260d4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { FETCH_WEATHER_SEARCHED } from \"../constants\";\nexport var setWeatherSearched = function setWeatherSearched(weather) {\n return {\n type: FETCH_WEATHER_SEARCHED,\n payload: weather\n };\n};","map":{"version":3,"names":["FETCH_WEATHER_SEARCHED","setWeatherSearched","weather","type","payload"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/setWeatherSearched.ts"],"sourcesContent":["import { Weather } from \"../../data/stub\";\nimport { FETCH_WEATHER, FETCH_WEATHER_SEARCHED } from \"../constants\";\n\nexport const setWeatherSearched = (weather: Weather[]) => {\n return {\n type: FETCH_WEATHER_SEARCHED,\n payload: weather,\n };\n }"],"mappings":"AACA,SAAwBA,sBAAsB;AAE9C,OAAO,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB,CAAIC,OAAkB,EAAK;EACtD,OAAO;IACLC,IAAI,EAAEH,sBAAsB;IAC5BI,OAAO,EAAEF;EACX,CAAC;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/72fdd1d7e6cdc09ca461733efd19c635.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/72fdd1d7e6cdc09ca461733efd19c635.json new file mode 100644 index 00000000..51a93567 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/72fdd1d7e6cdc09ca461733efd19c635.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Foundation.json\";\nvar iconSet = createIconSet(glyphMap, 'fontcustom', 'Foundation.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Foundation.js"],"sourcesContent":["/**\n * Foundation icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Foundation.json';\n\nconst iconSet = createIconSet(glyphMap, 'fontcustom', 'Foundation.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,YAAY,EAAE,gBAAgB,CAAC;AAEvE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/76508089246c415583b824cdc00bfee4.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/76508089246c415583b824cdc00bfee4.json new file mode 100644 index 00000000..75f2f5f7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/76508089246c415583b824cdc00bfee4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/MaterialCommunityIcons.json\";\nvar iconSet = createIconSet(glyphMap, 'Material Design Icons', 'MaterialCommunityIcons.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/MaterialCommunityIcons.js"],"sourcesContent":["/**\n * MaterialCommunityIcons icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/MaterialCommunityIcons.json';\n\nconst iconSet = createIconSet(glyphMap, 'Material Design Icons', 'MaterialCommunityIcons.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,uBAAuB,EAAE,4BAA4B,CAAC;AAE9F,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/7668fae12588c0f1e7da21eba8d7b2db.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/7668fae12588c0f1e7da21eba8d7b2db.json new file mode 100644 index 00000000..36f54817 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/7668fae12588c0f1e7da21eba8d7b2db.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React from \"react\";\nimport View from \"react-native-web/dist/exports/View\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport TouchableHighlight from \"react-native-web/dist/exports/TouchableHighlight\";\nimport Image from \"react-native-web/dist/exports/Image\";\nimport { useDispatch } from \"react-redux\";\nimport { addFavoriteCity } from \"../redux/actions/addFavoriteCity\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function VilleCompopo(props) {\n var dispatch = useDispatch();\n function changeFavoriteCity(_x, _x2) {\n return _changeFavoriteCity.apply(this, arguments);\n }\n function _changeFavoriteCity() {\n _changeFavoriteCity = _asyncToGenerator(function* (city, already) {\n if (already) {\n city = null;\n }\n dispatch(addFavoriteCity(city));\n });\n return _changeFavoriteCity.apply(this, arguments);\n }\n var isFavorite = props.fav != null && props.weather.city.longitude === props.fav.longitude && props.weather.city.latitude === props.fav.latitude;\n return _jsx(View, {\n style: styles.container,\n children: _jsxs(View, {\n style: {\n flex: 1,\n flexDirection: \"row\",\n justifyContent: \"space-between\"\n },\n children: [_jsxs(View, {\n style: styles.bothtext,\n children: [_jsx(Text, {\n style: styles.title,\n children: props.weather.city.name\n }), _jsxs(Text, {\n children: [props.weather.city.latitude, \" - \", props.weather.city.longitude]\n })]\n }), _jsxs(View, {\n style: {\n flexDirection: \"row\",\n alignItems: \"center\"\n },\n children: [_jsx(Text, {\n style: styles.title,\n children: props.weather.temperature\n }), _jsx(TouchableHighlight, {\n onPress: function onPress() {\n return changeFavoriteCity(props.weather.city, isFavorite);\n },\n children: _jsx(Image, {\n source: isFavorite ? require(\"../assets/yellowstar.png\") : require(\"../assets/blackstar.png\"),\n style: styles.button\n })\n })]\n })]\n })\n });\n}\nvar styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: \"darksalmon\",\n marginVertical: 5,\n borderRadius: 15,\n width: \"90%\",\n alignSelf: 'center'\n },\n title: {\n fontWeight: \"bold\",\n fontSize: 18\n },\n bothtext: {\n margin: 10\n },\n temperature: {\n marginTop: 20,\n fontSize: 18,\n fontWeight: \"bold\"\n },\n button: {\n height: 30,\n width: 30,\n alignSelf: \"flex-end\",\n marginRight: \"5%\",\n marginLeft: \"10%\"\n }\n});","map":{"version":3,"names":["React","useDispatch","addFavoriteCity","VilleCompopo","props","dispatch","changeFavoriteCity","city","already","isFavorite","fav","weather","longitude","latitude","styles","container","flex","flexDirection","justifyContent","bothtext","title","name","alignItems","temperature","require","button","StyleSheet","create","backgroundColor","marginVertical","borderRadius","width","alignSelf","fontWeight","fontSize","margin","marginTop","height","marginRight","marginLeft"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/components/VilleCompopo.tsx"],"sourcesContent":["import React, { useEffect, useState, useSyncExternalStore } from \"react\";\nimport { View, StyleSheet, Text, Button, TouchableHighlight, Image } from \"react-native\";\nimport { useDispatch } from \"react-redux\";\nimport { City, FAVORITE_CITY_DATA, getCurrentWeather, Weather } from \"../data/stub\";\nimport { addFavoriteCity } from \"../redux/actions/addFavoriteCity\";\n\n\ntype VilleProps = {\n weather: Weather,\n fav: City | null\n}\n\n\nexport function VilleCompopo(props: VilleProps){\n const dispatch = useDispatch();\n\n\n async function changeFavoriteCity(city: City | null, already: boolean) {\n if (already){\n city = null\n }\n dispatch(addFavoriteCity(city))\n }\n\n const isFavorite = props.fav != null && props.weather.city.longitude===props.fav.longitude && props.weather.city.latitude===props.fav.latitude\n\n return (\n \n \n \n {props.weather.city.name}\n {props.weather.city.latitude} - {props.weather.city.longitude}\n \n \n {props.weather.temperature}\n changeFavoriteCity(props.weather.city, isFavorite)}>\n \n \n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: \"darksalmon\",\n marginVertical: 5,\n borderRadius: 15,\n width: \"90%\",\n alignSelf: 'center'\n },\n title: {\n fontWeight: \"bold\",\n fontSize: 18\n },\n bothtext: {\n margin: 10\n },\n temperature: {\n marginTop: 20,\n fontSize: 18,\n fontWeight: \"bold\"\n },\n button: {\n height: 30,\n width: 30,\n alignSelf: \"flex-end\",\n marginRight: \"5%\",\n marginLeft: \"10%\"\n },\n\n});"],"mappings":";AAAA,OAAOA,KAAK,MAAqD,OAAO;AAAC;AAAA;AAAA;AAAA;AAAA;AAEzE,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,eAAe;AAA2C;AAAA;AASnE,OAAO,SAASC,YAAY,CAACC,KAAiB,EAAC;EAC7C,IAAMC,QAAQ,GAAGJ,WAAW,EAAE;EAAC,SAGhBK,kBAAkB;IAAA;EAAA;EAAA;IAAA,wCAAjC,WAAkCC,IAAiB,EAAEC,OAAgB,EAAE;MACrE,IAAIA,OAAO,EAAC;QACVD,IAAI,GAAG,IAAI;MACb;MACAF,QAAQ,CAACH,eAAe,CAACK,IAAI,CAAC,CAAC;IACjC,CAAC;IAAA;EAAA;EAED,IAAME,UAAU,GAAGL,KAAK,CAACM,GAAG,IAAI,IAAI,IAAIN,KAAK,CAACO,OAAO,CAACJ,IAAI,CAACK,SAAS,KAAGR,KAAK,CAACM,GAAG,CAACE,SAAS,IAAIR,KAAK,CAACO,OAAO,CAACJ,IAAI,CAACM,QAAQ,KAAGT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IACjBC,YAAY,EAAE,EAAE;IAChBC,KAAK,EAAE,KAAK;IACZC,SAAS,EAAE;EACb,CAAC;EACDZ,KAAK,EAAE;IACLa,UAAU,EAAE,MAAM;IAClBC,QAAQ,EAAE;EACZ,CAAC;EACDf,QAAQ,EAAE;IACRgB,MAAM,EAAE;EACV,CAAC;EACDZ,WAAW,EAAE;IACXa,SAAS,EAAE,EAAE;IACbF,QAAQ,EAAE,EAAE;IACZD,UAAU,EAAE;EACd,CAAC;EACDR,MAAM,EAAE;IACNY,MAAM,EAAE,EAAE;IACVN,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,UAAU;IACrBM,WAAW,EAAE,IAAI;IACjBC,UAAU,EAAE;EACd;AAEF,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/78295d449e8d0708bed1b8bab54920a4.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/78295d449e8d0708bed1b8bab54920a4.json new file mode 100644 index 00000000..72584956 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/78295d449e8d0708bed1b8bab54920a4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import scaledSheetCreator from \"./lib/ScaledSheet\";\nimport { scale, verticalScale, moderateScale, moderateVerticalScale } from \"./lib/scaling-utils\";\nexport var ScaledSheet = scaledSheetCreator(scale, verticalScale, moderateScale, moderateVerticalScale);\nexport * from \"./lib/scaling-utils\";","map":{"version":3,"names":["scaledSheetCreator","scale","verticalScale","moderateScale","moderateVerticalScale","ScaledSheet"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-size-matters/index.js"],"sourcesContent":["import scaledSheetCreator from './lib/ScaledSheet';\nimport { scale, verticalScale, moderateScale, moderateVerticalScale } from './lib/scaling-utils';\n\nexport const ScaledSheet = scaledSheetCreator(scale, verticalScale, moderateScale, moderateVerticalScale);\nexport * from './lib/scaling-utils';"],"mappings":"AAAA,OAAOA,kBAAkB;AACzB,SAASC,KAAK,EAAEC,aAAa,EAAEC,aAAa,EAAEC,qBAAqB;AAEnE,OAAO,IAAMC,WAAW,GAAGL,kBAAkB,CAACC,KAAK,EAAEC,aAAa,EAAEC,aAAa,EAAEC,qBAAqB,CAAC;AACzG"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/7a2ea4bdba833821a10681cbaa4f98ec.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/7a2ea4bdba833821a10681cbaa4f98ec.json new file mode 100644 index 00000000..3c49615d --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/7a2ea4bdba833821a10681cbaa4f98ec.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nvar Alert = function () {\n function Alert() {\n _classCallCheck(this, Alert);\n }\n _createClass(Alert, null, [{\n key: \"alert\",\n value: function alert() {}\n }]);\n return Alert;\n}();\nexport default Alert;","map":{"version":3,"names":["Alert"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Alert/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nclass Alert {\n static alert() {}\n\n}\n\nexport default Alert;"],"mappings":";;IAQMA,KAAK;EAAA;IAAA;EAAA;EAAA;IAAA;IAAA,OACT,iBAAe,CAAC;EAAC;EAAA;AAAA;AAInB,eAAeA,KAAK"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/7d9cdb94ebdc9d2d2517609eb2e0a7dd.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/7d9cdb94ebdc9d2d2517609eb2e0a7dd.json new file mode 100644 index 00000000..a4f97c4a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/7d9cdb94ebdc9d2d2517609eb2e0a7dd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nvar clipboardAvailable;\nvar Clipboard = function () {\n function Clipboard() {\n _classCallCheck(this, Clipboard);\n }\n _createClass(Clipboard, null, [{\n key: \"isAvailable\",\n value: function isAvailable() {\n if (clipboardAvailable === undefined) {\n clipboardAvailable = typeof document.queryCommandSupported === 'function' && document.queryCommandSupported('copy');\n }\n return clipboardAvailable;\n }\n }, {\n key: \"getString\",\n value: function getString() {\n return Promise.resolve('');\n }\n }, {\n key: \"setString\",\n value: function setString(text) {\n var success = false;\n var body = document.body;\n if (body) {\n var node = document.createElement('span');\n node.textContent = text;\n node.style.opacity = '0';\n node.style.position = 'absolute';\n node.style.whiteSpace = 'pre-wrap';\n node.style.userSelect = 'auto';\n body.appendChild(node);\n var selection = window.getSelection();\n selection.removeAllRanges();\n var range = document.createRange();\n range.selectNodeContents(node);\n selection.addRange(range);\n try {\n document.execCommand('copy');\n success = true;\n } catch (e) {}\n selection.removeAllRanges();\n body.removeChild(node);\n }\n return success;\n }\n }]);\n return Clipboard;\n}();\nexport { Clipboard as default };","map":{"version":3,"names":["clipboardAvailable","Clipboard","undefined","document","queryCommandSupported","Promise","resolve","text","success","body","node","createElement","textContent","style","opacity","position","whiteSpace","userSelect","appendChild","selection","window","getSelection","removeAllRanges","range","createRange","selectNodeContents","addRange","execCommand","e","removeChild"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Clipboard/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar clipboardAvailable;\nexport default class Clipboard {\n static isAvailable() {\n if (clipboardAvailable === undefined) {\n clipboardAvailable = typeof document.queryCommandSupported === 'function' && document.queryCommandSupported('copy');\n }\n\n return clipboardAvailable;\n }\n\n static getString() {\n return Promise.resolve('');\n }\n\n static setString(text) {\n var success = false;\n var body = document.body;\n\n if (body) {\n // add the text to a hidden node\n var node = document.createElement('span');\n node.textContent = text;\n node.style.opacity = '0';\n node.style.position = 'absolute';\n node.style.whiteSpace = 'pre-wrap';\n node.style.userSelect = 'auto';\n body.appendChild(node); // select the text\n\n var selection = window.getSelection();\n selection.removeAllRanges();\n var range = document.createRange();\n range.selectNodeContents(node);\n selection.addRange(range); // attempt to copy\n\n try {\n document.execCommand('copy');\n success = true;\n } catch (e) {} // remove selection and node\n\n\n selection.removeAllRanges();\n body.removeChild(node);\n }\n\n return success;\n }\n\n}"],"mappings":";;AASA,IAAIA,kBAAkB;AAAC,IACFC,SAAS;EAAA;IAAA;EAAA;EAAA;IAAA;IAAA,OAC5B,uBAAqB;MACnB,IAAID,kBAAkB,KAAKE,SAAS,EAAE;QACpCF,kBAAkB,GAAG,OAAOG,QAAQ,CAACC,qBAAqB,KAAK,UAAU,IAAID,QAAQ,CAACC,qBAAqB,CAAC,MAAM,CAAC;MACrH;MAEA,OAAOJ,kBAAkB;IAC3B;EAAC;IAAA;IAAA,OAED,qBAAmB;MACjB,OAAOK,OAAO,CAACC,OAAO,CAAC,EAAE,CAAC;IAC5B;EAAC;IAAA;IAAA,OAED,mBAAiBC,IAAI,EAAE;MACrB,IAAIC,OAAO,GAAG,KAAK;MACnB,IAAIC,IAAI,GAAGN,QAAQ,CAACM,IAAI;MAExB,IAAIA,IAAI,EAAE;QAER,IAAIC,IAAI,GAAGP,QAAQ,CAACQ,aAAa,CAAC,MAAM,CAAC;QACzCD,IAAI,CAACE,WAAW,GAAGL,IAAI;QACvBG,IAAI,CAACG,KAAK,CAACC,OAAO,GAAG,GAAG;QACxBJ,IAAI,CAACG,KAAK,CAACE,QAAQ,GAAG,UAAU;QAChCL,IAAI,CAACG,KAAK,CAACG,UAAU,GAAG,UAAU;QAClCN,IAAI,CAACG,KAAK,CAACI,UAAU,GAAG,MAAM;QAC9BR,IAAI,CAACS,WAAW,CAACR,IAAI,CAAC;QAEtB,IAAIS,SAAS,GAAGC,MAAM,CAACC,YAAY,EAAE;QACrCF,SAAS,CAACG,eAAe,EAAE;QAC3B,IAAIC,KAAK,GAAGpB,QAAQ,CAACqB,WAAW,EAAE;QAClCD,KAAK,CAACE,kBAAkB,CAACf,IAAI,CAAC;QAC9BS,SAAS,CAACO,QAAQ,CAACH,KAAK,CAAC;QAEzB,IAAI;UACFpB,QAAQ,CAACwB,WAAW,CAAC,MAAM,CAAC;UAC5BnB,OAAO,GAAG,IAAI;QAChB,CAAC,CAAC,OAAOoB,CAAC,EAAE,CAAC;QAGbT,SAAS,CAACG,eAAe,EAAE;QAC3Bb,IAAI,CAACoB,WAAW,CAACnB,IAAI,CAAC;MACxB;MAEA,OAAOF,OAAO;IAChB;EAAC;EAAA;AAAA;AAAA,SA5CkBP,SAAS"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/7e89482568eed32a831141adcbc6492f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/7e89482568eed32a831141adcbc6492f.json new file mode 100644 index 00000000..fabb06c9 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/7e89482568eed32a831141adcbc6492f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nexport default function (config, expoFontName, expoAssetId) {\n var glyphMap = {};\n config.icons.forEach(function (icon) {\n icon.properties.name.split(/\\s*,\\s*/g).forEach(function (name) {\n glyphMap[name] = icon.properties.code;\n });\n });\n var fontFamily = expoFontName || config.preferences.fontPref.metadata.fontFamily;\n return createIconSet(glyphMap, fontFamily, expoAssetId || fontFamily + \".ttf\");\n}","map":{"version":3,"sources":["../src/createIconSetFromIcoMoon.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AAEpB,eAAc,UAAW,MAAM,EAAE,YAAY,EAAE,WAAW,EAAA;EACxD,IAAM,QAAQ,GAAG,CAAA,CAAE;EACnB,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,UAAA,IAAI,EAAG;IAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,UAAA,IAAI,EAAG;MACpD,QAAQ,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI;IACvC,CAAC,CAAC;EACJ,CAAC,CAAC;EAEF,IAAM,UAAU,GACd,YAAY,IAAI,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU;EAEjE,OAAO,aAAa,CAClB,QAAQ,EACR,UAAU,EACV,WAAW,IAAO,UAAU,SAAM,CACnC;AACH","sourcesContent":["import createIconSet from \"./createIconSet\";\n\nexport default function (config, expoFontName, expoAssetId) {\n const glyphMap = {};\n config.icons.forEach(icon => {\n icon.properties.name.split(/\\s*,\\s*/g).forEach(name => {\n glyphMap[name] = icon.properties.code;\n });\n });\n\n const fontFamily =\n expoFontName || config.preferences.fontPref.metadata.fontFamily;\n\n return createIconSet(\n glyphMap,\n fontFamily,\n expoAssetId || `${fontFamily}.ttf`\n );\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/7ee2ef746345830883c4f058ab974daf.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/7ee2ef746345830883c4f058ab974daf.json new file mode 100644 index 00000000..9e079903 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/7ee2ef746345830883c4f058ab974daf.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { Asset } from 'expo-asset';\nimport { CodedError } from 'expo-modules-core';\nimport ExpoFontLoader from \"./ExpoFontLoader\";\nimport { FontDisplay } from \"./Font\";\nfunction uriFromFontSource(asset) {\n if (typeof asset === 'string') {\n return asset || null;\n } else if (typeof asset === 'object') {\n return asset.uri || asset.localUri || asset.default || null;\n } else if (typeof asset === 'number') {\n return uriFromFontSource(Asset.fromModule(asset));\n }\n return null;\n}\nfunction displayFromFontSource(asset) {\n return asset.display || FontDisplay.AUTO;\n}\nexport function fontFamilyNeedsScoping(name) {\n return false;\n}\nexport function getAssetForSource(source) {\n var uri = uriFromFontSource(source);\n var display = displayFromFontSource(source);\n if (!uri || typeof uri !== 'string') {\n throwInvalidSourceError(uri);\n }\n return {\n uri: uri,\n display: display\n };\n}\nfunction throwInvalidSourceError(source) {\n var type = typeof source;\n if (type === 'object') type = JSON.stringify(source, null, 2);\n throw new CodedError(\"ERR_FONT_SOURCE\", \"Expected font asset of type `string | FontResource | Asset` instead got: \" + type);\n}\nexport function loadSingleFontAsync(_x, _x2) {\n return _loadSingleFontAsync.apply(this, arguments);\n}\nfunction _loadSingleFontAsync() {\n _loadSingleFontAsync = _asyncToGenerator(function* (name, input) {\n if (typeof input !== 'object' || typeof input.uri !== 'string' || input.downloadAsync) {\n throwInvalidSourceError(input);\n }\n yield ExpoFontLoader.loadAsync(name, input);\n });\n return _loadSingleFontAsync.apply(this, arguments);\n}\nexport function getNativeFontName(name) {\n return name;\n}","map":{"version":3,"sources":["../src/FontLoader.web.ts"],"names":[],"mappings":";AAAA,SAAS,KAAK,QAAQ,YAAY;AAClC,SAAS,UAAU,QAAQ,mBAAmB;AAE9C,OAAO,cAAc;AACrB,SAAS,WAAW;AAGpB,SAAS,iBAAiB,CAAC,KAAU,EAAA;EACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;IAC7B,OAAO,KAAK,IAAI,IAAI;GACrB,MAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;IACpC,OAAO,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,QAAQ,IAAI,KAAK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AC,IAAY,EAAA;EAC5C,OAAO,IAAI;AACb","sourcesContent":["import { Asset } from 'expo-asset';\nimport { CodedError } from 'expo-modules-core';\n\nimport ExpoFontLoader from './ExpoFontLoader';\nimport { FontDisplay } from './Font';\nimport { FontResource, FontSource } from './Font.types';\n\nfunction uriFromFontSource(asset: any): string | null {\n if (typeof asset === 'string') {\n return asset || null;\n } else if (typeof asset === 'object') {\n return asset.uri || asset.localUri || asset.default || null;\n } else if (typeof asset === 'number') {\n return uriFromFontSource(Asset.fromModule(asset));\n }\n return null;\n}\n\nfunction displayFromFontSource(asset: any): FontDisplay | undefined {\n return asset.display || FontDisplay.AUTO;\n}\n\nexport function fontFamilyNeedsScoping(name: string): boolean {\n return false;\n}\n\nexport function getAssetForSource(source: FontSource): Asset | FontResource {\n const uri = uriFromFontSource(source);\n const display = displayFromFontSource(source);\n\n if (!uri || typeof uri !== 'string') {\n throwInvalidSourceError(uri);\n }\n\n return {\n uri: uri!,\n display,\n };\n}\n\nfunction throwInvalidSourceError(source: any): never {\n let type: string = typeof source;\n if (type === 'object') type = JSON.stringify(source, null, 2);\n throw new CodedError(\n `ERR_FONT_SOURCE`,\n `Expected font asset of type \\`string | FontResource | Asset\\` instead got: ${type}`\n );\n}\n\nexport async function loadSingleFontAsync(\n name: string,\n input: Asset | FontResource\n): Promise {\n if (typeof input !== 'object' || typeof input.uri !== 'string' || (input as any).downloadAsync) {\n throwInvalidSourceError(input);\n }\n\n await ExpoFontLoader.loadAsync(name, input);\n}\n\nexport function getNativeFontName(name: string): string {\n return name;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8286b7895c73e66512a7b9d043c3c022.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8286b7895c73e66512a7b9d043c3c022.json new file mode 100644 index 00000000..28b0bd50 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8286b7895c73e66512a7b9d043c3c022.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"children\", \"enabled\", \"onValueChange\", \"selectedValue\", \"style\", \"testID\", \"itemStyle\", \"mode\", \"prompt\"];\nimport * as React from 'react';\nimport createElement from \"../createElement\";\nimport useMergeRefs from \"../../modules/useMergeRefs\";\nimport usePlatformMethods from \"../../modules/usePlatformMethods\";\nimport PickerItem from \"./PickerItem\";\nimport StyleSheet from \"../StyleSheet\";\nvar Picker = React.forwardRef(function (props, forwardedRef) {\n var children = props.children,\n enabled = props.enabled,\n onValueChange = props.onValueChange,\n selectedValue = props.selectedValue,\n style = props.style,\n testID = props.testID,\n itemStyle = props.itemStyle,\n mode = props.mode,\n prompt = props.prompt,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n var hostRef = React.useRef(null);\n function handleChange(e) {\n var _e$target = e.target,\n selectedIndex = _e$target.selectedIndex,\n value = _e$target.value;\n if (onValueChange) {\n onValueChange(value, selectedIndex);\n }\n }\n var supportedProps = _objectSpread({\n children: children,\n disabled: enabled === false ? true : undefined,\n onChange: handleChange,\n style: [styles.initial, style],\n testID: testID,\n value: selectedValue\n }, other);\n var platformMethodsRef = usePlatformMethods(supportedProps);\n var setRef = useMergeRefs(hostRef, platformMethodsRef, forwardedRef);\n supportedProps.ref = setRef;\n return createElement('select', supportedProps);\n});\nPicker.Item = PickerItem;\nvar styles = StyleSheet.create({\n initial: {\n fontFamily: 'System',\n fontSize: 'inherit',\n margin: 0\n }\n});\nexport default Picker;","map":{"version":3,"names":["_objectSpread","_objectWithoutPropertiesLoose","_excluded","React","createElement","useMergeRefs","usePlatformMethods","PickerItem","StyleSheet","Picker","forwardRef","props","forwardedRef","children","enabled","onValueChange","selectedValue","style","testID","itemStyle","mode","prompt","other","hostRef","useRef","handleChange","e","_e$target","target","selectedIndex","value","supportedProps","disabled","undefined","onChange","styles","initial","platformMethodsRef","setRef","ref","Item","create","fontFamily","fontSize","margin"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Picker/index.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"children\", \"enabled\", \"onValueChange\", \"selectedValue\", \"style\", \"testID\", \"itemStyle\", \"mode\", \"prompt\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport createElement from '../createElement';\nimport useMergeRefs from '../../modules/useMergeRefs';\nimport usePlatformMethods from '../../modules/usePlatformMethods';\nimport PickerItem from './PickerItem';\nimport StyleSheet from '../StyleSheet';\nvar Picker = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {\n var children = props.children,\n enabled = props.enabled,\n onValueChange = props.onValueChange,\n selectedValue = props.selectedValue,\n style = props.style,\n testID = props.testID,\n itemStyle = props.itemStyle,\n mode = props.mode,\n prompt = props.prompt,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n var hostRef = React.useRef(null);\n\n function handleChange(e) {\n var _e$target = e.target,\n selectedIndex = _e$target.selectedIndex,\n value = _e$target.value;\n\n if (onValueChange) {\n onValueChange(value, selectedIndex);\n }\n } // $FlowFixMe\n\n\n var supportedProps = _objectSpread({\n children,\n disabled: enabled === false ? true : undefined,\n onChange: handleChange,\n style: [styles.initial, style],\n testID,\n value: selectedValue\n }, other);\n\n var platformMethodsRef = usePlatformMethods(supportedProps);\n var setRef = useMergeRefs(hostRef, platformMethodsRef, forwardedRef);\n supportedProps.ref = setRef;\n return createElement('select', supportedProps);\n}); // $FlowFixMe\n\nPicker.Item = PickerItem;\nvar styles = StyleSheet.create({\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EAGA,IAAIE,cAAc,GAAG/B,aAAa,CAAC;IACjCa,QAAQ,EAARA,QAAQ;IACRmB,QAAQ,EAAElB,OAAO,KAAK,KAAK,GAAG,IAAI,GAAGmB,SAAS;IAC9CC,QAAQ,EAAET,YAAY;IACtBR,KAAK,EAAE,CAACkB,MAAM,CAACC,OAAO,EAAEnB,KAAK,CAAC;IAC9BC,MAAM,EAANA,MAAM;IACNY,KAAK,EAAEd;EACT,CAAC,EAAEM,KAAK,CAAC;EAET,IAAIe,kBAAkB,GAAG/B,kBAAkB,CAACyB,cAAc,CAAC;EAC3D,IAAIO,MAAM,GAAGjC,YAAY,CAACkB,OAAO,EAAEc,kBAAkB,EAAEzB,YAAY,CAAC;EACpEmB,cAAc,CAACQ,GAAG,GAAGD,MAAM;EAC3B,OAAOlC,aAAa,CAAC,QAAQ,EAAE2B,cAAc,CAAC;AAChD,CAAC,CAAC;AAEFtB,MAAM,CAAC+B,IAAI,GAAGjC,UAAU;AACxB,IAAI4B,MAAM,GAAG3B,UAAU,CAACiC,MAAM,CAAC;EAC7BL,OAAO,EAAE;IACPM,UAAU,EAAE,QAAQ;IACpBC,QAAQ,EAAE,SAAS;IACnBC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AACF,eAAenC,MAAM"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/82a6500cacc7125f7195b66ea317b30b.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/82a6500cacc7125f7195b66ea317b30b.json new file mode 100644 index 00000000..4895140c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/82a6500cacc7125f7195b66ea317b30b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { configureStore } from '@reduxjs/toolkit';\nimport appReducer from \"./reducers/appReducer\";\nvar reducer = {\n appReducer: appReducer\n};\nvar store = configureStore({\n reducer: reducer\n});\nexport default store;","map":{"version":3,"names":["configureStore","appReducer","reducer","store"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/store.ts"],"sourcesContent":["import {configureStore} from '@reduxjs/toolkit'\nimport appReducer from './reducers/appReducer';\n\n// Reference here all your application reducers\nconst reducer = {\n appReducer: appReducer,\n}\n\n// @ts-ignore\nconst store = configureStore({\n reducer,\n},);\n\nexport default store;"],"mappings":"AAAA,SAAQA,cAAc,QAAO,kBAAkB;AAC/C,OAAOC,UAAU;AAGjB,IAAMC,OAAO,GAAG;EACdD,UAAU,EAAEA;AACd,CAAC;AAGD,IAAME,KAAK,GAAGH,cAAc,CAAC;EACzBE,OAAO,EAAPA;AACJ,CAAC,CAAE;AAEH,eAAeC,KAAK"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8348b22700aff6e501fbc38e5c54ed2e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8348b22700aff6e501fbc38e5c54ed2e.json new file mode 100644 index 00000000..8ff83218 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8348b22700aff6e501fbc38e5c54ed2e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Fontisto.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Fontisto.json\";\nvar iconSet = createIconSet(glyphMap, \"Fontisto\", font);\nexport default iconSet;","map":{"version":3,"sources":["../src/Fontisto.ts"],"names":[],"mappings":"AAKA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,IAAM,OAAO,GAAG,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC;AAEzD,eAAe,OAAO","sourcesContent":["/**\n * Feather icon set component.\n * Usage: \n */\n\nimport createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Fontisto.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Fontisto.json\";\n\nconst iconSet = createIconSet(glyphMap, \"Fontisto\", font);\n\nexport default iconSet;\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/84a180567d13da4288cbf7286912c03c.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/84a180567d13da4288cbf7286912c03c.json new file mode 100644 index 00000000..9ccb8b9c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/84a180567d13da4288cbf7286912c03c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Fontisto.json\";\nvar iconSet = createIconSet(glyphMap, 'Fontisto', 'Fontisto.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Fontisto.js"],"sourcesContent":["/**\n * Fontisto icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Fontisto.json';\n\nconst iconSet = createIconSet(glyphMap, 'Fontisto', 'Fontisto.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC;AAEnE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/854e19772e5ec05975bfe904aed5855b.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/854e19772e5ec05975bfe904aed5855b.json new file mode 100644 index 00000000..ffc06a66 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/854e19772e5ec05975bfe904aed5855b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import React from 'react';\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { SafeAreaProvider } from 'react-native-safe-area-context';\nimport TabNavigation from \"./navigation/TabNavigation\";\nimport store from \"./redux/store\";\nimport { Provider } from 'react-redux';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function App() {\n return _jsx(Provider, {\n store: store,\n children: _jsx(SafeAreaProvider, {\n style: styles.container,\n children: _jsx(TabNavigation, {})\n })\n });\n}\nvar styles = StyleSheet.create({\n container: {\n flex: 1,\n height: \"100%\",\n backgroundColor: '#fff'\n }\n});","map":{"version":3,"names":["React","SafeAreaProvider","TabNavigation","store","Provider","App","styles","container","StyleSheet","create","flex","height","backgroundColor"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/App.tsx"],"sourcesContent":["import { StatusBar } from 'expo-status-bar';\nimport React from 'react';\nimport { SafeAreaView, StyleSheet, Text, View } from 'react-native';\nimport { useSafeAreaInsets, SafeAreaProvider } from 'react-native-safe-area-context';\nimport TabNavigation from './navigation/TabNavigation';\nimport CityList from './screens/CityList';\nimport store from \"./redux/store\";\nimport { Provider } from 'react-redux';\n\n\n\nexport default function App() {\n return (\n \n \n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n height: \"100%\",\n backgroundColor: '#fff',\n //alignItems: 'center',\n //justifyContent: 'center',\n },\n});\n"],"mappings":"AACA,OAAOA,KAAK,MAAM,OAAO;AAAC;AAE1B,SAA4BC,gBAAgB,QAAQ,gCAAgC;AACpF,OAAOC,aAAa;AAEpB,OAAOC,KAAK;AACZ,SAASC,QAAQ,QAAQ,aAAa;AAAC;AAIvC,eAAe,SAASC,GAAG,GAAG;EAC5B,OACE,KAAC,QAAQ;IAAC,KAAK,EAAEF,KAAM;IAAA,UACrB,KAAC,gBAAgB;MAAC,KAAK,EAAEG,MAAM,CAACC,SAAU;MAAA,UACxC,KAAC,aAAa;IAAE;EACC,EACV;AAEf;AAEA,IAAMD,MAAM,GAAGE,UAAU,CAACC,MAAM,CAAC;EAC/BF,SAAS,EAAE;IACTG,IAAI,EAAE,CAAC;IACPC,MAAM,EAAE,MAAM;IACdC,eAAe,EAAE;EAGnB;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8589d64768cfe9fae35c8ac1c5356777.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8589d64768cfe9fae35c8ac1c5356777.json new file mode 100644 index 00000000..6ed23398 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8589d64768cfe9fae35c8ac1c5356777.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport _ from \"lodash\";\nimport React, { useState, useEffect } from \"react\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Star from \"./components/Star\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nvar TapRating = function TapRating(props) {\n var _useState = useState(props.defaultRating),\n _useState2 = _slicedToArray(_useState, 2),\n position = _useState2[0],\n setPosition = _useState2[1];\n useEffect(function () {\n var defaultRating = props.defaultRating;\n if (defaultRating === null || defaultRating === undefined) {\n setPosition(3);\n } else {\n setPosition(defaultRating);\n }\n }, [props.defaultRating]);\n var renderStars = function renderStars(rating_array) {\n return _.map(rating_array, function (star) {\n return star;\n });\n };\n var _starSelectedInPosition = function starSelectedInPosition(position) {\n var onFinishRating = props.onFinishRating;\n if (typeof onFinishRating === \"function\") {\n onFinishRating(position);\n }\n setPosition(position);\n };\n var count = props.count,\n reviews = props.reviews,\n showRating = props.showRating,\n reviewColor = props.reviewColor,\n reviewSize = props.reviewSize;\n var rating_array = [];\n var starContainerStyle = [styles.starContainer];\n if (props.starContainerStyle) {\n starContainerStyle.push(props.starContainerStyle);\n }\n var ratingContainerStyle = [styles.ratingContainer];\n if (props.ratingContainerStyle) {\n ratingContainerStyle.push(props.ratingContainerStyle);\n }\n _.times(count, function (index) {\n rating_array.push(_jsx(Star, _objectSpread({\n position: index + 1,\n starSelectedInPosition: function starSelectedInPosition(value) {\n _starSelectedInPosition(value);\n },\n fill: position >= index + 1\n }, props), index));\n });\n return _jsxs(View, {\n style: ratingContainerStyle,\n children: [showRating && _jsx(Text, {\n style: [styles.reviewText, {\n fontSize: reviewSize,\n color: reviewColor\n }],\n children: reviews[position - 1]\n }), _jsx(View, {\n style: starContainerStyle,\n children: renderStars(rating_array)\n })]\n });\n};\nTapRating.defaultProps = {\n defaultRating: 3,\n reviews: [\"Terrible\", \"Bad\", \"Okay\", \"Good\", \"Great\"],\n count: 5,\n showRating: true,\n reviewColor: \"rgba(230, 196, 46, 1)\",\n reviewSize: 25\n};\nvar styles = StyleSheet.create({\n ratingContainer: {\n backgroundColor: \"transparent\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n reviewText: {\n fontWeight: \"bold\",\n margin: 10\n },\n starContainer: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\"\n }\n});\nexport default TapRating;","map":{"version":3,"names":["_","React","useState","useEffect","Star","TapRating","props","defaultRating","position","setPosition","undefined","renderStars","rating_array","map","star","starSelectedInPosition","onFinishRating","count","reviews","showRating","reviewColor","reviewSize","starContainerStyle","styles","starContainer","push","ratingContainerStyle","ratingContainer","times","index","value","reviewText","fontSize","color","defaultProps","StyleSheet","create","backgroundColor","flexDirection","alignItems","justifyContent","fontWeight","margin"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-ratings/dist/TapRating.js"],"sourcesContent":["import _ from \"lodash\";\nimport React, { useState, useEffect } from \"react\";\nimport { StyleSheet, Text, View } from \"react-native\";\nimport Star from \"./components/Star\";\nconst TapRating = props => {\n const [position, setPosition] = useState(props.defaultRating);\n useEffect(() => {\n const { defaultRating } = props;\n if (defaultRating === null || defaultRating === undefined) {\n setPosition(3);\n }\n else {\n setPosition(defaultRating);\n }\n }, [props.defaultRating]);\n const renderStars = rating_array => {\n return _.map(rating_array, star => {\n return star;\n });\n };\n const starSelectedInPosition = position => {\n const { onFinishRating } = props;\n if (typeof onFinishRating === \"function\") {\n onFinishRating(position);\n }\n setPosition(position);\n };\n const { count, reviews, showRating, reviewColor, reviewSize } = props;\n const rating_array = [];\n const starContainerStyle = [styles.starContainer];\n if (props.starContainerStyle) {\n starContainerStyle.push(props.starContainerStyle);\n }\n const ratingContainerStyle = [styles.ratingContainer];\n if (props.ratingContainerStyle) {\n ratingContainerStyle.push(props.ratingContainerStyle);\n }\n _.times(count, index => {\n rating_array.push( {\n starSelectedInPosition(value);\n }} fill={position >= index + 1} {...props}/>);\n });\n return (\n {showRating &&\n \n {reviews[position - 1]}\n }\n {renderStars(rating_array)}\n );\n};\nTapRating.defaultProps = {\n defaultRating: 3,\n reviews: [\"Terrible\", \"Bad\", \"Okay\", \"Good\", \"Great\"],\n count: 5,\n showRating: true,\n reviewColor: \"rgba(230, 196, 46, 1)\",\n reviewSize: 25\n};\nconst styles = StyleSheet.create({\n ratingContainer: {\n backgroundColor: \"transparent\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n reviewText: {\n fontWeight: \"bold\",\n margin: 10\n },\n starContainer: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\"\n }\n});\nexport default TapRating;\n"],"mappings":";;;;AAAA,OAAOA,CAAC,MAAM,QAAQ;AACtB,OAAOC,KAAK,IAAIC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAAC;AAAA;AAAA;AAEnD,OAAOC,IAAI;AAA0B;AAAA;AACrC,IAAMC,SAAS,GAAG,SAAZA,SAAS,CAAGC,KAAK,EAAI;EACvB,gBAAgCJ,QAAQ,CAACI,KAAK,CAACC,aAAa,CAAC;IAAA;IAAtDC,QAAQ;IAAEC,WAAW;EAC5BN,SAAS,CAAC,YAAM;IACZ,IAAQI,aAAa,GAAKD,KAAK,CAAvBC,aAAa;IACrB,IAAIA,aAAa,KAAK,IAAI,IAAIA,aAAa,KAAKG,SAAS,EAAE;MACvDD,WAAW,CAAC,CAAC,CAAC;IAClB,CAAC,MACI;MACDA,WAAW,CAACF,aAAa,CAAC;IAC9B;EACJ,CAAC,EAAE,CAACD,KAAK,CAACC,aAAa,CAAC,CAAC;EACzB,IAAMI,WAAW,GAAG,SAAdA,WAAW,CAAGC,YAAY,EAAI;IAChC,OAAOZ,CAAC,CAACa,GAAG,CAACD,YAAY,EAAE,UAAAE,IAAI,EAAI;MAC/B,OAAOA,IAAI;IACf,CAAC,CAAC;EACN,CAAC;EACD,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P,UAAU,IACL,KAAC,IAAI;MAAC,KAAK,EAAE,CACLI,MAAM,CAACQ,UAAU,EACjB;QAAEC,QAAQ,EAAEX,UAAU;QAAEY,KAAK,EAAEb;MAAY,CAAC,CAC9C;MAAA,UACPF,OAAO,CAACV,QAAQ,GAAG,CAAC;IAAC,EACjB,EACT,KAAC,IAAI;MAAC,KAAK,EAAEc,kBAAmB;MAAA,UAAEX,WAAW,CAACC,YAAY;IAAC,EAAQ;EAAA,EAC9D;AACX,CAAC;AACDP,SAAS,CAAC6B,YAAY,GAAG;EACrB3B,aAAa,EAAE,CAAC;EAChBW,OAAO,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;EACrDD,KAAK,EAAE,CAAC;EACRE,UAAU,EAAE,IAAI;EAChBC,WAAW,EAAE,uBAAuB;EACpCC,UAAU,EAAE;AAChB,CAAC;AACD,IAAME,MAAM,GAAGY,UAAU,CAACC,MAAM,CAAC;EAC7BT,eAAe,EAAE;IACbU,eAAe,EAAE,aAAa;IAC9BC,aAAa,EAAE,QAAQ;IACvBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EACpB,CAAC;EACDT,UAAU,EAAE;IACRU,UAAU,EAAE,MAAM;IAClBC,MAAM,EAAE;EACZ,CAAC;EACDlB,aAAa,EAAE;IACXc,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EACpB;AACJ,CAAC,CAAC;AACF,eAAenC,SAAS"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/87a6c25589d8bcd75ddaddf103b514cb.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/87a6c25589d8bcd75ddaddf103b514cb.json new file mode 100644 index 00000000..0e2fcfce --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/87a6c25589d8bcd75ddaddf103b514cb.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Zocial.json\";\nvar iconSet = createIconSet(glyphMap, 'zocial', 'Zocial.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Zocial.js"],"sourcesContent":["/**\n * Zocial icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Zocial.json';\n\nconst iconSet = createIconSet(glyphMap, 'zocial', 'Zocial.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,QAAQ,EAAE,YAAY,CAAC;AAE/D,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8acd25fcb7066842fe41d575ae54423e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8acd25fcb7066842fe41d575ae54423e.json new file mode 100644 index 00000000..3fc2cc0f --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8acd25fcb7066842fe41d575ae54423e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport canUseDOM from \"../../modules/canUseDom\";\nfunction ModalPortal(props) {\n var children = props.children;\n var elementRef = React.useRef(null);\n if (canUseDOM && !elementRef.current) {\n var element = document.createElement('div');\n if (element && document.body) {\n document.body.appendChild(element);\n elementRef.current = element;\n }\n }\n React.useEffect(function () {\n if (canUseDOM) {\n return function () {\n if (document.body && elementRef.current) {\n document.body.removeChild(elementRef.current);\n elementRef.current = null;\n }\n };\n }\n }, []);\n return elementRef.current && canUseDOM ? ReactDOM.createPortal(children, elementRef.current) : null;\n}\nexport default ModalPortal;","map":{"version":3,"names":["React","ReactDOM","canUseDOM","ModalPortal","props","children","elementRef","useRef","current","element","document","createElement","body","appendChild","useEffect","removeChild","createPortal"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Modal/ModalPortal.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport ReactDOM from 'react-dom';\nimport canUseDOM from '../../modules/canUseDom';\n\nfunction ModalPortal(props) {\n var children = props.children;\n var elementRef = React.useRef(null);\n\n if (canUseDOM && !elementRef.current) {\n var element = document.createElement('div');\n\n if (element && document.body) {\n document.body.appendChild(element);\n elementRef.current = element;\n }\n }\n\n React.useEffect(() => {\n if (canUseDOM) {\n return () => {\n if (document.body && elementRef.current) {\n document.body.removeChild(elementRef.current);\n elementRef.current = null;\n }\n };\n }\n }, []);\n return elementRef.current && canUseDOM ? /*#__PURE__*/ReactDOM.createPortal(children, elementRef.current) : null;\n}\n\nexport default ModalPortal;"],"mappings":"AASA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,QAAQ,MAAM,WAAW;AAChC,OAAOC,SAAS;AAEhB,SAASC,WAAW,CAACC,KAAK,EAAE;EAC1B,IAAIC,QAAQ,GAAGD,KAAK,CAACC,QAAQ;EAC7B,IAAIC,UAAU,GAAGN,KAAK,CAACO,MAAM,CAAC,IAAI,CAAC;EAEnC,IAAIL,SAAS,IAAI,CAACI,UAAU,CAACE,OAAO,EAAE;IACpC,IAAIC,OAAO,GAAGC,QAAQ,CAACC,aAAa,CAAC,KAAK,CAAC;IAE3C,IAAIF,OAAO,IAAIC,QAAQ,CAACE,IAAI,EAAE;MAC5BF,QAAQ,CAACE,IAAI,CAACC,WAAW,CAACJ,OAAO,CAAC;MAClCH,UAAU,CAACE,OAAO,GAAGC,OAAO;IAC9B;EACF;EAEAT,KAAK,CAACc,SAAS,CAAC,YAAM;IACpB,IAAIZ,SAAS,EAAE;MACb,OAAO,YAAM;QACX,IAAIQ,QAAQ,CAACE,IAAI,IAAIN,UAAU,CAACE,OAAO,EAAE;UACvCE,QAAQ,CAACE,IAAI,CAACG,WAAW,CAACT,UAAU,CAACE,OAAO,CAAC;UAC7CF,UAAU,CAACE,OAAO,GAAG,IAAI;QAC3B;MACF,CAAC;IACH;EACF,CAAC,EAAE,EAAE,CAAC;EACN,OAAOF,UAAU,CAACE,OAAO,IAAIN,SAAS,GAAgBD,QAAQ,CAACe,YAAY,CAACX,QAAQ,EAAEC,UAAU,CAACE,OAAO,CAAC,GAAG,IAAI;AAClH;AAEA,eAAeL,WAAW"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8d83f1749e65d590399a2100c439c8ac.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8d83f1749e65d590399a2100c439c8ac.json new file mode 100644 index 00000000..ea4b8187 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8d83f1749e65d590399a2100c439c8ac.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Entypo.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Entypo.json\";\nexport default createIconSet(glyphMap, 'entypo', font);","map":{"version":3,"sources":["../src/Entypo.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Entypo.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Entypo.json';\n\nexport default createIconSet(glyphMap, 'entypo', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8e4a527d0b24c921b7b780c886fa357e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8e4a527d0b24c921b7b780c886fa357e.json new file mode 100644 index 00000000..f4b1222a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8e4a527d0b24c921b7b780c886fa357e.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nimport Platform from \"../../../exports/Platform\";\nimport UIManager from \"../../../exports/UIManager\";\nvar __DEV__ = process.env.NODE_ENV !== 'production';\nfunction configureNext(config, onAnimationDidEnd) {\n if (!Platform.isTesting) {\n UIManager.configureNextLayoutAnimation(config, onAnimationDidEnd !== null && onAnimationDidEnd !== void 0 ? onAnimationDidEnd : function () {}, function () {});\n }\n}\nfunction create(duration, type, property) {\n return {\n duration: duration,\n create: {\n type: type,\n property: property\n },\n update: {\n type: type\n },\n delete: {\n type: type,\n property: property\n }\n };\n}\nvar Presets = {\n easeInEaseOut: create(300, 'easeInEaseOut', 'opacity'),\n linear: create(500, 'linear', 'opacity'),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity'\n },\n update: {\n type: 'spring',\n springDamping: 0.4\n },\n delete: {\n type: 'linear',\n property: 'opacity'\n }\n }\n};\nvar LayoutAnimation = {\n configureNext: configureNext,\n create: create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard'\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY'\n }),\n checkConfig: function checkConfig() {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n Presets: Presets,\n easeInEaseOut: configureNext.bind(null, Presets.easeInEaseOut),\n linear: configureNext.bind(null, Presets.linear),\n spring: configureNext.bind(null, Presets.spring)\n};\nexport default LayoutAnimation;","map":{"version":3,"names":["Platform","UIManager","__DEV__","process","env","NODE_ENV","configureNext","config","onAnimationDidEnd","isTesting","configureNextLayoutAnimation","create","duration","type","property","update","delete","Presets","easeInEaseOut","linear","spring","springDamping","LayoutAnimation","Types","Object","freeze","easeIn","easeOut","keyboard","Properties","opacity","scaleX","scaleY","scaleXY","checkConfig","console","error","bind"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/vendor/react-native/LayoutAnimation/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport Platform from '../../../exports/Platform';\nimport UIManager from '../../../exports/UIManager';\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nfunction configureNext(config, onAnimationDidEnd) {\n if (!Platform.isTesting) {\n UIManager.configureNextLayoutAnimation(config, onAnimationDidEnd !== null && onAnimationDidEnd !== void 0 ? onAnimationDidEnd : function () {}, function () {}\n /* unused onError */\n );\n }\n}\n\nfunction create(duration, type, property) {\n return {\n duration,\n create: {\n type,\n property\n },\n update: {\n type\n },\n delete: {\n type,\n property\n }\n };\n}\n\nvar Presets = {\n easeInEaseOut: create(300, 'easeInEaseOut', 'opacity'),\n linear: create(500, 'linear', 'opacity'),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity'\n },\n update: {\n type: 'spring',\n springDamping: 0.4\n },\n delete: {\n type: 'linear',\n property: 'opacity'\n }\n }\n};\n/**\n * Automatically animates views to their new positions when the\n * next layout happens.\n *\n * A common way to use this API is to call it before calling `setState`.\n *\n * Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:\n *\n * UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);\n */\n\nvar LayoutAnimation = {\n /**\n * Schedules an animation to happen on the next layout.\n *\n * @param config Specifies animation properties:\n *\n * - `duration` in milliseconds\n * - `create`, `AnimationConfig` for animating in new views\n * - `update`, `AnimationConfig` for animating views that have been updated\n *\n * @param onAnimationDidEnd Called when the animation finished.\n * Only supported on iOS.\n * @param onError Called on error. Only supported on iOS.\n */\n configureNext,\n\n /**\n * Helper for creating a config for `configureNext`.\n */\n create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard'\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY'\n }),\n\n checkConfig() {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n\n Presets,\n easeInEaseOut: configureNext.bind(null, Presets.easeInEaseOut),\n linear: configureNext.bind(null, Presets.linear),\n spring: configureNext.bind(null, Presets.spring)\n};\nexport default LayoutAnimation;"],"mappings":"AASA,YAAY;;AAEZ,OAAOA,QAAQ;AACf,OAAOC,SAAS;AAEhB,IAAIC,OAAO,GAAGC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY;AAEnD,SAASC,aAAa,CAACC,MAAM,EAAEC,iBAAiB,EAAE;EAChD,IAAI,CAACR,QAAQ,CAACS,SAAS,EAAE;IACvBR,SAAS,CAACS,4BAA4B,CAACH,MAAM,EAAEC,iBAAiB,KAAK,IAAI,IAAIA,iBAAiB,KAAK,KAAK,CAAC,GAAGA,iB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Q;IAChBC,OAAO,EAAE;EACX,CAAC,CAAC;EAEFC,WAAW,yBAAG;IACZC,OAAO,CAACC,KAAK,CAAC,qDAAqD,CAAC;EACtE,CAAC;EAEDnB,OAAO,EAAPA,OAAO;EACPC,aAAa,EAAEZ,aAAa,CAAC+B,IAAI,CAAC,IAAI,EAAEpB,OAAO,CAACC,aAAa,CAAC;EAC9DC,MAAM,EAAEb,aAAa,CAAC+B,IAAI,CAAC,IAAI,EAAEpB,OAAO,CAACE,MAAM,CAAC;EAChDC,MAAM,EAAEd,aAAa,CAAC+B,IAAI,CAAC,IAAI,EAAEpB,OAAO,CAACG,MAAM;AACjD,CAAC;AACD,eAAeE,eAAe"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/8eb3ea090c749b4bb391208351669135.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/8eb3ea090c749b4bb391208351669135.json new file mode 100644 index 00000000..ed775c90 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/8eb3ea090c749b4bb391208351669135.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport { Platform, UnavailabilityError } from 'expo-modules-core';\nimport invariant from 'invariant';\nimport Dimensions from \"react-native-web/dist/exports/Dimensions\";\nfunction getBasePath(_ref) {\n var httpServerLocation = _ref.httpServerLocation;\n if (httpServerLocation[0] === '/') {\n return httpServerLocation.substr(1);\n }\n return httpServerLocation;\n}\nfunction getScale() {\n return Dimensions.get('window').scale;\n}\nfunction getScaledAssetPath(asset) {\n var scale = AssetSourceResolver.pickScale(asset.scales, getScale());\n var scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n var assetDir = getBasePath(asset);\n return assetDir + '/' + asset.name + scaleSuffix + (asset.type ? \".\" + asset.type : '');\n}\nvar AssetSourceResolver = function () {\n function AssetSourceResolver(serverUrl, jsbundleUrl, asset) {\n _classCallCheck(this, AssetSourceResolver);\n this.serverUrl = serverUrl;\n this.jsbundleUrl = jsbundleUrl;\n this.asset = asset;\n }\n _createClass(AssetSourceResolver, [{\n key: \"isLoadedFromServer\",\n value: function isLoadedFromServer() {\n return !!this.serverUrl;\n }\n }, {\n key: \"isLoadedFromFileSystem\",\n value: function isLoadedFromFileSystem() {\n return !!(this.jsbundleUrl && this.jsbundleUrl.startsWith('file://'));\n }\n }, {\n key: \"defaultAsset\",\n value: function defaultAsset() {\n if (this.isLoadedFromServer()) {\n return this.assetServerURL();\n }\n return this.scaledAssetURLNearBundle();\n }\n }, {\n key: \"assetServerURL\",\n value: function assetServerURL() {\n invariant(!!this.serverUrl, 'need server to load from');\n return this.fromSource(this.serverUrl + getScaledAssetPath(this.asset) + '?platform=' + Platform.OS + '&hash=' + this.asset.hash);\n }\n }, {\n key: \"scaledAssetPath\",\n value: function scaledAssetPath() {\n return this.fromSource(getScaledAssetPath(this.asset));\n }\n }, {\n key: \"scaledAssetURLNearBundle\",\n value: function scaledAssetURLNearBundle() {\n var path = this.jsbundleUrl || '';\n return this.fromSource(path + getScaledAssetPath(this.asset));\n }\n }, {\n key: \"resourceIdentifierWithoutScale\",\n value: function resourceIdentifierWithoutScale() {\n throw new UnavailabilityError('react-native', 'resourceIdentifierWithoutScale()');\n }\n }, {\n key: \"drawableFolderInBundle\",\n value: function drawableFolderInBundle() {\n throw new UnavailabilityError('react-native', 'drawableFolderInBundle()');\n }\n }, {\n key: \"fromSource\",\n value: function fromSource(source) {\n return {\n __packager_asset: true,\n width: this.asset.width,\n height: this.asset.height,\n uri: source,\n scale: AssetSourceResolver.pickScale(this.asset.scales, getScale())\n };\n }\n }], [{\n key: \"pickScale\",\n value: function pickScale(scales, deviceScale) {\n for (var i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n return scales[scales.length - 1] || 1;\n }\n }]);\n return AssetSourceResolver;\n}();\nexport { AssetSourceResolver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I,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE;OACnE;IACH;EAAC;IAAA;IAAA,OAED,mBAAiB,MAAgB,EAAE,WAAmB,EAAA;MACpD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACtC,IAAI,MAAM,CAAC,CAAC,CAAC,IAAI,WAAW,EAAE;UAC5B,OAAO,MAAM,CAAC,CAAC,CAAC;QACjB;MACF;MACD,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC;IACvC;EAAC;EAAA;AAAA;AAAA,SAtEkB,mBAAmB","sourcesContent":["import { Platform, UnavailabilityError } from 'expo-modules-core';\nimport invariant from 'invariant';\nimport { Dimensions } from 'react-native';\n\ntype PackagerAsset = {\n __packager_asset: boolean;\n fileSystemLocation: string;\n httpServerLocation: string;\n width?: number;\n height?: number;\n scales: number[];\n hash: string;\n name: string;\n type: string;\n};\n\nfunction getBasePath({ httpServerLocation }: PackagerAsset): string {\n if (httpServerLocation[0] === '/') {\n return httpServerLocation.substr(1);\n }\n return httpServerLocation;\n}\n\nexport type ResolvedAssetSource = {\n __packager_asset: boolean;\n width?: number;\n height?: number;\n uri: string;\n scale: number;\n};\n\nfunction getScale(): number {\n return Dimensions.get('window').scale;\n}\n\nfunction getScaledAssetPath(asset): string {\n const scale = AssetSourceResolver.pickScale(asset.scales, getScale());\n const scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n const assetDir = getBasePath(asset);\n return assetDir + '/' + asset.name + scaleSuffix + (asset.type ? `.${asset.type}` : '');\n}\n\nexport default class AssetSourceResolver {\n serverUrl?: string | null;\n // where the jsbundle is being run from\n jsbundleUrl?: string | null;\n // the asset to resolve\n asset: PackagerAsset;\n\n constructor(\n serverUrl: string | undefined | null,\n jsbundleUrl: string | undefined | null,\n asset: PackagerAsset\n ) {\n this.serverUrl = serverUrl;\n this.jsbundleUrl = jsbundleUrl;\n this.asset = asset;\n }\n isLoadedFromServer(): boolean {\n return !!this.serverUrl;\n }\n isLoadedFromFileSystem(): boolean {\n return !!(this.jsbundleUrl && this.jsbundleUrl.startsWith('file://'));\n }\n defaultAsset(): ResolvedAssetSource {\n if (this.isLoadedFromServer()) {\n return this.assetServerURL();\n }\n\n return this.scaledAssetURLNearBundle();\n }\n assetServerURL(): ResolvedAssetSource {\n invariant(!!this.serverUrl, 'need server to load from');\n return this.fromSource(\n this.serverUrl +\n getScaledAssetPath(this.asset) +\n '?platform=' +\n Platform.OS +\n '&hash=' +\n this.asset.hash\n );\n }\n scaledAssetPath(): ResolvedAssetSource {\n return this.fromSource(getScaledAssetPath(this.asset));\n }\n scaledAssetURLNearBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || '';\n return this.fromSource(path + getScaledAssetPath(this.asset));\n }\n resourceIdentifierWithoutScale(): ResolvedAssetSource {\n throw new UnavailabilityError('react-native', 'resourceIdentifierWithoutScale()');\n }\n drawableFolderInBundle(): ResolvedAssetSource {\n throw new UnavailabilityError('react-native', 'drawableFolderInBundle()');\n }\n fromSource(source: string): ResolvedAssetSource {\n return {\n __packager_asset: true,\n width: this.asset.width,\n height: this.asset.height,\n uri: source,\n scale: AssetSourceResolver.pickScale(this.asset.scales, getScale()),\n };\n }\n\n static pickScale(scales: number[], deviceScale: number): number {\n for (let i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n return scales[scales.length - 1] || 1;\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/9156f1f2a6a134179f7cc1ad1f3ad294.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/9156f1f2a6a134179f7cc1ad1f3ad294.json new file mode 100644 index 00000000..0419380e --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/9156f1f2a6a134179f7cc1ad1f3ad294.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { useLocaleContext } from \"../../modules/useLocale\";\nexport default useLocaleContext;","map":{"version":3,"names":["useLocaleContext"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/useLocaleContext/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { useLocaleContext } from '../../modules/useLocale';\nexport default useLocaleContext;"],"mappings":"AAQA,SAASA,gBAAgB;AACzB,eAAeA,gBAAgB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/92265e8b309da9177f5a0632a46bf965.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/92265e8b309da9177f5a0632a46bf965.json new file mode 100644 index 00000000..82855281 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/92265e8b309da9177f5a0632a46bf965.json @@ -0,0 +1 @@ +{"ast":null,"code":"import mergeOptions from 'merge-options';\nvar merge = mergeOptions.bind({\n concatArrays: true,\n ignoreUndefined: true\n});\nfunction mergeLocalStorageItem(key, value) {\n var oldValue = window.localStorage.getItem(key);\n if (oldValue) {\n var oldObject = JSON.parse(oldValue);\n var newObject = JSON.parse(value);\n var nextValue = JSON.stringify(merge(oldObject, newObject));\n window.localStorage.setItem(key, nextValue);\n } else {\n window.localStorage.setItem(key, value);\n }\n}\nfunction createPromise(getValue, callback) {\n return new Promise(function (resolve, reject) {\n try {\n var value = getValue();\n callback === null || callback === void 0 ? void 0 : callback(null, value);\n resolve(value);\n } catch (err) {\n callback === null || callback === void 0 ? void 0 : callback(err);\n reject(err);\n }\n });\n}\nfunction createPromiseAll(promises, callback, processResult) {\n return Promise.all(promises).then(function (result) {\n var _ref;\n var value = (_ref = processResult === null || processResult === void 0 ? void 0 : processResult(result)) != null ? _ref : null;\n callback === null || callback === void 0 ? void 0 : callback(null, value);\n return Promise.resolve(value);\n }, function (errors) {\n callback === null || callback === void 0 ? void 0 : callback(errors);\n return Promise.reject(errors);\n });\n}\nvar AsyncStorage = {\n getItem: function getItem(key, callback) {\n return createPromise(function () {\n return window.localStorage.getItem(key);\n }, callback);\n },\n setItem: function setItem(key, value, callback) {\n return createPromise(function () {\n return window.localStorage.setItem(key, value);\n }, callback);\n },\n removeItem: function removeItem(key, callback) {\n return createPromise(function () {\n return window.localStorage.removeItem(key);\n }, callback);\n },\n mergeItem: function mergeItem(key, value, callback) {\n return createPromise(function () {\n return mergeLocalStorageItem(key, value);\n }, callback);\n },\n clear: function clear(callback) {\n return createPromise(function () {\n return window.localStorage.clear();\n }, callback);\n },\n getAllKeys: function getAllKeys(callback) {\n return createPromise(function () {\n var numberOfKeys = window.localStorage.length;\n var keys = [];\n for (var i = 0; i < numberOfKeys; i += 1) {\n var key = window.localStorage.key(i) || '';\n keys.push(key);\n }\n return keys;\n }, callback);\n },\n flushGetRequests: function flushGetRequests() {\n return undefined;\n },\n multiGet: function multiGet(keys, callback) {\n var promises = keys.map(function (key) {\n return AsyncStorage.getItem(key);\n });\n var processResult = function processResult(result) {\n return result.map(function (value, i) {\n return [keys[i], value];\n });\n };\n return createPromiseAll(promises, callback, processResult);\n },\n multiSet: function multiSet(keyValuePairs, callback) {\n var promises = keyValuePairs.map(function (item) {\n return AsyncStorage.setItem(item[0], item[1]);\n });\n return createPromiseAll(promises, callback);\n },\n multiRemove: function multiRemove(keys, callback) {\n var promises = keys.map(function (key) {\n return AsyncStorage.removeItem(key);\n });\n return createPromiseAll(promises, callback);\n },\n multiMerge: function multiMerge(keyValuePairs, callback) {\n var promises = keyValuePairs.map(function (item) {\n return AsyncStorage.mergeItem(item[0], item[1]);\n });\n return createPromiseAll(promises, callback);\n }\n};\nexport default AsyncStorage;","map":{"version":3,"sources":["AsyncStorage.ts"],"names":["mergeOptions","merge","bind","concatArrays","ignoreUndefined","mergeLocalStorageItem","key","value","oldValue","window","localStorage","getItem","oldObject","JSON","parse","newObject","nextValue","stringify","setItem","createPromise","getValue","callback","Promise","resolve","reject","err","createPromiseAll","promises","processResult","all","then","result","errors","AsyncStorage","removeItem","mergeItem","clear","getAllKeys","numberOfKeys","length","keys","i","push","flushGetRequests","undefined","multiGet","map","multiSet","keyValuePairs","item","multiRemove","multiMerge"],"mappings":"AASA,OAAOA,YAAP,MAAyB,eAAzB;AAOA,IAAMC,KAAK,GAAG,YAAY,CAACC,IAAb,CAAkB;EAC9BC,YAAY,EAAE,IADgB;EAE9BC,eAAe,EAAE;AAFa,CAAlB,CAAd;AAKA,SAASC,qBAAT,CAA+BC,GAA/B,EAA4CC,KAA5C,EAA2D;EACzD,IAAMC,QAAQ,GAAGC,MAAM,CAACC,YAAPD,CAAoBE,OAApBF,CAA4BH,GAA5BG,CAAjB;EACA,IAAID,QAAJ,EAAc;IACZ,IAAMI,SAAS,GAAGC,IAAI,CAACC,KAALD,CAAWL,QAAXK,CAAlB;IACA,IAAME,SAAS,GAAGF,IAAI,CAACC,KAALD,CAAWN,KAAXM,CAAlB;IACA,IAAMG,SAAS,GAAGH,IAAI,CAACI,SAALJ,CAAeZ,KAAK,CAACW,SAAD,EAAYG,SAAZ,CAApBF,CAAlB;IACAJ,MAAM,CAACC,YAAPD,CAAoBS,OAApBT,CAA4BH,GAA5BG,EAAiCO,SAAjCP,CAAAA;EACD,CALD,MAKO;IACLA,MAAM,CAACC,YAAPD,CAAoBS,OAApBT,CAA4BH,GAA5BG,EAAiCF,KAAjCE,CAAAA;EACD;AACF;AAED,SAASU,aAAT,CACEC,QADF,EAEEC,QAFF,EAGmB;EACjB,OAAO,IAAIC,OAAJ,CAAY,UAACC,OAAD,EAAUC,MAAV,EAAqB;IACtC,IAAI;MACF,IAAMjB,KAAK,GAAGa,QAAQ,EAAtB;MACAC,QAAQ,KAAA,IAARA,IAAAA,QAAQ,KAAA,KAAA,CAARA,GAAAA,KAAAA,CAAAA,GAAAA,QAAQ,CAAG,IAAH,E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AD;MAAA,OACjChB,YAAY,CAACE,SAAbF,CAAuBgB,IAAI,CAAC,CAAD,CAA3BhB,EAAgCgB,IAAI,CAAC,CAAD,CAApChB,CADee;IAAAA,EAAjB;IAGA,OAAOtB,gBAAgB,CAACC,QAAD,EAAWN,QAAX,CAAvB;EACD;AAtGsC,CAAzC;AAyGA,eAAeY,YAAf","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n// @ts-ignore Cannot find module 'merge-options' or its corresponding type declarations\nimport mergeOptions from 'merge-options';\nimport type {\n AsyncStorageStatic,\n MultiCallback,\n MultiGetCallback,\n} from './types';\n\nconst merge = mergeOptions.bind({\n concatArrays: true,\n ignoreUndefined: true,\n});\n\nfunction mergeLocalStorageItem(key: string, value: string) {\n const oldValue = window.localStorage.getItem(key);\n if (oldValue) {\n const oldObject = JSON.parse(oldValue);\n const newObject = JSON.parse(value);\n const nextValue = JSON.stringify(merge(oldObject, newObject));\n window.localStorage.setItem(key, nextValue);\n } else {\n window.localStorage.setItem(key, value);\n }\n}\n\nfunction createPromise(\n getValue: () => Result,\n callback?: Callback\n): Promise {\n return new Promise((resolve, reject) => {\n try {\n const value = getValue();\n callback?.(null, value);\n resolve(value);\n } catch (err) {\n callback?.(err);\n reject(err);\n }\n });\n}\n\nfunction createPromiseAll(\n promises: Promise[],\n callback?: MultiCallback | MultiGetCallback,\n processResult?: ResultProcessor\n): Promise {\n return Promise.all(promises).then(\n (result) => {\n const value = processResult?.(result) ?? null;\n callback?.(null, value);\n return Promise.resolve(value);\n },\n (errors) => {\n callback?.(errors);\n return Promise.reject(errors);\n }\n );\n}\n\nconst AsyncStorage: AsyncStorageStatic = {\n /**\n * Fetches `key` value.\n */\n getItem: (key, callback) => {\n return createPromise(() => window.localStorage.getItem(key), callback);\n },\n\n /**\n * Sets `value` for `key`.\n */\n setItem: (key, value, callback) => {\n return createPromise(\n () => window.localStorage.setItem(key, value),\n callback\n );\n },\n\n /**\n * Removes a `key`\n */\n removeItem: (key, callback) => {\n return createPromise(() => window.localStorage.removeItem(key), callback);\n },\n\n /**\n * Merges existing value with input value, assuming they are stringified JSON.\n */\n mergeItem: (key, value, callback) => {\n return createPromise(() => mergeLocalStorageItem(key, value), callback);\n },\n\n /**\n * Erases *all* AsyncStorage for the domain.\n */\n clear: (callback) => {\n return createPromise(() => window.localStorage.clear(), callback);\n },\n\n /**\n * Gets *all* keys known to the app, for all callers, libraries, etc.\n */\n getAllKeys: (callback) => {\n return createPromise(() => {\n const numberOfKeys = window.localStorage.length;\n const keys: string[] = [];\n for (let i = 0; i < numberOfKeys; i += 1) {\n const key = window.localStorage.key(i) || '';\n keys.push(key);\n }\n return keys;\n }, callback);\n },\n\n /**\n * (stub) Flushes any pending requests using a single batch call to get the data.\n */\n flushGetRequests: () => undefined,\n\n /**\n * multiGet resolves to an array of key-value pair arrays that matches the\n * input format of multiSet.\n *\n * multiGet(['k1', 'k2']) -> [['k1', 'val1'], ['k2', 'val2']]\n */\n multiGet: (keys, callback) => {\n const promises = keys.map((key) => AsyncStorage.getItem(key));\n const processResult = (result: string[]) =>\n result.map((value, i) => [keys[i], value]);\n return createPromiseAll(promises, callback, processResult);\n },\n\n /**\n * Takes an array of key-value array pairs.\n * multiSet([['k1', 'val1'], ['k2', 'val2']])\n */\n multiSet: (keyValuePairs, callback) => {\n const promises = keyValuePairs.map((item) =>\n AsyncStorage.setItem(item[0], item[1])\n );\n return createPromiseAll(promises, callback);\n },\n\n /**\n * Delete all the keys in the `keys` array.\n */\n multiRemove: (keys, callback) => {\n const promises = keys.map((key) => AsyncStorage.removeItem(key));\n return createPromiseAll(promises, callback);\n },\n\n /**\n * Takes an array of key-value array pairs and merges them with existing\n * values, assuming they are stringified JSON.\n *\n * multiMerge([['k1', 'val1'], ['k2', 'val2']])\n */\n multiMerge: (keyValuePairs, callback) => {\n const promises = keyValuePairs.map((item) =>\n AsyncStorage.mergeItem(item[0], item[1])\n );\n return createPromiseAll(promises, callback);\n },\n};\n\nexport default AsyncStorage;\n"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/92ad368e5c8483651b39e313acd71074.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/92ad368e5c8483651b39e313acd71074.json new file mode 100644 index 00000000..f589a1c4 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/92ad368e5c8483651b39e313acd71074.json @@ -0,0 +1 @@ +{"ast":null,"code":"import canUseDOM from \"../../modules/canUseDom\";\nfunction getQuery() {\n return canUseDOM && window.matchMedia != null ? window.matchMedia('(prefers-color-scheme: dark)') : null;\n}\nvar query = getQuery();\nvar listenerMapping = new WeakMap();\nvar Appearance = {\n getColorScheme: function getColorScheme() {\n return query && query.matches ? 'dark' : 'light';\n },\n addChangeListener: function addChangeListener(listener) {\n var mappedListener = listenerMapping.get(listener);\n if (!mappedListener) {\n mappedListener = function mappedListener(_ref) {\n var matches = _ref.matches;\n listener({\n colorScheme: matches ? 'dark' : 'light'\n });\n };\n listenerMapping.set(listener, mappedListener);\n }\n if (query) {\n query.addListener(mappedListener);\n }\n function remove() {\n var mappedListener = listenerMapping.get(listener);\n if (query && mappedListener) {\n query.removeListener(mappedListener);\n }\n listenerMapping.delete(listener);\n }\n return {\n remove: remove\n };\n }\n};\nexport default Appearance;","map":{"version":3,"names":["canUseDOM","getQuery","window","matchMedia","query","listenerMapping","WeakMap","Appearance","getColorScheme","matches","addChangeListener","listener","mappedListener","get","_ref","colorScheme","set","addListener","remove","removeListener","delete"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Appearance/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport canUseDOM from '../../modules/canUseDom';\n\nfunction getQuery() {\n return canUseDOM && window.matchMedia != null ? window.matchMedia('(prefers-color-scheme: dark)') : null;\n}\n\nvar query = getQuery();\nvar listenerMapping = new WeakMap();\nvar Appearance = {\n getColorScheme() {\n return query && query.matches ? 'dark' : 'light';\n },\n\n addChangeListener(listener) {\n var mappedListener = listenerMapping.get(listener);\n\n if (!mappedListener) {\n mappedListener = _ref => {\n var matches = _ref.matches;\n listener({\n colorScheme: matches ? 'dark' : 'light'\n });\n };\n\n listenerMapping.set(listener, mappedListener);\n }\n\n if (query) {\n query.addListener(mappedListener);\n }\n\n function remove() {\n var mappedListener = listenerMapping.get(listener);\n\n if (query && mappedListener) {\n query.removeListener(mappedListener);\n }\n\n listenerMapping.delete(listener);\n }\n\n return {\n remove\n };\n }\n\n};\nexport default Appearance;"],"mappings":"AASA,OAAOA,SAAS;AAEhB,SAASC,QAAQ,GAAG;EAClB,OAAOD,SAAS,IAAIE,MAAM,CAACC,UAAU,IAAI,IAAI,GAAGD,MAAM,CAACC,UAAU,CAAC,8BAA8B,CAAC,GAAG,IAAI;AAC1G;AAEA,IAAIC,KAAK,GAAGH,QAAQ,EAAE;AACtB,IAAII,eAAe,GAAG,IAAIC,OAAO,EAAE;AACnC,IAAIC,UAAU,GAAG;EACfC,cAAc,4BAAG;IACf,OAAOJ,KAAK,IAAIA,KAAK,CAACK,OAAO,GAAG,MAAM,GAAG,OAAO;EAClD,CAAC;EAEDC,iBAAiB,6BAACC,QAAQ,EAAE;IAC1B,IAAIC,cAAc,GAAGP,eAAe,CAACQ,GAAG,CAACF,QAAQ,CAAC;IAElD,IAAI,CAACC,cAAc,EAAE;MACnBA,cAAc,GAAG,wBAAAE,IAAI,EAAI;QACvB,IAAIL,OAAO,GAAGK,IAAI,CAACL,OAAO;QAC1BE,QAAQ,CAAC;UACPI,WAAW,EAAEN,OAAO,GAAG,MAAM,GAAG;QAClC,CAAC,CAAC;MACJ,CAAC;MAEDJ,eAAe,CAACW,GAAG,CAACL,QAAQ,EAAEC,cAAc,CAAC;IAC/C;IAEA,IAAIR,KAAK,EAAE;MACTA,KAAK,CAACa,WAAW,CAACL,cAAc,CAAC;IACnC;IAEA,SAASM,MAAM,GAAG;MAChB,IAAIN,cAAc,GAAGP,eAAe,CAACQ,GAAG,CAACF,QAAQ,CAAC;MAElD,IAAIP,KAAK,IAAIQ,cAAc,EAAE;QAC3BR,KAAK,CAACe,cAAc,CAACP,cAAc,CAAC;MACtC;MAEAP,eAAe,CAACe,MAAM,CAACT,QAAQ,CAAC;IAClC;IAEA,OAAO;MACLO,MAAM,EAANA;IACF,CAAC;EACH;AAEF,CAAC;AACD,eAAeX,UAAU"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/93e1687369b4f69695381ee7eca83133.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/93e1687369b4f69695381ee7eca83133.json new file mode 100644 index 00000000..5978678a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/93e1687369b4f69695381ee7eca83133.json @@ -0,0 +1 @@ +{"ast":null,"code":"import Platform from \"react-native-web/dist/exports/Platform\";\nimport createMultiStyleIconSet from \"./create-multi-style-icon-set\";\nvar FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand'\n};\nfunction createFA5iconSet(glyphMap) {\n var metadata = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var pro = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var metadataKeys = Object.keys(metadata);\n var fontFamily = \"FontAwesome5\" + (pro ? 'Pro' : 'Free');\n function fallbackFamily(glyph) {\n for (var i = 0; i < metadataKeys.length; i += 1) {\n var family = metadataKeys[i];\n if (metadata[family].indexOf(glyph) !== -1) {\n return family === 'brands' ? 'brand' : family;\n }\n }\n return 'regular';\n }\n function glyphValidator(glyph, style) {\n var family = style === 'brand' ? 'brands' : style;\n if (metadataKeys.indexOf(family) === -1) return false;\n return metadata[family].indexOf(glyph) !== -1;\n }\n function createFontAwesomeStyle(style, fontWeight) {\n var family = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : fontFamily;\n var styleName = style;\n var fontFile = \"FontAwesome5_\" + (pro ? \"Pro_\" + styleName : styleName) + \".ttf\";\n if (styleName === 'Brands') {\n styleName = 'Regular';\n fontFile = 'FontAwesome5_Brands.ttf';\n }\n return {\n fontFamily: family + \"-\" + styleName,\n fontFile: fontFile,\n fontStyle: Platform.select({\n ios: {\n fontWeight: fontWeight\n },\n default: {}\n }),\n glyphMap: glyphMap\n };\n }\n var brandIcons = createFontAwesomeStyle('Brands', '400', 'FontAwesome5Brands');\n var lightIcons = createFontAwesomeStyle('Light', '300');\n var regularIcons = createFontAwesomeStyle('Regular', '400');\n var solidIcons = createFontAwesomeStyle('Solid', '900');\n var Icon = createMultiStyleIconSet({\n brand: brandIcons,\n light: lightIcons,\n regular: regularIcons,\n solid: solidIcons\n }, {\n defaultStyle: 'regular',\n fallbackFamily: fallbackFamily,\n glyphValidator: glyphValidator\n });\n return Icon;\n}\nexport { createFA5iconSet, FA5Style };","map":{"version":3,"names":["createMultiStyleIconSet","FA5Style","regular","light","solid","brand","createFA5iconSet","glyphMap","metadata","pro","metadataKeys","Object","keys","fontFamily","fallbackFamily","glyph","i","length","family","indexOf","glyphValidator","style","createFontAwesomeStyle","fontWeight","styleName","fontFile","fontStyle","Platform","select","ios","default","brandIcons","lightIcons","regularIcons","solidIcons","Icon","defaultStyle"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/create-icon-set-from-fontawesome5.js"],"sourcesContent":["import { Platform } from 'react-native';\nimport createMultiStyleIconSet from './create-multi-style-icon-set';\n\nconst FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand',\n};\n\nfunction createFA5iconSet(glyphMap, metadata = {}, pro = false) {\n const metadataKeys = Object.keys(metadata);\n const fontFamily = `FontAwesome5${pro ? 'Pro' : 'Free'}`;\n\n function fallbackFamily(glyph) {\n for (let i = 0; i < metadataKeys.length; i += 1) {\n const family = metadataKeys[i];\n if (metadata[family].indexOf(glyph) !== -1) {\n return family === 'brands' ? 'brand' : family;\n }\n }\n\n return 'regular';\n }\n\n function glyphValidator(glyph, style) {\n const family = style === 'brand' ? 'brands' : style;\n if (metadataKeys.indexOf(family) === -1) return false;\n return metadata[family].indexOf(glyph) !== -1;\n }\n\n function createFontAwesomeStyle(style, fontWeight, family = fontFamily) {\n let styleName = style;\n let fontFile = `FontAwesome5_${pro ? `Pro_${styleName}` : styleName}.ttf`;\n\n if (styleName === 'Brands') {\n styleName = 'Regular';\n fontFile = 'FontAwesome5_Brands.ttf';\n }\n\n return {\n fontFamily: `${family}-${styleName}`,\n fontFile,\n fontStyle: Platform.select({\n ios: {\n fontWeight,\n },\n default: {},\n }),\n glyphMap,\n };\n }\n\n const brandIcons = createFontAwesomeStyle(\n 'Brands',\n '400',\n 'FontAwesome5Brands'\n );\n const lightIcons = createFontAwesomeStyle('Light', '300');\n const regularIcons = createFontAwesomeStyle('Regular', '400');\n const solidIcons = createFontAwesomeStyle('Solid', '900');\n const Icon = createMultiStyleIconSet(\n {\n brand: brandIcons,\n light: lightIcons,\n regular: regularIcons,\n solid: solidIcons,\n },\n {\n defaultStyle: 'regular',\n fallbackFamily,\n glyphValidator,\n }\n );\n\n return Icon;\n}\n\nexport { createFA5iconSet, FA5Style };\n"],"mappings":";AACA,OAAOA,uBAAuB;AAE9B,IAAMC,QAAQ,GAAG;EACfC,OAAO,EAAE,SAAS;EAClBC,KAAK,EAAE,OAAO;EACdC,KAAK,EAAE,OAAO;EACdC,KAAK,EAAE;AACT,CAAC;AAED,SAASC,gBAAgB,CAACC,QAAQ,EAA8B;EAAA,IAA5BC,QAAQ,uEAAG,CAAC,CAAC;EAAA,IAAEC,GAAG,uEAAG,KAAK;EAC5D,IAAMC,YAAY,GAAGC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AU,EAAVA;QACF,CAAC;QACDO,OAAO,EAAE,CAAC;MACZ,CAAC,CAAC;MACFvB,QAAQ,EAARA;IACF,CAAC;EACH;EAEA,IAAMwB,UAAU,GAAGT,sBAAsB,CACvC,QAAQ,EACR,KAAK,EACL,oBAAoB,CACrB;EACD,IAAMU,UAAU,GAAGV,sBAAsB,CAAC,OAAO,EAAE,KAAK,CAAC;EACzD,IAAMW,YAAY,GAAGX,sBAAsB,CAAC,SAAS,EAAE,KAAK,CAAC;EAC7D,IAAMY,UAAU,GAAGZ,sBAAsB,CAAC,OAAO,EAAE,KAAK,CAAC;EACzD,IAAMa,IAAI,GAAGnC,uBAAuB,CAClC;IACEK,KAAK,EAAE0B,UAAU;IACjB5B,KAAK,EAAE6B,UAAU;IACjB9B,OAAO,EAAE+B,YAAY;IACrB7B,KAAK,EAAE8B;EACT,CAAC,EACD;IACEE,YAAY,EAAE,SAAS;IACvBtB,cAAc,EAAdA,cAAc;IACdM,cAAc,EAAdA;EACF,CAAC,CACF;EAED,OAAOe,IAAI;AACb;AAEA,SAAS7B,gBAAgB,EAAEL,QAAQ"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/9450a43f8252c9bee07535b895033913.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/9450a43f8252c9bee07535b895033913.json new file mode 100644 index 00000000..6f6abb21 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/9450a43f8252c9bee07535b895033913.json @@ -0,0 +1 @@ +{"ast":null,"code":"export * from 'react-native-web/dist/modules/AssetRegistry';","map":{"version":3,"sources":["../src/AssetRegistry.web.ts"],"names":[],"mappings":"AAAA,cAAc,6CAA6C","sourcesContent":["export * from 'react-native-web/dist/modules/AssetRegistry';\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/9625bf879b513bac505d655a8de5c4a4.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/9625bf879b513bac505d655a8de5c4a4.json new file mode 100644 index 00000000..a3c41124 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/9625bf879b513bac505d655a8de5c4a4.json @@ -0,0 +1 @@ +{"ast":null,"code":"export default function findLastIndex(array, callback) {\n for (var i = array.length - 1; i >= 0; i--) {\n if (callback(array[i])) {\n return i;\n }\n }\n return -1;\n}","map":{"version":3,"sources":["utils/findLastIndex.tsx"],"names":["findLastIndex","array","callback","i","length"],"mappings":"AAAA,eAAe,SAASA,aAAa,CACnCC,KAAU,EACVC,QAA+B,EAC/B;EACA,KAAK,IAAIC,CAAC,GAAGF,KAAK,CAACG,MAAM,GAAG,CAAC,EAAED,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;IAC1C,IAAID,QAAQ,CAACD,KAAK,CAACE,CAAC,CAAC,CAAC,EAAE;MACtB,OAAOA,CAAC;IACV;EACF;EAEA,OAAO,CAAC,CAAC;AACX","sourceRoot":"../../../src","sourcesContent":["export default function findLastIndex(array, callback) {\n for (var i = array.length - 1; i >= 0; i--) {\n if (callback(array[i])) {\n return i;\n }\n }\n return -1;\n}\n//# sourceMappingURL=findLastIndex.js.map"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/962fd170354a35c591189491aa58f56a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/962fd170354a35c591189491aa58f56a.json new file mode 100644 index 00000000..04777d76 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/962fd170354a35c591189491aa58f56a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import AsyncStorage from \"./AsyncStorage\";\nexport { useAsyncStorage } from \"./hooks\";\nexport default AsyncStorage;","map":{"version":3,"sources":["index.ts"],"names":["AsyncStorage","useAsyncStorage"],"mappings":"AAAA,OAAOA,YAAP;AAEA,SAASC,eAAT;AAIA,eAAeD,YAAf","sourcesContent":["import AsyncStorage from './AsyncStorage';\n\nexport { useAsyncStorage } from './hooks';\n\nexport type { AsyncStorageStatic } from './types';\n\nexport default AsyncStorage;\n"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/968eb48e38f2bc3834f7ef9782fb6e77.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/968eb48e38f2bc3834f7ef9782fb6e77.json new file mode 100644 index 00000000..acef4fb2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/968eb48e38f2bc3834f7ef9782fb6e77.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { deleteFavoriteCity } from \"../../asyncStorange/deleteFavoriteCityStorage\";\nimport { storeFavoriteCity } from \"../../asyncStorange/storeFavoriteCity\";\nimport { getWeather } from \"./getWeather\";\nimport { setFavoriteCity } from \"./setFavoriteCity\";\nimport { setWeather } from \"./setWeather\";\nexport var addFavoriteCity = function addFavoriteCity(city) {\n return function () {\n var _ref = _asyncToGenerator(function* (dispatch) {\n try {\n yield deleteFavoriteCity();\n yield storeFavoriteCity(city);\n dispatch(setFavoriteCity(city));\n if (city != null) {\n dispatch(getWeather(city));\n } else {\n dispatch(setWeather(null));\n }\n } catch (error) {\n console.log('Error---------', error);\n }\n });\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }();\n};","map":{"version":3,"names":["deleteFavoriteCity","storeFavoriteCity","getWeather","setFavoriteCity","setWeather","addFavoriteCity","city","dispatch","error","console","log"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/addFavoriteCity.ts"],"sourcesContent":["import { deleteFavoriteCity } from \"../../asyncStorange/deleteFavoriteCityStorage\";\nimport { storeFavoriteCity } from \"../../asyncStorange/storeFavoriteCity\";\nimport { City } from \"../../data/stub\";\nimport { getWeather } from \"./getWeather\";\nimport { setFavoriteCity } from \"./setFavoriteCity\";\nimport { setWeather } from \"./setWeather\";\n\nexport const addFavoriteCity = (city : City | null) => {\n return async dispatch => {\n try {\n await deleteFavoriteCity()\n await storeFavoriteCity(city)\n dispatch(setFavoriteCity(city))\n if (city != null){\n dispatch(getWeather(city))\n }\n else{\n dispatch(setWeather(null))\n }\n } catch (error) {\n console.log('Error---------', error);\n //You can dispatch to another action if you want to display an error message in the application\n //dispatch(fetchDataRejected(error))\n }\n }\n }"],"mappings":";AAAA,SAASA,kBAAkB;AAC3B,SAASC,iBAAiB;AAE1B,SAASC,UAAU;AACnB,SAASC,eAAe;AACxB,SAASC,UAAU;AAEnB,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAe,CAAIC,IAAkB,EAAK;EACnD;IAAA,6BAAO,WAAMC,QAAQ,EAAI;MACrB,IAAI;QACA,MAAMP,kBAAkB,EAAE;QAC1B,MAAMC,iBAAiB,CAACK,IAAI,CAAC;QAC7BC,QAAQ,CAACJ,eAAe,CAACG,IAAI,CAAC,CAAC;QAC/B,IAAIA,IAAI,IAAI,IAAI,EAAC;UACbC,QAAQ,CAACL,UAAU,CAACI,IAAI,CAAC,CAAC;QAC9B,CAAC,MACG;UACAC,QAAQ,CAACH,UAAU,CAAC,IAAI,CAAC,CAAC;QAC9B;MACJ,CAAC,CAAC,OAAOI,KAAK,EAAE;QACZC,OAAO,CAACC,GAAG,CAAC,gBAAgB,EAAEF,KAAK,CAAC;MAGxC;IACJ,CAAC;IAAA;MAAA;IAAA;EAAA;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/97654510ab720fc0a32046dd3e3d5f49.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/97654510ab720fc0a32046dd3e3d5f49.json new file mode 100644 index 00000000..4e13e368 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/97654510ab720fc0a32046dd3e3d5f49.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createElement from \"../createElement\";\nexport default function PickerItem(props) {\n var color = props.color,\n label = props.label,\n testID = props.testID,\n value = props.value;\n var style = {\n color: color\n };\n return createElement('option', {\n children: label,\n style: style,\n testID: testID,\n value: value\n });\n}","map":{"version":3,"names":["createElement","PickerItem","props","color","label","testID","value","style","children"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Picker/PickerItem.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport createElement from '../createElement';\nexport default function PickerItem(props) {\n var color = props.color,\n label = props.label,\n testID = props.testID,\n value = props.value;\n var style = {\n color\n };\n return createElement('option', {\n children: label,\n style,\n testID,\n value\n });\n}"],"mappings":"AASA,OAAOA,aAAa;AACpB,eAAe,SAASC,UAAU,CAACC,KAAK,EAAE;EACxC,IAAIC,KAAK,GAAGD,KAAK,CAACC,KAAK;IACnBC,KAAK,GAAGF,KAAK,CAACE,KAAK;IACnBC,MAAM,GAAGH,KAAK,CAACG,MAAM;IACrBC,KAAK,GAAGJ,KAAK,CAACI,KAAK;EACvB,IAAIC,KAAK,GAAG;IACVJ,KAAK,EAALA;EACF,CAAC;EACD,OAAOH,aAAa,CAAC,QAAQ,EAAE;IAC7BQ,QAAQ,EAAEJ,KAAK;IACfG,KAAK,EAALA,KAAK;IACLF,MAAM,EAANA,MAAM;IACNC,KAAK,EAALA;EACF,CAAC,CAAC;AACJ"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/97f625f8584ddd10cdcc4984491d7d5c.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/97f625f8584ddd10cdcc4984491d7d5c.json new file mode 100644 index 00000000..0a58797b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/97f625f8584ddd10cdcc4984491d7d5c.json @@ -0,0 +1 @@ +{"ast":null,"code":"export { default as unstable_createElement } from \"./exports/createElement\";\nexport { default as findNodeHandle } from \"./exports/findNodeHandle\";\nexport { default as processColor } from \"./exports/processColor\";\nexport { default as render } from \"./exports/render\";\nexport { default as unmountComponentAtNode } from \"./exports/unmountComponentAtNode\";\nexport { default as NativeModules } from \"./exports/NativeModules\";\nexport { default as AccessibilityInfo } from \"./exports/AccessibilityInfo\";\nexport { default as Alert } from \"./exports/Alert\";\nexport { default as Animated } from \"./exports/Animated\";\nexport { default as Appearance } from \"./exports/Appearance\";\nexport { default as AppRegistry } from \"./exports/AppRegistry\";\nexport { default as AppState } from \"./exports/AppState\";\nexport { default as BackHandler } from \"./exports/BackHandler\";\nexport { default as Clipboard } from \"./exports/Clipboard\";\nexport { default as DeviceInfo } from \"./exports/DeviceInfo\";\nexport { default as Dimensions } from \"./exports/Dimensions\";\nexport { default as Easing } from \"./exports/Easing\";\nexport { default as I18nManager } from \"./exports/I18nManager\";\nexport { default as Keyboard } from \"./exports/Keyboard\";\nexport { default as InteractionManager } from \"./exports/InteractionManager\";\nexport { default as LayoutAnimation } from \"./exports/LayoutAnimation\";\nexport { default as Linking } from \"./exports/Linking\";\nexport { default as NativeEventEmitter } from \"./exports/NativeEventEmitter\";\nexport { default as PanResponder } from \"./exports/PanResponder\";\nexport { default as PixelRatio } from \"./exports/PixelRatio\";\nexport { default as Platform } from \"./exports/Platform\";\nexport { default as Share } from \"./exports/Share\";\nexport { default as StyleSheet } from \"./exports/StyleSheet\";\nexport { default as UIManager } from \"./exports/UIManager\";\nexport { default as Vibration } from \"./exports/Vibration\";\nexport { default as ActivityIndicator } from \"./exports/ActivityIndicator\";\nexport { default as Button } from \"./exports/Button\";\nexport { default as CheckBox } from \"./exports/CheckBox\";\nexport { default as FlatList } from \"./exports/FlatList\";\nexport { default as Image } from \"./exports/Image\";\nexport { default as ImageBackground } from \"./exports/ImageBackground\";\nexport { default as KeyboardAvoidingView } from \"./exports/KeyboardAvoidingView\";\nexport { default as Modal } from \"./exports/Modal\";\nexport { default as Picker } from \"./exports/Picker\";\nexport { default as Pressable } from \"./exports/Pressable\";\nexport { default as ProgressBar } from \"./exports/ProgressBar\";\nexport { default as RefreshControl } from \"./exports/RefreshControl\";\nexport { default as SafeAreaView } from \"./exports/SafeAreaView\";\nexport { default as ScrollView } from \"./exports/ScrollView\";\nexport { default as SectionList } from \"./exports/SectionList\";\nexport { default as StatusBar } from \"./exports/StatusBar\";\nexport { default as Switch } from \"./exports/Switch\";\nexport { default as Text } from \"./exports/Text\";\nexport { default as TextInput } from \"./exports/TextInput\";\nexport { default as Touchable } from \"./exports/Touchable\";\nexport { default as TouchableHighlight } from \"./exports/TouchableHighlight\";\nexport { default as TouchableNativeFeedback } from \"./exports/TouchableNativeFeedback\";\nexport { default as TouchableOpacity } from \"./exports/TouchableOpacity\";\nexport { default as TouchableWithoutFeedback } from \"./exports/TouchableWithoutFeedback\";\nexport { default as View } from \"./exports/View\";\nexport { default as VirtualizedList } from \"./exports/VirtualizedList\";\nexport { default as YellowBox } from \"./exports/YellowBox\";\nexport { default as LogBox } from \"./exports/LogBox\";\nexport { default as DrawerLayoutAndroid } from \"./exports/DrawerLayoutAndroid\";\nexport { default as InputAccessoryView } from \"./exports/InputAccessoryView\";\nexport { default as ToastAndroid } from \"./exports/ToastAndroid\";\nexport { default as PermissionsAndroid } from \"./exports/PermissionsAndroid\";\nexport { default as Settings } from \"./exports/Settings\";\nexport { default as Systrace } from \"./exports/Systrace\";\nexport { default as TVEventHandler } from \"./exports/TVEventHandler\";\nexport { default as DeviceEventEmitter } from \"./exports/DeviceEventEmitter\";\nexport { default as useColorScheme } from \"./exports/useColorScheme\";\nexport { default as useLocaleContext } from \"./exports/useLocaleContext\";\nexport { default as useWindowDimensions } from \"./exports/useWindowDimensions\";","map":{"version":3,"names":["default","unstable_createElement","findNodeHandle","processColor","render","unmountComponentAtNode","NativeModules","AccessibilityInfo","Alert","Animated","Appearance","AppRegistry","AppState","BackHandler","Clipboard","DeviceInfo","Dimensions","Easing","I18nManager","Keyboard","InteractionManager","LayoutAnimation","Linking","NativeEventEmitter","PanResponder","PixelRatio","Platform","Share","StyleSheet","UIManager","Vibration","ActivityIndicator","Button","CheckBox","FlatList","Image","ImageBackground","KeyboardAvoidingView","Modal","Picker","Pressable","ProgressBar","RefreshControl","SafeAreaView","ScrollView","SectionList","StatusBar","Switch","Text","TextInput","Touchable","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","View","VirtualizedList","YellowBox","LogBox","DrawerLayoutAndroid","InputAccessoryView","ToastAndroid","PermissionsAndroid","Settings","Systrace","TVEventHandler","DeviceEventEmitter","useColorScheme","useLocaleContext","useWindowDimensions"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/index.js"],"sourcesContent":["export { default as unstable_createElement } from './exports/createElement';\nexport { default as findNodeHandle } from './exports/findNodeHandle';\nexport { default as processColor } from './exports/processColor';\nexport { default as render } from './exports/render';\nexport { default as unmountComponentAtNode } from './exports/unmountComponentAtNode';\nexport { default as NativeModules } from './exports/NativeModules'; // APIs\n\nexport { default as AccessibilityInfo } from './exports/AccessibilityInfo';\nexport { default as Alert } from './exports/Alert';\nexport { default as Animated } from './exports/Animated';\nexport { default as Appearance } from './exports/Appearance';\nexport { default as AppRegistry } from './exports/AppRegistry';\nexport { default as AppState } from './exports/AppState';\nexport { default as BackHandler } from './exports/BackHandler';\nexport { default as Clipboard } from './exports/Clipboard';\nexport { default as DeviceInfo } from './exports/DeviceInfo';\nexport { default as Dimensions } from './exports/Dimensions';\nexport { default as Easing } from './exports/Easing';\nexport { default as I18nManager } from './exports/I18nManager';\nexport { default as Keyboard } from './exports/Keyboard';\nexport { default as InteractionManager } from './exports/InteractionManager';\nexport { default as LayoutAnimation } from './exports/LayoutAnimation';\nexport { default as Linking } from './exports/Linking';\nexport { default as NativeEventEmitter } from './exports/NativeEventEmitter';\nexport { default as PanResponder } from './exports/PanResponder';\nexport { default as PixelRatio } from './exports/PixelRatio';\nexport { default as Platform } from './exports/Platform';\nexport { default as Share } from './exports/Share';\nexport { default as StyleSheet } from './exports/StyleSheet';\nexport { default as UIManager } from './exports/UIManager';\nexport { default as Vibration } from './exports/Vibration'; // components\n\nexport { default as ActivityIndicator } from './exports/ActivityIndicator';\nexport { default as Button } from './exports/Button';\nexport { default as CheckBox } from './exports/CheckBox';\nexport { default as FlatList } from './exports/FlatList';\nexport { default as Image } from './exports/Image';\nexport { default as ImageBackground } from './exports/ImageBackground';\nexport { default as KeyboardAvoidingView } from './exports/KeyboardAvoidingView';\nexport { default as Modal } from './exports/Modal';\nexport { default as Picker } from './exports/Picker';\nexport { default as Pressable } from './exports/Pressable';\nexport { default as ProgressBar } from './exports/ProgressBar';\nexport { default as RefreshControl } from './exports/RefreshControl';\nexport { default as SafeAreaView } from './exports/SafeAreaView';\nexport { default as ScrollView } from './exports/ScrollView';\nexport { default as SectionList } from './exports/SectionList';\nexport { default as StatusBar } from './exports/StatusBar';\nexport { default as Switch } from './exports/Switch';\nexport { default as Text } from './exports/Text';\nexport { default as TextInput } from './exports/TextInput';\nexport { default as Touchable } from './exports/Touchable';\nexport { default as TouchableHighlight } from './exports/TouchableHighlight';\nexport { default as TouchableNativeFeedback } from './exports/TouchableNativeFeedback';\nexport { default as TouchableOpacity } from './exports/TouchableOpacity';\nexport { default as TouchableWithoutFeedback } from './exports/TouchableWithoutFeedback';\nexport { default as View } from './exports/View';\nexport { default as VirtualizedList } from './exports/VirtualizedList';\nexport { default as YellowBox } from './exports/YellowBox';\nexport { default as LogBox } from './exports/LogBox'; // compat (components)\n\nexport { default as DrawerLayoutAndroid } from './exports/DrawerLayoutAndroid';\nexport { default as InputAccessoryView } from './exports/InputAccessoryView';\nexport { default as ToastAndroid } from './exports/ToastAndroid'; // compat (apis)\n\nexport { default as PermissionsAndroid } from './exports/PermissionsAndroid';\nexport { default as Settings } from './exports/Settings';\nexport { default as Systrace } from './exports/Systrace';\nexport { default as TVEventHandler } from './exports/TVEventHandler'; // plugins\n\nexport { default as DeviceEventEmitter } from './exports/DeviceEventEmitter'; // hooks\n\nexport { default as useColorScheme } from './exports/useColorScheme';\nexport { default as useLocaleContext } from './exports/useLocaleContext';\nexport { default as useWindowDimensions } from './exports/useWindowDimensions';"],"mappings":"AAAA,SAASA,OAAO,IAAIC,sBAAsB;AAC1C,SAASD,OAAO,IAAIE,cAAc;AAClC,SAASF,OAAO,IAAIG,YAAY;AAChC,SAASH,OAAO,IAAII,MAAM;AAC1B,SAASJ,OAAO,IAAIK,sBAAsB;AAC1C,SAASL,OAAO,IAAIM,aAAa;AAEjC,SAASN,OAAO,IAAIO,iBAAiB;AACrC,SAASP,OAAO,IAAIQ,KAAK;AACzB,SAASR,OAAO,IAAIS,QAAQ;AAC5B,SAAST,OAAO,IAAIU,UAAU;AAC9B,SAASV,OAAO,IAAIW,WAAW;AAC/B,SAASX,OAAO,IAAIY,QAAQ;AAC5B,SAASZ,OAAO,IAAIa,WAAW;AAC/B,SAASb,OAAO,IAAIc,SAAS;AAC7B,SAASd,OAAO,IAAIe,UAAU;AAC9B,SAASf,OAAO,IAAIgB,UAAU;AAC9B,SAAShB,OAAO,IAAIiB,MAAM;AAC1B,SAASjB,OAAO,IAAIkB,WAAW;AAC/B,SAASlB,OAAO,IAAImB,QAAQ;AAC5B,SAASnB,OAAO,IAAIoB,kBAAkB;AACtC,SAASpB,OAAO,IAAIqB,eAAe;AACnC,SAASrB,OAAO,IAAIsB,OAAO;AAC3B,SAAStB,OAAO,IAAIuB,kBAAkB;AACtC,SAASvB,OAAO,IAAIwB,YAAY;AAChC,SAASxB,OAAO,IAAIyB,UAAU;AAC9B,SAASzB,OAAO,IAAI0B,QAAQ;AAC5B,SAAS1B,OAAO,IAAI2B,KAAK;AACzB,SAAS3B,OAAO,IAAI4B,UAAU;AAC9B,SAAS5B,OAAO,IAAI6B,SAAS;AAC7B,SAAS7B,OAAO,IAAI8B,SAAS;AAE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E,cAAc;AAElC,SAASjE,OAAO,IAAIkE,kBAAkB;AAEtC,SAASlE,OAAO,IAAImE,cAAc;AAClC,SAASnE,OAAO,IAAIoE,gBAAgB;AACpC,SAASpE,OAAO,IAAIqE,mBAAmB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/98cabee429c20026bf8dd2ea1356c92f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/98cabee429c20026bf8dd2ea1356c92f.json new file mode 100644 index 00000000..6c94d68c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/98cabee429c20026bf8dd2ea1356c92f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import PanResponder from \"../../vendor/react-native/PanResponder\";\nexport default PanResponder;","map":{"version":3,"names":["PanResponder"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/PanResponder/index.js"],"sourcesContent":["import PanResponder from '../../vendor/react-native/PanResponder';\nexport default PanResponder;"],"mappings":"AAAA,OAAOA,YAAY;AACnB,eAAeA,YAAY"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/998bf8ad9c9078ea76f83360d04df4f0.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/998bf8ad9c9078ea76f83360d04df4f0.json new file mode 100644 index 00000000..e2c18ae2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/998bf8ad9c9078ea76f83360d04df4f0.json @@ -0,0 +1 @@ +{"ast":null,"code":"export default {};","map":{"version":3,"names":[],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/TVEventHandler/index.js"],"sourcesContent":["export default {};"],"mappings":"AAAA,eAAe,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/99b9d1121dd90bb1345ef297a04bbaaa.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/99b9d1121dd90bb1345ef297a04bbaaa.json new file mode 100644 index 00000000..f49e90e5 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/99b9d1121dd90bb1345ef297a04bbaaa.json @@ -0,0 +1 @@ +{"ast":null,"code":"import NativeModules from \"react-native-web/dist/exports/NativeModules\";\nimport { getAssetByID } from \"./AssetRegistry\";\nimport AssetSourceResolver from \"./AssetSourceResolver\";\nvar _customSourceTransformer;\nvar _serverURL;\nvar _sourceCodeScriptURL;\nfunction getSourceCodeScriptURL() {\n var _sourceCode;\n if (_sourceCodeScriptURL) {\n return _sourceCodeScriptURL;\n }\n var sourceCode = typeof nativeExtensions !== 'undefined' ? nativeExtensions.SourceCode : null;\n if (!sourceCode) {\n sourceCode = NativeModules == null ? void 0 : NativeModules.SourceCode;\n }\n _sourceCodeScriptURL = (_sourceCode = sourceCode) == null ? void 0 : _sourceCode.scriptURL;\n return _sourceCodeScriptURL;\n}\nfunction getDevServerURL() {\n if (_serverURL === undefined) {\n var sourceCodeScriptURL = getSourceCodeScriptURL();\n var match = sourceCodeScriptURL && sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);\n if (match) {\n _serverURL = match[0];\n } else {\n _serverURL = null;\n }\n }\n return _serverURL;\n}\nexport function setCustomSourceTransformer(transformer) {\n _customSourceTransformer = transformer;\n}\nexport default function resolveAssetSource(source) {\n if (typeof source === 'object') {\n return source;\n }\n var asset = getAssetByID(source);\n if (!asset) {\n return undefined;\n }\n var resolver = new AssetSourceResolver(getDevServerURL(), null, asset);\n if (_customSourceTransformer) {\n return _customSourceTransformer(resolver);\n }\n return resolver.defaultAsset();\n}\nObject.defineProperty(resolveAssetSource, 'setCustomSourceTransformer', {\n get: function get() {\n return setCustomSourceTransformer;\n }\n});\nvar pickScale = AssetSourceResolver.pickScale;\nexport { pickScale };","map":{"version":3,"sources":["../src/resolveAssetSource.web.ts"],"names":[],"mapp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,YAAY,EAAE;AAChC;AAEA,MAAM,CAAC,cAAc,CAAC,kBAAkB,EAAE,4BAA4B,EAAE;EACtE,GAAG,iBAAA;IACD,OAAO,0BAA0B;EACnC;CACD,CAAC;AAEK,IAAQ,SAAS,GAAK,mBAAmB,CAAjC,SAAS;AAAyB","sourcesContent":["import { NativeModules } from 'react-native';\n\nimport { getAssetByID } from './AssetRegistry';\nimport AssetSourceResolver, { ResolvedAssetSource } from './AssetSourceResolver';\n\ndeclare let nativeExtensions: { SourceCode?: { scriptURL: string } } | undefined;\n\nlet _customSourceTransformer;\nlet _serverURL: string | undefined | null;\nlet _sourceCodeScriptURL: string | undefined | null;\n\nfunction getSourceCodeScriptURL(): string | undefined | null {\n if (_sourceCodeScriptURL) {\n return _sourceCodeScriptURL;\n }\n\n let sourceCode = typeof nativeExtensions !== 'undefined' ? nativeExtensions.SourceCode : null;\n if (!sourceCode) {\n sourceCode = NativeModules?.SourceCode;\n }\n _sourceCodeScriptURL = sourceCode?.scriptURL;\n return _sourceCodeScriptURL;\n}\n\nfunction getDevServerURL(): string | null {\n if (_serverURL === undefined) {\n const sourceCodeScriptURL = getSourceCodeScriptURL();\n const match = sourceCodeScriptURL && sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);\n if (match) {\n // jsBundle was loaded from network\n _serverURL = match[0];\n } else {\n // jsBundle was loaded from file\n _serverURL = null;\n }\n }\n return _serverURL;\n}\n\nexport function setCustomSourceTransformer(\n transformer: (resolver: AssetSourceResolver) => ResolvedAssetSource\n): void {\n _customSourceTransformer = transformer;\n}\n\n/**\n * `source` is either a number (opaque type returned by require('./foo.png'))\n * or an `ImageSource` like { uri: '' }\n */\nexport default function resolveAssetSource(source: any): ResolvedAssetSource | undefined {\n if (typeof source === 'object') {\n return source;\n }\n\n const asset = getAssetByID(source);\n if (!asset) {\n return undefined;\n }\n\n const resolver = new AssetSourceResolver(getDevServerURL(), null, asset);\n if (_customSourceTransformer) {\n return _customSourceTransformer(resolver);\n }\n return resolver.defaultAsset();\n}\n\nObject.defineProperty(resolveAssetSource, 'setCustomSourceTransformer', {\n get() {\n return setCustomSourceTransformer;\n },\n});\n\nexport const { pickScale } = AssetSourceResolver;\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/9a297938ae8df183746c47bd64da68dd.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/9a297938ae8df183746c47bd64da68dd.json new file mode 100644 index 00000000..d8975adc --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/9a297938ae8df183746c47bd64da68dd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { createBottomTabNavigator } from \"@react-navigation/bottom-tabs\";\nimport { NavigationContainer } from \"@react-navigation/native\";\nimport React from \"react\";\nimport Home from \"../screens/Home\";\nimport StackNavigation from \"./StackNavigation\";\nimport { AntDesign } from '@expo/vector-icons';\nimport { Ionicons } from '@expo/vector-icons';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function TabNavigation() {\n var BottomTabNavigator = createBottomTabNavigator();\n return _jsx(NavigationContainer, {\n children: _jsxs(BottomTabNavigator.Navigator, {\n initialRouteName: \"Favorite City\",\n children: [_jsx(BottomTabNavigator.Screen, {\n name: \"Favorite City\",\n component: Home,\n options: {\n title: 'Favorite City',\n headerShown: false,\n tabBarIcon: function tabBarIcon(_ref) {\n var color = _ref.color;\n return _jsx(AntDesign, {\n name: \"home\",\n size: 24,\n color: \"black\"\n });\n }\n }\n }), _jsx(BottomTabNavigator.Screen, {\n name: \"City List\",\n component: StackNavigation,\n options: {\n headerShown: false,\n title: 'City List',\n tabBarIcon: function tabBarIcon(_ref2) {\n var color = _ref2.color;\n return _jsx(Ionicons, {\n name: \"menu-sharp\",\n size: 24,\n color: \"black\"\n });\n }\n }\n })]\n })\n });\n}","map":{"version":3,"names":["createBottomTabNavigator","NavigationContainer","React","Home","StackNavigation","AntDesign","Ionicons","TabNavigation","BottomTabNavigator","title","headerShown","tabBarIcon","color"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/navigation/TabNavigation.tsx"],"sourcesContent":["import { createBottomTabNavigator } from \"@react-navigation/bottom-tabs\";\nimport { NavigationContainer } from \"@react-navigation/native\";\nimport React from \"react\";\nimport CityList from \"../screens/CityList\";\nimport Home from \"../screens/Home\";\nimport StackNavigation from \"./StackNavigation\";\nimport { AntDesign } from '@expo/vector-icons';\nimport { Ionicons } from '@expo/vector-icons';\n\nexport default function TabNavigation() {\n\n const BottomTabNavigator = createBottomTabNavigator();\n return (\n \n \n \n }}/>\n \n \n }}/>\n \n \n )\n}\n"],"mappings":"AAAA,SAASA,wBAAwB,QAAQ,+BAA+B;AACxE,SAASC,mBAAmB,QAAQ,0BAA0B;AAC9D,OAAOC,KAAK,MAAM,OAAO;AAEzB,OAAOC,IAAI;AACX,OAAOC,eAAe;AACtB,SAASC,SAAS,QAAQ,oBAAoB;AAC9C,SAASC,QAAQ,QAAQ,oBAAoB;AAAC;AAAA;AAE9C,eAAe,SAASC,aAAa,GAAG;EAEpC,IAAMC,kBAAkB,GAAGR,wBAAwB,EAAE;EACrD,OACI,KAAC,mBAAmB;IAAA,UAChB,MAAC,kBAAkB,CAAC,SAAS;MAAC,gBAAgB,EAAC,eAAe;MAAA,WAC1D,KAAC,kBAAkB,CAAC,MAAM;QAAC,IAAI,EAAC,eAAe;QAAC,SAAS,EAAEG,IAAK;QACpD,OAAO,EAAE;UACLM,KAAK,EAAE,eAAe;UACtBC,WAAW,EAAE,KAAK;UAClBC,UAAU,EAAE;YAAA,IAAEC,KAAK,QAALA,KAAK;YAAA,OAAM,KAAC,SAAS;cAAC,IAAI,EAAC,MAAM;cAAC,IAAI,EAAE,EAAG;cAAC,KAAK,EAAC;YAAO,EAAG;UAAA;QAC9E;MAAE,EAAE,EAChB,KAAC,kBAAkB,CAAC,MAAM;QAAC,IAAI,EAAC,WAAW;QAAC,SAAS,EAAER,eAAgB;QAC3D,OAAO,EAAE;UACLM,WAAW,EAAE,KAAK;UAClBD,KAAK,EAAE,WAAW;UAClBE,UAAU,EAAE;YAAA,IAAEC,KAAK,SAALA,KAAK;YAAA,OAAM,KAAC,QAAQ;cAAC,IAAI,EAAC,YAAY;cAAC,IAAI,EAAE,EAAG;cAAC,KAAK,EAAC;YAAO,EAAG;UAAA;QAEnF;MAAE,EAAE;IAAA;EACW,EACb;AAE9B"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/9bcddb38cac4c1f273b7947a4101bd3e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/9bcddb38cac4c1f273b7947a4101bd3e.json new file mode 100644 index 00000000..85a87a6f --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/9bcddb38cac4c1f273b7947a4101bd3e.json @@ -0,0 +1 @@ +{"ast":null,"code":"var _slicedToArray = require(\"@babel/runtime/helpers/slicedToArray\");\nvar cssKeywords = require('color-name');\nvar reverseKeywords = {};\nfor (var key of Object.keys(cssKeywords)) {\n reverseKeywords[cssKeywords[key]] = key;\n}\nvar convert = {\n rgb: {\n channels: 3,\n labels: 'rgb'\n },\n hsl: {\n channels: 3,\n labels: 'hsl'\n },\n hsv: {\n channels: 3,\n labels: 'hsv'\n },\n hwb: {\n channels: 3,\n labels: 'hwb'\n },\n cmyk: {\n channels: 4,\n labels: 'cmyk'\n },\n xyz: {\n channels: 3,\n labels: 'xyz'\n },\n lab: {\n channels: 3,\n labels: 'lab'\n },\n lch: {\n channels: 3,\n labels: 'lch'\n },\n hex: {\n channels: 1,\n labels: ['hex']\n },\n keyword: {\n channels: 1,\n labels: ['keyword']\n },\n ansi16: {\n channels: 1,\n labels: ['ansi16']\n },\n ansi256: {\n channels: 1,\n labels: ['ansi256']\n },\n hcg: {\n channels: 3,\n labels: ['h', 'c', 'g']\n },\n apple: {\n channels: 3,\n labels: ['r16', 'g16', 'b16']\n },\n gray: {\n channels: 1,\n labels: ['gray']\n }\n};\nmodule.exports = convert;\nfor (var model of Object.keys(convert)) {\n if (!('channels' in convert[model])) {\n throw new Error('missing channels property: ' + model);\n }\n if (!('labels' in convert[model])) {\n throw new Error('missing channel labels property: ' + model);\n }\n if (convert[model].labels.length !== convert[model].channels) {\n throw new Error('channel and label counts mismatch: ' + model);\n }\n var _convert$model = convert[model],\n channels = _convert$model.channels,\n labels = _convert$model.labels;\n delete convert[model].channels;\n delete convert[model].labels;\n Object.defineProperty(convert[model], 'channels', {\n value: channels\n });\n Object.defineProperty(convert[model], 'labels', {\n value: labels\n });\n}\nconvert.rgb.hsl = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var min = Math.min(r, g, b);\n var max = Math.max(r, g, b);\n var delta = max - min;\n var h;\n var s;\n if (max === min) {\n h = 0;\n } else if (r === max) {\n h = (g - b) / delta;\n } else if (g === max) {\n h = 2 + (b - r) / delta;\n } else if (b === max) {\n h = 4 + (r - g) / delta;\n }\n h = Math.min(h * 60, 360);\n if (h < 0) {\n h += 360;\n }\n var l = (min + max) / 2;\n if (max === min) {\n s = 0;\n } else if (l <= 0.5) {\n s = delta / (max + min);\n } else {\n s = delta / (2 - max - min);\n }\n return [h, s * 100, l * 100];\n};\nconvert.rgb.hsv = function (rgb) {\n var rdif;\n var gdif;\n var bdif;\n var h;\n var s;\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var v = Math.max(r, g, b);\n var diff = v - Math.min(r, g, b);\n var diffc = function diffc(c) {\n return (v - c) / 6 / diff + 1 / 2;\n };\n if (diff === 0) {\n h = 0;\n s = 0;\n } else {\n s = diff / v;\n rdif = diffc(r);\n gdif = diffc(g);\n bdif = diffc(b);\n if (r === v) {\n h = bdif - gdif;\n } else if (g === v) {\n h = 1 / 3 + rdif - bdif;\n } else if (b === v) {\n h = 2 / 3 + gdif - rdif;\n }\n if (h < 0) {\n h += 1;\n } else if (h > 1) {\n h -= 1;\n }\n }\n return [h * 360, s * 100, v * 100];\n};\nconvert.rgb.hwb = function (rgb) {\n var r = rgb[0];\n var g = rgb[1];\n var b = rgb[2];\n var h = convert.rgb.hsl(rgb)[0];\n var w = 1 / 255 * Math.min(r, Math.min(g, b));\n b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n return [h, w * 100, b * 100];\n};\nconvert.rgb.cmyk = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var k = Math.min(1 - r, 1 - g, 1 - b);\n var c = (1 - r - k) / (1 - k) || 0;\n var m = (1 - g - k) / (1 - k) || 0;\n var y = (1 - b - k) / (1 - k) || 0;\n return [c * 100, m * 100, y * 100, k * 100];\n};\nfunction comparativeDistance(x, y) {\n return Math.pow(x[0] - y[0], 2) + Math.pow(x[1] - y[1], 2) + Math.pow(x[2] - y[2], 2);\n}\nconvert.rgb.keyword = function (rgb) {\n var reversed = reverseKeywords[rgb];\n if (reversed) {\n return reversed;\n }\n var currentClosestDistance = Infinity;\n var currentClosestKeyword;\n for (var keyword of Object.keys(cssKeywords)) {\n var value = cssKeywords[keyword];\n var distance = comparativeDistance(rgb, value);\n if (distance < currentClosestDistance) {\n currentClosestDistance = distance;\n currentClosestKeyword = keyword;\n }\n }\n return currentClosestKeyword;\n};\nconvert.keyword.rgb = function (keyword) {\n return cssKeywords[keyword];\n};\nconvert.rgb.xyz = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n r = r > 0.04045 ? Math.pow((r + 0.055) / 1.055, 2.4) : r / 12.92;\n g = g > 0.04045 ? Math.pow((g + 0.055) / 1.055, 2.4) : g / 12.92;\n b = b > 0.04045 ? Math.pow((b + 0.055) / 1.055, 2.4) : b / 12.92;\n var x = r * 0.4124 + g * 0.3576 + b * 0.1805;\n var y = r * 0.2126 + g * 0.7152 + b * 0.0722;\n var z = r * 0.0193 + g * 0.1192 + b * 0.9505;\n return [x * 100, y * 100, z * 100];\n};\nconvert.rgb.lab = function (rgb) {\n var xyz = convert.rgb.xyz(rgb);\n var x = xyz[0];\n var y = xyz[1];\n var z = xyz[2];\n x /= 95.047;\n y /= 100;\n z /= 108.883;\n x = x > 0.008856 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116;\n y = y > 0.008856 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116;\n z = z > 0.008856 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116;\n var l = 116 * y - 16;\n var a = 500 * (x - y);\n var b = 200 * (y - z);\n return [l, a, b];\n};\nconvert.hsl.rgb = function (hsl) {\n var h = hsl[0] / 360;\n var s = hsl[1] / 100;\n var l = hsl[2] / 100;\n var t2;\n var t3;\n var val;\n if (s === 0) {\n val = l * 255;\n return [val, val, val];\n }\n if (l < 0.5) {\n t2 = l * (1 + s);\n } else {\n t2 = l + s - l * s;\n }\n var t1 = 2 * l - t2;\n var rgb = [0, 0, 0];\n for (var i = 0; i < 3; i++) {\n t3 = h + 1 / 3 * -(i - 1);\n if (t3 < 0) {\n t3++;\n }\n if (t3 > 1) {\n t3--;\n }\n if (6 * t3 < 1) {\n val = t1 + (t2 - t1) * 6 * t3;\n } else if (2 * t3 < 1) {\n val = t2;\n } else if (3 * t3 < 2) {\n val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n } else {\n val = t1;\n }\n rgb[i] = val * 255;\n }\n return rgb;\n};\nconvert.hsl.hsv = function (hsl) {\n var h = hsl[0];\n var s = hsl[1] / 100;\n var l = hsl[2] / 100;\n var smin = s;\n var lmin = Math.max(l, 0.01);\n l *= 2;\n s *= l <= 1 ? l : 2 - l;\n smin *= lmin <= 1 ? lmin : 2 - lmin;\n var v = (l + s) / 2;\n var sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s);\n return [h, sv * 100, v * 100];\n};\nconvert.hsv.rgb = function (hsv) {\n var h = hsv[0] / 60;\n var s = hsv[1] / 100;\n var v = hsv[2] / 100;\n var hi = Math.floor(h) % 6;\n var f = h - Math.floor(h);\n var p = 255 * v * (1 - s);\n var q = 255 * v * (1 - s * f);\n var t = 255 * v * (1 - s * (1 - f));\n v *= 255;\n switch (hi) {\n case 0:\n return [v, t, p];\n case 1:\n return [q, v, p];\n case 2:\n return [p, v, t];\n case 3:\n return [p, q, v];\n case 4:\n return [t, p, v];\n case 5:\n return [v, p, q];\n }\n};\nconvert.hsv.hsl = function (hsv) {\n var h = hsv[0];\n var s = hsv[1] / 100;\n var v = hsv[2] / 100;\n var vmin = Math.max(v, 0.01);\n var sl;\n var l;\n l = (2 - s) * v;\n var lmin = (2 - s) * vmin;\n sl = s * vmin;\n sl /= lmin <= 1 ? lmin : 2 - lmin;\n sl = sl || 0;\n l /= 2;\n return [h, sl * 100, l * 100];\n};\nconvert.hwb.rgb = function (hwb) {\n var h = hwb[0] / 360;\n var wh = hwb[1] / 100;\n var bl = hwb[2] / 100;\n var ratio = wh + bl;\n var f;\n if (ratio > 1) {\n wh /= ratio;\n bl /= ratio;\n }\n var i = Math.floor(6 * h);\n var v = 1 - bl;\n f = 6 * h - i;\n if ((i & 0x01) !== 0) {\n f = 1 - f;\n }\n var n = wh + f * (v - wh);\n var r;\n var g;\n var b;\n switch (i) {\n default:\n case 6:\n case 0:\n r = v;\n g = n;\n b = wh;\n break;\n case 1:\n r = n;\n g = v;\n b = wh;\n break;\n case 2:\n r = wh;\n g = v;\n b = n;\n break;\n case 3:\n r = wh;\n g = n;\n b = v;\n break;\n case 4:\n r = n;\n g = wh;\n b = v;\n break;\n case 5:\n r = v;\n g = wh;\n b = n;\n break;\n }\n return [r * 255, g * 255, b * 255];\n};\nconvert.cmyk.rgb = function (cmyk) {\n var c = cmyk[0] / 100;\n var m = cmyk[1] / 100;\n var y = cmyk[2] / 100;\n var k = cmyk[3] / 100;\n var r = 1 - Math.min(1, c * (1 - k) + k);\n var g = 1 - Math.min(1, m * (1 - k) + k);\n var b = 1 - Math.min(1, y * (1 - k) + k);\n return [r * 255, g * 255, b * 255];\n};\nconvert.xyz.rgb = function (xyz) {\n var x = xyz[0] / 100;\n var y = xyz[1] / 100;\n var z = xyz[2] / 100;\n var r;\n var g;\n var b;\n r = x * 3.2406 + y * -1.5372 + z * -0.4986;\n g = x * -0.9689 + y * 1.8758 + z * 0.0415;\n b = x * 0.0557 + y * -0.2040 + z * 1.0570;\n r = r > 0.0031308 ? 1.055 * Math.pow(r, 1.0 / 2.4) - 0.055 : r * 12.92;\n g = g > 0.0031308 ? 1.055 * Math.pow(g, 1.0 / 2.4) - 0.055 : g * 12.92;\n b = b > 0.0031308 ? 1.055 * Math.pow(b, 1.0 / 2.4) - 0.055 : b * 12.92;\n r = Math.min(Math.max(0, r), 1);\n g = Math.min(Math.max(0, g), 1);\n b = Math.min(Math.max(0, b), 1);\n return [r * 255, g * 255, b * 255];\n};\nconvert.xyz.lab = function (xyz) {\n var x = xyz[0];\n var y = xyz[1];\n var z = xyz[2];\n x /= 95.047;\n y /= 100;\n z /= 108.883;\n x = x > 0.008856 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116;\n y = y > 0.008856 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116;\n z = z > 0.008856 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116;\n var l = 116 * y - 16;\n var a = 500 * (x - y);\n var b = 200 * (y - z);\n return [l, a, b];\n};\nconvert.lab.xyz = function (lab) {\n var l = lab[0];\n var a = lab[1];\n var b = lab[2];\n var x;\n var y;\n var z;\n y = (l + 16) / 116;\n x = a / 500 + y;\n z = y - b / 200;\n var y2 = Math.pow(y, 3);\n var x2 = Math.pow(x, 3);\n var z2 = Math.pow(z, 3);\n y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n x *= 95.047;\n y *= 100;\n z *= 108.883;\n return [x, y, z];\n};\nconvert.lab.lch = function (lab) {\n var l = lab[0];\n var a = lab[1];\n var b = lab[2];\n var h;\n var hr = Math.atan2(b, a);\n h = hr * 360 / 2 / Math.PI;\n if (h < 0) {\n h += 360;\n }\n var c = Math.sqrt(a * a + b * b);\n return [l, c, h];\n};\nconvert.lch.lab = function (lch) {\n var l = lch[0];\n var c = lch[1];\n var h = lch[2];\n var hr = h / 360 * 2 * Math.PI;\n var a = c * Math.cos(hr);\n var b = c * Math.sin(hr);\n return [l, a, b];\n};\nconvert.rgb.ansi16 = function (args) {\n var saturation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n var _args = _slicedToArray(args, 3),\n r = _args[0],\n g = _args[1],\n b = _args[2];\n var value = saturation === null ? convert.rgb.hsv(args)[2] : saturation;\n value = Math.round(value / 50);\n if (value === 0) {\n return 30;\n }\n var ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255));\n if (value === 2) {\n ansi += 60;\n }\n return ansi;\n};\nconvert.hsv.ansi16 = function (args) {\n return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\nconvert.rgb.ansi256 = function (args) {\n var r = args[0];\n var g = args[1];\n var b = args[2];\n if (r === g && g === b) {\n if (r < 8) {\n return 16;\n }\n if (r > 248) {\n return 231;\n }\n return Math.round((r - 8) / 247 * 24) + 232;\n }\n var ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5);\n return ansi;\n};\nconvert.ansi16.rgb = function (args) {\n var color = args % 10;\n if (color === 0 || color === 7) {\n if (args > 50) {\n color += 3.5;\n }\n color = color / 10.5 * 255;\n return [color, color, color];\n }\n var mult = (~~(args > 50) + 1) * 0.5;\n var r = (color & 1) * mult * 255;\n var g = (color >> 1 & 1) * mult * 255;\n var b = (color >> 2 & 1) * mult * 255;\n return [r, g, b];\n};\nconvert.ansi256.rgb = function (args) {\n if (args >= 232) {\n var c = (args - 232) * 10 + 8;\n return [c, c, c];\n }\n args -= 16;\n var rem;\n var r = Math.floor(args / 36) / 5 * 255;\n var g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n var b = rem % 6 / 5 * 255;\n return [r, g, b];\n};\nconvert.rgb.hex = function (args) {\n var integer = ((Math.round(args[0]) & 0xFF) << 16) + ((Math.round(args[1]) & 0xFF) << 8) + (Math.round(args[2]) & 0xFF);\n var string = integer.toString(16).toUpperCase();\n return '000000'.substring(string.length) + string;\n};\nconvert.hex.rgb = function (args) {\n var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n if (!match) {\n return [0, 0, 0];\n }\n var colorString = match[0];\n if (match[0].length === 3) {\n colorString = colorString.split('').map(function (char) {\n return char + char;\n }).join('');\n }\n var integer = parseInt(colorString, 16);\n var r = integer >> 16 & 0xFF;\n var g = integer >> 8 & 0xFF;\n var b = integer & 0xFF;\n return [r, g, b];\n};\nconvert.rgb.hcg = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var max = Math.max(Math.max(r, g), b);\n var min = Math.min(Math.min(r, g), b);\n var chroma = max - min;\n var grayscale;\n var hue;\n if (chroma < 1) {\n grayscale = min / (1 - chroma);\n } else {\n grayscale = 0;\n }\n if (chroma <= 0) {\n hue = 0;\n } else if (max === r) {\n hue = (g - b) / chroma % 6;\n } else if (max === g) {\n hue = 2 + (b - r) / chroma;\n } else {\n hue = 4 + (r - g) / chroma;\n }\n hue /= 6;\n hue %= 1;\n return [hue * 360, chroma * 100, grayscale * 100];\n};\nconvert.hsl.hcg = function (hsl) {\n var s = hsl[1] / 100;\n var l = hsl[2] / 100;\n var c = l < 0.5 ? 2.0 * s * l : 2.0 * s * (1.0 - l);\n var f = 0;\n if (c < 1.0) {\n f = (l - 0.5 * c) / (1.0 - c);\n }\n return [hsl[0], c * 100, f * 100];\n};\nconvert.hsv.hcg = function (hsv) {\n var s = hsv[1] / 100;\n var v = hsv[2] / 100;\n var c = s * v;\n var f = 0;\n if (c < 1.0) {\n f = (v - c) / (1 - c);\n }\n return [hsv[0], c * 100, f * 100];\n};\nconvert.hcg.rgb = function (hcg) {\n var h = hcg[0] / 360;\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n if (c === 0.0) {\n return [g * 255, g * 255, g * 255];\n }\n var pure = [0, 0, 0];\n var hi = h % 1 * 6;\n var v = hi % 1;\n var w = 1 - v;\n var mg = 0;\n switch (Math.floor(hi)) {\n case 0:\n pure[0] = 1;\n pure[1] = v;\n pure[2] = 0;\n break;\n case 1:\n pure[0] = w;\n pure[1] = 1;\n pure[2] = 0;\n break;\n case 2:\n pure[0] = 0;\n pure[1] = 1;\n pure[2] = v;\n break;\n case 3:\n pure[0] = 0;\n pure[1] = w;\n pure[2] = 1;\n break;\n case 4:\n pure[0] = v;\n pure[1] = 0;\n pure[2] = 1;\n break;\n default:\n pure[0] = 1;\n pure[1] = 0;\n pure[2] = w;\n }\n mg = (1.0 - c) * g;\n return [(c * pure[0] + mg) * 255, (c * pure[1] + mg) * 255, (c * pure[2] + mg) * 255];\n};\nconvert.hcg.hsv = function (hcg) {\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n var v = c + g * (1.0 - c);\n var f = 0;\n if (v > 0.0) {\n f = c / v;\n }\n return [hcg[0], f * 100, v * 100];\n};\nconvert.hcg.hsl = function (hcg) {\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n var l = g * (1.0 - c) + 0.5 * c;\n var s = 0;\n if (l > 0.0 && l < 0.5) {\n s = c / (2 * l);\n } else if (l >= 0.5 && l < 1.0) {\n s = c / (2 * (1 - l));\n }\n return [hcg[0], s * 100, l * 100];\n};\nconvert.hcg.hwb = function (hcg) {\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n var v = c + g * (1.0 - c);\n return [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\nconvert.hwb.hcg = function (hwb) {\n var w = hwb[1] / 100;\n var b = hwb[2] / 100;\n var v = 1 - b;\n var c = v - w;\n var g = 0;\n if (c < 1) {\n g = (v - c) / (1 - c);\n }\n return [hwb[0], c * 100, g * 100];\n};\nconvert.apple.rgb = function (apple) {\n return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255];\n};\nconvert.rgb.apple = function (rgb) {\n return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535];\n};\nconvert.gray.rgb = function (args) {\n return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\nconvert.gray.hsl = function (args) {\n return [0, 0, args[0]];\n};\nconvert.gray.hsv = convert.gray.hsl;\nconvert.gray.hwb = function (gray) {\n return [0, 100, gray[0]];\n};\nconvert.gray.cmyk = function (gray) {\n return [0, 0, 0, gray[0]];\n};\nconvert.gray.lab = function (gray) {\n return [gray[0], 0, 0];\n};\nconvert.gray.hex = function (gray) {\n var val = Math.round(gray[0] / 100 * 255) & 0xFF;\n var integer = (val << 16) + (val << 8) + val;\n var string = integer.toString(16).toUpperCase();\n return '000000'.substring(string.length) + string;\n};\nconvert.rgb.gray = function (rgb) {\n var val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n return [val / 255 * 100];\n};","map":{"version":3,"names":["cssKeywords","require","reverseKeywords","key","Object","keys","convert","rgb","channels","labels","hsl","hsv","hwb","cmyk","xyz","lab","lch","hex","keyword","ansi16","ansi256","hcg","apple","gray","module","exports","model","Error","length","defineProperty","value","r","g","b","min","Math","max","delta","h","s","l","rdif","gdif","bdif","v","diff","diffc","c","w","k","m","y","comparativeDistance","x","reversed","currentClosestDistance","Infinity","currentClosestKeyword","distance","z","a","t2","t3","val","t1","i","smin","lmin","sv","hi","floor","f","p","q","t","vmin","sl","wh","bl","ratio","n","y2","x2","z2","hr","atan2","PI","sqrt","cos","sin","args","saturation","round","ansi","color","mult","rem","integer","string","toString","toUpperCase","substring","match","colorString","split","map","char","join","parseInt","chroma","grayscale","hue","pure","mg"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@react-navigation/stack/node_modules/color-convert/conversions.js"],"sourcesContent":["/* MIT license */\n/* eslint-disable no-mixed-operators */\nconst cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nconst reverseKeywords = {};\nfor (const key of Object.keys(cssKeywords)) {\n\treverseKeywords[cssKeywords[key]] = key;\n}\n\nconst convert = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\nmodule.exports = convert;\n\n// Hide .channels and .labels properties\nfor (const model of Object.keys(convert)) {\n\tif (!('channels' in convert[model])) {\n\t\tthrow new Error('missing channels property: ' + model);\n\t}\n\n\tif (!('labels' in convert[model])) {\n\t\tthrow new Error('missing channel labels property: ' + model);\n\t}\n\n\tif (convert[model].labels.length !== convert[model].channels) {\n\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t}\n\n\tconst {channels, labels} = convert[model];\n\tdelete convert[model].channels;\n\tdelete convert[model].labels;\n\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\tObject.defineProperty(convert[model], 'labels', {value: labels});\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst l = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\nfunction comparativeDistance(x, y) {\n\t/*\n\t\tSee https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n\t*/\n\treturn (\n\t\t((x[0] - y[0]) ** 2) +\n\t\t((x[1] - y[1]) ** 2) +\n\t\t((x[2] - y[2]) ** 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tlet currentClosestDistance = Infinity;\n\tlet currentClosestKeyword;\n\n\tfor (const keyword of Object.keys(cssKeywords)) {\n\t\tconst value = cssKeywords[keyword];\n\n\t\t// Compute comparative distance\n\t\tconst distance = comparativeDistance(rgb, value);\n\n\t\t// Check if its less, if so set as closest\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tlet r = rgb[0] / 255;\n\tlet g = rgb[1] / 255;\n\tlet b = rgb[2] / 255;\n\n\t// Assume sRGB\n\tr = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);\n\n\tconst x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tconst y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tconst z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tconst xyz = convert.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t2;\n\tlet t3;\n\tlet val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tconst t1 = 2 * l - t2;\n\n\tconst rgb = [0, 0, 0];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, 0.01);\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\tconst sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - (s * f));\n\tconst t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, 0.01);\n\tlet sl;\n\tlet l;\n\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\n\t// Wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tconst n = wh + f * (v - wh); // Linear interpolation\n\n\tlet r;\n\tlet g;\n\tlet b;\n\t/* eslint-disable max-statements-per-line,no-multi-spaces */\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\t/* eslint-enable max-statements-per-line,no-multi-spaces */\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// Assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\n\tconst hr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst c = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst h = lch[2];\n\n\tconst hr = h / 360 * 2 * Math.PI;\n\tconst a = c * Math.cos(hr);\n\tconst b = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tlet ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// Optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\n\t// We use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tconst ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tlet color = args % 10;\n\n\t// Handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tconst mult = (~~(args > 50) + 1) * 0.5;\n\tconst r = ((color & 1) * mult) * 255;\n\tconst g = (((color >> 1) & 1) * mult) * 255;\n\tconst b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// Handle greyscale\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tlet rem;\n\tconst r = Math.floor(args / 36) / 5 * 255;\n\tconst g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tconst b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tconst integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tconst match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tlet colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(char => {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tconst integer = parseInt(colorString, 16);\n\tconst r = (integer >> 16) & 0xFF;\n\tconst g = (integer >> 8) & 0xFF;\n\tconst b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = (max - min);\n\tlet grayscale;\n\tlet hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\n\tconst c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));\n\n\tlet f = 0;\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\n\tconst c = s * v;\n\tlet f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tconst pure = [0, 0, 0];\n\tconst hi = (h % 1) * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\n\t/* eslint-disable max-statements-per-line */\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\t/* eslint-enable max-statements-per-line */\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst v = c + g * (1.0 - c);\n\tlet f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst l = g * (1.0 - c) + 0.5 * c;\n\tlet s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tconst v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tconst w = hwb[1] / 100;\n\tconst b = hwb[2] / 100;\n\tconst v = 1 - b;\n\tconst c = v - w;\n\tlet g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hsv = convert.gray.hsl;\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tconst val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tconst integer = (val << 16) + (val << 8) + val;\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tconst val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n"],"mappings":";AAEA,IAAMA,WAAW,GAAGC,OAAO,CAAC,YAAY,CAAC;AAMzC,IAAMC,eAAe,GAAG,CAAC,CAAC;AAC1B,KAAK,IAAMC,GAAG,IAAIC,MAAM,CAACC,IAAI,CAACL,WAAW,CAAC,EAAE;EAC3CE,eAAe,CAACF,WAAW,CAACG,GAAG,CAAC,CAAC,GAAGA,GAAG;AACxC;AAEA,IAAMG,OAAO,GAAG;EACfC,GAAG,EAAE;IAACC,QAAQ,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAK,CAAC;EACjCC,GAAG,EAAE;IAACF,QAAQ,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAK,CAAC;EACjCE,GAAG,EAAE;IAACH,QAAQ,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAK,CAAC;EACjCG,GAAG,EAAE;IAACJ,QAAQ,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAK,CAAC;EACjCI,IAAI,EAAE;IAACL,QAAQ,EAAE,CAAC;IAAEC,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CAAC;EAC1C,OAAO,CAACwD,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACzB,CAAC"},"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/a2198c71feb4acba0aecdfff25f86bd9.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/a2198c71feb4acba0aecdfff25f86bd9.json new file mode 100644 index 00000000..c6674f65 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/a2198c71feb4acba0aecdfff25f86bd9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import PooledClass from \"../../vendor/react-native/PooledClass\";\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nfunction Position(left, top) {\n this.left = left;\n this.top = top;\n}\nPosition.prototype.destructor = function () {\n this.left = null;\n this.top = null;\n};\nPooledClass.addPoolingTo(Position, twoArgumentPooler);\nexport default Position;","map":{"version":3,"names":["PooledClass","twoArgumentPooler","Position","left","top","prototype","destructor","addPoolingTo"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Touchable/Position.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport PooledClass from '../../vendor/react-native/PooledClass';\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\n\nfunction Position(left, top) {\n this.left = left;\n this.top = top;\n}\n\nPosition.prototype.destructor = function () {\n this.left = null;\n this.top = null;\n};\n\nPooledClass.addPoolingTo(Position, twoArgumentPooler);\nexport default Position;"],"mappings":"AAQA,OAAOA,WAAW;AAClB,IAAIC,iBAAiB,GAAGD,WAAW,CAACC,iBAAiB;AAErD,SAASC,QAAQ,CAACC,IAAI,EAAEC,GAAG,EAAE;EAC3B,IAAI,CAACD,IAAI,GAAGA,IAAI;EAChB,IAAI,CAACC,GAAG,GAAGA,GAAG;AAChB;AAEAF,QAAQ,CAACG,SAAS,CAACC,UAAU,GAAG,YAAY;EAC1C,IAAI,CAACH,IAAI,GAAG,IAAI;EAChB,IAAI,CAACC,GAAG,GAAG,IAAI;AACjB,CAAC;AAEDJ,WAAW,CAACO,YAAY,CAACL,QAAQ,EAAED,iBAAiB,CAAC;AACrD,eAAeC,QAAQ"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/a4e1cf26ec7fbe8e8fe01dd730a2558e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/a4e1cf26ec7fbe8e8fe01dd730a2558e.json new file mode 100644 index 00000000..c13ec8b6 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/a4e1cf26ec7fbe8e8fe01dd730a2558e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import LayoutAnimation from \"../../vendor/react-native/LayoutAnimation\";\nexport default LayoutAnimation;","map":{"version":3,"names":["LayoutAnimation"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/LayoutAnimation/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport LayoutAnimation from '../../vendor/react-native/LayoutAnimation';\nexport default LayoutAnimation;"],"mappings":"AASA,OAAOA,eAAe;AACtB,eAAeA,eAAe"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/a757c90d7c4f5f5d640295ff6f320aa0.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/a757c90d7c4f5f5d640295ff6f320aa0.json new file mode 100644 index 00000000..db1e3a5b --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/a757c90d7c4f5f5d640295ff6f320aa0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import UnimplementedView from \"../../modules/UnimplementedView\";\nexport default UnimplementedView;","map":{"version":3,"names":["UnimplementedView"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/ToastAndroid/index.js"],"sourcesContent":["import UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"],"mappings":"AAAA,OAAOA,iBAAiB;AACxB,eAAeA,iBAAiB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/aa19f467e3c30b282b2e720e872cdc7f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/aa19f467e3c30b282b2e720e872cdc7f.json new file mode 100644 index 00000000..f786b019 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/aa19f467e3c30b282b2e720e872cdc7f.json @@ -0,0 +1 @@ +{"ast":null,"code":"export var FontDisplay;\n(function (FontDisplay) {\n FontDisplay[\"AUTO\"] = \"auto\";\n FontDisplay[\"SWAP\"] = \"swap\";\n FontDisplay[\"BLOCK\"] = \"block\";\n FontDisplay[\"FALLBACK\"] = \"fallback\";\n FontDisplay[\"OPTIONAL\"] = \"optional\";\n})(FontDisplay || (FontDisplay = {}));","map":{"version":3,"sources":["../src/Font.types.ts"],"names":[],"mappings":"AAmCA,OAAA,IAAY,WA8BX;AA9BD,CAAA,UAAY,WAAW,EAAA;EAMrB,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa;EAKb,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa;EAKb,WAAA,CAAA,OAAA,CAAA,GAAA,OAAe;EAQf,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;EAKrB,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EA9BW,WAAW,KAAX,WAAW,GAAA,CAAA,CAAA,CAAA,CAAA","sourcesContent":["import { Asset } from 'expo-asset';\n\n// @needsAudit\n/**\n * The different types of assets you can provide to the [`loadAsync()`](#loadAsync) function.\n * A font source can be a URI, a module ID, or an Expo Asset.\n */\nexport type FontSource = string | number | Asset | FontResource;\n\n// @needsAudit\n/**\n * An object used to dictate the resource that is loaded into the provided font namespace when used\n * with [`loadAsync`](#loadasync).\n */\nexport type FontResource = {\n uri?: string | number;\n /**\n * Sets the [`font-display`](#fontdisplay) property for a given typeface in the browser.\n * @platform web\n */\n display?: FontDisplay;\n default?: string;\n};\n\n// @needsAudit\n/**\n * Sets the [font-display](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display)\n * for a given typeface. The default font value on web is `FontDisplay.AUTO`.\n * Even though setting the `fontDisplay` does nothing on native platforms, the default behavior\n * emulates `FontDisplay.SWAP` on flagship devices like iOS, Samsung, Pixel, etc. Default\n * functionality varies on One Plus devices. In the browser this value is set in the generated\n * `@font-face` CSS block and not as a style property meaning you cannot dynamically change this\n * value based on the element it's used in.\n * @platform web\n */\nexport enum FontDisplay {\n /**\n * __(Default)__ The font display strategy is defined by the user agent or platform.\n * This generally defaults to the text being invisible until the font is loaded.\n * Good for buttons or banners that require a specific treatment.\n */\n AUTO = 'auto',\n /**\n * Fallback text is rendered immediately with a default font while the desired font is loaded.\n * This is good for making the content appear to load instantly and is usually preferred.\n */\n SWAP = 'swap',\n /**\n * The text will be invisible until the font has loaded. If the font fails to load then nothing\n * will appear - it's best to turn this off when debugging missing text.\n */\n BLOCK = 'block',\n /**\n * Splits the behavior between `SWAP` and `BLOCK`.\n * There will be a [100ms timeout](https://developers.google.com/web/updates/2016/02/font-display?hl=en)\n * where the text with a custom font is invisible, after that the text will either swap to the\n * styled text or it'll show the unstyled text and continue to load the custom font. This is good\n * for buttons that need a custom font but should also be quickly available to screen-readers.\n */\n FALLBACK = 'fallback',\n /**\n * This works almost identically to `FALLBACK`, the only difference is that the browser will\n * decide to load the font based on slow connection speed or critical resource demand.\n */\n OPTIONAL = 'optional',\n}\n\n// @needsAudit\n/**\n * Object used to query fonts for unloading.\n */\nexport type UnloadFontOptions = Pick;\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/aa50ba43ee0b8dee094676402b83bf9f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/aa50ba43ee0b8dee094676402b83bf9f.json new file mode 100644 index 00000000..47c65dfd --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/aa50ba43ee0b8dee094676402b83bf9f.json @@ -0,0 +1 @@ +{"ast":null,"code":"var _vibrate = function vibrate(pattern) {\n if ('vibrate' in window.navigator) {\n window.navigator.vibrate(pattern);\n }\n};\nvar Vibration = {\n cancel: function cancel() {\n _vibrate(0);\n },\n vibrate: function vibrate(pattern) {\n if (pattern === void 0) {\n pattern = 400;\n }\n _vibrate(pattern);\n }\n};\nexport default Vibration;","map":{"version":3,"names":["vibrate","pattern","window","navigator","Vibration","cancel"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Vibration/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar vibrate = pattern => {\n if ('vibrate' in window.navigator) {\n window.navigator.vibrate(pattern);\n }\n};\n\nvar Vibration = {\n cancel() {\n vibrate(0);\n },\n\n vibrate(pattern) {\n if (pattern === void 0) {\n pattern = 400;\n }\n\n vibrate(pattern);\n }\n\n};\nexport default Vibration;"],"mappings":"AASA,IAAIA,QAAO,GAAG,SAAVA,OAAO,CAAGC,OAAO,EAAI;EACvB,IAAI,SAAS,IAAIC,MAAM,CAACC,SAAS,EAAE;IACjCD,MAAM,CAACC,SAAS,CAACH,OAAO,CAACC,OAAO,CAAC;EACnC;AACF,CAAC;AAED,IAAIG,SAAS,GAAG;EACdC,MAAM,oBAAG;IACPL,QAAO,CAAC,CAAC,CAAC;EACZ,CAAC;EAEDA,OAAO,mBAACC,OAAO,EAAE;IACf,IAAIA,OAAO,KAAK,KAAK,CAAC,EAAE;MACtBA,OAAO,GAAG,GAAG;IACf;IAEAD,QAAO,CAACC,OAAO,CAAC;EAClB;AAEF,CAAC;AACD,eAAeG,SAAS"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/aa79dfab2c04ddd27657800ffd16c3de.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/aa79dfab2c04ddd27657800ffd16c3de.json new file mode 100644 index 00000000..207575c2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/aa79dfab2c04ddd27657800ffd16c3de.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { useEffect, useState } from 'react';\nimport { loadAsync } from \"./Font\";\nexport function useFonts(map) {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n loaded = _useState2[0],\n setLoaded = _useState2[1];\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n error = _useState4[0],\n setError = _useState4[1];\n useEffect(function () {\n loadAsync(map).then(function () {\n return setLoaded(true);\n }).catch(setError);\n }, []);\n return [loaded, error];\n}","map":{"version":3,"sources":["../src/FontHooks.ts"],"names":[],"mappings":";AAAA,SAAS,SAAS,EAAE,QAAQ,QAAQ,OAAO;AAE3C,SAAS,SAAS;AAqBlB,OAAM,SAAU,QAAQ,CAAC,GAAwC,EAAA;EAC/D,gBAA4B,QAAQ,CAAC,KAAK,CAAC;IAAA;IAApC,MAAM;IAAE,SAAS;EACxB,iBAA0B,QAAQ,CAAe,IAAI,CAAC;IAAA;IAA/C,KAAK;IAAE,QAAQ;EAEtB,SAAS,CAAC,YAAK;IACb,SAAS,CAAC,GAAG,CAAC,CACX,IAAI,CAAC;MAAA,OAAM,SAAS,CAAC,IAAI,CAAC;IAAA,EAAC,CAC3B,KAAK,CAAC,QAAQ,CAAC;EACpB,CAAC,EAAE,EAAE,CAAC;EAEN,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC;AACxB","sourcesContent":["import { useEffect, useState } from 'react';\n\nimport { loadAsync } from './Font';\nimport { FontSource } from './Font.types';\n\n// @needsAudit\n/**\n * ```ts\n * const [loaded, error] = useFonts({ ... });\n * ```\n * Load a map of fonts with [`loadAsync`](#loadasync). This returns a `boolean` if the fonts are\n * loaded and ready to use. It also returns an error if something went wrong, to use in development.\n *\n * > Note, the fonts are not \"reloaded\" when you dynamically change the font map.\n *\n * @param map A map of `fontFamily`s to [`FontSource`](#fontsource)s. After loading the font you can\n * use the key in the `fontFamily` style prop of a `Text` element.\n *\n * @return\n * - __loaded__ (`boolean`) - A boolean to detect if the font for `fontFamily` has finished\n * loading.\n * - __error__ (`Error | null`) - An error encountered when loading the fonts.\n */\nexport function useFonts(map: string | Record): [boolean, Error | null] {\n const [loaded, setLoaded] = useState(false);\n const [error, setError] = useState(null);\n\n useEffect(() => {\n loadAsync(map)\n .then(() => setLoaded(true))\n .catch(setError);\n }, []);\n\n return [loaded, error];\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/b6838950fce923bdae27c5f1a118b716.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/b6838950fce923bdae27c5f1a118b716.json new file mode 100644 index 00000000..230b1727 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/b6838950fce923bdae27c5f1a118b716.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport React, { useState } from \"react\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport TouchableOpacity from \"react-native-web/dist/exports/TouchableOpacity\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nvar STAR_IMAGE = require(\"../images/airbnb-star.png\");\nvar STAR_SELECTED_IMAGE = require(\"../images/airbnb-star-selected.png\");\nvar STAR_SIZE = 40;\nvar Star = function Star(props) {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n selected = _useState2[0],\n setSelected = _useState2[1];\n var springValue = new Animated.Value(1);\n var spring = function spring() {\n var position = props.position,\n starSelectedInPosition = props.starSelectedInPosition;\n springValue.setValue(1.2);\n Animated.spring(springValue, {\n toValue: 1,\n friction: 2,\n tension: 1,\n useNativeDriver: true\n }).start();\n setSelected(!selected);\n starSelectedInPosition(position);\n };\n var starImage = props.starImage,\n fill = props.fill,\n size = props.size,\n selectedColor = props.selectedColor,\n unSelectedColor = props.unSelectedColor,\n isDisabled = props.isDisabled,\n starStyle = props.starStyle;\n var starSource = fill && selectedColor === null ? STAR_SELECTED_IMAGE : starImage;\n return _jsx(TouchableOpacity, {\n activeOpacity: 1,\n onPress: spring,\n disabled: isDisabled,\n children: _jsx(Animated.Image, {\n source: starSource,\n style: [styles.starStyle, {\n tintColor: fill && selectedColor ? selectedColor : unSelectedColor,\n width: size || STAR_SIZE,\n height: size || STAR_SIZE,\n transform: [{\n scale: springValue\n }]\n }, starStyle]\n })\n });\n};\nStar.defaultProps = {\n starImage: STAR_IMAGE,\n selectedColor: \"#f1c40f\",\n unSelectedColor: \"#BDC3C7\"\n};\nexport default Star;\nvar styles = StyleSheet.create({\n starStyle: {\n margin: 3\n }\n});","map":{"version":3,"names":["React","useState","STAR_IMAGE","require","STAR_SELECTED_IMAGE","STAR_SIZE","Star","props","selected","setSelected","springValue","Animated","Value","spring","position","starSelectedInPosition","setValue","toValue","friction","tension","useNativeDriver","start","starImage","fill","size","selectedColor","unSelectedColor","isDisabled","starStyle","starSource","styles","tintColor","width","height","transform","scale","defaultProps","StyleSheet","create","margin"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-ratings/dist/components/Star.js"],"sourcesContent":["import React, { useState } from \"react\";\nimport { StyleSheet, Animated, TouchableOpacity } from \"react-native\";\nconst STAR_IMAGE = require(\"../images/airbnb-star.png\");\nconst STAR_SELECTED_IMAGE = require(\"../images/airbnb-star-selected.png\");\nconst STAR_SIZE = 40;\nconst Star = props => {\n const [selected, setSelected] = useState(false);\n const springValue = new Animated.Value(1);\n const spring = () => {\n const { position, starSelectedInPosition } = props;\n springValue.setValue(1.2);\n Animated.spring(springValue, {\n toValue: 1,\n friction: 2,\n tension: 1,\n useNativeDriver: true\n }).start();\n setSelected(!selected);\n starSelectedInPosition(position);\n };\n const { starImage, fill, size, selectedColor, unSelectedColor, isDisabled, starStyle } = props;\n const starSource = fill && selectedColor === null ? STAR_SELECTED_IMAGE : starImage;\n return (\n \n );\n};\nStar.defaultProps = {\n starImage: STAR_IMAGE,\n selectedColor: \"#f1c40f\",\n unSelectedColor: \"#BDC3C7\"\n};\nexport default Star;\nconst styles = StyleSheet.create({\n starStyle: {\n margin: 3\n }\n});\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AAAC;AAAA;AAAA;AAAA;AAExC,IAAMC,UAAU,GAAGC,OAAO,6BAA6B;AACvD,IAAMC,mBAAmB,GAAGD,OAAO,sCAAsC;AACzE,IAAME,SAAS,GAAG,EAAE;AACpB,IAAMC,IAAI,GAAG,SAAPA,IAAI,CAAGC,KAAK,EAAI;EAClB,gBAAgCN,QAAQ,CAAC,KAAK,CAAC;IAAA;IAAxCO,QAAQ;IAAEC,WAAW;EAC5B,IAAMC,WAAW,GAAG,IAAIC,QAAQ,CAACC,KAAK,CAAC,CAAC,CAAC;EACzC,IAAMC,MAAM,GAAG,SAATA,MAAM,GAAS;IACjB,IAAQC,QAAQ,GAA6BP,KAAK,CAA1CO,QAAQ;MAAEC,sBAAsB,GAAKR,KAAK,CAAhCQ,sBAAsB;IACxCL,WAAW,CAACM,QAAQ,CAAC,GAAG,CAAC;IACzBL,QAAQ,CAACE,MAAM,CAACH,WAAW,EAAE;MACzBO,OAAO,EAAE,CAAC;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AACC,MAAM,CAAC;EAC7BV,SAAS,EAAE;IACPW,MAAM,EAAE;EACZ;AACJ,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/b9022cc193a58e9ae776fb949b44a1ac.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/b9022cc193a58e9ae776fb949b44a1ac.json new file mode 100644 index 00000000..8731f2cd --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/b9022cc193a58e9ae776fb949b44a1ac.json @@ -0,0 +1 @@ +{"ast":null,"code":"import Rating from \"./SwipeRating\";\nimport AirbnbRating from \"./TapRating\";\nexport { Rating, AirbnbRating };","map":{"version":3,"names":["Rating","AirbnbRating"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-ratings/dist/index.js"],"sourcesContent":["import Rating from \"./SwipeRating\";\nimport AirbnbRating from \"./TapRating\";\nexport { Rating, AirbnbRating };\n"],"mappings":"AAAA,OAAOA,MAAM;AACb,OAAOC,YAAY;AACnB,SAASD,MAAM,EAAEC,YAAY"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/be0087cafc40fc73e5f1197381919924.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/be0087cafc40fc73e5f1197381919924.json new file mode 100644 index 00000000..3b8ade29 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/be0087cafc40fc73e5f1197381919924.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Zocial.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Zocial.json\";\nexport default createIconSet(glyphMap, 'zocial', font);","map":{"version":3,"sources":["../src/Zocial.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Zocial.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Zocial.json';\n\nexport default createIconSet(glyphMap, 'zocial', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/bf6cd61c532f58544d7b02d87db0c7b3.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/bf6cd61c532f58544d7b02d87db0c7b3.json new file mode 100644 index 00000000..2cc46aa7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/bf6cd61c532f58544d7b02d87db0c7b3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import React from \"react\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport { Details } from \"../components/Details\";\nimport { TopBar } from \"../components/TopBar\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function CityDetails(_ref) {\n var route = _ref.route;\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n var weather = route.params.weather;\n return _jsxs(View, {\n children: [_jsx(TopBar, {}), _jsx(Details, {\n weather: weather\n })]\n });\n}","map":{"version":3,"names":["React","useSafeAreaInsets","Details","TopBar","CityDetails","route","insets","statusBarHeight","top","weather","params"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/CityDetails.tsx"],"sourcesContent":["import React from \"react\";\nimport { View} from \"react-native\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport { Details } from \"../components/Details\";\nimport { TopBar } from \"../components/TopBar\";\nimport { City, Weather } from \"../data/stub\";\n\nexport default function CityDetails({route}){\n const insets = useSafeAreaInsets();\n const statusBarHeight = insets.top;\n\n const weather: Weather =route.params.weather;\n\n return (\n \n \n
\n \n )\n}\n\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAAC;AAE1B,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,OAAO;AAChB,SAASC,MAAM;AAA+B;AAAA;AAG9C,eAAe,SAASC,WAAW,OAAS;EAAA,IAAPC,KAAK,QAALA,KAAK;EACtC,IAAMC,MAAM,GAAGL,iBAAiB,EAAE;EAClC,IAAMM,eAAe,GAAGD,MAAM,CAACE,GAAG;EAElC,IAAMC,OAAgB,GAAEJ,KAAK,CAACK,MAAM,CAACD,OAAO;EAE5C,OACI,MAAC,IAAI;IAAA,WACD,KAAC,MAAM,KAAE,EACT,KAAC,OAAO;MAAC,OAAO,EAAEA;IAAQ,EAAE;EAAA,EACzB;AAEf"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c06b6c3b9cfb7489b5e6568fa8f7bee4.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c06b6c3b9cfb7489b5e6568fa8f7bee4.json new file mode 100644 index 00000000..93e4a6b7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c06b6c3b9cfb7489b5e6568fa8f7bee4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/EvilIcons.json\";\nvar iconSet = createIconSet(glyphMap, 'EvilIcons', 'EvilIcons.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/EvilIcons.js"],"sourcesContent":["/**\n * EvilIcons icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/EvilIcons.json';\n\nconst iconSet = createIconSet(glyphMap, 'EvilIcons', 'EvilIcons.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,WAAW,EAAE,eAAe,CAAC;AAErE,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c0cd8bbefcf94128f39ef69bf388c5a9.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c0cd8bbefcf94128f39ef69bf388c5a9.json new file mode 100644 index 00000000..c8cbac37 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c0cd8bbefcf94128f39ef69bf388c5a9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport React, { Component } from \"react\";\nimport times from \"lodash/times\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport PanResponder from \"react-native-web/dist/exports/PanResponder\";\nimport Image from \"react-native-web/dist/exports/Image\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport Dimensions from \"react-native-web/dist/exports/Dimensions\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nvar STAR_IMAGE = require(\"./images/star.png\");\nvar HEART_IMAGE = require(\"./images/heart.png\");\nvar ROCKET_IMAGE = require(\"./images/rocket.png\");\nvar BELL_IMAGE = require(\"./images/bell.png\");\nvar TYPES = {\n star: {\n source: STAR_IMAGE,\n color: \"#f1c40f\",\n backgroundColor: \"white\"\n },\n heart: {\n source: HEART_IMAGE,\n color: \"#e74c3c\",\n backgroundColor: \"white\"\n },\n rocket: {\n source: ROCKET_IMAGE,\n color: \"#2ecc71\",\n backgroundColor: \"white\"\n },\n bell: {\n source: BELL_IMAGE,\n color: \"#f39c12\",\n backgroundColor: \"white\"\n },\n custom: {}\n};\nvar fractionsType = function fractionsType(props, propName, componentName) {\n if (props[propName]) {\n var value = props[propName];\n if (typeof value === \"number\") {\n return value >= 0 && value <= 20 ? null : new Error(\"`\" + propName + \"` in `\" + componentName + \"` must be between 0 and 20\");\n }\n return new Error(\"`\" + propName + \"` in `\" + componentName + \"` must be a number\");\n }\n};\nvar SwipeRating = function (_Component) {\n _inherits(SwipeRating, _Component);\n var _super = _createSuper(SwipeRating);\n function SwipeRating(props) {\n var _this;\n _classCallCheck(this, SwipeRating);\n _this = _super.call(this, props);\n var _this$props = _this.props,\n onStartRating = _this$props.onStartRating,\n onSwipeRating = _this$props.onSwipeRating,\n onFinishRating = _this$props.onFinishRating,\n fractions = _this$props.fractions;\n var position = new Animated.ValueXY();\n var panResponder = PanResponder.create({\n onStartShouldSetPanResponder: function onStartShouldSetPanResponder() {\n return true;\n },\n onPanResponderGrant: function onPanResponderGrant(event, gesture) {\n var newPosition = new Animated.ValueXY();\n var tapPositionX = gesture.x0 - _this.state.centerX + gesture.dx;\n newPosition.setValue({\n x: tapPositionX,\n y: 0\n });\n if (_this.state.isComponentMounted) {\n _this.setState({\n position: newPosition,\n value: tapPositionX\n });\n var rating = _this.getCurrentRating(tapPositionX);\n if (typeof onStartRating === \"function\") {\n onStartRating(rating);\n }\n }\n },\n onPanResponderMove: function onPanResponderMove(event, gesture) {\n var newPosition = new Animated.ValueXY();\n var tapPositionX = gesture.x0 - _this.state.centerX + gesture.dx;\n newPosition.setValue({\n x: tapPositionX,\n y: 0\n });\n if (_this.state.isComponentMounted) {\n _this.setState({\n position: newPosition,\n value: tapPositionX\n });\n var rating = _this.getCurrentRating(tapPositionX);\n if (typeof onSwipeRating === \"function\") {\n onSwipeRating(rating);\n }\n }\n },\n onPanResponderRelease: function onPanResponderRelease() {\n var rating = _this.getCurrentRating(_this.state.value);\n if (rating >= _this.props.minValue) {\n if (!fractions) {\n _this.setCurrentRating(rating);\n }\n if (typeof onFinishRating === \"function\") {\n onFinishRating(rating);\n }\n }\n }\n });\n _this.state = {\n panResponder: panResponder,\n position: position,\n display: false,\n isComponentMounted: false\n };\n return _this;\n }\n _createClass(SwipeRating, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n try {\n this.setState({\n display: true,\n isComponentMounted: true\n }, function () {\n return _this2.setCurrentRating(_this2.props.startingValue);\n });\n } catch (err) {\n console.log(err);\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n if (this.props.startingValue !== prevProps.startingValue) {\n this.setCurrentRating(this.props.startingValue);\n }\n }\n }, {\n key: \"handleLayoutChange\",\n value: function handleLayoutChange() {\n var _this3 = this;\n this.ratingRef.measure(function (fx, fy, width, height, px) {\n var halfWidth = width / 2;\n var pageXWithinWindow = px % Dimensions.get(\"window\").width;\n _this3.setState({\n centerX: pageXWithinWindow + halfWidth\n });\n });\n }\n }, {\n key: \"getPrimaryViewStyle\",\n value: function getPrimaryViewStyle() {\n var position = this.state.position;\n var _this$props2 = this.props,\n imageSize = _this$props2.imageSize,\n ratingCount = _this$props2.ratingCount,\n type = _this$props2.type;\n var color = TYPES[type].color;\n var width = position.x.interpolate({\n inputRange: [-ratingCount * (imageSize / 2), 0, ratingCount * (imageSize / 2)],\n outputRange: [0, ratingCount * imageSize / 2, ratingCount * imageSize],\n extrapolate: \"clamp\"\n }, {\n useNativeDriver: true\n });\n return {\n backgroundColor: color,\n width: width,\n height: width ? imageSize : 0\n };\n }\n }, {\n key: \"getSecondaryViewStyle\",\n value: function getSecondaryViewStyle() {\n var position = this.state.position;\n var _this$props3 = this.props,\n imageSize = _this$props3.imageSize,\n ratingCount = _this$props3.ratingCount,\n type = _this$props3.type;\n var backgroundColor = TYPES[type].backgroundColor;\n var width = position.x.interpolate({\n inputRange: [-ratingCount * (imageSize / 2), 0, ratingCount * (imageSize / 2)],\n outputRange: [ratingCount * imageSize, ratingCount * imageSize / 2, 0],\n extrapolate: \"clamp\"\n }, {\n useNativeDriver: true\n });\n return {\n backgroundColor: backgroundColor,\n width: width,\n height: width ? imageSize : 0\n };\n }\n }, {\n key: \"renderRatings\",\n value: function renderRatings() {\n var _this$props4 = this.props,\n imageSize = _this$props4.imageSize,\n ratingCount = _this$props4.ratingCount,\n type = _this$props4.type,\n tintColor = _this$props4.tintColor;\n var source = TYPES[type].source;\n return times(ratingCount, function (index) {\n return _jsx(View, {\n style: styles.starContainer,\n children: _jsx(Image, {\n source: source,\n style: {\n width: imageSize,\n height: imageSize,\n tintColor: tintColor\n }\n })\n }, index);\n });\n }\n }, {\n key: \"getCurrentRating\",\n value: function getCurrentRating(value) {\n var _this$props5 = this.props,\n fractions = _this$props5.fractions,\n imageSize = _this$props5.imageSize,\n ratingCount = _this$props5.ratingCount;\n var startingValue = ratingCount / 2;\n var currentRating = this.props.minValue ? this.props.minValue : 0;\n if (value > ratingCount * imageSize / 2) {\n currentRating = ratingCount;\n } else if (value < -ratingCount * imageSize / 2) {\n currentRating = this.props.minValue ? this.props.minValue : 0;\n } else if (value <= imageSize || value > imageSize) {\n var diff = value / imageSize;\n currentRating = startingValue + diff;\n currentRating = fractions ? Number(currentRating.toFixed(fractions)) : Math.ceil(currentRating);\n } else {\n currentRating = fractions ? Number(startingValue.toFixed(fractions)) : Math.ceil(startingValue);\n }\n if (this.props.jumpValue > 0 && this.props.jumpValue < this.props.ratingCount) {\n return Math.ceil(currentRating * (1 / this.props.jumpValue)) / (1 / this.props.jumpValue);\n } else {\n return currentRating;\n }\n }\n }, {\n key: \"setCurrentRating\",\n value: function setCurrentRating(rating) {\n var _this$props6 = this.props,\n imageSize = _this$props6.imageSize,\n ratingCount = _this$props6.ratingCount;\n var initialRating = ratingCount / 2;\n var value = null;\n if (rating > ratingCount) {\n value = ratingCount * imageSize / 2;\n } else if (rating < 0) {\n value = -ratingCount * imageSize / 2;\n } else if (rating < ratingCount / 2 || rating > ratingCount / 2) {\n value = (rating - initialRating) * imageSize;\n } else {\n value = 0;\n }\n var newPosition = new Animated.ValueXY();\n newPosition.setValue({\n x: value,\n y: 0\n });\n if (this.state.isComponentMounted) {\n this.setState({\n position: newPosition,\n value: value\n });\n }\n }\n }, {\n key: \"displayCurrentRating\",\n value: function displayCurrentRating() {\n var _this$props7 = this.props,\n ratingCount = _this$props7.ratingCount,\n type = _this$props7.type,\n readonly = _this$props7.readonly,\n showReadOnlyText = _this$props7.showReadOnlyText,\n ratingTextColor = _this$props7.ratingTextColor;\n var color = ratingTextColor || TYPES[type].color;\n return _jsxs(View, {\n style: styles.showRatingView,\n children: [_jsxs(View, {\n style: styles.ratingView,\n children: [_jsx(Text, {\n style: [styles.ratingText, {\n color: color\n }],\n children: \"Rating: \"\n }), _jsx(Text, {\n style: [styles.currentRatingText, {\n color: color\n }],\n children: this.getCurrentRating(this.state.value)\n }), _jsxs(Text, {\n style: [styles.maxRatingText, {\n color: color\n }],\n children: [\"/\", ratingCount]\n })]\n }), _jsx(View, {\n children: readonly && showReadOnlyText && _jsx(Text, {\n style: [styles.readonlyLabel, {\n color: color\n }],\n children: \"(readonly)\"\n })\n })]\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this4 = this;\n var _this$props8 = this.props,\n readonly = _this$props8.readonly,\n type = _this$props8.type,\n ratingImage = _this$props8.ratingImage,\n ratingColor = _this$props8.ratingColor,\n ratingBackgroundColor = _this$props8.ratingBackgroundColor,\n style = _this$props8.style,\n showRating = _this$props8.showRating;\n if (type === \"custom\") {\n var custom = {\n source: ratingImage,\n color: ratingColor,\n backgroundColor: ratingBackgroundColor\n };\n TYPES.custom = custom;\n }\n return this.state.display ? _jsxs(View, {\n pointerEvents: readonly ? \"none\" : \"auto\",\n style: style,\n children: [showRating && this.displayCurrentRating(), _jsxs(View, _objectSpread(_objectSpread({\n style: styles.starsWrapper\n }, this.state.panResponder.panHandlers), {}, {\n children: [_jsxs(View, {\n style: styles.starsInsideWrapper,\n onLayout: function onLayout() {\n _this4.handleLayoutChange();\n },\n ref: function ref(view) {\n _this4.ratingRef = view;\n },\n children: [_jsx(Animated.View, {\n style: this.getPrimaryViewStyle()\n }), _jsx(Animated.View, {\n style: this.getSecondaryViewStyle()\n })]\n }), this.renderRatings()]\n }))]\n }) : null;\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.setState({\n isComponentMounted: false\n });\n }\n }]);\n return SwipeRating;\n}(Component);\nexport { SwipeRating as default };\nSwipeRating.defaultProps = {\n type: \"star\",\n ratingImage: STAR_IMAGE,\n ratingColor: \"#f1c40f\",\n ratingBackgroundColor: \"white\",\n ratingCount: 5,\n showReadOnlyText: true,\n imageSize: 40,\n minValue: 0,\n jumpValue: 0\n};\nvar styles = StyleSheet.create({\n starsWrapper: {\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n starsInsideWrapper: {\n position: \"absolute\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n showRatingView: {\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n paddingBottom: 5\n },\n ratingView: {\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n paddingBottom: 5\n },\n ratingText: {\n fontSize: 15,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null,\n color: \"#34495e\"\n },\n readonlyLabel: {\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: 12,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null,\n color: \"#34495a\"\n },\n currentRatingText: {\n fontSize: 30,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null\n },\n maxRatingText: {\n fontSize: 18,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null,\n color: \"#34495e\"\n }\n});","map":{"version":3,"names":["React","Component","times","STAR_IMAGE","require","HEART_IMAGE","ROCKET_IMAGE","BELL_IMAGE","TYPES","star","source","color","backgroundColor","heart","rocket","bell","custom","fractionsType","props","propName","componentName","value","Error","SwipeRating","onStartRating","onSwipeRating","onFinishRating","fractions","position","Animated","ValueXY","panResponder","PanResponder","create","onStartShouldSetPanResponder","onPanResponderGrant","event","gesture","newPosition","tapPositionX","x0","state","centerX","dx","setValue","x","y","isComponentMounted","setState","rating","getCurrentRating","onPanResponderMove","onPanResponderRelease","minValue","setCurrentRating","display","startingValue","err","console","log","prevProps","ratingRef","measure","fx","fy","width","height","px","halfWidth","pageXWithinWindow","Dimensions","get","imageSize","ratingCount","type","interpolate","inputRange","outputRange","extrapolate","useNativeDriver","tintColor","index","styles","starContainer","currentRating","diff","Number","toFixed","Math","ceil","jumpValue","initialRating","readonly","showReadOnlyText","ratingTextColor","showRatingView","ratingView","ratingText","currentRatingText","maxRatingText","readonlyLabel","ratingImage","ratingColor","ratingBackgroundColor","style","showRating","displayCurrentRating","starsWrapper","panHandlers","starsInsideWrapper","handleLayoutChange","view","getPrimaryViewStyle","getSecondaryViewStyle","renderRatings","defaultProps","StyleSheet","flexDirection","justifyContent","alignItems","top","left","right","bottom","paddingBottom","fontSize","textAlign","fontFamily","Platform","OS"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-ratings/dist/SwipeRating.js"],"sourcesContent":["import React, { Component } from \"react\";\nimport times from \"lodash/times\";\nimport { View, Text, Animated, PanResponder, Image, StyleSheet, Platform, Dimensions } from \"react-native\";\n// RATING IMAGES WITH STATIC BACKGROUND COLOR (white)\nconst STAR_IMAGE = require(\"./images/star.png\");\nconst HEART_IMAGE = require(\"./images/heart.png\");\nconst ROCKET_IMAGE = require(\"./images/rocket.png\");\nconst BELL_IMAGE = require(\"./images/bell.png\");\nconst TYPES = {\n star: {\n source: STAR_IMAGE,\n color: \"#f1c40f\",\n backgroundColor: \"white\"\n },\n heart: {\n source: HEART_IMAGE,\n color: \"#e74c3c\",\n backgroundColor: \"white\"\n },\n rocket: {\n source: ROCKET_IMAGE,\n color: \"#2ecc71\",\n backgroundColor: \"white\"\n },\n bell: {\n source: BELL_IMAGE,\n color: \"#f39c12\",\n backgroundColor: \"white\"\n },\n custom: {}\n};\nconst fractionsType = (props, propName, componentName) => {\n if (props[propName]) {\n const value = props[propName];\n if (typeof value === \"number\") {\n return value >= 0 && value <= 20 ?\n null :\n new Error(`\\`${propName}\\` in \\`${componentName}\\` must be between 0 and 20`);\n }\n return new Error(`\\`${propName}\\` in \\`${componentName}\\` must be a number`);\n }\n};\nexport default class SwipeRating extends Component {\n constructor(props) {\n super(props);\n const { onStartRating, onSwipeRating, onFinishRating, fractions } = this.props;\n const position = new Animated.ValueXY();\n const panResponder = PanResponder.create({\n onStartShouldSetPanResponder: () => true,\n onPanResponderGrant: (event, gesture) => {\n const newPosition = new Animated.ValueXY();\n const tapPositionX = gesture.x0 - this.state.centerX + gesture.dx;\n newPosition.setValue({ x: tapPositionX, y: 0 });\n if (this.state.isComponentMounted) {\n this.setState({ position: newPosition, value: tapPositionX });\n const rating = this.getCurrentRating(tapPositionX);\n if (typeof onStartRating === \"function\") {\n onStartRating(rating);\n }\n }\n },\n onPanResponderMove: (event, gesture) => {\n const newPosition = new Animated.ValueXY();\n const tapPositionX = gesture.x0 - this.state.centerX + gesture.dx;\n newPosition.setValue({ x: tapPositionX, y: 0 });\n if (this.state.isComponentMounted) {\n this.setState({ position: newPosition, value: tapPositionX });\n const rating = this.getCurrentRating(tapPositionX);\n if (typeof onSwipeRating === \"function\") {\n onSwipeRating(rating);\n }\n }\n },\n onPanResponderRelease: () => {\n const rating = this.getCurrentRating(this.state.value);\n if (rating >= this.props.minValue) {\n if (!fractions) {\n // 'round up' to the nearest rating image\n this.setCurrentRating(rating);\n }\n if (typeof onFinishRating === \"function\") {\n onFinishRating(rating);\n }\n }\n }\n });\n this.state = {\n panResponder,\n position,\n display: false,\n isComponentMounted: false\n };\n }\n componentDidMount() {\n try {\n this.setState({ display: true, isComponentMounted: true }, () => this.setCurrentRating(this.props.startingValue));\n }\n catch (err) {\n // eslint-disable-next-line no-console\n console.log(err);\n }\n }\n componentDidUpdate(prevProps) {\n if (this.props.startingValue !== prevProps.startingValue) {\n this.setCurrentRating(this.props.startingValue);\n }\n }\n handleLayoutChange() {\n // eslint-disable-next-line max-params\n this.ratingRef.measure((fx, fy, width, height, px) => {\n const halfWidth = width / 2;\n const pageXWithinWindow = px % Dimensions.get(\"window\").width;\n this.setState({\n centerX: pageXWithinWindow + halfWidth\n });\n });\n }\n getPrimaryViewStyle() {\n const { position } = this.state;\n const { imageSize, ratingCount, type } = this.props;\n const { color } = TYPES[type];\n const width = position.x.interpolate({\n inputRange: [\n -ratingCount * (imageSize / 2),\n 0,\n ratingCount * (imageSize / 2)\n ],\n outputRange: [\n 0,\n ratingCount * imageSize / 2,\n ratingCount * imageSize\n ],\n extrapolate: \"clamp\"\n }, {\n useNativeDriver: true\n });\n return {\n backgroundColor: color,\n width,\n height: width ? imageSize : 0\n };\n }\n getSecondaryViewStyle() {\n const { position } = this.state;\n const { imageSize, ratingCount, type } = this.props;\n const { backgroundColor } = TYPES[type];\n const width = position.x.interpolate({\n inputRange: [\n -ratingCount * (imageSize / 2),\n 0,\n ratingCount * (imageSize / 2)\n ],\n outputRange: [\n ratingCount * imageSize,\n ratingCount * imageSize / 2,\n 0\n ],\n extrapolate: \"clamp\"\n }, {\n useNativeDriver: true\n });\n return {\n backgroundColor,\n width,\n height: width ? imageSize : 0\n };\n }\n renderRatings() {\n const { imageSize, ratingCount, type, tintColor } = this.props;\n const { source } = TYPES[type];\n return times(ratingCount, index => \n \n );\n }\n // eslint-disable-next-line max-statements\n getCurrentRating(value) {\n const { fractions, imageSize, ratingCount } = this.props;\n const startingValue = ratingCount / 2;\n let currentRating = this.props.minValue ? this.props.minValue : 0;\n if (value > ratingCount * imageSize / 2) {\n currentRating = ratingCount;\n }\n else if (value < -ratingCount * imageSize / 2) {\n currentRating = this.props.minValue ? this.props.minValue : 0;\n }\n else if (value <= imageSize || value > imageSize) {\n const diff = value / imageSize;\n currentRating = startingValue + diff;\n currentRating = fractions ?\n Number(currentRating.toFixed(fractions)) :\n Math.ceil(currentRating);\n }\n else {\n currentRating = fractions ?\n Number(startingValue.toFixed(fractions)) :\n Math.ceil(startingValue);\n }\n if (this.props.jumpValue > 0 &&\n this.props.jumpValue < this.props.ratingCount) {\n return (Math.ceil(currentRating * (1 / this.props.jumpValue)) /\n (1 / this.props.jumpValue));\n }\n else {\n return currentRating;\n }\n }\n // eslint-disable-next-line max-statements\n setCurrentRating(rating) {\n const { imageSize, ratingCount } = this.props;\n // `initialRating` corresponds to `startingValue` in the getter. Naming it\n // Differently here avoids confusion with `value` below.\n const initialRating = ratingCount / 2;\n let value = null;\n if (rating > ratingCount) {\n value = ratingCount * imageSize / 2;\n }\n else if (rating < 0) {\n value = -ratingCount * imageSize / 2;\n }\n else if (rating < ratingCount / 2 || rating > ratingCount / 2) {\n value = (rating - initialRating) * imageSize;\n }\n else {\n value = 0;\n }\n const newPosition = new Animated.ValueXY();\n newPosition.setValue({ x: value, y: 0 });\n if (this.state.isComponentMounted) {\n this.setState({ position: newPosition, value });\n }\n }\n displayCurrentRating() {\n const { ratingCount, type, readonly, showReadOnlyText, ratingTextColor } = this.props;\n const color = ratingTextColor || TYPES[type].color;\n return (\n \n Rating: \n \n {this.getCurrentRating(this.state.value)}\n \n /{ratingCount}\n \n \n {readonly && showReadOnlyText &&\n (readonly)}\n \n );\n }\n render() {\n const { readonly, type, ratingImage, ratingColor, ratingBackgroundColor, style, showRating } = this.props;\n if (type === \"custom\") {\n const custom = {\n source: ratingImage,\n color: ratingColor,\n backgroundColor: ratingBackgroundColor\n };\n TYPES.custom = custom;\n }\n return this.state.display ?\n \n {showRating && this.displayCurrentRating()}\n \n {\n this.handleLayoutChange();\n }} ref={view => {\n this.ratingRef = view;\n }}>\n \n \n \n {this.renderRatings()}\n \n :\n null;\n }\n componentWillUnmount() {\n this.setState({ isComponentMounted: false });\n }\n}\nSwipeRating.defaultProps = {\n type: \"star\",\n ratingImage: STAR_IMAGE,\n ratingColor: \"#f1c40f\",\n ratingBackgroundColor: \"white\",\n ratingCount: 5,\n showReadOnlyText: true,\n imageSize: 40,\n minValue: 0,\n jumpValue: 0\n};\nconst styles = StyleSheet.create({\n starsWrapper: {\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n starsInsideWrapper: {\n position: \"absolute\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n showRatingView: {\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n paddingBottom: 5\n },\n ratingView: {\n flexDirection: \"row\",\n justifyContent: \"center\",\n alignItems: \"center\",\n paddingBottom: 5\n },\n ratingText: {\n fontSize: 15,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null,\n color: \"#34495e\"\n },\n readonlyLabel: {\n justifyContent: \"center\",\n alignItems: \"center\",\n fontSize: 12,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null,\n color: \"#34495a\"\n },\n currentRatingText: {\n fontSize: 30,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null\n },\n maxRatingText: {\n fontSize: 18,\n textAlign: \"center\",\n fontFamily: Platform.OS === \"ios\" ? \"Trebuchet MS\" : null,\n color: \"#34495e\"\n }\n});\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,OAAOC,KAAK,MAAM,cAAc;AAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGjC,IAAMC,UAAU,GAAGC,OAAO,qBA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,UAAU,EAAEC,QAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,cAAc,GAAG,IAAI;IACzDtH,KAAK,EAAE;EACX,CAAC;EACDuF,iBAAiB,EAAE;IACf2B,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAEC,QAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,cAAc,GAAG;EACzD,CAAC;EACD9B,aAAa,EAAE;IACX0B,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAEC,QAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,cAAc,GAAG,IAAI;IACzDtH,KAAK,EAAE;EACX;AACJ,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c11ad57f52131edc8b54083537fceefd.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c11ad57f52131edc8b54083537fceefd.json new file mode 100644 index 00000000..032f91e6 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c11ad57f52131edc8b54083537fceefd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport Dimensions from \"react-native-web/dist/exports/Dimensions\";\nvar _Dimensions$get = Dimensions.get('window'),\n width = _Dimensions$get.width,\n height = _Dimensions$get.height;\nvar _ref = width < height ? [width, height] : [height, width],\n _ref2 = _slicedToArray(_ref, 2),\n shortDimension = _ref2[0],\n longDimension = _ref2[1];\nvar guidelineBaseWidth = 350;\nvar guidelineBaseHeight = 680;\nexport var scale = function scale(size) {\n return shortDimension / guidelineBaseWidth * size;\n};\nexport var verticalScale = function verticalScale(size) {\n return longDimension / guidelineBaseHeight * size;\n};\nexport var moderateScale = function moderateScale(size) {\n var factor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.5;\n return size + (scale(size) - size) * factor;\n};\nexport var moderateVerticalScale = function moderateVerticalScale(size) {\n var factor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.5;\n return size + (verticalScale(size) - size) * factor;\n};\nexport var s = scale;\nexport var vs = verticalScale;\nexport var ms = moderateScale;\nexport var mvs = moderateVerticalScale;","map":{"version":3,"names":["Dimensions","get","width","height","shortDimension","longDimension","guidelineBaseWidth","guidelineBaseHeight","scale","size","verticalScale","moderateScale","factor","moderateVerticalScale","s","vs","ms","mvs"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-size-matters/lib/scaling-utils.js"],"sourcesContent":["import { Dimensions } from 'react-native';\n\nconst { width, height } = Dimensions.get('window');\nconst [shortDimension, longDimension] = width < height ? [width, height] : [height, width];\n\n//Default guideline sizes are based on standard ~5\" screen mobile device\nconst guidelineBaseWidth = 350;\nconst guidelineBaseHeight = 680;\n\nexport const scale = size => shortDimension / guidelineBaseWidth * size;\nexport const verticalScale = size => longDimension / guidelineBaseHeight * size;\nexport const moderateScale = (size, factor = 0.5) => size + (scale(size) - size) * factor;\nexport const moderateVerticalScale = (size, factor = 0.5) => size + (verticalScale(size) - size) * factor;\n\nexport const s = scale;\nexport const vs = verticalScale;\nexport const ms = moderateScale;\nexport const mvs = moderateVerticalScale;"],"mappings":";;AAEA,sBAA0BA,UAAU,CAACC,GAAG,CAAC,QAAQ,CAAC;EAA1CC,KAAK,mBAALA,KAAK;EAAEC,MAAM,mBAANA,MAAM;AACrB,WAAwCD,KAAK,GAAGC,MAAM,GAAG,CAACD,KAAK,EAAEC,MAAM,CAAC,GAAG,CAACA,MAAM,EAAED,KAAK,CAAC;EAAA;EAAnFE,cAAc;EAAEC,aAAa;AAGpC,IAAMC,kBAAkB,GAAG,GAAG;AAC9B,IAAMC,mBAAmB,GAAG,GAAG;AAE/B,OAAO,IAAMC,KAAK,GAAG,SAARA,KAAK,CAAGC,IAAI;EAAA,OAAIL,cAAc,GAAGE,kBAAkB,GAAGG,IAAI;AAAA;AACvE,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAa,CAAGD,IAAI;EAAA,OAAIJ,aAAa,GAAGE,mBAAmB,GAAGE,IAAI;AAAA;AAC/E,OAAO,IAAME,aAAa,GAAG,SAAhBA,aAAa,CAAIF,IAAI;EAAA,IAAEG,MAAM,uEAAG,GAAG;EAAA,OAAKH,IAAI,GAAG,CAACD,KAAK,CAACC,IAAI,CAAC,GAAGA,IAAI,IAAIG,MAAM;AAAA;AACzF,OAAO,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqB,CAAIJ,IAAI;EAAA,IAAEG,MAAM,uEAAG,GAAG;EAAA,OAAKH,IAAI,GAAG,CAACC,aAAa,CAACD,IAAI,CAAC,GAAGA,IAAI,IAAIG,MAAM;AAAA;AAEzG,OAAO,IAAME,CAAC,GAAGN,KAAK;AACtB,OAAO,IAAMO,EAAE,GAAGL,aAAa;AAC/B,OAAO,IAAMM,EAAE,GAAGL,aAAa;AAC/B,OAAO,IAAMM,GAAG,GAAGJ,qBAAqB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c1ba8573850807d832f7f84e3a522310.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c1ba8573850807d832f7f84e3a522310.json new file mode 100644 index 00000000..6d79629c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c1ba8573850807d832f7f84e3a522310.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport invariant from 'fbjs/lib/invariant';\nimport canUseDOM from \"../../modules/canUseDom\";\nvar initialURL = canUseDOM ? window.location.href : '';\nvar Linking = function () {\n function Linking() {\n var _this = this;\n _classCallCheck(this, Linking);\n this._eventCallbacks = {};\n this.addEventListener = function (event, callback) {\n if (!_this._eventCallbacks[event]) {\n _this._eventCallbacks[event] = [callback];\n return;\n }\n _this._eventCallbacks[event].push(callback);\n };\n this.removeEventListener = function (event, callback) {\n var callbacks = _this._eventCallbacks[event];\n var filteredCallbacks = callbacks.filter(function (c) {\n return c.toString() !== callback.toString();\n });\n _this._eventCallbacks[event] = filteredCallbacks;\n };\n }\n _createClass(Linking, [{\n key: \"_dispatchEvent\",\n value: function _dispatchEvent(event) {\n for (var _len = arguments.length, data = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n data[_key - 1] = arguments[_key];\n }\n var listeners = this._eventCallbacks[event];\n if (listeners != null && Array.isArray(listeners)) {\n listeners.map(function (listener) {\n listener.apply(void 0, data);\n });\n }\n }\n }, {\n key: \"canOpenURL\",\n value: function canOpenURL() {\n return Promise.resolve(true);\n }\n }, {\n key: \"getInitialURL\",\n value: function getInitialURL() {\n return Promise.resolve(initialURL);\n }\n }, {\n key: \"openURL\",\n value: function openURL(url, target) {\n if (arguments.length === 1) {\n target = '_blank';\n }\n try {\n open(url, target);\n this._dispatchEvent('onOpen', url);\n return Promise.resolve();\n } catch (e) {\n return Promise.reject(e);\n }\n }\n }, {\n key: \"_validateURL\",\n value: function _validateURL(url) {\n invariant(typeof url === 'string', 'Invalid URL: should be a string. Was: ' + url);\n invariant(url, 'Invalid URL: cannot be empty');\n }\n }]);\n return Linking;\n}();\nvar open = function open(url, target) {\n if (canUseDOM) {\n var urlToOpen = new URL(url, window.location).toString();\n if (urlToOpen.indexOf('tel:') === 0) {\n window.location = urlToOpen;\n } else {\n window.open(urlToOpen, target, 'noopener');\n }\n }\n};\nexport default new Linking();","map":{"version":3,"names":["invariant","canUseDOM","initialURL","window","location","href","Linking","_eventCallbacks","addEventListener","event","callback","push","removeEventListener","callbacks","filteredCallbacks","filter","c","toString","_len","arguments","length","data","Array","_key","listeners","isArray","map","listener","Promise","resolve","url","target","open","_dispatchEvent","e","reject","urlToOpen","URL","indexOf"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Linking/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\nimport canUseDOM from '../../modules/canUseDom';\nvar initialURL = canUseDOM ? window.location.href : '';\n\nclass Linking {\n constructor() {\n this._eventCallbacks = {};\n\n this.addEventListener = (event, callback) => {\n if (!this._eventCallbacks[event]) {\n this._eventCallbacks[event] = [callback];\n return;\n }\n\n this._eventCallbacks[event].push(callback);\n };\n\n this.removeEventListener = (event, callback) => {\n var callbacks = this._eventCallbacks[event];\n var filteredCallbacks = callbacks.filter(c => c.toString() !== callback.toString());\n this._eventCallbacks[event] = filteredCallbacks;\n };\n }\n\n _dispatchEvent(event) {\n for (var _len = arguments.length, data = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n data[_key - 1] = arguments[_key];\n }\n\n var listeners = this._eventCallbacks[event];\n\n if (listeners != null && Array.isArray(listeners)) {\n listeners.map(listener => {\n listener(...data);\n });\n }\n }\n /**\n * Adds a event listener for the specified event. The callback will be called when the\n * said event is dispatched.\n */\n\n\n canOpenURL() {\n return Promise.resolve(true);\n }\n\n getInitialURL() {\n return Promise.resolve(initialURL);\n }\n /**\n * Try to open the given url in a secure fashion. The method returns a Promise object.\n * If a target is passed (including undefined) that target will be used, otherwise '_blank'.\n * If the url opens, the promise is resolved. If not, the promise is rejected.\n * Dispatches the `onOpen` event if `url` is opened successfully.\n */\n\n\n openURL(url, target) {\n if (arguments.length === 1) {\n target = '_blank';\n }\n\n try {\n open(url, target);\n\n this._dispatchEvent('onOpen', url);\n\n return Promise.resolve();\n } catch (e) {\n return Promise.reject(e);\n }\n }\n\n _validateURL(url) {\n invariant(typeof url === 'string', 'Invalid URL: should be a string. Was: ' + url);\n invariant(url, 'Invalid URL: cannot be empty');\n }\n\n}\n\nvar open = (url, target) => {\n if (canUseDOM) {\n var urlToOpen = new URL(url, window.location).toString();\n\n if (urlToOpen.indexOf('tel:') === 0) {\n window.location = urlToOpen;\n } else {\n window.open(urlToOpen, target, 'noopener');\n }\n }\n};\n\nexport default new Linking();"],"mappings":";;AASA,OAAOA,SAAS,MAAM,oBAAoB;AAC1C,OAAOC,SAAS;AAChB,IAAIC,UAAU,GAAGD,SAAS,GAAGE,MAAM,CAACC,QAAQ,CAACC,IAAI,GAAG,EAAE;AAAC,IAEjDC,OAAO;EACX,mBAAc;IAAA;IAAA;IACZ,IAAI,CAACC,eAAe,GAAG,CAAC,CAAC;IAEzB,IAAI,CAACC,gBAAgB,GAAG,UAACC,KAAK,EAAEC,QAAQ,EAAK;MAC3C,IAAI,CAAC,KAAI,CAACH,eAAe,CAACE,KAAK,CAAC,EAAE;QAChC,KAAI,CAACF,eAAe,CAACE,KAAK,CAAC,GAAG,CAACC,QAAQ,CAAC;QACxC;MACF;MAEA,KAAI,CAACH,eAAe,CAACE,KAAK,CAAC,CAACE,IAAI,CAACD,QAAQ,CAAC;IAC5C,CAAC;IAED,IAAI,CAACE,mBAAmB,GAAG,UAACH,KAAK,EAAEC,QAAQ,EAAK;MAC9C,IAAIG,SAAS,GAAG,KAAI,CAACN,eAAe,CAACE,KAAK,CAAC;MAC3C,IAAIK,iBAAiB,GAAGD,SAAS,CAACE,MAAM,CAAC,UAAAC,CAAC;QAAA,OAAIA,CAAC,CAACC,QAAQ,EAAE,KAAKP,QAAQ,CAACO,QAAQ,EAAE;MAAA,EAAC;MACnF,KAAI,CAACV,eAAe,CAACE,KAAK,CAAC,GAAGK,iBAAiB;IACjD,CAAC;EACH;EAAC;IAAA;IAAA,OAED,wBAAeL,KAAK,EAAE;MACpB,KAAK,IAAIS,IAAI,GAAGC,SAAS,CAACC,MAAM,EAAEC,IAAI,GAAG,IAAIC,KAAK,CAACJ,IAAI,GAAG,CAAC,GAAGA,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,EAAEK,IAAI,GAAG,CAAC,EAAE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IAAI9B,SAAS,EAAE;IACb,IAAImC,SAAS,GAAG,IAAIC,GAAG,CAACP,GAAG,EAAE3B,MAAM,CAACC,QAAQ,CAAC,CAACa,QAAQ,EAAE;IAExD,IAAImB,SAAS,CAACE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;MACnCnC,MAAM,CAACC,QAAQ,GAAGgC,SAAS;IAC7B,CAAC,MAAM;MACLjC,MAAM,CAAC6B,IAAI,CAACI,SAAS,EAAEL,MAAM,EAAE,UAAU,CAAC;IAC5C;EACF;AACF,CAAC;AAED,eAAe,IAAIzB,OAAO,EAAE"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c1e3fcb19d9ea5bd2ed2d782b00812b7.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c1e3fcb19d9ea5bd2ed2d782b00812b7.json new file mode 100644 index 00000000..57238a80 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c1e3fcb19d9ea5bd2ed2d782b00812b7.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"state\", \"descriptors\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nimport { HeaderShownContext, SafeAreaProviderCompat } from '@react-navigation/elements';\nimport { StackActions } from '@react-navigation/native';\nimport * as React from 'react';\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { SafeAreaInsetsContext } from 'react-native-safe-area-context';\nimport ModalPresentationContext from \"../../utils/ModalPresentationContext\";\nimport { GestureHandlerRootView } from \"../GestureHandler\";\nimport HeaderContainer from \"../Header/HeaderContainer\";\nimport CardStack from \"./CardStack\";\nvar GestureHandlerWrapper = GestureHandlerRootView != null ? GestureHandlerRootView : View;\nvar isArrayEqual = function isArrayEqual(a, b) {\n return a.length === b.length && a.every(function (it, index) {\n return it === b[index];\n });\n};\nvar StackView = function (_React$Component) {\n _inherits(StackView, _React$Component);\n var _super = _createSuper(StackView);\n function StackView() {\n var _this;\n _classCallCheck(this, StackView);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n routes: [],\n previousRoutes: [],\n previousDescriptors: {},\n openingRouteKeys: [],\n closingRouteKeys: [],\n replacingRouteKeys: [],\n descriptors: {}\n };\n _this.getPreviousRoute = function (_ref2) {\n var route = _ref2.route;\n var _this$state = _this.state,\n closingRouteKeys = _this$state.closingRouteKeys,\n replacingRouteKeys = _this$state.replacingRouteKeys;\n var routes = _this.state.routes.filter(function (r) {\n return r.key === route.key || !closingRouteKeys.includes(r.key) && !replacingRouteKeys.includes(r.key);\n });\n var index = routes.findIndex(function (r) {\n return r.key === route.key;\n });\n return routes[index - 1];\n };\n _this.renderScene = function (_ref3) {\n var route = _ref3.route;\n var descriptor = _this.state.descriptors[route.key] || _this.props.descriptors[route.key];\n if (!descriptor) {\n return null;\n }\n return descriptor.render();\n };\n _this.renderHeader = function (props) {\n return React.createElement(HeaderContainer, props);\n };\n _this.handleOpenRoute = function (_ref4) {\n var route = _ref4.route;\n var _this$props = _this.props,\n state = _this$props.state,\n navigation = _this$props.navigation;\n var _this$state2 = _this.state,\n closingRouteKeys = _this$state2.closingRouteKeys,\n replacingRouteKeys = _this$state2.replacingRouteKeys;\n if (closingRouteKeys.some(function (key) {\n return key === route.key;\n }) && replacingRouteKeys.every(function (key) {\n return key !== route.key;\n }) && state.routeNames.includes(route.name) && !state.routes.some(function (r) {\n return r.key === route.key;\n })) {\n navigation.navigate(route);\n } else {\n _this.setState(function (state) {\n return {\n routes: state.replacingRouteKeys.length ? state.routes.filter(function (r) {\n return !state.replacingRouteKeys.includes(r.key);\n }) : state.routes,\n openingRouteKeys: state.openingRouteKeys.filter(function (key) {\n return key !== route.key;\n }),\n closingRouteKeys: state.closingRouteKeys.filter(function (key) {\n return key !== route.key;\n }),\n replacingRouteKeys: []\n };\n });\n }\n };\n _this.handleCloseRoute = function (_ref5) {\n var route = _ref5.route;\n var _this$props2 = _this.props,\n state = _this$props2.state,\n navigation = _this$props2.navigation;\n if (state.routes.some(function (r) {\n return r.key === route.key;\n })) {\n navigation.dispatch(_objectSpread(_objectSpread({}, StackActions.pop()), {}, {\n source: route.key,\n target: state.key\n }));\n } else {\n _this.setState(function (state) {\n return {\n routes: state.routes.filter(function (r) {\n return r.key !== route.key;\n }),\n openingRouteKeys: state.openingRouteKeys.filter(function (key) {\n return key !== route.key;\n }),\n closingRouteKeys: state.closingRouteKeys.filter(function (key) {\n return key !== route.key;\n })\n };\n });\n }\n };\n _this.handleTransitionStart = function (_ref6, closing) {\n var route = _ref6.route;\n return _this.props.navigation.emit({\n type: 'transitionStart',\n data: {\n closing: closing\n },\n target: route.key\n });\n };\n _this.handleTransitionEnd = function (_ref7, closing) {\n var route = _ref7.route;\n return _this.props.navigation.emit({\n type: 'transitionEnd',\n data: {\n closing: closing\n },\n target: route.key\n });\n };\n _this.handleGestureStart = function (_ref8) {\n var route = _ref8.route;\n _this.props.navigation.emit({\n type: 'gestureStart',\n target: route.key\n });\n };\n _this.handleGestureEnd = function (_ref9) {\n var route = _ref9.route;\n _this.props.navigation.emit({\n type: 'gestureEnd',\n target: route.key\n });\n };\n _this.handleGestureCancel = function (_ref10) {\n var route = _ref10.route;\n _this.props.navigation.emit({\n type: 'gestureCancel',\n target: route.key\n });\n };\n return _this;\n }\n _createClass(StackView, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props3 = this.props,\n state = _this$props3.state,\n _ = _this$props3.descriptors,\n rest = _objectWithoutProperties(_this$props3, _excluded);\n var _this$state3 = this.state,\n routes = _this$state3.routes,\n descriptors = _this$state3.descriptors,\n openingRouteKeys = _this$state3.openingRouteKeys,\n closingRouteKeys = _this$state3.closingRouteKeys;\n return React.createElement(GestureHandlerWrapper, {\n style: styles.container\n }, React.createElement(SafeAreaProviderCompat, null, React.createElement(SafeAreaInsetsContext.Consumer, null, function (insets) {\n return React.createElement(ModalPresentationContext.Consumer, null, function (isParentModal) {\n return React.createElement(HeaderShownContext.Consumer, null, function (isParentHeaderShown) {\n return React.createElement(CardStack, _extends({\n insets: insets,\n isParentHeaderShown: isParentHeaderShown,\n isParentModal: isParentModal,\n getPreviousRoute: _this2.getPreviousRoute,\n routes: routes,\n openingRouteKeys: openingRouteKeys,\n closingRouteKeys: closingRouteKeys,\n onOpenRoute: _this2.handleOpenRoute,\n onCloseRoute: _this2.handleCloseRoute,\n onTransitionStart: _this2.handleTransitionStart,\n onTransitionEnd: _this2.handleTransitionEnd,\n renderHeader: _this2.renderHeader,\n renderScene: _this2.renderScene,\n state: state,\n descriptors: descriptors,\n onGestureStart: _this2.handleGestureStart,\n onGestureEnd: _this2.handleGestureEnd,\n onGestureCancel: _this2.handleGestureCancel\n }, rest));\n });\n });\n })));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n if ((props.state.routes === state.previousRoutes || isArrayEqual(props.state.routes.map(function (r) {\n return r.key;\n }), state.previousRoutes.map(function (r) {\n return r.key;\n }))) && state.routes.length) {\n var _routes = state.routes;\n var _previousRoutes = state.previousRoutes;\n var _descriptors = props.descriptors;\n var previousDescriptors = state.previousDescriptors;\n if (props.descriptors !== state.previousDescriptors) {\n _descriptors = state.routes.reduce(function (acc, route) {\n acc[route.key] = props.descriptors[route.key] || state.descriptors[route.key];\n return acc;\n }, {});\n previousDescriptors = props.descriptors;\n }\n if (props.state.routes !== state.previousRoutes) {\n var map = props.state.routes.reduce(function (acc, route) {\n acc[route.key] = route;\n return acc;\n }, {});\n _routes = state.routes.map(function (route) {\n return map[route.key] || route;\n });\n _previousRoutes = props.state.routes;\n }\n return {\n routes: _routes,\n previousRoutes: _previousRoutes,\n descriptors: _descriptors,\n previousDescriptors: previousDescriptors\n };\n }\n var routes = props.state.index < props.state.routes.length - 1 ? props.state.routes.slice(0, props.state.index + 1) : props.state.routes;\n var openingRouteKeys = state.openingRouteKeys,\n closingRouteKeys = state.closingRouteKeys,\n replacingRouteKeys = state.replacingRouteKeys,\n previousRoutes = state.previousRoutes;\n var previousFocusedRoute = previousRoutes[previousRoutes.length - 1];\n var nextFocusedRoute = routes[routes.length - 1];\n var isAnimationEnabled = function isAnimationEnabled(key) {\n var descriptor = props.descriptors[key] || state.descriptors[key];\n return descriptor ? descriptor.options.animationEnabled !== false : true;\n };\n var getAnimationTypeForReplace = function getAnimationTypeForReplace(key) {\n var _descriptor$options$a;\n var descriptor = props.descriptors[key] || state.descriptors[key];\n return (_descriptor$options$a = descriptor.options.animationTypeForReplace) != null ? _descriptor$options$a : 'push';\n };\n if (previousFocusedRoute && previousFocusedRoute.key !== nextFocusedRoute.key) {\n if (!previousRoutes.some(function (r) {\n return r.key === nextFocusedRoute.key;\n })) {\n if (isAnimationEnabled(nextFocusedRoute.key) && !openingRouteKeys.includes(nextFocusedRoute.key)) {\n openingRouteKeys = [].concat(_toConsumableArray(openingRouteKeys), [nextFocusedRoute.key]);\n closingRouteKeys = closingRouteKeys.filter(function (key) {\n return key !== nextFocusedRoute.key;\n });\n replacingRouteKeys = replacingRouteKeys.filter(function (key) {\n return key !== nextFocusedRoute.key;\n });\n if (!routes.some(function (r) {\n return r.key === previousFocusedRoute.key;\n })) {\n openingRouteKeys = openingRouteKeys.filter(function (key) {\n return key !== previousFocusedRoute.key;\n });\n if (getAnimationTypeForReplace(nextFocusedRoute.key) === 'pop') {\n closingRouteKeys = [].concat(_toConsumableArray(closingRouteKeys), [previousFocusedRoute.key]);\n openingRouteKeys = openingRouteKeys.filter(function (key) {\n return key !== nextFocusedRoute.key;\n });\n routes = [].concat(_toConsumableArray(routes), [previousFocusedRoute]);\n } else {\n replacingRouteKeys = [].concat(_toConsumableArray(replacingRouteKeys), [previousFocusedRoute.key]);\n closingRouteKeys = closingRouteKeys.filter(function (key) {\n return key !== previousFocusedRoute.key;\n });\n routes = routes.slice();\n routes.splice(routes.length - 1, 0, previousFocusedRoute);\n }\n }\n }\n } else if (!routes.some(function (r) {\n return r.key === previousFocusedRoute.key;\n })) {\n if (isAnimationEnabled(previousFocusedRoute.key) && !closingRouteKeys.includes(previousFocusedRoute.key)) {\n closingRouteKeys = [].concat(_toConsumableArray(closingRouteKeys), [previousFocusedRoute.key]);\n openingRouteKeys = openingRouteKeys.filter(function (key) {\n return key !== previousFocusedRoute.key;\n });\n replacingRouteKeys = replacingRouteKeys.filter(function (key) {\n return key !== previousFocusedRoute.key;\n });\n routes = [].concat(_toConsumableArray(routes), [previousFocusedRoute]);\n }\n } else {}\n } else if (replacingRouteKeys.length || closingRouteKeys.length) {\n var _routes2;\n routes = routes.slice();\n (_routes2 = routes).splice.apply(_routes2, [routes.length - 1, 0].concat(_toConsumableArray(state.routes.filter(function (_ref) {\n var key = _ref.key;\n return isAnimationEnabled(key) ? replacingRouteKeys.includes(key) || closingRouteKeys.includes(key) : false;\n }))));\n }\n if (!routes.length) {\n throw new Error('There should always be at least one route in the navigation state.');\n }\n var descriptors = routes.reduce(function (acc, route) {\n acc[route.key] = props.descriptors[route.key] || state.descriptors[route.key];\n return acc;\n }, {});\n return {\n routes: routes,\n previousRoutes: props.state.routes,\n previousDescriptors: props.descriptors,\n openingRouteKeys: openingRouteKeys,\n closingRouteKeys: closingRouteKeys,\n replacingRouteKeys: replacingRouteKeys,\n descriptors: descriptors\n };\n }\n }]);\n return StackView;\n}(React.Component);\nexport { StackView as default };\nvar styles = StyleSheet.create({\n container: {\n flex: 1\n }\n});","map":{"version":3,"sources":["views/Stack/StackView.tsx"],"names":["HeaderShownContext","SafeAreaProviderCompat","StackActions","React","SafeAreaInsetsContext","ModalPresentationContext","GestureHandlerRootView","HeaderContainer","CardStack","GestureHandlerWrapper","View","isArrayEqual","a","b","length","every","it","index","StackView","Component","props","state","routes","previousRoutes","map","r","key","descriptors","previousDescriptors","reduce","acc","route","slice","openingRouteKeys","closingRouteKeys","replacingRouteKeys","previousFocusedRoute","nextFocusedRoute","isAnimationEnabled","descriptor","options","animationEnabled","getAnimationTypeForReplace","animationTypeForReplace","some","includes","filter","splice","Error","getPreviousRoute","findIndex","renderScene","render","renderHeader","handleOpenRoute","navigation","routeNames","name","navigate","setState","handleCloseRoute","dispatch","pop","source","target","handleTransitionStart","closing","emit","type","data","handleTransitionEnd","handleGestureStart","handleGestureEnd","handleGestureCancel","_","rest","styles","container","insets","isParentModal","isParentHeaderShown","StyleSheet","create","flex"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SACEA,kBAAkB,EAClBC,sBAAsB,QACjB,4BAA4B;AACnC,SAGEC,YAAY,QAEP,0BAA0B;AACjC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAA;AAAA;AAE9B,SAEEC,qBAAqB,QAChB,gCAAgC;AAOvC,OAAOC,wBAAwB;AAC/B,SAASC,sBAAsB;AAC/B,OAAOC,eAAe;AAGtB,OAAOC,SAAS;AA0BhB,IAAMC,qBAAqB,GAAGH,sBAAsB,WAAtBA,sBAAsB,GAAII,IAAI;AAM5D,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAIC,CAAQ,EAAEC,CAAQ;EAAA,OACtCD,CAAC,CAACE,MAAM,KAAKD,CAAC,CAACC,MAAM,IAAIF,CAAC,CAACG,KAAK,CAAC,UAACC,EAAE,EAAEC,KAAK;IAAA,OAAKD,EAAE,KAAKH,CAAC,CAACI,KAAK,CAAC;EAAA,EAAC;AAAA;AAAA,IAE7CC,SAAS;EAAA;EAAA;EAAA;IAAA;IAAA;IAAA;MAAA;IAAA;IAAA;IAAA,MAyN5BG,KAAK,GAAU;MACbC,MAAM,EAAE,EAAE;MACVC,cAAc,EAAE,EAAE;MAClBK,mBAAmB,EAAE,CAAC,CAAC;MACvBK,gBAAgB,EAAE,EAAE;MACpBC,gBAAgB,EAAE,EAAE;MACpBC,kBAAkB,EAAE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C;QAE9D,OAAOI,GAAG;MACZ,CAAC,EAAE,CAAC,CAAC,CAAC;MAEN,OAAO;QACLR,MAAM,EAANA,MAAM;QACNC,cAAc,EAAEH,KAAK,CAACC,KAAK,CAACC,MAAM;QAClCM,mBAAmB,EAAER,KAAK,CAACO,WAAW;QACtCM,gBAAgB,EAAhBA,gBAAgB;QAChBC,gBAAgB,EAAhBA,gBAAgB;QAChBC,kBAAkB,EAAlBA,kBAAkB;QAClBR,WAAAA,EAAAA;MACF,CAAC;IACH;EAAA;EAAA;AAAA,EAvNqCxB,KAAK,CAACgB,SAAS;AAAA,SAAjCD,SAAS;AAuZ9B,IAAM0D,MAAM,GAAGK,UAAU,CAACC,MAAM,CAAC;EAC/BL,SAAS,EAAE;IACTM,IAAI,EAAE;EACR;AACF,CAAC,CAAC","sourceRoot":"../../../../src","sourcesContent":["function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport { HeaderShownContext, SafeAreaProviderCompat } from '@react-navigation/elements';\nimport { StackActions } from '@react-navigation/native';\nimport * as React from 'react';\nimport { StyleSheet, View } from 'react-native';\nimport { SafeAreaInsetsContext } from 'react-native-safe-area-context';\nimport ModalPresentationContext from '../../utils/ModalPresentationContext';\nimport { GestureHandlerRootView } from '../GestureHandler';\nimport HeaderContainer from '../Header/HeaderContainer';\nimport CardStack from './CardStack';\nconst GestureHandlerWrapper = GestureHandlerRootView ?? View;\n\n/**\n * Compare two arrays with primitive values as the content.\n * We need to make sure that both values and order match.\n */\nconst isArrayEqual = (a, b) => a.length === b.length && a.every((it, index) => it === b[index]);\nexport default class StackView extends React.Component {\n static getDerivedStateFromProps(props, state) {\n // If there was no change in routes, we don't need to compute anything\n if ((props.state.routes === state.previousRoutes || isArrayEqual(props.state.routes.map(r => r.key), state.previousRoutes.map(r => r.key))) && state.routes.length) {\n let routes = state.routes;\n let previousRoutes = state.previousRoutes;\n let descriptors = props.descriptors;\n let previousDescriptors = state.previousDescriptors;\n if (props.descriptors !== state.previousDescriptors) {\n descriptors = state.routes.reduce((acc, route) => {\n acc[route.key] = props.descriptors[route.key] || state.descriptors[route.key];\n return acc;\n }, {});\n previousDescriptors = props.descriptors;\n }\n if (props.state.routes !== state.previousRoutes) {\n // if any route objects have changed, we should update them\n const map = props.state.routes.reduce((acc, route) => {\n acc[route.key] = route;\n return acc;\n }, {});\n routes = state.routes.map(route => map[route.key] || route);\n previousRoutes = props.state.routes;\n }\n return {\n routes,\n previousRoutes,\n descriptors,\n previousDescriptors\n };\n }\n\n // Here we determine which routes were added or removed to animate them\n // We keep a copy of the route being removed in local state to be able to animate it\n\n let routes = props.state.index < props.state.routes.length - 1 ?\n // Remove any extra routes from the state\n // The last visible route should be the focused route, i.e. at current index\n props.state.routes.slice(0, props.state.index + 1) : props.state.routes;\n\n // Now we need to determine which routes were added and removed\n let {\n openingRouteKeys,\n closingRouteKeys,\n replacingRouteKeys,\n previousRoutes\n } = state;\n const previousFocusedRoute = previousRoutes[previousRoutes.length - 1];\n const nextFocusedRoute = routes[routes.length - 1];\n const isAnimationEnabled = key => {\n const descriptor = props.descriptors[key] || state.descriptors[key];\n return descriptor ? descriptor.options.animationEnabled !== false : true;\n };\n const getAnimationTypeForReplace = key => {\n const descriptor = props.descriptors[key] || state.descriptors[key];\n return descriptor.options.animationTypeForReplace ?? 'push';\n };\n if (previousFocusedRoute && previousFocusedRoute.key !== nextFocusedRoute.key) {\n // We only need to animate routes if the focused route changed\n // Animating previous routes won't be visible coz the focused route is on top of everything\n\n if (!previousRoutes.some(r => r.key === nextFocusedRoute.key)) {\n // A new route has come to the focus, we treat this as a push\n // A replace can also trigger this, the animation should look like push\n\n if (isAnimationEnabled(nextFocusedRoute.key) && !openingRouteKeys.includes(nextFocusedRoute.key)) {\n // In this case, we need to animate pushing the focused route\n // We don't care about animating any other added routes because they won't be visible\n openingRouteKeys = [...openingRouteKeys, nextFocusedRoute.key];\n closingRouteKeys = closingRouteKeys.filter(key => key !== nextFocusedRoute.key);\n replacingRouteKeys = replacingRouteKeys.filter(key => key !== nextFocusedRoute.key);\n if (!routes.some(r => r.key === previousFocusedRoute.key)) {\n // The previous focused route isn't present in state, we treat this as a replace\n\n openingRouteKeys = openingRouteKeys.filter(key => key !== previousFocusedRoute.key);\n if (getAnimationTypeForReplace(nextFocusedRoute.key) === 'pop') {\n closingRouteKeys = [...closingRouteKeys, previousFocusedRoute.key];\n\n // By default, new routes have a push animation, so we add it to `openingRouteKeys` before\n // But since user configured it to animate the old screen like a pop, we need to add this without animation\n // So remove it from `openingRouteKeys` which will remove the animation\n openingRouteKeys = openingRouteKeys.filter(key => key !== nextFocusedRoute.key);\n\n // Keep the route being removed at the end to animate it out\n routes = [...routes, previousFocusedRoute];\n } else {\n replacingRouteKeys = [...replacingRouteKeys, previousFocusedRoute.key];\n closingRouteKeys = closingRouteKeys.filter(key => key !== previousFocusedRoute.key);\n\n // Keep the old route in the state because it's visible under the new route, and removing it will feel abrupt\n // We need to insert it just before the focused one (the route being pushed)\n // After the push animation is completed, routes being replaced will be removed completely\n routes = routes.slice();\n routes.splice(routes.length - 1, 0, previousFocusedRoute);\n }\n }\n }\n } else if (!routes.some(r => r.key === previousFocusedRoute.key)) {\n // The previously focused route was removed, we treat this as a pop\n\n if (isAnimationEnabled(previousFocusedRoute.key) && !closingRouteKeys.includes(previousFocusedRoute.key)) {\n closingRouteKeys = [...closingRouteKeys, previousFocusedRoute.key];\n\n // Sometimes a route can be closed before the opening animation finishes\n // So we also need to remove it from the opening list\n openingRouteKeys = openingRouteKeys.filter(key => key !== previousFocusedRoute.key);\n replacingRouteKeys = replacingRouteKeys.filter(key => key !== previousFocusedRoute.key);\n\n // Keep a copy of route being removed in the state to be able to animate it\n routes = [...routes, previousFocusedRoute];\n }\n } else {\n // Looks like some routes were re-arranged and no focused routes were added/removed\n // i.e. the currently focused route already existed and the previously focused route still exists\n // We don't know how to animate this\n }\n } else if (replacingRouteKeys.length || closingRouteKeys.length) {\n // Keep the routes we are closing or replacing if animation is enabled for them\n routes = routes.slice();\n routes.splice(routes.length - 1, 0, ...state.routes.filter(_ref => {\n let {\n key\n } = _ref;\n return isAnimationEnabled(key) ? replacingRouteKeys.includes(key) || closingRouteKeys.includes(key) : false;\n }));\n }\n if (!routes.length) {\n throw new Error('There should always be at least one route in the navigation state.');\n }\n const descriptors = routes.reduce((acc, route) => {\n acc[route.key] = props.descriptors[route.key] || state.descriptors[route.key];\n return acc;\n }, {});\n return {\n routes,\n previousRoutes: props.state.routes,\n previousDescriptors: props.descriptors,\n openingRouteKeys,\n closingRouteKeys,\n replacingRouteKeys,\n descriptors\n };\n }\n state = {\n routes: [],\n previousRoutes: [],\n previousDescriptors: {},\n openingRouteKeys: [],\n closingRouteKeys: [],\n replacingRouteKeys: [],\n descriptors: {}\n };\n getPreviousRoute = _ref2 => {\n let {\n route\n } = _ref2;\n const {\n closingRouteKeys,\n replacingRouteKeys\n } = this.state;\n const routes = this.state.routes.filter(r => r.key === route.key || !closingRouteKeys.includes(r.key) && !replacingRouteKeys.includes(r.key));\n const index = routes.findIndex(r => r.key === route.key);\n return routes[index - 1];\n };\n renderScene = _ref3 => {\n let {\n route\n } = _ref3;\n const descriptor = this.state.descriptors[route.key] || this.props.descriptors[route.key];\n if (!descriptor) {\n return null;\n }\n return descriptor.render();\n };\n renderHeader = props => {\n return /*#__PURE__*/React.createElement(HeaderContainer, props);\n };\n handleOpenRoute = _ref4 => {\n let {\n route\n } = _ref4;\n const {\n state,\n navigation\n } = this.props;\n const {\n closingRouteKeys,\n replacingRouteKeys\n } = this.state;\n if (closingRouteKeys.some(key => key === route.key) && replacingRouteKeys.every(key => key !== route.key) && state.routeNames.includes(route.name) && !state.routes.some(r => r.key === route.key)) {\n // If route isn't present in current state, but was closing, assume that a close animation was cancelled\n // So we need to add this route back to the state\n navigation.navigate(route);\n } else {\n this.setState(state => ({\n routes: state.replacingRouteKeys.length ? state.routes.filter(r => !state.replacingRouteKeys.includes(r.key)) : state.routes,\n openingRouteKeys: state.openingRouteKeys.filter(key => key !== route.key),\n closingRouteKeys: state.closingRouteKeys.filter(key => key !== route.key),\n replacingRouteKeys: []\n }));\n }\n };\n handleCloseRoute = _ref5 => {\n let {\n route\n } = _ref5;\n const {\n state,\n navigation\n } = this.props;\n if (state.routes.some(r => r.key === route.key)) {\n // If a route exists in state, trigger a pop\n // This will happen in when the route was closed from the card component\n // e.g. When the close animation triggered from a gesture ends\n navigation.dispatch({\n ...StackActions.pop(),\n source: route.key,\n target: state.key\n });\n } else {\n // We need to clean up any state tracking the route and pop it immediately\n this.setState(state => ({\n routes: state.routes.filter(r => r.key !== route.key),\n openingRouteKeys: state.openingRouteKeys.filter(key => key !== route.key),\n closingRouteKeys: state.closingRouteKeys.filter(key => key !== route.key)\n }));\n }\n };\n handleTransitionStart = (_ref6, closing) => {\n let {\n route\n } = _ref6;\n return this.props.navigation.emit({\n type: 'transitionStart',\n data: {\n closing\n },\n target: route.key\n });\n };\n handleTransitionEnd = (_ref7, closing) => {\n let {\n route\n } = _ref7;\n return this.props.navigation.emit({\n type: 'transitionEnd',\n data: {\n closing\n },\n target: route.key\n });\n };\n handleGestureStart = _ref8 => {\n let {\n route\n } = _ref8;\n this.props.navigation.emit({\n type: 'gestureStart',\n target: route.key\n });\n };\n handleGestureEnd = _ref9 => {\n let {\n route\n } = _ref9;\n this.props.navigation.emit({\n type: 'gestureEnd',\n target: route.key\n });\n };\n handleGestureCancel = _ref10 => {\n let {\n route\n } = _ref10;\n this.props.navigation.emit({\n type: 'gestureCancel',\n target: route.key\n });\n };\n render() {\n const {\n state,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n descriptors: _,\n ...rest\n } = this.props;\n const {\n routes,\n descriptors,\n openingRouteKeys,\n closingRouteKeys\n } = this.state;\n return /*#__PURE__*/React.createElement(GestureHandlerWrapper, {\n style: styles.container\n }, /*#__PURE__*/React.createElement(SafeAreaProviderCompat, null, /*#__PURE__*/React.createElement(SafeAreaInsetsContext.Consumer, null, insets => /*#__PURE__*/React.createElement(ModalPresentationContext.Consumer, null, isParentModal => /*#__PURE__*/React.createElement(HeaderShownContext.Consumer, null, isParentHeaderShown => /*#__PURE__*/React.createElement(CardStack, _extends({\n insets: insets,\n isParentHeaderShown: isParentHeaderShown,\n isParentModal: isParentModal,\n getPreviousRoute: this.getPreviousRoute,\n routes: routes,\n openingRouteKeys: openingRouteKeys,\n closingRouteKeys: closingRouteKeys,\n onOpenRoute: this.handleOpenRoute,\n onCloseRoute: this.handleCloseRoute,\n onTransitionStart: this.handleTransitionStart,\n onTransitionEnd: this.handleTransitionEnd,\n renderHeader: this.renderHeader,\n renderScene: this.renderScene,\n state: state,\n descriptors: descriptors,\n onGestureStart: this.handleGestureStart,\n onGestureEnd: this.handleGestureEnd,\n onGestureCancel: this.handleGestureCancel\n }, rest)))))));\n }\n}\nconst styles = StyleSheet.create({\n container: {\n flex: 1\n }\n});\n//# sourceMappingURL=StackView.js.map"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c501ef7434a3719f7216e1dd2a7a69e5.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c501ef7434a3719f7216e1dd2a7a69e5.json new file mode 100644 index 00000000..ecfc07ff --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c501ef7434a3719f7216e1dd2a7a69e5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { Platform } from 'expo-modules-core';\nimport path from 'path-browserify';\nimport PixelRatio from \"react-native-web/dist/exports/PixelRatio\";\nimport URL from 'url-parse';\nimport AssetSourceResolver from \"./AssetSourceResolver\";\nimport { manifestBaseUrl, getManifest, getManifest2 } from \"./PlatformUtils\";\nvar assetMapOverride = getManifest().assetMapOverride;\nexport function selectAssetSource(meta) {\n var _manifest2$extra, _manifest2$extra$expo;\n if (assetMapOverride && assetMapOverride.hasOwnProperty(meta.hash)) {\n meta = _objectSpread(_objectSpread({}, meta), assetMapOverride[meta.hash]);\n }\n var scale = AssetSourceResolver.pickScale(meta.scales, PixelRatio.get());\n var index = meta.scales.findIndex(function (s) {\n return s === scale;\n });\n var hash = meta.fileHashes ? meta.fileHashes[index] || meta.fileHashes[0] : meta.hash;\n var uri = meta.fileUris ? meta.fileUris[index] || meta.fileUris[0] : meta.uri;\n if (uri) {\n return {\n uri: resolveUri(uri),\n hash: hash\n };\n }\n var assetUrlOverride = getManifest().assetUrlOverride;\n if (assetUrlOverride) {\n var _uri = path.join(assetUrlOverride, hash);\n return {\n uri: resolveUri(_uri),\n hash: hash\n };\n }\n var fileScale = scale === 1 ? '' : \"@\" + scale + \"x\";\n var fileExtension = meta.type ? \".\" + encodeURIComponent(meta.type) : '';\n var suffix = \"/\" + encodeURIComponent(meta.name) + fileScale + fileExtension + \"?platform=\" + encodeURIComponent(Platform.OS) + \"&hash=\" + encodeURIComponent(meta.hash);\n if (/^https?:\\/\\//.test(meta.httpServerLocation)) {\n var _uri2 = meta.httpServerLocation + suffix;\n return {\n uri: _uri2,\n hash: hash\n };\n }\n var manifest2 = getManifest2();\n if (manifest2 != null && (_manifest2$extra = manifest2.extra) != null && (_manifest2$extra$expo = _manifest2$extra.expoGo) != null && _manifest2$extra$expo.developer) {\n var baseUrl = new URL(\"http://\" + manifest2.extra.expoGo.debuggerHost);\n baseUrl.set('pathname', meta.httpServerLocation + suffix);\n return {\n uri: baseUrl.href,\n hash: hash\n };\n }\n if (getManifest().developer) {\n var _baseUrl = new URL(getManifest().bundleUrl);\n _baseUrl.set('pathname', meta.httpServerLocation + suffix);\n return {\n uri: _baseUrl.href,\n hash: hash\n };\n }\n return {\n uri: \"https://classic-assets.eascdn.net/~assets/\" + encodeURIComponent(hash),\n hash: hash\n };\n}\nexport function resolveUri(uri) {\n if (!manifestBaseUrl) {\n return uri;\n }\n var _URL = new URL(uri),\n protocol = _URL.protocol;\n if (protocol !== '') {\n return uri;\n }\n var baseUrl = new URL(manifestBaseUrl);\n var resolvedPath = uri.startsWith('/') ? uri : path.join(baseUrl.pathname, uri);\n baseUrl.set('pathname', resolvedPath);\n return baseUrl.href;\n}","map":{"version":3,"sources":["../src/AssetSources.ts"],"names":[],"mappings":";;;AAAA,SAAS,QAAQ,QAAQ,mBAAmB;AAC5C,OAAO,IAAI,MAAM,iBAAiB;AAAC;AAEnC,OAAO,GAAG,MAAM,WAAW;AAE3B,OAAO,mBAAmB;AAC1B,SAAS,eAAe,EAAE,WAAW,EAAE,YAAY;AAsBnD,IAAM,gBAAgB,GAAG,WAAW,EAAE,CAAC,gBAAgB;AAQvD,OAAM,SAAU,iBAAiB,CAAC,IAAmB,EAAA;EAAA;EAEnD,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;IAClE,IAAI,mCAAQ,IAAI,GAAK,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAE;EACnD;EAID,IAAM,KAAK,GAAG,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC;E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O,CAAC,QAAQ,EAAE,GAAG,CAAC;EACjF,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,YAAY,CAAC;EACrC,OAAO,OAAO,CAAC,IAAI;AACrB","sourcesContent":["import { Platform } from 'expo-modules-core';\nimport path from 'path-browserify';\nimport { PixelRatio } from 'react-native';\nimport URL from 'url-parse';\n\nimport AssetSourceResolver from './AssetSourceResolver';\nimport { manifestBaseUrl, getManifest, getManifest2 } from './PlatformUtils';\n\n// @docsMissing\nexport type AssetMetadata = {\n hash: string;\n name: string;\n type: string;\n width?: number;\n height?: number;\n scales: number[];\n httpServerLocation: string;\n uri?: string;\n fileHashes?: string[];\n fileUris?: string[];\n};\n\nexport type AssetSource = {\n uri: string;\n hash: string;\n};\n\n// Fast lookup check if asset map has any overrides in the manifest\nconst assetMapOverride = getManifest().assetMapOverride;\n\n/**\n * Selects the best file for the given asset (ex: choosing the best scale for images) and returns\n * a { uri, hash } pair for the specific asset file.\n *\n * If the asset isn't an image with multiple scales, the first file is selected.\n */\nexport function selectAssetSource(meta: AssetMetadata): AssetSource {\n // Override with the asset map in manifest if available\n if (assetMapOverride && assetMapOverride.hasOwnProperty(meta.hash)) {\n meta = { ...meta, ...assetMapOverride[meta.hash] };\n }\n\n // This logic is based on that of AssetSourceResolver, with additional support for file hashes and\n // explicitly provided URIs\n const scale = AssetSourceResolver.pickScale(meta.scales, PixelRatio.get());\n const index = meta.scales.findIndex((s) => s === scale);\n const hash = meta.fileHashes ? meta.fileHashes[index] || meta.fileHashes[0] : meta.hash;\n\n // Allow asset processors to directly provide the URL to load\n const uri = meta.fileUris ? meta.fileUris[index] || meta.fileUris[0] : meta.uri;\n if (uri) {\n return { uri: resolveUri(uri), hash };\n }\n\n // Check if the assetUrl was overridden in the manifest\n const assetUrlOverride = getManifest().assetUrlOverride;\n if (assetUrlOverride) {\n const uri = path.join(assetUrlOverride, hash);\n return { uri: resolveUri(uri), hash };\n }\n\n const fileScale = scale === 1 ? '' : `@${scale}x`;\n const fileExtension = meta.type ? `.${encodeURIComponent(meta.type)}` : '';\n const suffix = `/${encodeURIComponent(\n meta.name\n )}${fileScale}${fileExtension}?platform=${encodeURIComponent(\n Platform.OS\n )}&hash=${encodeURIComponent(meta.hash)}`;\n\n // For assets with a specified absolute URL, we use the existing origin instead of prepending the\n // development server or production CDN URL origin\n if (/^https?:\\/\\//.test(meta.httpServerLocation)) {\n const uri = meta.httpServerLocation + suffix;\n return { uri, hash };\n }\n\n // For assets during development using manifest2, we use the development server's URL origin\n const manifest2 = getManifest2();\n\n if (manifest2?.extra?.expoGo?.developer) {\n const baseUrl = new URL(`http://${manifest2.extra.expoGo.debuggerHost}`);\n baseUrl.set('pathname', meta.httpServerLocation + suffix);\n\n return {\n uri: baseUrl.href,\n hash,\n };\n }\n\n // For assets during development, we use the development server's URL origin\n if (getManifest().developer) {\n const baseUrl = new URL(getManifest().bundleUrl);\n baseUrl.set('pathname', meta.httpServerLocation + suffix);\n return { uri: baseUrl.href, hash };\n }\n\n // Production CDN URIs are based on each asset file hash\n return {\n uri: `https://classic-assets.eascdn.net/~assets/${encodeURIComponent(hash)}`,\n hash,\n };\n}\n\n/**\n * Resolves the given URI to an absolute URI. If the given URI is already an absolute URI, it is\n * simply returned. Otherwise, if it is a relative URI, it is resolved relative to the manifest's\n * base URI.\n */\nexport function resolveUri(uri: string): string {\n if (!manifestBaseUrl) {\n return uri;\n }\n\n const { protocol } = new URL(uri);\n if (protocol !== '') {\n return uri;\n }\n\n const baseUrl = new URL(manifestBaseUrl);\n const resolvedPath = uri.startsWith('/') ? uri : path.join(baseUrl.pathname, uri);\n baseUrl.set('pathname', resolvedPath);\n return baseUrl.href;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/c78b4ae4c8b493b94d34c3644e868f8c.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/c78b4ae4c8b493b94d34c3644e868f8c.json new file mode 100644 index 00000000..9fdf0c0a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/c78b4ae4c8b493b94d34c3644e868f8c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Octicons.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Octicons.json\";\nexport default createIconSet(glyphMap, 'octicons', font);","map":{"version":3,"sources":["../src/Octicons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Octicons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Octicons.json';\n\nexport default createIconSet(glyphMap, 'octicons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/caed211a9298aa142c5744b79e6163ef.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/caed211a9298aa142c5744b79e6163ef.json new file mode 100644 index 00000000..384062b2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/caed211a9298aa142c5744b79e6163ef.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/MaterialIcons.json\";\nvar iconSet = createIconSet(glyphMap, 'Material Icons', 'MaterialIcons.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/MaterialIcons.js"],"sourcesContent":["/**\n * MaterialIcons icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/MaterialIcons.json';\n\nconst iconSet = createIconSet(glyphMap, 'Material Icons', 'MaterialIcons.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,gBAAgB,EAAE,mBAAmB,CAAC;AAE9E,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/cd33662796e7f423de846eee209d5768.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/cd33662796e7f423de846eee209d5768.json new file mode 100644 index 00000000..895b8f3a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/cd33662796e7f423de846eee209d5768.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Ionicons.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Ionicons.json\";\nexport default createIconSet(glyphMap, 'ionicons', font);","map":{"version":3,"sources":["../src/Ionicons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Ionicons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Ionicons.json';\n\nexport default createIconSet(glyphMap, 'ionicons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/ce49d36342b72a779e1fa94e78342671.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/ce49d36342b72a779e1fa94e78342671.json new file mode 100644 index 00000000..a8472bc7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/ce49d36342b72a779e1fa94e78342671.json @@ -0,0 +1 @@ +{"ast":null,"code":"import \"./Asset.fx\";\nexport * from \"./Asset\";\nexport * from \"./AssetHooks\";","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA;AAEA;AACA","sourcesContent":["import './Asset.fx';\n\nexport * from './Asset';\nexport * from './AssetHooks';\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d062648dffa9f36f74ecd6ebae8bb909.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d062648dffa9f36f74ecd6ebae8bb909.json new file mode 100644 index 00000000..fef5cbed --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d062648dffa9f36f74ecd6ebae8bb909.json @@ -0,0 +1 @@ +{"ast":null,"code":"import UnimplementedView from \"../../modules/UnimplementedView\";\nexport default UnimplementedView;","map":{"version":3,"names":["UnimplementedView"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/InputAccessoryView/index.js"],"sourcesContent":["import UnimplementedView from '../../modules/UnimplementedView';\nexport default UnimplementedView;"],"mappings":"AAAA,OAAOA,iBAAiB;AACxB,eAAeA,iBAAiB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d3f892f702e7b27b65dbc185c6ec2ff8.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d3f892f702e7b27b65dbc185c6ec2ff8.json new file mode 100644 index 00000000..09663336 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d3f892f702e7b27b65dbc185c6ec2ff8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { TopBar } from \"../components/TopBar\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport React, { useEffect } from \"react\";\nimport { getFavoriteCity } from \"../redux/actions/getFavoriteCity\";\nimport { Details } from \"../components/Details\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function Home(navigation) {\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n var favoriteCity = useSelector(function (state) {\n return state.appReducer.favoriteCity;\n });\n var weather = useSelector(function (state) {\n return state.appReducer.favoriteWeather;\n });\n var dispatch = useDispatch();\n useEffect(function () {\n var loadFavoriteCity = function () {\n var _ref = _asyncToGenerator(function* () {\n yield dispatch(getFavoriteCity());\n });\n return function loadFavoriteCity() {\n return _ref.apply(this, arguments);\n };\n }();\n loadFavoriteCity();\n }, [dispatch]);\n return _jsxs(View, {\n style: {\n alignItems: \"center\",\n width: \"100%\"\n },\n children: [_jsx(TopBar, {}), function () {\n if (weather != null) {\n return _jsx(Details, {\n weather: weather\n });\n } else {\n return _jsx(Text, {\n style: leStyle.text,\n children: \"Vous n'avez pas ajout\\xE9 de ville en favoris\"\n });\n }\n }()]\n });\n}\nvar leStyle = StyleSheet.create({\n container: {\n alignItems: 'center'\n },\n text: {\n fontWeight: \"normal\",\n fontStyle: 'italic',\n fontSize: 10,\n alignSelf: \"center\",\n alignContent: \"center\",\n marginLeft: 7\n }\n});","map":{"version":3,"names":["useSafeAreaInsets","TopBar","useDispatch","useSelector","React","useEffect","getFavoriteCity","Details","Home","navigation","insets","statusBarHeight","top","favoriteCity","state","appReducer","weather","favoriteWeather","dispatch","loadFavoriteCity","alignItems","width","leStyle","text","StyleSheet","create","container","fontWeight","fontStyle","fontSize","alignSelf","alignContent","marginLeft"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/Home.tsx"],"sourcesContent":["import { View, Text, StyleSheet, ImageBackground } from \"react-native\"\nimport { FlatList } from \"react-native-gesture-handler\"\nimport { City, Weather } from \"../data/stub\"\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { VilleCompopo } from \"../components/VilleCompopo\";\nimport { TopBar } from \"../components/TopBar\";\nimport CityDetails from \"./CityDetails\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport React, { useEffect } from \"react\";\nimport { getFavoriteCity } from \"../redux/actions/getFavoriteCity\";\nimport { Details } from \"../components/Details\";\nimport { getWeather } from \"../redux/actions/getWeather\";\n\n\nexport default function Home(navigation){\n\n \n const insets = useSafeAreaInsets();\n const statusBarHeight = insets.top;\n\n const favoriteCity: City | null = useSelector(state => state.appReducer.favoriteCity);\n const weather: Weather | null = useSelector(state => state.appReducer.favoriteWeather);\n\n\n const dispatch = useDispatch();\n \n useEffect(() => {\n const loadFavoriteCity = async () => {\n await dispatch(getFavoriteCity());\n };\n loadFavoriteCity();\n }, [dispatch]);\n\n return (\n \n \n {(() => {\n if (weather != null){\n return (\n
\n )\n }\n else{\n return(\n Vous n'avez pas ajouté de ville en favoris\n )\n }\n })()}\n \n )\n}\n\n\nconst leStyle = StyleSheet.create({\n container: {\n alignItems: 'center',\n },\n text: {\n fontWeight: \"normal\",\n fontStyle: 'italic',\n fontSize: 10,\n alignSelf: \"center\",\n alignContent: \"center\",\n marginLeft: 7\n },\n});"],"mappings":";;;;AAGA,SAASA,iBAAiB,QAAQ,gCAAgC;AAElE,SAASC,MAAM;AAEf,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,OAAOC,KAAK,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E,QAAQ;IACnBC,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,QAAQ;IACnBC,YAAY,EAAE,QAAQ;IACtBC,UAAU,EAAE;EAChB;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d45bf655c104d3bd487045d97b6993b7.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d45bf655c104d3bd487045d97b6993b7.json new file mode 100644 index 00000000..11b05faa --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d45bf655c104d3bd487045d97b6993b7.json @@ -0,0 +1 @@ +{"ast":null,"code":"export function getLocalAssetUri(hash, type) {\n return null;\n}","map":{"version":3,"sources":["../src/LocalAssets.web.ts"],"names":[],"mappings":"AAAA,OAAM,SAAU,gBAAgB,CAAC,IAAY,EAAE,IAAmB,EAAA;EAEhE,OAAO,IAAI;AACb","sourcesContent":["export function getLocalAssetUri(hash: string, type: string | null): string | null {\n // noop on web\n return null;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d4ac9d808d83765ec377b510b36e87d4.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d4ac9d808d83765ec377b510b36e87d4.json new file mode 100644 index 00000000..a593fe12 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d4ac9d808d83765ec377b510b36e87d4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/Foundation.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/Foundation.json\";\nexport default createIconSet(glyphMap, 'foundation', font);","map":{"version":3,"sources":["../src/Foundation.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/Foundation.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Foundation.json';\n\nexport default createIconSet(glyphMap, 'foundation', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d52ccae55b7f4907f1ea361c58d9aa41.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d52ccae55b7f4907f1ea361c58d9aa41.json new file mode 100644 index 00000000..326c1cee --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d52ccae55b7f4907f1ea361c58d9aa41.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/SimpleLineIcons.json\";\nvar iconSet = createIconSet(glyphMap, 'simple-line-icons', 'SimpleLineIcons.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/SimpleLineIcons.js"],"sourcesContent":["/**\n * SimpleLineIcons icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/SimpleLineIcons.json';\n\nconst iconSet = createIconSet(glyphMap, 'simple-line-icons', 'SimpleLineIcons.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,mBAAmB,EAAE,qBAAqB,CAAC;AAEnF,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d75c36a07d40ccdf80bfd2a1886528d2.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d75c36a07d40ccdf80bfd2a1886528d2.json new file mode 100644 index 00000000..74c9e95d --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d75c36a07d40ccdf80bfd2a1886528d2.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nimport * as React from 'react';\nimport { useMemo, useRef } from 'react';\nimport pick from \"../../modules/pick\";\nimport useMergeRefs from \"../../modules/useMergeRefs\";\nimport usePressEvents from \"../../modules/usePressEvents\";\nvar forwardPropsList = {\n accessibilityDisabled: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityState: true,\n accessibilityValue: true,\n children: true,\n disabled: true,\n focusable: true,\n nativeID: true,\n onBlur: true,\n onFocus: true,\n onLayout: true,\n testID: true\n};\nvar pickProps = function pickProps(props) {\n return pick(props, forwardPropsList);\n};\nfunction TouchableWithoutFeedback(props, forwardedRef) {\n var delayPressIn = props.delayPressIn,\n delayPressOut = props.delayPressOut,\n delayLongPress = props.delayLongPress,\n disabled = props.disabled,\n focusable = props.focusable,\n onLongPress = props.onLongPress,\n onPress = props.onPress,\n onPressIn = props.onPressIn,\n onPressOut = props.onPressOut,\n rejectResponderTermination = props.rejectResponderTermination;\n var hostRef = useRef(null);\n var pressConfig = useMemo(function () {\n return {\n cancelable: !rejectResponderTermination,\n disabled: disabled,\n delayLongPress: delayLongPress,\n delayPressStart: delayPressIn,\n delayPressEnd: delayPressOut,\n onLongPress: onLongPress,\n onPress: onPress,\n onPressStart: onPressIn,\n onPressEnd: onPressOut\n };\n }, [disabled, delayPressIn, delayPressOut, delayLongPress, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination]);\n var pressEventHandlers = usePressEvents(hostRef, pressConfig);\n var element = React.Children.only(props.children);\n var children = [element.props.children];\n var supportedProps = pickProps(props);\n supportedProps.accessibilityDisabled = disabled;\n supportedProps.focusable = !disabled && focusable !== false;\n supportedProps.ref = useMergeRefs(forwardedRef, hostRef, element.ref);\n var elementProps = Object.assign(supportedProps, pressEventHandlers);\n return React.cloneElement.apply(React, [element, elementProps].concat(children));\n}\nvar MemoedTouchableWithoutFeedback = React.memo(React.forwardRef(TouchableWithoutFeedback));\nMemoedTouchableWithoutFeedback.displayName = 'TouchableWithoutFeedback';\nexport default MemoedTouchableWithoutFeedback;","map":{"version":3,"names":["React","useMemo","useRef","pick","useMergeRefs","usePressEvents","forwardPropsList","accessibilityDisabled","accessibilityLabel","accessibilityLiveRegion","accessibilityRole","accessibilityState","accessibilityValue","children","disabled","focusable","nativeID","onBlur","onFocus","onLayout","testID","pickProps","props","TouchableWithoutFeedback","forwardedRef","delayPressIn","delayPressOut","delayLongPress","onLongPress","onPress","onPressIn","onPressOut","rejectResponderTermination","hostRef","pressConfig","cancelable","delayPressStart","delayPressEnd","onPressStart","onPressEnd","pressEventHandlers","element","Children","only","supportedProps","ref","elementProps","Object","assign","cloneElement","MemoedTouchableWithoutFeedback","memo","forwardRef","displayName"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/TouchableWithoutFeedback/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport * as React from 'react';\nimport { useMemo, useRef } from 'react';\nimport pick from '../../modules/pick';\nimport useMergeRefs from '../../modules/useMergeRefs';\nimport usePressEvents from '../../modules/usePressEvents';\nvar forwardPropsList = {\n accessibilityDisabled: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityState: true,\n accessibilityValue: true,\n children: true,\n disabled: true,\n focusable: true,\n nativeID: true,\n onBlur: true,\n onFocus: true,\n onLayout: true,\n testID: true\n};\n\nvar pickProps = props => pick(props, forwardPropsList);\n\nfunction TouchableWithoutFeedback(props, forwardedRef) {\n var delayPressIn = props.delayPressIn,\n delayPressOut = props.delayPressOut,\n delayLongPress = props.delayLongPress,\n disabled = props.disabled,\n focusable = props.focusable,\n onLongPress = props.onLongPress,\n onPress = props.onPress,\n onPressIn = props.onPressIn,\n onPressOut = props.onPressOut,\n rejectResponderTermination = props.rejectResponderTermination;\n var hostRef = useRef(null);\n var pressConfig = useMemo(() => ({\n cancelable: !rejectResponderTermination,\n disabled,\n delayLongPress,\n delayPressStart: delayPressIn,\n delayPressEnd: delayPressOut,\n onLongPress,\n onPress,\n onPressStart: onPressIn,\n onPressEnd: onPressOut\n }), [disabled, delayPressIn, delayPressOut, delayLongPress, onLongPress, onPress, onPressIn, onPressOut, rejectResponderTermination]);\n var pressEventHandlers = usePressEvents(hostRef, pressConfig);\n var element = React.Children.only(props.children);\n var children = [element.props.children];\n var supportedProps = pickProps(props);\n supportedProps.accessibilityDisabled = disabled;\n supportedProps.focusable = !disabled && focusable !== false;\n supportedProps.ref = useMergeRefs(forwardedRef, hostRef, element.ref);\n var elementProps = Object.assign(supportedProps, pressEventHandlers);\n return /*#__PURE__*/React.cloneElement(element, elementProps, ...children);\n}\n\nvar MemoedTouchableWithoutFeedback = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(TouchableWithoutFeedback));\nMemoedTouchableWithoutFeedback.displayName = 'TouchableWithoutFeedback';\nexport default MemoedTouchableWithoutFeedback;"],"mappings":"AASA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACvC,OAAOC,IAAI;AACX,OAAOC,YAAY;AACnB,OA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MAC5BE,WAAW,EAAXA,WAAW;MACXC,OAAO,EAAPA,OAAO;MACPS,YAAY,EAAER,SAAS;MACvBS,UAAU,EAAER;IACd,CAAC;EAAA,CAAC,EAAE,CAACjB,QAAQ,EAAEW,YAAY,EAAEC,aAAa,EAAEC,cAAc,EAAEC,WAAW,EAAEC,OAAO,EAAEC,SAAS,EAAEC,UAAU,EAAEC,0BAA0B,CAAC,CAAC;EACrI,IAAIQ,kBAAkB,GAAGnC,cAAc,CAAC4B,OAAO,EAAEC,WAAW,CAAC;EAC7D,IAAIO,OAAO,GAAGzC,KAAK,CAAC0C,QAAQ,CAACC,IAAI,CAACrB,KAAK,CAACT,QAAQ,CAAC;EACjD,IAAIA,QAAQ,GAAG,CAAC4B,OAAO,CAACnB,KAAK,CAACT,QAAQ,CAAC;EACvC,IAAI+B,cAAc,GAAGvB,SAAS,CAACC,KAAK,CAAC;EACrCsB,cAAc,CAACrC,qBAAqB,GAAGO,QAAQ;EAC/C8B,cAAc,CAAC7B,SAAS,GAAG,CAACD,QAAQ,IAAIC,SAAS,KAAK,KAAK;EAC3D6B,cAAc,CAACC,GAAG,GAAGzC,YAAY,CAACoB,YAAY,EAAES,OAAO,EAAEQ,OAAO,CAACI,GAAG,CAAC;EACrE,IAAIC,YAAY,GAAGC,MAAM,CAACC,MAAM,CAACJ,cAAc,EAAEJ,kBAAkB,CAAC;EACpE,OAAoBxC,KAAK,CAACiD,YAAY,OAAlBjD,KAAK,GAAcyC,OAAO,EAAEK,YAAY,SAAKjC,QAAQ,EAAC;AAC5E;AAEA,IAAIqC,8BAA8B,GAAgBlD,KAAK,CAACmD,IAAI,CAAenD,KAAK,CAACoD,UAAU,CAAC7B,wBAAwB,CAAC,CAAC;AACtH2B,8BAA8B,CAACG,WAAW,GAAG,0BAA0B;AACvE,eAAeH,8BAA8B"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/d8600cd0968ae3a0bf727f91ae8ea3df.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/d8600cd0968ae3a0bf727f91ae8ea3df.json new file mode 100644 index 00000000..8f810ccc --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/d8600cd0968ae3a0bf727f91ae8ea3df.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { CodedError, Platform } from 'expo-modules-core';\nimport FontObserver from 'fontfaceobserver';\nimport { FontDisplay } from \"./Font.types\";\nfunction getFontFaceStyleSheet() {\n if (!Platform.isDOMAvailable) {\n return null;\n }\n var styleSheet = getStyleElement();\n return styleSheet.sheet ? styleSheet.sheet : null;\n}\nfunction getFontFaceRules() {\n var sheet = getFontFaceStyleSheet();\n if (sheet) {\n var rules = _toConsumableArray(sheet.cssRules);\n var items = [];\n for (var i = 0; i < rules.length; i++) {\n var rule = rules[i];\n if (rule instanceof CSSFontFaceRule) {\n items.push({\n rule: rule,\n index: i\n });\n }\n }\n return items;\n }\n return [];\n}\nfunction getFontFaceRulesMatchingResource(fontFamilyName, options) {\n var rules = getFontFaceRules();\n return rules.filter(function (_ref) {\n var rule = _ref.rule;\n return rule.style.fontFamily === fontFamilyName && (options && options.display ? options.display === rule.style.fontDisplay : true);\n });\n}\nexport default {\n get name() {\n return 'ExpoFontLoader';\n },\n unloadAllAsync: function () {\n var _unloadAllAsync = _asyncToGenerator(function* () {\n if (!Platform.isDOMAvailable) return;\n var element = document.getElementById(ID);\n if (element && element instanceof HTMLStyleElement) {\n document.removeChild(element);\n }\n });\n function unloadAllAsync() {\n return _unloadAllAsync.apply(this, arguments);\n }\n return unloadAllAsync;\n }(),\n unloadAsync: function () {\n var _unloadAsync = _asyncToGenerator(function* (fontFamilyName, options) {\n var sheet = getFontFaceStyleSheet();\n if (!sheet) return;\n var items = getFontFaceRulesMatchingResource(fontFamilyName, options);\n for (var item of items) {\n sheet.deleteRule(item.index);\n }\n });\n function unloadAsync(_x, _x2) {\n return _unloadAsync.apply(this, arguments);\n }\n return unloadAsync;\n }(),\n loadAsync: function () {\n var _loadAsync = _asyncToGenerator(function* (fontFamilyName, resource) {\n if (!Platform.isDOMAvailable) {\n return;\n }\n var canInjectStyle = document.head && typeof document.head.appendChild === 'function';\n if (!canInjectStyle) {\n throw new CodedError('ERR_WEB_ENVIRONMENT', \"The browser's `document.head` element doesn't support injecting fonts.\");\n }\n var style = _createWebStyle(fontFamilyName, resource);\n document.head.appendChild(style);\n if (!isFontLoadingListenerSupported()) {\n return;\n }\n return new FontObserver(fontFamilyName, {\n display: resource.display\n }).load();\n });\n function loadAsync(_x3, _x4) {\n return _loadAsync.apply(this, arguments);\n }\n return loadAsync;\n }()\n};\nvar ID = 'expo-generated-fonts';\nfunction getStyleElement() {\n var element = document.getElementById(ID);\n if (element && element instanceof HTMLStyleElement) {\n return element;\n }\n var styleElement = document.createElement('style');\n styleElement.id = ID;\n styleElement.type = 'text/css';\n return styleElement;\n}\nfunction _createWebStyle(fontFamily, resource) {\n var fontStyle = \"@font-face {\\n font-family: \" + fontFamily + \";\\n src: url(\" + resource.uri + \");\\n font-display: \" + (resource.display || FontDisplay.AUTO) + \";\\n }\";\n var styleElement = getStyleElement();\n if (styleElement.styleSheet) {\n var styleElementIE = styleElement;\n styleElementIE.styleSheet.cssText = styleElementIE.styleSheet.cssText ? styleElementIE.styleSheet.cssText + fontStyle : fontStyle;\n } else {\n var textNode = document.createTextNode(fontStyle);\n styleElement.appendChild(textNode);\n }\n return styleElement;\n}\nfunction isFontLoadingListenerSupported() {\n var userAgent = window.navigator.userAgent;\n var isIOS = !!userAgent.match(/iPad|iPhone/i);\n var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n var isEdge = userAgent.includes('Edge');\n var isIE = userAgent.includes('Trident');\n var isFirefox = userAgent.includes('Firefox');\n return !isSafari && !isIOS && !isEdge && !isIE && !isFirefox;\n}","map":{"version":3,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AAG,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC;EAE1C,IAAM,SAAS,GAAG,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC;EAC/C,OAAO,CAAC,QAAQ,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,IAAI,CAAC,SAAS;AAC9D","sourcesContent":["import { CodedError, Platform } from 'expo-modules-core';\nimport FontObserver from 'fontfaceobserver';\n\nimport { UnloadFontOptions } from './Font';\nimport { FontDisplay, FontResource } from './Font.types';\n\nfunction getFontFaceStyleSheet(): CSSStyleSheet | null {\n if (!Platform.isDOMAvailable) {\n return null;\n }\n const styleSheet = getStyleElement();\n return styleSheet.sheet ? (styleSheet.sheet as CSSStyleSheet) : null;\n}\n\ntype RuleItem = { rule: CSSFontFaceRule; index: number };\n\nfunction getFontFaceRules(): RuleItem[] {\n const sheet = getFontFaceStyleSheet();\n if (sheet) {\n // @ts-ignore: rule iterator\n const rules = [...sheet.cssRules];\n\n const items: RuleItem[] = [];\n\n for (let i = 0; i < rules.length; i++) {\n const rule = rules[i];\n if (rule instanceof CSSFontFaceRule) {\n items.push({ rule, index: i });\n }\n }\n return items;\n }\n return [];\n}\n\nfunction getFontFaceRulesMatchingResource(\n fontFamilyName: string,\n options?: UnloadFontOptions\n): RuleItem[] {\n const rules = getFontFaceRules();\n return rules.filter(({ rule }) => {\n return (\n rule.style.fontFamily === fontFamilyName &&\n (options && options.display ? options.display === (rule.style as any).fontDisplay : true)\n );\n });\n}\n\nexport default {\n get name(): string {\n return 'ExpoFontLoader';\n },\n\n async unloadAllAsync(): Promise {\n if (!Platform.isDOMAvailable) return;\n\n const element = document.getElementById(ID);\n if (element && element instanceof HTMLStyleElement) {\n document.removeChild(element);\n }\n },\n\n async unloadAsync(fontFamilyName: string, options?: UnloadFontOptions): Promise {\n const sheet = getFontFaceStyleSheet();\n if (!sheet) return;\n const items = getFontFaceRulesMatchingResource(fontFamilyName, options);\n for (const item of items) {\n sheet.deleteRule(item.index);\n }\n },\n\n async loadAsync(fontFamilyName: string, resource: FontResource): Promise {\n if (!Platform.isDOMAvailable) {\n return;\n }\n\n const canInjectStyle = document.head && typeof document.head.appendChild === 'function';\n if (!canInjectStyle) {\n throw new CodedError(\n 'ERR_WEB_ENVIRONMENT',\n `The browser's \\`document.head\\` element doesn't support injecting fonts.`\n );\n }\n\n const style = _createWebStyle(fontFamilyName, resource);\n document.head!.appendChild(style);\n\n if (!isFontLoadingListenerSupported()) {\n return;\n }\n\n return new FontObserver(fontFamilyName, { display: resource.display }).load();\n },\n};\n\nconst ID = 'expo-generated-fonts';\n\nfunction getStyleElement(): HTMLStyleElement {\n const element = document.getElementById(ID);\n if (element && element instanceof HTMLStyleElement) {\n return element;\n }\n const styleElement = document.createElement('style');\n styleElement.id = ID;\n styleElement.type = 'text/css';\n return styleElement;\n}\n\nfunction _createWebStyle(fontFamily: string, resource: FontResource): HTMLStyleElement {\n const fontStyle = `@font-face {\n font-family: ${fontFamily};\n src: url(${resource.uri});\n font-display: ${resource.display || FontDisplay.AUTO};\n }`;\n\n const styleElement = getStyleElement();\n // @ts-ignore: TypeScript does not define HTMLStyleElement::styleSheet. This is just for IE and\n // possibly can be removed if it's unnecessary on IE 11.\n if (styleElement.styleSheet) {\n const styleElementIE = styleElement as any;\n styleElementIE.styleSheet.cssText = styleElementIE.styleSheet.cssText\n ? styleElementIE.styleSheet.cssText + fontStyle\n : fontStyle;\n } else {\n const textNode = document.createTextNode(fontStyle);\n styleElement.appendChild(textNode);\n }\n return styleElement;\n}\n\nfunction isFontLoadingListenerSupported(): boolean {\n const { userAgent } = window.navigator;\n // WebKit is broken https://github.com/bramstein/fontfaceobserver/issues/95\n const isIOS = !!userAgent.match(/iPad|iPhone/i);\n const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n // Edge is broken https://github.com/bramstein/fontfaceobserver/issues/109#issuecomment-333356795\n const isEdge = userAgent.includes('Edge');\n // Internet Explorer\n const isIE = userAgent.includes('Trident');\n // Firefox\n const isFirefox = userAgent.includes('Firefox');\n return !isSafari && !isIOS && !isEdge && !isIE && !isFirefox;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/dab3352b233885a09c55d59be6eaf514.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/dab3352b233885a09c55d59be6eaf514.json new file mode 100644 index 00000000..96d7ad81 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/dab3352b233885a09c55d59be6eaf514.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { createFA5iconSet } from \"./createIconSetFromFontAwesome5\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json\";\nimport metadata from \"./vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json\";\nvar fontMap = {\n Regular: require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf\"),\n Light: require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf\"),\n Solid: require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf\"),\n Brand: require(\"./vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf\")\n};\nexport var FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand'\n};\nvar iconSet = createFA5iconSet(glyphMap, metadata, fontMap, false);\nexport default iconSet;","map":{"version":3,"sources":["../src/FontAwesome5.ts"],"names":[],"mappings":"AAAA,SAAS,gBAAgB;AAEzB,OAAO,QAAQ;AACf,OAAO,QAAQ;AACf,IAAM,OAAO,GAAG;EACd,OAAO,EAAE,OAAO,qEAAqE;EACrF,KAAK,EAAE,OAAO,qEAAqE;EACnF,KAAK,EAAE,OAAO,mEAAmE;EACjF,KAAK,EAAE,OAAO;CACf;AAED,OAAO,IAAM,QAAQ,GAAG;EACtB,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;EACd,KAAK,EAAE;CACR;AAED,IAAM,OAAO,GAAG,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC;AAEpE,eAAe,OAAO","sourcesContent":["import { createFA5iconSet } from './createIconSetFromFontAwesome5';\n\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json';\nimport metadata from './vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json';\nconst fontMap = {\n Regular: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf'),\n Light: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf'),\n Solid: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf'),\n Brand: require('./vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf'),\n};\n\nexport const FA5Style = {\n regular: 'regular',\n light: 'light',\n solid: 'solid',\n brand: 'brand',\n};\n\nconst iconSet = createFA5iconSet(glyphMap, metadata, fontMap, false);\n\nexport default iconSet;\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/db776777ce9188b6ff3b5ce3f24baa28.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/db776777ce9188b6ff3b5ce3f24baa28.json new file mode 100644 index 00000000..487a5431 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/db776777ce9188b6ff3b5ce3f24baa28.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { CodedError, UnavailabilityError } from 'expo-modules-core';\nimport ExpoFontLoader from \"./ExpoFontLoader\";\nimport { FontDisplay } from \"./Font.types\";\nimport { getAssetForSource, loadSingleFontAsync, fontFamilyNeedsScoping, getNativeFontName } from \"./FontLoader\";\nvar loaded = {};\nvar loadPromises = {};\nexport function processFontFamily(fontFamily) {\n if (!fontFamily || !fontFamilyNeedsScoping(fontFamily)) {\n return fontFamily;\n }\n if (!isLoaded(fontFamily)) {\n if (__DEV__) {\n if (isLoading(fontFamily)) {\n console.error(\"You started loading the font \\\"\" + fontFamily + \"\\\", but used it before it finished loading. You need to wait for Font.loadAsync to complete before using the font.\");\n } else {\n console.error(\"fontFamily \\\"\" + fontFamily + \"\\\" is not a system font and has not been loaded through Font.loadAsync.\\n\\n- If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.\\n\\n- If this is a custom font, be sure to load it with Font.loadAsync.\");\n }\n }\n return 'System';\n }\n return \"ExpoFont-\" + getNativeFontName(fontFamily);\n}\nexport function isLoaded(fontFamily) {\n return fontFamily in loaded;\n}\nexport function isLoading(fontFamily) {\n return fontFamily in loadPromises;\n}\nexport function loadAsync(_x, _x2) {\n return _loadAsync.apply(this, arguments);\n}\nfunction _loadAsync() {\n _loadAsync = _asyncToGenerator(function* (fontFamilyOrFontMap, source) {\n if (typeof fontFamilyOrFontMap === 'object') {\n if (source) {\n throw new CodedError(\"ERR_FONT_API\", \"No fontFamily can be used for the provided source: \" + source + \". The second argument of `loadAsync()` can only be used with a `string` value as the first argument.\");\n }\n var fontMap = fontFamilyOrFontMap;\n var names = Object.keys(fontMap);\n yield Promise.all(names.map(function (name) {\n return loadFontInNamespaceAsync(name, fontMap[name]);\n }));\n return;\n }\n return yield loadFontInNamespaceAsync(fontFamilyOrFontMap, source);\n });\n return _loadAsync.apply(this, arguments);\n}\nfunction loadFontInNamespaceAsync(_x3, _x4) {\n return _loadFontInNamespaceAsync.apply(this, arguments);\n}\nfunction _loadFontInNamespaceAsync() {\n _loadFontInNamespaceAsync = _asyncToGenerator(function* (fontFamily, source) {\n if (!source) {\n throw new CodedError(\"ERR_FONT_SOURCE\", \"Cannot load null or undefined font source: { \\\"\" + fontFamily + \"\\\": \" + source + \" }. Expected asset of type `FontSource` for fontFamily of name: \\\"\" + fontFamily + \"\\\"\");\n }\n if (loaded[fontFamily]) {\n return;\n }\n if (loadPromises.hasOwnProperty(fontFamily)) {\n return loadPromises[fontFamily];\n }\n var asset = getAssetForSource(source);\n loadPromises[fontFamily] = _asyncToGenerator(function* () {\n try {\n yield loadSingleFontAsync(fontFamily, asset);\n loaded[fontFamily] = true;\n } finally {\n delete loadPromises[fontFamily];\n }\n })();\n yield loadPromises[fontFamily];\n });\n return _loadFontInNamespaceAsync.apply(this, arguments);\n}\nexport function unloadAllAsync() {\n return _unloadAllAsync.apply(this, arguments);\n}\nfunction _unloadAllAsync() {\n _unloadAllAsync = _asyncToGenerator(function* () {\n if (!ExpoFontLoader.unloadAllAsync) {\n throw new UnavailabilityError('expo-font', 'unloadAllAsync');\n }\n if (Object.keys(loadPromises).length) {\n throw new CodedError(\"ERR_UNLOAD\", \"Cannot unload fonts while they're still loading: \" + Object.keys(loadPromises).join(', '));\n }\n for (var fontFamily of Object.keys(loaded)) {\n delete loaded[fontFamily];\n }\n yield ExpoFontLoader.unloadAllAsync();\n });\n return _unloadAllAsync.apply(this, arguments);\n}\nexport function unloadAsync(_x5, _x6) {\n return _unloadAsync.apply(this, arguments);\n}\nfunction _unloadAsync() {\n _unloadAsync = _asyncToGenerator(function* (fontFamilyOrFontMap, options) {\n if (!ExpoFontLoader.unloadAsync) {\n throw new UnavailabilityError('expo-font', 'unloadAsync');\n }\n if (typeof fontFamilyOrFontMap === 'object') {\n if (options) {\n throw new CodedError(\"ERR_FONT_API\", \"No fontFamily can be used for the provided options: \" + options + \". The second argument of `unloadAsync()` can only be used with a `string` value as the first argument.\");\n }\n var fontMap = fontFamilyOrFontMap;\n var names = Object.keys(fontMap);\n yield Promise.all(names.map(function (name) {\n return unloadFontInNamespaceAsync(name, fontMap[name]);\n }));\n return;\n }\n return yield unloadFontInNamespaceAsync(fontFamilyOrFontMap, options);\n });\n return _unloadAsync.apply(this, arguments);\n}\nfunction unloadFontInNamespaceAsync(_x7, _x8) {\n return _unloadFontInNamespaceAsync.apply(this, arguments);\n}\nfunction _unloadFontInNamespaceAsync() {\n _unloadFontInNamespaceAsync = _asyncToGenerator(function* (fontFamily, options) {\n if (!loaded[fontFamily]) {\n return;\n } else {\n delete loaded[fontFamily];\n }\n var nativeFontName = getNativeFontName(fontFamily);\n if (!nativeFontName) {\n throw new CodedError(\"ERR_FONT_FAMILY\", \"Cannot unload an empty name\");\n }\n yield ExpoFontLoader.unloadAsync(nativeFontName, options);\n });\n return _unloadFontInNamespaceAsync.apply(this, arguments);\n}\nexport { FontDisplay };","map":{"version":3,"sources":["../src/Font.ts"],"names":[],"mappings":";AAAA,SAAS,UAAU,EAAE,mBAAmB,QAAQ,mBAAmB;AAEnE,OAAO,cAAc;AACrB,SAAS,WAAW;AACpB,SACE,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB;AAGnB,IAAM,MAAM,GAAgC,CAAA,CAAE;AAC9C,IAAM,YAAY,GAAsC,CAAA,CAAE;AAY1D,OAAM,SAAU,iBAAiB,CAAC,UAAyB,EAAA;EACzD,IAAI,CAAC,UAAU,IAAI,CAAC,sBAAsB,CAAC,UAAU,CAAC,EAAE;IACtD,OAAO,UAAU;EAClB;EAED,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;IACzB,IAAI,OAAO,EAAE;MACX,IAAI,SAAS,CAAC,UAAU,CAAC,EAAE;QACzB,OAAO,CAAC,KAAK,qCACsB,UAAU,wHAC5C;OACF,MAAM;QACL,OAAO,CAAC,KAAK,mBACI,UAAU,gSAG1B;MACF;IACF;IAED,OAAO,QAAQ;EAChB;EAED,qBAAmB,iBAAiB,CAAC,UAAU,CAAC;AAClD;AASA,OAAM,SAAU,QAAQ,CAAC,UAAkB,EAAA;EACzC,OAAO,UAAU,IAAI,MAAM;AAC7B;AASA,OAAM,SAAU,SAAS,CAAC,UAAkB,EAAA;EAC1C,OAAO,UAAU,IAAI,YAAY;AACnC;AAeA,gBAAsB,SAAS;EAAA;AAAA;AAkB9B;EAAA,+BAlBM,WACL,mBAAwD,EACxD,MAAm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M;MACL,OAAO,MAAM,CAAC,UAAU,CAAC;IAC1B;IAOD,IAAM,cAAc,GAAG,iBAAiB,CAAC,UAAU,CAAC;IAEpD,IAAI,CAAC,cAAc,EAAE;MACnB,MAAM,IAAI,UAAU,kDAAkD;IACvE;IAED,MAAM,cAAc,CAAC,WAAW,CAAC,cAAc,EAAE,OAAO,CAAC;EAC3D,CAAC;EAAA;AAAA;AAED,SAAS,WAAW","sourcesContent":["import { CodedError, UnavailabilityError } from 'expo-modules-core';\n\nimport ExpoFontLoader from './ExpoFontLoader';\nimport { FontDisplay, FontSource, FontResource, UnloadFontOptions } from './Font.types';\nimport {\n getAssetForSource,\n loadSingleFontAsync,\n fontFamilyNeedsScoping,\n getNativeFontName,\n} from './FontLoader';\n\nconst loaded: { [name: string]: boolean } = {};\nconst loadPromises: { [name: string]: Promise } = {};\n\n// @needsAudit\n// note(brentvatne): at some point we may want to warn if this is called outside of a managed app.\n/**\n * Used to transform font family names to the scoped name. This does not need to\n * be called in standalone or bare apps but it will return unscoped font family\n * names if it is called in those contexts.\n *\n * @param fontFamily Name of font to process.\n * @returns Returns a name processed for use with the [current workflow](https://docs.expo.dev/introduction/managed-vs-bare/).\n */\nexport function processFontFamily(fontFamily: string | null): string | null {\n if (!fontFamily || !fontFamilyNeedsScoping(fontFamily)) {\n return fontFamily;\n }\n\n if (!isLoaded(fontFamily)) {\n if (__DEV__) {\n if (isLoading(fontFamily)) {\n console.error(\n `You started loading the font \"${fontFamily}\", but used it before it finished loading. You need to wait for Font.loadAsync to complete before using the font.`\n );\n } else {\n console.error(\n `fontFamily \"${fontFamily}\" is not a system font and has not been loaded through Font.loadAsync.\\n\n- If you intended to use a system font, make sure you typed the name correctly and that it is supported by your device operating system.\\n\n- If this is a custom font, be sure to load it with Font.loadAsync.`\n );\n }\n }\n\n return 'System';\n }\n\n return `ExpoFont-${getNativeFontName(fontFamily)}`;\n}\n\n// @needsAudit\n/**\n * Synchronously detect if the font for `fontFamily` has finished loading.\n *\n * @param fontFamily The name used to load the `FontResource`.\n * @return Returns `true` if the font has fully loaded.\n */\nexport function isLoaded(fontFamily: string): boolean {\n return fontFamily in loaded;\n}\n\n// @needsAudit\n/**\n * Synchronously detect if the font for `fontFamily` is still being loaded.\n *\n * @param fontFamily The name used to load the `FontResource`.\n * @returns Returns `true` if the font is still loading.\n */\nexport function isLoading(fontFamily: string): boolean {\n return fontFamily in loadPromises;\n}\n\n// @needsAudit\n/**\n * Highly efficient method for loading fonts from static or remote resources which can then be used\n * with the platform's native text elements. In the browser this generates a `@font-face` block in\n * a shared style sheet for fonts. No CSS is needed to use this method.\n *\n * @param fontFamilyOrFontMap string or map of values that can be used as the [`fontFamily`](https://reactnative.dev/docs/text#style)\n * style prop with React Native Text elements.\n * @param source the font asset that should be loaded into the `fontFamily` namespace.\n *\n * @return Returns a promise that fulfils when the font has loaded. Often you may want to wrap the\n * method in a `try/catch/finally` to ensure the app continues if the font fails to load.\n */\nexport async function loadAsync(\n fontFamilyOrFontMap: string | Record,\n source?: FontSource\n): Promise {\n if (typeof fontFamilyOrFontMap === 'object') {\n if (source) {\n throw new CodedError(\n `ERR_FONT_API`,\n `No fontFamily can be used for the provided source: ${source}. The second argument of \\`loadAsync()\\` can only be used with a \\`string\\` value as the first argument.`\n );\n }\n const fontMap = fontFamilyOrFontMap;\n const names = Object.keys(fontMap);\n await Promise.all(names.map((name) => loadFontInNamespaceAsync(name, fontMap[name])));\n return;\n }\n\n return await loadFontInNamespaceAsync(fontFamilyOrFontMap, source);\n}\n\nasync function loadFontInNamespaceAsync(\n fontFamily: string,\n source?: FontSource | null\n): Promise {\n if (!source) {\n throw new CodedError(\n `ERR_FONT_SOURCE`,\n `Cannot load null or undefined font source: { \"${fontFamily}\": ${source} }. Expected asset of type \\`FontSource\\` for fontFamily of name: \"${fontFamily}\"`\n );\n }\n\n if (loaded[fontFamily]) {\n return;\n }\n\n if (loadPromises.hasOwnProperty(fontFamily)) {\n return loadPromises[fontFamily];\n }\n\n // Important: we want all callers that concurrently try to load the same font to await the same\n // promise. If we're here, we haven't created the promise yet. To ensure we create only one\n // promise in the program, we need to create the promise synchronously without yielding the event\n // loop from this point.\n\n const asset = getAssetForSource(source);\n loadPromises[fontFamily] = (async () => {\n try {\n await loadSingleFontAsync(fontFamily, asset);\n loaded[fontFamily] = true;\n } finally {\n delete loadPromises[fontFamily];\n }\n })();\n\n await loadPromises[fontFamily];\n}\n\n// @needsAudit\n/**\n * Unloads all the custom fonts. This is used for testing.\n */\nexport async function unloadAllAsync(): Promise {\n if (!ExpoFontLoader.unloadAllAsync) {\n throw new UnavailabilityError('expo-font', 'unloadAllAsync');\n }\n\n if (Object.keys(loadPromises).length) {\n throw new CodedError(\n `ERR_UNLOAD`,\n `Cannot unload fonts while they're still loading: ${Object.keys(loadPromises).join(', ')}`\n );\n }\n\n for (const fontFamily of Object.keys(loaded)) {\n delete loaded[fontFamily];\n }\n\n await ExpoFontLoader.unloadAllAsync();\n}\n\n// @needsAudit\n/**\n * Unload custom fonts matching the `fontFamily`s and display values provided.\n * Because fonts are automatically unloaded on every platform this is mostly used for testing.\n *\n * @param fontFamilyOrFontMap The name or names of the custom fonts that will be unloaded.\n * @param options When `fontFamilyOrFontMap` is a string, this should be the font source used to load\n * the custom font originally.\n */\nexport async function unloadAsync(\n fontFamilyOrFontMap: string | Record,\n options?: UnloadFontOptions\n): Promise {\n if (!ExpoFontLoader.unloadAsync) {\n throw new UnavailabilityError('expo-font', 'unloadAsync');\n }\n if (typeof fontFamilyOrFontMap === 'object') {\n if (options) {\n throw new CodedError(\n `ERR_FONT_API`,\n `No fontFamily can be used for the provided options: ${options}. The second argument of \\`unloadAsync()\\` can only be used with a \\`string\\` value as the first argument.`\n );\n }\n const fontMap = fontFamilyOrFontMap;\n const names = Object.keys(fontMap);\n await Promise.all(names.map((name) => unloadFontInNamespaceAsync(name, fontMap[name])));\n return;\n }\n\n return await unloadFontInNamespaceAsync(fontFamilyOrFontMap, options);\n}\n\nasync function unloadFontInNamespaceAsync(\n fontFamily: string,\n options?: UnloadFontOptions | null\n): Promise {\n if (!loaded[fontFamily]) {\n return;\n } else {\n delete loaded[fontFamily];\n }\n\n // Important: we want all callers that concurrently try to load the same font to await the same\n // promise. If we're here, we haven't created the promise yet. To ensure we create only one\n // promise in the program, we need to create the promise synchronously without yielding the event\n // loop from this point.\n\n const nativeFontName = getNativeFontName(fontFamily);\n\n if (!nativeFontName) {\n throw new CodedError(`ERR_FONT_FAMILY`, `Cannot unload an empty name`);\n }\n\n await ExpoFontLoader.unloadAsync(nativeFontName, options);\n}\n\nexport { FontDisplay, FontSource, FontResource, UnloadFontOptions };\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/dbf569a133192ba125c0366bd2c70db1.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/dbf569a133192ba125c0366bd2c70db1.json new file mode 100644 index 00000000..dd6c7f1a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/dbf569a133192ba125c0366bd2c70db1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSetFromFontello from \"./vendor/react-native-vector-icons/lib/create-icon-set-from-fontello\";\nexport default function (config, expoFontName, expoAssetId) {\n return createIconSetFromFontello(config, expoFontName, expoAssetId);\n}","map":{"version":3,"sources":["../src/createIconSetFromFontello.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB;AAEhC,eAAc,UAAU,MAAM,EAAE,YAAY,EAAE,WAAW,EAAA;EACvD,OAAO,yBAAyB,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC;AACrE","sourcesContent":["import createIconSetFromFontello from './vendor/react-native-vector-icons/lib/create-icon-set-from-fontello';\n\nexport default function(config, expoFontName, expoAssetId) {\n return createIconSetFromFontello(config, expoFontName, expoAssetId);\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/dc689a6ed84896da31cb95617da1f827.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/dc689a6ed84896da31cb95617da1f827.json new file mode 100644 index 00000000..c2349707 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/dc689a6ed84896da31cb95617da1f827.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nvar _excluded = [\"style\", \"iconStyle\", \"children\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport TouchableHighlight from \"react-native-web/dist/exports/TouchableHighlight\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { pick, omit } from \"./object-utils\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nvar styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n alignItems: 'center',\n padding: 8\n },\n touchable: {\n overflow: 'hidden'\n },\n icon: {\n marginRight: 10\n },\n text: {\n fontWeight: '600',\n backgroundColor: 'transparent'\n }\n});\nvar IOS7_BLUE = '#007AFF';\nvar TEXT_PROP_NAMES = ['ellipsizeMode', 'numberOfLines', 'textBreakStrategy', 'selectable', 'suppressHighlighting', 'allowFontScaling', 'adjustsFontSizeToFit', 'minimumFontScale'];\nvar TOUCHABLE_PROP_NAMES = ['accessible', 'accessibilityLabel', 'accessibilityHint', 'accessibilityComponentType', 'accessibilityRole', 'accessibilityStates', 'accessibilityTraits', 'onFocus', 'onBlur', 'disabled', 'onPress', 'onPressIn', 'onPressOut', 'onLayout', 'onLongPress', 'nativeID', 'testID', 'delayPressIn', 'delayPressOut', 'delayLongPress', 'activeOpacity', 'underlayColor', 'selectionColor', 'onShowUnderlay', 'onHideUnderlay', 'hasTVPreferredFocus', 'tvParallaxProperties'];\nexport default function createIconButtonComponent(Icon) {\n var _class;\n return _class = function (_PureComponent) {\n _inherits(IconButton, _PureComponent);\n var _super = _createSuper(IconButton);\n function IconButton() {\n _classCallCheck(this, IconButton);\n return _super.apply(this, arguments);\n }\n _createClass(IconButton, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n style = _this$props.style,\n iconStyle = _this$props.iconStyle,\n children = _this$props.children,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n var iconProps = pick(restProps, TEXT_PROP_NAMES, 'style', 'name', 'size', 'color');\n var touchableProps = pick(restProps, TOUCHABLE_PROP_NAMES);\n var props = omit(restProps, Object.keys(iconProps), Object.keys(touchableProps), 'iconStyle', 'borderRadius', 'backgroundColor');\n iconProps.style = iconStyle ? [styles.icon, iconStyle] : styles.icon;\n var colorStyle = pick(this.props, 'color');\n var blockStyle = pick(this.props, 'backgroundColor', 'borderRadius');\n return _jsx(TouchableHighlight, _objectSpread(_objectSpread({\n style: [styles.touchable, blockStyle]\n }, touchableProps), {}, {\n children: _jsxs(View, _objectSpread(_objectSpread({\n style: [styles.container, blockStyle, style]\n }, props), {}, {\n children: [_jsx(Icon, _objectSpread({}, iconProps)), typeof children === 'string' ? _jsx(Text, {\n style: [styles.text, colorStyle],\n selectable: false,\n children: children\n }) : children]\n }))\n }));\n }\n }]);\n return IconButton;\n }(PureComponent), _class.propTypes = {\n backgroundColor: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n borderRadius: PropTypes.number,\n color: PropTypes.any,\n size: PropTypes.number,\n iconStyle: PropTypes.any,\n style: PropTypes.any,\n children: PropTypes.node\n }, _class.defaultProps = {\n backgroundColor: IOS7_BLUE,\n borderRadius: 5,\n color: 'white',\n size: 20\n }, _class;\n}","map":{"version":3,"names":["React","PureComponent","PropTypes","pick","omit","styles","StyleSheet","create","container","flexDirection","justifyContent","alignItems","padding","touchable","overflow","icon","marginRight","text","fontWeight","backgroundColor","IOS7_BLUE","TEXT_PROP_NAMES","TOUCHABLE_PROP_NAMES","createIconButtonComponent","Icon","props","style","iconStyle","children","restProps","iconProps","touchableProps","Object","keys","colorStyle","blockStyle","propTypes","oneOfType","string","number","borderRadius","color","any","size","node","defaultProps"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/icon-button.js"],"sourcesContent":["import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { StyleSheet, Text, TouchableHighlight, View } from 'react-native';\nimport { pick, omit } from './object-utils';\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n justifyContent: 'flex-start',\n alignItems: 'center',\n padding: 8,\n },\n touchable: {\n overflow: 'hidden',\n },\n icon: {\n marginRight: 10,\n },\n text: {\n fontWeight: '600',\n backgroundColor: 'transparent',\n },\n});\n\nconst IOS7_BLUE = '#007AFF';\n\nconst TEXT_PROP_NAMES = [\n 'ellipsizeMode',\n 'numberOfLines',\n 'textBreakStrategy',\n 'selectable',\n 'suppressHighlighting',\n 'allowFontScaling',\n 'adjustsFontSizeToFit',\n 'minimumFontScale',\n];\n\nconst TOUCHABLE_PROP_NAMES = [\n 'accessible',\n 'accessibilityLabel',\n 'accessibilityHint',\n 'accessibilityComponentType',\n 'accessibilityRole',\n 'accessibilityStates',\n 'accessibilityTraits',\n 'onFocus',\n 'onBlur',\n 'disabled',\n 'onPress',\n 'onPressIn',\n 'onPressOut',\n 'onLayout',\n 'onLongPress',\n 'nativeID',\n 'testID',\n 'delayPressIn',\n 'delayPressOut',\n 'delayLongPress',\n 'activeOpacity',\n 'underlayColor',\n 'selectionColor',\n 'onShowUnderlay',\n 'onHideUnderlay',\n 'hasTVPreferredFocus',\n 'tvParallaxProperties',\n];\n\nexport default function createIconButtonComponent(Icon) {\n return class IconButton extends PureComponent {\n static propTypes = {\n backgroundColor: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number,\n ]),\n borderRadius: PropTypes.number,\n color: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n size: PropTypes.number,\n iconStyle: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n style: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n children: PropTypes.node,\n };\n\n static defaultProps = {\n backgroundColor: IOS7_BLUE,\n borderRadius: 5,\n color: 'white',\n size: 20,\n };\n\n render() {\n const { style, iconStyle, children, ...restProps } = this.props;\n\n const iconProps = pick(\n restProps,\n TEXT_PROP_NAMES,\n 'style',\n 'name',\n 'size',\n 'color'\n );\n const touchableProps = pick(restProps, TOUCHABLE_PROP_NAMES);\n const props = omit(\n restProps,\n Object.keys(iconProps),\n Object.keys(touchableProps),\n 'iconStyle',\n 'borderRadius',\n 'backgroundColor'\n );\n iconProps.style = iconStyle ? [styles.icon, iconStyle] : styles.icon;\n\n const colorStyle = pick(this.props, 'color');\n const blockStyle = pick(this.props, 'backgroundColor', 'borderRadius');\n\n return (\n \n \n \n {typeof children === 'string' ? (\n \n {children}\n \n ) : (\n children\n )}\n \n \n );\n }\n };\n}\n"],"mappings":";;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,OAAOC,SAAS,MAAM,YAAY;AAAC;AAAA;AAAA;AAAA;AAEnC,SAASC,IAAI,EAAEC,IAAI;AAAyB;AAAA;AAE5C,IAAMC,MAAM,GAAGC,UAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,YAAY;IAC5BC,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE;EACX,CAAC;EACDC,SAAS,EAAE;IACTC,QAAQ,EAAE;EACZ,CAAC;EACDC,IAAI,EAAE;IACJC,WAAW,EAAE;EACf,CAAC;EACDC,IAAI,EAAE;IACJC,UAAU,EAAE,KAAK;IACjBC,eAAe,EAAE;EACnB;AACF,CAAC,CAAC;AAEF,IAAMC,SAAS,GAAG,SAAS;AAE3B,IAAMC,eAAe,GAAG,CACtB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,CACnB;AAED,IAAMC,oBAAoB,GAAG,CAC3B,YAAY,EACZ,oBAAoB,EACpB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,qBAAqB,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UAAU;QAAE,GAClCJ,cAAc;UAAA,UAElB,MAAC,IAAI;YAAC,KAAK,EAAE,CAAC1B,MAAM,CAACG,SAAS,EAAE2B,UAAU,EAAET,KAAK;UAAE,GAAKD,KAAK;YAAA,WAC3D,KAAC,IAAI,oBAAKK,SAAS,EAAI,EACtB,OAAOF,QAAQ,KAAK,QAAQ,GAC3B,KAAC,IAAI;cAAC,KAAK,EAAE,CAACvB,MAAM,CAACY,IAAI,EAAEiB,UAAU,CAAE;cAAC,UAAU,EAAE,KAAM;cAAA,UACvDN;YAAQ,EACJ,GAEPA,QACD;UAAA;QACI,GACY;MAEzB;IAAC;IAAA;EAAA,EA/D6B3B,aAAa,UACpCmC,SAAS,GAAG;IACjBjB,eAAe,EAAEjB,SAAS,CAACmC,SAAS,CAAC,CACnCnC,SAAS,CAACoC,MAAM,EAChBpC,SAAS,CAACqC,MAAM,CACjB,CAAC;IACFC,YAAY,EAAEtC,SAAS,CAACqC,MAAM;IAC9BE,KAAK,EAAEvC,SAAS,CAACwC,GAAG;IACpBC,IAAI,EAAEzC,SAAS,CAACqC,MAAM;IACtBZ,SAAS,EAAEzB,SAAS,CAACwC,GAAG;IACxBhB,KAAK,EAAExB,SAAS,CAACwC,GAAG;IACpBd,QAAQ,EAAE1B,SAAS,CAAC0C;EACtB,CAAC,SAEMC,YAAY,GAAG;IACpB1B,eAAe,EAAEC,SAAS;IAC1BoB,YAAY,EAAE,CAAC;IACfC,KAAK,EAAE,OAAO;IACdE,IAAI,EAAE;EACR,CAAC;AA8CL"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/ddccacdc7c0f5a06ab44fe8f0de99226.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/ddccacdc7c0f5a06ab44fe8f0de99226.json new file mode 100644 index 00000000..cd4769f4 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/ddccacdc7c0f5a06ab44fe8f0de99226.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { createStackNavigator } from \"@react-navigation/stack\";\nimport React from \"react\";\nimport CityDetails from \"../screens/CityDetails\";\nimport CityList from \"../screens/CityList\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function StackNavigation() {\n var Stack = createStackNavigator();\n return _jsxs(Stack.Navigator, {\n initialRouteName: \"CityList\",\n children: [_jsx(Stack.Screen, {\n name: \"CityList\",\n component: CityList,\n options: {\n headerShown: false\n }\n }), _jsx(Stack.Screen, {\n name: \"CityDetails\",\n component: CityDetails,\n options: {\n headerShown: false\n }\n })]\n });\n}","map":{"version":3,"names":["createStackNavigator","React","CityDetails","CityList","StackNavigation","Stack","headerShown"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/navigation/StackNavigation.tsx"],"sourcesContent":["import { NavigationContainer } from \"@react-navigation/native\";\nimport { createStackNavigator } from \"@react-navigation/stack\";\n\nimport React from \"react\";\nimport { SafeAreaProvider } from \"react-native-safe-area-context\";\nimport CityDetails from \"../screens/CityDetails\";\nimport CityList from \"../screens/CityList\";\n\nexport default function StackNavigation() {\n \n const Stack = createStackNavigator();\n return (\n \n \n \n \n\n\n )\n }"],"mappings":"AACA,SAASA,oBAAoB,QAAQ,yBAAyB;AAE9D,OAAOC,KAAK,MAAM,OAAO;AAEzB,OAAOC,WAAW;AAClB,OAAOC,QAAQ;AAA4B;AAAA;AAE3C,eAAe,SAASC,eAAe,GAAG;EAEtC,IAAMC,KAAK,GAAGL,oBAAoB,EAAE;EACpC,OACI,MAAC,KAAK,CAAC,SAAS;IAAC,gBAAgB,EAAC,UAAU;IAAA,WAC1C,KAAC,KAAK,CAAC,MAAM;MAAC,IAAI,EAAC,UAAU;MAAC,SAAS,EAAEG,QAAS;MAAC,OAAO,EAAE;QACtCG,WAAW,EAAE;MACjB;IAAE,EAAE,EACtB,KAAC,KAAK,CAAC,MAAM;MAAC,IAAI,EAAC,aAAa;MAAC,SAAS,EAAEJ,WAAY;MAAC,OAAO,EAAE;QAC5CI,WAAW,EAAE;MACjB;IAAE,EAAE;EAAA,EACN;AAIxB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/de0759e555462ccd3f64b5f5903f92a9.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/de0759e555462ccd3f64b5f5903f92a9.json new file mode 100644 index 00000000..2cdb37b1 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/de0759e555462ccd3f64b5f5903f92a9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json\";\nexport default createIconSet(glyphMap, 'simple-line-icons', font);","map":{"version":3,"sources":["../src/SimpleLineIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,mBAAmB,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json';\n\nexport default createIconSet(glyphMap, 'simple-line-icons', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/de1e32abf8adcbc73aaeb00486d11645.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/de1e32abf8adcbc73aaeb00486d11645.json new file mode 100644 index 00000000..1a094916 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/de1e32abf8adcbc73aaeb00486d11645.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { FETCH_WEATHER_LIST } from \"../constants\";\nexport var setWeatherList = function setWeatherList(weather) {\n return {\n type: FETCH_WEATHER_LIST,\n payload: weather\n };\n};","map":{"version":3,"names":["FETCH_WEATHER_LIST","setWeatherList","weather","type","payload"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/setWeatherList.ts"],"sourcesContent":["import { Weather } from \"../../data/stub\";\nimport { FETCH_WEATHER_LIST } from \"../constants\";\n\nexport const setWeatherList = (weather: Weather[]) => {\n return {\n type: FETCH_WEATHER_LIST,\n payload: weather,\n };\n }"],"mappings":"AACA,SAASA,kBAAkB;AAE3B,OAAO,IAAMC,cAAc,GAAG,SAAjBA,cAAc,CAAIC,OAAkB,EAAK;EAClD,OAAO;IACLC,IAAI,EAAEH,kBAAkB;IACxBI,OAAO,EAAEF;EACX,CAAC;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/de961013ecb7e37102a73eae0f14063e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/de961013ecb7e37102a73eae0f14063e.json new file mode 100644 index 00000000..f657926a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/de961013ecb7e37102a73eae0f14063e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport { ADD_FAVORITE_CITY, FETCH_FAVORITE_CITY, FETCH_WEATHER, FETCH_WEATHER_LIST, FETCH_WEATHER_SEARCHED, GET_FAVORITE_CITY, GET_WEATHER, GET_WEATHER_LIST } from \"../constants\";\nvar initialState = {\n weatherList: [],\n weatherListSearched: [],\n favoriteCity: null,\n favoriteWeather: null,\n conditionCodes: null\n};\nvar appReducer = function appReducer() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n switch (action.type) {\n case ADD_FAVORITE_CITY:\n return _objectSpread(_objectSpread({}, state), {}, {\n favoriteCity: state.favoriteCity\n });\n case FETCH_WEATHER_LIST:\n return _objectSpread(_objectSpread({}, state), {}, {\n weatherList: action.payload\n });\n case FETCH_FAVORITE_CITY:\n return _objectSpread(_objectSpread({}, state), {}, {\n favoriteCity: action.payload\n });\n case GET_FAVORITE_CITY:\n return _objectSpread(_objectSpread({}, state), {}, {\n favoriteCity: state.favoriteCity\n });\n case GET_WEATHER_LIST:\n return _objectSpread(_objectSpread({}, state), {}, {\n weatherList: state.weatherList\n });\n case FETCH_WEATHER_SEARCHED:\n return _objectSpread(_objectSpread({}, state), {}, {\n weatherListSearched: action.payload\n });\n case GET_WEATHER:\n return _objectSpread(_objectSpread({}, state), {}, {\n weatherList: state.favoriteWeather\n });\n case FETCH_WEATHER:\n return _objectSpread(_objectSpread({}, state), {}, {\n favoriteWeather: action.payload\n });\n default:\n return state;\n }\n};\nexport default appReducer;","map":{"version":3,"names":["ADD_FAVORITE_CITY","FETCH_FAVORITE_CITY","FETCH_WEATHER","FETCH_WEATHER_LIST","FETCH_WEATHER_SEARCHED","GET_FAVORITE_CITY","GET_WEATHER","GET_WEATHER_LIST","initialState","weatherList","weatherListSearched","favoriteCity","favoriteWeather","conditionCodes","appReducer","state","action","type","payload"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/reducers/appReducer.ts"],"sourcesContent":["import { City } from \"../../data/stub\";\nimport { ADD_FAVORITE_CITY, FETCH_FAVORITE_CITY, FETCH_WEATHER, FETCH_WEATHER_LIST, FETCH_WEATHER_SEARCHED, GET_FAVORITE_CITY, GET_WEATHER, GET_WEATHER_LIST } from \"../constants\";\n\nconst initialState = {\n weatherList : [],\n weatherListSearched : [],\n favoriteCity: null,\n favoriteWeather: null,\n conditionCodes: null\n}\n\nconst appReducer = (state = initialState, action) => {\n switch (action.type) {\n case ADD_FAVORITE_CITY:\n return {...state, favoriteCity: state.favoriteCity};\n case FETCH_WEATHER_LIST:\n return {...state, weatherList: action.payload};\n case FETCH_FAVORITE_CITY:\n return {...state, favoriteCity: action.payload}\n case GET_FAVORITE_CITY:\n return {...state, favoriteCity: state.favoriteCity}\n case GET_WEATHER_LIST:\n return {...state, weatherList: state.weatherList}\n case FETCH_WEATHER_SEARCHED:\n return {...state, weatherListSearched: action.payload}\n case GET_WEATHER:\n return {...state, weatherList: state.favoriteWeather}\n case FETCH_WEATHER:\n return {...state, favoriteWeather: action.payload}\n default:\n return state;\n }\n}\n\nexport default appReducer;"],"mappings":";;;AACA,SAASA,iBAAiB,EAAEC,mBAAmB,EAAEC,aAAa,EAAEC,kBAAkB,EAAEC,sBAAsB,EAAEC,iBAAiB,EAAEC,WAAW,EAAEC,gBAAgB;AAE5J,IAAMC,YAAY,GAAG;EACjBC,WAAW,EAAG,EAAE;EAChBC,mBAAmB,EAAG,EAAE;EACxBC,YAAY,EAAE,IAAI;EAClBC,eAAe,EAAE,IAAI;EACrBC,cAAc,EAAE;AACpB,CAAC;AAED,IAAMC,UAAU,GAAG,SAAbA,UAAU,GAAqC;EAAA,IAAjCC,KAAK,uEAAGP,YAAY;EAAA,IAAEQ,MAAM;EAC5C,QAAQA,MAAM,CAACC,IAAI;IACf,KAAKjB,iBAAiB;MAClB,uCAAWe,KAAK;QAAEJ,YAAY,EAAEI,KAAK,CAACJ;MAAY;IACtD,KAAKR,kBAAkB;MACnB,uCAAWY,KAAK;QAAEN,WAAW,EAAEO,MAAM,CAACE;MAAO;IACjD,KAAKjB,mBAAmB;MACpB,uCAAWc,KAAK;QAAEJ,YAAY,EAAEK,MAAM,CAACE;MAAO;IAClD,KAAKb,iBAAiB;MAClB,uCAAWU,KAAK;QAAEJ,YAAY,EAAEI,KAAK,CAACJ;MAAY;IACtD,KAAKJ,gBAAgB;MACjB,uCAAWQ,KAAK;QAAEN,WAAW,EAAEM,KAAK,CAACN;MAAW;IACpD,KAAKL,sBAAsB;MACvB,uCAAWW,KAAK;QAAEL,mBAAmB,EAAEM,MAAM,CAACE;MAAO;IACzD,KAAKZ,WAAW;MACZ,uCAAWS,KAAK;QAAEN,WAAW,EAAEM,KAAK,CAACH;MAAe;IACxD,KAAKV,aAAa;MACd,uCAAWa,KAAK;QAAEH,eAAe,EAAEI,MAAM,CAACE;MAAO;IACrD;MACI,OAAOH,KAAK;EAAC;AAEzB,CAAC;AAED,eAAeD,UAAU"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/dfd83a0630b68393e8bbaa6bf5595a41.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/dfd83a0630b68393e8bbaa6bf5595a41.json new file mode 100644 index 00000000..63752678 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/dfd83a0630b68393e8bbaa6bf5595a41.json @@ -0,0 +1 @@ +{"ast":null,"code":"var pick = function pick(obj) {\n for (var _len = arguments.length, keys = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n keys[_key - 1] = arguments[_key];\n }\n return keys.flat().filter(function (key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n }).reduce(function (acc, key) {\n acc[key] = obj[key];\n return acc;\n }, {});\n};\nvar omit = function omit(obj) {\n for (var _len2 = arguments.length, keysToOmit = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n keysToOmit[_key2 - 1] = arguments[_key2];\n }\n var keysToOmitSet = new Set(keysToOmit.flat());\n return Object.getOwnPropertyNames(obj).filter(function (key) {\n return !keysToOmitSet.has(key);\n }).reduce(function (acc, key) {\n acc[key] = obj[key];\n return acc;\n }, {});\n};\nmodule.exports = {\n pick: pick,\n omit: omit\n};","map":{"version":3,"names":["pick","obj","keys","flat","filter","key","Object","prototype","hasOwnProperty","call","reduce","acc","omit","keysToOmit","keysToOmitSet","Set","getOwnPropertyNames","has","module","exports"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/object-utils.js"],"sourcesContent":["const pick = (obj, ...keys) =>\n keys\n .flat()\n .filter(key => Object.prototype.hasOwnProperty.call(obj, key))\n .reduce((acc, key) => {\n acc[key] = obj[key];\n return acc;\n }, {});\n\nconst omit = (obj, ...keysToOmit) => {\n const keysToOmitSet = new Set(keysToOmit.flat());\n return Object.getOwnPropertyNames(obj)\n .filter(key => !keysToOmitSet.has(key))\n .reduce((acc, key) => {\n acc[key] = obj[key];\n return acc;\n }, {});\n};\n\nmodule.exports = { pick, omit };\n"],"mappings":"AAAA,IAAMA,IAAI,GAAG,SAAPA,IAAI,CAAIC,GAAG;EAAA,kCAAKC,IAAI;IAAJA,IAAI;EAAA;EAAA,OACxBA,IAAI,CACDC,IAAI,EAAE,CACNC,MAAM,CAAC,UAAAC,GAAG;IAAA,OAAIC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACR,GAAG,EAAEI,GAAG,CAAC;EAAA,EAAC,CAC7DK,MAAM,CAAC,UAACC,GAAG,EAAEN,GAAG,EAAK;IACpBM,GAAG,CAACN,GAAG,CAAC,GAAGJ,GAAG,CAACI,GAAG,CAAC;IACnB,OAAOM,GAAG;EACZ,CAAC,EAAE,CAAC,CAAC,CAAC;AAAA;AAEV,IAAMC,IAAI,GAAG,SAAPA,IAAI,CAAIX,GAAG,EAAoB;EAAA,mCAAfY,UAAU;IAAVA,UAAU;EAAA;EAC9B,IAAMC,aAAa,GAAG,IAAIC,GAAG,CAACF,UAAU,CAACV,IAAI,EAAE,CAAC;EAChD,OAAOG,MAAM,CAACU,mBAAmB,CAACf,GAAG,CAAC,CACnCG,MAAM,CAAC,UAAAC,GAAG;IAAA,OAAI,CAACS,aAAa,CAACG,GAAG,CAACZ,GAAG,CAAC;EAAA,EAAC,CACtCK,MAAM,CAAC,UAACC,GAAG,EAAEN,GAAG,EAAK;IACpBM,GAAG,CAACN,GAAG,CAAC,GAAGJ,GAAG,CAACI,GAAG,CAAC;IACnB,OAAOM,GAAG;EACZ,CAAC,EAAE,CAAC,CAAC,CAAC;AACV,CAAC;AAEDO,MAAM,CAACC,OAAO,GAAG;EAAEnB,IAAI,EAAJA,IAAI;EAAEY,IAAI,EAAJA;AAAK,CAAC"},"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/e063060b1da2ff496b6c5285a88cbfa6.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/e063060b1da2ff496b6c5285a88cbfa6.json new file mode 100644 index 00000000..9bd9204d --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/e063060b1da2ff496b6c5285a88cbfa6.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"color\", \"indeterminate\", \"progress\", \"trackColor\", \"style\"];\nimport * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar ProgressBar = React.forwardRef(function (props, ref) {\n var _props$color = props.color,\n color = _props$color === void 0 ? '#1976D2' : _props$color,\n _props$indeterminate = props.indeterminate,\n indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate,\n _props$progress = props.progress,\n progress = _props$progress === void 0 ? 0 : _props$progress,\n _props$trackColor = props.trackColor,\n trackColor = _props$trackColor === void 0 ? 'transparent' : _props$trackColor,\n style = props.style,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n var percentageProgress = progress * 100;\n var width = indeterminate ? '25%' : percentageProgress + \"%\";\n return React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n accessibilityValueMax: 100,\n accessibilityValueMin: 0,\n accessibilityValueNow: indeterminate ? null : percentageProgress,\n ref: ref,\n style: [styles.track, style, {\n backgroundColor: trackColor\n }]\n }), React.createElement(View, {\n style: [{\n backgroundColor: color,\n width: width\n }, styles.progress, indeterminate && styles.animation]\n }));\n});\nProgressBar.displayName = 'ProgressBar';\nvar styles = StyleSheet.create({\n track: {\n forcedColorAdjust: 'none',\n height: 5,\n overflow: 'hidden',\n userSelect: 'none',\n zIndex: 0\n },\n progress: {\n forcedColorAdjust: 'none',\n height: '100%',\n zIndex: -1\n },\n animation: {\n animationDuration: '1s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n translateX: '-100%'\n }]\n },\n '100%': {\n transform: [{\n translateX: '400%'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n }\n});\nexport default ProgressBar;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","StyleSheet","View","ProgressBar","forwardRef","props","ref","_props$color","color","_props$indeterminate","indeterminate","_props$progress","progress","_props$trackColor","trackColor","style","other","percentageProgress","width","createElement","accessibilityRole","accessibilityValueMax","accessibilityValueMin","accessibilityValueNow","styles","track","backgroundColor","animation","displayName","create","forcedColorAdjust","height","overflow","userSelect","zIndex","animationDuration","animationKeyframes","transform","translateX","animationTimingFunction","animationIterationCount"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/ProgressBar/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"color\", \"indeterminate\", \"progress\", \"trackColor\", \"style\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nvar ProgressBar = /*#__PURE__*/React.forwardRef((props, ref) => {\n var _props$color = props.color,\n color = _props$color === void 0 ? '#1976D2' : _props$color,\n _props$indeterminate = props.indeterminate,\n indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate,\n _props$progress = props.progress,\n progress = _props$progress === void 0 ? 0 : _props$progress,\n _props$trackColor = props.trackColor,\n trackColor = _props$trackColor === void 0 ? 'transparent' : _props$trackColor,\n style = props.style,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n\n var percentageProgress = progress * 100;\n var width = indeterminate ? '25%' : percentageProgress + \"%\";\n return /*#__PURE__*/React.createElement(View, _extends({}, other, {\n accessibilityRole: \"progressbar\",\n accessibilityValueMax: 100,\n accessibilityValueMin: 0,\n accessibilityValueNow: indeterminate ? null : percentageProgress,\n ref: ref,\n style: [styles.track, style, {\n backgroundColor: trackColor\n }]\n }), /*#__PURE__*/React.createElement(View, {\n style: [{\n backgroundColor: color,\n width\n }, styles.progress, indeterminate && styles.animation]\n }));\n});\nProgressBar.displayName = 'ProgressBar';\nvar styles = StyleSheet.create({\n track: {\n forcedColorAdjust: 'none',\n height: 5,\n overflow: 'hidden',\n userSelect: 'none',\n zIndex: 0\n },\n progress: {\n forcedColorAdjust: 'none',\n height: '100%',\n zIndex: -1\n },\n animation: {\n animationDuration: '1s',\n animationKeyframes: [{\n '0%': {\n transform: [{\n translateX: '-100%'\n }]\n },\n '100%': {\n transform: [{\n translateX: '400%'\n }]\n }\n }],\n animationTimingFunction: 'linear',\n animationIterationCount: 'infinite'\n }\n});\nexport default ProgressBar;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OA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GAAG;IACRS,KAAK,EAAE,CAACS,MAAM,CAACC,KAAK,EAAEV,KAAK,EAAE;MAC3BW,eAAe,EAAEZ;IACnB,CAAC;EACH,CAAC,CAAC,EAAed,KAAK,CAACmB,aAAa,CAACjB,IAAI,EAAE;IACzCa,KAAK,EAAE,CAAC;MACNW,eAAe,EAAElB,KAAK;MACtBU,KAAK,EAALA;IACF,CAAC,EAAEM,MAAM,CAACZ,QAAQ,EAAEF,aAAa,IAAIc,MAAM,CAACG,SAAS;EACvD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AACFxB,WAAW,CAACyB,WAAW,GAAG,aAAa;AACvC,IAAIJ,MAAM,GAAGvB,UAAU,CAAC4B,MAAM,CAAC;EAC7BJ,KAAK,EAAE;IACLK,iBAAiB,EAAE,MAAM;IACzBC,MAAM,EAAE,CAAC;IACTC,QAAQ,EAAE,QAAQ;IAClBC,UAAU,EAAE,MAAM;IAClBC,MAAM,EAAE;EACV,CAAC;EACDtB,QAAQ,EAAE;IACRkB,iBAAiB,EAAE,MAAM;IACzBC,MAAM,EAAE,MAAM;IACdG,MAAM,EAAE,CAAC;EACX,CAAC;EACDP,SAAS,EAAE;IACTQ,iBAAiB,EAAE,IAAI;IACvBC,kBAAkB,EAAE,CAAC;MACnB,IAAI,EAAE;QACJC,SAAS,EAAE,CAAC;UACVC,UAAU,EAAE;QACd,CAAC;MACH,CAAC;MACD,MAAM,EAAE;QACND,SAAS,EAAE,CAAC;UACVC,UAAU,EAAE;QACd,CAAC;MACH;IACF,CAAC,CAAC;IACFC,uBAAuB,EAAE,QAAQ;IACjCC,uBAAuB,EAAE;EAC3B;AACF,CAAC,CAAC;AACF,eAAerC,WAAW"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/e1abab2b40ac979ac07c62de9b3fd621.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/e1abab2b40ac979ac07c62de9b3fd621.json new file mode 100644 index 00000000..8d2467f2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/e1abab2b40ac979ac07c62de9b3fd621.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Asset } from \"./Asset\";\nimport { IS_ENV_WITH_UPDATES_ENABLED } from \"./PlatformUtils\";\nimport { setCustomSourceTransformer } from \"./resolveAssetSource\";\nif (IS_ENV_WITH_UPDATES_ENABLED) {\n setCustomSourceTransformer(function (resolver) {\n try {\n if (resolver.asset.fileHashes) {\n var asset = Asset.fromMetadata(resolver.asset);\n return resolver.fromSource(asset.downloaded ? asset.localUri : asset.uri);\n } else {\n return resolver.defaultAsset();\n }\n } catch (_unused) {\n return resolver.defaultAsset();\n }\n });\n}","map":{"version":3,"sources":["../src/Asset.fx.ts"],"names":[],"mappings":"AAAA,SAAS,KAAK;AACd,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AAGnC,IAAI,2BAA2B,EAAE;EAC/B,0BAA0B,CAAC,UAAC,QAAQ,EAAI;IACtC,IAAI;MAEF,IAAI,QAAQ,CAAC,KAAK,CAAC,UAAU,EAAE;QAC7B,IAAM,KAAK,GAAG,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC;QAChD,OAAO,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAS,GAAG,KAAK,CAAC,GAAG,CAAC;OAC3E,MAAM;QACL,OAAO,QAAQ,CAAC,YAAY,EAAE;MAC/B;KACF,CAAC,gBAAM;MACN,OAAO,QAAQ,CAAC,YAAY,EAAE;IAC/B;EACH,CAAC,CAAC;AACH","sourcesContent":["import { Asset } from './Asset';\nimport { IS_ENV_WITH_UPDATES_ENABLED } from './PlatformUtils';\nimport { setCustomSourceTransformer } from './resolveAssetSource';\n\n// Override React Native's asset resolution for `Image` components in contexts where it matters\nif (IS_ENV_WITH_UPDATES_ENABLED) {\n setCustomSourceTransformer((resolver) => {\n try {\n // Bundler is using the hashAssetFiles plugin if and only if the fileHashes property exists\n if (resolver.asset.fileHashes) {\n const asset = Asset.fromMetadata(resolver.asset);\n return resolver.fromSource(asset.downloaded ? asset.localUri! : asset.uri);\n } else {\n return resolver.defaultAsset();\n }\n } catch {\n return resolver.defaultAsset();\n }\n });\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/e236f4fdf0008b52a9052f981607e329.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/e236f4fdf0008b52a9052f981607e329.json new file mode 100644 index 00000000..e58d48ea --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/e236f4fdf0008b52a9052f981607e329.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport React, { PureComponent } from 'react';\nimport createIconSet from \"./createIconSet\";\nexport default function createMultiStyleIconSet(styles) {\n var optionsInput = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var styleNames = Object.keys(styles);\n if (styleNames.length === 0) {\n throw new Error('You need to add at least one style');\n }\n var options = _objectSpread({\n defaultStyle: styleNames[0],\n fallbackFamily: function fallbackFamily(_unused) {\n return styleNames[0];\n },\n glyphValidator: function glyphValidator(_unused, __unused) {\n return true;\n }\n }, optionsInput);\n var iconSets = styleNames.reduce(function (acc, name) {\n var style = styles[name];\n acc[name] = createIconSet(style.glyphMap || {}, style.fontFamily || '', style.fontFile || '', style.fontStyle || {});\n return acc;\n }, {});\n function styleFromProps(props) {\n return Object.keys(props).reduce(function (result, propName) {\n return styleNames.indexOf(propName) !== -1 && props[propName] === true ? propName : result;\n }, options.defaultStyle);\n }\n function getIconSetForProps(props) {\n var name = props.name;\n var style = styleFromProps(props);\n if (options.glyphValidator(name, style)) return iconSets[style];\n var family = options.fallbackFamily(name);\n if (styleNames.indexOf(family) === -1) {\n return options.defaultStyle;\n }\n return iconSets[family];\n }\n function selectIconClass(iconSet, iconClass) {\n return iconClass.length > 0 ? iconSet[iconClass] : iconSet;\n }\n function reduceProps(props) {\n return Object.keys(props).reduce(function (acc, prop) {\n if (styleNames.indexOf(prop) === -1) {\n acc[prop] = props[prop];\n }\n return acc;\n }, {});\n }\n function getStyledIconSet(style) {\n var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n if (styleNames.indexOf(style) === -1) {\n return iconSets[options.defaultStyle];\n }\n return !name ? iconSets[styleFromProps(_defineProperty({}, style, true))] : getIconSetForProps(_defineProperty({\n name: name\n }, style, true));\n }\n function getFontFamily() {\n var style = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : options.defaultStyle;\n return getStyledIconSet(style).getFontFamily();\n }\n function getRawGlyphMap() {\n var style = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : options.defaultStyle;\n return getStyledIconSet(style).getRawGlyphMap();\n }\n function hasIcon(name) {\n var style = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : options.defaultStyle;\n return options.glyphValidator(name, style);\n }\n function createStyledIconClass() {\n var selectClass = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var IconClass = function (_PureComponent) {\n _inherits(IconClass, _PureComponent);\n var _super = _createSuper(IconClass);\n function IconClass() {\n _classCallCheck(this, IconClass);\n return _super.apply(this, arguments);\n }\n _createClass(IconClass, [{\n key: \"render\",\n value: function render() {\n var selectedIconSet = getIconSetForProps(this.props);\n var SelectedIconClass = selectIconClass(selectedIconSet, selectClass);\n var props = reduceProps(this.props);\n return React.createElement(SelectedIconClass, props);\n }\n }]);\n return IconClass;\n }(PureComponent);\n IconClass.defaultProps = styleNames.reduce(function (acc, name) {\n acc[name] = false;\n return acc;\n }, {});\n IconClass.font = Object.values(styles).reduce(function (acc, style) {\n acc[style.fontFamily] = style.fontFile;\n return acc;\n }, {});\n IconClass.StyledIconSet = getStyledIconSet;\n IconClass.getFontFamily = getFontFamily;\n IconClass.getRawGlyphMap = getRawGlyphMap;\n IconClass.hasIcon = hasIcon;\n return IconClass;\n }\n var Icon = createStyledIconClass();\n Icon.Button = createStyledIconClass('Button');\n return Icon;\n}","map":{"version":3,"sources":["../src/createMultiStyleIconSet.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,KAAK,IAAI,aAAa,QAAQ,OAAO;AAE5C,OAAO,aAAa;AAapB,eAAc,SAAU,uBAAuB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AAa,GAAG,gBAAgB;IAChC,SAAA,CAAA,aAAa,GAAG,aAAa;IAC7B,SAAA,CAAA,cAAc,GAAG,cAAc;IAC/B,SAAA,CAAA,OAAO,GAAG,OAAO;IAW1B,OAAO,SAAS;EAClB;EAEA,IAAM,IAAI,GAAG,qBAAqB,EAAE;EACpC,IAAI,CAAC,MAAM,GAAG,qBAAqB,CAAC,QAAQ,CAAC;EAC7C,OAAO,IAAI;AACb","sourcesContent":["import React, { PureComponent } from 'react';\n\nimport createIconSet from './createIconSet';\n\ntype FontStyle = {\n fontFamily: string;\n fontFile: any;\n glyphMap: any;\n fontStyle: any;\n};\n\ntype FontStyles = {\n [key: string]: FontStyle;\n};\n\nexport default function createMultiStyleIconSet(\n styles: FontStyles,\n optionsInput = {}\n): any {\n const styleNames = Object.keys(styles);\n\n if (styleNames.length === 0) {\n throw new Error('You need to add at least one style');\n }\n\n const options = {\n defaultStyle: styleNames[0],\n fallbackFamily: (_unused: any) => styleNames[0],\n glyphValidator: (_unused: any, __unused: any) => true,\n ...optionsInput,\n };\n\n const iconSets = styleNames.reduce((acc, name) => {\n const style = styles[name];\n\n acc[name] = createIconSet(\n style.glyphMap || {},\n style.fontFamily || '',\n style.fontFile || '',\n style.fontStyle || {}\n );\n\n return acc;\n }, {});\n\n function styleFromProps(props) {\n return Object.keys(props).reduce(\n (result, propName) =>\n styleNames.indexOf(propName) !== -1 && props[propName] === true\n ? propName\n : result,\n options.defaultStyle\n );\n }\n\n function getIconSetForProps(props) {\n const { name } = props;\n const style = styleFromProps(props);\n\n if (options.glyphValidator(name, style)) return iconSets[style];\n\n const family = options.fallbackFamily(name);\n\n if (styleNames.indexOf(family) === -1) {\n return options.defaultStyle;\n }\n\n return iconSets[family];\n }\n\n function selectIconClass(iconSet, iconClass) {\n return iconClass.length > 0 ? iconSet[iconClass] : iconSet;\n }\n\n function reduceProps(props) {\n return Object.keys(props).reduce((acc, prop) => {\n if (styleNames.indexOf(prop) === -1) {\n acc[prop] = props[prop];\n }\n\n return acc;\n }, {});\n }\n\n function getStyledIconSet(style, name = '') {\n if (styleNames.indexOf(style) === -1) {\n return iconSets[options.defaultStyle];\n }\n\n return !name\n ? iconSets[styleFromProps({ [style]: true })]\n : getIconSetForProps({ name, [style]: true });\n }\n\n function getFontFamily(style = options.defaultStyle) {\n return getStyledIconSet(style).getFontFamily();\n }\n\n function getRawGlyphMap(style = options.defaultStyle) {\n return getStyledIconSet(style).getRawGlyphMap();\n }\n\n function hasIcon(name, style = options.defaultStyle) {\n return options.glyphValidator(name, style);\n }\n\n function createStyledIconClass(selectClass = '') {\n class IconClass extends PureComponent {\n static defaultProps = styleNames.reduce((acc, name) => {\n acc[name] = false;\n return acc;\n }, {});\n\n static font = Object.values(styles).reduce((acc, style) => {\n acc[style.fontFamily] = style.fontFile;\n return acc;\n }, {});\n\n static Button: any;\n\n static StyledIconSet = getStyledIconSet;\n static getFontFamily = getFontFamily;\n static getRawGlyphMap = getRawGlyphMap;\n static hasIcon = hasIcon;\n\n render() {\n const selectedIconSet = getIconSetForProps(this.props);\n const SelectedIconClass = selectIconClass(selectedIconSet, selectClass);\n const props = reduceProps(this.props);\n\n return React.createElement(SelectedIconClass, props);\n }\n }\n\n return IconClass;\n }\n\n const Icon = createStyledIconClass();\n Icon.Button = createStyledIconClass('Button');\n return Icon;\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/e2d8c32b8979f88dbbdab3bdf92f828e.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/e2d8c32b8979f88dbbdab3bdf92f828e.json new file mode 100644 index 00000000..6c03e02d --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/e2d8c32b8979f88dbbdab3bdf92f828e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport AsyncStorage from \"@react-native-async-storage/async-storage\";\nexport var storeFavoriteCity = function () {\n var _ref = _asyncToGenerator(function* (city) {\n try {\n var cityJson = JSON.stringify(city);\n yield AsyncStorage.setItem('favorite_city', cityJson);\n } catch (e) {\n console.log(\"An error occurred\", e);\n }\n });\n return function storeFavoriteCity(_x) {\n return _ref.apply(this, arguments);\n };\n}();","map":{"version":3,"names":["AsyncStorage","storeFavoriteCity","city","cityJson","JSON","stringify","setItem","e","console","log"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/asyncStorange/storeFavoriteCity.ts"],"sourcesContent":["import AsyncStorage from \"@react-native-async-storage/async-storage\";\nimport { City } from \"../data/stub\";\n\nexport const storeFavoriteCity = async (city: City | null) => {\n try {\n const cityJson = JSON.stringify(city)\n await AsyncStorage.setItem('favorite_city', cityJson);\n } catch (e) {\n console.log(\"An error occurred\", e);\n }\n}"],"mappings":";AAAA,OAAOA,YAAY,MAAM,2CAA2C;AAGpE,OAAO,IAAMC,iBAAiB;EAAA,6BAAG,WAAOC,IAAiB,EAAK;IAC1D,IAAI;MACF,IAAMC,QAAQ,GAAGC,IAAI,CAACC,SAAS,CAACH,IAAI,CAAC;MACrC,MAAMF,YAAY,CAACM,OAAO,CAAC,eAAe,EAAEH,QAAQ,CAAC;IACvD,CAAC,CAAC,OAAOI,CAAC,EAAE;MACVC,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEF,CAAC,CAAC;IACrC;EACJ,CAAC;EAAA,gBAPYN,iBAAiB;IAAA;EAAA;AAAA,GAO7B"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/e84e2c7efa2767335812f6674463805a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/e84e2c7efa2767335812f6674463805a.json new file mode 100644 index 00000000..17d7b2da --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/e84e2c7efa2767335812f6674463805a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import invariant from 'fbjs/lib/invariant';\nvar twoArgumentPooler = function twoArgumentPooler(a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\nvar standardReleaser = function standardReleaser(instance) {\n var Klass = this;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = twoArgumentPooler;\nvar addPoolingTo = function addPoolingTo(CopyConstructor, pooler) {\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n twoArgumentPooler: twoArgumentPooler\n};\nexport default PooledClass;","map":{"version":3,"names":["invariant","twoArgumentPooler","a1","a2","Klass","instancePool","length","instance","pop","call","standardReleaser","destructor","poolSize","push","DEFAULT_POOL_SIZE","DEFAULT_POOLER","addPoolingTo","CopyConstructor","pooler","NewKlass","getPooled","release","PooledClass"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/vendor/react-native/PooledClass/index.js"],"sourcesContent":["/* eslint-disable */\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * From React 16.0.0\n */\nimport invariant from 'fbjs/lib/invariant';\n\nvar twoArgumentPooler = function twoArgumentPooler(a1, a2) {\n var Klass = this;\n\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar standardReleaser = function standardReleaser(instance) {\n var Klass = this;\n instance.destructor();\n\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = twoArgumentPooler;\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\n\nvar addPoolingTo = function addPoolingTo(CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n twoArgumentPooler: twoArgumentPooler\n};\nexport default PooledClass;"],"mappings":"AAUA,OAAOA,SAAS,MAAM,oBAAoB;AAE1C,IAAIC,iBAAiB,GAAG,SAASA,iBAAiB,CAACC,EAAE,EAAEC,EAAE,EAAE;EACzD,IAAIC,KAAK,GAAG,IAAI;EAEhB,IAAIA,KAAK,CAACC,YAAY,CAACC,MAAM,EAAE;IAC7B,IAAIC,QAAQ,GAAGH,KAAK,CAACC,YAAY,CAACG,GAAG,EAAE;IACvCJ,KAAK,CAACK,IAAI,CAACF,QAAQ,EAAEL,EAAE,EAAEC,EAAE,CAAC;IAC5B,OAAOI,QAAQ;EACjB,CAAC,MAAM;IACL,OAAO,IAAIH,KAAK,CAACF,EAAE,EAAEC,EAAE,CAAC;EAC1B;AACF,CAAC;AAED,IAAIO,gBAAgB,GAAG,SAASA,gBAAgB,CAACH,QAAQ,EAAE;EACzD,IAAIH,KAAK,GAAG,IAAI;EAChBG,QAAQ,CAACI,UAAU,EAAE;EAErB,IAAIP,KAAK,CAACC,YAAY,CAACC,MAAM,GAAGF,KAAK,CAACQ,QAAQ,EAAE;IAC9CR,KAAK,CAACC,YAAY,CAACQ,IAAI,CAACN,QAAQ,CAAC;EACnC;AACF,CAAC;AAED,IAAIO,iBAAiB,GAAG,EAAE;AAC1B,IAAIC,cAAc,GAAGd,iBAAiB;AAWtC,IAAIe,YAAY,GAAG,SAASA,YAAY,CAACC,eAAe,EAAEC,MAAM,EAAE;EAGhE,IAAIC,QAAQ,GAAGF,eAAe;EAC9BE,QAAQ,CAACd,YAAY,GAAG,EAAE;EAC1Bc,QAAQ,CAACC,SAAS,GAAGF,MAAM,IAAIH,cAAc;EAE7C,IAAI,CAACI,QAAQ,CAACP,QAAQ,EAAE;IACtBO,QAAQ,CAACP,QAAQ,GAAGE,iBAAiB;EACvC;EAEAK,QAAQ,CAACE,OAAO,GAAGX,gBAAgB;EACnC,OAAOS,QAAQ;AACjB,CAAC;AAED,IAAIG,WAAW,GAAG;EAChBN,YAAY,EAAEA,YAAY;EAC1Bf,iBAAiB,EAAEA;AACrB,CAAC;AACD,eAAeqB,WAAW"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/e8fef8f4505971d1cda9c34b14eb32ee.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/e8fef8f4505971d1cda9c34b14eb32ee.json new file mode 100644 index 00000000..70a62cac --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/e8fef8f4505971d1cda9c34b14eb32ee.json @@ -0,0 +1 @@ +{"ast":null,"code":"import VirtualizedList from \"../../vendor/react-native/VirtualizedList\";\nexport default VirtualizedList;","map":{"version":3,"names":["VirtualizedList"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/VirtualizedList/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport VirtualizedList from '../../vendor/react-native/VirtualizedList';\nexport default VirtualizedList;"],"mappings":"AAQA,OAAOA,eAAe;AACtB,eAAeA,eAAe"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/ea18279d73c15970b50b92ce7d5f115a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/ea18279d73c15970b50b92ce7d5f115a.json new file mode 100644 index 00000000..9ebe735c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/ea18279d73c15970b50b92ce7d5f115a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"animationType\", \"children\", \"onDismiss\", \"onRequestClose\", \"onShow\", \"transparent\", \"visible\"];\nimport * as React from 'react';\nimport ModalPortal from \"./ModalPortal\";\nimport ModalAnimation from \"./ModalAnimation\";\nimport ModalContent from \"./ModalContent\";\nimport ModalFocusTrap from \"./ModalFocusTrap\";\nvar uniqueModalIdentifier = 0;\nvar activeModalStack = [];\nvar activeModalListeners = {};\nfunction notifyActiveModalListeners() {\n if (activeModalStack.length === 0) {\n return;\n }\n var activeModalId = activeModalStack[activeModalStack.length - 1];\n activeModalStack.forEach(function (modalId) {\n if (modalId in activeModalListeners) {\n activeModalListeners[modalId](modalId === activeModalId);\n }\n });\n}\nfunction removeActiveModal(modalId) {\n if (modalId in activeModalListeners) {\n activeModalListeners[modalId](false);\n delete activeModalListeners[modalId];\n }\n var index = activeModalStack.indexOf(modalId);\n if (index !== -1) {\n activeModalStack.splice(index, 1);\n notifyActiveModalListeners();\n }\n}\nfunction addActiveModal(modalId, listener) {\n removeActiveModal(modalId);\n activeModalStack.push(modalId);\n activeModalListeners[modalId] = listener;\n notifyActiveModalListeners();\n}\nvar Modal = React.forwardRef(function (props, forwardedRef) {\n var animationType = props.animationType,\n children = props.children,\n onDismiss = props.onDismiss,\n onRequestClose = props.onRequestClose,\n onShow = props.onShow,\n transparent = props.transparent,\n _props$visible = props.visible,\n visible = _props$visible === void 0 ? true : _props$visible,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n var modalId = React.useMemo(function () {\n return uniqueModalIdentifier++;\n }, []);\n var _React$useState = React.useState(false),\n isActive = _React$useState[0],\n setIsActive = _React$useState[1];\n var onDismissCallback = React.useCallback(function () {\n removeActiveModal(modalId);\n if (onDismiss) {\n onDismiss();\n }\n }, [modalId, onDismiss]);\n var onShowCallback = React.useCallback(function () {\n addActiveModal(modalId, setIsActive);\n if (onShow) {\n onShow();\n }\n }, [modalId, onShow]);\n React.useEffect(function () {\n return function () {\n return removeActiveModal(modalId);\n };\n }, [modalId]);\n return React.createElement(ModalPortal, null, React.createElement(ModalAnimation, {\n animationType: animationType,\n onDismiss: onDismissCallback,\n onShow: onShowCallback,\n visible: visible\n }, React.createElement(ModalFocusTrap, {\n active: isActive\n }, React.createElement(ModalContent, _extends({}, rest, {\n active: isActive,\n onRequestClose: onRequestClose,\n ref: forwardedRef,\n transparent: transparent\n }), children))));\n});\nexport default Modal;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","ModalPortal","ModalAnimation","ModalContent","ModalFocusTrap","uniqueModalIdentifier","activeModalStack","activeModalListeners","notifyActiveModalListeners","length","activeModalId","forEach","modalId","removeActiveModal","index","indexOf","splice","addActiveModal","listener","push","Modal","forwardRef","props","forwardedRef","animationType","children","onDismiss","onRequestClose","onShow","transparent","_props$visible","visible","rest","useMemo","_React$useState","useState","isActive","setIsActive","onDismissCallback","useCallback","onShowCallback","useEffect","createElement","active","ref"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Modal/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"animationType\", \"children\", \"onDismiss\", \"onRequestClose\", \"onShow\", \"transparent\", \"visible\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport ModalPortal from './ModalPortal';\nimport ModalAnimation from './ModalAnimation';\nimport ModalContent from './ModalContent';\nimport ModalFocusTrap from './ModalFocusTrap';\nvar uniqueModalIdentifier = 0;\nvar activeModalStack = [];\nvar activeModalListeners = {};\n\nfunction notifyActiveModalListeners() {\n if (activeModalStack.length === 0) {\n return;\n }\n\n var activeModalId = activeModalStack[activeModalStack.length - 1];\n activeModalStack.forEach(modalId => {\n if (modalId in activeModalListeners) {\n activeModalListeners[modalId](modalId === activeModalId);\n }\n });\n}\n\nfunction removeActiveModal(modalId) {\n if (modalId in activeModalListeners) {\n // Before removing this listener we should probably tell it\n // that it's no longer the active modal for sure.\n activeModalListeners[modalId](false);\n delete activeModalListeners[modalId];\n }\n\n var index = activeModalStack.indexOf(modalId);\n\n if (index !== -1) {\n activeModalStack.splice(index, 1);\n notifyActiveModalListeners();\n }\n}\n\nfunction addActiveModal(modalId, listener) {\n removeActiveModal(modalId);\n activeModalStack.push(modalId);\n activeModalListeners[modalId] = listener;\n notifyActiveModalListeners();\n}\n\nvar Modal = /*#__PURE__*/React.forwardRef((props, forwardedRef) => {\n var animationType = props.animationType,\n children = props.children,\n onDismiss = props.onDismiss,\n onRequestClose = props.onRequestClose,\n onShow = props.onShow,\n transparent = props.transparent,\n _props$visible = props.visible,\n visible = _props$visible === void 0 ? true : _props$visible,\n rest = _objectWithoutPropertiesLoose(props, _excluded); // Set a unique model identifier so we can correctly route\n // dismissals and check the layering of modals.\n\n\n var modalId = React.useMemo(() => uniqueModalIdentifier++, []);\n\n var _React$useState = React.useState(false),\n isActive = _React$useState[0],\n setIsActive = _React$useState[1];\n\n var onDismissCallback = React.useCallback(() => {\n removeActiveModal(modalId);\n\n if (onDismiss) {\n onDismiss();\n }\n }, [modalId, onDismiss]);\n var onShowCallback = React.useCallback(() => {\n addActiveModal(modalId, setIsActive);\n\n if (onShow) {\n onShow();\n }\n }, [modalId, onShow]);\n React.useEffect(() => {\n return () => removeActiveModal(modalId);\n }, [modalId]);\n return /*#__PURE__*/React.createElement(ModalPortal, null, /*#__PURE__*/React.createElement(ModalAnimation, {\n animationType: animationType,\n onDismiss: onDismissCallback,\n onShow: onShowCallback,\n visible: visible\n }, /*#__PURE__*/React.createElement(ModalFocusTrap, {\n active: isActive\n }, /*#__PURE__*/React.createElement(ModalContent, _extends({}, rest, {\n active: isActive,\n onRequestClose: onRequestClose,\n ref: forwardedRef,\n transparent: transparent\n }), children))));\n});\nexport default Modal;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC;AAWhH,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,WAAW;AAClB,OAAOC,cAAc;AACrB,OAAOC,YAAY;AACnB,OAAOC,cAAc;AACrB,IAAIC,qBAAqB,GAAG,CAAC;AAC7B,IAAIC,gBAAgB,GAAG,EAAE;AACzB,IAAIC,oBAAoB,GAAG,CAAC,CAAC;AAE7B,SAASC,0BAA0B,GAAG;EACpC,IAAIF,gBAAgB,CAACG,MAAM,KAAK,CAAC,EAAE;IACjC;EACF;EAEA,IAAIC,aAAa,GAAGJ,gBAAgB,CAACA,gBAAgB,CAACG,MAAM,GAAG,CAAC,CAAC;EACjEH,gBAAgB,CAACK,OAAO,CAAC,UAAAC,OAAO,EAAI;IAClC,IAAIA,OAAO,IAAIL,oBAAoB,EAAE;MACnCA,oBAAoB,CAACK,OAAO,CAAC,CAACA,OAAO,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;EACf,CAAC,CAAC,EAAEJ,QAAQ,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC;AACF,eAAeL,KAAK"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/ecebda58404e70559a47d425f86f6683.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/ecebda58404e70559a47d425f86f6683.json new file mode 100644 index 00000000..a17e6405 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/ecebda58404e70559a47d425f86f6683.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport AsyncStorage from \"@react-native-async-storage/async-storage\";\nexport var deleteFavoriteCity = function () {\n var _ref = _asyncToGenerator(function* () {\n try {\n yield AsyncStorage.removeItem('favorite_city');\n } catch (e) {\n console.log(\"An error occurred\", e);\n }\n });\n return function deleteFavoriteCity() {\n return _ref.apply(this, arguments);\n };\n}();","map":{"version":3,"names":["AsyncStorage","deleteFavoriteCity","removeItem","e","console","log"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/asyncStorange/deleteFavoriteCityStorage.ts"],"sourcesContent":["import AsyncStorage from \"@react-native-async-storage/async-storage\";\n\nexport const deleteFavoriteCity = async () => {\n try {\n await AsyncStorage.removeItem('favorite_city')\n } catch(e) {\n console.log(\"An error occurred\", e);\n }\n }"],"mappings":";AAAA,OAAOA,YAAY,MAAM,2CAA2C;AAEpE,OAAO,IAAMC,kBAAkB;EAAA,6BAAG,aAAY;IAC1C,IAAI;MACF,MAAMD,YAAY,CAACE,UAAU,CAAC,eAAe,CAAC;IAChD,CAAC,CAAC,OAAMC,CAAC,EAAE;MACTC,OAAO,CAACC,GAAG,CAAC,mBAAmB,EAAEF,CAAC,CAAC;IACrC;EACF,CAAC;EAAA,gBANUF,kBAAkB;IAAA;EAAA;AAAA,GAM5B"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/ee9ff425a32997d33365e47e44dee171.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/ee9ff425a32997d33365e47e44dee171.json new file mode 100644 index 00000000..339e6c64 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/ee9ff425a32997d33365e47e44dee171.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/AntDesign.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/AntDesign.json\";\nexport default createIconSet(glyphMap, 'anticon', font);","map":{"version":3,"sources":["../src/AntDesign.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/AntDesign.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/AntDesign.json';\n\nexport default createIconSet(glyphMap, 'anticon', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f101f37d3875a5dd9e3989ea88ee9e1d.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f101f37d3875a5dd9e3989ea88ee9e1d.json new file mode 100644 index 00000000..47311522 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f101f37d3875a5dd9e3989ea88ee9e1d.json @@ -0,0 +1 @@ +{"ast":null,"code":"export * from \"./Font\";\nexport { useFonts } from \"./FontHooks\";","map":{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA;AACA,SAAS,QAAQ","sourcesContent":["export * from './Font';\nexport { useFonts } from './FontHooks';\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f1a3fc426a6660f193dff6b1fde15394.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f1a3fc426a6660f193dff6b1fde15394.json new file mode 100644 index 00000000..0ae5204a --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f1a3fc426a6660f193dff6b1fde15394.json @@ -0,0 +1 @@ +{"ast":null,"code":"var pick = function pick(obj) {\n for (var _len = arguments.length, keys = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n keys[_key - 1] = arguments[_key];\n }\n return keys.flat().filter(function (key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n }).reduce(function (acc, key) {\n acc[key] = obj[key];\n return acc;\n }, {});\n};\nvar omit = function omit(obj) {\n for (var _len2 = arguments.length, keysToOmit = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n keysToOmit[_key2 - 1] = arguments[_key2];\n }\n var keysToOmitSet = new Set(keysToOmit.flat());\n return Object.getOwnPropertyNames(obj).filter(function (key) {\n return !keysToOmitSet.has(key);\n }).reduce(function (acc, key) {\n acc[key] = obj[key];\n return acc;\n }, {});\n};\nmodule.exports = {\n pick: pick,\n omit: omit\n};","map":{"version":3,"names":["pick","obj","keys","flat","filter","key","Object","prototype","hasOwnProperty","call","reduce","acc","omit","keysToOmit","keysToOmitSet","Set","getOwnPropertyNames","has","module","exports"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/lib/object-utils.js"],"sourcesContent":["const pick = (obj, ...keys) =>\n keys\n .flat()\n .filter(key => Object.prototype.hasOwnProperty.call(obj, key))\n .reduce((acc, key) => {\n acc[key] = obj[key];\n return acc;\n }, {});\n\nconst omit = (obj, ...keysToOmit) => {\n const keysToOmitSet = new Set(keysToOmit.flat());\n return Object.getOwnPropertyNames(obj)\n .filter(key => !keysToOmitSet.has(key))\n .reduce((acc, key) => {\n acc[key] = obj[key];\n return acc;\n }, {});\n};\n\nmodule.exports = { pick, omit };\n"],"mappings":"AAAA,IAAMA,IAAI,GAAG,SAAPA,IAAI,CAAIC,GAAG;EAAA,kCAAKC,IAAI;IAAJA,IAAI;EAAA;EAAA,OACxBA,IAAI,CACDC,IAAI,EAAE,CACNC,MAAM,CAAC,UAAAC,GAAG;IAAA,OAAIC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACR,GAAG,EAAEI,GAAG,CAAC;EAAA,EAAC,CAC7DK,MAAM,CAAC,UAACC,GAAG,EAAEN,GAAG,EAAK;IACpBM,GAAG,CAACN,GAAG,CAAC,GAAGJ,GAAG,CAACI,GAAG,CAAC;IACnB,OAAOM,GAAG;EACZ,CAAC,EAAE,CAAC,CAAC,CAAC;AAAA;AAEV,IAAMC,IAAI,GAAG,SAAPA,IAAI,CAAIX,GAAG,EAAoB;EAAA,mCAAfY,UAAU;IAAVA,UAAU;EAAA;EAC9B,IAAMC,aAAa,GAAG,IAAIC,GAAG,CAACF,UAAU,CAACV,IAAI,EAAE,CAAC;EAChD,OAAOG,MAAM,CAACU,mBAAmB,CAACf,GAAG,CAAC,CACnCG,MAAM,CAAC,UAAAC,GAAG;IAAA,OAAI,CAACS,aAAa,CAACG,GAAG,CAACZ,GAAG,CAAC;EAAA,EAAC,CACtCK,MAAM,CAAC,UAACC,GAAG,EAAEN,GAAG,EAAK;IACpBM,GAAG,CAACN,GAAG,CAAC,GAAGJ,GAAG,CAACI,GAAG,CAAC;IACnB,OAAOM,GAAG;EACZ,CAAC,EAAE,CAAC,CAAC,CAAC;AACV,CAAC;AAEDO,MAAM,CAACC,OAAO,GAAG;EAAEnB,IAAI,EAAJA,IAAI;EAAEY,IAAI,EAAJA;AAAK,CAAC"},"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f24e306cc7df97d877914389c268e8a8.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f24e306cc7df97d877914389c268e8a8.json new file mode 100644 index 00000000..ff9f25c7 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f24e306cc7df97d877914389c268e8a8.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nimport Dimensions from \"../Dimensions\";\nimport { useEffect, useState } from 'react';\nexport default function useWindowDimensions() {\n var _useState = useState(function () {\n return Dimensions.get('window');\n }),\n dims = _useState[0],\n setDims = _useState[1];\n useEffect(function () {\n function handleChange(_ref) {\n var window = _ref.window;\n if (window != null) {\n setDims(window);\n }\n }\n Dimensions.addEventListener('change', handleChange);\n setDims(Dimensions.get('window'));\n return function () {\n Dimensions.removeEventListener('change', handleChange);\n };\n }, []);\n return dims;\n}","map":{"version":3,"names":["Dimensions","useEffect","useState","useWindowDimensions","_useState","get","dims","setDims","handleChange","_ref","window","addEventListener","removeEventListener"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/useWindowDimensions/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * \n */\n'use strict';\n\nimport Dimensions from '../Dimensions';\nimport { useEffect, useState } from 'react';\nexport default function useWindowDimensions() {\n var _useState = useState(() => Dimensions.get('window')),\n dims = _useState[0],\n setDims = _useState[1];\n\n useEffect(() => {\n function handleChange(_ref) {\n var window = _ref.window;\n\n if (window != null) {\n setDims(window);\n }\n }\n\n Dimensions.addEventListener('change', handleChange); // We might have missed an update between calling `get` in render and\n // `addEventListener` in this handler, so we set it here. If there was\n // no change, React will filter out this update as a no-op.\n\n setDims(Dimensions.get('window'));\n return () => {\n Dimensions.removeEventListener('change', handleChange);\n };\n }, []);\n return dims;\n}"],"mappings":"AASA,YAAY;;AAEZ,OAAOA,UAAU;AACjB,SAASC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,eAAe,SAASC,mBAAmB,GAAG;EAC5C,IAAIC,SAAS,GAAGF,QAAQ,CAAC;MAAA,OAAMF,UAAU,CAACK,GAAG,CAAC,QAAQ,CAAC;IAAA,EAAC;IACpDC,IAAI,GAAGF,SAAS,CAAC,CAAC,CAAC;IACnBG,OAAO,GAAGH,SAAS,CAAC,CAAC,CAAC;EAE1BH,SAAS,CAAC,YAAM;IACd,SAASO,YAAY,CAACC,IAAI,EAAE;MAC1B,IAAIC,MAAM,GAAGD,IAAI,CAACC,MAAM;MAExB,IAAIA,MAAM,IAAI,IAAI,EAAE;QAClBH,OAAO,CAACG,MAAM,CAAC;MACjB;IACF;IAEAV,UAAU,CAACW,gBAAgB,CAAC,QAAQ,EAAEH,YAAY,CAAC;IAInDD,OAAO,CAACP,UAAU,CAACK,GAAG,CAAC,QAAQ,CAAC,CAAC;IACjC,OAAO,YAAM;MACXL,UAAU,CAACY,mBAAmB,CAAC,QAAQ,EAAEJ,YAAY,CAAC;IACxD,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EACN,OAAOF,IAAI;AACb"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f4b4af8bbbc7be8e93f0aa0d034cce4a.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f4b4af8bbbc7be8e93f0aa0d034cce4a.json new file mode 100644 index 00000000..2d1aa1c2 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f4b4af8bbbc7be8e93f0aa0d034cce4a.json @@ -0,0 +1 @@ +{"ast":null,"code":"var conversions = require(\"./conversions\");\nvar route = require(\"./route\");\nvar convert = {};\nvar models = Object.keys(conversions);\nfunction wrapRaw(fn) {\n var wrappedFn = function wrappedFn() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var arg0 = args[0];\n if (arg0 === undefined || arg0 === null) {\n return arg0;\n }\n if (arg0.length > 1) {\n args = arg0;\n }\n return fn(args);\n };\n if ('conversion' in fn) {\n wrappedFn.conversion = fn.conversion;\n }\n return wrappedFn;\n}\nfunction wrapRounded(fn) {\n var wrappedFn = function wrappedFn() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n var arg0 = args[0];\n if (arg0 === undefined || arg0 === null) {\n return arg0;\n }\n if (arg0.length > 1) {\n args = arg0;\n }\n var result = fn(args);\n if (typeof result === 'object') {\n for (var len = result.length, i = 0; i < len; i++) {\n result[i] = Math.round(result[i]);\n }\n }\n return result;\n };\n if ('conversion' in fn) {\n wrappedFn.conversion = fn.conversion;\n }\n return wrappedFn;\n}\nmodels.forEach(function (fromModel) {\n convert[fromModel] = {};\n Object.defineProperty(convert[fromModel], 'channels', {\n value: conversions[fromModel].channels\n });\n Object.defineProperty(convert[fromModel], 'labels', {\n value: conversions[fromModel].labels\n });\n var routes = route(fromModel);\n var routeModels = Object.keys(routes);\n routeModels.forEach(function (toModel) {\n var fn = routes[toModel];\n convert[fromModel][toModel] = wrapRounded(fn);\n convert[fromModel][toModel].raw = wrapRaw(fn);\n });\n});\nmodule.exports = convert;","map":{"version":3,"names":["conversions","require","route","convert","models","Object","keys","wrapRaw","fn","wrappedFn","args","arg0","undefined","length","conversion","wrapRounded","result","len","i","Math","round","forEach","fromModel","defineProperty","value","channels","labels","routes","routeModels","toModel","raw","module","exports"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/@react-navigation/stack/node_modules/color-convert/index.js"],"sourcesContent":["const conversions = require('./conversions');\nconst route = require('./route');\n\nconst convert = {};\n\nconst models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\tconst result = fn(args);\n\n\t\t// We're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (let len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(fromModel => {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tconst routes = route(fromModel);\n\tconst routeModels = Object.keys(routes);\n\n\trouteModels.forEach(toModel => {\n\t\tconst fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n"],"mappings":"AAAA,IAAMA,WAAW,GAAGC,OAAO,iBAAiB;AAC5C,IAAMC,KAAK,GAAGD,OAAO,WAAW;AAEhC,IAAME,OAAO,GAAG,CAAC,CAAC;AAElB,IAAMC,MAAM,GAAGC,MAAM,CAACC,IAAI,CAACN,WAAW,CAAC;AAEvC,SAASO,OAAO,CAACC,EAAE,EAAE;EACpB,IAAMC,SAAS,GAAG,SAAZA,SAAS,GAAsB;IAAA,kCAANC,IAAI;MAAJA,IAAI;IAA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OAAO,CAAC,UAAAC,SAAS,EAAI;EAC3BnB,OAAO,CAACmB,SAAS,CAAC,GAAG,CAAC,CAAC;EAEvBjB,MAAM,CAACkB,cAAc,CAACpB,OAAO,CAACmB,SAAS,CAAC,EAAE,UAAU,EAAE;IAACE,KAAK,EAAExB,WAAW,CAACsB,SAAS,CAAC,CAACG;EAAQ,CAAC,CAAC;EAC/FpB,MAAM,CAACkB,cAAc,CAACpB,OAAO,CAACmB,SAAS,CAAC,EAAE,QAAQ,EAAE;IAACE,KAAK,EAAExB,WAAW,CAACsB,SAAS,CAAC,CAACI;EAAM,CAAC,CAAC;EAE3F,IAAMC,MAAM,GAAGzB,KAAK,CAACoB,SAAS,CAAC;EAC/B,IAAMM,WAAW,GAAGvB,MAAM,CAACC,IAAI,CAACqB,MAAM,CAAC;EAEvCC,WAAW,CAACP,OAAO,CAAC,UAAAQ,OAAO,EAAI;IAC9B,IAAMrB,EAAE,GAAGmB,MAAM,CAACE,OAAO,CAAC;IAE1B1B,OAAO,CAACmB,SAAS,CAAC,CAACO,OAAO,CAAC,GAAGd,WAAW,CAACP,EAAE,CAAC;IAC7CL,OAAO,CAACmB,SAAS,CAAC,CAACO,OAAO,CAAC,CAACC,GAAG,GAAGvB,OAAO,CAACC,EAAE,CAAC;EAC9C,CAAC,CAAC;AACH,CAAC,CAAC;AAEFuB,MAAM,CAACC,OAAO,GAAG7B,OAAO"},"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f5ded441923ea1b3aadecaa734160cdc.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f5ded441923ea1b3aadecaa734160cdc.json new file mode 100644 index 00000000..4b3e385e --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f5ded441923ea1b3aadecaa734160cdc.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./createIconSet\";\nimport font from \"./vendor/react-native-vector-icons/Fonts/FontAwesome.ttf\";\nimport glyphMap from \"./vendor/react-native-vector-icons/glyphmaps/FontAwesome.json\";\nexport default createIconSet(glyphMap, 'FontAwesome', font);","map":{"version":3,"sources":["../src/FontAwesome.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa;AACpB,OAAO,IAAI;AACX,OAAO,QAAQ;AAEf,eAAe,aAAa,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './vendor/react-native-vector-icons/Fonts/FontAwesome.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome.json';\n\nexport default createIconSet(glyphMap, 'FontAwesome', font);\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f663689870e556783ac1020f882ce283.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f663689870e556783ac1020f882ce283.json new file mode 100644 index 00000000..e5577aa6 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f663689870e556783ac1020f882ce283.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport { Background, getDefaultHeaderHeight, SafeAreaProviderCompat } from '@react-navigation/elements';\nimport Color from 'color';\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { forModalPresentationIOS, forNoAnimation as forNoAnimationCard } from \"../../TransitionConfigs/CardStyleInterpolators\";\nimport { DefaultTransition, ModalFadeTransition, ModalTransition } from \"../../TransitionConfigs/TransitionPresets\";\nimport findLastIndex from \"../../utils/findLastIndex\";\nimport getDistanceForDirection from \"../../utils/getDistanceForDirection\";\nimport { MaybeScreen, MaybeScreenContainer } from \"../Screens\";\nimport { getIsModalPresentation } from \"./Card\";\nimport CardContainer from \"./CardContainer\";\nvar EPSILON = 1e-5;\nvar STATE_INACTIVE = 0;\nvar STATE_TRANSITIONING_OR_BELOW_TOP = 1;\nvar STATE_ON_TOP = 2;\nvar FALLBACK_DESCRIPTOR = Object.freeze({\n options: {}\n});\nvar getInterpolationIndex = function getInterpolationIndex(scenes, index) {\n var cardStyleInterpolator = scenes[index].descriptor.options.cardStyleInterpolator;\n var interpolationIndex = 0;\n for (var i = index - 1; i >= 0; i--) {\n var _scenes$i;\n var cardStyleInterpolatorCurrent = (_scenes$i = scenes[i]) === null || _scenes$i === void 0 ? void 0 : _scenes$i.descriptor.options.cardStyleInterpolator;\n if (cardStyleInterpolatorCurrent !== cardStyleInterpolator) {\n break;\n }\n interpolationIndex++;\n }\n return interpolationIndex;\n};\nvar getIsModal = function getIsModal(scene, interpolationIndex, isParentModal) {\n if (isParentModal) {\n return true;\n }\n var cardStyleInterpolator = scene.descriptor.options.cardStyleInterpolator;\n var isModalPresentation = getIsModalPresentation(cardStyleInterpolator);\n var isModal = isModalPresentation && interpolationIndex !== 0;\n return isModal;\n};\nvar getHeaderHeights = function getHeaderHeights(scenes, insets, isParentHeaderShown, isParentModal, layout, previous) {\n return scenes.reduce(function (acc, curr, index) {\n var _curr$descriptor$opti = curr.descriptor.options,\n _curr$descriptor$opti2 = _curr$descriptor$opti.headerStatusBarHeight,\n headerStatusBarHeight = _curr$descriptor$opti2 === void 0 ? isParentHeaderShown ? 0 : insets.top : _curr$descriptor$opti2,\n headerStyle = _curr$descriptor$opti.headerStyle;\n var style = StyleSheet.flatten(headerStyle || {});\n var height = 'height' in style && typeof style.height === 'number' ? style.height : previous[curr.route.key];\n var interpolationIndex = getInterpolationIndex(scenes, index);\n var isModal = getIsModal(curr, interpolationIndex, isParentModal);\n acc[curr.route.key] = typeof height === 'number' ? height : getDefaultHeaderHeight(layout, isModal, headerStatusBarHeight);\n return acc;\n }, {});\n};\nvar getDistanceFromOptions = function getDistanceFromOptions(layout, descriptor) {\n var _ref4 = (descriptor === null || descriptor === void 0 ? void 0 : descriptor.options) || {},\n presentation = _ref4.presentation,\n _ref4$gestureDirectio = _ref4.gestureDirection,\n gestureDirection = _ref4$gestureDirectio === void 0 ? presentation === 'modal' ? ModalTransition.gestureDirection : DefaultTransition.gestureDirection : _ref4$gestureDirectio;\n return getDistanceForDirection(layout, gestureDirection);\n};\nvar getProgressFromGesture = function getProgressFromGesture(gesture, layout, descriptor) {\n var distance = getDistanceFromOptions({\n width: Math.max(1, layout.width),\n height: Math.max(1, layout.height)\n }, descriptor);\n if (distance > 0) {\n return gesture.interpolate({\n inputRange: [0, distance],\n outputRange: [1, 0]\n });\n }\n return gesture.interpolate({\n inputRange: [distance, 0],\n outputRange: [0, 1]\n });\n};\nvar CardStack = function (_React$Component) {\n _inherits(CardStack, _React$Component);\n var _super = _createSuper(CardStack);\n function CardStack(_props) {\n var _this;\n _classCallCheck(this, CardStack);\n _this = _super.call(this, _props);\n _this.handleLayout = function (e) {\n var _e$nativeEvent$layout = e.nativeEvent.layout,\n height = _e$nativeEvent$layout.height,\n width = _e$nativeEvent$layout.width;\n var layout = {\n width: width,\n height: height\n };\n _this.setState(function (state, props) {\n if (height === state.layout.height && width === state.layout.width) {\n return null;\n }\n return {\n layout: layout,\n headerHeights: getHeaderHeights(state.scenes, props.insets, props.isParentHeaderShown, props.isParentModal, layout, state.headerHeights)\n };\n });\n };\n _this.handleHeaderLayout = function (_ref) {\n var route = _ref.route,\n height = _ref.height;\n _this.setState(function (_ref2) {\n var headerHeights = _ref2.headerHeights;\n var previousHeight = headerHeights[route.key];\n if (previousHeight === height) {\n return null;\n }\n return {\n headerHeights: _objectSpread(_objectSpread({}, headerHeights), {}, _defineProperty({}, route.key, height))\n };\n });\n };\n _this.getFocusedRoute = function () {\n var state = _this.props.state;\n return state.routes[state.index];\n };\n _this.getPreviousScene = function (_ref3) {\n var route = _ref3.route;\n var getPreviousRoute = _this.props.getPreviousRoute;\n var scenes = _this.state.scenes;\n var previousRoute = getPreviousRoute({\n route: route\n });\n if (previousRoute) {\n var previousScene = scenes.find(function (scene) {\n return scene.descriptor.route.key === previousRoute.key;\n });\n return previousScene;\n }\n return undefined;\n };\n _this.state = {\n routes: [],\n scenes: [],\n gestures: {},\n layout: SafeAreaProviderCompat.initialMetrics.frame,\n descriptors: _this.props.descriptors,\n headerHeights: {}\n };\n return _this;\n }\n _createClass(CardStack, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var _this$props = this.props,\n insets = _this$props.insets,\n state = _this$props.state,\n routes = _this$props.routes,\n closingRouteKeys = _this$props.closingRouteKeys,\n onOpenRoute = _this$props.onOpenRoute,\n onCloseRoute = _this$props.onCloseRoute,\n renderHeader = _this$props.renderHeader,\n renderScene = _this$props.renderScene,\n isParentHeaderShown = _this$props.isParentHeaderShown,\n isParentModal = _this$props.isParentModal,\n onTransitionStart = _this$props.onTransitionStart,\n onTransitionEnd = _this$props.onTransitionEnd,\n onGestureStart = _this$props.onGestureStart,\n onGestureEnd = _this$props.onGestureEnd,\n onGestureCancel = _this$props.onGestureCancel,\n _this$props$detachIna = _this$props.detachInactiveScreens,\n detachInactiveScreens = _this$props$detachIna === void 0 ? Platform.OS === 'web' || Platform.OS === 'android' || Platform.OS === 'ios' : _this$props$detachIna;\n var _this$state = this.state,\n scenes = _this$state.scenes,\n layout = _this$state.layout,\n gestures = _this$state.gestures,\n headerHeights = _this$state.headerHeights;\n var focusedRoute = state.routes[state.index];\n var focusedHeaderHeight = headerHeights[focusedRoute.key];\n var isFloatHeaderAbsolute = this.state.scenes.slice(-2).some(function (scene) {\n var _scene$descriptor$opt;\n var options = (_scene$descriptor$opt = scene.descriptor.options) != null ? _scene$descriptor$opt : {};\n var headerMode = options.headerMode,\n headerTransparent = options.headerTransparent,\n _options$headerShown = options.headerShown,\n headerShown = _options$headerShown === void 0 ? true : _options$headerShown;\n if (headerTransparent || headerShown === false || headerMode === 'screen') {\n return true;\n }\n return false;\n });\n var activeScreensLimit = 1;\n for (var i = scenes.length - 1; i >= 0; i--) {\n var options = scenes[i].descriptor.options;\n var _options$detachPrevio = options.detachPreviousScreen,\n detachPreviousScreen = _options$detachPrevio === void 0 ? options.presentation === 'transparentModal' ? false : getIsModalPresentation(options.cardStyleInterpolator) ? i !== findLastIndex(scenes, function (scene) {\n var cardStyleInterpolator = scene.descriptor.options.cardStyleInterpolator;\n return cardStyleInterpolator === forModalPresentationIOS || (cardStyleInterpolator === null || cardStyleInterpolator === void 0 ? void 0 : cardStyleInterpolator.name) === 'forModalPresentationIOS';\n }) : true : _options$detachPrevio;\n if (detachPreviousScreen === false) {\n activeScreensLimit++;\n } else {\n if (i <= scenes.length - 2) {\n break;\n }\n }\n }\n var floatingHeader = React.createElement(React.Fragment, {\n key: \"header\"\n }, renderHeader({\n mode: 'float',\n layout: layout,\n scenes: scenes,\n getPreviousScene: this.getPreviousScene,\n getFocusedRoute: this.getFocusedRoute,\n onContentHeightChange: this.handleHeaderLayout,\n style: [styles.floating, isFloatHeaderAbsolute && [{\n height: focusedHeaderHeight\n }, styles.absolute]]\n }));\n return React.createElement(Background, null, isFloatHeaderAbsolute ? null : floatingHeader, React.createElement(MaybeScreenContainer, {\n enabled: detachInactiveScreens,\n style: styles.container,\n onLayout: this.handleLayout\n }, routes.map(function (route, index, self) {\n var _scenes, _scenes2;\n var focused = focusedRoute.key === route.key;\n var gesture = gestures[route.key];\n var scene = scenes[index];\n var isScreenActive = 1;\n if (index < self.length - activeScreensLimit - 1) {\n isScreenActive = STATE_INACTIVE;\n } else {\n var sceneForActivity = scenes[self.length - 1];\n var outputValue = index === self.length - 1 ? STATE_ON_TOP : index >= self.length - activeScreensLimit ? STATE_TRANSITIONING_OR_BELOW_TOP : STATE_INACTIVE;\n isScreenActive = sceneForActivity ? sceneForActivity.progress.current.interpolate({\n inputRange: [0, 1 - EPSILON, 1],\n outputRange: [1, 1, outputValue],\n extrapolate: 'clamp'\n }) : STATE_TRANSITIONING_OR_BELOW_TOP;\n }\n var _scene$descriptor$opt2 = scene.descriptor.options,\n _scene$descriptor$opt3 = _scene$descriptor$opt2.headerShown,\n headerShown = _scene$descriptor$opt3 === void 0 ? true : _scene$descriptor$opt3,\n headerTransparent = _scene$descriptor$opt2.headerTransparent,\n headerStyle = _scene$descriptor$opt2.headerStyle,\n headerTintColor = _scene$descriptor$opt2.headerTintColor,\n freezeOnBlur = _scene$descriptor$opt2.freezeOnBlur;\n var safeAreaInsetTop = insets.top;\n var safeAreaInsetRight = insets.right;\n var safeAreaInsetBottom = insets.bottom;\n var safeAreaInsetLeft = insets.left;\n var headerHeight = headerShown !== false ? headerHeights[route.key] : 0;\n var headerDarkContent;\n if (headerShown) {\n if (typeof headerTintColor === 'string') {\n headerDarkContent = Color(headerTintColor).isDark();\n } else {\n var flattenedHeaderStyle = StyleSheet.flatten(headerStyle);\n if (flattenedHeaderStyle && 'backgroundColor' in flattenedHeaderStyle && typeof flattenedHeaderStyle.backgroundColor === 'string') {\n headerDarkContent = !Color(flattenedHeaderStyle.backgroundColor).isDark();\n }\n }\n }\n var interpolationIndex = getInterpolationIndex(scenes, index);\n var isModal = getIsModal(scene, interpolationIndex, isParentModal);\n var isNextScreenTransparent = ((_scenes = scenes[index + 1]) === null || _scenes === void 0 ? void 0 : _scenes.descriptor.options.presentation) === 'transparentModal';\n var detachCurrentScreen = ((_scenes2 = scenes[index + 1]) === null || _scenes2 === void 0 ? void 0 : _scenes2.descriptor.options.detachPreviousScreen) !== false;\n return React.createElement(MaybeScreen, {\n key: route.key,\n style: StyleSheet.absoluteFill,\n enabled: detachInactiveScreens,\n active: isScreenActive,\n freezeOnBlur: freezeOnBlur,\n pointerEvents: \"box-none\"\n }, React.createElement(CardContainer, {\n index: index,\n interpolationIndex: interpolationIndex,\n modal: isModal,\n active: index === self.length - 1,\n focused: focused,\n closing: closingRouteKeys.includes(route.key),\n layout: layout,\n gesture: gesture,\n scene: scene,\n safeAreaInsetTop: safeAreaInsetTop,\n safeAreaInsetRight: safeAreaInsetRight,\n safeAreaInsetBottom: safeAreaInsetBottom,\n safeAreaInsetLeft: safeAreaInsetLeft,\n onGestureStart: onGestureStart,\n onGestureCancel: onGestureCancel,\n onGestureEnd: onGestureEnd,\n headerHeight: headerHeight,\n isParentHeaderShown: isParentHeaderShown,\n onHeaderHeightChange: _this2.handleHeaderLayout,\n getPreviousScene: _this2.getPreviousScene,\n getFocusedRoute: _this2.getFocusedRoute,\n headerDarkContent: headerDarkContent,\n hasAbsoluteFloatHeader: isFloatHeaderAbsolute && !headerTransparent,\n renderHeader: renderHeader,\n renderScene: renderScene,\n onOpenRoute: onOpenRoute,\n onCloseRoute: onCloseRoute,\n onTransitionStart: onTransitionStart,\n onTransitionEnd: onTransitionEnd,\n isNextScreenTransparent: isNextScreenTransparent,\n detachCurrentScreen: detachCurrentScreen\n }));\n })), isFloatHeaderAbsolute ? floatingHeader : null);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n if (props.routes === state.routes && props.descriptors === state.descriptors) {\n return null;\n }\n var gestures = props.routes.reduce(function (acc, curr) {\n var descriptor = props.descriptors[curr.key];\n var _ref5 = (descriptor === null || descriptor === void 0 ? void 0 : descriptor.options) || {},\n animationEnabled = _ref5.animationEnabled;\n acc[curr.key] = state.gestures[curr.key] || new Animated.Value(props.openingRouteKeys.includes(curr.key) && animationEnabled !== false ? getDistanceFromOptions(state.layout, descriptor) : 0);\n return acc;\n }, {});\n var scenes = props.routes.map(function (route, index, self) {\n var _descriptor$options$h;\n var previousRoute = self[index - 1];\n var nextRoute = self[index + 1];\n var oldScene = state.scenes[index];\n var currentGesture = gestures[route.key];\n var previousGesture = previousRoute ? gestures[previousRoute.key] : undefined;\n var nextGesture = nextRoute ? gestures[nextRoute.key] : undefined;\n var descriptor = props.descriptors[route.key] || state.descriptors[route.key] || (oldScene ? oldScene.descriptor : FALLBACK_DESCRIPTOR);\n var nextDescriptor = props.descriptors[nextRoute === null || nextRoute === void 0 ? void 0 : nextRoute.key] || state.descriptors[nextRoute === null || nextRoute === void 0 ? void 0 : nextRoute.key];\n var previousDescriptor = props.descriptors[previousRoute === null || previousRoute === void 0 ? void 0 : previousRoute.key] || state.descriptors[previousRoute === null || previousRoute === void 0 ? void 0 : previousRoute.key];\n var optionsForTransitionConfig = index !== self.length - 1 && nextDescriptor && nextDescriptor.options.presentation !== 'transparentModal' ? nextDescriptor.options : descriptor.options;\n var defaultTransitionPreset = optionsForTransitionConfig.presentation === 'modal' ? ModalTransition : optionsForTransitionConfig.presentation === 'transparentModal' ? ModalFadeTransition : DefaultTransition;\n var _optionsForTransition = optionsForTransitionConfig.animationEnabled,\n animationEnabled = _optionsForTransition === void 0 ? Platform.OS !== 'web' && Platform.OS !== 'windows' && Platform.OS !== 'macos' : _optionsForTransition,\n _optionsForTransition2 = optionsForTransitionConfig.gestureEnabled,\n gestureEnabled = _optionsForTransition2 === void 0 ? Platform.OS === 'ios' && animationEnabled : _optionsForTransition2,\n _optionsForTransition3 = optionsForTransitionConfig.gestureDirection,\n gestureDirection = _optionsForTransition3 === void 0 ? defaultTransitionPreset.gestureDirection : _optionsForTransition3,\n _optionsForTransition4 = optionsForTransitionConfig.transitionSpec,\n transitionSpec = _optionsForTransition4 === void 0 ? defaultTransitionPreset.transitionSpec : _optionsForTransition4,\n _optionsForTransition5 = optionsForTransitionConfig.cardStyleInterpolator,\n cardStyleInterpolator = _optionsForTransition5 === void 0 ? animationEnabled === false ? forNoAnimationCard : defaultTransitionPreset.cardStyleInterpolator : _optionsForTransition5,\n _optionsForTransition6 = optionsForTransitionConfig.headerStyleInterpolator,\n headerStyleInterpolator = _optionsForTransition6 === void 0 ? defaultTransitionPreset.headerStyleInterpolator : _optionsForTransition6,\n _optionsForTransition7 = optionsForTransitionConfig.cardOverlayEnabled,\n cardOverlayEnabled = _optionsForTransition7 === void 0 ? Platform.OS !== 'ios' && optionsForTransitionConfig.presentation !== 'transparentModal' || getIsModalPresentation(cardStyleInterpolator) : _optionsForTransition7;\n var headerMode = (_descriptor$options$h = descriptor.options.headerMode) != null ? _descriptor$options$h : !(optionsForTransitionConfig.presentation === 'modal' || optionsForTransitionConfig.presentation === 'transparentModal' || (nextDescriptor === null || nextDescriptor === void 0 ? void 0 : nextDescriptor.options.presentation) === 'modal' || (nextDescriptor === null || nextDescriptor === void 0 ? void 0 : nextDescriptor.options.presentation) === 'transparentModal' || getIsModalPresentation(cardStyleInterpolator)) && Platform.OS === 'ios' && descriptor.options.header === undefined ? 'float' : 'screen';\n var scene = {\n route: route,\n descriptor: _objectSpread(_objectSpread({}, descriptor), {}, {\n options: _objectSpread(_objectSpread({}, descriptor.options), {}, {\n animationEnabled: animationEnabled,\n cardOverlayEnabled: cardOverlayEnabled,\n cardStyleInterpolator: cardStyleInterpolator,\n gestureDirection: gestureDirection,\n gestureEnabled: gestureEnabled,\n headerStyleInterpolator: headerStyleInterpolator,\n transitionSpec: transitionSpec,\n headerMode: headerMode\n })\n }),\n progress: {\n current: getProgressFromGesture(currentGesture, state.layout, descriptor),\n next: nextGesture && (nextDescriptor === null || nextDescriptor === void 0 ? void 0 : nextDescriptor.options.presentation) !== 'transparentModal' ? getProgressFromGesture(nextGesture, state.layout, nextDescriptor) : undefined,\n previous: previousGesture ? getProgressFromGesture(previousGesture, state.layout, previousDescriptor) : undefined\n },\n __memo: [state.layout, descriptor, nextDescriptor, previousDescriptor, currentGesture, nextGesture, previousGesture]\n };\n if (oldScene && scene.__memo.every(function (it, i) {\n return oldScene.__memo[i] === it;\n })) {\n return oldScene;\n }\n return scene;\n });\n return {\n routes: props.routes,\n scenes: scenes,\n gestures: gestures,\n descriptors: props.descriptors,\n headerHeights: getHeaderHeights(scenes, props.insets, props.isParentHeaderShown, props.isParentModal, state.layout, state.headerHeights)\n };\n }\n }]);\n return CardStack;\n}(React.Component);\nexport { CardStack as default };\nvar styles = StyleSheet.create({\n container: {\n flex: 1\n },\n absolute: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0\n },\n floating: {\n zIndex: 1\n }\n});","map":{"version":3,"sources":["views/Stack/CardStack.tsx"],"names":["Background","getDefaultHeaderHeight","SafeAreaProviderCompat","Color","React","forModalPresentationIOS","forNoAnimation","forNoAnimationCard","DefaultTransition","ModalFadeTransition","ModalTransition","findLastIndex","getDistanceForDirection","MaybeScreen","MaybeScreenContainer","getIsModalPresentation","CardContainer","EPSILON","STATE_INACTIVE","STATE_TRANSITIONING_OR_BELOW_TOP","STATE_ON_TOP","FALLBACK_DESCRIPTOR","Object","freeze","options","getInterpolationIndex","scenes","index","cardStyleInterpolator","descriptor","interpolationIndex","i","cardStyleInterpolatorCurrent","getIsModal","scene","isParentModal","isModalPresentation","isModal","getHeaderHeights","insets","isParentHeaderShown","layout","previous","reduce","acc","curr","headerStatusBarHeight","top","headerStyle","style","StyleSheet","flatten","height","route","key","getDistanceFromOptions","presentation","gestureDirection","getProgressFromGesture","gesture","distance","width","Math","max","interpolate","inputRange","outputRange","CardStack","Component","props","state","routes","descriptors","gestures","animationEnabled","Animated","Value","openingRouteKeys","includes","map","self","previousRoute","nextRoute","oldScene","currentGesture","previousGesture","undefined","nextGesture","nextDescriptor","previousDescriptor","optionsForTransitionConfig","length","defaultTransitionPreset","Platform","OS","gestureEnabled","transitionSpec","headerStyleInterpolator","cardOverlayEnabled","headerMode","header","progress","current","next","__memo","every","it","headerHeights","constructor","initialMetrics","frame","handleLayout","e","nativeEvent","setState","handleHeaderLayout","previousHeight","getFocusedRoute","getPreviousScene","getPreviousRoute","previousScene","find","render","closingRouteKeys","onOpenRoute","onCloseRoute","renderHeader","renderScene","onTransitionStart","onTransitionEnd","onGestureStart","onGestureEnd","onGestureCancel","detachInactiveScreens","focusedRoute","focusedHeaderHeight","isFloatHeaderAbsolute","slice","some","headerTransparent","headerShown","activeScreensLimit","detachPreviousScreen","name","floatingHeader","mode","onContentHeightChange","styles","floating","absolute","container","focused","isScreenActive","sceneForActivity","outputValue","extrapolate","headerTintColor","freezeOnBlur","safeAreaInsetTop","safeAreaInsetRight","right","safeAreaInsetBottom","bottom","safeAreaInsetLeft","left","headerHeight","headerDarkContent","isDark","flattenedHeaderStyle","backgroundColor","isNextScreenTransparent","detachCurrentScreen","absoluteFill","create","flex","position","zIndex"],"mappings":";;;;;;;;;;AAAA,SACEA,UAAU,EACVC,sBAAsB,EACtBC,sBAAsB,QACjB,4BAA4B;AAMnC,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAO,KAA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MAAM,EACN2C,KAAK,CAAC9B,MAAM,EACZ8B,KAAK,CAAC7B,mBAAmB,EACzB6B,KAAK,CAAClC,aAAa,EACnBmC,KAAK,CAAC7B,MAAM,EACZ6B,KAAK,CAACqC,aAAa;MAEvB,CAAC;IACH;EAAA;EAAA;AAAA,EAnLqCvG,KAAK,CAACgE,SAAS;AAAA,SAAjCD,SAAS;AA8f9B,IAAMgF,MAAM,GAAGjG,UAAU,CAAC2H,MAAM,CAAC;EAC/BvB,SAAS,EAAE;IACTwB,IAAI,EAAE;EACR,CAAC;EACDzB,QAAQ,EAAE;IACR0B,QAAQ,EAAE,UAAU;IACpBhI,GAAG,EAAE,CAAC;IACNqH,IAAI,EAAE,CAAC;IACPJ,KAAK,EAAE;EACT,CAAC;EACDZ,QAAQ,EAAE;IACR4B,MAAM,EAAE;EACV;AACF,CAAC,CAAC","sourceRoot":"../../../../src","sourcesContent":["import { Background, getDefaultHeaderHeight, SafeAreaProviderCompat } from '@react-navigation/elements';\nimport Color from 'color';\nimport * as React from 'react';\nimport { Animated, Platform, StyleSheet } from 'react-native';\nimport { forModalPresentationIOS, forNoAnimation as forNoAnimationCard } from '../../TransitionConfigs/CardStyleInterpolators';\nimport { DefaultTransition, ModalFadeTransition, ModalTransition } from '../../TransitionConfigs/TransitionPresets';\nimport findLastIndex from '../../utils/findLastIndex';\nimport getDistanceForDirection from '../../utils/getDistanceForDirection';\nimport { MaybeScreen, MaybeScreenContainer } from '../Screens';\nimport { getIsModalPresentation } from './Card';\nimport CardContainer from './CardContainer';\nconst EPSILON = 1e-5;\nconst STATE_INACTIVE = 0;\nconst STATE_TRANSITIONING_OR_BELOW_TOP = 1;\nconst STATE_ON_TOP = 2;\nconst FALLBACK_DESCRIPTOR = Object.freeze({\n options: {}\n});\nconst getInterpolationIndex = (scenes, index) => {\n const {\n cardStyleInterpolator\n } = scenes[index].descriptor.options;\n\n // Start from current card and count backwards the number of cards with same interpolation\n let interpolationIndex = 0;\n for (let i = index - 1; i >= 0; i--) {\n var _scenes$i;\n const cardStyleInterpolatorCurrent = (_scenes$i = scenes[i]) === null || _scenes$i === void 0 ? void 0 : _scenes$i.descriptor.options.cardStyleInterpolator;\n if (cardStyleInterpolatorCurrent !== cardStyleInterpolator) {\n break;\n }\n interpolationIndex++;\n }\n return interpolationIndex;\n};\nconst getIsModal = (scene, interpolationIndex, isParentModal) => {\n if (isParentModal) {\n return true;\n }\n const {\n cardStyleInterpolator\n } = scene.descriptor.options;\n const isModalPresentation = getIsModalPresentation(cardStyleInterpolator);\n const isModal = isModalPresentation && interpolationIndex !== 0;\n return isModal;\n};\nconst getHeaderHeights = (scenes, insets, isParentHeaderShown, isParentModal, layout, previous) => {\n return scenes.reduce((acc, curr, index) => {\n const {\n headerStatusBarHeight = isParentHeaderShown ? 0 : insets.top,\n headerStyle\n } = curr.descriptor.options;\n const style = StyleSheet.flatten(headerStyle || {});\n const height = 'height' in style && typeof style.height === 'number' ? style.height : previous[curr.route.key];\n const interpolationIndex = getInterpolationIndex(scenes, index);\n const isModal = getIsModal(curr, interpolationIndex, isParentModal);\n acc[curr.route.key] = typeof height === 'number' ? height : getDefaultHeaderHeight(layout, isModal, headerStatusBarHeight);\n return acc;\n }, {});\n};\nconst getDistanceFromOptions = (layout, descriptor) => {\n const {\n presentation,\n gestureDirection = presentation === 'modal' ? ModalTransition.gestureDirection : DefaultTransition.gestureDirection\n } = (descriptor === null || descriptor === void 0 ? void 0 : descriptor.options) || {};\n return getDistanceForDirection(layout, gestureDirection);\n};\nconst getProgressFromGesture = (gesture, layout, descriptor) => {\n const distance = getDistanceFromOptions({\n // Make sure that we have a non-zero distance, otherwise there will be incorrect progress\n // This causes blank screen on web if it was previously inside container with display: none\n width: Math.max(1, layout.width),\n height: Math.max(1, layout.height)\n }, descriptor);\n if (distance > 0) {\n return gesture.interpolate({\n inputRange: [0, distance],\n outputRange: [1, 0]\n });\n }\n return gesture.interpolate({\n inputRange: [distance, 0],\n outputRange: [0, 1]\n });\n};\nexport default class CardStack extends React.Component {\n static getDerivedStateFromProps(props, state) {\n if (props.routes === state.routes && props.descriptors === state.descriptors) {\n return null;\n }\n const gestures = props.routes.reduce((acc, curr) => {\n const descriptor = props.descriptors[curr.key];\n const {\n animationEnabled\n } = (descriptor === null || descriptor === void 0 ? void 0 : descriptor.options) || {};\n acc[curr.key] = state.gestures[curr.key] || new Animated.Value(props.openingRouteKeys.includes(curr.key) && animationEnabled !== false ? getDistanceFromOptions(state.layout, descriptor) : 0);\n return acc;\n }, {});\n const scenes = props.routes.map((route, index, self) => {\n const previousRoute = self[index - 1];\n const nextRoute = self[index + 1];\n const oldScene = state.scenes[index];\n const currentGesture = gestures[route.key];\n const previousGesture = previousRoute ? gestures[previousRoute.key] : undefined;\n const nextGesture = nextRoute ? gestures[nextRoute.key] : undefined;\n const descriptor = props.descriptors[route.key] || state.descriptors[route.key] || (oldScene ? oldScene.descriptor : FALLBACK_DESCRIPTOR);\n const nextDescriptor = props.descriptors[nextRoute === null || nextRoute === void 0 ? void 0 : nextRoute.key] || state.descriptors[nextRoute === null || nextRoute === void 0 ? void 0 : nextRoute.key];\n const previousDescriptor = props.descriptors[previousRoute === null || previousRoute === void 0 ? void 0 : previousRoute.key] || state.descriptors[previousRoute === null || previousRoute === void 0 ? void 0 : previousRoute.key];\n\n // When a screen is not the last, it should use next screen's transition config\n // Many transitions also animate the previous screen, so using 2 different transitions doesn't look right\n // For example combining a slide and a modal transition would look wrong otherwise\n // With this approach, combining different transition styles in the same navigator mostly looks right\n // This will still be broken when 2 transitions have different idle state (e.g. modal presentation),\n // but majority of the transitions look alright\n const optionsForTransitionConfig = index !== self.length - 1 && nextDescriptor && nextDescriptor.options.presentation !== 'transparentModal' ? nextDescriptor.options : descriptor.options;\n let defaultTransitionPreset = optionsForTransitionConfig.presentation === 'modal' ? ModalTransition : optionsForTransitionConfig.presentation === 'transparentModal' ? ModalFadeTransition : DefaultTransition;\n const {\n animationEnabled = Platform.OS !== 'web' && Platform.OS !== 'windows' && Platform.OS !== 'macos',\n gestureEnabled = Platform.OS === 'ios' && animationEnabled,\n gestureDirection = defaultTransitionPreset.gestureDirection,\n transitionSpec = defaultTransitionPreset.transitionSpec,\n cardStyleInterpolator = animationEnabled === false ? forNoAnimationCard : defaultTransitionPreset.cardStyleInterpolator,\n headerStyleInterpolator = defaultTransitionPreset.headerStyleInterpolator,\n cardOverlayEnabled = Platform.OS !== 'ios' && optionsForTransitionConfig.presentation !== 'transparentModal' || getIsModalPresentation(cardStyleInterpolator)\n } = optionsForTransitionConfig;\n const headerMode = descriptor.options.headerMode ?? (!(optionsForTransitionConfig.presentation === 'modal' || optionsForTransitionConfig.presentation === 'transparentModal' || (nextDescriptor === null || nextDescriptor === void 0 ? void 0 : nextDescriptor.options.presentation) === 'modal' || (nextDescriptor === null || nextDescriptor === void 0 ? void 0 : nextDescriptor.options.presentation) === 'transparentModal' || getIsModalPresentation(cardStyleInterpolator)) && Platform.OS === 'ios' && descriptor.options.header === undefined ? 'float' : 'screen');\n const scene = {\n route,\n descriptor: {\n ...descriptor,\n options: {\n ...descriptor.options,\n animationEnabled,\n cardOverlayEnabled,\n cardStyleInterpolator,\n gestureDirection,\n gestureEnabled,\n headerStyleInterpolator,\n transitionSpec,\n headerMode\n }\n },\n progress: {\n current: getProgressFromGesture(currentGesture, state.layout, descriptor),\n next: nextGesture && (nextDescriptor === null || nextDescriptor === void 0 ? void 0 : nextDescriptor.options.presentation) !== 'transparentModal' ? getProgressFromGesture(nextGesture, state.layout, nextDescriptor) : undefined,\n previous: previousGesture ? getProgressFromGesture(previousGesture, state.layout, previousDescriptor) : undefined\n },\n __memo: [state.layout, descriptor, nextDescriptor, previousDescriptor, currentGesture, nextGesture, previousGesture]\n };\n if (oldScene && scene.__memo.every((it, i) => {\n // @ts-expect-error: we haven't added __memo to the annotation to prevent usage elsewhere\n return oldScene.__memo[i] === it;\n })) {\n return oldScene;\n }\n return scene;\n });\n return {\n routes: props.routes,\n scenes,\n gestures,\n descriptors: props.descriptors,\n headerHeights: getHeaderHeights(scenes, props.insets, props.isParentHeaderShown, props.isParentModal, state.layout, state.headerHeights)\n };\n }\n constructor(props) {\n super(props);\n this.state = {\n routes: [],\n scenes: [],\n gestures: {},\n layout: SafeAreaProviderCompat.initialMetrics.frame,\n descriptors: this.props.descriptors,\n // Used when card's header is null and mode is float to make transition\n // between screens with headers and those without headers smooth.\n // This is not a great heuristic here. We don't know synchronously\n // on mount what the header height is so we have just used the most\n // common cases here.\n headerHeights: {}\n };\n }\n handleLayout = e => {\n const {\n height,\n width\n } = e.nativeEvent.layout;\n const layout = {\n width,\n height\n };\n this.setState((state, props) => {\n if (height === state.layout.height && width === state.layout.width) {\n return null;\n }\n return {\n layout,\n headerHeights: getHeaderHeights(state.scenes, props.insets, props.isParentHeaderShown, props.isParentModal, layout, state.headerHeights)\n };\n });\n };\n handleHeaderLayout = _ref => {\n let {\n route,\n height\n } = _ref;\n this.setState(_ref2 => {\n let {\n headerHeights\n } = _ref2;\n const previousHeight = headerHeights[route.key];\n if (previousHeight === height) {\n return null;\n }\n return {\n headerHeights: {\n ...headerHeights,\n [route.key]: height\n }\n };\n });\n };\n getFocusedRoute = () => {\n const {\n state\n } = this.props;\n return state.routes[state.index];\n };\n getPreviousScene = _ref3 => {\n let {\n route\n } = _ref3;\n const {\n getPreviousRoute\n } = this.props;\n const {\n scenes\n } = this.state;\n const previousRoute = getPreviousRoute({\n route\n });\n if (previousRoute) {\n const previousScene = scenes.find(scene => scene.descriptor.route.key === previousRoute.key);\n return previousScene;\n }\n return undefined;\n };\n render() {\n const {\n insets,\n state,\n routes,\n closingRouteKeys,\n onOpenRoute,\n onCloseRoute,\n renderHeader,\n renderScene,\n isParentHeaderShown,\n isParentModal,\n onTransitionStart,\n onTransitionEnd,\n onGestureStart,\n onGestureEnd,\n onGestureCancel,\n detachInactiveScreens = Platform.OS === 'web' || Platform.OS === 'android' || Platform.OS === 'ios'\n } = this.props;\n const {\n scenes,\n layout,\n gestures,\n headerHeights\n } = this.state;\n const focusedRoute = state.routes[state.index];\n const focusedHeaderHeight = headerHeights[focusedRoute.key];\n const isFloatHeaderAbsolute = this.state.scenes.slice(-2).some(scene => {\n const options = scene.descriptor.options ?? {};\n const {\n headerMode,\n headerTransparent,\n headerShown = true\n } = options;\n if (headerTransparent || headerShown === false || headerMode === 'screen') {\n return true;\n }\n return false;\n });\n let activeScreensLimit = 1;\n for (let i = scenes.length - 1; i >= 0; i--) {\n const {\n options\n } = scenes[i].descriptor;\n const {\n // By default, we don't want to detach the previous screen of the active one for modals\n detachPreviousScreen = options.presentation === 'transparentModal' ? false : getIsModalPresentation(options.cardStyleInterpolator) ? i !== findLastIndex(scenes, scene => {\n const {\n cardStyleInterpolator\n } = scene.descriptor.options;\n return cardStyleInterpolator === forModalPresentationIOS || (cardStyleInterpolator === null || cardStyleInterpolator === void 0 ? void 0 : cardStyleInterpolator.name) === 'forModalPresentationIOS';\n }) : true\n } = options;\n if (detachPreviousScreen === false) {\n activeScreensLimit++;\n } else {\n // Check at least last 2 screens before stopping\n // This will make sure that screen isn't detached when another screen is animating on top of the transparent one\n // For example, (Opaque -> Transparent -> Opaque)\n if (i <= scenes.length - 2) {\n break;\n }\n }\n }\n const floatingHeader = /*#__PURE__*/React.createElement(React.Fragment, {\n key: \"header\"\n }, renderHeader({\n mode: 'float',\n layout,\n scenes,\n getPreviousScene: this.getPreviousScene,\n getFocusedRoute: this.getFocusedRoute,\n onContentHeightChange: this.handleHeaderLayout,\n style: [styles.floating, isFloatHeaderAbsolute && [\n // Without this, the header buttons won't be touchable on Android when headerTransparent: true\n {\n height: focusedHeaderHeight\n }, styles.absolute]]\n }));\n return /*#__PURE__*/React.createElement(Background, null, isFloatHeaderAbsolute ? null : floatingHeader, /*#__PURE__*/React.createElement(MaybeScreenContainer, {\n enabled: detachInactiveScreens,\n style: styles.container,\n onLayout: this.handleLayout\n }, routes.map((route, index, self) => {\n var _scenes, _scenes2;\n const focused = focusedRoute.key === route.key;\n const gesture = gestures[route.key];\n const scene = scenes[index];\n\n // For the screens that shouldn't be active, the value is 0\n // For those that should be active, but are not the top screen, the value is 1\n // For those on top of the stack and with interaction enabled, the value is 2\n // For the old implementation, it stays the same it was\n let isScreenActive = 1;\n if (index < self.length - activeScreensLimit - 1) {\n // screen should be inactive because it is too deep in the stack\n isScreenActive = STATE_INACTIVE;\n } else {\n const sceneForActivity = scenes[self.length - 1];\n const outputValue = index === self.length - 1 ? STATE_ON_TOP // the screen is on top after the transition\n : index >= self.length - activeScreensLimit ? STATE_TRANSITIONING_OR_BELOW_TOP // the screen should stay active after the transition, it is not on top but is in activeLimit\n : STATE_INACTIVE; // the screen should be active only during the transition, it is at the edge of activeLimit\n isScreenActive = sceneForActivity ? sceneForActivity.progress.current.interpolate({\n inputRange: [0, 1 - EPSILON, 1],\n outputRange: [1, 1, outputValue],\n extrapolate: 'clamp'\n }) : STATE_TRANSITIONING_OR_BELOW_TOP;\n }\n const {\n headerShown = true,\n headerTransparent,\n headerStyle,\n headerTintColor,\n freezeOnBlur\n } = scene.descriptor.options;\n const safeAreaInsetTop = insets.top;\n const safeAreaInsetRight = insets.right;\n const safeAreaInsetBottom = insets.bottom;\n const safeAreaInsetLeft = insets.left;\n const headerHeight = headerShown !== false ? headerHeights[route.key] : 0;\n let headerDarkContent;\n if (headerShown) {\n if (typeof headerTintColor === 'string') {\n headerDarkContent = Color(headerTintColor).isDark();\n } else {\n const flattenedHeaderStyle = StyleSheet.flatten(headerStyle);\n if (flattenedHeaderStyle && 'backgroundColor' in flattenedHeaderStyle && typeof flattenedHeaderStyle.backgroundColor === 'string') {\n headerDarkContent = !Color(flattenedHeaderStyle.backgroundColor).isDark();\n }\n }\n }\n\n // Start from current card and count backwards the number of cards with same interpolation\n const interpolationIndex = getInterpolationIndex(scenes, index);\n const isModal = getIsModal(scene, interpolationIndex, isParentModal);\n const isNextScreenTransparent = ((_scenes = scenes[index + 1]) === null || _scenes === void 0 ? void 0 : _scenes.descriptor.options.presentation) === 'transparentModal';\n const detachCurrentScreen = ((_scenes2 = scenes[index + 1]) === null || _scenes2 === void 0 ? void 0 : _scenes2.descriptor.options.detachPreviousScreen) !== false;\n return /*#__PURE__*/React.createElement(MaybeScreen, {\n key: route.key,\n style: StyleSheet.absoluteFill,\n enabled: detachInactiveScreens,\n active: isScreenActive,\n freezeOnBlur: freezeOnBlur,\n pointerEvents: \"box-none\"\n }, /*#__PURE__*/React.createElement(CardContainer, {\n index: index,\n interpolationIndex: interpolationIndex,\n modal: isModal,\n active: index === self.length - 1,\n focused: focused,\n closing: closingRouteKeys.includes(route.key),\n layout: layout,\n gesture: gesture,\n scene: scene,\n safeAreaInsetTop: safeAreaInsetTop,\n safeAreaInsetRight: safeAreaInsetRight,\n safeAreaInsetBottom: safeAreaInsetBottom,\n safeAreaInsetLeft: safeAreaInsetLeft,\n onGestureStart: onGestureStart,\n onGestureCancel: onGestureCancel,\n onGestureEnd: onGestureEnd,\n headerHeight: headerHeight,\n isParentHeaderShown: isParentHeaderShown,\n onHeaderHeightChange: this.handleHeaderLayout,\n getPreviousScene: this.getPreviousScene,\n getFocusedRoute: this.getFocusedRoute,\n headerDarkContent: headerDarkContent,\n hasAbsoluteFloatHeader: isFloatHeaderAbsolute && !headerTransparent,\n renderHeader: renderHeader,\n renderScene: renderScene,\n onOpenRoute: onOpenRoute,\n onCloseRoute: onCloseRoute,\n onTransitionStart: onTransitionStart,\n onTransitionEnd: onTransitionEnd,\n isNextScreenTransparent: isNextScreenTransparent,\n detachCurrentScreen: detachCurrentScreen\n }));\n })), isFloatHeaderAbsolute ? floatingHeader : null);\n }\n}\nconst styles = StyleSheet.create({\n container: {\n flex: 1\n },\n absolute: {\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0\n },\n floating: {\n zIndex: 1\n }\n});\n//# sourceMappingURL=CardStack.js.map"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f6759251b87097ea445898a1bf8216a1.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f6759251b87097ea445898a1bf8216a1.json new file mode 100644 index 00000000..970a8600 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f6759251b87097ea445898a1bf8216a1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport createElement from \"../createElement\";\nvar ANIMATION_DURATION = 300;\nfunction getAnimationStyle(animationType, visible) {\n if (animationType === 'slide') {\n return visible ? animatedSlideInStyles : animatedSlideOutStyles;\n }\n if (animationType === 'fade') {\n return visible ? animatedFadeInStyles : animatedFadeOutStyles;\n }\n return visible ? styles.container : styles.hidden;\n}\nfunction ModalAnimation(props) {\n var animationType = props.animationType,\n children = props.children,\n onDismiss = props.onDismiss,\n onShow = props.onShow,\n visible = props.visible;\n var _React$useState = React.useState(false),\n isRendering = _React$useState[0],\n setIsRendering = _React$useState[1];\n var wasVisible = React.useRef(false);\n var isAnimated = animationType && animationType !== 'none';\n var animationEndCallback = React.useCallback(function (e) {\n if (e && e.currentTarget !== e.target) {\n return;\n }\n if (visible) {\n if (onShow) {\n onShow();\n }\n } else {\n setIsRendering(false);\n if (onDismiss) {\n onDismiss();\n }\n }\n }, [onDismiss, onShow, visible]);\n React.useEffect(function () {\n if (visible) {\n setIsRendering(true);\n }\n if (visible !== wasVisible.current && !isAnimated) {\n animationEndCallback();\n }\n wasVisible.current = visible;\n }, [isAnimated, visible, animationEndCallback]);\n return isRendering || visible ? createElement('div', {\n style: isRendering ? getAnimationStyle(animationType, visible) : styles.hidden,\n onAnimationEnd: animationEndCallback,\n children: children\n }) : null;\n}\nvar styles = StyleSheet.create({\n container: {\n position: 'fixed',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n zIndex: 9999\n },\n animatedIn: {\n animationDuration: ANIMATION_DURATION + \"ms\",\n animationTimingFunction: 'ease-in'\n },\n animatedOut: {\n pointerEvents: 'none',\n animationDuration: ANIMATION_DURATION + \"ms\",\n animationTimingFunction: 'ease-out'\n },\n fadeIn: {\n opacity: 1,\n animationKeyframes: {\n '0%': {\n opacity: 0\n },\n '100%': {\n opacity: 1\n }\n }\n },\n fadeOut: {\n opacity: 0,\n animationKeyframes: {\n '0%': {\n opacity: 1\n },\n '100%': {\n opacity: 0\n }\n }\n },\n slideIn: {\n transform: [{\n translateY: '0%'\n }],\n animationKeyframes: {\n '0%': {\n transform: [{\n translateY: '100%'\n }]\n },\n '100%': {\n transform: [{\n translateY: '0%'\n }]\n }\n }\n },\n slideOut: {\n transform: [{\n translateY: '100%'\n }],\n animationKeyframes: {\n '0%': {\n transform: [{\n translateY: '0%'\n }]\n },\n '100%': {\n transform: [{\n translateY: '100%'\n }]\n }\n }\n },\n hidden: {\n opacity: 0\n }\n});\nvar animatedSlideInStyles = [styles.container, styles.animatedIn, styles.slideIn];\nvar animatedSlideOutStyles = [styles.container, styles.animatedOut, styles.slideOut];\nvar animatedFadeInStyles = [styles.container, styles.animatedIn, styles.fadeIn];\nvar animatedFadeOutStyles = [styles.container, styles.animatedOut, styles.fadeOut];\nexport default ModalAnimation;","map":{"version":3,"names":["React","StyleSheet","createElement","ANIMATION_DURATION","getAnimationStyle","animationType","visible","animatedSlideInStyles","animatedSlideOutStyles","animatedFadeInStyles","animatedFadeOutStyles","styles","container","hidden","ModalAnimation","props","children","onDismiss","onShow","_React$useState","useState","isRendering","setIsRendering","wasVisible","useRef","isAnimated","animationEndCallback","useCallback","e","currentTarget","target","useEffect","current","style","onAnimationEnd","create","position","top","right","bottom","left","zIndex","animatedIn","animationDuration","animationTimingFunction","animatedOut","pointerEvents","fadeIn","opacity","animationKeyframes","fadeOut","slideIn","transform","translateY","slideOut"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/Modal/ModalAnimation.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport createElement from '../createElement';\nvar ANIMATION_DURATION = 300;\n\nfunction getAnimationStyle(animationType, visible) {\n if (animationType === 'slide') {\n return visible ? animatedSlideInStyles : animatedSlideOutStyles;\n }\n\n if (animationType === 'fade') {\n return visible ? animatedFadeInStyles : animatedFadeOutStyles;\n }\n\n return visible ? styles.container : styles.hidden;\n}\n\nfunction ModalAnimation(props) {\n var animationType = props.animationType,\n children = props.children,\n onDismiss = props.onDismiss,\n onShow = props.onShow,\n visible = props.visible;\n\n var _React$useState = React.useState(false),\n isRendering = _React$useState[0],\n setIsRendering = _React$useState[1];\n\n var wasVisible = React.useRef(false);\n var isAnimated = animationType && animationType !== 'none';\n var animationEndCallback = React.useCallback(e => {\n if (e && e.currentTarget !== e.target) {\n // If the event was generated for something NOT this element we\n // should ignore it as it's not relevant to us\n return;\n }\n\n if (visible) {\n if (onShow) {\n onShow();\n }\n } else {\n setIsRendering(false);\n\n if (onDismiss) {\n onDismiss();\n }\n }\n }, [onDismiss, onShow, visible]);\n React.useEffect(() => {\n if (visible) {\n setIsRendering(true);\n }\n\n if (visible !== wasVisible.current && !isAnimated) {\n // Manually call `animationEndCallback` if no animation is used\n animationEndCallback();\n }\n\n wasVisible.current = visible;\n }, [isAnimated, visible, animationEndCallback]);\n return isRendering || visible ? createElement('div', {\n style: isRendering ? getAnimationStyle(animationType, visible) : styles.hidden,\n onAnimationEnd: animationEndCallback,\n children\n }) : null;\n}\n\nvar styles = StyleSheet.create({\n container: {\n position: 'fixed',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n zIndex: 9999\n },\n animatedIn: {\n animationDuration: ANIMATION_DURATION + \"ms\",\n animationTimingFunction: 'ease-in'\n },\n animatedOut: {\n pointerEvents: 'none',\n animationDuration: ANIMATION_DURATION + \"ms\",\n animationTimingFunction: 'ease-out'\n },\n fadeIn: {\n opacity: 1,\n animationKeyframes: {\n '0%': {\n opacity: 0\n },\n '100%': {\n opacity: 1\n }\n }\n },\n fadeOut: {\n opacity: 0,\n animationKeyframes: {\n '0%': {\n opacity: 1\n },\n '100%': {\n opacity: 0\n }\n }\n },\n slideIn: {\n transform: [{\n translateY: '0%'\n }],\n animationKeyframes: {\n '0%': {\n transform: [{\n translateY: '100%'\n }]\n },\n '100%': {\n transform: [{\n translateY: '0%'\n }]\n }\n }\n },\n slideOut: {\n transform: [{\n translateY: '100%'\n }],\n animationKeyframes: {\n '0%': {\n transform: [{\n translateY: '0%'\n }]\n },\n '100%': {\n transform: [{\n translateY: '100%'\n }]\n }\n }\n },\n hidden: {\n opacity: 0\n }\n});\nvar animatedSlideInStyles = [styles.container, styles.animatedIn, styles.slideIn];\nvar animatedSlideOutStyles = [styles.container, styles.animatedOut, styles.slideOut];\nvar animatedFadeInStyles = [styles.container, styles.animatedIn, styles.fadeIn];\nvar animatedFadeOutStyles = [styles.container, styles.animatedOut, styles.fadeOut];\nexport default ModalAnimation;"],"mappings":"AASA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU;AACjB,OAAOC,aAAa;AACpB,IAAIC,kBAAkB,GAAG,GAAG;AAE5B,SAASC,iBAAiB,CAACC,aAAa,EAAEC,OAAO,EAAE;EACjD,IAAID,aAAa,KAAK,OAAO,EAAE;IAC7B,OAAOC,OAAO,GAAGC,qBAAqB,GAAGC,sBAAsB;EACjE;EAEA,IAAIH,aAAa,KAAK,MAAM,EAAE;IAC5B,OAAOC,OAAO,GAAGG,oBAAoB,GAAGC,qBAAqB;EAC/D;EAEA,OAAOJ,OAAO,GAAGK,MAAM,CAACC,SAAS,GAAGD,MAAM,CAACE,MAAM;AACnD;AAEA,SAASC,cAAc,CAACC,KAAK,EAAE;EAC7B,IAAIV,aAAa,GAAGU,KAAK,CAACV,aAAa;IACnCW,QAAQ,GAAGD,KAAK,CAACC,QAAQ;IACzBC,SAAS,GAAGF,KAAK,CAACE,SAAS;IAC3BC,M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AkB,EAAE;MAClB,IAAI,EAAE;QACJG,SAAS,EAAE,CAAC;UACVC,UAAU,EAAE;QACd,CAAC;MACH,CAAC;MACD,MAAM,EAAE;QACND,SAAS,EAAE,CAAC;UACVC,UAAU,EAAE;QACd,CAAC;MACH;IACF;EACF,CAAC;EACDxC,MAAM,EAAE;IACNmC,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AACF,IAAIzC,qBAAqB,GAAG,CAACI,MAAM,CAACC,SAAS,EAAED,MAAM,CAAC+B,UAAU,EAAE/B,MAAM,CAACwC,OAAO,CAAC;AACjF,IAAI3C,sBAAsB,GAAG,CAACG,MAAM,CAACC,SAAS,EAAED,MAAM,CAACkC,WAAW,EAAElC,MAAM,CAAC2C,QAAQ,CAAC;AACpF,IAAI7C,oBAAoB,GAAG,CAACE,MAAM,CAACC,SAAS,EAAED,MAAM,CAAC+B,UAAU,EAAE/B,MAAM,CAACoC,MAAM,CAAC;AAC/E,IAAIrC,qBAAqB,GAAG,CAACC,MAAM,CAACC,SAAS,EAAED,MAAM,CAACkC,WAAW,EAAElC,MAAM,CAACuC,OAAO,CAAC;AAClF,eAAepC,cAAc"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f84c012192098a86357a6520f1fc03fb.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f84c012192098a86357a6520f1fc03fb.json new file mode 100644 index 00000000..1a5e0e2c --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f84c012192098a86357a6520f1fc03fb.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"style\"];\nimport * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nimport canUseDOM from \"../../modules/canUseDom\";\nvar cssFunction = function () {\n if (canUseDOM && window.CSS && window.CSS.supports && window.CSS.supports('top: constant(safe-area-inset-top)')) {\n return 'constant';\n }\n return 'env';\n}();\nvar SafeAreaView = React.forwardRef(function (props, ref) {\n var style = props.style,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n return React.createElement(View, _extends({}, rest, {\n ref: ref,\n style: StyleSheet.compose(styles.root, style)\n }));\n});\nSafeAreaView.displayName = 'SafeAreaView';\nvar styles = StyleSheet.create({\n root: {\n paddingTop: cssFunction + \"(safe-area-inset-top)\",\n paddingRight: cssFunction + \"(safe-area-inset-right)\",\n paddingBottom: cssFunction + \"(safe-area-inset-bottom)\",\n paddingLeft: cssFunction + \"(safe-area-inset-left)\"\n }\n});\nexport default SafeAreaView;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","StyleSheet","View","canUseDOM","cssFunction","window","CSS","supports","SafeAreaView","forwardRef","props","ref","style","rest","createElement","compose","styles","root","displayName","create","paddingTop","paddingRight","paddingBottom","paddingLeft"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/SafeAreaView/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"style\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nimport canUseDOM from '../../modules/canUseDom';\n\nvar cssFunction = function () {\n if (canUseDOM && window.CSS && window.CSS.supports && window.CSS.supports('top: constant(safe-area-inset-top)')) {\n return 'constant';\n }\n\n return 'env';\n}();\n\nvar SafeAreaView = /*#__PURE__*/React.forwardRef((props, ref) => {\n var style = props.style,\n rest = _objectWithoutPropertiesLoose(props, _excluded);\n\n return /*#__PURE__*/React.createElement(View, _extends({}, rest, {\n ref: ref,\n style: StyleSheet.compose(styles.root, style)\n }));\n});\nSafeAreaView.displayName = 'SafeAreaView';\nvar styles = StyleSheet.create({\n root: {\n paddingTop: cssFunction + \"(safe-area-inset-top)\",\n paddingRight: cssFunction + \"(safe-area-inset-right)\",\n paddingBottom: cssFunction + \"(safe-area-inset-bottom)\",\n paddingLeft: cssFunction + \"(safe-area-inset-left)\"\n }\n});\nexport default SafeAreaView;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,OAAO,CAAC;AAWzB,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU;AACjB,OAAOC,IAAI;AACX,OAAOC,SAAS;AAEhB,IAAIC,WAAW,GAAG,YAAY;EAC5B,IAAID,SAAS,IAAIE,MAAM,CAACC,GAAG,IAAID,MAAM,CAACC,GAAG,CAACC,QAAQ,IAAIF,MAAM,CAACC,GAAG,CAACC,QAAQ,CAAC,oCAAoC,CAAC,EAAE;IAC/G,OAAO,UAAU;EACnB;EAEA,OAAO,KAAK;AACd,CAAC,EAAE;AAEH,IAAIC,YAAY,GAAgBR,KAAK,CAACS,UAAU,CAAC,UAACC,KAAK,EAAEC,GAAG,EAAK;EAC/D,IAAIC,KAAK,GAAGF,KAAK,CAACE,KAAK;IACnBC,IAAI,GAAGf,6BAA6B,CAACY,KAAK,EAAEX,SAAS,CAAC;EAE1D,OAAoBC,KAAK,CAACc,aAAa,CAACZ,IAAI,EAAEL,QAAQ,CAAC,CAAC,CAAC,EAAEgB,IAAI,EAAE;IAC/DF,GAAG,EAAEA,GAAG;IACRC,KAAK,EAAEX,UAAU,CAACc,OAAO,CAACC,MAAM,CAACC,IAAI,EAAEL,KAAK;EAC9C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AACFJ,YAAY,CAACU,WAAW,GAAG,cAAc;AACzC,IAAIF,MAAM,GAAGf,UAAU,CAACkB,MAAM,CAAC;EAC7BF,IAAI,EAAE;IACJG,UAAU,EAAEhB,WAAW,GAAG,uBAAuB;IACjDiB,YAAY,EAAEjB,WAAW,GAAG,yBAAyB;IACrDkB,aAAa,EAAElB,WAAW,GAAG,0BAA0B;IACvDmB,WAAW,EAAEnB,WAAW,GAAG;EAC7B;AACF,CAAC,CAAC;AACF,eAAeI,YAAY"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/f8c190e3fde536dd2f20ae9bde3025b5.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/f8c190e3fde536dd2f20ae9bde3025b5.json new file mode 100644 index 00000000..adba0f8f --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/f8c190e3fde536dd2f20ae9bde3025b5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import createIconSet from \"./lib/create-icon-set\";\nimport glyphMap from \"./glyphmaps/Entypo.json\";\nvar iconSet = createIconSet(glyphMap, 'Entypo', 'Entypo.ttf');\nexport default iconSet;\nvar Button = iconSet.Button,\n getImageSource = iconSet.getImageSource,\n getImageSourceSync = iconSet.getImageSourceSync;\nexport { Button, getImageSource, getImageSourceSync };","map":{"version":3,"names":["createIconSet","glyphMap","iconSet","Button","getImageSource","getImageSourceSync"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-vector-icons/Entypo.js"],"sourcesContent":["/**\n * Entypo icon set component.\n * Usage: \n */\n\nimport createIconSet from './lib/create-icon-set';\nimport glyphMap from './glyphmaps/Entypo.json';\n\nconst iconSet = createIconSet(glyphMap, 'Entypo', 'Entypo.ttf');\n\nexport default iconSet;\nexport const {\n Button,\n getImageSource,\n getImageSourceSync,\n} = iconSet;\n"],"mappings":"AAKA,OAAOA,aAAa;AACpB,OAAOC,QAAQ;AAEf,IAAMC,OAAO,GAAGF,aAAa,CAACC,QAAQ,EAAE,QAAQ,EAAE,YAAY,CAAC;AAE/D,eAAeC,OAAO;AACf,IACLC,MAAM,GAGJD,OAAO,CAHTC,MAAM;EACNC,cAAc,GAEZF,OAAO,CAFTE,cAAc;EACdC,kBAAkB,GAChBH,OAAO,CADTG,kBAAkB;AACR"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/fa7ff1bea7eed5c5f3c52a5052a7ba3f.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/fa7ff1bea7eed5c5f3c52a5052a7ba3f.json new file mode 100644 index 00000000..7fc6c732 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/fa7ff1bea7eed5c5f3c52a5052a7ba3f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { FETCH_WEATHER } from \"../constants\";\nexport var setWeather = function setWeather(weather) {\n return {\n type: FETCH_WEATHER,\n payload: weather\n };\n};","map":{"version":3,"names":["FETCH_WEATHER","setWeather","weather","type","payload"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/setWeather.ts"],"sourcesContent":["import { Weather } from \"../../data/stub\";\nimport { FETCH_WEATHER } from \"../constants\";\n\nexport const setWeather = (weather: Weather | null) => {\n return {\n type: FETCH_WEATHER,\n payload: weather,\n };\n }"],"mappings":"AACA,SAASA,aAAa;AAEtB,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAU,CAAIC,OAAuB,EAAK;EACnD,OAAO;IACLC,IAAI,EAAEH,aAAa;IACnBI,OAAO,EAAEF;EACX,CAAC;AACH,CAAC"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/.expo/web/cache/development/babel-loader/fcb028d9331c9a5c7c9888acf704a706.json b/iut-expo-starter/.expo/web/cache/development/babel-loader/fcb028d9331c9a5c7c9888acf704a706.json new file mode 100644 index 00000000..e8e06480 --- /dev/null +++ b/iut-expo-starter/.expo/web/cache/development/babel-loader/fcb028d9331c9a5c7c9888acf704a706.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"behavior\", \"contentContainerStyle\", \"keyboardVerticalOffset\"];\nimport * as React from 'react';\nimport View from \"../View\";\nvar KeyboardAvoidingView = function (_React$Component) {\n _inherits(KeyboardAvoidingView, _React$Component);\n var _super = _createSuper(KeyboardAvoidingView);\n function KeyboardAvoidingView() {\n var _this;\n _classCallCheck(this, KeyboardAvoidingView);\n _this = _super.apply(this, arguments);\n _this.frame = null;\n _this.onLayout = function (event) {\n _this.frame = event.nativeEvent.layout;\n };\n return _this;\n }\n _createClass(KeyboardAvoidingView, [{\n key: \"relativeKeyboardHeight\",\n value: function relativeKeyboardHeight(keyboardFrame) {\n var frame = this.frame;\n if (!frame || !keyboardFrame) {\n return 0;\n }\n var keyboardY = keyboardFrame.screenY - (this.props.keyboardVerticalOffset || 0);\n return Math.max(frame.y + frame.height - keyboardY, 0);\n }\n }, {\n key: \"onKeyboardChange\",\n value: function onKeyboardChange(event) {}\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n behavior = _this$props.behavior,\n contentContainerStyle = _this$props.contentContainerStyle,\n keyboardVerticalOffset = _this$props.keyboardVerticalOffset,\n rest = _objectWithoutPropertiesLoose(_this$props, _excluded);\n return React.createElement(View, _extends({\n onLayout: this.onLayout\n }, rest));\n }\n }]);\n return KeyboardAvoidingView;\n}(React.Component);\nexport default KeyboardAvoidingView;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","View","KeyboardAvoidingView","arguments","frame","onLayout","event","nativeEvent","layout","keyboardFrame","keyboardY","screenY","props","keyboardVerticalOffset","Math","max","y","height","_this$props","behavior","contentContainerStyle","rest","createElement","Component"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/KeyboardAvoidingView/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"behavior\", \"contentContainerStyle\", \"keyboardVerticalOffset\"];\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport View from '../View';\n\nclass KeyboardAvoidingView extends React.Component {\n constructor() {\n super(...arguments);\n this.frame = null;\n\n this.onLayout = event => {\n this.frame = event.nativeEvent.layout;\n };\n }\n\n relativeKeyboardHeight(keyboardFrame) {\n var frame = this.frame;\n\n if (!frame || !keyboardFrame) {\n return 0;\n }\n\n var keyboardY = keyboardFrame.screenY - (this.props.keyboardVerticalOffset || 0);\n return Math.max(frame.y + frame.height - keyboardY, 0);\n }\n\n onKeyboardChange(event) {}\n\n render() {\n var _this$props = this.props,\n behavior = _this$props.behavior,\n contentContainerStyle = _this$props.contentContainerStyle,\n keyboardVerticalOffset = _this$props.keyboardVerticalOffset,\n rest = _objectWithoutPropertiesLoose(_this$props, _excluded);\n\n return /*#__PURE__*/React.createElement(View, _extends({\n onLayout: this.onLayout\n }, rest));\n }\n\n}\n\nexport default KeyboardAvoidingView;"],"mappings":";;;;;;;AAAA,OAAOA,QAAQ,MAAM,gCAAgC;AACrD,OAAOC,6BAA6B,MAAM,qDAAqD;AAC/F,IAAIC,SAAS,GAAG,CAAC,UAAU,EAAE,uBAAuB,EAAE,wBAAwB,CAAC;AAW/E,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,IAAI;AAAgB,IAErBC,oBAAoB;EAAA;EAAA;EACxB,gCAAc;IAAA;IAAA;IACZ,2BAASC,SAAS;IAClB,MAAKC,KAAK,GAAG,IAAI;IAEjB,MAAKC,QAAQ,GAAG,UAAAC,KAAK,EAAI;MACvB,MAAKF,KAAK,GAAGE,KAAK,CAACC,WAAW,CAACC,MAAM;IACvC,CAAC;IAAC;EACJ;EAAC;IAAA;IAAA,OAED,gCAAuBC,aAAa,EAAE;MACpC,IAAIL,KAAK,GAAG,IAAI,CAACA,KAAK;MAEtB,IAAI,CAACA,KAAK,IAAI,CAACK,aAAa,EAAE;QAC5B,OAAO,CAAC;MACV;MAEA,IAAIC,SAAS,GAAGD,aAAa,CAACE,OAAO,IAAI,IAAI,CAACC,KAAK,CAACC,sBAAsB,IAAI,CAAC,CAAC;MAChF,OAAOC,IAAI,CAACC,GAAG,CAACX,KAAK,CAACY,CAAC,GAAGZ,KAAK,CAACa,MAAM,GAAGP,SAAS,EAAE,CAAC,CAAC;IACxD;EAAC;IAAA;IAAA,OAED,0BAAiBJ,KAAK,EAAE,CAAC;EAAC;IAAA;IAAA,OAE1B,kBAAS;MACP,IAAIY,WAAW,GAAG,IAAI,CAACN,KAAK;QACxBO,QAAQ,GAAGD,WAAW,CAACC,QAAQ;QAC/BC,qBAAqB,GAAGF,WAAW,CAACE,qBAAqB;QACzDP,sBAAsB,GAAGK,WAAW,CAACL,sBAAsB;QAC3DQ,IAAI,GAAGvB,6BAA6B,CAACoB,WAAW,EAAEnB,SAAS,CAAC;MAEhE,OAAoBC,KAAK,CAACsB,aAAa,CAACrB,IAAI,EAAEJ,QAAQ,CAAC;QACrDQ,QAAQ,EAAE,IAAI,CAACA;MACjB,CAAC,EAAEgB,IAAI,CAAC,CAAC;IACX;EAAC;EAAA;AAAA,EAjCgCrB,KAAK,CAACuB,SAAS;AAqClD,eAAerB,oBAAoB"},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/iut-expo-starter/redux/reducers/appReducer.ts b/iut-expo-starter/redux/reducers/appReducer.ts index 84166259..d93b33f3 100644 --- a/iut-expo-starter/redux/reducers/appReducer.ts +++ b/iut-expo-starter/redux/reducers/appReducer.ts @@ -5,7 +5,8 @@ const initialState = { weatherList : [], weatherListSearched : [], favoriteCity: null, - favoriteWeather: null + favoriteWeather: null, + conditionCodes: null } const appReducer = (state = initialState, action) => { diff --git a/iut-expo-starter/screens/Home.tsx b/iut-expo-starter/screens/Home.tsx index 3ab3e7d1..da4f80a1 100644 --- a/iut-expo-starter/screens/Home.tsx +++ b/iut-expo-starter/screens/Home.tsx @@ -42,7 +42,7 @@ export default function Home(navigation){ } else{ return( - Pas de city + Vous n'avez pas ajouté de ville en favoris ) } })()} @@ -60,6 +60,7 @@ const leStyle = StyleSheet.create({ fontStyle: 'italic', fontSize: 10, alignSelf: "center", + alignContent: "center", marginLeft: 7 }, }); \ No newline at end of file