diff --git a/node_modules/.cache/.eslintcache b/node_modules/.cache/.eslintcache
index daa65b4e..249f6583 100644
--- a/node_modules/.cache/.eslintcache
+++ b/node_modules/.cache/.eslintcache
@@ -1 +1 @@
-[{"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/index.js":"1","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js":"2","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/reportWebVitals.js":"3","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUs/index.js":"4","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js":"5","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/BoxNextToEachOther/index.js":"6","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/RoomCardInfo/index.js":"7","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DistributedData/index.js":"8","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUsInfoCard/index.js":"9","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ReligiousTimes/index.js":"10","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Button/index.js":"11","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/FormInput/index.js":"12","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/index.js":"13","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js":"14","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/Input.js":"15","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DateRangePicker/index.js":"16","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSelectBox/index.js":"17","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSwitch/index.js":"18","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/DateTime/index.js":"19","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/HorizontalTextDivider/index.js":"20","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/ProfileInfo/index.js":"21","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/fixNumbers.js":"22","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentTime/index.js":"23","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentDateShamsi/index.js":"24","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js":"25","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign1/index.js":"26","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast/index.js":"27","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/IconText/index.js":"28","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/TitleSubtitle/index.js":"29","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign3/index.js":"30","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast2/index.js":"31","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/SearchBox/index.js":"32","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign2/index.js":"33","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ButtonDivTag/index.js":"34","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js":"35"},{"size":487,"mtime":1659603603609,"results":"36","hashOfConfig":"37"},{"size":543,"mtime":1659614897305,"results":"38","hashOfConfig":"37"},{"size":362,"mtime":1657010915301,"results":"39","hashOfConfig":"37"},{"size":550,"mtime":1659248415210,"results":"40","hashOfConfig":"37"},{"size":1914,"mtime":1659296213130,"results":"41","hashOfConfig":"37"},{"size":1565,"mtime":1659290521337,"results":"42","hashOfConfig":"37"},{"size":1466,"mtime":1659210452590,"results":"43","hashOfConfig":"37"},{"size":2448,"mtime":1659290797172,"results":"44","hashOfConfig":"37"},{"size":1909,"mtime":1659210437404,"results":"45","hashOfConfig":"37"},{"size":1141,"mtime":1659290786467,"results":"46","hashOfConfig":"37"},{"size":990,"mtime":1657432674268,"results":"47","hashOfConfig":"37"},{"size":3649,"mtime":1659614529541,"results":"48","hashOfConfig":"37"},{"size":441,"mtime":1659290777410,"results":"49","hashOfConfig":"37"},{"size":2953,"mtime":1659287041693,"results":"50","hashOfConfig":"37"},{"size":2587,"mtime":1659270739901,"results":"51","hashOfConfig":"37"},{"size":1788,"mtime":1657611566992,"results":"52","hashOfConfig":"37"},{"size":608,"mtime":1657613668288,"results":"53","hashOfConfig":"37"},{"size":1923,"mtime":1657440765149,"results":"54","hashOfConfig":"37"},{"size":522,"mtime":1657434962806,"results":"55","hashOfConfig":"37"},{"size":565,"mtime":1659271142385,"results":"56","hashOfConfig":"37"},{"size":1414,"mtime":1657434935090,"results":"57","hashOfConfig":"37"},{"size":474,"mtime":1657440246924,"results":"58","hashOfConfig":"37"},{"size":375,"mtime":1657434901885,"results":"59","hashOfConfig":"37"},{"size":667,"mtime":1657434876823,"results":"60","hashOfConfig":"37"},{"size":8011,"mtime":1659295124579,"results":"61","hashOfConfig":"37"},{"size":580,"mtime":1659615350300,"results":"62","hashOfConfig":"37"},{"size":494,"mtime":1659600181493,"results":"63","hashOfConfig":"37"},{"size":643,"mtime":1659600158484,"results":"64","hashOfConfig":"37"},{"size":1213,"mtime":1659599668644,"results":"65","hashOfConfig":"37"},{"size":1050,"mtime":1659602857987,"results":"66","hashOfConfig":"37"},{"size":3575,"mtime":1659600462499,"results":"67","hashOfConfig":"37"},{"size":1382,"mtime":1659600474043,"results":"68","hashOfConfig":"37"},{"size":3143,"mtime":1659615826112,"results":"69","hashOfConfig":"37"},{"size":574,"mtime":1659603460996,"results":"70","hashOfConfig":"37"},{"size":515,"mtime":1659615837390,"results":"71","hashOfConfig":"37"},{"filePath":"72","messages":"73","suppressedMessages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"chbpuq",{"filePath":"75","messages":"76","suppressedMessages":"77","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"82","messages":"83","suppressedMessages":"84","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"85","messages":"86","suppressedMessages":"87","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"88","usedDeprecatedRules":"81"},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"116","usedDeprecatedRules":"81"},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"123","usedDeprecatedRules":"81"},{"filePath":"124","messages":"125","suppressedMessages":"126","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"127","messages":"128","suppressedMessages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"130","messages":"131","suppressedMessages":"132","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"133","messages":"134","suppressedMessages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"136","messages":"137","suppressedMessages":"138","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"139","usedDeprecatedRules":"81"},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"146","usedDeprecatedRules":"81"},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":"153","usedDeprecatedRules":"81"},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"81"},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js",["184","185","186"],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/reportWebVitals.js",[],[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUs/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js",["187","188","189"],[],"import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n
\n {/* title / subtitle */}\n
\n {title}\n \n
\n {subTitle}\n
\n
\n {/* form input اینجارو از کامنت در بیارید */}\n
\n
\n \n \n \n
\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/BoxNextToEachOther/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/RoomCardInfo/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DistributedData/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUsInfoCard/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ReligiousTimes/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Button/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/FormInput/index.js",["190"],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js",["191"],[],"import React from \"react\";\nimport Input from \"../AnimatedInput/Input\";\nimport { useForm } from \"react-hook-form\";\nimport Button from \"../Button\";\nimport HorizontalTextDivider from \"../HorizontalTextDivider\";\n\nconst Login = () => {\n const { register, getValues } = useForm();\n\n return (\n
\n {/* right */}\n
\n {/* logo && site title */}\n
\n {/* logo */}\n
\n {/* name */}\n
\n
رزرو
\n
\n سامانه رزرواسیون خدام و زوار موکب مرکز\n
\n
\n
\n {/* user logo && user title */}\n
\n {/* logo */}\n
\n {/* divider */}\n
\n {/* name */}\n
ورود زوار و خادمین محترم
\n
\n {/* divider */}\n
\n
\n
\n
\n
{\" \"}\n
\n
\n {/* divider */}\n
\n {/* left */}\n
\n
\n
\n
\n );\n};\n\nexport default Login;\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/Input.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DateRangePicker/index.js",["192"],[],"// it has style inside index.scss ---> // Start DateRangePicker && end DateRangePicker\n\nimport React, { useEffect } from \"react\";\nimport DatePicker from \"react-multi-date-picker\";\nimport \"./index.scss\";\n\nimport persian from \"react-date-object/calendars/persian\";\nimport persian_fa from \"react-date-object/locales/persian_fa\";\n\nconst weekDays = [\n \"شنبه\",\n \"یکشنبه\",\n \"دوشنبه\",\n \"سشنبه\",\n \"چهارشنبه\",\n \"پنجشنبه\",\n \"جمعه\",\n];\n\nfunction CustomRangeInput({ openCalendar, value }) {\n useEffect(() => {\n openCalendar();\n }, []);\n\n return (\n \n );\n}\n\nconst DateRangePicker = () => {\n return (\n \n false}\n arrow={false}\n minDate={new Date()}\n render={ }\n weekDays={weekDays}\n />\n
\n );\n};\n\nexport default DateRangePicker;\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSelectBox/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSwitch/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/DateTime/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/HorizontalTextDivider/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/ProfileInfo/index.js",["193"],[],"import React from \"react\";\n\nconst ProfileInfo = ({ name, role }) => {\n return (\n \n
\n
\n {/* dropdown */}\n
\n \n \n
\n
\n );\n};\n\nexport default ProfileInfo;\n\nProfileInfo.defaultProps = {\n name: \"سبحان قاسمی\",\n role: \"خادم محترم\",\n};\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/fixNumbers.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentTime/index.js",["194"],[],"import React from \"react\";\n\nconst CurrentTime = ({ className }) => {\n const today = new Date(),\n time =\n today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n {\n console.log(time);\n }\n return {time}
;\n};\n\nexport default CurrentTime;\n\nCurrentTime.defaultProps = {\n className: \"text-sm\",\n};\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentDateShamsi/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js",["195","196","197","198","199","200"],[],"// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100vh\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign1/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/IconText/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/TitleSubtitle/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign3/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast2/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/SearchBox/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign2/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ButtonDivTag/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js",[],[],{"ruleId":"201","severity":1,"message":"202","line":2,"column":8,"nodeType":"203","messageId":"204","endLine":2,"endColumn":16},{"ruleId":"201","severity":1,"message":"205","line":3,"column":8,"nodeType":"203","messageId":"204","endLine":3,"endColumn":17},{"ruleId":"201","severity":1,"message":"206","line":4,"column":8,"nodeType":"203","messageId":"204","endLine":4,"endColumn":18},{"ruleId":"201","severity":1,"message":"207","line":4,"column":8,"nodeType":"203","messageId":"204","endLine":4,"endColumn":26},{"ruleId":"201","severity":1,"message":"208","line":5,"column":8,"nodeType":"203","messageId":"204","endLine":5,"endColumn":14},{"ruleId":"201","severity":1,"message":"209","line":10,"column":8,"nodeType":"203","messageId":"204","endLine":10,"endColumn":13},{"ruleId":"201","severity":1,"message":"210","line":13,"column":21,"nodeType":"203","messageId":"204","endLine":13,"endColumn":30},{"ruleId":"201","severity":1,"message":"210","line":8,"column":21,"nodeType":"203","messageId":"204","endLine":8,"endColumn":30},{"ruleId":"211","severity":1,"message":"212","line":23,"column":6,"nodeType":"213","endLine":23,"endColumn":8,"suggestions":"214"},{"ruleId":"215","severity":1,"message":"216","line":36,"column":13,"nodeType":"217","endLine":39,"endColumn":14},{"ruleId":"218","severity":1,"message":"219","line":7,"column":3,"nodeType":"220","messageId":"221","endLine":9,"endColumn":4},{"ruleId":"201","severity":1,"message":"222","line":3,"column":35,"nodeType":"203","messageId":"204","endLine":3,"endColumn":42},{"ruleId":"201","severity":1,"message":"223","line":9,"column":3,"nodeType":"203","messageId":"204","endLine":9,"endColumn":12},{"ruleId":"201","severity":1,"message":"224","line":29,"column":7,"nodeType":"203","messageId":"204","endLine":29,"endColumn":12},{"ruleId":"201","severity":1,"message":"225","line":168,"column":10,"nodeType":"203","messageId":"204","endLine":168,"endColumn":21},{"ruleId":"201","severity":1,"message":"226","line":169,"column":9,"nodeType":"203","messageId":"204","endLine":169,"endColumn":12},{"ruleId":"201","severity":1,"message":"227","line":191,"column":9,"nodeType":"203","messageId":"204","endLine":191,"endColumn":17},"no-unused-vars","'Homepage' is defined but never used.","Identifier","unusedVar","'ContactUs' is defined but never used.","'LeafletMap' is defined but never used.","'BoxNextToEachOther' is defined but never used.","'Button' is defined but never used.","'Login' is defined but never used.","'getValues' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'openCalendar'. Either include it or remove the dependency array. If 'openCalendar' changes too often, find the parent component that defines it and wrap that definition in useCallback.","ArrayExpression",["228"],"jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md","JSXOpeningElement","no-lone-blocks","Nested block is redundant.","BlockStatement","redundantNestedBlock","'useMemo' is defined but never used.","'Rectangle' is defined but never used.","'pinMB' is assigned a value but never used.","'MyComponent' is defined but never used.","'map' is assigned a value but never used.","'location' is assigned a value but never used.",{"desc":"229","fix":"230"},"Update the dependencies array to be: [openCalendar]",{"range":"231","text":"232"},[530,532],"[openCalendar]"]
\ No newline at end of file
+[{"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/index.js":"1","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js":"2","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/reportWebVitals.js":"3","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUs/index.js":"4","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js":"5","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/BoxNextToEachOther/index.js":"6","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/RoomCardInfo/index.js":"7","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DistributedData/index.js":"8","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUsInfoCard/index.js":"9","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ReligiousTimes/index.js":"10","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Button/index.js":"11","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/FormInput/index.js":"12","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/index.js":"13","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js":"14","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/Input.js":"15","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DateRangePicker/index.js":"16","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSelectBox/index.js":"17","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSwitch/index.js":"18","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/DateTime/index.js":"19","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/HorizontalTextDivider/index.js":"20","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/ProfileInfo/index.js":"21","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/fixNumbers.js":"22","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentTime/index.js":"23","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentDateShamsi/index.js":"24","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js":"25","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign1/index.js":"26","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast/index.js":"27","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/IconText/index.js":"28","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/TitleSubtitle/index.js":"29","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign3/index.js":"30","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast2/index.js":"31","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/SearchBox/index.js":"32","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign2/index.js":"33","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ButtonDivTag/index.js":"34","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js":"35","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/redux/store.js":"36"},{"size":487,"mtime":1659603603609,"results":"37","hashOfConfig":"38"},{"size":437,"mtime":1659628479307,"results":"39","hashOfConfig":"38"},{"size":362,"mtime":1657010915301,"results":"40","hashOfConfig":"38"},{"size":550,"mtime":1659248415210,"results":"41","hashOfConfig":"38"},{"size":2012,"mtime":1659627172347,"results":"42","hashOfConfig":"38"},{"size":1565,"mtime":1659290521337,"results":"43","hashOfConfig":"38"},{"size":1466,"mtime":1659210452590,"results":"44","hashOfConfig":"38"},{"size":2448,"mtime":1659290797172,"results":"45","hashOfConfig":"38"},{"size":1909,"mtime":1659210437404,"results":"46","hashOfConfig":"38"},{"size":1141,"mtime":1659290786467,"results":"47","hashOfConfig":"38"},{"size":990,"mtime":1657432674268,"results":"48","hashOfConfig":"38"},{"size":3649,"mtime":1659614529541,"results":"49","hashOfConfig":"38"},{"size":441,"mtime":1659290777410,"results":"50","hashOfConfig":"38"},{"size":2953,"mtime":1659287041693,"results":"51","hashOfConfig":"38"},{"size":2587,"mtime":1659270739901,"results":"52","hashOfConfig":"38"},{"size":1788,"mtime":1657611566992,"results":"53","hashOfConfig":"38"},{"size":608,"mtime":1657613668288,"results":"54","hashOfConfig":"38"},{"size":1923,"mtime":1657440765149,"results":"55","hashOfConfig":"38"},{"size":522,"mtime":1657434962806,"results":"56","hashOfConfig":"38"},{"size":565,"mtime":1659271142385,"results":"57","hashOfConfig":"38"},{"size":1414,"mtime":1657434935090,"results":"58","hashOfConfig":"38"},{"size":474,"mtime":1657440246924,"results":"59","hashOfConfig":"38"},{"size":375,"mtime":1657434901885,"results":"60","hashOfConfig":"38"},{"size":667,"mtime":1657434876823,"results":"61","hashOfConfig":"38"},{"size":8011,"mtime":1659627126449,"results":"62","hashOfConfig":"38"},{"size":580,"mtime":1659615350300,"results":"63","hashOfConfig":"38"},{"size":494,"mtime":1659600181493,"results":"64","hashOfConfig":"38"},{"size":643,"mtime":1659600158484,"results":"65","hashOfConfig":"38"},{"size":1213,"mtime":1659599668644,"results":"66","hashOfConfig":"38"},{"size":1050,"mtime":1659602857987,"results":"67","hashOfConfig":"38"},{"size":3575,"mtime":1659600462499,"results":"68","hashOfConfig":"38"},{"size":1382,"mtime":1659600474043,"results":"69","hashOfConfig":"38"},{"size":3143,"mtime":1659615826112,"results":"70","hashOfConfig":"38"},{"size":574,"mtime":1659603460996,"results":"71","hashOfConfig":"38"},{"size":773,"mtime":1659628046222,"results":"72","hashOfConfig":"38"},{"size":782,"mtime":1659628579119,"results":"73","hashOfConfig":"38"},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"chbpuq",{"filePath":"77","messages":"78","suppressedMessages":"79","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"87","messages":"88","suppressedMessages":"89","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"90","messages":"91","suppressedMessages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"93","messages":"94","suppressedMessages":"95","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"96","messages":"97","suppressedMessages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"99","messages":"100","suppressedMessages":"101","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"102","messages":"103","suppressedMessages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"105","messages":"106","suppressedMessages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"108","messages":"109","suppressedMessages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","suppressedMessages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"117","usedDeprecatedRules":"83"},{"filePath":"118","messages":"119","suppressedMessages":"120","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"121","messages":"122","suppressedMessages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"124","usedDeprecatedRules":"83"},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"140","usedDeprecatedRules":"83"},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"147","usedDeprecatedRules":"83"},{"filePath":"148","messages":"149","suppressedMessages":"150","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"151","messages":"152","suppressedMessages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"154","messages":"155","suppressedMessages":"156","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"157","messages":"158","suppressedMessages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"83"},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js",["187","188"],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/reportWebVitals.js",[],[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUs/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js",["189","190","191","192","193","194"],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/BoxNextToEachOther/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/RoomCardInfo/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DistributedData/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ContactUsInfoCard/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ReligiousTimes/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Button/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/FormInput/index.js",["195"],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js",["196"],[],"import React from \"react\";\nimport Input from \"../AnimatedInput/Input\";\nimport { useForm } from \"react-hook-form\";\nimport Button from \"../Button\";\nimport HorizontalTextDivider from \"../HorizontalTextDivider\";\n\nconst Login = () => {\n const { register, getValues } = useForm();\n\n return (\n \n {/* right */}\n
\n {/* logo && site title */}\n
\n {/* logo */}\n
\n {/* name */}\n
\n
رزرو
\n
\n سامانه رزرواسیون خدام و زوار موکب مرکز\n
\n
\n
\n {/* user logo && user title */}\n
\n {/* logo */}\n
\n {/* divider */}\n
\n {/* name */}\n
ورود زوار و خادمین محترم
\n
\n {/* divider */}\n
\n
\n
\n
\n
{\" \"}\n
\n
\n {/* divider */}\n
\n {/* left */}\n
\n
\n
\n
\n );\n};\n\nexport default Login;\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/Input.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/DateRangePicker/index.js",["197"],[],"// it has style inside index.scss ---> // Start DateRangePicker && end DateRangePicker\n\nimport React, { useEffect } from \"react\";\nimport DatePicker from \"react-multi-date-picker\";\nimport \"./index.scss\";\n\nimport persian from \"react-date-object/calendars/persian\";\nimport persian_fa from \"react-date-object/locales/persian_fa\";\n\nconst weekDays = [\n \"شنبه\",\n \"یکشنبه\",\n \"دوشنبه\",\n \"سشنبه\",\n \"چهارشنبه\",\n \"پنجشنبه\",\n \"جمعه\",\n];\n\nfunction CustomRangeInput({ openCalendar, value }) {\n useEffect(() => {\n openCalendar();\n }, []);\n\n return (\n \n );\n}\n\nconst DateRangePicker = () => {\n return (\n \n false}\n arrow={false}\n minDate={new Date()}\n render={ }\n weekDays={weekDays}\n />\n
\n );\n};\n\nexport default DateRangePicker;\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSelectBox/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomSwitch/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/DateTime/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/HorizontalTextDivider/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/ProfileInfo/index.js",["198"],[],"import React from \"react\";\n\nconst ProfileInfo = ({ name, role }) => {\n return (\n \n
\n
\n {/* dropdown */}\n
\n \n \n
\n
\n );\n};\n\nexport default ProfileInfo;\n\nProfileInfo.defaultProps = {\n name: \"سبحان قاسمی\",\n role: \"خادم محترم\",\n};\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/AnimatedInput/fixNumbers.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentTime/index.js",["199"],[],"import React from \"react\";\n\nconst CurrentTime = ({ className }) => {\n const today = new Date(),\n time =\n today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n {\n console.log(time);\n }\n return {time}
;\n};\n\nexport default CurrentTime;\n\nCurrentTime.defaultProps = {\n className: \"text-sm\",\n};\n","/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentDateShamsi/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js",["200","201","202","203","204","205"],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign1/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/IconText/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/TitleSubtitle/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign3/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast2/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/SearchBox/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CardDesign2/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ButtonDivTag/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js",[],[],"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/redux/store.js",["206"],[],{"ruleId":"207","severity":1,"message":"208","line":4,"column":8,"nodeType":"209","messageId":"210","endLine":4,"endColumn":17},{"ruleId":"207","severity":1,"message":"211","line":5,"column":8,"nodeType":"209","messageId":"210","endLine":5,"endColumn":18},{"ruleId":"207","severity":1,"message":"212","line":4,"column":8,"nodeType":"209","messageId":"210","endLine":4,"endColumn":26},{"ruleId":"207","severity":1,"message":"213","line":5,"column":8,"nodeType":"209","messageId":"210","endLine":5,"endColumn":14},{"ruleId":"207","severity":1,"message":"214","line":7,"column":8,"nodeType":"209","messageId":"210","endLine":7,"endColumn":22},{"ruleId":"207","severity":1,"message":"215","line":8,"column":8,"nodeType":"209","messageId":"210","endLine":8,"endColumn":23},{"ruleId":"207","severity":1,"message":"216","line":9,"column":8,"nodeType":"209","messageId":"210","endLine":9,"endColumn":17},{"ruleId":"207","severity":1,"message":"217","line":10,"column":8,"nodeType":"209","messageId":"210","endLine":10,"endColumn":13},{"ruleId":"207","severity":1,"message":"218","line":13,"column":21,"nodeType":"209","messageId":"210","endLine":13,"endColumn":30},{"ruleId":"207","severity":1,"message":"218","line":8,"column":21,"nodeType":"209","messageId":"210","endLine":8,"endColumn":30},{"ruleId":"219","severity":1,"message":"220","line":23,"column":6,"nodeType":"221","endLine":23,"endColumn":8,"suggestions":"222"},{"ruleId":"223","severity":1,"message":"224","line":36,"column":13,"nodeType":"225","endLine":39,"endColumn":14},{"ruleId":"226","severity":1,"message":"227","line":7,"column":3,"nodeType":"228","messageId":"229","endLine":9,"endColumn":4},{"ruleId":"207","severity":1,"message":"230","line":3,"column":35,"nodeType":"209","messageId":"210","endLine":3,"endColumn":42},{"ruleId":"207","severity":1,"message":"231","line":9,"column":3,"nodeType":"209","messageId":"210","endLine":9,"endColumn":12},{"ruleId":"207","severity":1,"message":"232","line":29,"column":7,"nodeType":"209","messageId":"210","endLine":29,"endColumn":12},{"ruleId":"207","severity":1,"message":"233","line":168,"column":10,"nodeType":"209","messageId":"210","endLine":168,"endColumn":21},{"ruleId":"207","severity":1,"message":"234","line":169,"column":9,"nodeType":"209","messageId":"210","endLine":169,"endColumn":12},{"ruleId":"207","severity":1,"message":"235","line":191,"column":9,"nodeType":"209","messageId":"210","endLine":191,"endColumn":17},{"ruleId":"236","severity":1,"message":"237","line":22,"column":1,"nodeType":"238","endLine":31,"endColumn":3},"no-unused-vars","'ContactUs' is defined but never used.","Identifier","unusedVar","'LeafletMap' is defined but never used.","'BoxNextToEachOther' is defined but never used.","'Button' is defined but never used.","'ReligiousTimes' is defined but never used.","'DistributedData' is defined but never used.","'FormInput' is defined but never used.","'Login' is defined but never used.","'getValues' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'openCalendar'. Either include it or remove the dependency array. If 'openCalendar' changes too often, find the parent component that defines it and wrap that definition in useCallback.","ArrayExpression",["239"],"jsx-a11y/anchor-is-valid","The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md","JSXOpeningElement","no-lone-blocks","Nested block is redundant.","BlockStatement","redundantNestedBlock","'useMemo' is defined but never used.","'Rectangle' is defined but never used.","'pinMB' is assigned a value but never used.","'MyComponent' is defined but never used.","'map' is assigned a value but never used.","'location' is assigned a value but never used.","import/no-anonymous-default-export","Assign arrow function to a variable before exporting as module default","ExportDefaultDeclaration",{"desc":"240","fix":"241"},"Update the dependencies array to be: [openCalendar]",{"range":"242","text":"243"},[530,532],"[openCalendar]"]
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/079811da5f7ca400009c23611852cb90.json b/node_modules/.cache/babel-loader/079811da5f7ca400009c23611852cb90.json
new file mode 100644
index 00000000..ec25f4ca
--- /dev/null
+++ b/node_modules/.cache/babel-loader/079811da5f7ca400009c23611852cb90.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"self-end\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS,EAAC;IAA9C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/0cf01ddee3b18bc22c086169219a5813.json b/node_modules/.cache/babel-loader/0cf01ddee3b18bc22c086169219a5813.json
new file mode 100644
index 00000000..70ae85ea
--- /dev/null
+++ b/node_modules/.cache/babel-loader/0cf01ddee3b18bc22c086169219a5813.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE;IAAf;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/0dace0f2dad22c85e3b62ef7d84a8e54.json b/node_modules/.cache/babel-loader/0dace0f2dad22c85e3b62ef7d84a8e54.json
new file mode 100644
index 00000000..38ee7e7c
--- /dev/null
+++ b/node_modules/.cache/babel-loader/0dace0f2dad22c85e3b62ef7d84a8e54.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE;IAAf;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/0e828432f1ce1fe68d3965f9f2a02c93.json b/node_modules/.cache/babel-loader/0e828432f1ce1fe68d3965f9f2a02c93.json
new file mode 100644
index 00000000..95a93b6d
--- /dev/null
+++ b/node_modules/.cache/babel-loader/0e828432f1ce1fe68d3965f9f2a02c93.json
@@ -0,0 +1 @@
+{"ast":null,"code":"import \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\";\nimport CreateMap from \"./components/CreateMap\"; // import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return (\n /*#__PURE__*/\n // \n // \n // \n _jsxDEV(_Fragment, {}, 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","CreateMap","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\";\nimport CreateMap from \"./components/CreateMap\";\n// import { Provider } from \"react-redux\";\n// import store from \"./redux/store\";\n\nfunction App() {\n return (\n // \n // \n // \n <>\n {/* */}\n {/* */}\n {/* */}\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;AACA,OAAOC,SAAP,MAAsB,wBAAtB,C,CACA;AACA;;;;;AAEA,SAASC,GAAT,GAAe;EACb;IAAA;IACE;IACA;IACA;IACA;EAJF;AAUD;;KAXQA,G;AAaT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/1a0dcba871c0e8a1a94b0edee0ecca97.json b/node_modules/.cache/babel-loader/1a0dcba871c0e8a1a94b0edee0ecca97.json
new file mode 100644
index 00000000..242cda42
--- /dev/null
+++ b/node_modules/.cache/babel-loader/1a0dcba871c0e8a1a94b0edee0ecca97.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"self-end bg-sec\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS,EAAC;IAA9C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/2a1b914272bda57e93c484985b484257.json b/node_modules/.cache/babel-loader/2a1b914272bda57e93c484985b484257.json
new file mode 100644
index 00000000..dd125f2a
--- /dev/null
+++ b/node_modules/.cache/babel-loader/2a1b914272bda57e93c484985b484257.json
@@ -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\";\n\nfunction App() {\n return /*#__PURE__*/_jsxDEV(Provider, {\n store: store,\n children: /*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }, this) // <>\n // \n // {/* */}\n // >\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","store"],"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 \n \n \n // <>\n // \n // {/* */}\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,oBACE,QAAC,QAAD;IAAU,KAAK,EAAEC,KAAjB;IAAA,uBACE,QAAC,QAAD;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF,CAIE;EACA;EACA;EACA;EAPF;AASD;;KAVQD,G;AAYT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/2bba387a18aed741455fe751e70b872c.json b/node_modules/.cache/babel-loader/2bba387a18aed741455fe751e70b872c.json
new file mode 100644
index 00000000..e836da59
--- /dev/null
+++ b/node_modules/.cache/babel-loader/2bba387a18aed741455fe751e70b872c.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/flower.svg\",\n className: \"flex lg:absolute lg:left-1/2 lg:top-0 lg:transform lg:-translate-x-1/2 lg:-translate-y-1/2\",\n alt: \"flower\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center gap-y-7 lg:absolute lg:left-5 lg:top-10 mb-10 lg:md-0\",\n children: /*#__PURE__*/_jsxDEV(UserProfileInfo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CreateMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","CreateMap","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n
\n {/* title / subtitle */}\n {/*
\n {title}\n \n
\n {subTitle}\n
*/}\n
\n {/* form input اینجارو از کامنت در بیارید */}\n {/*
*/}\n
\n \n {/* */}\n {/* */}\n
\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB;EAAA,IAAxB;IAAEC,KAAF;IAASC;EAAT,CAAwB;EACxC,oBACE;IAAS,SAAS,EAAC,iEAAnB;IAAA,wBACE;MAAK,SAAS,EAAC,2CAAf;MAAA,wBAEE;QACE,GAAG,EAAC,mBADN;QAEE,SAAS,EAAC,4FAFZ;QAGE,GAAG,EAAC;MAHN;QAAA;QAAA;QAAA;MAAA,QAFF,eAcE;QAAI,SAAS,EAAC;MAAd;QAAA;QAAA;QAAA;MAAA,QAdF,eAiBE;QAAK,SAAS,EAAC,iGAAf;QAAA,uBACE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAjBF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eA+BE,QAAC,SAAD;MAAA;MAAA;MAAA;IAAA,QA/BF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmCD,CApCD;;KAAMF,Q;AAsCN,eAAeA,QAAf;AAEAA,QAAQ,CAACG,YAAT,GAAwB;EACtBF,KAAK,EAAE,0BADe;EAEtBC,QAAQ,EAAE;AAFY,CAAxB"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/38a619608cd260d388aee8661add0234.json b/node_modules/.cache/babel-loader/38a619608cd260d388aee8661add0234.json
new file mode 100644
index 00000000..29a7b635
--- /dev/null
+++ b/node_modules/.cache/babel-loader/38a619608cd260d388aee8661add0234.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: true\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS;IAA7C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/3c30431d1a40e3ba073751dd90f2b4a2.json b/node_modules/.cache/babel-loader/3c30431d1a40e3ba073751dd90f2b4a2.json
new file mode 100644
index 00000000..4f07395d
--- /dev/null
+++ b/node_modules/.cache/babel-loader/3c30431d1a40e3ba073751dd90f2b4a2.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAA,uBACE;MAAK,SAAS,EAAC,6DAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/40c5f365e9518f1d753a477d16687d43.json b/node_modules/.cache/babel-loader/40c5f365e9518f1d753a477d16687d43.json
new file mode 100644
index 00000000..63b46bc2
--- /dev/null
+++ b/node_modules/.cache/babel-loader/40c5f365e9518f1d753a477d16687d43.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/flower.svg\",\n className: \"flex lg:absolute lg:left-1/2 lg:top-0 lg:transform lg:-translate-x-1/2 lg:-translate-y-1/2\",\n alt: \"flower\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-primary text-3xl md:text-6xl font-bold mt-7\",\n children: title\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-primary text-lg md:text-3xl mt-4 md:mt-10\",\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center gap-y-7 lg:absolute lg:left-5 lg:top-10 mb-10 lg:md-0\",\n children: [/*#__PURE__*/_jsxDEV(UserProfileInfo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(ReligiousTimes, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(DistributedData, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CreateMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","CreateMap","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n
\n {/* title / subtitle */}\n
\n {title}\n \n
\n {subTitle}\n
\n
\n {/* form input اینجارو از کامنت در بیارید */}\n {/*
*/}\n
\n \n \n \n
\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB;EAAA,IAAxB;IAAEC,KAAF;IAASC;EAAT,CAAwB;EACxC,oBACE;IAAS,SAAS,EAAC,iEAAnB;IAAA,wBACE;MAAK,SAAS,EAAC,2CAAf;MAAA,wBAEE;QACE,GAAG,EAAC,mBADN;QAEE,SAAS,EAAC,4FAFZ;QAGE,GAAG,EAAC;MAHN;QAAA;QAAA;QAAA;MAAA,QAFF,eAQE;QAAI,SAAS,EAAC,kDAAd;QAAA,UACGD;MADH;QAAA;QAAA;QAAA;MAAA,QARF,eAWE;QAAG,SAAS,EAAC,gDAAb;QAAA,UACGC;MADH;QAAA;QAAA;QAAA;MAAA,QAXF,eAcE;QAAI,SAAS,EAAC;MAAd;QAAA;QAAA;QAAA;MAAA,QAdF,eAiBE;QAAK,SAAS,EAAC,iGAAf;QAAA,wBACE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,cAAD;UAAA;UAAA;UAAA;QAAA,QAFF,eAGE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA,QAHF;MAAA;QAAA;QAAA;QAAA;MAAA,QAjBF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eA+BE,QAAC,SAAD;MAAA;MAAA;MAAA;IAAA,QA/BF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmCD,CApCD;;KAAMF,Q;AAsCN,eAAeA,QAAf;AAEAA,QAAQ,CAACG,YAAT,GAAwB;EACtBF,KAAK,EAAE,0BADe;EAEtBC,QAAQ,EAAE;AAFY,CAAxB"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/482bc52ce38935eb75da30c11c0557af.json b/node_modules/.cache/babel-loader/482bc52ce38935eb75da30c11c0557af.json
new file mode 100644
index 00000000..191dc028
--- /dev/null
+++ b/node_modules/.cache/babel-loader/482bc52ce38935eb75da30c11c0557af.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n c: true,\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"100vh\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100vh\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SA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A,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/4c270187b078f99365ff630c8faea8de.json b/node_modules/.cache/babel-loader/4c270187b078f99365ff630c8faea8de.json
new file mode 100644
index 00000000..4c93028d
--- /dev/null
+++ b/node_modules/.cache/babel-loader/4c270187b078f99365ff630c8faea8de.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [\" \", /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n {\" \"}\n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAA,WACG,GADH,eAEE;MAAK,SAAS,EAAC,6DAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QAFF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/4ccda3826aaf6e5140b5cdc65147de07.json b/node_modules/.cache/babel-loader/4ccda3826aaf6e5140b5cdc65147de07.json
new file mode 100644
index 00000000..61e3d400
--- /dev/null
+++ b/node_modules/.cache/babel-loader/4ccda3826aaf6e5140b5cdc65147de07.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"600px\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"600px\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAMEC,KANF,EAOEC,MAPF,EAQEC,UARF,EASEC,WATF,EAUEC,YAVF,QAWO,eAXP;AAaA,OAAO,0BAAP;AACA,OAAO,oCAAP;AAEA,SAASC,WAAT,QAA4B,oBAA5B;AAEA,OAAO,cAAP;AAEA,OAAO,KAAKC,CAAZ,MAAmB,SAAnB;;AAEA,MAAMC,OAAO,GAAG,cAAhB;AAEA,MAAMC,KAAK,GAAGF,CAAC,CAACG,IAAF,CAAO;EACnBC,OAAO,EAAE,kCADU;EAEnBC,QAAQ,EAAE,CAAC,EAAD,EAAK,EAAL,CAFS;EAGnBC,UAAU,EAAE,CAAC,CAAD,EAAI,EAAJ,CAHO;EAInBC,WAAW,EAAE,CAAC,EAAD,EAAK,CAAC,EAAN,CAJM;EAKnBC,SAAS,EAAE,IALQ;EAMnBC,UAAU,EAAE,IANO;EAOnBC,YAAY,EAAE;AAPK,CAAP,CAAd,C,CAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEAV,CAAC,CAACW,SAAF,GAAc;EACZC,IAAI,EAAE;IACJC,OAAO,EAAE;MACPC,OAAO,EAAE;QACPC,KAAK,EAAE,cADA;QAEPC,IAAI,EAAE;MAFC,CADF;MAKPC,MAAM,EAAE;QACNF,KAAK,EAAE,WADD;QAENC,IAAI,EAAE;MAFA,CALD;MASPE,IAAI,EAAE;QACJH,KAAK,EAAE,6BADH;QAE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AAC,UAAD;QAAA;QAAA;QAAA;MAAA,QA3EF,eA4EE,QAAC,YAAD;QAAc,QAAQ,EAAC;MAAvB;QAAA;QAAA;QAAA;MAAA,QA5EF,eA6EE,QAAC,WAAD;QAAa,QAAQ,EAAC;MAAtB;QAAA;QAAA;QAAA;MAAA,QA7EF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAmFD,CAzGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/50b2370591aeec0aff1e3f47fc7031c5.json b/node_modules/.cache/babel-loader/50b2370591aeec0aff1e3f47fc7031c5.json
new file mode 100644
index 00000000..962503de
--- /dev/null
+++ b/node_modules/.cache/babel-loader/50b2370591aeec0aff1e3f47fc7031c5.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,uBACE;MAAK,SAAS,EAAC,6DAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/571fb38b720d1d172bd747cadd4a0506.json b/node_modules/.cache/babel-loader/571fb38b720d1d172bd747cadd4a0506.json
new file mode 100644
index 00000000..62754c41
--- /dev/null
+++ b/node_modules/.cache/babel-loader/571fb38b720d1d172bd747cadd4a0506.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/5a2b8f7c925710cadc37ba7406c3cdff.json b/node_modules/.cache/babel-loader/5a2b8f7c925710cadc37ba7406c3cdff.json
new file mode 100644
index 00000000..ec8ecf4c
--- /dev/null
+++ b/node_modules/.cache/babel-loader/5a2b8f7c925710cadc37ba7406c3cdff.json
@@ -0,0 +1 @@
+{"ast":null,"code":"import { createStore, applyMiddleware, combineReducers } from \"redux\";\nimport { composeWithDevTools } from \"redux-devtools-extension\";\nimport { persistStore, persistReducer } from \"redux-persist\";\nimport * as reducers from \"./reducers\";\nimport thunk from \"redux-thunk\";\nimport storage from \"redux-persist/lib/storage\"; // defaults to localStorage for web\n\nconst persistConfig = {\n key: \"root\",\n storage\n};\nconst initialState = {};\nconst middleware = [thunk];\nconst persistedReducer = persistReducer(persistConfig, combineReducers(reducers));\nexport default (() => {\n let store = createStore(persistedReducer, initialState, composeWithDevTools(applyMiddleware(...middleware)));\n const persistor = persistStore(store);\n return {\n store,\n persistor\n };\n});","map":{"version":3,"names":["createStore","applyMiddleware","combineReducers","composeWithDevTools","persistStore","persistReducer","reducers","thunk","storage","persistConfig","key","initialState","middleware","persistedReducer","store","persistor"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/redux/store.js"],"sourcesContent":["import { createStore, applyMiddleware, combineReducers } from \"redux\";\nimport { composeWithDevTools } from \"redux-devtools-extension\";\nimport { persistStore, persistReducer } from \"redux-persist\";\n\nimport * as reducers from \"./reducers\";\nimport thunk from \"redux-thunk\";\nimport storage from \"redux-persist/lib/storage\"; // defaults to localStorage for web\n\nconst persistConfig = {\n key: \"root\",\n storage,\n};\n\nconst initialState = {};\nconst middleware = [thunk];\n\nconst persistedReducer = persistReducer(\n persistConfig,\n combineReducers(reducers)\n);\n\nexport default () => {\n let store = createStore(\n persistedReducer,\n initialState,\n composeWithDevTools(applyMiddleware(...middleware))\n );\n const persistor = persistStore(store);\n\n return { store, persistor };\n};\n"],"mappings":"AAAA,SAASA,WAAT,EAAsBC,eAAtB,EAAuCC,eAAvC,QAA8D,OAA9D;AACA,SAASC,mBAAT,QAAoC,0BAApC;AACA,SAASC,YAAT,EAAuBC,cAAvB,QAA6C,eAA7C;AAEA,OAAO,KAAKC,QAAZ,MAA0B,YAA1B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,OAAP,MAAoB,2BAApB,C,CAAiD;;AAEjD,MAAMC,aAAa,GAAG;EACpBC,GAAG,EAAE,MADe;EAEpBF;AAFoB,CAAtB;AAKA,MAAMG,YAAY,GAAG,EAArB;AACA,MAAMC,UAAU,GAAG,CAACL,KAAD,CAAnB;AAEA,MAAMM,gBAAgB,GAAGR,cAAc,CACrCI,aADqC,EAErCP,eAAe,CAACI,QAAD,CAFsB,CAAvC;AAKA,gBAAe,MAAM;EACnB,IAAIQ,KAAK,GAAGd,WAAW,CACrBa,gBADqB,EAErBF,YAFqB,EAGrBR,mBAAmB,CAACF,eAAe,CAAC,GAAGW,UAAJ,CAAhB,CAHE,CAAvB;EAKA,MAAMG,SAAS,GAAGX,YAAY,CAACU,KAAD,CAA9B;EAEA,OAAO;IAAEA,KAAF;IAASC;EAAT,CAAP;AACD,CATD"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/62227ecc293047b5e42d47189d877a34.json b/node_modules/.cache/babel-loader/62227ecc293047b5e42d47189d877a34.json
new file mode 100644
index 00000000..90aae757
--- /dev/null
+++ b/node_modules/.cache/babel-loader/62227ecc293047b5e42d47189d877a34.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,6DAAf;IAAA,wBAEE;MAAK,SAAS,EAAC,OAAf;MAAA,wBACE,QAAC,WAAD;QAAA;QAAA;QAAA;MAAA,QADF,eAEE,QAAC,WAAD;QAAA;QAAA;QAAA;MAAA,QAFF;IAAA;MAAA;MAAA;MAAA;IAAA,QAFF,eAOE;MAAK,SAAS,EAAC,QAAf;MAAA,uBACE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA;IADF;MAAA;MAAA;MAAA;IAAA,QAPF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAaD,CAdD;;KAAMA,S;AAgBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/62e9bf92befbb6cb2c738e7200b1af43.json b/node_modules/.cache/babel-loader/62e9bf92befbb6cb2c738e7200b1af43.json
new file mode 100644
index 00000000..5dba0404
--- /dev/null
+++ b/node_modules/.cache/babel-loader/62e9bf92befbb6cb2c738e7200b1af43.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/flower.svg\",\n className: \"flex lg:absolute lg:left-1/2 lg:top-0 lg:transform lg:-translate-x-1/2 lg:-translate-y-1/2\",\n alt: \"flower\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-primary text-3xl md:text-6xl font-bold mt-7\",\n children: title\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-primary text-lg md:text-3xl mt-4 md:mt-10\",\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center gap-y-7 lg:absolute lg:left-5 lg:top-10 mb-10 lg:md-0\",\n children: /*#__PURE__*/_jsxDEV(UserProfileInfo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CreateMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","CreateMap","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n
\n {/* title / subtitle */}\n
\n {title}\n \n
\n {subTitle}\n
\n
\n {/* form input اینجارو از کامنت در بیارید */}\n {/*
*/}\n
\n \n {/* */}\n {/* */}\n
\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB;EAAA,IAAxB;IAAEC,KAAF;IAASC;EAAT,CAAwB;EACxC,oBACE;IAAS,SAAS,EAAC,iEAAnB;IAAA,wBACE;MAAK,SAAS,EAAC,2CAAf;MAAA,wBAEE;QACE,GAAG,EAAC,mBADN;QAEE,SAAS,EAAC,4FAFZ;QAGE,GAAG,EAAC;MAHN;QAAA;QAAA;QAAA;MAAA,QAFF,eAQE;QAAI,SAAS,EAAC,kDAAd;QAAA,UACGD;MADH;QAAA;QAAA;QAAA;MAAA,QARF,eAWE;QAAG,SAAS,EAAC,gDAAb;QAAA,UACGC;MADH;QAAA;QAAA;QAAA;MAAA,QAXF,eAcE;QAAI,SAAS,EAAC;MAAd;QAAA;QAAA;QAAA;MAAA,QAdF,eAiBE;QAAK,SAAS,EAAC,iGAAf;QAAA,uBACE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAjBF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eA+BE,QAAC,SAAD;MAAA;MAAA;MAAA;IAAA,QA/BF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmCD,CApCD;;KAAMF,Q;AAsCN,eAAeA,QAAf;AAEAA,QAAQ,CAACG,YAAT,GAAwB;EACtBF,KAAK,EAAE,0BADe;EAEtBC,QAAQ,EAAE;AAFY,CAAxB"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/689827bcc7b5051fc8eee402ae0dc6b0.json b/node_modules/.cache/babel-loader/689827bcc7b5051fc8eee402ae0dc6b0.json
new file mode 100644
index 00000000..0f96fa49
--- /dev/null
+++ b/node_modules/.cache/babel-loader/689827bcc7b5051fc8eee402ae0dc6b0.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE;IAAf;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/6ea10297e945863a6cfd3e6300c39aa4.json b/node_modules/.cache/babel-loader/6ea10297e945863a6cfd3e6300c39aa4.json
new file mode 100644
index 00000000..d4fa530e
--- /dev/null
+++ b/node_modules/.cache/babel-loader/6ea10297e945863a6cfd3e6300c39aa4.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \" mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,uBACE;MAAK,SAAS,EAAC,mDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/709043ef7e123087f3fed82581135cce.json b/node_modules/.cache/babel-loader/709043ef7e123087f3fed82581135cce.json
new file mode 100644
index 00000000..c0d8d771
--- /dev/null
+++ b/node_modules/.cache/babel-loader/709043ef7e123087f3fed82581135cce.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS,EAAC;IAA9C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/720763a12b2adce3270f6d440a7f283a.json b/node_modules/.cache/babel-loader/720763a12b2adce3270f6d440a7f283a.json
new file mode 100644
index 00000000..7769f94a
--- /dev/null
+++ b/node_modules/.cache/babel-loader/720763a12b2adce3270f6d440a7f283a.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"bg-red-400 p-2\",\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"100vh\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100vh\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAj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zGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/760d27dae2b2cb2cfa57d2a4d0f5370d.json b/node_modules/.cache/babel-loader/760d27dae2b2cb2cfa57d2a4d0f5370d.json
new file mode 100644
index 00000000..b8a66da6
--- /dev/null
+++ b/node_modules/.cache/babel-loader/760d27dae2b2cb2cfa57d2a4d0f5370d.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,6DAAf;IAAA,uBACE;MAAK,SAAS,EAAC,6DAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/7641ed24105005ec0cea031a667335ee.json b/node_modules/.cache/babel-loader/7641ed24105005ec0cea031a667335ee.json
new file mode 100644
index 00000000..9700de01
--- /dev/null
+++ b/node_modules/.cache/babel-loader/7641ed24105005ec0cea031a667335ee.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/7acb5f448a76b98a15ee42ebabf808d1.json b/node_modules/.cache/babel-loader/7acb5f448a76b98a15ee42ebabf808d1.json
new file mode 100644
index 00000000..22d65aef
--- /dev/null
+++ b/node_modules/.cache/babel-loader/7acb5f448a76b98a15ee42ebabf808d1.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n text: \"رفتن به مرحله بعد\",\n className: \"self-end bg-secondary text-white text-sm px-5 py-2 rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MACE,IAAI,EAAE,mBADR;MAEE,SAAS,EAAC;IAFZ;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmBD,CApBD;;KAAMA,S;AAsBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/802bcabafa4133da3c9cd398801bf2e0.json b/node_modules/.cache/babel-loader/802bcabafa4133da3c9cd398801bf2e0.json
new file mode 100644
index 00000000..6989ca75
--- /dev/null
+++ b/node_modules/.cache/babel-loader/802bcabafa4133da3c9cd398801bf2e0.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"alig\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS,EAAC;IAA9C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/8999c3da29a82f948548ff07f8fe3316.json b/node_modules/.cache/babel-loader/8999c3da29a82f948548ff07f8fe3316.json
new file mode 100644
index 00000000..15bb6f95
--- /dev/null
+++ b/node_modules/.cache/babel-loader/8999c3da29a82f948548ff07f8fe3316.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"777\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"777\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAMEC,KANF,EAOEC,MAPF,EAQEC,UARF,EASEC,WATF,EAUEC,YAVF,QAWO,eAXP;AAaA,OAAO,0BAAP;AACA,OAAO,oCAAP;AAEA,SAASC,WAAT,QAA4B,oBAA5B;AAEA,OAAO,cAAP;AAEA,OAAO,KAAKC,CAAZ,MAAmB,SAAnB;;AAEA,MAAMC,OAAO,GAAG,cAAhB;AAEA,MAAMC,KAAK,GAAGF,CAAC,CAACG,IAAF,CAAO;EACnBC,OAAO,EAAE,kCADU;EAEnBC,QAAQ,EAAE,CAAC,EAAD,EAAK,EAAL,CAFS;EAGnBC,UAAU,EAAE,CAAC,CAAD,EAAI,EAAJ,CAHO;EAInBC,WAAW,EAAE,CAAC,EAAD,EAAK,CAAC,EAAN,CAJM;EAKnBC,SAAS,EAAE,IALQ;EAMnBC,UAAU,EAAE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AI,CAACwD,IAAD,EAAOhB,IAAP;YADJ;UAvBJ,CADR;UA4BE,QAAQ,EAAC,UA5BX;UA6BE,KAAK,EAAEgB,IA7BT;UA8BE,SAAS,EAAGkB,CAAD,IAAO;YAChBpB,OAAO,CAACC,GAAR,CAAY;cAAEC,IAAF;cAAQkB;YAAR,CAAZ;YACArB,SAAS,CAACG,IAAD,CAAT;UACD,CAjCH;UAkCE,iBAAiB,EAAE;QAlCrB;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QArCF,eA2EE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QA3EF,eA4EE,QAAC,YAAD;QAAc,QAAQ,EAAC;MAAvB;QAAA;QAAA;QAAA;MAAA,QA5EF,eA6EE,QAAC,WAAD;QAAa,QAAQ,EAAC;MAAtB;QAAA;QAAA;QAAA;MAAA,QA7EF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAmFD,CAzGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/95d4cc5815ab6f0df5b6329aa6459b9b.json b/node_modules/.cache/babel-loader/95d4cc5815ab6f0df5b6329aa6459b9b.json
new file mode 100644
index 00000000..187ee1fd
--- /dev/null
+++ b/node_modules/.cache/babel-loader/95d4cc5815ab6f0df5b6329aa6459b9b.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"400px\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"400px\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAME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-loader/9734e2af960acbf048143b1d9b24c5f8.json b/node_modules/.cache/babel-loader/9734e2af960acbf048143b1d9b24c5f8.json
new file mode 100644
index 00000000..f2a61c43
--- /dev/null
+++ b/node_modules/.cache/babel-loader/9734e2af960acbf048143b1d9b24c5f8.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"p-7 flex flex-col\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,mBAAf;IAAA,uBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/97dbd5dbc2c295096824e7e8aaab310e.json b/node_modules/.cache/babel-loader/97dbd5dbc2c295096824e7e8aaab310e.json
new file mode 100644
index 00000000..2a2faecc
--- /dev/null
+++ b/node_modules/.cache/babel-loader/97dbd5dbc2c295096824e7e8aaab310e.json
@@ -0,0 +1 @@
+{"ast":null,"code":"","map":{"version":3,"names":[],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/redux/store.js"],"sourcesContent":[""],"mappings":""},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/a9a55a87527a31edac0aaa3c4ce800da.json b/node_modules/.cache/babel-loader/a9a55a87527a31edac0aaa3c4ce800da.json
new file mode 100644
index 00000000..71bb45b9
--- /dev/null
+++ b/node_modules/.cache/babel-loader/a9a55a87527a31edac0aaa3c4ce800da.json
@@ -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\";\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/store\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return /*#__PURE__*/_jsxDEV(Provider, {\n store: store,\n children: /*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 5\n }, this) // <>\n // \n // {/* */}\n // >\n ;\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","Provider","store","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\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/store\";\n\nfunction App() {\n return (\n \n \n \n // <>\n // \n // {/* */}\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;AAEA,SAASC,QAAT,QAAyB,aAAzB;AACA,OAAOC,KAAP,MAAkB,eAAlB;;;AAEA,SAASC,GAAT,GAAe;EACb,oBACE,QAAC,QAAD;IAAU,KAAK,EAAED,KAAjB;IAAA,uBACE,QAAC,QAAD;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF,CAIE;EACA;EACA;EACA;EAPF;AASD;;KAVQC,G;AAYT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/ae44784a08e9a6ba4ed76dd0e4b14b07.json b/node_modules/.cache/babel-loader/ae44784a08e9a6ba4ed76dd0e4b14b07.json
new file mode 100644
index 00000000..69a440ce
--- /dev/null
+++ b/node_modules/.cache/babel-loader/ae44784a08e9a6ba4ed76dd0e4b14b07.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"self-end bg-pr\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS,EAAC;IAA9C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/af2927e0ee81fa3887a923824934c6fb.json b/node_modules/.cache/babel-loader/af2927e0ee81fa3887a923824934c6fb.json
new file mode 100644
index 00000000..9047653c
--- /dev/null
+++ b/node_modules/.cache/babel-loader/af2927e0ee81fa3887a923824934c6fb.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,uBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/b40b2afb640c1a013aeff96dd2573764.json b/node_modules/.cache/babel-loader/b40b2afb640c1a013aeff96dd2573764.json
new file mode 100644
index 00000000..bc82243c
--- /dev/null
+++ b/node_modules/.cache/babel-loader/b40b2afb640c1a013aeff96dd2573764.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"100px\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100px\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAMEC,KANF,EAOEC,MAPF,EAQEC,UARF,EASEC,WATF,EAUEC,YAVF,QAWO,eAXP;AAaA,OAAO,0BAAP;AACA,OAAO,oCAAP;AAEA,SAASC,WAAT,QAA4B,oBAA5B;AAEA,OAAO,cAAP;AAEA,OAAO,KAAKC,CAAZ,MAAmB,SAAnB;;AAEA,MAAMC,OAAO,GAAG,cAAhB;AAEA,MAAMC,KAAK,GAAGF,CAAC,CAACG,IAAF,CAAO;EACn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;;cAFjD,CAFJ;cAMPL,YAAY,EAAE;gBACZC,KAAK,EAAE;cADK;YANP,CAPL;YAiBJhD,MAAM,EAAE,KAjBJ;YAiBW;YACfD,SAAS,EAAE;cACTgD,YAAY,EAAE;gBACZM,SAAS,EAAE;cADC;YADL,CAlBP;YAuBJpD,MAAM,EAAE;cACNrB,IAAI,EAAEA,IAAI,CAACwD,IAAD,EAAOhB,IAAP;YADJ;UAvBJ,CADR;UA4BE,QAAQ,EAAC,UA5BX;UA6BE,KAAK,EAAEgB,IA7BT;UA8BE,SAAS,EAAGkB,CAAD,IAAO;YAChBpB,OAAO,CAACC,GAAR,CAAY;cAAEC,IAAF;cAAQkB;YAAR,CAAZ;YACArB,SAAS,CAACG,IAAD,CAAT;UACD,CAjCH;UAkCE,iBAAiB,EAAE;QAlCrB;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QArCF,eA2EE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QA3EF,eA4EE,QAAC,YAAD;QAAc,QAAQ,EAAC;MAAvB;QAAA;QAAA;QAAA;MAAA,QA5EF,eA6EE,QAAC,WAAD;QAAa,QAAQ,EAAC;MAAtB;QAAA;QAAA;QAAA;MAAA,QA7EF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAmFD,CAzGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/b8d23e93e2375c34bb661e4773b9b69b.json b/node_modules/.cache/babel-loader/b8d23e93e2375c34bb661e4773b9b69b.json
new file mode 100644
index 00000000..1d957ac1
--- /dev/null
+++ b/node_modules/.cache/babel-loader/b8d23e93e2375c34bb661e4773b9b69b.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,iBAAf;IAAA,uBACE;MAAK,SAAS,EAAC,6DAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/bd0465fa88d7049851574eeb27c82d73.json b/node_modules/.cache/babel-loader/bd0465fa88d7049851574eeb27c82d73.json
new file mode 100644
index 00000000..e1859322
--- /dev/null
+++ b/node_modules/.cache/babel-loader/bd0465fa88d7049851574eeb27c82d73.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"bg-red-400\",\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"100vh\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100vh\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YAD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AAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/be11287d52985bc880bbe97e3225f80e.json b/node_modules/.cache/babel-loader/be11287d52985bc880bbe97e3225f80e.json
new file mode 100644
index 00000000..c42bfb96
--- /dev/null
+++ b/node_modules/.cache/babel-loader/be11287d52985bc880bbe97e3225f80e.json
@@ -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\";\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/store\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return /*#__PURE__*/_jsxDEV(Provider, {\n store: store,\n children: /*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }, this) // <>\n // \n // {/* */}\n // >\n ;\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","Provider","store","App"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/App.js"],"sourcesContent":["import \"./App.scss\";\nimport Homepage from \"./components/Homepage\";\n\nimport ContactUs from \"./components/ContactUs\";\nimport LeafletMap from \"./components/LeafletMap\";\n\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/store\";\n\nfunction App() {\n return (\n \n \n \n // <>\n // \n // {/* */}\n // >\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,OAAO,YAAP;AACA,OAAOA,QAAP,MAAqB,uBAArB;AAEA,OAAOC,SAAP,MAAsB,wBAAtB;AACA,OAAOC,UAAP,MAAuB,yBAAvB;AAEA,SAASC,QAAT,QAAyB,aAAzB;AACA,OAAOC,KAAP,MAAkB,eAAlB;;;AAEA,SAASC,GAAT,GAAe;EACb,oBACE,QAAC,QAAD;IAAU,KAAK,EAAED,KAAjB;IAAA,uBACE,QAAC,QAAD;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF,CAIE;EACA;EACA;EACA;EAPF;AASD;;KAVQC,G;AAYT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/bf676db19fd0ca026b715ed1a9234ae6.json b/node_modules/.cache/babel-loader/bf676db19fd0ca026b715ed1a9234ae6.json
new file mode 100644
index 00000000..3ed0b4cd
--- /dev/null
+++ b/node_modules/.cache/babel-loader/bf676db19fd0ca026b715ed1a9234ae6.json
@@ -0,0 +1 @@
+{"ast":null,"code":"import \"./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 { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return (\n /*#__PURE__*/\n // \n // \n // \n _jsxDEV(_Fragment, {}, 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 // \n // \n // \n <>\n {/* */}\n {/* */}\n {/* */}\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;EAJF;AAUD;;KAXQA,G;AAaT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/c98c35857ee32b4ae4798f2c4aca7784.json b/node_modules/.cache/babel-loader/c98c35857ee32b4ae4798f2c4aca7784.json
new file mode 100644
index 00000000..29021f41
--- /dev/null
+++ b/node_modules/.cache/babel-loader/c98c35857ee32b4ae4798f2c4aca7784.json
@@ -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\";\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/store\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nfunction App() {\n return /*#__PURE__*/_jsxDEV(Provider, {\n store: store,\n children: /*#__PURE__*/_jsxDEV(Homepage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }, this) // <>\n // \n // {/* */}\n // >\n ;\n}\n\n_c = App;\nexport default App;\n\nvar _c;\n\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Homepage","ContactUs","LeafletMap","Provider","store","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\";\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/store\";\n\nfunction App() {\n return (\n \n \n \n // <>\n // \n // {/* */}\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;AACA,SAASC,QAAT,QAAyB,aAAzB;AACA,OAAOC,KAAP,MAAkB,eAAlB;;;AAEA,SAASC,GAAT,GAAe;EACb,oBACE,QAAC,QAAD;IAAU,KAAK,EAAED,KAAjB;IAAA,uBACE,QAAC,QAAD;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF,CAIE;EACA;EACA;EACA;EAPF;AASD;;KAVQC,G;AAYT,eAAeA,GAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/ccf4e463f97dcd6e4d543a42c5a3ffd0.json b/node_modules/.cache/babel-loader/ccf4e463f97dcd6e4d543a42c5a3ffd0.json
new file mode 100644
index 00000000..9dfabe0d
--- /dev/null
+++ b/node_modules/.cache/babel-loader/ccf4e463f97dcd6e4d543a42c5a3ffd0.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n t: true\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,CAAC;IAAT;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/d0b428db2b42bda1f60a0bb8be6becd4.json b/node_modules/.cache/babel-loader/d0b428db2b42bda1f60a0bb8be6becd4.json
new file mode 100644
index 00000000..38d88d34
--- /dev/null
+++ b/node_modules/.cache/babel-loader/d0b428db2b42bda1f60a0bb8be6becd4.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"777px\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"777px\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAMEC,KANF,EAOEC,MAPF,EAQEC,UARF,EASEC,WATF,EAUEC,YAVF,QAWO,eAXP;AAaA,OAAO,0BAAP;AACA,OAAO,oCAAP;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,SADK;gBAEZC,MAAM,EAAE;cAFI;YADN,CADN;YAOJnD,OAAO,EAAE;cACPoD,iBAAiB,EAAE,KADZ;cACmB;cAC1BC,SAAS,EAAE;gBACTH,KAAK,EAAE,SADE;gBACS;gBAClBI,OAAO,EAAE,+CAFA,CAEiD;;cAFjD,CAFJ;cAMPL,YAAY,EAAE;gBACZC,KAAK,EAAE;cADK;YANP,CAPL;YAiBJhD,MAAM,EAAE,KAjBJ;YAiBW;YACfD,SAAS,EAAE;cACTgD,YAAY,EAAE;gBACZM,SAAS,EAAE;cADC;YADL,CAlBP;YAuBJpD,MAAM,EAAE;cACNrB,IAAI,EAAEA,IAAI,CAACwD,IAAD,EAAOhB,IAAP;YADJ;UAvBJ,CADR;UA4BE,QAAQ,EAAC,UA5BX;UA6BE,KAAK,EAAEgB,IA7BT;UA8BE,SAAS,EAAGkB,CAAD,IAAO;YAChBpB,OAAO,CAACC,GAAR,CAAY;cAAEC,IAAF;cAAQkB;YAAR,CAAZ;YACArB,SAAS,CAACG,IAAD,CAAT;UACD,CAjCH;UAkCE,iBAAiB,EAAE;QAlCrB;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QArCF,eA2EE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QA3EF,eA4EE,QAAC,YAAD;QAAc,QAAQ,EAAC;MAAvB;QAAA;QAAA;QAAA;MAAA,QA5EF,eA6EE,QAAC,WAAD;QAAa,QAAQ,EAAC;MAAtB;QAAA;QAAA;QAAA;MAAA,QA7EF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAmFD,CAzGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/d1ce4f9551e9dc41c9cd2ec865d6d962.json b/node_modules/.cache/babel-loader/d1ce4f9551e9dc41c9cd2ec865d6d962.json
new file mode 100644
index 00000000..33da9771
--- /dev/null
+++ b/node_modules/.cache/babel-loader/d1ce4f9551e9dc41c9cd2ec865d6d962.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto gap-x-4\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,6BAAf;IAAA,uBACE;MAAK,SAAS,EAAC,6DAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAeD,CAhBD;;KAAMA,S;AAkBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/d21f6ece82b1fac84afb38d4f78fdd1d.json b/node_modules/.cache/babel-loader/d21f6ece82b1fac84afb38d4f78fdd1d.json
new file mode 100644
index 00000000..ee9d04ae
--- /dev/null
+++ b/node_modules/.cache/babel-loader/d21f6ece82b1fac84afb38d4f78fdd1d.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"self-end bg-secondary\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MAAQ,KAAK,EAAE,mBAAf;MAAoC,SAAS,EAAC;IAA9C;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAgBD,CAjBD;;KAAMA,S;AAmBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/d50cf345e49a897bc312d0260adee95a.json b/node_modules/.cache/babel-loader/d50cf345e49a897bc312d0260adee95a.json
new file mode 100644
index 00000000..e6cad403
--- /dev/null
+++ b/node_modules/.cache/babel-loader/d50cf345e49a897bc312d0260adee95a.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"bg-red-\",\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"100vh\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100vh\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAMEC,KANF,EAOEC,MAPF,EAQEC,UARF,EASEC,WATF,EAUEC,YAVF,QAWO,eAXP;AAaA,OAAO,0BAAP;AACA,OAAO,oCAAP;AAEA,SAASC,WAAT,QAA4B,oBAA5B;AAEA,OAAO,cAAP;AAEA,OAAO,KAAKC,CAAZ,MAAmB,SAAnB;;AAEA,MAAMC,OAAO,GAAG,cAAhB;AAEA,MAAMC,KAAK,GAAGF,CAAC,CAACG,IAAF,CAAO;EACnBC,OAAO,EAAE,kCADU;EAEnBC,QAAQ,EAAE,CAAC,EAAD,EAAK,EAAL,CAFS;EAGnBC,UAAU,EAAE,CAAC,CAAD,EAAI,EAAJ,CAHO;EAInBC,WAAW,EAAE,CAAC,EAAD,EAAK,CAAC,EAAN,CAJM;EAKnBC,SAAS,EAAE,IALQ;EAMnBC,UAAU,EAAE,IANO;EAOnBC,YAAY,EAAE;AAPK,CAAP,CAAd,C,CAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEAV,CAAC,CAACW,SAAF,GAAc;EACZC,IAAI,EAAE;IACJC,OAAO,EAAE;MACPC,OAAO,EAAE;QACPC,KAAK,EAAE,cADA;QAEPC,IAAI,EAAE;MAFC,CADF;MAKPC,MAAM,EAAE;QACNF,KAAK,EAAE,WADD;QAENC,IAAI,EAAE;MAFA,CALD;MASPE,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AA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QArCF,eA2EE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QA3EF,eA4EE,QAAC,YAAD;QAAc,QAAQ,EAAC;MAAvB;QAAA;QAAA;QAAA;MAAA,QA5EF,eA6EE,QAAC,WAAD;QAAa,QAAQ,EAAC;MAAtB;QAAA;QAAA;QAAA;MAAA,QA7EF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAmFD,CAzGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/d9db556660f74ad69d6a4bf1cb0de876.json b/node_modules/.cache/babel-loader/d9db556660f74ad69d6a4bf1cb0de876.json
new file mode 100644
index 00000000..4b2cb726
--- /dev/null
+++ b/node_modules/.cache/babel-loader/d9db556660f74ad69d6a4bf1cb0de876.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"self-end bg-secondary text-white text-sm px-5 py-2 rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MACE,KAAK,EAAE,mBADT;MAEE,SAAS,EAAC;IAFZ;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmBD,CApBD;;KAAMA,S;AAsBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/e1064d4e204b485bd8abeb1dd2099a59.json b/node_modules/.cache/babel-loader/e1064d4e204b485bd8abeb1dd2099a59.json
new file mode 100644
index 00000000..fbbcf4a4
--- /dev/null
+++ b/node_modules/.cache/babel-loader/e1064d4e204b485bd8abeb1dd2099a59.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js\",\n _s = $RefreshSig$(),\n _s2 = $RefreshSig$();\n\n// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\nimport React, { useState, useRef, useMemo } from \"react\";\nimport { MapContainer, TileLayer, FeatureGroup, Rectangle, useMap, Popup, Marker, LayerGroup, ZoomControl, ScaleControl } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\nimport { EditControl } from \"react-leaflet-draw\";\nimport \"leaflet-draw\";\nimport * as L from \"leaflet\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst bedNumb = \"تخت شماره 33\";\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null\n}); // const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\"\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\"\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\"\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\"\n }\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\"\n },\n radius: \"ردیوس\"\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\"\n }\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\"\n }\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\"\n }\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\"\n }\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\"\n }\n }\n }\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\"\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\"\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\"\n }\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\"\n }\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\"\n }\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\"\n }\n }\n }\n }\n};\n\nconst icon = (val, zoom) => L.divIcon({\n className: \"my-div-icon\",\n html: ``\n});\n\nfunction MyComponent(_ref) {\n _s();\n\n let {\n setZoom\n } = _ref;\n const map = useMap();\n return null;\n}\n\n_s(MyComponent, \"cX187cvZ2hODbkaiLn05gMk1sCM=\", false, function () {\n return [useMap];\n});\n\n_c = MyComponent;\n\nconst LeafletMap = () => {\n _s2();\n\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [[50.505, -29.09], [52.505, 29.09]];\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n\n const onCreated = () => {\n console.log({\n next,\n add\n });\n add(Math.floor(Math.random() * 10)); // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({\n mapRef\n });\n\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"\",\n style: {\n direction: \"ltr\"\n },\n children: /*#__PURE__*/_jsxDEV(MapContainer, {\n whenCreated: mapInstance => {\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n },\n center: [49.505, -2.09],\n zoom: zoom,\n maxZoom: 24,\n minZoom: 18,\n maxNativeZoom: 22,\n style: {\n height: \"100vh\"\n },\n zoomControl: false,\n bounds: outerBounds,\n children: [/*#__PURE__*/_jsxDEV(TileLayer, {\n attribution: \"\\xA9 OpenStreetMap contributors\",\n url: \"https://{s}.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png?apikey={apikey}\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 22,\n opacity: 0.8\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 216,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(TileLayer, {\n url: \"images/grid.png\",\n apikey: \"db5ae1f5778a448ca662554581f283c5\",\n maxZoom: 24,\n maxNativeZoom: 24,\n opacity: 0.5\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 224,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Marker, {\n icon: icon(50, zoom),\n position: [49.505, -2.09],\n children: /*#__PURE__*/_jsxDEV(Popup, {\n children: bedNumb\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 233,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 231,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(FeatureGroup, {\n ref: leafEl,\n children: /*#__PURE__*/_jsxDEV(EditControl, {\n draw: {\n polyline: {\n shapeOptions: {\n color: \"#f357a1\",\n weight: 1\n }\n },\n polygon: {\n allowIntersection: false,\n // Restricts shapes to simple polygons\n drawError: {\n color: \"#e1e100\",\n // Color the shape will turn when intersects\n message: \"Oh snap! you can't draw that!\" // Message that will show when intersect\n\n },\n shapeOptions: {\n color: \"#bada55\"\n }\n },\n circle: false,\n // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false\n }\n },\n marker: {\n icon: icon(next, zoom)\n }\n },\n position: \"topright\",\n count: next,\n onCreated: e => {\n console.log({\n next,\n e\n });\n onCreated(next);\n },\n allowIntersection: false\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 236,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 235,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(LayerGroup, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 273,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ScaleControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 274,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(ZoomControl, {\n position: \"topleft\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 275,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 198,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 197,\n columnNumber: 5\n }, this);\n};\n\n_s2(LeafletMap, \"7uRv2Jzz6xIjgQx6GjFUEg2wnP4=\");\n\n_c2 = LeafletMap;\nexport default LeafletMap;\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"MyComponent\");\n$RefreshReg$(_c2, \"LeafletMap\");","map":{"version":3,"names":["React","useState","useRef","useMemo","MapContainer","TileLayer","FeatureGroup","Rectangle","useMap","Popup","Marker","LayerGroup","ZoomControl","ScaleControl","EditControl","L","bedNumb","pinMB","icon","iconUrl","iconSize","iconAnchor","popupAnchor","shadowUrl","shadowSize","shadowAnchor","drawLocal","draw","toolbar","actions","title","text","finish","undo","buttons","polyline","polygon","rectangle","circle","marker","circlemarker","handlers","tooltip","start","radius","cont","end","error","simpleshape","edit","save","cancel","clearAll","editDisabled","remove","removeDisabled","subtext","val","zoom","divIcon","className","html","Math","pow","MyComponent","setZoom","map","LeafletMap","outerBounds","leafEl","mapRef","onCreated","console","log","next","add","floor","random","location","current","direction","mapInstance","on","_zoom","height","shapeOptions","color","weight","allowIntersection","drawError","message","clickable","e"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/LeafletMap/index.js"],"sourcesContent":["// it has style inside index.scss ---> // Start LeafletMap && end LeafletMap\n\nimport React, { useState, useRef, useMemo } from \"react\";\n\nimport {\n MapContainer,\n TileLayer,\n FeatureGroup,\n Rectangle,\n useMap,\n Popup,\n Marker,\n LayerGroup,\n ZoomControl,\n ScaleControl,\n} from \"react-leaflet\";\n\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-draw/dist/leaflet.draw.css\";\n\nimport { EditControl } from \"react-leaflet-draw\";\n\nimport \"leaflet-draw\";\n\nimport * as L from \"leaflet\";\n\nconst bedNumb = \"تخت شماره 33\";\n\nconst pinMB = L.icon({\n iconUrl: \"images/LeafletMapplaceholder.png\",\n iconSize: [24, 41],\n iconAnchor: [0, 44],\n popupAnchor: [12, -40],\n shadowUrl: null,\n shadowSize: null,\n shadowAnchor: null,\n});\n\n// const MyCustomMarker = L.icon({\n// iconUrl: placeholder,\n// iconSize: [24, 41],\n// iconAnchor: [0, 44],\n// popupAnchor: [12, -40],\n// shadowUrl: null,\n// shadowSize: null,\n// shadowAnchor: null,\n// });\n\nL.drawLocal = {\n draw: {\n toolbar: {\n actions: {\n title: \"لغو کردن رسم\",\n text: \"لغو\",\n },\n finish: {\n title: \"پایان رسم\",\n text: \"پایان رسم\",\n },\n undo: {\n title: \"پاک کردن آخرین نقطه رسم شده\",\n text: \"پاک کردن آخرین نقطه رسم شده\",\n },\n buttons: {\n polyline: \"موکب مورد نظر خود را رسم نمایید\",\n polygon: \"رسم پولیگان\",\n rectangle: \"رسم جای خواب\",\n circle: \"رسم دایره\",\n marker: \"رسم مارکر\",\n circlemarker: \"رسم دایره مارکر\",\n },\n },\n handlers: {\n circle: {\n tooltip: {\n start: \"کلیک کنید و سپس درگ کنید تا یک دایره بکشید.\",\n },\n radius: \"ردیوس\",\n },\n circlemarker: {\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n marker: {\n icon: \"images/LeafletMapplaceholder.png\",\n tooltip: {\n start: \"با کلیک بر روی نقشه یک مارکر رسم کنید.\",\n },\n },\n polygon: {\n tooltip: {\n start: \"یک شکل رسم کنید.\",\n cont: \"ادامه رسم شکل.\",\n end: \"برای پایان رسم بر روی اولین نقظه کلیک کنید.\",\n },\n },\n polyline: {\n error: \"Error: shape edges cannot cross!\",\n tooltip: {\n start: \"با کلیک کردن یک خط رسم کنید.\",\n cont: \"با کلیک به رسم خود ادامه دهید.\",\n end: \"برای پایان رسم بر روی آخرین نقظ رسم شده کلیک کنید.\",\n },\n },\n rectangle: {\n tooltip: {\n start: \"با کلیک و درگ کردن یک جای خواب رسم کنید.\",\n },\n },\n simpleshape: {\n tooltip: {\n end: \"ماوس را رها کنید تا رسم تمام شود.\",\n },\n },\n },\n },\n edit: {\n toolbar: {\n actions: {\n save: {\n title: \"ذخیره تنظیمات\",\n text: \"ذخیره\",\n },\n cancel: {\n title: \"لغو کردن، ویرایش تمام تغییرات نادیده گرفته خواهند شد\",\n text: \"لغو\",\n },\n clearAll: {\n title: \"پاک کردن تمام لایه ها\",\n text: \"پاک کردن لایه ها\",\n },\n },\n buttons: {\n edit: \"ویرایش لایه ها\",\n editDisabled: \"لایه ای برای ویرایش وجود ندارد\",\n remove: \"پاک کردن لایه ها\",\n removeDisabled: \"لایه ای برای پاک کردن وجود ندارد\",\n },\n },\n handlers: {\n edit: {\n tooltip: {\n text: \"Drag handles or markers to edit features.\",\n subtext: \"با کلیک بر روی لغو تغییرات اعمال نخواهند شد.\",\n },\n },\n remove: {\n tooltip: {\n text: \"Click on a feature to remove.\",\n },\n },\n },\n },\n};\n\nconst icon = (val, zoom) =>\n L.divIcon({\n className: \"my-div-icon\",\n html: ``,\n });\n\nfunction MyComponent({ setZoom }) {\n const map = useMap();\n\n return null;\n}\n\nconst LeafletMap = () => {\n // const map =\n const [zoom, setZoom] = useState(22);\n const outerBounds = [\n [50.505, -29.09],\n [52.505, 29.09],\n ];\n\n const leafEl = useRef(null);\n const mapRef = useRef(null);\n const onCreated = () => {\n console.log({ next, add });\n add(Math.floor(Math.random() * 10));\n // const drawnItems = leafEl.current._layers;\n // console.log({ drawnItems });\n };\n const [next, add] = useState(1);\n const location = [38.9072, -77.0369];\n console.log({ mapRef });\n if (mapRef.current) {\n console.log(mapRef.current);\n }\n return (\n \n
{\n mapInstance.on(\"zoomend\", function () {\n console.log(mapRef.current);\n setZoom(mapRef.current._zoom);\n });\n mapRef.current = mapInstance;\n }}\n center={[49.505, -2.09]}\n zoom={zoom}\n maxZoom={24}\n minZoom={18}\n maxNativeZoom={22}\n style={{ height: \"100vh\" }}\n zoomControl={false}\n bounds={outerBounds}\n >\n {/* */}\n \n \n \n {/* */}\n {bedNumb} \n \n \n Oh snap! you can't draw that!\", // Message that will show when intersect\n },\n shapeOptions: {\n color: \"#bada55\",\n },\n },\n circle: false, // Turns off this drawing tool\n rectangle: {\n shapeOptions: {\n clickable: false,\n },\n },\n marker: {\n icon: icon(next, zoom),\n },\n }}\n position=\"topright\"\n count={next}\n onCreated={(e) => {\n console.log({ next, e });\n onCreated(next);\n }}\n allowIntersection={false}\n />\n \n \n \n \n \n
\n );\n};\n\nexport default LeafletMap;\n"],"mappings":";;;;AAAA;AAEA,OAAOA,KAAP,IAAgBC,QAAhB,EAA0BC,MAA1B,EAAkCC,OAAlC,QAAiD,OAAjD;AAEA,SACEC,YADF,EAEEC,SAFF,EAGEC,YAHF,EAIEC,SAJF,EAKEC,MALF,EAMEC,KANF,EAOEC,MAPF,EAQEC,UARF,EASEC,WATF,EAUEC,YAVF,QAWO,eAXP;AAaA,OAAO,0BAAP;AACA,OAAO,oCAAP;AAEA,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;gBACZC,KAAK,EAAE,SADK;gBAEZC,MAAM,EAAE;cAFI;YADN,CADN;YAOJnD,OAAO,EAAE;cACPoD,iBAAiB,EAAE,KADZ;cACmB;cAC1BC,SAAS,EAAE;gBACTH,KAAK,EAAE,SADE;gBACS;gBAClBI,OAAO,EAAE,+CAFA,CAEiD;;cAFjD,CAFJ;cAMPL,YAAY,EAAE;gBACZC,KAAK,EAAE;cADK;YANP,CAPL;YAiBJhD,MAAM,EAAE,KAjBJ;YAiBW;YACfD,SAAS,EAAE;cACTgD,YAAY,EAAE;gBACZM,SAAS,EAAE;cADC;YADL,CAlBP;YAuBJpD,MAAM,EAAE;cACNrB,IAAI,EAAEA,IAAI,CAACwD,IAAD,EAAOhB,IAAP;YADJ;UAvBJ,CADR;UA4BE,QAAQ,EAAC,UA5BX;UA6BE,KAAK,EAAEgB,IA7BT;UA8BE,SAAS,EAAGkB,CAAD,IAAO;YAChBpB,OAAO,CAACC,GAAR,CAAY;cAAEC,IAAF;cAAQkB;YAAR,CAAZ;YACArB,SAAS,CAACG,IAAD,CAAT;UACD,CAjCH;UAkCE,iBAAiB,EAAE;QAlCrB;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QArCF,eA2EE,QAAC,UAAD;QAAA;QAAA;QAAA;MAAA,QA3EF,eA4EE,QAAC,YAAD;QAAc,QAAQ,EAAC;MAAvB;QAAA;QAAA;QAAA;MAAA,QA5EF,eA6EE,QAAC,WAAD;QAAa,QAAQ,EAAC;MAAtB;QAAA;QAAA;QAAA;MAAA,QA7EF;IAAA;MAAA;MAAA;MAAA;IAAA;EADF;IAAA;IAAA;IAAA;EAAA,QADF;AAmFD,CAzGD;;IAAMP,U;;MAAAA,U;AA2GN,eAAeA,UAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/e4a7b0afe3be90a6bc2751e04543f345.json b/node_modules/.cache/babel-loader/e4a7b0afe3be90a6bc2751e04543f345.json
new file mode 100644
index 00000000..bbf3bc3a
--- /dev/null
+++ b/node_modules/.cache/babel-loader/e4a7b0afe3be90a6bc2751e04543f345.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center gap-y-7 lg:absolute lg:left-5 lg:top-10 mb-10 lg:md-0\",\n children: /*#__PURE__*/_jsxDEV(UserProfileInfo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CreateMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","CreateMap","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n {/*
*/}\n {/* title / subtitle */}\n {/*
\n {title}\n \n
\n {subTitle}\n
*/}\n
\n {/* form input اینجارو از کامنت در بیارید */}\n {/*
*/}\n
\n \n {/* */}\n {/* */}\n
\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB;EAAA,IAAxB;IAAEC,KAAF;IAASC;EAAT,CAAwB;EACxC,oBACE;IAAS,SAAS,EAAC,iEAAnB;IAAA,wBACE;MAAK,SAAS,EAAC,2CAAf;MAAA,wBAcE;QAAI,SAAS,EAAC;MAAd;QAAA;QAAA;QAAA;MAAA,QAdF,eAiBE;QAAK,SAAS,EAAC,iGAAf;QAAA,uBACE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAjBF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eA+BE,QAAC,SAAD;MAAA;MAAA;MAAA;IAAA,QA/BF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmCD,CApCD;;KAAMF,Q;AAsCN,eAAeA,QAAf;AAEAA,QAAQ,CAACG,YAAT,GAAwB;EACtBF,KAAK,EAAE,0BADe;EAEtBC,QAAQ,EAAE;AAFY,CAAxB"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/f5d56a4ef1a76fac9be0b2c9804397eb.json b/node_modules/.cache/babel-loader/f5d56a4ef1a76fac9be0b2c9804397eb.json
new file mode 100644
index 00000000..46bd37c2
--- /dev/null
+++ b/node_modules/.cache/babel-loader/f5d56a4ef1a76fac9be0b2c9804397eb.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/flower.svg\",\n className: \"flex lg:absolute lg:left-1/2 lg:top-0 lg:transform lg:-translate-x-1/2 lg:-translate-y-1/2\",\n alt: \"flower\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-primary text-3xl md:text-6xl font-bold mt-7\",\n children: title\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-primary text-lg md:text-3xl mt-4 md:mt-10\",\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CreateMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","CreateMap","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport CreateMap from \"../CreateMap\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n
\n {/* title / subtitle */}\n
\n {title}\n \n
\n {subTitle}\n
\n
\n {/* form input اینجارو از کامنت در بیارید */}\n {/*
*/}\n {/*
\n \n \n \n
*/}\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB;EAAA,IAAxB;IAAEC,KAAF;IAASC;EAAT,CAAwB;EACxC,oBACE;IAAS,SAAS,EAAC,iEAAnB;IAAA,wBACE;MAAK,SAAS,EAAC,2CAAf;MAAA,wBAEE;QACE,GAAG,EAAC,mBADN;QAEE,SAAS,EAAC,4FAFZ;QAGE,GAAG,EAAC;MAHN;QAAA;QAAA;QAAA;MAAA,QAFF,eAQE;QAAI,SAAS,EAAC,kDAAd;QAAA,UACGD;MADH;QAAA;QAAA;QAAA;MAAA,QARF,eAWE;QAAG,SAAS,EAAC,gDAAb;QAAA,UACGC;MADH;QAAA;QAAA;QAAA;MAAA,QAXF,eAcE;QAAI,SAAS,EAAC;MAAd;QAAA;QAAA;QAAA;MAAA,QAdF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eA+BE,QAAC,SAAD;MAAA;MAAA;MAAA;IAAA,QA/BF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmCD,CApCD;;KAAMF,Q;AAsCN,eAAeA,QAAf;AAEAA,QAAQ,CAACG,YAAT,GAAwB;EACtBF,KAAK,EAAE,0BADe;EAEtBC,QAAQ,EAAE;AAFY,CAAxB"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/ff156074cd61464178789b04f95eeae5.json b/node_modules/.cache/babel-loader/ff156074cd61464178789b04f95eeae5.json
new file mode 100644
index 00000000..857bb4f5
--- /dev/null
+++ b/node_modules/.cache/babel-loader/ff156074cd61464178789b04f95eeae5.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js\";\nimport React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CreateMap = () => {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full p-7 flex flex-col\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-full mx-auto flex items-start justify-between gap-x-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/4\",\n children: [/*#__PURE__*/_jsxDEV(CardDesign1, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(CardDesign2, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex-1\",\n children: /*#__PURE__*/_jsxDEV(LeafletMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n title: \"رفتن به مرحله بعد\",\n className: \"self-end bg-secondary text-white text-sm px-5 py-2\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = CreateMap;\nexport default CreateMap;\n\nvar _c;\n\n$RefreshReg$(_c, \"CreateMap\");","map":{"version":3,"names":["React","Button","CardDesign1","CardDesign2","LeafletMap","CreateMap"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CreateMap/index.js"],"sourcesContent":["import React from \"react\";\nimport Button from \"../Button\";\nimport CardDesign1 from \"../CardDesign1\";\nimport CardDesign2 from \"../CardDesign2\";\nimport LeafletMap from \"../LeafletMap\";\n\nconst CreateMap = () => {\n return (\n \n
\n {/* right */}\n
\n \n \n
\n {/* left */}\n
\n \n
\n
\n
\n
\n );\n};\n\nexport default CreateMap;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,WAAP,MAAwB,gBAAxB;AACA,OAAOC,UAAP,MAAuB,eAAvB;;;AAEA,MAAMC,SAAS,GAAG,MAAM;EACtB,oBACE;IAAK,SAAS,EAAC,0BAAf;IAAA,wBACE;MAAK,SAAS,EAAC,yDAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,OAAf;QAAA,wBACE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,WAAD;UAAA;UAAA;UAAA;QAAA,QAFF;MAAA;QAAA;QAAA;QAAA;MAAA,QAFF,eAOE;QAAK,SAAS,EAAC,QAAf;QAAA,uBACE,QAAC,UAAD;UAAA;UAAA;UAAA;QAAA;MADF;QAAA;QAAA;QAAA;MAAA,QAPF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eAYE,QAAC,MAAD;MACE,KAAK,EAAE,mBADT;MAEE,SAAS,EAAC;IAFZ;MAAA;MAAA;MAAA;IAAA,QAZF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmBD,CApBD;;KAAMA,S;AAsBN,eAAeA,SAAf"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/babel-loader/ffddbeee316d3b3b1a0795d938f0a879.json b/node_modules/.cache/babel-loader/ffddbeee316d3b3b1a0795d938f0a879.json
new file mode 100644
index 00000000..477c727d
--- /dev/null
+++ b/node_modules/.cache/babel-loader/ffddbeee316d3b3b1a0795d938f0a879.json
@@ -0,0 +1 @@
+{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/flower.svg\",\n className: \"flex lg:absolute lg:left-1/2 lg:top-0 lg:transform lg:-translate-x-1/2 lg:-translate-y-1/2\",\n alt: \"flower\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-primary text-3xl md:text-6xl font-bold mt-7\",\n children: title\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-primary text-lg md:text-3xl mt-4 md:mt-10\",\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center gap-y-7 lg:absolute lg:left-5 lg:top-10 mb-10 lg:md-0\",\n children: [/*#__PURE__*/_jsxDEV(UserProfileInfo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(ReligiousTimes, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(DistributedData, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CreateMap, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n \n \n {/* ? absolute items */}\n
\n {/* title / subtitle */}\n
\n {title}\n \n
\n {subTitle}\n
\n
\n {/* form input اینجارو از کامنت در بیارید */}\n {/*
*/}\n
\n \n \n \n
\n {/* BoxNextToEachOther */}\n {/*
\n
*/}\n
\n {/* */}\n \n \n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB;EAAA,IAAxB;IAAEC,KAAF;IAASC;EAAT,CAAwB;EACxC,oBACE;IAAS,SAAS,EAAC,iEAAnB;IAAA,wBACE;MAAK,SAAS,EAAC,2CAAf;MAAA,wBAEE;QACE,GAAG,EAAC,mBADN;QAEE,SAAS,EAAC,4FAFZ;QAGE,GAAG,EAAC;MAHN;QAAA;QAAA;QAAA;MAAA,QAFF,eAQE;QAAI,SAAS,EAAC,kDAAd;QAAA,UACGD;MADH;QAAA;QAAA;QAAA;MAAA,QARF,eAWE;QAAG,SAAS,EAAC,gDAAb;QAAA,UACGC;MADH;QAAA;QAAA;QAAA;MAAA,QAXF,eAcE;QAAI,SAAS,EAAC;MAAd;QAAA;QAAA;QAAA;MAAA,QAdF,eAiBE;QAAK,SAAS,EAAC,iGAAf;QAAA,wBACE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA,QADF,eAEE,QAAC,cAAD;UAAA;UAAA;UAAA;QAAA,QAFF,eAGE,QAAC,eAAD;UAAA;UAAA;UAAA;QAAA,QAHF;MAAA;QAAA;QAAA;QAAA;MAAA,QAjBF;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,eA+BE,QAAC,SAAD;MAAA;MAAA;MAAA;IAAA,QA/BF;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAmCD,CApCD;;KAAMF,Q;AAsCN,eAAeA,QAAf;AAEAA,QAAQ,CAACG,YAAT,GAAwB;EACtBF,KAAK,EAAE,0BADe;EAEtBC,QAAQ,EAAE;AAFY,CAAxB"},"metadata":{},"sourceType":"module"}
\ No newline at end of file
diff --git a/node_modules/.cache/default-development/0.pack b/node_modules/.cache/default-development/0.pack
index bdd1a06e..42275903 100644
Binary files a/node_modules/.cache/default-development/0.pack and b/node_modules/.cache/default-development/0.pack differ
diff --git a/node_modules/.cache/default-development/1.pack b/node_modules/.cache/default-development/1.pack
index 422399f0..98178d91 100644
Binary files a/node_modules/.cache/default-development/1.pack and b/node_modules/.cache/default-development/1.pack differ
diff --git a/node_modules/.cache/default-development/10.pack b/node_modules/.cache/default-development/10.pack
index 7402a4b8..495c54d3 100644
Binary files a/node_modules/.cache/default-development/10.pack and b/node_modules/.cache/default-development/10.pack differ
diff --git a/node_modules/.cache/default-development/11.pack b/node_modules/.cache/default-development/11.pack
index e16d9fa9..d8684148 100644
Binary files a/node_modules/.cache/default-development/11.pack and b/node_modules/.cache/default-development/11.pack differ
diff --git a/node_modules/.cache/default-development/2.pack b/node_modules/.cache/default-development/2.pack
index e4f5c50a..82e3a259 100644
Binary files a/node_modules/.cache/default-development/2.pack and b/node_modules/.cache/default-development/2.pack differ
diff --git a/node_modules/.cache/default-development/3.pack b/node_modules/.cache/default-development/3.pack
index 6188a938..c911a676 100644
Binary files a/node_modules/.cache/default-development/3.pack and b/node_modules/.cache/default-development/3.pack differ
diff --git a/node_modules/.cache/default-development/4.pack b/node_modules/.cache/default-development/4.pack
index b6810e68..b5403ca3 100644
Binary files a/node_modules/.cache/default-development/4.pack and b/node_modules/.cache/default-development/4.pack differ
diff --git a/node_modules/.cache/default-development/6.pack b/node_modules/.cache/default-development/6.pack
index 31116db1..4e9f0203 100644
Binary files a/node_modules/.cache/default-development/6.pack and b/node_modules/.cache/default-development/6.pack differ
diff --git a/node_modules/.cache/default-development/7.pack b/node_modules/.cache/default-development/7.pack
index e20f0f3f..ac1d45d9 100644
Binary files a/node_modules/.cache/default-development/7.pack and b/node_modules/.cache/default-development/7.pack differ
diff --git a/node_modules/.cache/default-development/8.pack b/node_modules/.cache/default-development/8.pack
index 97ecbd7f..93c397e7 100644
Binary files a/node_modules/.cache/default-development/8.pack and b/node_modules/.cache/default-development/8.pack differ
diff --git a/node_modules/.cache/default-development/9.pack b/node_modules/.cache/default-development/9.pack
index 8a68cdc1..95c1e6e6 100644
Binary files a/node_modules/.cache/default-development/9.pack and b/node_modules/.cache/default-development/9.pack differ
diff --git a/node_modules/.cache/default-development/index.pack b/node_modules/.cache/default-development/index.pack
index 960a8271..65eb08bc 100644
Binary files a/node_modules/.cache/default-development/index.pack and b/node_modules/.cache/default-development/index.pack differ
diff --git a/node_modules/.cache/default-development/index.pack.old b/node_modules/.cache/default-development/index.pack.old
index 9ea6ba11..11f6f3f8 100644
Binary files a/node_modules/.cache/default-development/index.pack.old and b/node_modules/.cache/default-development/index.pack.old differ
diff --git a/src/App.js b/src/App.js
index a6dc0fc7..bf51cad0 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,22 +1,21 @@
import "./App.scss";
import Homepage from "./components/Homepage";
+
import ContactUs from "./components/ContactUs";
import LeafletMap from "./components/LeafletMap";
-import CreateMap from "./components/CreateMap";
-// import { Provider } from "react-redux";
-// import store from "./redux/store";
+
+import { Provider } from "react-redux";
+import store from "./redux/store";
function App() {
return (
- //
+
+
+
+ // <>
//
- //
- <>
- {/* */}
-
- {/* */}
- {/* */}
- >
+ // {/* */}
+ // >
);
}
diff --git a/src/components/CreateMap/index.js b/src/components/CreateMap/index.js
index a94a9875..c38de3d5 100644
--- a/src/components/CreateMap/index.js
+++ b/src/components/CreateMap/index.js
@@ -1,20 +1,27 @@
import React from "react";
+import Button from "../Button";
import CardDesign1 from "../CardDesign1";
import CardDesign2 from "../CardDesign2";
import LeafletMap from "../LeafletMap";
const CreateMap = () => {
return (
-
- {/* right */}
-
-
-
-
- {/* left */}
-
-
+
+
+ {/* right */}
+
+
+
+
+ {/* left */}
+
+
+
+
);
};
diff --git a/src/components/Homepage/index.js b/src/components/Homepage/index.js
index 2cae8a51..4e5bb843 100644
--- a/src/components/Homepage/index.js
+++ b/src/components/Homepage/index.js
@@ -8,31 +8,32 @@ import ReligiousTimes from "../ReligiousTimes";
import DistributedData from "../DistributedData";
import FormInput from "../FormInput";
import Login from "../Login";
+import CreateMap from "../CreateMap";
const Homepage = ({ title, subTitle }) => {
return (
{/* ? absolute items */}
-
+ /> */}
{/* title / subtitle */}
-
+ {/*
{title}
{subTitle}
-
+ */}
{/* form input اینجارو از کامنت در بیارید */}
-
+ {/*
*/}
-
-
+ {/* */}
+ {/* */}
{/* BoxNextToEachOther */}
{/*
@@ -42,6 +43,7 @@ const Homepage = ({ title, subTitle }) => {
/> */}
{/* */}
+
);
};
diff --git a/src/components/LeafletMap/index.js b/src/components/LeafletMap/index.js
index 0fd9c133..8f3de018 100644
--- a/src/components/LeafletMap/index.js
+++ b/src/components/LeafletMap/index.js
@@ -208,7 +208,7 @@ const LeafletMap = () => {
maxZoom={24}
minZoom={18}
maxNativeZoom={22}
- style={{ height: "100vh" }}
+ style={{ height: "600px" }}
zoomControl={false}
bounds={outerBounds}
>
diff --git a/src/redux/index.js b/src/redux/index.js
index e69de29b..a4c2f66a 100644
--- a/src/redux/index.js
+++ b/src/redux/index.js
@@ -0,0 +1,6 @@
+// @create-index
+
+export { default as actions } from "./actions";
+export { default as proxy } from "./proxy.js";
+export { default as reducers } from "./reducers";
+export { default as store } from "./store.js";
diff --git a/src/redux/proxy.js b/src/redux/proxy.js
index e69de29b..aa9e50e5 100644
--- a/src/redux/proxy.js
+++ b/src/redux/proxy.js
@@ -0,0 +1,120 @@
+import { ApiConfig } from "../constants/defaultValues";
+import axios from "axios";
+
+let { baseUrl } = ApiConfig;
+let access = window.localStorage.getItem("access");
+baseUrl = baseUrl + "/";
+
+const Axios = axios.create({
+ withCredentials: true,
+ validateStatus: null,
+ baseURL: baseUrl,
+ //headers: access ? { Authorization: `Bearer ${access}` } : {},
+});
+class Proxy {
+ get = async (url, params, opt, data) =>
+ await this.check(
+ url,
+ opt,
+ async () => await Axios.get(url, { params, ...opt }),
+ data || params
+ );
+ post = async (url, params, opt, data) =>
+ await this.check(
+ url,
+ opt,
+ async () => await Axios.post(url, params, opt),
+ data || params
+ );
+ put = async (url, params, opt, data) =>
+ await this.check(
+ url,
+ opt,
+ async () => await Axios.put(url, params, opt),
+ data || params
+ );
+ delete = async (url, params, opt, data) => {
+ await this.check(
+ url,
+ opt,
+ async () => await Axios.delete(url, { ...opt, data: params }),
+ data || params
+ );
+ };
+
+ check = async (url, { dispatch }, fetch, params) => {
+ dispatch = dispatch || (() => {});
+ dispatch({ type: url.split("/")[0] + "/" + "loading" });
+ let response = await fetch();
+ switch (response.status) {
+ case 200:
+ dispatch({ type: url, data: response.data.data, params });
+ return response.data.data;
+ case 401:
+ let refresh = localStorage.getItem("refresh");
+ if (refresh && (await this.refresh(refresh))) {
+ let response = await fetch();
+ dispatch({ type: url, data: response.data.data, params });
+ return response.data.data;
+ }
+ break;
+ default:
+ dispatch({
+ type: url.split("/")[0] + "/" + "error",
+ data: response.data,
+ params,
+ });
+ }
+ return false;
+ };
+
+ refresh = async () => {
+ let refresh = localStorage.getItem("refresh");
+
+ if (!refresh) return false;
+ //window.location.href = "/";
+ // let login = await this.login(
+ // "user/login",
+ // {},
+ // { headers: { Authorization: `Bearer ${refresh}` } }
+ // );
+ // return login ? true : false;
+ return false;
+ };
+ login = async (url, params, { dispatch }) =>
+ this.post(url, params, {
+ dispatch: (obj) => {
+ let login = obj.data;
+ if (!login || !login.refreshToken) return false;
+ localStorage.setItem("refresh", login.refreshToken);
+ localStorage.setItem("access", login.accessToken);
+ delete login.refreshToken;
+ delete login.accessToken;
+ localStorage.setItem("userData", JSON.stringify(login.profile));
+ dispatch(obj);
+ },
+ });
+
+ logout = async (url, params, { dispatch }) => {
+ this.post(url, params, {
+ dispatch: (obj) => {
+ localStorage.clear();
+ dispatch(obj);
+ },
+ });
+ };
+ status = () => {
+ let refresh = localStorage.getItem("refresh");
+ let userData = localStorage.getItem("userData");
+ if (!refresh) return false;
+ if (refresh == "undefined") {
+ localStorage.clear();
+ return false;
+ }
+
+ return JSON.parse(userData || "");
+ };
+}
+const _proxy = new Proxy();
+
+export default _proxy;
diff --git a/src/redux/store.js b/src/redux/store.js
index e69de29b..39f695f9 100644
--- a/src/redux/store.js
+++ b/src/redux/store.js
@@ -0,0 +1,31 @@
+import { createStore, applyMiddleware, combineReducers } from "redux";
+import { composeWithDevTools } from "redux-devtools-extension";
+import { persistStore, persistReducer } from "redux-persist";
+
+import * as reducers from "./reducers";
+import thunk from "redux-thunk";
+import storage from "redux-persist/lib/storage"; // defaults to localStorage for web
+
+const persistConfig = {
+ key: "root",
+ storage,
+};
+
+const initialState = {};
+const middleware = [thunk];
+
+const persistedReducer = persistReducer(
+ persistConfig,
+ combineReducers(reducers)
+);
+
+export default () => {
+ let store = createStore(
+ persistedReducer,
+ initialState,
+ composeWithDevTools(applyMiddleware(...middleware))
+ );
+ const persistor = persistStore(store);
+
+ return { store, persistor };
+};