update 341 files

master
mahdi 2 years ago
parent 855c50a2ac
commit c3b405751b
  1. 2
      node_modules/.cache/.eslintcache
  2. 1
      node_modules/.cache/babel-loader/013e6cb12b37564bb11c1eb846d42a5a.json
  3. 1
      node_modules/.cache/babel-loader/070adaaf21b0e21d5f504ba220cd5bbd.json
  4. 1
      node_modules/.cache/babel-loader/0a7007e90400886d168fc80bb46b2625.json
  5. 1
      node_modules/.cache/babel-loader/0f720cda1c24db2f97c86d328fff7be1.json
  6. 1
      node_modules/.cache/babel-loader/19f3e612443249747889ffb6f30cbf9b.json
  7. 1
      node_modules/.cache/babel-loader/1c41e66881cda9ff763577cfe31beefd.json
  8. 1
      node_modules/.cache/babel-loader/1efc42b71e6dfd06d9216622b6cbc382.json
  9. 1
      node_modules/.cache/babel-loader/227b93de62072c45d4bab814263e035a.json
  10. 1
      node_modules/.cache/babel-loader/298d7a25db5ed6d91cff0a6503912722.json
  11. 1
      node_modules/.cache/babel-loader/2e8e39e921f13c577de8564ef535d528.json
  12. 1
      node_modules/.cache/babel-loader/3320b983f7d993d7733de87d4342e606.json
  13. 1
      node_modules/.cache/babel-loader/3710349aaf5681d7650718ee03ae96d9.json
  14. 1
      node_modules/.cache/babel-loader/3db59ef87c4f315e641775f546a86d17.json
  15. 1
      node_modules/.cache/babel-loader/4b5033e91ee58be5ceb246d3e24e7ed8.json
  16. 1
      node_modules/.cache/babel-loader/590125699a7129c2223da91d24117da8.json
  17. 1
      node_modules/.cache/babel-loader/59b0cd31768ff815fe8c188a5f74da2f.json
  18. 1
      node_modules/.cache/babel-loader/59bc87e5b0484046d74ded0d745e2224.json
  19. 1
      node_modules/.cache/babel-loader/59d7319a6a7fc879e2538e7ad34c9edd.json
  20. 1
      node_modules/.cache/babel-loader/5d43e8266164d8093ce71639a1fe4b46.json
  21. 1
      node_modules/.cache/babel-loader/6196de44cb847a24be5a6e7af0af347e.json
  22. 1
      node_modules/.cache/babel-loader/62c9d9866ca8a9bc05c179394cb4f0c9.json
  23. 1
      node_modules/.cache/babel-loader/63448b73eac4190a851fde3e485534ea.json
  24. 1
      node_modules/.cache/babel-loader/68fe53571bc11052c775901e563e42d6.json
  25. 1
      node_modules/.cache/babel-loader/6c87db7d973746923321267e4a53a40d.json
  26. 1
      node_modules/.cache/babel-loader/6d6de09e3598dbb4c6ccbd0c8ab7c58e.json
  27. 1
      node_modules/.cache/babel-loader/6dd653ce5f6a782fbbd62868f0748681.json
  28. 1
      node_modules/.cache/babel-loader/6fd5ec2432d0ad5deb903611af857e3a.json
  29. 1
      node_modules/.cache/babel-loader/728f4a0d2c3c520cc7581196a4661711.json
  30. 1
      node_modules/.cache/babel-loader/809734b177116557cfae860dc8e2c484.json
  31. 1
      node_modules/.cache/babel-loader/81a1b46ee17e938368b9ba823d9506c2.json
  32. 1
      node_modules/.cache/babel-loader/8897148bca3c8dd04b04a2aaa05e6f24.json
  33. 1
      node_modules/.cache/babel-loader/a65a507916bd008920956cf72ad3cb69.json
  34. 1
      node_modules/.cache/babel-loader/aa62abaf8e725cfd49828f41ad29644f.json
  35. 1
      node_modules/.cache/babel-loader/ae09a68b17a453533c1206c1a2c004a4.json
  36. 1
      node_modules/.cache/babel-loader/ae5f567dc3f59be8a2b4299d6236c553.json
  37. 1
      node_modules/.cache/babel-loader/b18a05f81c92daa91f2abf6883d011da.json
  38. 1
      node_modules/.cache/babel-loader/b3ab7418bde5565737ce7d5931474d90.json
  39. 1
      node_modules/.cache/babel-loader/b3af9bba6e6261f48c5a3c481bd255ca.json
  40. 1
      node_modules/.cache/babel-loader/bb2e3140f217d509b472a998fff1647d.json
  41. 1
      node_modules/.cache/babel-loader/bb9048f49fdf8ffde0cb992f4f6facc3.json
  42. 1
      node_modules/.cache/babel-loader/bfed03aaa95c92490c6d67e35a5009a7.json
  43. 1
      node_modules/.cache/babel-loader/c2aee6463ae5daf087bec6adaf8eda27.json
  44. 1
      node_modules/.cache/babel-loader/cd83056f8ff49e64b71df8a20c987653.json
  45. 1
      node_modules/.cache/babel-loader/d57d6110ca4791226bea91d5d270f6d2.json
  46. 1
      node_modules/.cache/babel-loader/d7bc657383febf91d68d2dbdec19c190.json
  47. 1
      node_modules/.cache/babel-loader/d871e53756933f0cd2f6d2f64603ce4c.json
  48. 1
      node_modules/.cache/babel-loader/dce5d83e279e70d0a784ece0f9955a7a.json
  49. 1
      node_modules/.cache/babel-loader/df6db63876087dc81405fd124ac47850.json
  50. 1
      node_modules/.cache/babel-loader/dfb914917da4bc579c5cc3b24f1a844f.json
  51. 1
      node_modules/.cache/babel-loader/e38ed08f023d7de975503cbdff357baf.json
  52. 1
      node_modules/.cache/babel-loader/e57be444ba0cf367457a4a2a552008e7.json
  53. 1
      node_modules/.cache/babel-loader/e67a9ef20e651e76571e235d1593f86f.json
  54. 1
      node_modules/.cache/babel-loader/e9593a35bb799c3569e0c398add284af.json
  55. 1
      node_modules/.cache/babel-loader/f2132439917fe62a65d1b8567c17a9be.json
  56. 1
      node_modules/.cache/babel-loader/f2bfb5419b3d67c4b78ae947097d7d3c.json
  57. 1
      node_modules/.cache/babel-loader/fa29c242d8305a358ece90e78a17ad70.json
  58. 1
      node_modules/.cache/babel-loader/fd074045c4c008550886c8b686a07102.json
  59. 1
      node_modules/.cache/babel-loader/fde76a7fd88c676dfdc665fe6fbb3b0a.json
  60. BIN
      node_modules/.cache/default-development/0.pack
  61. BIN
      node_modules/.cache/default-development/1.pack
  62. BIN
      node_modules/.cache/default-development/2.pack
  63. BIN
      node_modules/.cache/default-development/3.pack
  64. BIN
      node_modules/.cache/default-development/4.pack
  65. BIN
      node_modules/.cache/default-development/5.pack
  66. BIN
      node_modules/.cache/default-development/index.pack
  67. BIN
      node_modules/.cache/default-development/index.pack.old
  68. 10
      node_modules/.yarn-integrity
  69. 33
      node_modules/@react-leaflet/core/LICENSE.md
  70. 3
      node_modules/@react-leaflet/core/README.md
  71. 2
      node_modules/@react-leaflet/core/lib/attribution.d.ts
  72. 18
      node_modules/@react-leaflet/core/lib/attribution.js
  73. 8
      node_modules/@react-leaflet/core/lib/circle.d.ts
  74. 8
      node_modules/@react-leaflet/core/lib/circle.js
  75. 11
      node_modules/@react-leaflet/core/lib/component.d.ts
  76. 44
      node_modules/@react-leaflet/core/lib/component.js
  77. 33
      node_modules/@react-leaflet/core/lib/context.d.ts
  78. 23
      node_modules/@react-leaflet/core/lib/context.js
  79. 3
      node_modules/@react-leaflet/core/lib/control.d.ts
  80. 30
      node_modules/@react-leaflet/core/lib/control.js
  81. 9
      node_modules/@react-leaflet/core/lib/div-overlay.d.ts
  82. 14
      node_modules/@react-leaflet/core/lib/div-overlay.js
  83. 3
      node_modules/@react-leaflet/core/lib/dom.d.ts
  84. 24
      node_modules/@react-leaflet/core/lib/dom.js
  85. 10
      node_modules/@react-leaflet/core/lib/element.d.ts
  86. 31
      node_modules/@react-leaflet/core/lib/element.js
  87. 6
      node_modules/@react-leaflet/core/lib/events.d.ts
  88. 19
      node_modules/@react-leaflet/core/lib/events.js
  89. 17
      node_modules/@react-leaflet/core/lib/generic.d.ts
  90. 34
      node_modules/@react-leaflet/core/lib/generic.js
  91. 2
      node_modules/@react-leaflet/core/lib/grid-layer.d.ts
  92. 9
      node_modules/@react-leaflet/core/lib/grid-layer.js
  93. 15
      node_modules/@react-leaflet/core/lib/index.d.ts
  94. 15
      node_modules/@react-leaflet/core/lib/index.js
  95. 10
      node_modules/@react-leaflet/core/lib/layer.d.ts
  96. 28
      node_modules/@react-leaflet/core/lib/layer.js
  97. 6
      node_modules/@react-leaflet/core/lib/media-overlay.d.ts
  98. 13
      node_modules/@react-leaflet/core/lib/media-overlay.js
  99. 3
      node_modules/@react-leaflet/core/lib/pane.d.ts
  100. 7
      node_modules/@react-leaflet/core/lib/pane.js
  101. Some files were not shown because too many files have changed in this diff Show More

