{"version":3,"sources":["pages/Hagholvekaleh/components/CriminalLawsuits/index.js","pages/Hagholvekaleh/components/FinancialClaims/index.js","pages/Hagholvekaleh/components/NonFinancialClaims/index.js","pages/Hagholvekaleh/components/Print/index.js","components/Radio/index.js","components/Section/index.js","pages/Hagholvekaleh/core/index.js","boot/axios.js","pages/KhesaratTakhirTadieh/index.js","layouts/MainLayout/components/Menu/index.js","layouts/MainLayout/index.js","reducer/index.js","App.js","reportWebVitals.js","index.js","components/Wrapper/index.js","components/Checkbox/index.js","reducer/selectOptions.js","components/Input/index.js","components/Select/index.js","components/Loading/index.js","global/functions.js","assets/logo/logo.png","components/Logo/index.js","assets/icons/add.svg","assets/icons/remove.svg","components/Counter/index.js","controllers/index.js","components/Information/index.js"],"names":["CriminalLawsuits","props","state","price","value","keyfari","toLocaleString","min","max","tableInput","farjamKhahiKeyfariValue","omoorEjraiiValue","gharareGhabeleEterazeDadsaraValue","taghazaEadehdadresiValue","madde477Value","tableItem","title","showPrice","subsetOf","changePrice","disable","prependCheckbox","prevProps","prevState","this","sendData","setMinMax","salahiat","mojazat","JSON","stringify","render","cloneDeep","setKeyfari","minMax","footer","loadign","className","setValue","e","Number","target","items","salahiatKeyfariOptions","mojazatKeyfariOptions","onChange","priceNumbers","replace","setState","append","prepend","inputClassName","checkMinMax","map","item","index","eval","disabled","error","show","color","content","Component","mapStateToProps","mapDispatchToProps","dispatch","data","type","connect","FinancialClaims","mali","omooriEjraiiValue","tableItems","minValue","setMali","mizanMahkoomKhaste","header","label","natijehDaaviMaliOptions","NonFinancialClaims","option","gheyrMali","noeDaavi","setGheyrMali","Print","kanoonMatboVakil","noeVekalat","natijeDaavi","noeDaaviGheyrMaliOptions","headerData","Array","Boolean","maliData","badviCost","tajdidNazarCost","divanAliCost","omoorEjraiiCost","gheyrMaliData","keyfariData","footerData","dataValue","val","total","i","pageName","style","display","toString","MyRadio","FormControlLabel","control","Radio","padding","checked","labelPlacement","Section","children","Hagholvekaleh","screens","component","name","requestName","screen","tarefeYaGharadad","setTitle","setHeader","indexOf","govahiVekalatTakhasosi","Wrapper","Logo","Checkbox","Counter","Button","variant","onClick","React","createElement","window","print","servers","url","baseURL","token","axios","interceptors","request","use","find","search","headers","Token","Promise","reject","response","KhesaratTakhirTadieh","getThisDate","format","dateNow","Date","getTime","thisYear","moment","locale","yearsValue","maxYear","years","unshift","getIndex","a","indicators","calculationType","year","month","setIndex","post","then","catch","handleErrors","setIndicatorsBasedYearCalculation","Object","keys","forEach","indicator","checkIndicatorsCondition","indicatorCondition_1","indicatorCondition_2","indicatorCondition_3","indicatorCondition_4","checkDemand","demand","notification","text","checkIndicators","checkIndicatorsYears","dueDate","payment","checkIndicatorsMonth","checkIndicatorsValue","status","errors","phoneNumber","duration","calculation","calculations","mizanTalab","yearSarresid","monthSarresid","yearPardakht","monthPardakht","totalCalculations","khesaratAsletalab","khesaratarzeshafzodeh","length","showValue","Typography","TextField","dir","required","InputProps","startAdornment","Select","defaultValue","MenuItem","CircularProgress","size","shakesSarresid","shakesPardakht","splice","Menu","getLinks","loading","get","links","sath1","sortLinks","newLinks","push","Accordion","square","AccordionSummary","expandIcon","AccordionDetails","key","onClose","link","Link","to","href","Drawer","anchor","Loading","pages","path","exact","MainLayout","setShowDrawer","showDrawer","setShowPages","showPages","handleClick","event","currentTarget","handleClose","IconButton","open","fallback","from","Information","vekalatPasAzNaghzRay","mamoryatDakhelOstan","mamoryatKharejeelOstan","badvi","tajdidNazar","divanAli","omooriEjraii","hoghooghPaye","tedadJaraemeEzafeh","faghedDadsara","dadsara","badviGhatii","farjamKhahiKeyfari","omoorEjraii","gharareGhabeleEterazeDadsara","taghazaEadehdadresi","madde477","haghTambMaliati","hazinehSafar","jameHagholvekalehKol","sahmKanoonVokala","sahmKarmandanMoaser","sahmMarkazMoshaveran","sahmNamayandeGhazaii","sahmSandoghHemayat","dadsaraCost","farjamKhahiKeyfariCost","gharareGhabeleEterazeDadsaraCost","taghazaEadehDadresiCost","taghazaMade477Cost","maxEadehdadresi","maxEjra","maxEjra2","maxFarjamKeyfari","maxGharareGHabeleEterazeDadsara","maxHagholvekale","maxMade477","minEadehdadresi","minEjra","minEjra2","minFarjamKeyfari","minGharareGHabeleEterazeDadsara","minHagholvekale","minMade477","store","getMinMax","createStore","action","noeDava","theme","createMuiTheme","palette","primary","main","contrastText","App","ThemeProvider","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","document","getElementById","MyCheckbox","Input","error-show","error-color","error-content","lang","MySelect","parseInt","gotToMainSite","location","src","logo","alt","Add","Remove","number","str","persianNumbers","arabicNumbers","convert_to_english_number","String","NotificationManager","information","icon","MyLocation","PhoneIphone","PhoneInTalk"],"mappings":"+5EAiBMA,iB,8dACJ,0BAAYC,GAAQ,IAAD,6OACjB,mBAAMA,IACDC,MAAQ,CACXC,MAAO,CACLC,MAAOH,EAAMI,QAAN,aAA8BC,iBACrCC,IAAK,kBACLC,IAAK,mBAEPC,WAAY,CACVC,wBAAyB,GACzBC,iBAAkB,GAClBC,kCAAmC,GACnCC,yBAA0B,GAC1BC,cAAe,IAEjBC,UAAW,CACT,CACEC,MAAO,uCACPZ,MAAO,UACPa,UAAW,CACTb,MAAO,cACPc,SAAU,UAEZC,YAAa,KACbC,SAAS,EACTC,gBAAiB,MAEnB,CACEL,MAAO,uEACPZ,MAAO,cACPa,UAAW,KACXE,YAAa,KACbC,SAAS,EACTC,gBAAiB,MAEnB,CACEL,MAAO,2BACPZ,MAAO,QACPa,UAAW,CACTb,MAAO,YACPc,SAAU,UAEZC,YAAa,KACbC,SAAS,EACTC,gBAAiB,MAEnB,CACEL,MAAO,oDACPZ,MAAO,cACPa,UAAW,CACTb,MAAO,kBACPc,SAAU,UAEZC,YAAa,KACbC,SAAS,EACTC,gBAAiB,MAEnB,CACEL,MAAO,+FACPZ,MAAO,qBACPa,UAAW,CACTb,MAAO,yBACPc,SAAU,UAEZC,YAAa,CACXf,MAAO,0BACPG,IAAK,mBACLC,IAAK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GAC7B8T,SAAS9T,MAAQA,I,gCCxDnB,wEAiCe2P,IA5BK,WAClB,IAAM2F,EAAc,CAClB,CACEtV,MAAO,2BACPuV,KAAMC,IACNpW,MACE,ypBAEJ,CAAEY,MAAO,0DAAcuV,KAAME,IAAarW,MAAO,eACjD,CAAEY,MAAO,oDAAauV,KAAMG,IAAatW,MAAO,gBAElD,OACE,qBAAKiC,UAAU,0CAAf,SACGiU,EAAYjT,KAAI,SAACC,EAAMC,GAAP,OACf,sBAAiBlB,UAAU,yBAA3B,UACE,cAAC,IAAD,UAAakG,IAAMC,cAAclF,EAAKiT,QACtC,sBACE/I,IAAKlK,EAAKa,OAAS3B,OAAS,MAAQ,MACpCH,UAAU,oBAFZ,SAIGiB,EAAKlD,UANAmD,W","file":"static/js/main.3bd1a8fc.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Checkbox from \"../../../../components/Checkbox\";\r\nimport Counter from \"../../../../components/Counter\";\r\nimport Input from \"../../../../components/Input\";\r\nimport Wrapper from \"../../../../components/Wrapper\";\r\nimport Loading from \"../../../../components/Loading\";\r\nimport Select from \"../../../../components/Select\";\r\nimport cloneDeep from \"lodash/cloneDeep\";\r\nimport \"./index.css\";\r\nimport { checkMinMax, priceNumbers } from \"../../../../controllers\";\r\nimport {\r\n salahiatKeyfariOptions,\r\n mojazatKeyfariOptions,\r\n} from \"../../../../reducer/selectOptions\";\r\nimport { showPrice } from \"../../../../global/functions\";\r\n\r\nclass CriminalLawsuits extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n price: {\r\n value: props.keyfari[\"hoghooghPaye\"].toLocaleString(),\r\n min: \"minHagholvekale\",\r\n max: \"maxHagholvekale\",\r\n },\r\n tableInput: {\r\n farjamKhahiKeyfariValue: \"\",\r\n omoorEjraiiValue: \"\",\r\n gharareGhabeleEterazeDadsaraValue: \"\",\r\n taghazaEadehdadresiValue: \"\",\r\n madde477Value: \"\",\r\n },\r\n tableItem: [\r\n {\r\n title: \"دادسرا\",\r\n value: \"dadsara\",\r\n showPrice: {\r\n value: \"dadsaraCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"حکم بدوی قطعی\",\r\n value: \"badviGhatii\",\r\n showPrice: null,\r\n changePrice: null,\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"بدوی\",\r\n value: \"badvi\",\r\n showPrice: {\r\n value: \"badviCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"تجدید نظر\",\r\n value: \"tajdidNazar\",\r\n showPrice: {\r\n value: \"tajdidNazarCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"فرجام خواهی کیفری\",\r\n value: \"farjamKhahiKeyfari\",\r\n showPrice: {\r\n value: \"farjamKhahiKeyfariCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"farjamKhahiKeyfariValue\",\r\n min: \"minFarjamKeyfari\",\r\n max: \"maxFarjamKeyfari\",\r\n },\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"امور اجرایی\",\r\n value: \"omoorEjraii\",\r\n showPrice: {\r\n value: \"omoorEjraiiCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"omoorEjraiiValue\",\r\n min: \"minEjra\",\r\n max: \"maxEjra\",\r\n },\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"اعتراض به قرار های قابل اعتراض دادسرا\",\r\n value: \"gharareGhabeleEterazeDadsara\",\r\n showPrice: {\r\n value: \"gharareGhabeleEterazeDadsaraCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"gharareGhabeleEterazeDadsaraValue\",\r\n min: \"minGharareGHabeleEterazeDadsara\",\r\n max: \"maxGharareGHabeleEterazeDadsara\",\r\n },\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"تقاضای اعاده دادرسی\",\r\n value: \"taghazaEadehdadresi\",\r\n showPrice: {\r\n value: \"taghazaEadehDadresiCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"taghazaEadehdadresiValue\",\r\n min: \"minEadehdadresi\",\r\n max: \"maxEadehdadresi\",\r\n },\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n {\r\n title: \"تقاضای اعمال ماده 477 آیین دادرسی کیفری\",\r\n value: \"madde477\",\r\n showPrice: {\r\n value: \"taghazaMade477Cost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"madde477Value\",\r\n min: \"minMade477\",\r\n max: \"maxMade477\",\r\n },\r\n disable: false,\r\n prependCheckbox: null,\r\n },\r\n ],\r\n };\r\n }\r\n componentDidUpdate(prevProps, prevState) {\r\n const { keyfari, sendData, setMinMax } = this.props;\r\n if (\r\n keyfari.salahiat !== prevProps.keyfari.salahiat ||\r\n keyfari.mojazat !== prevProps.keyfari.mojazat\r\n ) {\r\n setMinMax(2);\r\n }\r\n if (JSON.stringify(keyfari) !== JSON.stringify(prevProps.keyfari)) {\r\n sendData(\"Keyfari\");\r\n }\r\n }\r\n render() {\r\n const { price, tableItem, tableInput } = cloneDeep(this.state);\r\n const { keyfari, setKeyfari, minMax, footer, loadign } = cloneDeep(\r\n this.props\r\n );\r\n return (\r\n \r\n \r\n \r\n \r\n
\r\n
{\r\n var value = e.target.value;\r\n keyfari[\"hoghooghPaye\"] = Number(\r\n priceNumbers(value).replace(/[^0-9.]/g, \"\")\r\n );\r\n setKeyfari(keyfari);\r\n price.value = priceNumbers(value);\r\n this.setState({ price });\r\n }}\r\n append=\"ریال\"\r\n prepend=\"حق الوکاله پایه\"\r\n inputClassName=\"text-center dir-ltr\"\r\n />\r\n
\r\n {loadign ? (\r\n \r\n ) : (\r\n <>\r\n {\" \"}\r\n حداقل مبلغ {minMax[price.min].toLocaleString()} ریال و حداکثر\r\n مبلغ {minMax[price.max].toLocaleString()} ریال وارد کنید\r\n >\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nlet mapStateToProps = (state) => ({\r\n keyfari: state.keyfari,\r\n footer: state.footer,\r\n minMax: state.minMax,\r\n loadign: state.loadign,\r\n});\r\nlet mapDispatchToProps = (dispatch) => ({\r\n setKeyfari: (data) => {\r\n dispatch({ type: \"SET_KEYFARI\", data });\r\n },\r\n setMinMax: (data) => {\r\n dispatch({ type: \"SET_MINMAX\", data });\r\n },\r\n sendData: (data) => {\r\n dispatch({ type: \"SEND_DATA\", data });\r\n },\r\n});\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(CriminalLawsuits);\r\n","import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Checkbox from \"../../../../components/Checkbox\";\r\nimport Input from \"../../../../components/Input\";\r\nimport Wrapper from \"../../../../components/Wrapper\";\r\nimport Select from \"../../../../components/Select\";\r\nimport { checkMinMax, priceNumbers } from \"../../../../controllers\";\r\nimport cloneDeep from \"lodash/cloneDeep\";\r\nimport { natijehDaaviMaliOptions } from \"../../../../reducer/selectOptions\";\r\nimport \"./index.css\";\r\nimport { showPrice } from \"../../../../global/functions\";\r\n\r\nclass FinancialClaims extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n price: props.mali[\"mizanMahkoomKhaste\"].toLocaleString(),\r\n tableInput: {\r\n omooriEjraiiValue: \"\",\r\n },\r\n tableItems: [\r\n {\r\n title: \"بدوی\",\r\n value: \"badvi\",\r\n showPrice: {\r\n value: \"badviCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: null,\r\n },\r\n {\r\n title: \"تجدید نظر\",\r\n value: \"tajdidNazar\",\r\n showPrice: {\r\n value: \"tajdidNazarCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: {\r\n minValue: 30000000,\r\n },\r\n },\r\n {\r\n title: \"دیوان عالی کشور\",\r\n value: \"divanAli\",\r\n showPrice: {\r\n value: \"divanAliCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: {\r\n minValue: 20000000,\r\n },\r\n },\r\n {\r\n title: \"امور اجرایی\",\r\n value: \"omooriEjraii\",\r\n showPrice: {\r\n value: \"omoorEjraiiCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"omooriEjraiiValue\",\r\n min: \"minEjra\",\r\n max: \"maxEjra\",\r\n },\r\n disable: null,\r\n },\r\n ],\r\n };\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n const { mali, setMali, sendData, setMinMax } = cloneDeep(this.props);\r\n if (mali.mizanMahkoomKhaste !== prevProps.mali.mizanMahkoomKhaste) {\r\n setMinMax(0);\r\n }\r\n if (JSON.stringify(mali) !== JSON.stringify(prevProps.mali)) {\r\n sendData(\"Mali\");\r\n }\r\n if (mali[\"mizanMahkoomKhaste\"] < 20000000 && mali[\"divanAli\"]) {\r\n mali[\"divanAli\"] = false;\r\n setMali(mali);\r\n }\r\n if (mali[\"mizanMahkoomKhaste\"] < 30000000 && mali[\"tajdidNazar\"]) {\r\n mali[\"tajdidNazar\"] = false;\r\n setMali(mali);\r\n }\r\n }\r\n\r\n render() {\r\n const { price, tableItems, tableInput } = cloneDeep(this.state);\r\n const { mali, setMali, footer, header, minMax } = cloneDeep(this.props);\r\n return (\r\n \r\n \r\n \r\n \r\n
\r\n
{\r\n var value = e.target.value;\r\n mali[\"mizanMahkoomKhaste\"] = Number(\r\n priceNumbers(value).replace(/[^0-9.]/g, \"\")\r\n );\r\n setMali(mali);\r\n this.setState({ price: priceNumbers(e.target.value) });\r\n }}\r\n append=\"ریال\"\r\n prepend={\r\n header[\"tarefeYaGharadad\"]\r\n ? \"میزان محکوم به / خواسته\"\r\n : \"میزان حق الوکاله مورد توافق\"\r\n }\r\n inputClassName=\"text-center dir-ltr\"\r\n />\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nlet mapStateToProps = (state) => ({\r\n mali: state.mali,\r\n header: state.header,\r\n footer: state.footer,\r\n minMax: state.minMax,\r\n});\r\nlet mapDispatchToProps = (dispatch) => ({\r\n setMali: (data) => {\r\n dispatch({ type: \"SET_MALI\", data });\r\n },\r\n setMinMax: (data) => {\r\n dispatch({ type: \"SET_MINMAX\", data });\r\n },\r\n sendData: (data) => {\r\n dispatch({ type: \"SEND_DATA\", data });\r\n },\r\n});\r\nexport default connect(mapStateToProps, mapDispatchToProps)(FinancialClaims);\r\n","import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport Checkbox from \"../../../../components/Checkbox\";\r\nimport Input from \"../../../../components/Input\";\r\nimport Loadign from \"../../../../components/Loading\";\r\nimport Wrapper from \"../../../../components/Wrapper\";\r\nimport Select from \"../../../../components/Select\";\r\nimport cloneDeep from \"lodash/cloneDeep\";\r\nimport \"./index.css\";\r\nimport { checkMinMax, priceNumbers } from \"../../../../controllers\";\r\nimport { showPrice } from \"../../../../global/functions\";\r\n\r\nclass NonFinancialClaims extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.option = [\r\n \"مطلق دعاوی خانوادگی یا دعاوی ناشی از زوجیت و همچنین امور حسبی\",\r\n \"دعاوی که خواسته آن ها مالی نیست یا تعیین بهای خواسته به موجب قانون لازم نیست\",\r\n ];\r\n this.state = {\r\n price: {\r\n value: props.gheyrMali[\"hoghooghPaye\"].toLocaleString(),\r\n max: \"maxHagholvekale\",\r\n min: \"minHagholvekale\",\r\n },\r\n\r\n tableInput: {\r\n omooriEjraiiValue: \"\",\r\n },\r\n\r\n tableItems: [\r\n {\r\n title: \"بدوی\",\r\n value: \"badvi\",\r\n showPrice: {\r\n value: \"badviCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: false,\r\n },\r\n {\r\n title: \"تجدید نظر\",\r\n value: \"tajdidNazar\",\r\n showPrice: {\r\n value: \"tajdidNazarCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: false,\r\n },\r\n {\r\n title: \"دیوان عالی کشور\",\r\n value: \"divanAli\",\r\n showPrice: {\r\n value: \"divanAliCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: null,\r\n disable: false,\r\n },\r\n {\r\n title: \"امور اجرایی\",\r\n value: \"omooriEjraii\",\r\n showPrice: {\r\n value: \"omoorEjraiiCost\",\r\n subsetOf: \"footer\",\r\n },\r\n changePrice: {\r\n value: \"omooriEjraiiValue\",\r\n min: \"minEjra\",\r\n max: \"maxEjra\",\r\n },\r\n disable: false,\r\n },\r\n ],\r\n };\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n const { gheyrMali, sendData, setMinMax } = this.props;\r\n if (gheyrMali.noeDaavi !== prevProps.gheyrMali.noeDaavi) {\r\n setMinMax(1);\r\n }\r\n if (JSON.stringify(gheyrMali) !== JSON.stringify(prevProps.gheyrMali)) {\r\n sendData(\"GheyrMali\");\r\n }\r\n }\r\n\r\n render() {\r\n const { price, tableItems, tableInput } = cloneDeep(this.state);\r\n const { gheyrMali, setGheyrMali, minMax, header, footer, loadign } =\r\n cloneDeep(this.props);\r\n return (\r\n \r\n \r\n \r\n \r\n
\r\n
{\r\n var value = e.target.value;\r\n gheyrMali[\"hoghooghPaye\"] = Number(\r\n priceNumbers(value).replace(/[^0-9.]/g, \"\")\r\n );\r\n setGheyrMali(gheyrMali);\r\n price.value = priceNumbers(value);\r\n this.setState({ price });\r\n }}\r\n append=\"ریال\"\r\n prepend={\r\n header[\"tarefeYaGharadad\"]\r\n ? \"حق الوکاله پایه\"\r\n : \"حق الوکاله مورد توافق\"\r\n }\r\n inputClassName=\"text-center dir-ltr\"\r\n />\r\n
\r\n {loadign ? (\r\n \r\n ) : (\r\n <>\r\n حداقل مبلغ {minMax[price.min].toLocaleString()} ریال و حداکثر\r\n مبلغ {minMax[price.max].toLocaleString()} ریال وارد کنید\r\n >\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nlet mapStateToProps = (state) => ({\r\n gheyrMali: state.gheyrMali,\r\n header: state.header,\r\n footer: state.footer,\r\n minMax: state.minMax,\r\n loadign: state.loadign,\r\n});\r\nlet mapDispatchToProps = (dispatch) => ({\r\n setGheyrMali: (data) => {\r\n dispatch({ type: \"SET_GHEYR_MALI\", data });\r\n },\r\n setMinMax: (data) => {\r\n dispatch({ type: \"SET_MINMAX\", data });\r\n },\r\n sendData: (data) => {\r\n dispatch({ type: \"SEND_DATA\", data });\r\n },\r\n});\r\nexport default connect(mapStateToProps, mapDispatchToProps)(NonFinancialClaims);\r\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Logo from \"../../../../components/Logo\";\nimport {\n mojazatKeyfariOptions,\n natijehDaaviMaliOptions,\n noeDaaviGheyrMaliOptions,\n salahiatKeyfariOptions,\n} from \"../../../../reducer/selectOptions\";\nimport \"./index.css\";\nimport Information from \"../../../../components/Information\";\n\nconst Print = ({ type = \"mali\", header, mali, gheyrMali, keyfari, footer }) => {\n const kanoonMatboVakil = [\n \"کانون وکلا\",\n \"مرکز مشاوران\",\n \"نماینده قضایی نهادهای دولتی\",\n ];\n const noeVekalat = [\"تعیینی\", \"تسخیری\", \"معاضدتی\"];\n const natijeDaavi = [...natijehDaaviMaliOptions];\n const noeDaavi = [...noeDaaviGheyrMaliOptions];\n const salahiat = [...salahiatKeyfariOptions];\n const mojazat = [...mojazatKeyfariOptions];\n const headerData = [\n {\n title: \"کانون متبوع وکیل\",\n value: \"kanoonMatboVakil\",\n type: Array,\n data: header,\n },\n {\n title: \"نوع وکالت\",\n value: \"noeVekalat\",\n type: Array,\n data: header,\n },\n {\n title: \"گواهی وکالت تخصصی\",\n value: \"govahiVekalatTakhasosi\",\n type: Boolean,\n data: header,\n },\n {\n title: \"وکالت پس از نقض رای\",\n value: \"vekalatPasAzNaghzRay\",\n type: Boolean,\n data: header,\n },\n {\n title: \"روزهای ماموریت داخل استان\",\n value: \"mamoryatDakhelOstan\",\n type: Number,\n data: header,\n },\n {\n title: \"روزهای ماموریت خارج استان\",\n value: \"mamoryatKharejeelOstan\",\n type: Number,\n data: header,\n },\n ];\n const maliData = [\n {\n title: \"نتیجه دعوی\",\n value: \"natijeDaavi\",\n type: Array,\n data: mali,\n price: null,\n },\n {\n title: header[\"tarefeYaGharadad\"]\n ? \"میزان محکوم به / خواسته\"\n : \"میزان حق الوکاله مورد توافق\",\n value: \"mizanMahkoomKhaste\",\n type: \"Price\",\n data: mali,\n price: null,\n },\n {\n title: \"بدوی\",\n value: \"badvi\",\n type: Boolean,\n data: mali,\n price: footer.badviCost || 0,\n },\n {\n title: \"تجدید نظر\",\n value: \"tajdidNazar\",\n type: Boolean,\n data: mali,\n price: footer.tajdidNazarCost || 0,\n },\n {\n title: \"دیوان عالی کشور\",\n value: \"divanAli\",\n type: Boolean,\n data: mali,\n price: footer.divanAliCost || 0,\n },\n {\n title: \"امور اجرایی\",\n value: \"omooriEjraii\",\n type: Boolean,\n data: mali,\n price: footer.omoorEjraiiCost || 0,\n },\n ];\n const gheyrMaliData = [\n {\n title: \"نوع دعوی\",\n value: \"noeDaavi\",\n type: Array,\n data: gheyrMali,\n price: null,\n },\n {\n title: \"حق الوکاله پایه\",\n value: \"hoghooghPaye\",\n type: \"Price\",\n data: gheyrMali,\n price: null,\n },\n {\n title: \"بدوی\",\n value: \"badvi\",\n type: Boolean,\n data: gheyrMali,\n price: null,\n },\n {\n title: \"تجدید نظر\",\n value: \"tajdidNazar\",\n type: Boolean,\n data: gheyrMali,\n price: null,\n },\n {\n title: \"دیوان عالی کشور\",\n value: \"divanAli\",\n type: Boolean,\n data: gheyrMali,\n price: null,\n },\n {\n title: \"امور اجرایی\",\n value: \"omooriEjraii\",\n type: Boolean,\n data: gheyrMali,\n price: footer.omoorEjraiiCost || 0,\n },\n ];\n const keyfariData = [\n {\n title: \"صلاحیت\",\n value: \"salahiat\",\n type: Array,\n data: keyfari,\n price: null,\n },\n {\n title: \"مجازات\",\n value: \"mojazat\",\n type: Array,\n data: keyfari,\n price: null,\n },\n {\n title: \"تعداد روز های اضافه\",\n value: \"tedadJaraemeEzafeh\",\n type: Number,\n data: keyfari,\n price: null,\n },\n {\n title: \"حق الوکاله پایه\",\n value: \"hoghooghPaye\",\n type: \"Price\",\n data: keyfari,\n price: null,\n },\n {\n title: \"رسیدگی فاقد مرحله دادسرا\",\n value: \"faghedDadsara\",\n type: Boolean,\n data: keyfari,\n price: null,\n },\n {\n title: \"دادسرا\",\n value: \"dadsara\",\n type: Boolean,\n data: keyfari,\n price: footer[\"dadsaraCost\"] || 0,\n },\n {\n title: \"حکم بدوی قطعی\",\n value: \"badviGhatii\",\n type: Boolean,\n data: keyfari,\n price: null,\n },\n {\n title: \"بدوی\",\n value: \"badvi\",\n type: Boolean,\n data: keyfari,\n price: footer[\"badviCost\"],\n },\n {\n title: \"تجدید نظر\",\n value: \"tajdidNazar\",\n type: Boolean,\n data: keyfari,\n price: footer[\"tajdidNazarCost\"],\n },\n {\n title: \"فرجام خواهی کیفری\",\n value: \"farjamKhahiKeyfari\",\n type: Boolean,\n data: keyfari,\n price: footer[\"farjamKhahiKeyfariCost\"] || 0,\n },\n {\n title: \"امور اجرایی\",\n value: \"omoorEjraii\",\n type: Boolean,\n data: keyfari,\n price: footer[\"omoorEjraiiCost\"] || 0,\n },\n {\n title: \"اعتراض به قرار های قابل اعتراض دادسرا\",\n value: \"gharareGhabeleEterazeDadsara\",\n type: Boolean,\n data: keyfari,\n price: footer[\"gharareGhabeleEterazeDadsaraCost\"] || 0,\n },\n {\n title: \"تقاضای اعاده دادرسی\",\n value: \"taghazaEadehdadresi\",\n type: Boolean,\n data: keyfari,\n price: footer[\"taghazaEadehDadresiCost\"] || 0,\n },\n {\n title: \"تقاضای اعمال ماده 477 آیین دادرسی کیفری\",\n value: \"madde477\",\n type: Boolean,\n data: keyfari,\n price: footer[\"taghazaMade477Cost\"] || 0,\n },\n ];\n const footerData = [\n {\n title: \"جمع کل حق الوکاله\",\n value: \"jameHagholvekalehKol\",\n type: \"Price\",\n data: footer,\n show: true,\n },\n {\n title: \"هزینه سفر\",\n value: \"hazinehSafar\",\n type: \"Price\",\n data: footer,\n show: true,\n },\n {\n title: \"جمع هزینه سفر و حق الوکاله\",\n value: [\"jameHagholvekalehKol\", \"hazinehSafar\"],\n type: \"Total\",\n data: footer,\n show: true,\n },\n {\n title:\n header[\"kanoonMatboVakil\"] === 2\n ? \"سهم نماینده قضائی\"\n : \"حق تمبر مالیاتی\",\n value: \"haghTambMaliati\",\n type: \"Price\",\n data: footer,\n show: true,\n },\n {\n title:\n header[\"kanoonMatboVakil\"] === 2\n ? \"سهم کارمند موثر در پیشرفت دادرسی \"\n : \"سهم صندوق حمایت\",\n value: \"sahmSandoghHemayat\",\n type: \"Price\",\n data: footer,\n show: true,\n },\n {\n title: \"سهم هزینه کانون وکلا\",\n value: \"sahmKanoonVokala\",\n type: \"Price\",\n data: footer,\n show: header[\"kanoonMatboVakil\"] !== 2,\n },\n {\n title: \"جمع سهم صندوق حمایت, هزینه کانون و تمبر مالیاتی\",\n value: [\"haghTambMaliati\", \"sahmSandoghHemayat\", \"sahmKanoonVokala\"],\n type: \"Total\",\n data: footer,\n show: true,\n },\n ];\n\n const dataValue = (val, data, type) => {\n if (type === Array) {\n return eval(val)[data[val]];\n }\n if (type === Boolean) {\n return data[val] ? \"دارد\" : \"ندارد\";\n }\n if (type === Number) {\n return data[val];\n }\n if (type === \"Price\") {\n return data[val].toLocaleString() + \" ریال\";\n }\n if (type === \"Total\") {\n let total = 0;\n for (let i in val) {\n total += data[val[i]];\n }\n return total.toLocaleString() + \" ریال\";\n }\n };\n return (\n
\n
\n
\n \n {/* <--- HEADER ---> */}\n \n محاسبه بر اساس \n {header[\"tarefeYaGharadad\"] ? \"تعرفه\" : \"قرارداد\"} \n \n {headerData.map((item, index) => (\n \n {item.title} \n {dataValue(item.value, item.data, item.type)} \n \n ))}\n\n {/* <--- MAIN ---> */}\n {eval(`(${type + \"Data\"})`).map((item, index) => (\n \n {item.title} \n {dataValue(item.value, item.data, item.type)} \n {item.price !== null ? (\n // {dataValue(item.price, item.data, \"Price\")} \n {item.price.toLocaleString() + \" ریال\"} \n ) : null}\n \n ))}\n\n {/* <--- FOOTER ---> */}\n {footerData.map((item, index) => (\n \n {item.title} \n \n {dataValue(item.value, item.data, item.type)} \n \n ))}\n \n
\n
\n );\n};\n\nconst mapStateToProps = (state) => {\n return {\n header: state.header,\n mali: state.mali,\n gheyrMali: state.gheyrMali,\n keyfari: state.keyfari,\n footer: state.footer,\n };\n};\n\nexport default connect(mapStateToProps)(Print);\n","import { FormControlLabel, Radio } from \"@material-ui/core\";\r\nimport \"./index.css\";\r\n\r\nconst MyRadio = ({\r\n value = true,\r\n setValue = () => {},\r\n title = \"\",\r\n disabled = false,\r\n}) => {\r\n return (\r\n }\r\n label={title}\r\n labelPlacement=\"end\"\r\n />\r\n \r\n );\r\n};\r\n\r\nexport default MyRadio;\r\n","import './index.css'\r\n\r\nconst Section = ({ title = '',className='', children }) => {\r\n return (\r\n \r\n {title} \r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport default Section","import React, { Component } from \"react\";\nimport Logo from \"../../../components/Logo\";\nimport Checkbox from \"../../../components/Checkbox\";\nimport Counter from \"../../../components/Counter\";\nimport Radio from \"../../../components/Radio\";\nimport Section from \"../../../components/Section\";\nimport CriminalLawsuits from \"../components/CriminalLawsuits\";\nimport FinancialClaims from \"../components/FinancialClaims\";\nimport NonFinancialClaims from \"../components/NonFinancialClaims\";\nimport { connect } from \"react-redux\";\nimport cloneDeep from \"lodash/cloneDeep\";\nimport \"./index.css\";\nimport { priceNumbers, setTitle } from \"../../../controllers\";\nimport Wrapper from \"../../../components/Wrapper\";\nimport Print from \"../components/Print\";\nimport Information from \"../../../components/Information\";\nimport { Button } from \"@material-ui/core\";\n\nclass Hagholvekaleh extends Component {\n constructor() {\n super();\n this.screens = [\n {\n index: 0,\n label: \"دعاوی مالی\",\n component: FinancialClaims,\n name: \"FinancialClaims\",\n requestName: \"Mali\",\n data: \"mali\",\n },\n {\n index: 1,\n label: \"دعاوی غیر مالی, امور حسبی و خانوادگی\",\n component: NonFinancialClaims,\n name: \"NonFinancialClaims\",\n requestName: \"GheyrMali\",\n data: \"gheyrMali\",\n },\n {\n index: 2,\n label: \"دعاوی کیفری\",\n component: CriminalLawsuits,\n name: \"CriminalLawsuits\",\n requestName: \"Keyfari\",\n data: \"keyfari\",\n },\n ];\n this.state = {\n screen: this.screens[0],\n tarefeYaGharadad: [\n { title: \"تعرفه\", value: true },\n { title: \"قرارداد\", value: false },\n ],\n kanoonMatboVakil: [\n { title: \"کانون وکلا\" },\n { title: \"مرکز مشاوران\" },\n { title: \"نماینده قضایی نهادهای دولتی\" },\n ],\n noeVekalat: [\n { title: \"تعیینی\" },\n { title: \"تسخیری\" },\n { title: \"معاضدتی\" },\n ],\n };\n }\n\n componentDidMount() {\n const { sendData, setMinMax } = this.props;\n sendData(this.state.screen.requestName);\n setMinMax(0);\n setTitle('محاسبه آنلاین حق الوکاله و تمبر مالیاتی وکلا طبق تعرفه و قرارداد')\n }\n\n // share = () => {\n // let print = document.getElementsByClassName(\"Print\")[0];\n // let img = document.createElement(\"img\");\n // let canvas = document.createElement(\"canvas\");\n // let a = document.createElement(\"a\");\n\n // let src = htmlToJpg(print.innerHTML);\n // let ctx = canvas.getContext(\"2d\");\n\n // canvas.width = 1200;\n // canvas.height = 900;\n\n // img.src = src;\n // // img.style.display = \"none\";\n // ctx.drawImage(img, 0, 0);\n // a.download = new Date().getTime() + \".png\";\n // a.href = canvas.toDataURL(\"image/png\");\n // // a.click();\n // document.body.appendChild(img)\n // };\n\n componentDidUpdate(prevProps, prevState) {\n const { screen } = this.state;\n const {\n header,\n sendData,\n setMinMax,\n gheyrMali,\n keyfari,\n setHeader,\n setGheyrMali,\n setKeyfari,\n } = cloneDeep(this.props);\n if (prevState.screen.name !== screen.name) {\n setMinMax(this.screens.indexOf(screen));\n sendData(this.state.screen.requestName);\n }\n if (JSON.stringify(header) !== JSON.stringify(prevProps.header)) {\n if (header[\"tarefeYaGharadad\"]) {\n gheyrMali[\"badvi\"] = true;\n keyfari[\"dadsara\"] = true;\n setGheyrMali(gheyrMali);\n setKeyfari(keyfari);\n } else {\n if (header[\"kanoonMatboVakil\"] === 2) {\n header[\"kanoonMatboVakil\"] = 1;\n setHeader(header);\n }\n }\n sendData(this.state.screen.requestName);\n }\n if (\n JSON.stringify(header.noeVekalat) !==\n JSON.stringify(prevProps.header.noeVekalat) ||\n JSON.stringify(header.govahiVekalatTakhasosi) !==\n JSON.stringify(prevProps.header.govahiVekalatTakhasosi)\n ) {\n setMinMax(this.screens.indexOf(screen));\n }\n }\n\n render() {\n const {\n screen,\n tarefeYaGharadad,\n kanoonMatboVakil,\n noeVekalat,\n } = cloneDeep(this.state);\n const { header, footer, setHeader } = cloneDeep(this.props);\n return (\n \n \n
\n
\n \n
\n \n {tarefeYaGharadad.map((item, index) => (\n {\n header[\"tarefeYaGharadad\"] = item.value;\n setHeader(header);\n }}\n />\n ))}\n
\n \n
\n \n {kanoonMatboVakil.map((item, index) => (\n {\n header[\"kanoonMatboVakil\"] = index;\n setHeader(header);\n }}\n disabled={!header[\"tarefeYaGharadad\"] && index === 2}\n key={index}\n title={item.title}\n />\n ))}\n
\n \n
\n \n {noeVekalat.map((item, index) => (\n {\n header[\"noeVekalat\"] = index;\n setHeader(header);\n }}\n />\n ))}\n
\n \n
\n {\n header[\"govahiVekalatTakhasosi\"] = !header[\n \"govahiVekalatTakhasosi\"\n ];\n setHeader(header);\n }}\n title=\"گواهی وکالت تخصصی\"\n />\n
\n
\n \n
\n {\n header[\"mamoryatDakhelOstan\"] = value;\n setHeader(header);\n }}\n title=\"روزهای ماموریت داخل استان\"\n />\n
\n
\n {\n header[\"mamoryatKharejeelOstan\"] = value;\n setHeader(header);\n }}\n title=\"روزهای ماموریت خارج استان\"\n />\n
\n
\n {\n header[\"vekalatPasAzNaghzRay\"] = !header[\n \"vekalatPasAzNaghzRay\"\n ];\n setHeader(header);\n }}\n title=\"وکالت پس از نقض رای\"\n />\n
\n
\n \n
\n {this.screens.map((item, index) => (\n {\n this.setState({ screen: item });\n }}\n >\n {item.label}\n \n ))}\n \n {this.screens.map((item, index) => (\n
\n {React.createElement(item.component)}\n \n ))}\n
\n
\n
\n \n );\n }\n}\n\nlet mapStateToProps = (state) => ({\n header: state.header,\n gheyrMali: state.gheyrMali,\n keyfari: state.keyfari,\n footer: state.footer,\n});\nlet mapDispatchToProps = (dispatch) => ({\n setHeader: (data) => {\n dispatch({ type: \"SET_HEADER\", data });\n },\n setGheyrMali: (data) => {\n dispatch({ type: \"SET_GHEYR_MALI\", data });\n },\n setKeyfari: (data) => {\n dispatch({ type: \"SET_KEYFARI\", data });\n },\n setMinMax: (data) => {\n dispatch({ type: \"SET_MINMAX\", data });\n },\n sendData: (data) => {\n dispatch({ type: \"SEND_DATA\", data });\n },\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Hagholvekaleh);\n","import axios from \"axios\";\n// import { notification } from \"../controllers\";\n\nconst servers = [\n {\n url: \"Links\",\n baseURL: \"http://calculateservice.hoghooghyar.com/\",\n token: \"419859111310089290494\",\n },\n {\n url: \"HaghVekalat\",\n baseURL: \"http://legalcalculations.hoghooghyar.com/\",\n token: \"4198591113223792201602144855176\",\n },\n {\n url: \"KhesareatTakhir\",\n baseURL: \"http://calculateservice.hoghooghyar.com/\",\n token: \"419859111310089290494\",\n },\n];\n\naxios.interceptors.request.use(\n function (request) {\n const {baseURL,token} = servers.find((e) => request.url.search(e.url) !== -1)\n request.baseURL = baseURL\n request.headers.Token = token\n return request;\n },\n function (error) {\n return Promise.reject(error);\n }\n);\naxios.interceptors.response.use(\n function (response) {\n return response;\n },\n function (error) {\n // let isStatus = error && error.response && error.response.status;\n // if (isStatus) {\n // notification({ text: `خطای ${error.response.status}` });\n // } else {\n // notification({ text: `خطا!` });\n // }\n return Promise.reject(error);\n }\n);\nexport default axios;\n","import React, { Component } from \"react\";\nimport Wraaper from \"../../components/Wrapper\";\nimport Logo from \"../../components/Logo\";\nimport Section from \"../../components/Section\";\nimport month from \"../../controllers/month.json\";\nimport {\n Button,\n CircularProgress,\n FormControlLabel,\n MenuItem,\n Radio,\n Select,\n TextField,\n Typography,\n} from \"@material-ui/core\";\nimport { notification, priceNumbers, setTitle } from \"../../controllers\";\nimport moment from \"jalali-moment\";\nimport cloneDeep from \"lodash/cloneDeep\";\nimport axios from \"../../boot/axios\";\nimport \"./index.css\";\nimport Wrapper from \"../../components/Wrapper\";\n\nconst title =\n \"محاسبه آنلاین خسارت تاخیر تادیه چک ، سفته ، دین ، مطالبات و ... بر اساس شاخص بانک مرکزی\";\n\nclass KhesaratTakhirTadieh extends Component {\n constructor() {\n super();\n this.calculations = [\"ماهانه\", \"سالانه\"];\n this.indicators = [\n { name: \"سر رسید\", state: \"dueDate\" },\n { name: \"پرداخت\", state: \"payment\" },\n ];\n this.state = {\n calculationType: 0,\n demand: {\n value: 0,\n showValue: \"\",\n },\n indicators: {\n dueDate: {\n year: 1399,\n month: 1,\n value: -1,\n },\n payment: {\n year: 1399,\n month: 1,\n value: -1,\n },\n },\n calculations: [],\n };\n }\n\n getThisDate = (format = \"YYYY/MM/DD\") => {\n const dateNow = new Date().getTime();\n const thisYear = moment(dateNow).locale(\"fa\").format(format);\n return thisYear;\n };\n\n yearsValue = () => {\n const minYear = 1315;\n const maxYear = this.getThisDate(\"YYYY\");\n let years = [];\n for (let i = minYear; i <= maxYear; i++) {\n years.unshift(i);\n }\n return years;\n };\n\n getIndex = async (type) => {\n const { indicators, calculationType } = this.state;\n let data = {\n year: indicators[type].year,\n month: indicators[type].month,\n type: calculationType,\n };\n await this.setIndex(type, -1);\n axios\n .post(\"KhesareatTakhir/Shakhes\", data)\n .then(({ data }) => {\n this.setIndex(type, data.value);\n })\n .catch(({ response }) => {\n this.setIndex(type, null);\n this.handleErrors(response);\n });\n };\n\n setIndex = (type, value) => {\n const { indicators } = cloneDeep(this.state);\n indicators[type].value = value;\n this.setState({ indicators });\n };\n\n setIndicatorsBasedYearCalculation = () => {\n const { indicators } = cloneDeep(this.state);\n Object.keys(indicators).forEach((indicator) => {\n indicators[indicator].month = 0;\n });\n this.setState({ indicators });\n };\n\n checkIndicatorsCondition = (prevState, type) => {\n const { indicators, calculationType } = cloneDeep(this.state);\n const indicatorCondition_1 =\n JSON.stringify(prevState.indicators[type].year) !==\n JSON.stringify(indicators[type].year);\n const indicatorCondition_2 =\n JSON.stringify(prevState.indicators[type].month) !==\n JSON.stringify(indicators[type].month);\n const indicatorCondition_3 = indicators[type].year !== 0;\n const indicatorCondition_4 =\n calculationType === 0 ? indicators[type].month !== 0 : true;\n const indicatorConditions =\n (indicatorCondition_1 || indicatorCondition_2) &&\n indicatorCondition_3 &&\n indicatorCondition_4;\n return indicatorConditions;\n };\n\n checkDemand = () => {\n const { demand } = this.state;\n if (demand.value === 0) {\n notification({ text: \"میزان طلب را دقیق وارد کنید.\" });\n return false;\n }\n return true;\n };\n\n checkIndicators = () => {\n const { indicators, calculationType } = this.state;\n\n const checkIndicatorsYears =\n indicators.dueDate.year > indicators.payment.year;\n\n const checkIndicatorsMonth =\n indicators.dueDate.year === indicators.payment.year &&\n indicators.dueDate.month > indicators.payment.month;\n\n const checkIndicatorsValue =\n indicators.dueDate.value === null || indicators.payment.value === null;\n\n if (checkIndicatorsYears) {\n notification({\n text: \"سال سر رسید نباید بالاتر از سال مطالبه باشد.\",\n });\n }else if (checkIndicatorsMonth && calculationType === 0) {\n notification({\n text: \"ماه سر رسید نباید بالاتر از ماه مطالبه باشد.\",\n });\n }else if (checkIndicatorsValue) {\n notification({ text: \"شاخص مورد نظر تعریف نشده است.\" });\n }\n\n switch (calculationType) {\n case 0:\n return (\n !checkIndicatorsYears &&\n !checkIndicatorsMonth &&\n !checkIndicatorsValue\n );\n case 1:\n return !checkIndicatorsYears && !checkIndicatorsValue;\n default:\n break;\n }\n };\n\n handleErrors = (response) => {\n const status = response.status;\n const text = (data = {}) =>\n `شاخص \n ${month[data.month - 1]}\n ${data.year}\n ثبت نشده است.در صورتیکه شاخص اعلام شده است و از آن اطلاع دارید جهت ثبت و استفاده سایرین لطفاً شاخص ماه و سال مورد نظر را به شماره \n ${data.phoneNumber}\n ارسال کنید`;\n if (status === 400) {\n const errors = response.data;\n notification({ text: text(errors), duration: 15000 });\n }\n };\n\n calculation = () => {\n const { demand, calculationType, indicators, calculations } = this.state;\n const data = {\n mizanTalab: demand.value,\n type: calculationType,\n yearSarresid: indicators.dueDate.year,\n monthSarresid: calculationType === 0 ? indicators.dueDate.month : 0,\n yearPardakht: indicators.payment.year,\n monthPardakht: calculationType === 0 ? indicators.payment.month : 0,\n };\n if (this.checkDemand() && this.checkIndicators()) {\n axios.post(\"KhesareatTakhir/Mohasebe\", data).then(({ data }) => {\n this.setState({ calculations: [...calculations, data] });\n });\n }\n };\n\n totalCalculations = () => {\n const { calculations } = this.state;\n let total = {\n khesaratAsletalab: 0,\n khesaratarzeshafzodeh: 0,\n total: 0,\n };\n calculations.forEach((item) => {\n total.khesaratAsletalab += item.khesaratAsletalab;\n total.khesaratarzeshafzodeh += item.khesaratarzeshafzodeh;\n total.total += item.khesaratAsletalab + item.khesaratarzeshafzodeh;\n });\n return total;\n };\n\n print = () => {\n const { calculations } = this.state;\n if (calculations.length > 0) {\n window.print();\n } else {\n notification({ text: \"موردی برای چاپ وجود ندارد.\" });\n }\n };\n\n componentDidMount() {\n setTitle(title);\n this.getIndex(\"dueDate\");\n this.getIndex(\"payment\");\n }\n\n componentDidUpdate(prevProps, prevState) {\n const { indicators, calculationType } = cloneDeep(this.state);\n // due date conditions\n if (this.checkIndicatorsCondition(prevState, \"dueDate\")) {\n this.getIndex(\"dueDate\");\n }\n // payment conditions\n if (this.checkIndicatorsCondition(prevState, \"payment\")) {\n this.getIndex(\"payment\");\n }\n if (prevState.calculationType !== calculationType) {\n // this.setIndicatorsBasedYearCalculation()\n this.getIndex(\"dueDate\").then(() => {\n this.getIndex(\"payment\");\n });\n }\n }\n\n render() {\n const { calculationType, demand, indicators, calculations } = cloneDeep(\n this.state\n );\n return (\n \n \n
\n
\n \n {this.calculations.map((item, index) => (\n {\n this.setState({ calculationType: index });\n }}\n color=\"primary\"\n />\n }\n label={item}\n labelPlacement=\"end\"\n />\n ))}\n \n \n
\n \n میزان طلب را وارد نمایید\n \n {\n const value = e.target.value;\n demand.value = Number(priceNumbers(value).replace(/,/g, \"\"));\n demand.showValue = priceNumbers(value);\n this.setState({ demand });\n }}\n InputProps={{\n startAdornment: (\n \n ريال\n \n ),\n }}\n />\n
\n
\n {this.indicators.map((item, index) => (\n
\n \n
\n سال \n {\n const value = e.target.value;\n indicators[item.state].year = value;\n this.setState({ indicators });\n }}\n >\n {this.yearsValue().map((item, index) => (\n \n {item}\n \n ))}\n \n
\n
\n ماه \n {\n const value = e.target.value;\n indicators[item.state].month = value;\n this.setState({ indicators });\n }}\n >\n {month.map((item, index) => (\n \n {item}\n \n ))}\n \n
\n
\n
شاخص \n
\n {indicators[item.state].value === -1 ? (\n \n ) : (\n indicators[item.state].value\n )}\n
\n
\n
\n \n ))}\n
\n
\n \n محاسبه\n \n \n چاپ\n \n
\n {calculations.length > 0 ? (\n
\n \n
\n \n \n ردیف \n تاریخ مطالبه \n شاخص \n تاریخ پرداخت \n شاخص \n اصل طلب \n ارزش افزوده \n جمع ارزش افزوده و اصل طلب (ريال) \n \n \n \n \n {calculations.map((item, index) => (\n \n {index + 1} \n {`${\n item.monthSarresid === 0\n ? \"سال\"\n : month[item.monthSarresid - 1]\n } ${item.yearSarresid}`} \n {item.shakesSarresid} \n {`${\n item.monthPardakht === 0\n ? \"سال\"\n : month[item.monthPardakht - 1]\n } ${item.yearPardakht}`} \n {item.shakesPardakht} \n {item.khesaratAsletalab.toLocaleString()} \n {item.khesaratarzeshafzodeh.toLocaleString()} \n \n {(\n item.khesaratAsletalab + item.khesaratarzeshafzodeh\n ).toLocaleString()}\n \n \n \n {\n calculations.splice(index, 1);\n this.setState({ calculations });\n }}\n >\n حذف\n \n
\n \n \n ))}\n {calculations.length > 1 ? (\n \n - \n جمع کل \n - \n - \n - \n \n {this.totalCalculations().khesaratAsletalab.toLocaleString()}\n \n \n {this.totalCalculations().khesaratarzeshafzodeh.toLocaleString()}\n \n \n {this.totalCalculations().total.toLocaleString()}\n \n - \n \n ) : null}\n \n
\n
\n {\n this.setState({ calculations: [] });\n }}\n >\n محاسبه جدید\n \n \n ) : null}\n
\n \n );\n }\n}\n\nexport default KhesaratTakhirTadieh;\n","import {\n Accordion,\n AccordionSummary,\n AccordionDetails,\n Drawer,\n Typography,\n Button,\n} from \"@material-ui/core\";\nimport ExpandMoreIcon from \"@material-ui/icons/ExpandMore\";\nimport React, { Component } from \"react\";\nimport Loading from \"../../../../components/Loading\";\nimport { Link } from \"react-router-dom\";\nimport axios from \"../../../../boot/axios\";\nimport \"./index.css\";\n\nclass Menu extends Component {\n constructor() {\n super();\n this.state = {\n links: [],\n loading: true,\n error: {\n show: false,\n status: 0,\n },\n };\n }\n\n getLinks = () => {\n this.setState({ loading: true, error: { show: false, status: 0 } });\n axios\n .get(\"Links\")\n .then(({ data }) => {\n this.setState({ links: data.sath1, loading: false });\n })\n .catch((error) => {\n if (error.response && error.response.status) {\n this.setState({\n error: { show: true, status: error.response.status },\n loading: false,\n });\n } else {\n this.setState({\n error: { show: true, status: -1 },\n loading: false,\n });\n }\n });\n };\n\n sortLinks = (links = []) => {\n let newLinks = [];\n links.forEach((item, index) => {\n if (item.children && item.children.length > 0) {\n newLinks.push(\n \n }>\n {item.name} \n \n \n \n {this.sortLinks(item.children)}\n
\n \n \n );\n } else {\n const props = {\n key: index,\n className:\n \"MuiPaper-root MuiAccordion-root drawer-item link MuiPaper-elevation1\",\n children: item.name,\n onClick:this.props.onClose\n };\n newLinks.push(\n item.link.search(\"http\") === -1\n ? React.createElement(Link, {\n ...props,\n to: item.link,\n })\n : React.createElement(\"a\", {\n ...props,\n href: item.link,\n target: \"_blank\",\n })\n );\n }\n });\n return newLinks;\n };\n\n componentDidMount() {\n this.getLinks();\n }\n\n render() {\n const { links, loading, error } = this.state;\n return (\n \n {loading ? (\n \n \n
\n ) : error.show ? (\n \n \n {error.status === -1 ? \"خطا نامشخص !\" : `خطای ${error.status}`}\n \n \n تلاش مجدد\n \n
\n ) : (\n {this.sortLinks(links)}
\n )}\n \n );\n }\n}\n\nexport default Menu;\n","import {\n Button,\n CircularProgress,\n IconButton,\n Menu,\n MenuItem,\n} from \"@material-ui/core\";\nimport { ArrowDropDown } from \"@material-ui/icons\";\nimport { Apps } from \"@material-ui/icons\";\nimport MenuIcon from \"@material-ui/icons/Menu\";\nimport React, { Component, Suspense } from \"react\";\n// import { Route, Switch } from \"react-router\";\nimport { Redirect, Route, Switch } from \"react-router-dom\";\nimport Information from \"../../components/Information\";\nimport \"./index.css\";\n// pages\nimport Hagholvekaleh from \"../../pages/Hagholvekaleh/core\";\nimport KhesaratTakhirTadieh from \"../../pages/KhesaratTakhirTadieh\";\nimport { Link } from \"react-router-dom\";\nimport Drawer from \"./components/Menu\";\n\nconst pages = [\n {\n title: \"محاسبه آنلاین حق الوکاله و تمبر مالیاتی وکلا طبق تعرفه یا قرارداد\",\n path: \"/hagh-ol-vekaleh\",\n // component: \"Hagholvekaleh/core/index\",\n component: Hagholvekaleh,\n exact: true,\n },\n {\n title:\n \"محاسبه آنلاین خسارت تاخیر تادیه چک ، سفته ، دین ، مطالبات و ... بر اساس شاخص بانک مرکزی\",\n path: \"/khesarat-takhir-tadieh\",\n // component: \"KhesaratTakhirTadieh/index\",\n component: KhesaratTakhirTadieh,\n exact: true,\n },\n];\n\nclass MainLayout extends Component {\n constructor() {\n super();\n this.state = {\n showPages: null,\n showDrawer: false,\n };\n }\n\n setShowDrawer = () => {\n this.setState({ showDrawer: !this.state.showDrawer });\n };\n setShowPages = (value) => {\n this.setState({ showPages: value });\n };\n handleClick = (event) => {\n this.setShowPages(event.currentTarget);\n };\n\n handleClose = () => {\n this.setShowPages(null);\n };\n\n render() {\n const { showPages, showDrawer } = this.state;\n return (\n \n \n \n \n \n \n \n }>\n \n {pages.map((item, index) => (\n \n ))}\n \n \n \n \n
\n );\n }\n}\n\nexport default MainLayout;\n","import axios from \"../boot/axios\";\r\nimport { createStore } from \"redux\";\r\n\r\nlet data = {\r\n loadign: false,\r\n header: {\r\n tarefeYaGharadad: true,\r\n kanoonMatboVakil: 0,\r\n noeVekalat: 0,\r\n govahiVekalatTakhasosi: false,\r\n vekalatPasAzNaghzRay: false,\r\n mamoryatDakhelOstan: 0,\r\n mamoryatKharejeelOstan: 0,\r\n },\r\n mali: {\r\n natijeDaavi: 0,\r\n mizanMahkoomKhaste: 0,\r\n badvi: true,\r\n tajdidNazar: false,\r\n divanAli: false,\r\n omooriEjraii: false,\r\n omooriEjraiiValue: 0,\r\n },\r\n gheyrMali: {\r\n noeDaavi: 0,\r\n hoghooghPaye: 0,\r\n badvi: true,\r\n tajdidNazar: false,\r\n divanAli: false,\r\n omooriEjraii: false,\r\n omooriEjraiiValue: 0,\r\n },\r\n keyfari: {\r\n salahiat: 0,\r\n mojazat: 0,\r\n tedadJaraemeEzafeh: 0,\r\n hoghooghPaye: 0,\r\n faghedDadsara: false,\r\n dadsara: true,\r\n badviGhatii: false,\r\n badvi: false,\r\n tajdidNazar: false,\r\n farjamKhahiKeyfari: false,\r\n farjamKhahiKeyfariValue: 0,\r\n omoorEjraii: false,\r\n omoorEjraiiValue: 0,\r\n gharareGhabeleEterazeDadsara: false,\r\n gharareGhabeleEterazeDadsaraValue: 0,\r\n taghazaEadehdadresi: false,\r\n taghazaEadehdadresiValue: 0,\r\n madde477: false,\r\n madde477Value: 0,\r\n },\r\n footer: {\r\n badviCost: 0,\r\n divanAliCost: 0,\r\n haghTambMaliati: 0,\r\n hazinehSafar: 0,\r\n jameHagholvekalehKol: 0,\r\n sahmKanoonVokala: 0,\r\n sahmKarmandanMoaser: 0,\r\n sahmMarkazMoshaveran: 0,\r\n sahmNamayandeGhazaii: 0,\r\n sahmSandoghHemayat: 0,\r\n tajdidNazarCost: 0,\r\n dadsaraCost: 0,\r\n farjamKhahiKeyfariCost: 0,\r\n omoorEjraiiCost: 0,\r\n gharareGhabeleEterazeDadsaraCost: 0,\r\n taghazaEadehDadresiCost: 0,\r\n taghazaMade477Cost: 0,\r\n },\r\n minMax: {\r\n maxEadehdadresi: 0,\r\n maxEjra: 0,\r\n maxEjra2: 0,\r\n maxFarjamKeyfari: 0,\r\n maxGharareGHabeleEterazeDadsara: 0,\r\n maxHagholvekale: 0,\r\n maxMade477: 0,\r\n minEadehdadresi: 0,\r\n minEjra: 0,\r\n minEjra2: 0,\r\n minFarjamKeyfari: 0,\r\n minGharareGHabeleEterazeDadsara: 0,\r\n minHagholvekale: 0,\r\n minMade477: 0,\r\n },\r\n};\r\nfunction sendData(requestName, data) {\r\n axios.post(`HaghVekalat/${requestName}`, data).then(({ data }) => {\r\n store.dispatch({ type: \"SET_DATA\", data });\r\n });\r\n}\r\nfunction getMinMax(data) {\r\n axios.post(\"HaghVekalat/MinMax\", data).then(({ data }) => {\r\n store.dispatch({ type: \"SET_MIN_MAX_VALUE\", data });\r\n });\r\n}\r\nlet reducer = (state = data, action) => {\r\n switch (action.type) {\r\n case \"SET_HEADER\":\r\n return { ...state, header: action.data };\r\n case \"SET_MALI\":\r\n return { ...state, mali: action.data };\r\n case \"SET_GHEYR_MALI\":\r\n return { ...state, gheyrMali: action.data };\r\n case \"SET_KEYFARI\":\r\n return { ...state, keyfari: action.data };\r\n case \"SET_MINMAX\":\r\n let minMax = {\r\n noeDava: action.data,\r\n noeVekalat: state.header.noeVekalat,\r\n govahiVekalatTakhasosi: state.header.govahiVekalatTakhasosi,\r\n mizanMahkoomKhaste: 0,\r\n noeDaavi: 0,\r\n salahiat: 0,\r\n mojazat: 0,\r\n };\r\n if (action.data === 0) {\r\n minMax.mizanMahkoomKhaste = state.mali.mizanMahkoomKhaste;\r\n }\r\n if (action.data === 1) {\r\n minMax.noeDaavi = state.gheyrMali.noeDaavi;\r\n }\r\n if (action.data === 2) {\r\n minMax.salahiat = state.keyfari.salahiat;\r\n minMax.mojazat = state.keyfari.mojazat;\r\n }\r\n getMinMax(minMax);\r\n return { ...state, loadign: true };\r\n\r\n case \"SEND_DATA\":\r\n function data(name) {\r\n if (name === \"Mali\") {\r\n return { ...state.header, ...state.mali };\r\n }\r\n if (name === \"GheyrMali\") {\r\n return { ...state.header, ...state.gheyrMali };\r\n }\r\n if (name === \"Keyfari\") {\r\n return { ...state.header, ...state.keyfari };\r\n }\r\n }\r\n sendData(action.data, data(action.data));\r\n return state;\r\n case \"SET_DATA\":\r\n return { ...state, footer: action.data };\r\n case \"SET_MIN_MAX_VALUE\":\r\n return { ...state, minMax: action.data, loadign: false };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nlet store = createStore(reducer);\r\n\r\nexport default store;\r\n","import \"./App.css\";\nimport \"react-notifications/lib/notifications.css\";\nimport MainLayout from \"./layouts/MainLayout\";\nimport { Provider } from \"react-redux\";\nimport store from \"./reducer\";\nimport { HashRouter } from \"react-router-dom\";\nimport { NotificationContainer } from \"react-notifications\";\nimport { createMuiTheme, ThemeProvider } from \"@material-ui/core\";\n\nconst theme = createMuiTheme({\n palette: {\n primary: {\n main: '#cc7000',\n contrastText:'white'\n },\n },\n});\n\nfunction App() {\n return (\n \n
\n
\n \n \n \n \n \n \n
\n );\n}\n\nexport default App;\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\n\n// \n// \n\nReactDOM.render(\n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n","const Wrapper = ({ children }) => children\r\n\r\nexport default Wrapper","import \"./index.css\";\r\nimport { Checkbox, FormControlLabel } from \"@material-ui/core\";\r\n\r\nconst MyCheckbox = ({\r\n value = false,\r\n setValue = () => {},\r\n title = \"\",\r\n disable = false,\r\n}) => {\r\n return (\r\n \r\n }\r\n label={title}\r\n labelPlacement=\"end\"\r\n />\r\n );\r\n};\r\n\r\nexport default MyCheckbox;\r\n","export const natijehDaaviMaliOptions = [\n \"سایر موارد\",\n \"قرار ابطال دادخواست پیش از پاسخ به دعوا و دفاع از آن\",\n \"قرار رد دادخواست پس از پاسخ به دعوا و دفاع از آن\",\n \"قرار عدم استماع یا رد دعوی به عللی مانند مرور زمان و اعتبار امر مختومه و رد تقاضای اعاده دادرسی\",\n \"قرار سقوط دعوای تجدیدنظر پیش از پاسخ به دعوا و دفاع از آن\",\n \"قرار سقوط دعوای تجدیدنظر پس از پاسخ به دعوا و دفاع از آن\",\n];\nexport const noeDaaviGheyrMaliOptions = [\n \"مطلق دعاوی خانوادگی یا دعاوی ناشی از زوجیت و همچنین امور حسبی\",\n \"دعاوی که خواسته آن ها مالی نیست یا تعیین بهای خواسته به موجب قانون لازم نیست\",\n];\nexport const salahiatKeyfariOptions = [\n \"جرایم داخل در صلاحیت رسیدگی دادگاه های کیفری یک, نظامی یک و دادگاه انقلاب\",\n \"جرایم داخل در صلاحیت رسیدگی دادگاه های کیفری دو, نظامی دو و و اطفال و نوجوانان\",\n \"دعاوی که فقط وکلای تبصره 48 قانون آیین دادرسی می توانند در آنها قبول وکالت کنند\",\n];\nexport const mojazatKeyfariOptions = [\n \"جرایم مستوجب مجازات های سلب حیات, قطع عضو, حبس ابد یا حبس تعضیری درجه یک\",\n \"جرایم مستوجب مجازات های تعزیری درجه 2 و 3\",\n \"دیگر جرایم\",\n];\n","import \"./index.css\";\r\n\r\nconst Input = ({\r\n append = \"\",\r\n prepend = \"\",\r\n className = \"\",\r\n inputClassName = \"\",\r\n error = {\r\n show: false,\r\n color: \"danger\",\r\n content: \"\",\r\n },\r\n ...props\r\n}) => {\r\n return (\r\n \r\n {prepend.length > 0 ? (\r\n
{prepend}
\r\n ) : null}\r\n
\r\n \r\n
\r\n {append.length > 0 ? (\r\n
{append}
\r\n ) : null}\r\n
\r\n );\r\n};\r\n\r\nexport default Input;\r\n","import \"./index.css\";\nimport { FormControl, InputLabel, MenuItem, Select } from \"@material-ui/core\";\n\nconst MySelect = ({\n label = \"\",\n value = \"\",\n items = [],\n setValue = () => {},\n}) => {\n return (\n \n \n {items.map((item, index) => (\n \n {item}\n \n ))}\n \n \n );\n};\n\nexport default MySelect;\n","import \"./index.css\";\nimport { CircularProgress } from \"@material-ui/core\";\n\nconst Loading = ({ size = 20 }) => {\n return ;\n};\n\nexport default Loading;\n","export function showPrice(subsetOf, value) {\n const price = subsetOf[value] || 0;\n return `${parseInt(price).toLocaleString()} ریال`;\n}\n","export default __webpack_public_path__ + \"static/media/logo.665c7598.png\";","import logo from \"../../assets/logo/logo.png\";\nimport \"./index.css\";\n\nfunction gotToMainSite() {\n window.location.href = \"http://hoghooghyar.com\";\n}\n\nconst Logo = ({ pageName = '' }) => {\n return (\n \n
\n
\n
حقوق یار \n
\n
\n کرم حسین یاری \n وکیل پایه یک دادگستری \n مشاور حقوقی و کیفری \n {pageName.length > 0 ? (\n \n {pageName}\n \n ) : null}\n
\n
\n );\n};\nexport default Logo;\n","export default __webpack_public_path__ + \"static/media/add.0ddb797a.svg\";","export default __webpack_public_path__ + \"static/media/remove.fb2b121d.svg\";","import add from \"../../assets/icons/add.svg\";\r\nimport remove from \"../../assets/icons/remove.svg\";\r\nimport { IconButton } from \"@material-ui/core\";\r\nimport { Add, Remove } from \"@material-ui/icons\";\r\nimport \"./index.css\";\r\n\r\nconst Counter = ({ value = 0, title = \"\", setValue = () => {} }) => {\r\n return (\r\n \r\n
{title} \r\n
\r\n
{\r\n setValue(value + 1);\r\n }}\r\n >\r\n \r\n \r\n
{value} \r\n
{\r\n if (value > 0) {\r\n setValue(value - 1);\r\n }\r\n }}\r\n >\r\n \r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Counter;\r\n","import { NotificationManager } from \"react-notifications\";\r\n\r\nfunction convert_to_english_number(str) {\r\n const persianNumbers = [\r\n /۰/g,\r\n /۱/g,\r\n /۲/g,\r\n /۳/g,\r\n /۴/g,\r\n /۵/g,\r\n /۶/g,\r\n /۷/g,\r\n /۸/g,\r\n /۹/g,\r\n ];\r\n const arabicNumbers = [\r\n /٠/g,\r\n /١/g,\r\n /٢/g,\r\n /٣/g,\r\n /٤/g,\r\n /٥/g,\r\n /٦/g,\r\n /٧/g,\r\n /٨/g,\r\n /٩/g,\r\n ];\r\n str = str.toString();\r\n for (var i = 0; i < 10; i++) {\r\n str = str.replace(persianNumbers[i], i).replace(arabicNumbers[i], i);\r\n }\r\n str = str.replace(/[^0-9.]/g, \"\").replace(/ /g, \"\");\r\n return str;\r\n}\r\nexport function priceNumbers(number) {\r\n let value = convert_to_english_number(String(number));\r\n value = Number(value).toLocaleString('en');\r\n return value;\r\n}\r\nexport function checkMinMax(value = 0, min = 0, max = 0) {\r\n if (value < min || value > max) {\r\n return false;\r\n }\r\n if (value >= min && value <= max) {\r\n return true;\r\n }\r\n}\r\nexport function htmlToJpg(elements) {\r\n let main = \"data:image/svg+xml,\";\r\n let parent = `${elements}
`;\r\n return main + encodeURIComponent(parent);\r\n}\r\nexport function notification({ text = '', title = '', duration = 5000, type = 'error', onClick = () => { } }) {\r\n NotificationManager[type](text, title, duration, onClick);\r\n}\r\nexport function setTitle(title=''){\r\n document.title = title\r\n}","import { IconButton } from \"@material-ui/core\";\nimport { MyLocation, PhoneInTalk, PhoneIphone } from \"@material-ui/icons\";\nimport React from \"react\";\nimport './index.css'\n\nconst Information = () => {\n const information = [\n {\n title: \"آدرس\",\n icon: MyLocation,\n value:\n \"تهران : پونک، انتهای بزرگراه اشرفی اصفهانی ، نرسیده به خیابان سیمون بولیوار ، پلاک 306 ، ساختمان عمارت باختر ، طبقه سوم واحد 5 کدپستی : 1477686366\",\n },\n { title: \"تلفن همراه\", icon: PhoneIphone, value: \"09378244400\" },\n { title: \"تلفن ثابت\", icon: PhoneInTalk, value: \"02144855176\" },\n ];\n return (\n \n {information.map((item, index) => (\n
\n {React.createElement(item.icon)} \n \n {item.value}\n \n
\n ))}\n
\n );\n};\n\nexport default Information;\n"],"sourceRoot":""}