2
node_modules/.cache/.eslintcache generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core';\nimport { CircleMarker as LeafletCircleMarker } from 'leaflet';\nexport const CircleMarker = createPathComponent(function createCircleMarker(_ref, ctx) {\n let {\n center,\n children: _c,\n ...options\n } = _ref;\n const marker = new LeafletCircleMarker(center, options);\n return createElementObject(marker, extendContext(ctx, {\n overlayContainer: marker\n }));\n}, updateCircle);","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","updateCircle","CircleMarker","LeafletCircleMarker","createCircleMarker","ctx","center","children","_c","options","marker","overlayContainer"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/CircleMarker.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core';\nimport { CircleMarker as LeafletCircleMarker } from 'leaflet';\nexport const CircleMarker = createPathComponent(function createCircleMarker({ center , children: _c , ...options }, ctx) {\n const marker = new LeafletCircleMarker(center, options);\n return createElementObject(marker, extendContext(ctx, {\n overlayContainer: marker\n }));\n}, updateCircle);\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,EAAkEC,YAAlE,QAAsF,qBAAtF;AACA,SAASC,YAAY,IAAIC,mBAAzB,QAAoD,SAApD;AACA,OAAO,MAAMD,YAAY,GAAGH,mBAAmB,CAAC,SAASK,kBAAT,OAAoEC,GAApE,EAAyE;EAAA,IAA7C;IAAEC,MAAF;IAAWC,QAAQ,EAAEC,EAArB;IAA0B,GAAGC;EAA7B,CAA6C;EACrH,MAAMC,MAAM,GAAG,IAAIP,mBAAJ,CAAwBG,MAAxB,EAAgCG,OAAhC,CAAf;EACA,OAAOX,mBAAmB,CAACY,MAAD,EAASV,aAAa,CAACK,GAAD,EAAM;IAClDM,gBAAgB,EAAED;EADgC,CAAN,CAAtB,CAA1B;AAGH,CAL8C,EAK5CT,YAL4C,CAAxC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js\";\nimport \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\"; // import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return (\n /*#__PURE__*/\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n _jsxDEV(_Fragment, {\n children: [/*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }, this)]\n }, void 0, true)\n );\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","App"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js"],"sourcesContent":["import \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\";\n// import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nfunction App() {\n return (\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n <>\n <Homepage />\n <LeafletMap />\n {/* <ContactUs /> */}\n </>\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,OAAO,YAAP;AACA,OAAOA,QAAP,MAAqB,uBAArB;AACA,OAAOC,SAAP,MAAsB,wBAAtB;AACA,OAAOC,UAAP,MAAuB,yBAAvB,C,CACA;AACA;;;;;AAEA,SAASC,GAAT,GAAe;EACb;IAAA;IACE;IACA;IACA;IACA;MAAA,wBACE,QAAC,QAAD;QAAA;QAAA;QAAA;MAAA,QADF,eAEE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QAFF;IAAA;EAJF;AAUD;;KAXQA,G;AAaT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"export function updateCircle(layer, props, prevProps) {\n if (props.center !== prevProps.center) {\n layer.setLatLng(props.center);\n }\n\n if (props.radius != null && props.radius !== prevProps.radius) {\n layer.setRadius(props.radius);\n }\n}","map":{"version":3,"names":["updateCircle","layer","props","prevProps","center","setLatLng","radius","setRadius"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/circle.js"],"sourcesContent":["export function updateCircle(layer, props, prevProps) {\n if (props.center !== prevProps.center) {\n layer.setLatLng(props.center);\n }\n if (props.radius != null && props.radius !== prevProps.radius) {\n layer.setRadius(props.radius);\n }\n}\n"],"mappings":"AAAA,OAAO,SAASA,YAAT,CAAsBC,KAAtB,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+C;EAClD,IAAID,KAAK,CAACE,MAAN,KAAiBD,SAAS,CAACC,MAA/B,EAAuC;IACnCH,KAAK,CAACI,SAAN,CAAgBH,KAAK,CAACE,MAAtB;EACH;;EACD,IAAIF,KAAK,CAACI,MAAN,IAAgB,IAAhB,IAAwBJ,KAAK,CAACI,MAAN,KAAiBH,SAAS,CAACG,MAAvD,EAA+D;IAC3DL,KAAK,CAACM,SAAN,CAAgBL,KAAK,CAACI,MAAtB;EACH;AACJ"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"export { useAttribution } from './attribution.js';\nexport { updateCircle } from './circle.js';\nexport { createContainerComponent, createDivOverlayComponent, createLeafComponent } from './component.js';\nexport { CONTEXT_VERSION, LeafletContext, LeafletProvider, createLeafletContext, extendContext, useLeafletContext } from './context.js';\nexport { createControlHook } from './control.js';\nexport { createDivOverlayHook } from './div-overlay.js';\nexport { addClassName, removeClassName, updateClassName } from './dom.js';\nexport { createElementHook, createElementObject } from './element.js';\nexport { useEventHandlers } from './events.js';\nexport { createControlComponent, createLayerComponent, createOverlayComponent, createPathComponent, createTileLayerComponent } from './generic.js';\nexport { updateGridLayer } from './grid-layer.js';\nexport { createLayerHook, useLayerLifecycle } from './layer.js';\nexport { updateMediaOverlay } from './media-overlay.js';\nexport { withPane } from './pane.js';\nexport { createPathHook, usePathOptions } from './path.js';","map":{"version":3,"names":["useAttribution","updateCircle","createContainerComponent","createDivOverlayComponent","createLeafComponent","CONTEXT_VERSION","LeafletContext","LeafletProvider","createLeafletContext","extendContext","useLeafletContext","createControlHook","createDivOverlayHook","addClassName","removeClassName","updateClassName","createElementHook","createElementObject","useEventHandlers","createControlComponent","createLayerComponent","createOverlayComponent","createPathComponent","createTileLayerComponent","updateGridLayer","createLayerHook","useLayerLifecycle","updateMediaOverlay","withPane","createPathHook","usePathOptions"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/index.js"],"sourcesContent":["export { useAttribution } from './attribution.js';\nexport { updateCircle } from './circle.js';\nexport { createContainerComponent, createDivOverlayComponent, createLeafComponent } from './component.js';\nexport { CONTEXT_VERSION, LeafletContext, LeafletProvider, createLeafletContext, extendContext, useLeafletContext } from './context.js';\nexport { createControlHook } from './control.js';\nexport { createDivOverlayHook } from './div-overlay.js';\nexport { addClassName, removeClassName, updateClassName } from './dom.js';\nexport { createElementHook, createElementObject } from './element.js';\nexport { useEventHandlers } from './events.js';\nexport { createControlComponent, createLayerComponent, createOverlayComponent, createPathComponent, createTileLayerComponent } from './generic.js';\nexport { updateGridLayer } from './grid-layer.js';\nexport { createLayerHook, useLayerLifecycle } from './layer.js';\nexport { updateMediaOverlay } from './media-overlay.js';\nexport { withPane } from './pane.js';\nexport { createPathHook, usePathOptions } from './path.js';\n"],"mappings":"AAAA,SAASA,cAAT,QAA+B,kBAA/B;AACA,SAASC,YAAT,QAA6B,aAA7B;AACA,SAASC,wBAAT,EAAmCC,yBAAnC,EAA8DC,mBAA9D,QAAyF,gBAAzF;AACA,SAASC,eAAT,EAA0BC,cAA1B,EAA0CC,eAA1C,EAA2DC,oBAA3D,EAAiFC,aAAjF,EAAgGC,iBAAhG,QAAyH,cAAzH;AACA,SAASC,iBAAT,QAAkC,cAAlC;AACA,SAASC,oBAAT,QAAqC,kBAArC;AACA,SAASC,YAAT,EAAuBC,eAAvB,EAAwCC,eAAxC,QAA+D,UAA/D;AACA,SAASC,iBAAT,EAA4BC,mBAA5B,QAAuD,cAAvD;AACA,SAASC,gBAAT,QAAiC,aAAjC;AACA,SAASC,sBAAT,EAAiCC,oBAAjC,EAAuDC,sBAAvD,EAA+EC,mBAA/E,EAAoGC,wBAApG,QAAoI,cAApI;AACA,SAASC,eAAT,QAAgC,iBAAhC;AACA,SAASC,eAAT,EAA0BC,iBAA1B,QAAmD,YAAnD;AACA,SAASC,kBAAT,QAAmC,oBAAnC;AACA,SAASC,QAAT,QAAyB,WAAzB;AACA,SAASC,cAAT,EAAyBC,cAAzB,QAA+C,WAA/C"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createLayerComponent, extendContext } from '@react-leaflet/core';\nimport { LayerGroup as LeafletLayerGroup } from 'leaflet';\nexport const LayerGroup = createLayerComponent(function createLayerGroup(_ref, ctx) {\n let {\n children: _c,\n ...options\n } = _ref;\n const group = new LeafletLayerGroup([], options);\n return createElementObject(group, extendContext(ctx, {\n layerContainer: group\n }));\n});","map":{"version":3,"names":["createElementObject","createLayerComponent","extendContext","LayerGroup","LeafletLayerGroup","createLayerGroup","ctx","children","_c","options","group","layerContainer"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/LayerGroup.js"],"sourcesContent":["import { createElementObject, createLayerComponent, extendContext } from '@react-leaflet/core';\nimport { LayerGroup as LeafletLayerGroup } from 'leaflet';\nexport const LayerGroup = createLayerComponent(function createLayerGroup({ children: _c , ...options }, ctx) {\n const group = new LeafletLayerGroup([], options);\n return createElementObject(group, extendContext(ctx, {\n layerContainer: group\n }));\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,oBAA9B,EAAoDC,aAApD,QAAyE,qBAAzE;AACA,SAASC,UAAU,IAAIC,iBAAvB,QAAgD,SAAhD;AACA,OAAO,MAAMD,UAAU,GAAGF,oBAAoB,CAAC,SAASI,gBAAT,OAAyDC,GAAzD,EAA8D;EAAA,IAApC;IAAEC,QAAQ,EAAEC,EAAZ;IAAiB,GAAGC;EAApB,CAAoC;EACzG,MAAMC,KAAK,GAAG,IAAIN,iBAAJ,CAAsB,EAAtB,EAA0BK,OAA1B,CAAd;EACA,OAAOT,mBAAmB,CAACU,KAAD,EAAQR,aAAa,CAACI,GAAD,EAAM;IACjDK,cAAc,EAAED;EADiC,CAAN,CAArB,CAA1B;AAGH,CAL6C,CAAvC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createContext, useContext } from 'react';\nexport const CONTEXT_VERSION = 1;\nexport function createLeafletContext(map) {\n return Object.freeze({\n __version: CONTEXT_VERSION,\n map\n });\n}\nexport function extendContext(source, extra) {\n return Object.freeze({ ...source,\n ...extra\n });\n}\nexport const LeafletContext = createContext(null);\nexport const LeafletProvider = LeafletContext.Provider;\nexport function useLeafletContext() {\n const context = useContext(LeafletContext);\n\n if (context == null) {\n throw new Error('No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>');\n }\n\n return context;\n}","map":{"version":3,"names":["createContext","useContext","CONTEXT_VERSION","createLeafletContext","map","Object","freeze","__version","extendContext","source","extra","LeafletContext","LeafletProvider","Provider","useLeafletContext","context","Error"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/context.js"],"sourcesContent":["import { createContext, useContext } from 'react';\nexport const CONTEXT_VERSION = 1;\nexport function createLeafletContext(map) {\n return Object.freeze({\n __version: CONTEXT_VERSION,\n map\n });\n}\nexport function extendContext(source, extra) {\n return Object.freeze({\n ...source,\n ...extra\n });\n}\nexport const LeafletContext = createContext(null);\nexport const LeafletProvider = LeafletContext.Provider;\nexport function useLeafletContext() {\n const context = useContext(LeafletContext);\n if (context == null) {\n throw new Error('No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>');\n }\n return context;\n}\n"],"mappings":"AAAA,SAASA,aAAT,EAAwBC,UAAxB,QAA0C,OAA1C;AACA,OAAO,MAAMC,eAAe,GAAG,CAAxB;AACP,OAAO,SAASC,oBAAT,CAA8BC,GAA9B,EAAmC;EACtC,OAAOC,MAAM,CAACC,MAAP,CAAc;IACjBC,SAAS,EAAEL,eADM;IAEjBE;EAFiB,CAAd,CAAP;AAIH;AACD,OAAO,SAASI,aAAT,CAAuBC,MAAvB,EAA+BC,KAA/B,EAAsC;EACzC,OAAOL,MAAM,CAACC,MAAP,CAAc,EACjB,GAAGG,MADc;IAEjB,GAAGC;EAFc,CAAd,CAAP;AAIH;AACD,OAAO,MAAMC,cAAc,GAAGX,aAAa,CAAC,IAAD,CAApC;AACP,OAAO,MAAMY,eAAe,GAAGD,cAAc,CAACE,QAAvC;AACP,OAAO,SAASC,iBAAT,GAA6B;EAChC,MAAMC,OAAO,GAAGd,UAAU,CAACU,cAAD,CAA1B;;EACA,IAAII,OAAO,IAAI,IAAf,EAAqB;IACjB,MAAM,IAAIC,KAAJ,CAAU,6FAAV,CAAN;EACH;;EACD,OAAOD,OAAP;AACH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core';\nimport { Circle as LeafletCircle } from 'leaflet';\nexport const Circle = createPathComponent(function createCircle(_ref, ctx) {\n let {\n center,\n children: _c,\n ...options\n } = _ref;\n const circle = new LeafletCircle(center, options);\n return createElementObject(circle, extendContext(ctx, {\n overlayContainer: circle\n }));\n}, updateCircle);","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","updateCircle","Circle","LeafletCircle","createCircle","ctx","center","children","_c","options","circle","overlayContainer"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/Circle.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core';\nimport { Circle as LeafletCircle } from 'leaflet';\nexport const Circle = createPathComponent(function createCircle({ center , children: _c , ...options }, ctx) {\n const circle = new LeafletCircle(center, options);\n return createElementObject(circle, extendContext(ctx, {\n overlayContainer: circle\n }));\n}, updateCircle);\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,EAAkEC,YAAlE,QAAsF,qBAAtF;AACA,SAASC,MAAM,IAAIC,aAAnB,QAAwC,SAAxC;AACA,OAAO,MAAMD,MAAM,GAAGH,mBAAmB,CAAC,SAASK,YAAT,OAA8DC,GAA9D,EAAmE;EAAA,IAA7C;IAAEC,MAAF;IAAWC,QAAQ,EAAEC,EAArB;IAA0B,GAAGC;EAA7B,CAA6C;EACzG,MAAMC,MAAM,GAAG,IAAIP,aAAJ,CAAkBG,MAAlB,EAA0BG,OAA1B,CAAf;EACA,OAAOX,mBAAmB,CAACY,MAAD,EAASV,aAAa,CAACK,GAAD,EAAM;IAClDM,gBAAgB,EAAED;EADgC,CAAN,CAAtB,CAA1B;AAGH,CALwC,EAKtCT,YALsC,CAAlC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { Rectangle as LeafletRectangle } from 'leaflet';\nexport const Rectangle = createPathComponent(function createRectangle(_ref, ctx) {\n let {\n bounds,\n ...options\n } = _ref;\n const rectangle = new LeafletRectangle(bounds, options);\n return createElementObject(rectangle, extendContext(ctx, {\n overlayContainer: rectangle\n }));\n}, function updateRectangle(layer, props, prevProps) {\n if (props.bounds !== prevProps.bounds) {\n layer.setBounds(props.bounds);\n }\n});","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","Rectangle","LeafletRectangle","createRectangle","ctx","bounds","options","rectangle","overlayContainer","updateRectangle","layer","props","prevProps","setBounds"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/Rectangle.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { Rectangle as LeafletRectangle } from 'leaflet';\nexport const Rectangle = createPathComponent(function createRectangle({ bounds , ...options }, ctx) {\n const rectangle = new LeafletRectangle(bounds, options);\n return createElementObject(rectangle, extendContext(ctx, {\n overlayContainer: rectangle\n }));\n}, function updateRectangle(layer, props, prevProps) {\n if (props.bounds !== prevProps.bounds) {\n layer.setBounds(props.bounds);\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,QAAwE,qBAAxE;AACA,SAASC,SAAS,IAAIC,gBAAtB,QAA8C,SAA9C;AACA,OAAO,MAAMD,SAAS,GAAGF,mBAAmB,CAAC,SAASI,eAAT,OAAkDC,GAAlD,EAAuD;EAAA,IAA9B;IAAEC,MAAF;IAAW,GAAGC;EAAd,CAA8B;EAChG,MAAMC,SAAS,GAAG,IAAIL,gBAAJ,CAAqBG,MAArB,EAA6BC,OAA7B,CAAlB;EACA,OAAOR,mBAAmB,CAACS,SAAD,EAAYP,aAAa,CAACI,GAAD,EAAM;IACrDI,gBAAgB,EAAED;EADmC,CAAN,CAAzB,CAA1B;AAGH,CAL2C,EAKzC,SAASE,eAAT,CAAyBC,KAAzB,EAAgCC,KAAhC,EAAuCC,SAAvC,EAAkD;EACjD,IAAID,KAAK,CAACN,MAAN,KAAiBO,SAAS,CAACP,MAA/B,EAAuC;IACnCK,KAAK,CAACG,SAAN,CAAgBF,KAAK,CAACN,MAAtB;EACH;AACJ,CAT2C,CAArC"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js\";\nimport \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\"; // import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return (\n /*#__PURE__*/\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n _jsxDEV(_Fragment, {\n children: [/*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this)]\n }, void 0, true)\n );\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","App"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js"],"sourcesContent":["import \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\";\n// import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nfunction App() {\n return (\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n <>\n <Homepage />\n {/* <ContactUs /> */}\n <LeafletMap />\n </>\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,OAAO,YAAP;AACA,OAAOA,QAAP,MAAqB,uBAArB;AACA,OAAOC,SAAP,MAAsB,wBAAtB;AACA,OAAOC,UAAP,MAAuB,yBAAvB,C,CACA;AACA;;;;;AAEA,SAASC,GAAT,GAAe;EACb;IAAA;IACE;IACA;IACA;IACA;MAAA,wBACE,QAAC,QAAD;QAAA;QAAA;QAAA;MAAA,QADF,eAGE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QAHF;IAAA;EAJF;AAUD;;KAXQA,G;AAaT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createLayerComponent, extendContext, updateMediaOverlay } from '@react-leaflet/core';\nimport { ImageOverlay as LeafletImageOverlay } from 'leaflet';\nexport const ImageOverlay = createLayerComponent(function createImageOveraly(_ref, ctx) {\n let {\n bounds,\n url,\n ...options\n } = _ref;\n const overlay = new LeafletImageOverlay(url, bounds, options);\n return createElementObject(overlay, extendContext(ctx, {\n overlayContainer: overlay\n }));\n}, function updateImageOverlay(overlay, props, prevProps) {\n updateMediaOverlay(overlay, props, prevProps);\n\n if (props.url !== prevProps.url) {\n overlay.setUrl(props.url);\n }\n});","map":{"version":3,"names":["createElementObject","createLayerComponent","extendContext","updateMediaOverlay","ImageOverlay","LeafletImageOverlay","createImageOveraly","ctx","bounds","url","options","overlay","overlayContainer","updateImageOverlay","props","prevProps","setUrl"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/ImageOverlay.js"],"sourcesContent":["import { createElementObject, createLayerComponent, extendContext, updateMediaOverlay } from '@react-leaflet/core';\nimport { ImageOverlay as LeafletImageOverlay } from 'leaflet';\nexport const ImageOverlay = createLayerComponent(function createImageOveraly({ bounds , url , ...options }, ctx) {\n const overlay = new LeafletImageOverlay(url, bounds, options);\n return createElementObject(overlay, extendContext(ctx, {\n overlayContainer: overlay\n }));\n}, function updateImageOverlay(overlay, props, prevProps) {\n updateMediaOverlay(overlay, props, prevProps);\n if (props.url !== prevProps.url) {\n overlay.setUrl(props.url);\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,oBAA9B,EAAoDC,aAApD,EAAmEC,kBAAnE,QAA6F,qBAA7F;AACA,SAASC,YAAY,IAAIC,mBAAzB,QAAoD,SAApD;AACA,OAAO,MAAMD,YAAY,GAAGH,oBAAoB,CAAC,SAASK,kBAAT,OAA2DC,GAA3D,EAAgE;EAAA,IAApC;IAAEC,MAAF;IAAWC,GAAX;IAAiB,GAAGC;EAApB,CAAoC;EAC7G,MAAMC,OAAO,GAAG,IAAIN,mBAAJ,CAAwBI,GAAxB,EAA6BD,MAA7B,EAAqCE,OAArC,CAAhB;EACA,OAAOV,mBAAmB,CAACW,OAAD,EAAUT,aAAa,CAACK,GAAD,EAAM;IACnDK,gBAAgB,EAAED;EADiC,CAAN,CAAvB,CAA1B;AAGH,CAL+C,EAK7C,SAASE,kBAAT,CAA4BF,OAA5B,EAAqCG,KAArC,EAA4CC,SAA5C,EAAuD;EACtDZ,kBAAkB,CAACQ,OAAD,EAAUG,KAAV,EAAiBC,SAAjB,CAAlB;;EACA,IAAID,KAAK,CAACL,GAAN,KAAcM,SAAS,CAACN,GAA5B,EAAiC;IAC7BE,OAAO,CAACK,MAAR,CAAeF,KAAK,CAACL,GAArB;EACH;AACJ,CAV+C,CAAzC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { Polyline as LeafletPolyline } from 'leaflet';\nexport const Polyline = createPathComponent(function createPolyline(_ref, ctx) {\n let {\n positions,\n ...options\n } = _ref;\n const polyline = new LeafletPolyline(positions, options);\n return createElementObject(polyline, extendContext(ctx, {\n overlayContainer: polyline\n }));\n}, function updatePolyline(layer, props, prevProps) {\n if (props.positions !== prevProps.positions) {\n layer.setLatLngs(props.positions);\n }\n});","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","Polyline","LeafletPolyline","createPolyline","ctx","positions","options","polyline","overlayContainer","updatePolyline","layer","props","prevProps","setLatLngs"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/Polyline.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { Polyline as LeafletPolyline } from 'leaflet';\nexport const Polyline = createPathComponent(function createPolyline({ positions , ...options }, ctx) {\n const polyline = new LeafletPolyline(positions, options);\n return createElementObject(polyline, extendContext(ctx, {\n overlayContainer: polyline\n }));\n}, function updatePolyline(layer, props, prevProps) {\n if (props.positions !== prevProps.positions) {\n layer.setLatLngs(props.positions);\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,QAAwE,qBAAxE;AACA,SAASC,QAAQ,IAAIC,eAArB,QAA4C,SAA5C;AACA,OAAO,MAAMD,QAAQ,GAAGF,mBAAmB,CAAC,SAASI,cAAT,OAAoDC,GAApD,EAAyD;EAAA,IAAjC;IAAEC,SAAF;IAAc,GAAGC;EAAjB,CAAiC;EACjG,MAAMC,QAAQ,GAAG,IAAIL,eAAJ,CAAoBG,SAApB,EAA+BC,OAA/B,CAAjB;EACA,OAAOR,mBAAmB,CAACS,QAAD,EAAWP,aAAa,CAACI,GAAD,EAAM;IACpDI,gBAAgB,EAAED;EADkC,CAAN,CAAxB,CAA1B;AAGH,CAL0C,EAKxC,SAASE,cAAT,CAAwBC,KAAxB,EAA+BC,KAA/B,EAAsCC,SAAtC,EAAiD;EAChD,IAAID,KAAK,CAACN,SAAN,KAAoBO,SAAS,CAACP,SAAlC,EAA6C;IACzCK,KAAK,CAACG,UAAN,CAAiBF,KAAK,CAACN,SAAvB;EACH;AACJ,CAT0C,CAApC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"export function withPane(props, context) {\n const pane = props.pane ?? context.pane;\n return pane ? { ...props,\n pane\n } : props;\n}","map":{"version":3,"names":["withPane","props","context","pane"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/pane.js"],"sourcesContent":["export function withPane(props, context) {\n const pane = props.pane ?? context.pane;\n return pane ? {\n ...props,\n pane\n } : props;\n}\n"],"mappings":"AAAA,OAAO,SAASA,QAAT,CAAkBC,KAAlB,EAAyBC,OAAzB,EAAkC;EACrC,MAAMC,IAAI,GAAGF,KAAK,CAACE,IAAN,IAAcD,OAAO,CAACC,IAAnC;EACA,OAAOA,IAAI,GAAG,EACV,GAAGF,KADO;IAEVE;EAFU,CAAH,GAGPF,KAHJ;AAIH"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementHook, createElementObject, createLayerHook, updateMediaOverlay } from '@react-leaflet/core';\nimport { SVGOverlay as LeafletSVGOverlay } from 'leaflet';\nimport { forwardRef, useImperativeHandle } from 'react';\nimport { createPortal } from 'react-dom';\nexport const useSVGOverlayElement = createElementHook(function createSVGOverlay(props, context) {\n const {\n attributes,\n bounds,\n ...options\n } = props;\n const container = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n container.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\n if (attributes != null) {\n Object.keys(attributes).forEach(name => {\n container.setAttribute(name, attributes[name]);\n });\n }\n\n const overlay = new LeafletSVGOverlay(container, bounds, options);\n return createElementObject(overlay, context, container);\n}, updateMediaOverlay);\nexport const useSVGOverlay = createLayerHook(useSVGOverlayElement);\n\nfunction SVGOverlayComponent(_ref, forwardedRef) {\n let {\n children,\n ...options\n } = _ref;\n const {\n instance,\n container\n } = useSVGOverlay(options).current;\n useImperativeHandle(forwardedRef, () => instance);\n return container == null || children == null ? null : /*#__PURE__*/createPortal(children, container);\n}\n\nexport const SVGOverlay = /*#__PURE__*/forwardRef(SVGOverlayComponent);","map":{"version":3,"names":["createElementHook","createElementObject","createLayerHook","updateMediaOverlay","SVGOverlay","LeafletSVGOverlay","forwardRef","useImperativeHandle","createPortal","useSVGOverlayElement","createSVGOverlay","props","context","attributes","bounds","options","container","document","createElementNS","setAttribute","Object","keys","forEach","name","overlay","useSVGOverlay","SVGOverlayComponent","forwardedRef","children","instance","current"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/SVGOverlay.js"],"sourcesContent":["import { createElementHook, createElementObject, createLayerHook, updateMediaOverlay } from '@react-leaflet/core';\nimport { SVGOverlay as LeafletSVGOverlay } from 'leaflet';\nimport { forwardRef, useImperativeHandle } from 'react';\nimport { createPortal } from 'react-dom';\nexport const useSVGOverlayElement = createElementHook(function createSVGOverlay(props, context) {\n const { attributes , bounds , ...options } = props;\n const container = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n container.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n if (attributes != null) {\n Object.keys(attributes).forEach((name)=>{\n container.setAttribute(name, attributes[name]);\n });\n }\n const overlay = new LeafletSVGOverlay(container, bounds, options);\n return createElementObject(overlay, context, container);\n}, updateMediaOverlay);\nexport const useSVGOverlay = createLayerHook(useSVGOverlayElement);\nfunction SVGOverlayComponent({ children , ...options }, forwardedRef) {\n const { instance , container } = useSVGOverlay(options).current;\n useImperativeHandle(forwardedRef, ()=>instance);\n return container == null || children == null ? null : /*#__PURE__*/ createPortal(children, container);\n}\nexport const SVGOverlay = /*#__PURE__*/ forwardRef(SVGOverlayComponent);\n"],"mappings":"AAAA,SAASA,iBAAT,EAA4BC,mBAA5B,EAAiDC,eAAjD,EAAkEC,kBAAlE,QAA4F,qBAA5F;AACA,SAASC,UAAU,IAAIC,iBAAvB,QAAgD,SAAhD;AACA,SAASC,UAAT,EAAqBC,mBAArB,QAAgD,OAAhD;AACA,SAASC,YAAT,QAA6B,WAA7B;AACA,OAAO,MAAMC,oBAAoB,GAAGT,iBAAiB,CAAC,SAASU,gBAAT,CAA0BC,KAA1B,EAAiCC,OAAjC,EAA0C;EAC5F,MAAM;IAAEC,UAAF;IAAeC,MAAf;IAAwB,GAAGC;EAA3B,IAAuCJ,KAA7C;EACA,MAAMK,SAAS,GAAGC,QAAQ,CAACC,eAAT,CAAyB,4BAAzB,EAAuD,KAAvD,CAAlB;EACAF,SAAS,CAACG,YAAV,CAAuB,OAAvB,EAAgC,4BAAhC;;EACA,IAAIN,UAAU,IAAI,IAAlB,EAAwB;IACpBO,MAAM,CAACC,IAAP,CAAYR,UAAZ,EAAwBS,OAAxB,CAAiCC,IAAD,IAAQ;MACpCP,SAAS,CAACG,YAAV,CAAuBI,IAAvB,EAA6BV,UAAU,CAACU,IAAD,CAAvC;IACH,CAFD;EAGH;;EACD,MAAMC,OAAO,GAAG,IAAInB,iBAAJ,CAAsBW,SAAtB,EAAiCF,MAAjC,EAAyCC,OAAzC,CAAhB;EACA,OAAOd,mBAAmB,CAACuB,OAAD,EAAUZ,OAAV,EAAmBI,SAAnB,CAA1B;AACH,CAXoD,EAWlDb,kBAXkD,CAA9C;AAYP,OAAO,MAAMsB,aAAa,GAAGvB,eAAe,CAACO,oBAAD,CAArC;;AACP,SAASiB,mBAAT,OAAwDC,YAAxD,EAAsE;EAAA,IAAzC;IAAEC,QAAF;IAAa,GAAGb;EAAhB,CAAyC;EAClE,MAAM;IAAEc,QAAF;IAAab;EAAb,IAA4BS,aAAa,CAACV,OAAD,CAAb,CAAuBe,OAAzD;EACAvB,mBAAmB,CAACoB,YAAD,EAAe,MAAIE,QAAnB,CAAnB;EACA,OAAOb,SAAS,IAAI,IAAb,IAAqBY,QAAQ,IAAI,IAAjC,GAAwC,IAAxC,GAA+C,aAAcpB,YAAY,CAACoB,QAAD,EAAWZ,SAAX,CAAhF;AACH;;AACD,OAAO,MAAMZ,UAAU,GAAG,aAAcE,UAAU,CAACoB,mBAAD,CAA3C"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createTileLayerComponent, updateGridLayer, withPane } from '@react-leaflet/core';\nimport { TileLayer as LeafletTileLayer } from 'leaflet';\nexport const TileLayer = createTileLayerComponent(function createTileLayer(_ref, context) {\n let {\n url,\n ...options\n } = _ref;\n const layer = new LeafletTileLayer(url, withPane(options, context));\n return createElementObject(layer, context);\n}, updateGridLayer);","map":{"version":3,"names":["createElementObject","createTileLayerComponent","updateGridLayer","withPane","TileLayer","LeafletTileLayer","createTileLayer","context","url","options","layer"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/TileLayer.js"],"sourcesContent":["import { createElementObject, createTileLayerComponent, updateGridLayer, withPane } from '@react-leaflet/core';\nimport { TileLayer as LeafletTileLayer } from 'leaflet';\nexport const TileLayer = createTileLayerComponent(function createTileLayer({ url , ...options }, context) {\n const layer = new LeafletTileLayer(url, withPane(options, context));\n return createElementObject(layer, context);\n}, updateGridLayer);\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,wBAA9B,EAAwDC,eAAxD,EAAyEC,QAAzE,QAAyF,qBAAzF;AACA,SAASC,SAAS,IAAIC,gBAAtB,QAA8C,SAA9C;AACA,OAAO,MAAMD,SAAS,GAAGH,wBAAwB,CAAC,SAASK,eAAT,OAA+CC,OAA/C,EAAwD;EAAA,IAA/B;IAAEC,GAAF;IAAQ,GAAGC;EAAX,CAA+B;EACtG,MAAMC,KAAK,GAAG,IAAIL,gBAAJ,CAAqBG,GAArB,EAA0BL,QAAQ,CAACM,OAAD,EAAUF,OAAV,CAAlC,CAAd;EACA,OAAOP,mBAAmB,CAACU,KAAD,EAAQH,OAAR,CAA1B;AACH,CAHgD,EAG9CL,eAH8C,CAA1C"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createTileLayerComponent, updateGridLayer, withPane } from '@react-leaflet/core';\nimport { TileLayer } from 'leaflet';\nexport const WMSTileLayer = createTileLayerComponent(function createWMSTileLayer(_ref, context) {\n let {\n params = {},\n url,\n ...options\n } = _ref;\n const layer = new TileLayer.WMS(url, { ...params,\n ...withPane(options, context)\n });\n return createElementObject(layer, context);\n}, function updateWMSTileLayer(layer, props, prevProps) {\n updateGridLayer(layer, props, prevProps);\n\n if (props.params != null && props.params !== prevProps.params) {\n layer.setParams(props.params);\n }\n});","map":{"version":3,"names":["createElementObject","createTileLayerComponent","updateGridLayer","withPane","TileLayer","WMSTileLayer","createWMSTileLayer","context","params","url","options","layer","WMS","updateWMSTileLayer","props","prevProps","setParams"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/WMSTileLayer.js"],"sourcesContent":["import { createElementObject, createTileLayerComponent, updateGridLayer, withPane } from '@react-leaflet/core';\nimport { TileLayer } from 'leaflet';\nexport const WMSTileLayer = createTileLayerComponent(function createWMSTileLayer({ params ={} , url , ...options }, context) {\n const layer = new TileLayer.WMS(url, {\n ...params,\n ...withPane(options, context)\n });\n return createElementObject(layer, context);\n}, function updateWMSTileLayer(layer, props, prevProps) {\n updateGridLayer(layer, props, prevProps);\n if (props.params != null && props.params !== prevProps.params) {\n layer.setParams(props.params);\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,wBAA9B,EAAwDC,eAAxD,EAAyEC,QAAzE,QAAyF,qBAAzF;AACA,SAASC,SAAT,QAA0B,SAA1B;AACA,OAAO,MAAMC,YAAY,GAAGJ,wBAAwB,CAAC,SAASK,kBAAT,OAA+DC,OAA/D,EAAwE;EAAA,IAA5C;IAAEC,MAAM,GAAE,EAAV;IAAeC,GAAf;IAAqB,GAAGC;EAAxB,CAA4C;EACzH,MAAMC,KAAK,GAAG,IAAIP,SAAS,CAACQ,GAAd,CAAkBH,GAAlB,EAAuB,EACjC,GAAGD,MAD8B;IAEjC,GAAGL,QAAQ,CAACO,OAAD,EAAUH,OAAV;EAFsB,CAAvB,CAAd;EAIA,OAAOP,mBAAmB,CAACW,KAAD,EAAQJ,OAAR,CAA1B;AACH,CANmD,EAMjD,SAASM,kBAAT,CAA4BF,KAA5B,EAAmCG,KAAnC,EAA0CC,SAA1C,EAAqD;EACpDb,eAAe,CAACS,KAAD,EAAQG,KAAR,EAAeC,SAAf,CAAf;;EACA,IAAID,KAAK,CAACN,MAAN,IAAgB,IAAhB,IAAwBM,KAAK,CAACN,MAAN,KAAiBO,SAAS,CAACP,MAAvD,EAA+D;IAC3DG,KAAK,CAACK,SAAN,CAAgBF,KAAK,CAACN,MAAtB;EACH;AACJ,CAXmD,CAA7C"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createControlComponent } from '@react-leaflet/core';\nimport { Control } from 'leaflet';\nexport const AttributionControl = createControlComponent(function createAttributionControl(props) {\n return new Control.Attribution(props);\n});","map":{"version":3,"names":["createControlComponent","Control","AttributionControl","createAttributionControl","props","Attribution"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/AttributionControl.js"],"sourcesContent":["import { createControlComponent } from '@react-leaflet/core';\nimport { Control } from 'leaflet';\nexport const AttributionControl = createControlComponent(function createAttributionControl(props) {\n return new Control.Attribution(props);\n});\n"],"mappings":"AAAA,SAASA,sBAAT,QAAuC,qBAAvC;AACA,SAASC,OAAT,QAAwB,SAAxB;AACA,OAAO,MAAMC,kBAAkB,GAAGF,sBAAsB,CAAC,SAASG,wBAAT,CAAkCC,KAAlC,EAAyC;EAC9F,OAAO,IAAIH,OAAO,CAACI,WAAZ,CAAwBD,KAAxB,CAAP;AACH,CAFuD,CAAjD"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { FeatureGroup as LeafletFeatureGroup } from 'leaflet';\nexport const FeatureGroup = createPathComponent(function createFeatureGroup(_ref, ctx) {\n let {\n children: _c,\n ...options\n } = _ref;\n const group = new LeafletFeatureGroup([], options);\n return createElementObject(group, extendContext(ctx, {\n layerContainer: group,\n overlayContainer: group\n }));\n});","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","FeatureGroup","LeafletFeatureGroup","createFeatureGroup","ctx","children","_c","options","group","layerContainer","overlayContainer"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/FeatureGroup.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { FeatureGroup as LeafletFeatureGroup } from 'leaflet';\nexport const FeatureGroup = createPathComponent(function createFeatureGroup({ children: _c , ...options }, ctx) {\n const group = new LeafletFeatureGroup([], options);\n return createElementObject(group, extendContext(ctx, {\n layerContainer: group,\n overlayContainer: group\n }));\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,QAAwE,qBAAxE;AACA,SAASC,YAAY,IAAIC,mBAAzB,QAAoD,SAApD;AACA,OAAO,MAAMD,YAAY,GAAGF,mBAAmB,CAAC,SAASI,kBAAT,OAA2DC,GAA3D,EAAgE;EAAA,IAApC;IAAEC,QAAQ,EAAEC,EAAZ;IAAiB,GAAGC;EAApB,CAAoC;EAC5G,MAAMC,KAAK,GAAG,IAAIN,mBAAJ,CAAwB,EAAxB,EAA4BK,OAA5B,CAAd;EACA,OAAOT,mBAAmB,CAACU,KAAD,EAAQR,aAAa,CAACI,GAAD,EAAM;IACjDK,cAAc,EAAED,KADiC;IAEjDE,gBAAgB,EAAEF;EAF+B,CAAN,CAArB,CAA1B;AAIH,CAN8C,CAAxC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { useEffect, useRef } from 'react';\nimport { useLeafletContext } from './context.js';\nimport { useEventHandlers } from './events.js';\nimport { useLayerLifecycle } from './layer.js';\nimport { withPane } from './pane.js';\nexport function usePathOptions(element, props) {\n const optionsRef = useRef();\n useEffect(function updatePathOptions() {\n if (props.pathOptions !== optionsRef.current) {\n const options = props.pathOptions ?? {};\n element.instance.setStyle(options);\n optionsRef.current = options;\n }\n }, [element, props]);\n}\nexport function createPathHook(useElement) {\n return function usePath(props) {\n const context = useLeafletContext();\n const elementRef = useElement(withPane(props, context), context);\n useEventHandlers(elementRef.current, props.eventHandlers);\n useLayerLifecycle(elementRef.current, context);\n usePathOptions(elementRef.current, props);\n return elementRef;\n };\n}","map":{"version":3,"names":["useEffect","useRef","useLeafletContext","useEventHandlers","useLayerLifecycle","withPane","usePathOptions","element","props","optionsRef","updatePathOptions","pathOptions","current","options","instance","setStyle","createPathHook","useElement","usePath","context","elementRef","eventHandlers"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/path.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nimport { useLeafletContext } from './context.js';\nimport { useEventHandlers } from './events.js';\nimport { useLayerLifecycle } from './layer.js';\nimport { withPane } from './pane.js';\nexport function usePathOptions(element, props) {\n const optionsRef = useRef();\n useEffect(function updatePathOptions() {\n if (props.pathOptions !== optionsRef.current) {\n const options = props.pathOptions ?? {};\n element.instance.setStyle(options);\n optionsRef.current = options;\n }\n }, [\n element,\n props\n ]);\n}\nexport function createPathHook(useElement) {\n return function usePath(props) {\n const context = useLeafletContext();\n const elementRef = useElement(withPane(props, context), context);\n useEventHandlers(elementRef.current, props.eventHandlers);\n useLayerLifecycle(elementRef.current, context);\n usePathOptions(elementRef.current, props);\n return elementRef;\n };\n}\n"],"mappings":"AAAA,SAASA,SAAT,EAAoBC,MAApB,QAAkC,OAAlC;AACA,SAASC,iBAAT,QAAkC,cAAlC;AACA,SAASC,gBAAT,QAAiC,aAAjC;AACA,SAASC,iBAAT,QAAkC,YAAlC;AACA,SAASC,QAAT,QAAyB,WAAzB;AACA,OAAO,SAASC,cAAT,CAAwBC,OAAxB,EAAiCC,KAAjC,EAAwC;EAC3C,MAAMC,UAAU,GAAGR,MAAM,EAAzB;EACAD,SAAS,CAAC,SAASU,iBAAT,GAA6B;IACnC,IAAIF,KAAK,CAACG,WAAN,KAAsBF,UAAU,CAACG,OAArC,EAA8C;MAC1C,MAAMC,OAAO,GAAGL,KAAK,CAACG,WAAN,IAAqB,EAArC;MACAJ,OAAO,CAACO,QAAR,CAAiBC,QAAjB,CAA0BF,OAA1B;MACAJ,UAAU,CAACG,OAAX,GAAqBC,OAArB;IACH;EACJ,CANQ,EAMN,CACCN,OADD,EAECC,KAFD,CANM,CAAT;AAUH;AACD,OAAO,SAASQ,cAAT,CAAwBC,UAAxB,EAAoC;EACvC,OAAO,SAASC,OAAT,CAAiBV,KAAjB,EAAwB;IAC3B,MAAMW,OAAO,GAAGjB,iBAAiB,EAAjC;IACA,MAAMkB,UAAU,GAAGH,UAAU,CAACZ,QAAQ,CAACG,KAAD,EAAQW,OAAR,CAAT,EAA2BA,OAA3B,CAA7B;IACAhB,gBAAgB,CAACiB,UAAU,CAACR,OAAZ,EAAqBJ,KAAK,CAACa,aAA3B,CAAhB;IACAjB,iBAAiB,CAACgB,UAAU,CAACR,OAAZ,EAAqBO,OAArB,CAAjB;IACAb,cAAc,CAACc,UAAU,CAACR,OAAZ,EAAqBJ,KAArB,CAAd;IACA,OAAOY,UAAP;EACH,CAPD;AAQH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createLayerComponent, extendContext } from '@react-leaflet/core';\nimport { Marker as LeafletMarker } from 'leaflet';\nexport const Marker = createLayerComponent(function createMarker(_ref, ctx) {\n let {\n position,\n ...options\n } = _ref;\n const marker = new LeafletMarker(position, options);\n return createElementObject(marker, extendContext(ctx, {\n overlayContainer: marker\n }));\n}, function updateMarker(marker, props, prevProps) {\n if (props.position !== prevProps.position) {\n marker.setLatLng(props.position);\n }\n\n if (props.icon != null && props.icon !== prevProps.icon) {\n marker.setIcon(props.icon);\n }\n\n if (props.zIndexOffset != null && props.zIndexOffset !== prevProps.zIndexOffset) {\n marker.setZIndexOffset(props.zIndexOffset);\n }\n\n if (props.opacity != null && props.opacity !== prevProps.opacity) {\n marker.setOpacity(props.opacity);\n }\n\n if (marker.dragging != null && props.draggable !== prevProps.draggable) {\n if (props.draggable === true) {\n marker.dragging.enable();\n } else {\n marker.dragging.disable();\n }\n }\n});","map":{"version":3,"names":["createElementObject","createLayerComponent","extendContext","Marker","LeafletMarker","createMarker","ctx","position","options","marker","overlayContainer","updateMarker","props","prevProps","setLatLng","icon","setIcon","zIndexOffset","setZIndexOffset","opacity","setOpacity","dragging","draggable","enable","disable"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/Marker.js"],"sourcesContent":["import { createElementObject, createLayerComponent, extendContext } from '@react-leaflet/core';\nimport { Marker as LeafletMarker } from 'leaflet';\nexport const Marker = createLayerComponent(function createMarker({ position , ...options }, ctx) {\n const marker = new LeafletMarker(position, options);\n return createElementObject(marker, extendContext(ctx, {\n overlayContainer: marker\n }));\n}, function updateMarker(marker, props, prevProps) {\n if (props.position !== prevProps.position) {\n marker.setLatLng(props.position);\n }\n if (props.icon != null && props.icon !== prevProps.icon) {\n marker.setIcon(props.icon);\n }\n if (props.zIndexOffset != null && props.zIndexOffset !== prevProps.zIndexOffset) {\n marker.setZIndexOffset(props.zIndexOffset);\n }\n if (props.opacity != null && props.opacity !== prevProps.opacity) {\n marker.setOpacity(props.opacity);\n }\n if (marker.dragging != null && props.draggable !== prevProps.draggable) {\n if (props.draggable === true) {\n marker.dragging.enable();\n } else {\n marker.dragging.disable();\n }\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,oBAA9B,EAAoDC,aAApD,QAAyE,qBAAzE;AACA,SAASC,MAAM,IAAIC,aAAnB,QAAwC,SAAxC;AACA,OAAO,MAAMD,MAAM,GAAGF,oBAAoB,CAAC,SAASI,YAAT,OAAiDC,GAAjD,EAAsD;EAAA,IAAhC;IAAEC,QAAF;IAAa,GAAGC;EAAhB,CAAgC;EAC7F,MAAMC,MAAM,GAAG,IAAIL,aAAJ,CAAkBG,QAAlB,EAA4BC,OAA5B,CAAf;EACA,OAAOR,mBAAmB,CAACS,MAAD,EAASP,aAAa,CAACI,GAAD,EAAM;IAClDI,gBAAgB,EAAED;EADgC,CAAN,CAAtB,CAA1B;AAGH,CALyC,EAKvC,SAASE,YAAT,CAAsBF,MAAtB,EAA8BG,KAA9B,EAAqCC,SAArC,EAAgD;EAC/C,IAAID,KAAK,CAACL,QAAN,KAAmBM,SAAS,CAACN,QAAjC,EAA2C;IACvCE,MAAM,CAACK,SAAP,CAAiBF,KAAK,CAACL,QAAvB;EACH;;EACD,IAAIK,KAAK,CAACG,IAAN,IAAc,IAAd,IAAsBH,KAAK,CAACG,IAAN,KAAeF,SAAS,CAACE,IAAnD,EAAyD;IACrDN,MAAM,CAACO,OAAP,CAAeJ,KAAK,CAACG,IAArB;EACH;;EACD,IAAIH,KAAK,CAACK,YAAN,IAAsB,IAAtB,IAA8BL,KAAK,CAACK,YAAN,KAAuBJ,SAAS,CAACI,YAAnE,EAAiF;IAC7ER,MAAM,CAACS,eAAP,CAAuBN,KAAK,CAACK,YAA7B;EACH;;EACD,IAAIL,KAAK,CAACO,OAAN,IAAiB,IAAjB,IAAyBP,KAAK,CAACO,OAAN,KAAkBN,SAAS,CAACM,OAAzD,EAAkE;IAC9DV,MAAM,CAACW,UAAP,CAAkBR,KAAK,CAACO,OAAxB;EACH;;EACD,IAAIV,MAAM,CAACY,QAAP,IAAmB,IAAnB,IAA2BT,KAAK,CAACU,SAAN,KAAoBT,SAAS,CAACS,SAA7D,EAAwE;IACpE,IAAIV,KAAK,CAACU,SAAN,KAAoB,IAAxB,EAA8B;MAC1Bb,MAAM,CAACY,QAAP,CAAgBE,MAAhB;IACH,CAFD,MAEO;MACHd,MAAM,CAACY,QAAP,CAAgBG,OAAhB;IACH;EACJ;AACJ,CAzByC,CAAnC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { GeoJSON as LeafletGeoJSON } from 'leaflet';\nexport const GeoJSON = createPathComponent(function createGeoJSON(_ref, ctx) {\n let {\n data,\n ...options\n } = _ref;\n const geoJSON = new LeafletGeoJSON(data, options);\n return createElementObject(geoJSON, extendContext(ctx, {\n overlayContainer: geoJSON\n }));\n}, function updateGeoJSON(layer, props, prevProps) {\n if (props.style !== prevProps.style) {\n if (props.style == null) {\n layer.resetStyle();\n } else {\n layer.setStyle(props.style);\n }\n }\n});","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","GeoJSON","LeafletGeoJSON","createGeoJSON","ctx","data","options","geoJSON","overlayContainer","updateGeoJSON","layer","props","prevProps","style","resetStyle","setStyle"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/GeoJSON.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { GeoJSON as LeafletGeoJSON } from 'leaflet';\nexport const GeoJSON = createPathComponent(function createGeoJSON({ data , ...options }, ctx) {\n const geoJSON = new LeafletGeoJSON(data, options);\n return createElementObject(geoJSON, extendContext(ctx, {\n overlayContainer: geoJSON\n }));\n}, function updateGeoJSON(layer, props, prevProps) {\n if (props.style !== prevProps.style) {\n if (props.style == null) {\n layer.resetStyle();\n } else {\n layer.setStyle(props.style);\n }\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,QAAwE,qBAAxE;AACA,SAASC,OAAO,IAAIC,cAApB,QAA0C,SAA1C;AACA,OAAO,MAAMD,OAAO,GAAGF,mBAAmB,CAAC,SAASI,aAAT,OAA8CC,GAA9C,EAAmD;EAAA,IAA5B;IAAEC,IAAF;IAAS,GAAGC;EAAZ,CAA4B;EAC1F,MAAMC,OAAO,GAAG,IAAIL,cAAJ,CAAmBG,IAAnB,EAAyBC,OAAzB,CAAhB;EACA,OAAOR,mBAAmB,CAACS,OAAD,EAAUP,aAAa,CAACI,GAAD,EAAM;IACnDI,gBAAgB,EAAED;EADiC,CAAN,CAAvB,CAA1B;AAGH,CALyC,EAKvC,SAASE,aAAT,CAAuBC,KAAvB,EAA8BC,KAA9B,EAAqCC,SAArC,EAAgD;EAC/C,IAAID,KAAK,CAACE,KAAN,KAAgBD,SAAS,CAACC,KAA9B,EAAqC;IACjC,IAAIF,KAAK,CAACE,KAAN,IAAe,IAAnB,EAAyB;MACrBH,KAAK,CAACI,UAAN;IACH,CAFD,MAEO;MACHJ,KAAK,CAACK,QAAN,CAAeJ,KAAK,CAACE,KAArB;IACH;EACJ;AACJ,CAbyC,CAAnC"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { createControlComponent } from '@react-leaflet/core';\nimport { Control } from 'leaflet';\nexport const ScaleControl = createControlComponent(function createScaleControl(props) {\n return new Control.Scale(props);\n});","map":{"version":3,"names":["createControlComponent","Control","ScaleControl","createScaleControl","props","Scale"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/ScaleControl.js"],"sourcesContent":["import { createControlComponent } from '@react-leaflet/core';\nimport { Control } from 'leaflet';\nexport const ScaleControl = createControlComponent(function createScaleControl(props) {\n return new Control.Scale(props);\n});\n"],"mappings":"AAAA,SAASA,sBAAT,QAAuC,qBAAvC;AACA,SAASC,OAAT,QAAwB,SAAxB;AACA,OAAO,MAAMC,YAAY,GAAGF,sBAAsB,CAAC,SAASG,kBAAT,CAA4BC,KAA5B,EAAmC;EAClF,OAAO,IAAIH,OAAO,CAACI,KAAZ,CAAkBD,KAAlB,CAAP;AACH,CAFiD,CAA3C"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { DomUtil } from 'leaflet';\n\nfunction splitClassName(className) {\n return className.split(' ').filter(Boolean);\n}\n\nexport function addClassName(element, className) {\n splitClassName(className).forEach(cls => {\n DomUtil.addClass(element, cls);\n });\n}\nexport function removeClassName(element, className) {\n splitClassName(className).forEach(cls => {\n DomUtil.removeClass(element, cls);\n });\n}\nexport function updateClassName(element, prevClassName, nextClassName) {\n if (element != null && nextClassName !== prevClassName) {\n if (prevClassName != null && prevClassName.length > 0) {\n removeClassName(element, prevClassName);\n }\n\n if (nextClassName != null && nextClassName.length > 0) {\n addClassName(element, nextClassName);\n }\n }\n}","map":{"version":3,"names":["DomUtil","splitClassName","className","split","filter","Boolean","addClassName","element","forEach","cls","addClass","removeClassName","removeClass","updateClassName","prevClassName","nextClassName","length"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/dom.js"],"sourcesContent":["import { DomUtil } from 'leaflet';\nfunction splitClassName(className) {\n return className.split(' ').filter(Boolean);\n}\nexport function addClassName(element, className) {\n splitClassName(className).forEach((cls)=>{\n DomUtil.addClass(element, cls);\n });\n}\nexport function removeClassName(element, className) {\n splitClassName(className).forEach((cls)=>{\n DomUtil.removeClass(element, cls);\n });\n}\nexport function updateClassName(element, prevClassName, nextClassName) {\n if (element != null && nextClassName !== prevClassName) {\n if (prevClassName != null && prevClassName.length > 0) {\n removeClassName(element, prevClassName);\n }\n if (nextClassName != null && nextClassName.length > 0) {\n addClassName(element, nextClassName);\n }\n }\n}\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,SAAxB;;AACA,SAASC,cAAT,CAAwBC,SAAxB,EAAmC;EAC/B,OAAOA,SAAS,CAACC,KAAV,CAAgB,GAAhB,EAAqBC,MAArB,CAA4BC,OAA5B,CAAP;AACH;;AACD,OAAO,SAASC,YAAT,CAAsBC,OAAtB,EAA+BL,SAA/B,EAA0C;EAC7CD,cAAc,CAACC,SAAD,CAAd,CAA0BM,OAA1B,CAAmCC,GAAD,IAAO;IACrCT,OAAO,CAACU,QAAR,CAAiBH,OAAjB,EAA0BE,GAA1B;EACH,CAFD;AAGH;AACD,OAAO,SAASE,eAAT,CAAyBJ,OAAzB,EAAkCL,SAAlC,EAA6C;EAChDD,cAAc,CAACC,SAAD,CAAd,CAA0BM,OAA1B,CAAmCC,GAAD,IAAO;IACrCT,OAAO,CAACY,WAAR,CAAoBL,OAApB,EAA6BE,GAA7B;EACH,CAFD;AAGH;AACD,OAAO,SAASI,eAAT,CAAyBN,OAAzB,EAAkCO,aAAlC,EAAiDC,aAAjD,EAAgE;EACnE,IAAIR,OAAO,IAAI,IAAX,IAAmBQ,aAAa,KAAKD,aAAzC,EAAwD;IACpD,IAAIA,aAAa,IAAI,IAAjB,IAAyBA,aAAa,CAACE,MAAd,GAAuB,CAApD,EAAuD;MACnDL,eAAe,CAACJ,OAAD,EAAUO,aAAV,CAAf;IACH;;IACD,IAAIC,aAAa,IAAI,IAAjB,IAAyBA,aAAa,CAACC,MAAd,GAAuB,CAApD,EAAuD;MACnDV,YAAY,CAACC,OAAD,EAAUQ,aAAV,CAAZ;IACH;EACJ;AACJ"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { useEffect, useRef } from 'react';\nexport function useAttribution(map, attribution) {\n const attributionRef = useRef(attribution);\n useEffect(function updateAttribution() {\n if (attribution !== attributionRef.current && map.attributionControl != null) {\n if (attributionRef.current != null) {\n map.attributionControl.removeAttribution(attributionRef.current);\n }\n\n if (attribution != null) {\n map.attributionControl.addAttribution(attribution);\n }\n }\n\n attributionRef.current = attribution;\n }, [map, attribution]);\n}","map":{"version":3,"names":["useEffect","useRef","useAttribution","map","attribution","attributionRef","updateAttribution","current","attributionControl","removeAttribution","addAttribution"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/attribution.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nexport function useAttribution(map, attribution) {\n const attributionRef = useRef(attribution);\n useEffect(function updateAttribution() {\n if (attribution !== attributionRef.current && map.attributionControl != null) {\n if (attributionRef.current != null) {\n map.attributionControl.removeAttribution(attributionRef.current);\n }\n if (attribution != null) {\n map.attributionControl.addAttribution(attribution);\n }\n }\n attributionRef.current = attribution;\n }, [\n map,\n attribution\n ]);\n}\n"],"mappings":"AAAA,SAASA,SAAT,EAAoBC,MAApB,QAAkC,OAAlC;AACA,OAAO,SAASC,cAAT,CAAwBC,GAAxB,EAA6BC,WAA7B,EAA0C;EAC7C,MAAMC,cAAc,GAAGJ,MAAM,CAACG,WAAD,CAA7B;EACAJ,SAAS,CAAC,SAASM,iBAAT,GAA6B;IACnC,IAAIF,WAAW,KAAKC,cAAc,CAACE,OAA/B,IAA0CJ,GAAG,CAACK,kBAAJ,IAA0B,IAAxE,EAA8E;MAC1E,IAAIH,cAAc,CAACE,OAAf,IAA0B,IAA9B,EAAoC;QAChCJ,GAAG,CAACK,kBAAJ,CAAuBC,iBAAvB,CAAyCJ,cAAc,CAACE,OAAxD;MACH;;MACD,IAAIH,WAAW,IAAI,IAAnB,EAAyB;QACrBD,GAAG,CAACK,kBAAJ,CAAuBE,cAAvB,CAAsCN,WAAtC;MACH;IACJ;;IACDC,cAAc,CAACE,OAAf,GAAyBH,WAAzB;EACH,CAVQ,EAUN,CACCD,GADD,EAECC,WAFD,CAVM,CAAT;AAcH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { LatLngBounds } from 'leaflet';\nexport function updateMediaOverlay(overlay, props, prevProps) {\n if (props.bounds instanceof LatLngBounds && props.bounds !== prevProps.bounds) {\n overlay.setBounds(props.bounds);\n }\n\n if (props.opacity != null && props.opacity !== prevProps.opacity) {\n overlay.setOpacity(props.opacity);\n }\n\n if (props.zIndex != null && props.zIndex !== prevProps.zIndex) {\n // @ts-ignore missing in definition but inherited from ImageOverlay\n overlay.setZIndex(props.zIndex);\n }\n}","map":{"version":3,"names":["LatLngBounds","updateMediaOverlay","overlay","props","prevProps","bounds","setBounds","opacity","setOpacity","zIndex","setZIndex"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/media-overlay.js"],"sourcesContent":["import { LatLngBounds } from 'leaflet';\nexport function updateMediaOverlay(overlay, props, prevProps) {\n if (props.bounds instanceof LatLngBounds && props.bounds !== prevProps.bounds) {\n overlay.setBounds(props.bounds);\n }\n if (props.opacity != null && props.opacity !== prevProps.opacity) {\n overlay.setOpacity(props.opacity);\n }\n if (props.zIndex != null && props.zIndex !== prevProps.zIndex) {\n // @ts-ignore missing in definition but inherited from ImageOverlay\n overlay.setZIndex(props.zIndex);\n }\n}\n"],"mappings":"AAAA,SAASA,YAAT,QAA6B,SAA7B;AACA,OAAO,SAASC,kBAAT,CAA4BC,OAA5B,EAAqCC,KAArC,EAA4CC,SAA5C,EAAuD;EAC1D,IAAID,KAAK,CAACE,MAAN,YAAwBL,YAAxB,IAAwCG,KAAK,CAACE,MAAN,KAAiBD,SAAS,CAACC,MAAvE,EAA+E;IAC3EH,OAAO,CAACI,SAAR,CAAkBH,KAAK,CAACE,MAAxB;EACH;;EACD,IAAIF,KAAK,CAACI,OAAN,IAAiB,IAAjB,IAAyBJ,KAAK,CAACI,OAAN,KAAkBH,SAAS,CAACG,OAAzD,EAAkE;IAC9DL,OAAO,CAACM,UAAR,CAAmBL,KAAK,CAACI,OAAzB;EACH;;EACD,IAAIJ,KAAK,CAACM,MAAN,IAAgB,IAAhB,IAAwBN,KAAK,CAACM,MAAN,KAAiBL,SAAS,CAACK,MAAvD,EAA+D;IAC3D;IACAP,OAAO,CAACQ,SAAR,CAAkBP,KAAK,CAACM,MAAxB;EACH;AACJ"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { Polygon as LeafletPolygon } from 'leaflet';\nexport const Polygon = createPathComponent(function createPolygon(_ref, ctx) {\n let {\n positions,\n ...options\n } = _ref;\n const polygon = new LeafletPolygon(positions, options);\n return createElementObject(polygon, extendContext(ctx, {\n overlayContainer: polygon\n }));\n}, function updatePolygon(layer, props, prevProps) {\n if (props.positions !== prevProps.positions) {\n layer.setLatLngs(props.positions);\n }\n});","map":{"version":3,"names":["createElementObject","createPathComponent","extendContext","Polygon","LeafletPolygon","createPolygon","ctx","positions","options","polygon","overlayContainer","updatePolygon","layer","props","prevProps","setLatLngs"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/Polygon.js"],"sourcesContent":["import { createElementObject, createPathComponent, extendContext } from '@react-leaflet/core';\nimport { Polygon as LeafletPolygon } from 'leaflet';\nexport const Polygon = createPathComponent(function createPolygon({ positions , ...options }, ctx) {\n const polygon = new LeafletPolygon(positions, options);\n return createElementObject(polygon, extendContext(ctx, {\n overlayContainer: polygon\n }));\n}, function updatePolygon(layer, props, prevProps) {\n if (props.positions !== prevProps.positions) {\n layer.setLatLngs(props.positions);\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,mBAA9B,EAAmDC,aAAnD,QAAwE,qBAAxE;AACA,SAASC,OAAO,IAAIC,cAApB,QAA0C,SAA1C;AACA,OAAO,MAAMD,OAAO,GAAGF,mBAAmB,CAAC,SAASI,aAAT,OAAmDC,GAAnD,EAAwD;EAAA,IAAjC;IAAEC,SAAF;IAAc,GAAGC;EAAjB,CAAiC;EAC/F,MAAMC,OAAO,GAAG,IAAIL,cAAJ,CAAmBG,SAAnB,EAA8BC,OAA9B,CAAhB;EACA,OAAOR,mBAAmB,CAACS,OAAD,EAAUP,aAAa,CAACI,GAAD,EAAM;IACnDI,gBAAgB,EAAED;EADiC,CAAN,CAAvB,CAA1B;AAGH,CALyC,EAKvC,SAASE,aAAT,CAAuBC,KAAvB,EAA8BC,KAA9B,EAAqCC,SAArC,EAAgD;EAC/C,IAAID,KAAK,CAACN,SAAN,KAAoBO,SAAS,CAACP,SAAlC,EAA6C;IACzCK,KAAK,CAACG,UAAN,CAAiBF,KAAK,CAACN,SAAvB;EACH;AACJ,CATyC,CAAnC"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { useLeafletContext } from '@react-leaflet/core';\nimport { useEffect } from 'react';\nexport function useMap() {\n return useLeafletContext().map;\n}\nexport function useMapEvent(type, handler) {\n const map = useMap();\n useEffect(function addMapEventHandler() {\n // @ts-ignore event type\n map.on(type, handler);\n return function removeMapEventHandler() {\n // @ts-ignore event type\n map.off(type, handler);\n };\n }, [map, type, handler]);\n return map;\n}\nexport function useMapEvents(handlers) {\n const map = useMap();\n useEffect(function addMapEventHandlers() {\n map.on(handlers);\n return function removeMapEventHandlers() {\n map.off(handlers);\n };\n }, [map, handlers]);\n return map;\n}","map":{"version":3,"names":["useLeafletContext","useEffect","useMap","map","useMapEvent","type","handler","addMapEventHandler","on","removeMapEventHandler","off","useMapEvents","handlers","addMapEventHandlers","removeMapEventHandlers"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/hooks.js"],"sourcesContent":["import { useLeafletContext } from '@react-leaflet/core';\nimport { useEffect } from 'react';\nexport function useMap() {\n return useLeafletContext().map;\n}\nexport function useMapEvent(type, handler) {\n const map = useMap();\n useEffect(function addMapEventHandler() {\n // @ts-ignore event type\n map.on(type, handler);\n return function removeMapEventHandler() {\n // @ts-ignore event type\n map.off(type, handler);\n };\n }, [\n map,\n type,\n handler\n ]);\n return map;\n}\nexport function useMapEvents(handlers) {\n const map = useMap();\n useEffect(function addMapEventHandlers() {\n map.on(handlers);\n return function removeMapEventHandlers() {\n map.off(handlers);\n };\n }, [\n map,\n handlers\n ]);\n return map;\n}\n"],"mappings":"AAAA,SAASA,iBAAT,QAAkC,qBAAlC;AACA,SAASC,SAAT,QAA0B,OAA1B;AACA,OAAO,SAASC,MAAT,GAAkB;EACrB,OAAOF,iBAAiB,GAAGG,GAA3B;AACH;AACD,OAAO,SAASC,WAAT,CAAqBC,IAArB,EAA2BC,OAA3B,EAAoC;EACvC,MAAMH,GAAG,GAAGD,MAAM,EAAlB;EACAD,SAAS,CAAC,SAASM,kBAAT,GAA8B;IACpC;IACAJ,GAAG,CAACK,EAAJ,CAAOH,IAAP,EAAaC,OAAb;IACA,OAAO,SAASG,qBAAT,GAAiC;MACpC;MACAN,GAAG,CAACO,GAAJ,CAAQL,IAAR,EAAcC,OAAd;IACH,CAHD;EAIH,CAPQ,EAON,CACCH,GADD,EAECE,IAFD,EAGCC,OAHD,CAPM,CAAT;EAYA,OAAOH,GAAP;AACH;AACD,OAAO,SAASQ,YAAT,CAAsBC,QAAtB,EAAgC;EACnC,MAAMT,GAAG,GAAGD,MAAM,EAAlB;EACAD,SAAS,CAAC,SAASY,mBAAT,GAA+B;IACrCV,GAAG,CAACK,EAAJ,CAAOI,QAAP;IACA,OAAO,SAASE,sBAAT,GAAkC;MACrCX,GAAG,CAACO,GAAJ,CAAQE,QAAR;IACH,CAFD;EAGH,CALQ,EAKN,CACCT,GADD,EAECS,QAFD,CALM,CAAT;EASA,OAAOT,GAAP;AACH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"export { useMap, useMapEvent, useMapEvents } from './hooks.js';\nexport { AttributionControl } from './AttributionControl.js';\nexport { Circle } from './Circle.js';\nexport { CircleMarker } from './CircleMarker.js';\nexport { FeatureGroup } from './FeatureGroup.js';\nexport { GeoJSON } from './GeoJSON.js';\nexport { ImageOverlay } from './ImageOverlay.js';\nexport { LayerGroup } from './LayerGroup.js';\nexport { LayersControl } from './LayersControl.js';\nexport { MapContainer } from './MapContainer.js';\nexport { Marker } from './Marker.js';\nexport { Pane } from './Pane.js';\nexport { Polygon } from './Polygon.js';\nexport { Polyline } from './Polyline.js';\nexport { Popup } from './Popup.js';\nexport { Rectangle } from './Rectangle.js';\nexport { ScaleControl } from './ScaleControl.js';\nexport { SVGOverlay } from './SVGOverlay.js';\nexport { TileLayer } from './TileLayer.js';\nexport { Tooltip } from './Tooltip.js';\nexport { VideoOverlay } from './VideoOverlay.js';\nexport { WMSTileLayer } from './WMSTileLayer.js';\nexport { ZoomControl } from './ZoomControl.js';","map":{"version":3,"names":["useMap","useMapEvent","useMapEvents","AttributionControl","Circle","CircleMarker","FeatureGroup","GeoJSON","ImageOverlay","LayerGroup","LayersControl","MapContainer","Marker","Pane","Polygon","Polyline","Popup","Rectangle","ScaleControl","SVGOverlay","TileLayer","Tooltip","VideoOverlay","WMSTileLayer","ZoomControl"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/index.js"],"sourcesContent":["export { useMap, useMapEvent, useMapEvents } from './hooks.js';\nexport { AttributionControl } from './AttributionControl.js';\nexport { Circle } from './Circle.js';\nexport { CircleMarker } from './CircleMarker.js';\nexport { FeatureGroup } from './FeatureGroup.js';\nexport { GeoJSON } from './GeoJSON.js';\nexport { ImageOverlay } from './ImageOverlay.js';\nexport { LayerGroup } from './LayerGroup.js';\nexport { LayersControl } from './LayersControl.js';\nexport { MapContainer } from './MapContainer.js';\nexport { Marker } from './Marker.js';\nexport { Pane } from './Pane.js';\nexport { Polygon } from './Polygon.js';\nexport { Polyline } from './Polyline.js';\nexport { Popup } from './Popup.js';\nexport { Rectangle } from './Rectangle.js';\nexport { ScaleControl } from './ScaleControl.js';\nexport { SVGOverlay } from './SVGOverlay.js';\nexport { TileLayer } from './TileLayer.js';\nexport { Tooltip } from './Tooltip.js';\nexport { VideoOverlay } from './VideoOverlay.js';\nexport { WMSTileLayer } from './WMSTileLayer.js';\nexport { ZoomControl } from './ZoomControl.js';\n"],"mappings":"AAAA,SAASA,MAAT,EAAiBC,WAAjB,EAA8BC,YAA9B,QAAkD,YAAlD;AACA,SAASC,kBAAT,QAAmC,yBAAnC;AACA,SAASC,MAAT,QAAuB,aAAvB;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,OAAT,QAAwB,cAAxB;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,UAAT,QAA2B,iBAA3B;AACA,SAASC,aAAT,QAA8B,oBAA9B;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,MAAT,QAAuB,aAAvB;AACA,SAASC,IAAT,QAAqB,WAArB;AACA,SAASC,OAAT,QAAwB,cAAxB;AACA,SAASC,QAAT,QAAyB,eAAzB;AACA,SAASC,KAAT,QAAsB,YAAtB;AACA,SAASC,SAAT,QAA0B,gBAA1B;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,UAAT,QAA2B,iBAA3B;AACA,SAASC,SAAT,QAA0B,gBAA1B;AACA,SAASC,OAAT,QAAwB,cAAxB;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,YAAT,QAA6B,mBAA7B;AACA,SAASC,WAAT,QAA4B,kBAA5B"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"import { useAttribution } from './attribution.js';\nimport { useLeafletContext } from './context.js';\nimport { useEventHandlers } from './events.js';\nimport { withPane } from './pane.js';\nexport function createDivOverlayHook(useElement, useLifecycle) {\n return function useDivOverlay(props, setOpen) {\n const context = useLeafletContext();\n const elementRef = useElement(withPane(props, context), context);\n useAttribution(context.map, props.attribution);\n useEventHandlers(elementRef.current, props.eventHandlers);\n useLifecycle(elementRef.current, context, props, setOpen);\n return elementRef;\n };\n}","map":{"version":3,"names":["useAttribution","useLeafletContext","useEventHandlers","withPane","createDivOverlayHook","useElement","useLifecycle","useDivOverlay","props","setOpen","context","elementRef","map","attribution","current","eventHandlers"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/div-overlay.js"],"sourcesContent":["import { useAttribution } from './attribution.js';\nimport { useLeafletContext } from './context.js';\nimport { useEventHandlers } from './events.js';\nimport { withPane } from './pane.js';\nexport function createDivOverlayHook(useElement, useLifecycle) {\n return function useDivOverlay(props, setOpen) {\n const context = useLeafletContext();\n const elementRef = useElement(withPane(props, context), context);\n useAttribution(context.map, props.attribution);\n useEventHandlers(elementRef.current, props.eventHandlers);\n useLifecycle(elementRef.current, context, props, setOpen);\n return elementRef;\n };\n}\n"],"mappings":"AAAA,SAASA,cAAT,QAA+B,kBAA/B;AACA,SAASC,iBAAT,QAAkC,cAAlC;AACA,SAASC,gBAAT,QAAiC,aAAjC;AACA,SAASC,QAAT,QAAyB,WAAzB;AACA,OAAO,SAASC,oBAAT,CAA8BC,UAA9B,EAA0CC,YAA1C,EAAwD;EAC3D,OAAO,SAASC,aAAT,CAAuBC,KAAvB,EAA8BC,OAA9B,EAAuC;IAC1C,MAAMC,OAAO,GAAGT,iBAAiB,EAAjC;IACA,MAAMU,UAAU,GAAGN,UAAU,CAACF,QAAQ,CAACK,KAAD,EAAQE,OAAR,CAAT,EAA2BA,OAA3B,CAA7B;IACAV,cAAc,CAACU,OAAO,CAACE,GAAT,EAAcJ,KAAK,CAACK,WAApB,CAAd;IACAX,gBAAgB,CAACS,UAAU,CAACG,OAAZ,EAAqBN,KAAK,CAACO,aAA3B,CAAhB;IACAT,YAAY,CAACK,UAAU,CAACG,OAAZ,EAAqBJ,OAArB,EAA8BF,KAA9B,EAAqCC,OAArC,CAAZ;IACA,OAAOE,UAAP;EACH,CAPD;AAQH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createControlComponent } from '@react-leaflet/core';\nimport { Control } from 'leaflet';\nexport const ZoomControl = createControlComponent(function createZoomControl(props) {\n return new Control.Zoom(props);\n});","map":{"version":3,"names":["createControlComponent","Control","ZoomControl","createZoomControl","props","Zoom"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/ZoomControl.js"],"sourcesContent":["import { createControlComponent } from '@react-leaflet/core';\nimport { Control } from 'leaflet';\nexport const ZoomControl = createControlComponent(function createZoomControl(props) {\n return new Control.Zoom(props);\n});\n"],"mappings":"AAAA,SAASA,sBAAT,QAAuC,qBAAvC;AACA,SAASC,OAAT,QAAwB,SAAxB;AACA,OAAO,MAAMC,WAAW,GAAGF,sBAAsB,CAAC,SAASG,iBAAT,CAA2BC,KAA3B,EAAkC;EAChF,OAAO,IAAIH,OAAO,CAACI,IAAZ,CAAiBD,KAAjB,CAAP;AACH,CAFgD,CAA1C"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { useEffect } from 'react';\nimport { useAttribution } from './attribution.js';\nimport { useLeafletContext } from './context.js';\nimport { useEventHandlers } from './events.js';\nimport { withPane } from './pane.js';\nexport function useLayerLifecycle(element, context) {\n useEffect(function addLayer() {\n const container = context.layerContainer ?? context.map;\n container.addLayer(element.instance);\n return function removeLayer() {\n context.layerContainer?.removeLayer(element.instance);\n context.map.removeLayer(element.instance);\n };\n }, [context, element]);\n}\nexport function createLayerHook(useElement) {\n return function useLayer(props) {\n const context = useLeafletContext();\n const elementRef = useElement(withPane(props, context), context);\n useAttribution(context.map, props.attribution);\n useEventHandlers(elementRef.current, props.eventHandlers);\n useLayerLifecycle(elementRef.current, context);\n return elementRef;\n };\n}","map":{"version":3,"names":["useEffect","useAttribution","useLeafletContext","useEventHandlers","withPane","useLayerLifecycle","element","context","addLayer","container","layerContainer","map","instance","removeLayer","createLayerHook","useElement","useLayer","props","elementRef","attribution","current","eventHandlers"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/layer.js"],"sourcesContent":["import { useEffect } from 'react';\nimport { useAttribution } from './attribution.js';\nimport { useLeafletContext } from './context.js';\nimport { useEventHandlers } from './events.js';\nimport { withPane } from './pane.js';\nexport function useLayerLifecycle(element, context) {\n useEffect(function addLayer() {\n const container = context.layerContainer ?? context.map;\n container.addLayer(element.instance);\n return function removeLayer() {\n context.layerContainer?.removeLayer(element.instance);\n context.map.removeLayer(element.instance);\n };\n }, [\n context,\n element\n ]);\n}\nexport function createLayerHook(useElement) {\n return function useLayer(props) {\n const context = useLeafletContext();\n const elementRef = useElement(withPane(props, context), context);\n useAttribution(context.map, props.attribution);\n useEventHandlers(elementRef.current, props.eventHandlers);\n useLayerLifecycle(elementRef.current, context);\n return elementRef;\n };\n}\n"],"mappings":"AAAA,SAASA,SAAT,QAA0B,OAA1B;AACA,SAASC,cAAT,QAA+B,kBAA/B;AACA,SAASC,iBAAT,QAAkC,cAAlC;AACA,SAASC,gBAAT,QAAiC,aAAjC;AACA,SAASC,QAAT,QAAyB,WAAzB;AACA,OAAO,SAASC,iBAAT,CAA2BC,OAA3B,EAAoCC,OAApC,EAA6C;EAChDP,SAAS,CAAC,SAASQ,QAAT,GAAoB;IAC1B,MAAMC,SAAS,GAAGF,OAAO,CAACG,cAAR,IAA0BH,OAAO,CAACI,GAApD;IACAF,SAAS,CAACD,QAAV,CAAmBF,OAAO,CAACM,QAA3B;IACA,OAAO,SAASC,WAAT,GAAuB;MAC1BN,OAAO,CAACG,cAAR,EAAwBG,WAAxB,CAAoCP,OAAO,CAACM,QAA5C;MACAL,OAAO,CAACI,GAAR,CAAYE,WAAZ,CAAwBP,OAAO,CAACM,QAAhC;IACH,CAHD;EAIH,CAPQ,EAON,CACCL,OADD,EAECD,OAFD,CAPM,CAAT;AAWH;AACD,OAAO,SAASQ,eAAT,CAAyBC,UAAzB,EAAqC;EACxC,OAAO,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;IAC5B,MAAMV,OAAO,GAAGL,iBAAiB,EAAjC;IACA,MAAMgB,UAAU,GAAGH,UAAU,CAACX,QAAQ,CAACa,KAAD,EAAQV,OAAR,CAAT,EAA2BA,OAA3B,CAA7B;IACAN,cAAc,CAACM,OAAO,CAACI,GAAT,EAAcM,KAAK,CAACE,WAApB,CAAd;IACAhB,gBAAgB,CAACe,UAAU,CAACE,OAAZ,EAAqBH,KAAK,CAACI,aAA3B,CAAhB;IACAhB,iBAAiB,CAACa,UAAU,CAACE,OAAZ,EAAqBb,OAArB,CAAjB;IACA,OAAOW,UAAP;EACH,CAPD;AAQH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { createElementObject, createLayerComponent, extendContext, updateMediaOverlay } from '@react-leaflet/core';\nimport { VideoOverlay as LeafletVideoOverlay } from 'leaflet';\nexport const VideoOverlay = createLayerComponent(function createVideoOverlay(_ref, ctx) {\n let {\n bounds,\n url,\n ...options\n } = _ref;\n const overlay = new LeafletVideoOverlay(url, bounds, options);\n\n if (options.play === true) {\n overlay.getElement()?.play();\n }\n\n return createElementObject(overlay, extendContext(ctx, {\n overlayContainer: overlay\n }));\n}, function updateVideoOverlay(overlay, props, prevProps) {\n updateMediaOverlay(overlay, props, prevProps);\n\n if (typeof props.url === 'string' && props.url !== prevProps.url) {\n overlay.setUrl(props.url);\n }\n\n const video = overlay.getElement();\n\n if (video != null) {\n if (props.play === true && !prevProps.play) {\n video.play();\n } else if (!props.play && prevProps.play === true) {\n video.pause();\n }\n }\n});","map":{"version":3,"names":["createElementObject","createLayerComponent","extendContext","updateMediaOverlay","VideoOverlay","LeafletVideoOverlay","createVideoOverlay","ctx","bounds","url","options","overlay","play","getElement","overlayContainer","updateVideoOverlay","props","prevProps","setUrl","video","pause"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet/lib/VideoOverlay.js"],"sourcesContent":["import { createElementObject, createLayerComponent, extendContext, updateMediaOverlay } from '@react-leaflet/core';\nimport { VideoOverlay as LeafletVideoOverlay } from 'leaflet';\nexport const VideoOverlay = createLayerComponent(function createVideoOverlay({ bounds , url , ...options }, ctx) {\n const overlay = new LeafletVideoOverlay(url, bounds, options);\n if (options.play === true) {\n overlay.getElement()?.play();\n }\n return createElementObject(overlay, extendContext(ctx, {\n overlayContainer: overlay\n }));\n}, function updateVideoOverlay(overlay, props, prevProps) {\n updateMediaOverlay(overlay, props, prevProps);\n if (typeof props.url === 'string' && props.url !== prevProps.url) {\n overlay.setUrl(props.url);\n }\n const video = overlay.getElement();\n if (video != null) {\n if (props.play === true && !prevProps.play) {\n video.play();\n } else if (!props.play && prevProps.play === true) {\n video.pause();\n }\n }\n});\n"],"mappings":"AAAA,SAASA,mBAAT,EAA8BC,oBAA9B,EAAoDC,aAApD,EAAmEC,kBAAnE,QAA6F,qBAA7F;AACA,SAASC,YAAY,IAAIC,mBAAzB,QAAoD,SAApD;AACA,OAAO,MAAMD,YAAY,GAAGH,oBAAoB,CAAC,SAASK,kBAAT,OAA2DC,GAA3D,EAAgE;EAAA,IAApC;IAAEC,MAAF;IAAWC,GAAX;IAAiB,GAAGC;EAApB,CAAoC;EAC7G,MAAMC,OAAO,GAAG,IAAIN,mBAAJ,CAAwBI,GAAxB,EAA6BD,MAA7B,EAAqCE,OAArC,CAAhB;;EACA,IAAIA,OAAO,CAACE,IAAR,KAAiB,IAArB,EAA2B;IACvBD,OAAO,CAACE,UAAR,IAAsBD,IAAtB;EACH;;EACD,OAAOZ,mBAAmB,CAACW,OAAD,EAAUT,aAAa,CAACK,GAAD,EAAM;IACnDO,gBAAgB,EAAEH;EADiC,CAAN,CAAvB,CAA1B;AAGH,CAR+C,EAQ7C,SAASI,kBAAT,CAA4BJ,OAA5B,EAAqCK,KAArC,EAA4CC,SAA5C,EAAuD;EACtDd,kBAAkB,CAACQ,OAAD,EAAUK,KAAV,EAAiBC,SAAjB,CAAlB;;EACA,IAAI,OAAOD,KAAK,CAACP,GAAb,KAAqB,QAArB,IAAiCO,KAAK,CAACP,GAAN,KAAcQ,SAAS,CAACR,GAA7D,EAAkE;IAC9DE,OAAO,CAACO,MAAR,CAAeF,KAAK,CAACP,GAArB;EACH;;EACD,MAAMU,KAAK,GAAGR,OAAO,CAACE,UAAR,EAAd;;EACA,IAAIM,KAAK,IAAI,IAAb,EAAmB;IACf,IAAIH,KAAK,CAACJ,IAAN,KAAe,IAAf,IAAuB,CAACK,SAAS,CAACL,IAAtC,EAA4C;MACxCO,KAAK,CAACP,IAAN;IACH,CAFD,MAEO,IAAI,CAACI,KAAK,CAACJ,IAAP,IAAeK,SAAS,CAACL,IAAV,KAAmB,IAAtC,EAA4C;MAC/CO,KAAK,CAACC,KAAN;IACH;EACJ;AACJ,CArB+C,CAAzC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { useEffect, useRef } from 'react';\nexport function useEventHandlers(element, eventHandlers) {\n const eventHandlersRef = useRef();\n useEffect(function addEventHandlers() {\n if (eventHandlers != null) {\n element.instance.on(eventHandlers);\n }\n\n eventHandlersRef.current = eventHandlers;\n return function removeEventHandlers() {\n if (eventHandlersRef.current != null) {\n element.instance.off(eventHandlersRef.current);\n }\n\n eventHandlersRef.current = null;\n };\n }, [element, eventHandlers]);\n}","map":{"version":3,"names":["useEffect","useRef","useEventHandlers","element","eventHandlers","eventHandlersRef","addEventHandlers","instance","on","current","removeEventHandlers","off"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/events.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nexport function useEventHandlers(element, eventHandlers) {\n const eventHandlersRef = useRef();\n useEffect(function addEventHandlers() {\n if (eventHandlers != null) {\n element.instance.on(eventHandlers);\n }\n eventHandlersRef.current = eventHandlers;\n return function removeEventHandlers() {\n if (eventHandlersRef.current != null) {\n element.instance.off(eventHandlersRef.current);\n }\n eventHandlersRef.current = null;\n };\n }, [\n element,\n eventHandlers\n ]);\n}\n"],"mappings":"AAAA,SAASA,SAAT,EAAoBC,MAApB,QAAkC,OAAlC;AACA,OAAO,SAASC,gBAAT,CAA0BC,OAA1B,EAAmCC,aAAnC,EAAkD;EACrD,MAAMC,gBAAgB,GAAGJ,MAAM,EAA/B;EACAD,SAAS,CAAC,SAASM,gBAAT,GAA4B;IAClC,IAAIF,aAAa,IAAI,IAArB,EAA2B;MACvBD,OAAO,CAACI,QAAR,CAAiBC,EAAjB,CAAoBJ,aAApB;IACH;;IACDC,gBAAgB,CAACI,OAAjB,GAA2BL,aAA3B;IACA,OAAO,SAASM,mBAAT,GAA+B;MAClC,IAAIL,gBAAgB,CAACI,OAAjB,IAA4B,IAAhC,EAAsC;QAClCN,OAAO,CAACI,QAAR,CAAiBI,GAAjB,CAAqBN,gBAAgB,CAACI,OAAtC;MACH;;MACDJ,gBAAgB,CAACI,OAAjB,GAA2B,IAA3B;IACH,CALD;EAMH,CAXQ,EAWN,CACCN,OADD,EAECC,aAFD,CAXM,CAAT;AAeH"},"metadata":{},"sourceType":"module"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js\";\nimport \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\"; // import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return (\n /*#__PURE__*/\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n _jsxDEV(_Fragment, {\n children: /*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }, this)\n }, void 0, false)\n );\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","App"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js"],"sourcesContent":["import \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\";\n// import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nfunction App() {\n return (\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n <>\n <Homepage />\n {/* <ContactUs /> */}\n {/* <LeafletMap /> */}\n </>\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,OAAO,YAAP;AACA,OAAOA,QAAP,MAAqB,uBAArB;AACA,OAAOC,SAAP,MAAsB,wBAAtB;AACA,OAAOC,UAAP,MAAuB,yBAAvB,C,CACA;AACA;;;;;AAEA,SAASC,GAAT,GAAe;EACb;IAAA;IACE;IACA;IACA;IACA;MAAA,uBACE,QAAC,QAAD;QAAA;QAAA;QAAA;MAAA;IADF;EAJF;AAUD;;KAXQA,G;AAaT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"'use strict'; // do not edit .js files directly - edit src/index.jst\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n var length, i, keys;\n\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;\n\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n } // true if both NaN, false otherwise\n\n\n return a !== a && b !== b;\n};","map":{"version":3,"names":["module","exports","equal","a","b","constructor","length","i","keys","Array","isArray","RegExp","source","flags","valueOf","Object","prototype","toString","hasOwnProperty","call","key"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/fast-deep-equal/index.js"],"sourcesContent":["'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n"],"mappings":"AAAA,a,CAEA;;AAIAA,MAAM,CAACC,OAAP,GAAiB,SAASC,KAAT,CAAeC,CAAf,EAAkBC,CAAlB,EAAqB;EACpC,IAAID,CAAC,KAAKC,CAAV,EAAa,OAAO,IAAP;;EAEb,IAAID,CAAC,IAAIC,CAAL,IAAU,OAAOD,CAAP,IAAY,QAAtB,IAAkC,OAAOC,CAAP,IAAY,QAAlD,EAA4D;IAC1D,IAAID,CAAC,CAACE,WAAF,KAAkBD,CAAC,CAACC,WAAxB,EAAqC,OAAO,KAAP;IAErC,IAAIC,MAAJ,EAAYC,CAAZ,EAAeC,IAAf;;IACA,IAAIC,KAAK,CAACC,OAAN,CAAcP,CAAd,CAAJ,EAAsB;MACpBG,MAAM,GAAGH,CAAC,CAACG,MAAX;MACA,IAAIA,MAAM,IAAIF,CAAC,CAACE,MAAhB,EAAwB,OAAO,KAAP;;MACxB,KAAKC,CAAC,GAAGD,MAAT,EAAiBC,CAAC,OAAO,CAAzB,GACE,IAAI,CAACL,KAAK,CAACC,CAAC,CAACI,CAAD,CAAF,EAAOH,CAAC,CAACG,CAAD,CAAR,CAAV,EAAwB,OAAO,KAAP;;MAC1B,OAAO,IAAP;IACD;;IAID,IAAIJ,CAAC,CAACE,WAAF,KAAkBM,MAAtB,EAA8B,OAAOR,CAAC,CAACS,MAAF,KAAaR,CAAC,CAACQ,MAAf,IAAyBT,CAAC,CAACU,KAAF,KAAYT,CAAC,CAACS,KAA9C;IAC9B,IAAIV,CAAC,CAACW,OAAF,KAAcC,MAAM,CAACC,SAAP,CAAiBF,OAAnC,EAA4C,OAAOX,CAAC,CAACW,OAAF,OAAgBV,CAAC,CAACU,OAAF,EAAvB;IAC5C,IAAIX,CAAC,CAACc,QAAF,KAAeF,MAAM,CAACC,SAAP,CAAiBC,QAApC,EAA8C,OAAOd,CAAC,CAACc,QAAF,OAAiBb,CAAC,CAACa,QAAF,EAAxB;IAE9CT,IAAI,GAAGO,MAAM,CAACP,IAAP,CAAYL,CAAZ,CAAP;IACAG,MAAM,GAAGE,IAAI,CAACF,MAAd;IACA,IAAIA,MAAM,KAAKS,MAAM,CAACP,IAAP,CAAYJ,CAAZ,EAAeE,MAA9B,EAAsC,OAAO,KAAP;;IAEtC,KAAKC,CAAC,GAAGD,MAAT,EAAiBC,CAAC,OAAO,CAAzB,GACE,IAAI,CAACQ,MAAM,CAACC,SAAP,CAAiBE,cAAjB,CAAgCC,IAAhC,CAAqCf,CAArC,EAAwCI,IAAI,CAACD,CAAD,CAA5C,CAAL,EAAuD,OAAO,KAAP;;IAEzD,KAAKA,CAAC,GAAGD,MAAT,EAAiBC,CAAC,OAAO,CAAzB,GAA6B;MAC3B,IAAIa,GAAG,GAAGZ,IAAI,CAACD,CAAD,CAAd;MAEA,IAAI,CAACL,KAAK,CAACC,CAAC,CAACiB,GAAD,CAAF,EAAShB,CAAC,CAACgB,GAAD,CAAV,CAAV,EAA4B,OAAO,KAAP;IAC7B;;IAED,OAAO,IAAP;EACD,CAnCmC,CAqCpC;;;EACA,OAAOjB,CAAC,KAAGA,CAAJ,IAASC,CAAC,KAAGA,CAApB;AACD,CAvCD"},"metadata":{},"sourceType":"script"}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"ast":null,"code":"export { default as EditControl } from './EditControl';","map":{"version":3,"names":["default","EditControl"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet-draw/dist/esm/index.js"],"sourcesContent":["export { default as EditControl } from './EditControl';"],"mappings":"AAAA,SAASA,OAAO,IAAIC,WAApB,QAAuC,eAAvC"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { useEffect, useRef } from 'react';\nexport function createElementObject(instance, context, container) {\n return Object.freeze({\n instance,\n context,\n container\n });\n}\nexport function createElementHook(createElement, updateElement) {\n if (updateElement == null) {\n return function useImmutableLeafletElement(props, context) {\n return useRef(createElement(props, context));\n };\n }\n\n return function useMutableLeafletElement(props, context) {\n const elementRef = useRef(createElement(props, context));\n const propsRef = useRef(props);\n const {\n instance\n } = elementRef.current;\n useEffect(function updateElementProps() {\n if (propsRef.current !== props) {\n updateElement(instance, props, propsRef.current);\n propsRef.current = props;\n }\n }, [instance, props, context]);\n return elementRef;\n };\n}","map":{"version":3,"names":["useEffect","useRef","createElementObject","instance","context","container","Object","freeze","createElementHook","createElement","updateElement","useImmutableLeafletElement","props","useMutableLeafletElement","elementRef","propsRef","current","updateElementProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/element.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nexport function createElementObject(instance, context, container) {\n return Object.freeze({\n instance,\n context,\n container\n });\n}\nexport function createElementHook(createElement, updateElement) {\n if (updateElement == null) {\n return function useImmutableLeafletElement(props, context) {\n return useRef(createElement(props, context));\n };\n }\n return function useMutableLeafletElement(props, context) {\n const elementRef = useRef(createElement(props, context));\n const propsRef = useRef(props);\n const { instance } = elementRef.current;\n useEffect(function updateElementProps() {\n if (propsRef.current !== props) {\n updateElement(instance, props, propsRef.current);\n propsRef.current = props;\n }\n }, [\n instance,\n props,\n context\n ]);\n return elementRef;\n };\n}\n"],"mappings":"AAAA,SAASA,SAAT,EAAoBC,MAApB,QAAkC,OAAlC;AACA,OAAO,SAASC,mBAAT,CAA6BC,QAA7B,EAAuCC,OAAvC,EAAgDC,SAAhD,EAA2D;EAC9D,OAAOC,MAAM,CAACC,MAAP,CAAc;IACjBJ,QADiB;IAEjBC,OAFiB;IAGjBC;EAHiB,CAAd,CAAP;AAKH;AACD,OAAO,SAASG,iBAAT,CAA2BC,aAA3B,EAA0CC,aAA1C,EAAyD;EAC5D,IAAIA,aAAa,IAAI,IAArB,EAA2B;IACvB,OAAO,SAASC,0BAAT,CAAoCC,KAApC,EAA2CR,OAA3C,EAAoD;MACvD,OAAOH,MAAM,CAACQ,aAAa,CAACG,KAAD,EAAQR,OAAR,CAAd,CAAb;IACH,CAFD;EAGH;;EACD,OAAO,SAASS,wBAAT,CAAkCD,KAAlC,EAAyCR,OAAzC,EAAkD;IACrD,MAAMU,UAAU,GAAGb,MAAM,CAACQ,aAAa,CAACG,KAAD,EAAQR,OAAR,CAAd,CAAzB;IACA,MAAMW,QAAQ,GAAGd,MAAM,CAACW,KAAD,CAAvB;IACA,MAAM;MAAET;IAAF,IAAgBW,UAAU,CAACE,OAAjC;IACAhB,SAAS,CAAC,SAASiB,kBAAT,GAA8B;MACpC,IAAIF,QAAQ,CAACC,OAAT,KAAqBJ,KAAzB,EAAgC;QAC5BF,aAAa,CAACP,QAAD,EAAWS,KAAX,EAAkBG,QAAQ,CAACC,OAA3B,CAAb;QACAD,QAAQ,CAACC,OAAT,GAAmBJ,KAAnB;MACH;IACJ,CALQ,EAKN,CACCT,QADD,EAECS,KAFD,EAGCR,OAHD,CALM,CAAT;IAUA,OAAOU,UAAP;EACH,CAfD;AAgBH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"export function updateGridLayer(layer, props, prevProps) {\n const {\n opacity,\n zIndex\n } = props;\n\n if (opacity != null && opacity !== prevProps.opacity) {\n layer.setOpacity(opacity);\n }\n\n if (zIndex != null && zIndex !== prevProps.zIndex) {\n layer.setZIndex(zIndex);\n }\n}","map":{"version":3,"names":["updateGridLayer","layer","props","prevProps","opacity","zIndex","setOpacity","setZIndex"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/grid-layer.js"],"sourcesContent":["export function updateGridLayer(layer, props, prevProps) {\n const { opacity , zIndex } = props;\n if (opacity != null && opacity !== prevProps.opacity) {\n layer.setOpacity(opacity);\n }\n if (zIndex != null && zIndex !== prevProps.zIndex) {\n layer.setZIndex(zIndex);\n }\n}\n"],"mappings":"AAAA,OAAO,SAASA,eAAT,CAAyBC,KAAzB,EAAgCC,KAAhC,EAAuCC,SAAvC,EAAkD;EACrD,MAAM;IAAEC,OAAF;IAAYC;EAAZ,IAAwBH,KAA9B;;EACA,IAAIE,OAAO,IAAI,IAAX,IAAmBA,OAAO,KAAKD,SAAS,CAACC,OAA7C,EAAsD;IAClDH,KAAK,CAACK,UAAN,CAAiBF,OAAjB;EACH;;EACD,IAAIC,MAAM,IAAI,IAAV,IAAkBA,MAAM,KAAKF,SAAS,CAACE,MAA3C,EAAmD;IAC/CJ,KAAK,CAACM,SAAN,CAAgBF,MAAhB;EACH;AACJ"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"import { useEffect, useRef } from 'react';\nimport { useLeafletContext } from './context.js';\nexport function createControlHook(useElement) {\n return function useLeafletControl(props) {\n const context = useLeafletContext();\n const elementRef = useElement(props, context);\n const {\n instance\n } = elementRef.current;\n const positionRef = useRef(props.position);\n const {\n position\n } = props;\n useEffect(function addControl() {\n instance.addTo(context.map);\n return function removeControl() {\n instance.remove();\n };\n }, [context.map, instance]);\n useEffect(function updateControl() {\n if (position != null && position !== positionRef.current) {\n instance.setPosition(position);\n positionRef.current = position;\n }\n }, [instance, position]);\n return elementRef;\n };\n}","map":{"version":3,"names":["useEffect","useRef","useLeafletContext","createControlHook","useElement","useLeafletControl","props","context","elementRef","instance","current","positionRef","position","addControl","addTo","map","removeControl","remove","updateControl","setPosition"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/control.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\nimport { useLeafletContext } from './context.js';\nexport function createControlHook(useElement) {\n return function useLeafletControl(props) {\n const context = useLeafletContext();\n const elementRef = useElement(props, context);\n const { instance } = elementRef.current;\n const positionRef = useRef(props.position);\n const { position } = props;\n useEffect(function addControl() {\n instance.addTo(context.map);\n return function removeControl() {\n instance.remove();\n };\n }, [\n context.map,\n instance\n ]);\n useEffect(function updateControl() {\n if (position != null && position !== positionRef.current) {\n instance.setPosition(position);\n positionRef.current = position;\n }\n }, [\n instance,\n position\n ]);\n return elementRef;\n };\n}\n"],"mappings":"AAAA,SAASA,SAAT,EAAoBC,MAApB,QAAkC,OAAlC;AACA,SAASC,iBAAT,QAAkC,cAAlC;AACA,OAAO,SAASC,iBAAT,CAA2BC,UAA3B,EAAuC;EAC1C,OAAO,SAASC,iBAAT,CAA2BC,KAA3B,EAAkC;IACrC,MAAMC,OAAO,GAAGL,iBAAiB,EAAjC;IACA,MAAMM,UAAU,GAAGJ,UAAU,CAACE,KAAD,EAAQC,OAAR,CAA7B;IACA,MAAM;MAAEE;IAAF,IAAgBD,UAAU,CAACE,OAAjC;IACA,MAAMC,WAAW,GAAGV,MAAM,CAACK,KAAK,CAACM,QAAP,CAA1B;IACA,MAAM;MAAEA;IAAF,IAAgBN,KAAtB;IACAN,SAAS,CAAC,SAASa,UAAT,GAAsB;MAC5BJ,QAAQ,CAACK,KAAT,CAAeP,OAAO,CAACQ,GAAvB;MACA,OAAO,SAASC,aAAT,GAAyB;QAC5BP,QAAQ,CAACQ,MAAT;MACH,CAFD;IAGH,CALQ,EAKN,CACCV,OAAO,CAACQ,GADT,EAECN,QAFD,CALM,CAAT;IASAT,SAAS,CAAC,SAASkB,aAAT,GAAyB;MAC/B,IAAIN,QAAQ,IAAI,IAAZ,IAAoBA,QAAQ,KAAKD,WAAW,CAACD,OAAjD,EAA0D;QACtDD,QAAQ,CAACU,WAAT,CAAqBP,QAArB;QACAD,WAAW,CAACD,OAAZ,GAAsBE,QAAtB;MACH;IACJ,CALQ,EAKN,CACCH,QADD,EAECG,QAFD,CALM,CAAT;IASA,OAAOJ,UAAP;EACH,CAzBD;AA0BH"},"metadata":{},"sourceType":"module"}

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js\";\nimport \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\"; // import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return (\n /*#__PURE__*/\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n _jsxDEV(_Fragment, {\n children: /*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 7\n }, this)\n }, void 0, false)\n );\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","App"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js"],"sourcesContent":["import \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\";\n// import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nfunction App() {\n return (\n // <Provider store={store}>\n // <Homepage />\n // </Provider>\n <>\n <Homepage />\n {/* <ContactUs /> */}\n </>\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,OAAO,YAAP;AACA,OAAOA,QAAP,MAAqB,uBAArB;AACA,OAAOC,SAAP,MAAsB,wBAAtB;AACA,OAAOC,UAAP,MAAuB,yBAAvB,C,CACA;AACA;;;;;AAEA,SAASC,GAAT,GAAe;EACb;IAAA;IACE;IACA;IACA;IACA;MAAA,uBACE,QAAC,QAAD;QAAA;QAAA;QAAA;MAAA;IADF;EAJF;AASD;;KAVQA,G;AAYT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

10
node_modules/.yarn-integrity generated vendored

@ -10,10 +10,14 @@
"@testing-library/react@^13.3.0", "@testing-library/react@^13.3.0",
"@testing-library/user-event@^13.5.0", "@testing-library/user-event@^13.5.0",
"autoprefixer@^10.4.7", "autoprefixer@^10.4.7",
"leaflet-draw@^1.0.4",
"leaflet@^1.8.0",
"node-sass@^7.0.1", "node-sass@^7.0.1",
"postcss@^8.4.14", "postcss@^8.4.14",
"react-dom@^18.2.0", "react-dom@^18.2.0",
"react-hook-form@^7.33.1", "react-hook-form@^7.33.1",
"react-leaflet-draw@^0.20.1",
"react-leaflet@^4.0.1",
"react-multi-date-picker@^3.3.0", "react-multi-date-picker@^3.3.0",
"react-qr-code@^2.0.7", "react-qr-code@^2.0.7",
"react-scripts@5.0.1", "react-scripts@5.0.1",
@ -253,6 +257,7 @@
"@npmcli/fs@^1.0.0": "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257", "@npmcli/fs@^1.0.0": "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257",
"@npmcli/move-file@^1.0.1": "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674", "@npmcli/move-file@^1.0.1": "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674",
"@pmmmwh/react-refresh-webpack-plugin@^0.5.3": "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.7.tgz#58f8217ba70069cc6a73f5d7e05e85b458c150e2", "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.7.tgz#58f8217ba70069cc6a73f5d7e05e85b458c150e2",
"@react-leaflet/core@^2.0.0": "https://registry.yarnpkg.com/@react-leaflet/core/-/core-2.0.0.tgz#212f4d87dc7681f40ca0e47d99672676c20c8ef6",
"@rollup/plugin-babel@^5.2.0": "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283", "@rollup/plugin-babel@^5.2.0": "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283",
"@rollup/plugin-node-resolve@^11.2.1": "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz#82aa59397a29cd4e13248b106e6a4a1880362a60", "@rollup/plugin-node-resolve@^11.2.1": "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz#82aa59397a29cd4e13248b106e6a4a1880362a60",
"@rollup/plugin-replace@^2.4.1": "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a", "@rollup/plugin-replace@^2.4.1": "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a",
@ -1024,6 +1029,8 @@
"klona@^2.0.5": "https://registry.yarnpkg.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc", "klona@^2.0.5": "https://registry.yarnpkg.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc",
"language-subtag-registry@~0.3.2": "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz#04ac218bea46f04cb039084602c6da9e788dd45a", "language-subtag-registry@~0.3.2": "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz#04ac218bea46f04cb039084602c6da9e788dd45a",
"language-tags@^1.0.5": "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a", "language-tags@^1.0.5": "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a",
"leaflet-draw@^1.0.4": "https://registry.yarnpkg.com/leaflet-draw/-/leaflet-draw-1.0.4.tgz#45be92f378ed253e7202fdeda1fcc71885198d46",
"leaflet@^1.8.0": "https://registry.yarnpkg.com/leaflet/-/leaflet-1.8.0.tgz#4615db4a22a304e8e692cae9270b983b38a2055e",
"leven@^3.1.0": "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2", "leven@^3.1.0": "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2",
"levn@^0.4.1": "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade", "levn@^0.4.1": "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade",
"levn@~0.3.0": "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee", "levn@~0.3.0": "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee",
@ -1037,6 +1044,7 @@
"locate-path@^3.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e", "locate-path@^3.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e",
"locate-path@^5.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0", "locate-path@^5.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0",
"locate-path@^6.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286", "locate-path@^6.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286",
"lodash-es@^4.17.15": "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee",
"lodash.debounce@^4.0.8": "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af", "lodash.debounce@^4.0.8": "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af",
"lodash.memoize@^4.1.2": "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe", "lodash.memoize@^4.1.2": "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe",
"lodash.merge@^4.6.2": "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a", "lodash.merge@^4.6.2": "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a",
@ -1335,6 +1343,8 @@
"react-is@^16.13.1": "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4", "react-is@^16.13.1": "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4",
"react-is@^17.0.1": "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0", "react-is@^17.0.1": "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0",
"react-is@^18.0.0": "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b", "react-is@^18.0.0": "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b",
"react-leaflet-draw@^0.20.1": "https://registry.yarnpkg.com/react-leaflet-draw/-/react-leaflet-draw-0.20.1.tgz#f0d119c2b2d413f04e79eb278befcab233935889",
"react-leaflet@^4.0.1": "https://registry.yarnpkg.com/react-leaflet/-/react-leaflet-4.0.1.tgz#84f085241c741b43184808c2038642e88de7655e",
"react-multi-date-picker@^3.3.0": "https://registry.yarnpkg.com/react-multi-date-picker/-/react-multi-date-picker-3.3.0.tgz#89036a1bf013fc65bc12dda640d5a979a640b453", "react-multi-date-picker@^3.3.0": "https://registry.yarnpkg.com/react-multi-date-picker/-/react-multi-date-picker-3.3.0.tgz#89036a1bf013fc65bc12dda640d5a979a640b453",
"react-qr-code@^2.0.7": "https://registry.yarnpkg.com/react-qr-code/-/react-qr-code-2.0.7.tgz#508304e031e82426a044f5e9490aca87d7c3de38", "react-qr-code@^2.0.7": "https://registry.yarnpkg.com/react-qr-code/-/react-qr-code-2.0.7.tgz#508304e031e82426a044f5e9490aca87d7c3de38",
"react-refresh@^0.11.0": "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046", "react-refresh@^0.11.0": "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046",

@ -0,0 +1,33 @@
@react-leaflet/core Copyright 2020 Paul Le Cam and contributors (“Licensor”)
Hippocratic License Version Number: 2.1.
Purpose. The purpose of this License is for the Licensor named above to permit the Licensee (as defined below) broad permission, if consistent with Human Rights Laws and Human Rights Principles (as each is defined below), to use and work with the Software (as defined below) within the full scope of Licensor’s copyright and patent rights, if any, in the Software, while ensuring attribution and protecting the Licensor from liability.
Permission and Conditions. The Licensor grants permission by this license (“License”), free of charge, to the extent of Licensor’s rights under applicable copyright and patent law, to any person or entity (the “Licensee”) obtaining a copy of this software and associated documentation files (the “Software”), to do everything with the Software that would otherwise infringe (i) the Licensor’s copyright in the Software or (ii) any patent claims to the Software that the Licensor can license or becomes able to license, subject to all of the following terms and conditions:
- Acceptance. This License is automatically offered to every person and entity subject to its terms and conditions. Licensee accepts this License and agrees to its terms and conditions by taking any action with the Software that, absent this License, would infringe any intellectual property right held by Licensor.
- Notice. Licensee must ensure that everyone who gets a copy of any part of this Software from Licensee, with or without changes, also receives the License and the above copyright notice (and if included by the Licensor, patent, trademark and attribution notice). Licensee must cause any modified versions of the Software to carry prominent notices stating that Licensee changed the Software. For clarity, although Licensee is free to create modifications of the Software and distribute only the modified portion created by Licensee with additional or different terms, the portion of the Software not modified must be distributed pursuant to this License. If anyone notifies Licensee in writing that Licensee has not complied with this Notice section, Licensee can keep this License by taking all practical steps to comply within 30 days after the notice. If Licensee does not do so, Licensee’s License (and all rights licensed hereunder) shall end immediately.
- Compliance with Human Rights Principles and Human Rights Laws.
1. Human Rights Principles.
(a) Licensee is advised to consult the articles of the United Nations Universal Declaration of Human Rights and the United Nations Global Compact that define recognized principles of international human rights (the “Human Rights Principles”). Licensee shall use the Software in a manner consistent with Human Rights Principles.
(b) Unless the Licensor and Licensee agree otherwise, any dispute, controversy, or claim arising out of or relating to (i) Section 1(a) regarding Human Rights Principles, including the breach of Section 1(a), termination of this License for breach of the Human Rights Principles, or invalidity of Section 1(a) or (ii) a determination of whether any Law is consistent or in conflict with Human Rights Principles pursuant to Section 2, below, shall be settled by arbitration in accordance with the Hague Rules on Business and Human Rights Arbitration (the “Rules”); provided, however, that Licensee may elect not to participate in such arbitration, in which event this License (and all rights licensed hereunder) shall end immediately. The number of arbitrators shall be one unless the Rules require otherwise.
Unless both the Licensor and Licensee agree to the contrary: (1) All documents and information concerning the arbitration shall be public and may be disclosed by any party; (2) The repository referred to under Article 43 of the Rules shall make available to the public in a timely manner all documents concerning the arbitration which are communicated to it, including all submissions of the parties, all evidence admitted into the record of the proceedings, all transcripts or other recordings of hearings and all orders, decisions and awards of the arbitral tribunal, subject only to the arbitral tribunal's powers to take such measures as may be necessary to safeguard the integrity of the arbitral process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3) Article 26(6) of the Rules shall not apply.
2. Human Rights Laws. The Software shall not be used by any person or entity for any systems, activities, or other uses that violate any Human Rights Laws. “Human Rights Laws” means any applicable laws, regulations, or rules (collectively, “Laws”) that protect human, civil, labor, privacy, political, environmental, security, economic, due process, or similar rights; provided, however, that such Laws are consistent and not in conflict with Human Rights Principles (a dispute over the consistency or a conflict between Laws and Human Rights Principles shall be determined by arbitration as stated above). Where the Human Rights Laws of more than one jurisdiction are applicable or in conflict with respect to the use of the Software, the Human Rights Laws that are most protective of the individuals or groups harmed shall apply.
3. Indemnity. Licensee shall hold harmless and indemnify Licensor (and any other contributor) against all losses, damages, liabilities, deficiencies, claims, actions, judgments, settlements, interest, awards, penalties, fines, costs, or expenses of whatever kind, including Licensor’s reasonable attorneys’ fees, arising out of or relating to Licensee’s use of the Software in violation of Human Rights Laws or Human Rights Principles.
- Failure to Comply. Any failure of Licensee to act according to the terms and conditions of this License is both a breach of the License and an infringement of the intellectual property rights of the Licensor (subject to exceptions under Laws, e.g., fair use). In the event of a breach or infringement, the terms and conditions of this License may be enforced by Licensor under the Laws of any jurisdiction to which Licensee is subject. Licensee also agrees that the Licensor may enforce the terms and conditions of this License against Licensee through specific performance (or similar remedy under Laws) to the extent permitted by Laws. For clarity, except in the event of a breach of this License, infringement, or as otherwise stated in this License, Licensor may not terminate this License with Licensee.
- Enforceability and Interpretation. If any term or provision of this License is determined to be invalid, illegal, or unenforceable by a court of competent jurisdiction, then such invalidity, illegality, or unenforceability shall not affect any other term or provision of this License or invalidate or render unenforceable such term or provision in any other jurisdiction; provided, however, subject to a court modification pursuant to the immediately following sentence, if any term or provision of this License pertaining to Human Rights Laws or Human Rights Principles is deemed invalid, illegal, or unenforceable against Licensee by a court of competent jurisdiction, all rights in the Software granted to Licensee shall be deemed null and void as between Licensor and Licensee. Upon a determination that any term or provision is invalid, illegal, or unenforceable, to the extent permitted by Laws, the court may modify this License to affect the original purpose that the Software be used in compliance with Human Rights Principles and Human Rights Laws as closely as possible. The language in this License shall be interpreted as to its fair meaning and not strictly for or against any party.
- Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES “AS IS,” WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM.
This Hippocratic License is an Ethical Source license (https://ethicalsource.dev) and is offered for use by licensors and licensees at their own risk, on an “AS IS” basis, and with no warranties express or implied, to the maximum extent permitted by Laws.

@ -0,0 +1,3 @@
# React Leaflet core
[Documentation](https://react-leaflet.js.org/docs/core-introduction)

@ -0,0 +1,2 @@
import type { Map } from 'leaflet';
export declare function useAttribution(map: Map, attribution: string | null | undefined): void;

@ -0,0 +1,18 @@
import { useEffect, useRef } from 'react';
export function useAttribution(map, attribution) {
const attributionRef = useRef(attribution);
useEffect(function updateAttribution() {
if (attribution !== attributionRef.current && map.attributionControl != null) {
if (attributionRef.current != null) {
map.attributionControl.removeAttribution(attributionRef.current);
}
if (attribution != null) {
map.attributionControl.addAttribution(attribution);
}
}
attributionRef.current = attribution;
}, [
map,
attribution
]);
}

@ -0,0 +1,8 @@
import type { CircleMarker as LeafletCircleMarker, CircleMarkerOptions, LatLngExpression } from 'leaflet';
import type { ReactNode } from 'react';
import type { PathProps } from './path.js';
export interface CircleMarkerProps extends CircleMarkerOptions, PathProps {
center: LatLngExpression;
children?: ReactNode;
}
export declare function updateCircle<P extends CircleMarkerProps = CircleMarkerProps>(layer: LeafletCircleMarker, props: P, prevProps: P): void;

@ -0,0 +1,8 @@
export function updateCircle(layer, props, prevProps) {
if (props.center !== prevProps.center) {
layer.setLatLng(props.center);
}
if (props.radius != null && props.radius !== prevProps.radius) {
layer.setRadius(props.radius);
}
}

@ -0,0 +1,11 @@
import React, { type MutableRefObject, type ReactNode } from 'react';
import type { DivOverlay, DivOverlayHook } from './div-overlay.js';
import type { LeafletElement } from './element.js';
declare type ElementHook<E, P> = (props: P) => MutableRefObject<LeafletElement<E>>;
export declare type PropsWithChildren = {
children?: ReactNode;
};
export declare function createContainerComponent<E, P extends PropsWithChildren>(useElement: ElementHook<E, P>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>;
export declare function createDivOverlayComponent<E extends DivOverlay, P extends PropsWithChildren>(useElement: ReturnType<DivOverlayHook<E, P>>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>;
export declare function createLeafComponent<E, P>(useElement: ElementHook<E, P>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<E>>;
export {};

@ -0,0 +1,44 @@
import React, { forwardRef, useEffect, useImperativeHandle, useState } from 'react';
import { createPortal } from 'react-dom';
import { LeafletProvider } from './context.js';
export function createContainerComponent(useElement) {
function ContainerComponent(props, forwardedRef) {
const { instance , context } = useElement(props).current;
useImperativeHandle(forwardedRef, ()=>instance
);
return props.children == null ? null : /*#__PURE__*/ React.createElement(LeafletProvider, {
value: context
}, props.children);
}
return /*#__PURE__*/ forwardRef(ContainerComponent);
}
export function createDivOverlayComponent(useElement) {
function OverlayComponent(props, forwardedRef) {
const [isOpen, setOpen] = useState(false);
const { instance } = useElement(props, setOpen).current;
useImperativeHandle(forwardedRef, ()=>instance
);
useEffect(function updateOverlay() {
if (isOpen) {
instance.update();
}
}, [
instance,
isOpen,
props.children
]);
// @ts-ignore _contentNode missing in type definition
const contentNode = instance._contentNode;
return contentNode ? /*#__PURE__*/ createPortal(props.children, contentNode) : null;
}
return /*#__PURE__*/ forwardRef(OverlayComponent);
}
export function createLeafComponent(useElement) {
function LeafComponent(props, forwardedRef) {
const { instance } = useElement(props).current;
useImperativeHandle(forwardedRef, ()=>instance
);
return null;
}
return /*#__PURE__*/ forwardRef(LeafComponent);
}

@ -0,0 +1,33 @@
import type { Control, Layer, LayerGroup, Map } from 'leaflet';
export declare const CONTEXT_VERSION = 1;
export declare type ControlledLayer = {
addLayer(layer: Layer): void;
removeLayer(layer: Layer): void;
};
export declare type LeafletContextInterface = Readonly<{
__version: number;
map: Map;
layerContainer?: ControlledLayer | LayerGroup;
layersControl?: Control.Layers;
overlayContainer?: Layer;
pane?: string;
}>;
export declare function createLeafletContext(map: Map): LeafletContextInterface;
export declare function extendContext(source: LeafletContextInterface, extra: Partial<LeafletContextInterface>): LeafletContextInterface;
export declare const LeafletContext: import("react").Context<Readonly<{
__version: number;
map: Map;
layerContainer?: LayerGroup<any> | ControlledLayer | undefined;
layersControl?: Control.Layers | undefined;
overlayContainer?: Layer | undefined;
pane?: string | undefined;
}> | null>;
export declare const LeafletProvider: import("react").Provider<Readonly<{
__version: number;
map: Map;
layerContainer?: LayerGroup<any> | ControlledLayer | undefined;
layersControl?: Control.Layers | undefined;
overlayContainer?: Layer | undefined;
pane?: string | undefined;
}> | null>;
export declare function useLeafletContext(): LeafletContextInterface;

@ -0,0 +1,23 @@
import { createContext, useContext } from 'react';
export const CONTEXT_VERSION = 1;
export function createLeafletContext(map) {
return Object.freeze({
__version: CONTEXT_VERSION,
map
});
}
export function extendContext(source, extra) {
return Object.freeze({
...source,
...extra
});
}
export const LeafletContext = createContext(null);
export const LeafletProvider = LeafletContext.Provider;
export function useLeafletContext() {
const context = useContext(LeafletContext);
if (context == null) {
throw new Error('No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>');
}
return context;
}

@ -0,0 +1,3 @@
import { Control, type ControlOptions } from 'leaflet';
import type { ElementHook } from './element.js';
export declare function createControlHook<E extends Control, P extends ControlOptions>(useElement: ElementHook<E, P>): (props: P) => ReturnType<ElementHook<E, P>>;

@ -0,0 +1,30 @@
import { useEffect, useRef } from 'react';
import { useLeafletContext } from './context.js';
export function createControlHook(useElement) {
return function useLeafletControl(props) {
const context = useLeafletContext();
const elementRef = useElement(props, context);
const { instance } = elementRef.current;
const positionRef = useRef(props.position);
const { position } = props;
useEffect(function addControl() {
instance.addTo(context.map);
return function removeControl() {
instance.remove();
};
}, [
context.map,
instance
]);
useEffect(function updateControl() {
if (position != null && position !== positionRef.current) {
instance.setPosition(position);
positionRef.current = position;
}
}, [
instance,
position
]);
return elementRef;
};
}

@ -0,0 +1,9 @@
import type { Popup, Tooltip } from 'leaflet';
import { type LeafletContextInterface } from './context.js';
import type { LeafletElement, ElementHook } from './element.js';
import type { LayerProps } from './layer.js';
export declare type DivOverlay = Popup | Tooltip;
export declare type SetOpenFunc = (open: boolean) => void;
export declare type DivOverlayLifecycleHook<E, P> = (element: LeafletElement<E>, context: LeafletContextInterface, props: P, setOpen: SetOpenFunc) => void;
export declare type DivOverlayHook<E extends DivOverlay, P> = (useElement: ElementHook<E, P>, useLifecycle: DivOverlayLifecycleHook<E, P>) => (props: P, setOpen: SetOpenFunc) => ReturnType<ElementHook<E, P>>;
export declare function createDivOverlayHook<E extends DivOverlay, P extends LayerProps>(useElement: ElementHook<E, P>, useLifecycle: DivOverlayLifecycleHook<E, P>): (props: P, setOpen: SetOpenFunc) => ReturnType<ElementHook<E, P>>;

@ -0,0 +1,14 @@
import { useAttribution } from './attribution.js';
import { useLeafletContext } from './context.js';
import { useEventHandlers } from './events.js';
import { withPane } from './pane.js';
export function createDivOverlayHook(useElement, useLifecycle) {
return function useDivOverlay(props, setOpen) {
const context = useLeafletContext();
const elementRef = useElement(withPane(props, context), context);
useAttribution(context.map, props.attribution);
useEventHandlers(elementRef.current, props.eventHandlers);
useLifecycle(elementRef.current, context, props, setOpen);
return elementRef;
};
}

@ -0,0 +1,3 @@
export declare function addClassName(element: HTMLElement, className: string): void;
export declare function removeClassName(element: HTMLElement, className: string): void;
export declare function updateClassName(element?: HTMLElement, prevClassName?: string, nextClassName?: string): void;

@ -0,0 +1,24 @@
import { DomUtil } from 'leaflet';
function splitClassName(className) {
return className.split(' ').filter(Boolean);
}
export function addClassName(element, className) {
splitClassName(className).forEach((cls)=>{
DomUtil.addClass(element, cls);
});
}
export function removeClassName(element, className) {
splitClassName(className).forEach((cls)=>{
DomUtil.removeClass(element, cls);
});
}
export function updateClassName(element, prevClassName, nextClassName) {
if (element != null && nextClassName !== prevClassName) {
if (prevClassName != null && prevClassName.length > 0) {
removeClassName(element, prevClassName);
}
if (nextClassName != null && nextClassName.length > 0) {
addClassName(element, nextClassName);
}
}
}

@ -0,0 +1,10 @@
import { type MutableRefObject } from 'react';
import type { LeafletContextInterface } from './context.js';
export declare type LeafletElement<T, C = any> = Readonly<{
instance: T;
context: LeafletContextInterface;
container?: C | null;
}>;
export declare function createElementObject<T, C = any>(instance: T, context: LeafletContextInterface, container?: C | null): LeafletElement<T, C>;
export declare type ElementHook<E, P> = (props: P, context: LeafletContextInterface) => MutableRefObject<LeafletElement<E>>;
export declare function createElementHook<E, P, C = any>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): (props: P, context: LeafletContextInterface) => ReturnType<ElementHook<E, P>>;

@ -0,0 +1,31 @@
import { useEffect, useRef } from 'react';
export function createElementObject(instance, context, container) {
return Object.freeze({
instance,
context,
container
});
}
export function createElementHook(createElement, updateElement) {
if (updateElement == null) {
return function useImmutableLeafletElement(props, context) {
return useRef(createElement(props, context));
};
}
return function useMutableLeafletElement(props, context) {
const elementRef = useRef(createElement(props, context));
const propsRef = useRef(props);
const { instance } = elementRef.current;
useEffect(function updateElementProps() {
if (propsRef.current !== props) {
updateElement(instance, props, propsRef.current);
propsRef.current = props;
}
}, [
instance,
props,
context
]);
return elementRef;
};
}

@ -0,0 +1,6 @@
import type { Evented, LeafletEventHandlerFnMap } from 'leaflet';
import type { LeafletElement } from './element.js';
export declare type EventedProps = {
eventHandlers?: LeafletEventHandlerFnMap;
};
export declare function useEventHandlers(element: LeafletElement<Evented>, eventHandlers: LeafletEventHandlerFnMap | null | undefined): void;

@ -0,0 +1,19 @@
import { useEffect, useRef } from 'react';
export function useEventHandlers(element, eventHandlers) {
const eventHandlersRef = useRef();
useEffect(function addEventHandlers() {
if (eventHandlers != null) {
element.instance.on(eventHandlers);
}
eventHandlersRef.current = eventHandlers;
return function removeEventHandlers() {
if (eventHandlersRef.current != null) {
element.instance.off(eventHandlersRef.current);
}
eventHandlersRef.current = null;
};
}, [
element,
eventHandlers
]);
}

@ -0,0 +1,17 @@
import type { Control, ControlOptions, FeatureGroup, Layer, Path } from 'leaflet';
import { type PropsWithChildren } from './component.js';
import type { LeafletContextInterface } from './context.js';
import { type LeafletElement } from './element.js';
import { type LayerProps } from './layer.js';
import { type DivOverlay, type DivOverlayLifecycleHook } from './div-overlay.js';
import { type PathProps } from './path.js';
interface LayerWithChildrenProps extends LayerProps, PropsWithChildren {
}
interface PathWithChildrenProps extends PathProps, PropsWithChildren {
}
export declare function createControlComponent<E extends Control, P extends ControlOptions>(createInstance: (props: P) => E): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
export declare function createLayerComponent<E extends Layer, P extends LayerWithChildrenProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
export declare function createOverlayComponent<E extends DivOverlay, P extends LayerWithChildrenProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, useLifecycle: DivOverlayLifecycleHook<E, P>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
export declare function createPathComponent<E extends FeatureGroup | Path, P extends PathWithChildrenProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
export declare function createTileLayerComponent<E extends Layer, P extends LayerProps>(createElement: (props: P, context: LeafletContextInterface) => LeafletElement<E>, updateElement?: (instance: E, props: P, prevProps: P) => void): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<E>>;
export {};

@ -0,0 +1,34 @@
import { createContainerComponent, createDivOverlayComponent, createLeafComponent } from './component.js';
import { createControlHook } from './control.js';
import { createElementHook, createElementObject } from './element.js';
import { createLayerHook } from './layer.js';
import { createDivOverlayHook } from './div-overlay.js';
import { createPathHook } from './path.js';
export function createControlComponent(createInstance) {
function createElement(props, context) {
return createElementObject(createInstance(props), context);
}
const useElement = createElementHook(createElement);
const useControl = createControlHook(useElement);
return createLeafComponent(useControl);
}
export function createLayerComponent(createElement, updateElement) {
const useElement = createElementHook(createElement, updateElement);
const useLayer = createLayerHook(useElement);
return createContainerComponent(useLayer);
}
export function createOverlayComponent(createElement, useLifecycle) {
const useElement = createElementHook(createElement);
const useOverlay = createDivOverlayHook(useElement, useLifecycle);
return createDivOverlayComponent(useOverlay);
}
export function createPathComponent(createElement, updateElement) {
const useElement = createElementHook(createElement, updateElement);
const usePath = createPathHook(useElement);
return createContainerComponent(usePath);
}
export function createTileLayerComponent(createElement, updateElement) {
const useElement = createElementHook(createElement, updateElement);
const useLayer = createLayerHook(useElement);
return createLeafComponent(useLayer);
}

@ -0,0 +1,2 @@
import type { GridLayer, GridLayerOptions } from 'leaflet';
export declare function updateGridLayer<E extends GridLayer, P extends GridLayerOptions>(layer: E, props: P, prevProps: P): void;

@ -0,0 +1,9 @@
export function updateGridLayer(layer, props, prevProps) {
const { opacity , zIndex } = props;
if (opacity != null && opacity !== prevProps.opacity) {
layer.setOpacity(opacity);
}
if (zIndex != null && zIndex !== prevProps.zIndex) {
layer.setZIndex(zIndex);
}
}

@ -0,0 +1,15 @@
export { useAttribution } from './attribution.js';
export { type CircleMarkerProps, updateCircle } from './circle.js';
export { createContainerComponent, createDivOverlayComponent, createLeafComponent, } from './component.js';
export { CONTEXT_VERSION, type LeafletContextInterface, LeafletContext, LeafletProvider, createLeafletContext, extendContext, useLeafletContext, } from './context.js';
export { createControlHook } from './control.js';
export { type DivOverlayHook, type DivOverlayLifecycleHook, type SetOpenFunc, createDivOverlayHook, } from './div-overlay.js';
export { addClassName, removeClassName, updateClassName } from './dom.js';
export { type ElementHook, type LeafletElement, createElementHook, createElementObject, } from './element.js';
export { type EventedProps, useEventHandlers } from './events.js';
export { createControlComponent, createLayerComponent, createOverlayComponent, createPathComponent, createTileLayerComponent, } from './generic.js';
export { updateGridLayer } from './grid-layer.js';
export { type InteractiveLayerProps, type LayerProps, createLayerHook, useLayerLifecycle, } from './layer.js';
export { type MediaOverlayProps, updateMediaOverlay } from './media-overlay.js';
export { withPane } from './pane.js';
export { type PathProps, createPathHook, usePathOptions } from './path.js';

@ -0,0 +1,15 @@
export { useAttribution } from './attribution.js';
export { updateCircle } from './circle.js';
export { createContainerComponent, createDivOverlayComponent, createLeafComponent } from './component.js';
export { CONTEXT_VERSION, LeafletContext, LeafletProvider, createLeafletContext, extendContext, useLeafletContext } from './context.js';
export { createControlHook } from './control.js';
export { createDivOverlayHook } from './div-overlay.js';
export { addClassName, removeClassName, updateClassName } from './dom.js';
export { createElementHook, createElementObject } from './element.js';
export { useEventHandlers } from './events.js';
export { createControlComponent, createLayerComponent, createOverlayComponent, createPathComponent, createTileLayerComponent } from './generic.js';
export { updateGridLayer } from './grid-layer.js';
export { createLayerHook, useLayerLifecycle } from './layer.js';
export { updateMediaOverlay } from './media-overlay.js';
export { withPane } from './pane.js';
export { createPathHook, usePathOptions } from './path.js';

@ -0,0 +1,10 @@
import type { InteractiveLayerOptions, Layer, LayerOptions } from 'leaflet';
import { type LeafletContextInterface } from './context.js';
import type { LeafletElement, ElementHook } from './element.js';
import { type EventedProps } from './events.js';
export interface LayerProps extends EventedProps, LayerOptions {
}
export interface InteractiveLayerProps extends LayerProps, InteractiveLayerOptions {
}
export declare function useLayerLifecycle(element: LeafletElement<Layer>, context: LeafletContextInterface): void;
export declare function createLayerHook<E extends Layer, P extends LayerProps>(useElement: ElementHook<E, P>): (props: P) => ReturnType<ElementHook<E, P>>;

@ -0,0 +1,28 @@
import { useEffect } from 'react';
import { useAttribution } from './attribution.js';
import { useLeafletContext } from './context.js';
import { useEventHandlers } from './events.js';
import { withPane } from './pane.js';
export function useLayerLifecycle(element, context) {
useEffect(function addLayer() {
const container = context.layerContainer ?? context.map;
container.addLayer(element.instance);
return function removeLayer() {
context.layerContainer?.removeLayer(element.instance);
context.map.removeLayer(element.instance);
};
}, [
context,
element
]);
}
export function createLayerHook(useElement) {
return function useLayer(props) {
const context = useLeafletContext();
const elementRef = useElement(withPane(props, context), context);
useAttribution(context.map, props.attribution);
useEventHandlers(elementRef.current, props.eventHandlers);
useLayerLifecycle(elementRef.current, context);
return elementRef;
};
}

@ -0,0 +1,6 @@
import { type LatLngBoundsExpression, type ImageOverlay as LeafletImageOverlay, type ImageOverlayOptions, type SVGOverlay as LeafletSVGOverlay, type VideoOverlay as LeafletVideoOverlay } from 'leaflet';
import type { InteractiveLayerProps } from './layer.js';
export interface MediaOverlayProps extends ImageOverlayOptions, InteractiveLayerProps {
bounds: LatLngBoundsExpression;
}
export declare function updateMediaOverlay<E extends LeafletImageOverlay | LeafletSVGOverlay | LeafletVideoOverlay, P extends MediaOverlayProps>(overlay: E, props: P, prevProps: P): void;

@ -0,0 +1,13 @@
import { LatLngBounds } from 'leaflet';
export function updateMediaOverlay(overlay, props, prevProps) {
if (props.bounds instanceof LatLngBounds && props.bounds !== prevProps.bounds) {
overlay.setBounds(props.bounds);
}
if (props.opacity != null && props.opacity !== prevProps.opacity) {
overlay.setOpacity(props.opacity);
}
if (props.zIndex != null && props.zIndex !== prevProps.zIndex) {
// @ts-ignore missing in definition but inherited from ImageOverlay
overlay.setZIndex(props.zIndex);
}
}

@ -0,0 +1,3 @@
import type { LayerOptions } from 'leaflet';
import type { LeafletContextInterface } from './context.js';
export declare function withPane<P extends LayerOptions>(props: P, context: LeafletContextInterface): P;

@ -0,0 +1,7 @@
export function withPane(props, context) {
const pane = props.pane ?? context.pane;
return pane ? {
...props,
pane
} : props;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save