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AMC,EAAe,CAC1BC,OAAQ,oBACRC,YAAa,uBACbC,eAAgB,OAChBC,eAAgB,MAChBC,eAAgB,OAChBC,eAAgB,OAChBC,eAAgB,OAChBC,eAAgB,OAChBC,eAAgB,MAChBC,cAAe,M,oCCVV,MAAMC,EAAY,CACvBC,aAAc,OACdC,UAAW,SACXC,aAAc,OACdC,WAAY,SACZC,aAAc,OACdC,UAAW,SACXC,WAAY,SACZC,UAAW,SACXC,aAAc,OACdC,WAAY,SACZC,YAAa,OACbC,YAAa,OACbC,WAAY,OACZC,WAAY,OACZC,SAAU,OACVC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,WAAY,OACZC,YAAa,OACbC,cAAe,O,oCC3BV,MAAMpb,EAAa,CACxBqb,UAAW,IACXC,UAAW,IACXC,UAAW,IACXC,UAAW,IACXC,UAAW,I","sources":["Utils/commonData.js","Utils/files/contryList.js","Utils/functions/updateTeamIdInLocalStorage.js","Utils/grouping-utils.js","Utils/hooks/GlobalErrorBountry.js","Utils/hooks/createHieararchy.js","Utils/hooks/d3-hierarchy.js","Utils/hooks/useCustomeNavigation.js","Utils/hooks/useKeyboardShortcut.js","Utils/hooks/useNodeSelectionStarted.js","Utils/hooks/usePlanChangeClick.js","Utils/hooks/useSocketContext.js","Utils/hooks/useZoomPercentages.js","Utils/style/color/color.js","Utils/style/common/commonStyles.js","Utils/style/font/fontsizes.js","Utils/style/weight/fontWeight.js"],"sourcesContent":["import { Box, Stack } from \"@mui/material\";\r\nimport {\r\n IcSortingRowsOutlined,\r\n IcStoryPointIcon,\r\n} from \"../assets/icon-components\";\r\n\r\nexport const rowsPerPageOptions = [\r\n {\r\n label: \"10\",\r\n value: \"10\",\r\n },\r\n {\r\n label: \"25\",\r\n value: \"25\",\r\n },\r\n {\r\n label: \"50\",\r\n value: \"50\",\r\n },\r\n {\r\n label: \"100\",\r\n value: \"100\",\r\n },\r\n];\r\n\r\nexport const tableIcons = {\r\n ArrowDownwardIcon: (props) => {\r\n return (\r\n \r\n \r\n \r\n );\r\n },\r\n SyncAltIcon: () => (\r\n \r\n \r\n \r\n ),\r\n};\r\n\r\nexport const bgColors = [\r\n \"#93E7F8\",\r\n \"#A3B1F3\",\r\n \"#FDB2B2\",\r\n \"#A3F3E0\",\r\n \"#F2B4E5\",\r\n \"#B5B0E8\",\r\n \"#FFE2AA\",\r\n];\r\n\r\nexport const storyPoint = [\r\n {\r\n id: 1,\r\n icon: IcStoryPointIcon,\r\n fill: \"#E7E7E7\",\r\n stroke: \"#848382\",\r\n d: \"M17.5018 23.4652C16.6991 23.4652 16.0178 23.3346 15.4578 23.0732C14.8978 22.8026 14.4405 22.4386 14.0858 21.9812C13.7311 21.5146 13.4698 20.9826 13.3018 20.3852C13.1431 19.7786 13.0638 19.1439 13.0638 18.4812V17.6972C13.0638 16.7546 13.2225 15.9052 13.5398 15.1492C13.8571 14.3932 14.3425 13.7959 14.9958 13.3572C15.6491 12.9092 16.4845 12.6852 17.5018 12.6852C18.5098 12.6852 19.3405 12.9092 19.9938 13.3572C20.6471 13.7959 21.1278 14.3932 21.4358 15.1492C21.7531 15.9052 21.9118 16.7546 21.9118 17.6972V18.4812C21.9118 19.1439 21.8278 19.7786 21.6598 20.3852C21.5011 20.9826 21.2445 21.5146 20.8898 21.9812C20.5445 22.4386 20.0918 22.8026 19.5318 23.0732C18.9718 23.3346 18.2951 23.4652 17.5018 23.4652ZM17.5018 21.6452C18.3325 21.6452 18.9438 21.3606 19.3358 20.7912C19.7278 20.2126 19.9238 19.3166 19.9238 18.1032C19.9238 16.8152 19.7231 15.8959 19.3218 15.3452C18.9205 14.7852 18.3138 14.5052 17.5018 14.5052C16.6805 14.5052 16.0645 14.7852 15.6538 15.3452C15.2525 15.8959 15.0518 16.8059 15.0518 18.0752C15.0518 19.2979 15.2525 20.1986 15.6538 20.7772C16.0551 21.3559 16.6711 21.6452 17.5018 21.6452Z\",\r\n },\r\n {\r\n id: 2,\r\n icon: IcStoryPointIcon,\r\n fill: \"#DBECFF\",\r\n stroke: \"#1A84F9\",\r\n d: \"M17.1032 23.1992V14.2112L17.7192 14.6872H15.0172V12.9792H19.0772V23.1992H17.1032Z\",\r\n },\r\n {\r\n id: 3,\r\n icon: IcStoryPointIcon,\r\n fill: \"#FBE4E2\",\r\n stroke: \"#FF5E51\",\r\n d: \"M14.0081 23.1992V21.2392C14.0081 20.8099 14.0735 20.4366 14.2041 20.1192C14.3441 19.8019 14.5681 19.5219 14.8761 19.2792C15.1935 19.0272 15.6088 18.7892 16.1221 18.5652L17.8581 17.7952C18.2875 17.5992 18.6141 17.3612 18.8381 17.0812C19.0715 16.7919 19.1881 16.4232 19.1881 15.9752C19.1881 15.4806 19.0388 15.0886 18.7401 14.7992C18.4508 14.5006 18.0355 14.3512 17.4941 14.3512C16.9528 14.3512 16.5328 14.5006 16.2341 14.7992C15.9448 15.0979 15.8001 15.5132 15.8001 16.0452H13.8821C13.8821 15.4106 14.0175 14.8412 14.2881 14.3372C14.5588 13.8239 14.9601 13.4226 15.4921 13.1332C16.0241 12.8346 16.6915 12.6852 17.4941 12.6852C18.2968 12.6852 18.9641 12.8299 19.4961 13.1192C20.0281 13.4086 20.4295 13.7959 20.7001 14.2812C20.9708 14.7572 21.1061 15.2892 21.1061 15.8772V16.0592C21.1061 16.8246 20.8915 17.4639 20.4621 17.9772C20.0328 18.4812 19.4028 18.9199 18.5721 19.2932L16.8361 20.0632C16.5095 20.2032 16.2808 20.3526 16.1501 20.5112C16.0195 20.6606 15.9541 20.8659 15.9541 21.1272V22.0232L15.4781 21.5052H21.1481V23.1992H14.0081Z\",\r\n },\r\n {\r\n id: 4,\r\n icon: IcStoryPointIcon,\r\n fill: \"#D1F0E6\",\r\n stroke: \"#059669\",\r\n d: \"M17.389 23.4652C16.605 23.4652 15.9283 23.3159 15.359 23.0172C14.799 22.7186 14.3697 22.3219 14.071 21.8272C13.7723 21.3232 13.623 20.7632 13.623 20.1472H15.541C15.541 20.6419 15.7043 21.0432 16.031 21.3512C16.367 21.6499 16.8197 21.7992 17.389 21.7992C17.7717 21.7992 18.0983 21.7292 18.369 21.5892C18.649 21.4399 18.8637 21.2392 19.013 20.9872C19.1623 20.7259 19.237 20.4272 19.237 20.0912C19.237 19.5872 19.0737 19.1766 18.747 18.8592C18.4203 18.5326 17.9723 18.3692 17.403 18.3692C17.123 18.3692 16.8757 18.4066 16.661 18.4812C16.4557 18.5559 16.2737 18.6539 16.115 18.7752L15.205 17.2072L18.565 14.9112L18.439 14.6732H14.043V12.9792H20.721V15.0232L17.263 17.3192L16.185 17.1232C16.3623 17.0672 16.5537 17.0252 16.759 16.9972C16.9643 16.9599 17.1883 16.9412 17.431 16.9412C18.2057 16.9412 18.8683 17.0766 19.419 17.3472C19.979 17.6086 20.4083 17.9726 20.707 18.4392C21.0057 18.9059 21.155 19.4426 21.155 20.0492V20.2312C21.155 20.8192 21.0057 21.3606 20.707 21.8552C20.4083 22.3406 19.979 22.7326 19.419 23.0312C18.859 23.3206 18.1823 23.4652 17.389 23.4652Z\",\r\n },\r\n {\r\n id: 5,\r\n icon: IcStoryPointIcon,\r\n fill: \"#FFEDCE\",\r\n stroke: \"#FFA50E\",\r\n d: \"M17.5518 23.4652C16.7491 23.4652 16.0585 23.3066 15.4798 22.9892C14.9105 22.6719 14.4718 22.2519 14.1638 21.7292C13.8651 21.1972 13.7158 20.6186 13.7158 19.9932H15.6338C15.6338 20.3479 15.7131 20.6606 15.8718 20.9312C16.0398 21.2019 16.2685 21.4166 16.5578 21.5752C16.8471 21.7246 17.1831 21.7992 17.5658 21.7992C17.9671 21.7992 18.3125 21.7152 18.6018 21.5472C18.8911 21.3792 19.1105 21.1506 19.2598 20.8612C19.4185 20.5719 19.4978 20.2406 19.4978 19.8672C19.4978 19.5032 19.4185 19.1766 19.2598 18.8872C19.1105 18.5886 18.8911 18.3552 18.6018 18.1872C18.3218 18.0099 17.9811 17.9212 17.5798 17.9212C17.2438 17.9212 16.9265 17.9866 16.6278 18.1172C16.3291 18.2479 16.0958 18.4206 15.9278 18.6352H14.0938L14.6118 12.9792H20.5338V14.6732H15.4798L16.1798 14.1272L15.8438 17.6552L15.3678 17.5152C15.6385 17.2072 15.9698 16.9506 16.3618 16.7452C16.7538 16.5399 17.2485 16.4372 17.8458 16.4372C18.6018 16.4372 19.2458 16.5912 19.7778 16.8992C20.3098 17.2072 20.7158 17.6179 20.9958 18.1312C21.2758 18.6352 21.4158 19.1859 21.4158 19.7832V19.9652C21.4158 20.5719 21.2665 21.1412 20.9678 21.6732C20.6691 22.2052 20.2305 22.6392 19.6518 22.9752C19.0825 23.3019 18.3825 23.4652 17.5518 23.4652Z\",\r\n },\r\n {\r\n id: 6,\r\n icon: IcStoryPointIcon,\r\n fill: \"#FAE8FF\",\r\n stroke: \"#D461F0\",\r\n d: \"M17.4782 23.4792C16.6942 23.4792 16.0036 23.3532 15.4062 23.1012C14.8089 22.8492 14.3422 22.4899 14.0062 22.0232C13.6702 21.5566 13.5022 21.0012 13.5022 20.3572C13.5022 19.9279 13.5769 19.5499 13.7262 19.2232C13.8756 18.8872 14.0809 18.6026 14.3422 18.3692C14.6036 18.1266 14.9116 17.9446 15.2662 17.8232V17.6552C14.9956 17.5339 14.7482 17.3752 14.5242 17.1792C14.3096 16.9832 14.1369 16.7452 14.0062 16.4652C13.8849 16.1852 13.8242 15.8632 13.8242 15.4992C13.8242 14.8832 13.9829 14.3699 14.3002 13.9592C14.6269 13.5392 15.0656 13.2266 15.6162 13.0212C16.1762 12.8066 16.7969 12.6992 17.4782 12.6992C18.1689 12.6992 18.7896 12.8066 19.3402 13.0212C19.9002 13.2266 20.3389 13.5392 20.6562 13.9592C20.9829 14.3699 21.1462 14.8832 21.1462 15.4992C21.1462 15.8632 21.0809 16.1852 20.9502 16.4652C20.8289 16.7452 20.6609 16.9832 20.4462 17.1792C20.2316 17.3752 19.9842 17.5339 19.7042 17.6552V17.8232C20.0589 17.9446 20.3669 18.1266 20.6282 18.3692C20.8989 18.6119 21.1042 18.9012 21.2442 19.2372C21.3936 19.5639 21.4682 19.9372 21.4682 20.3572C21.4682 21.0012 21.3002 21.5566 20.9642 22.0232C20.6376 22.4899 20.1756 22.8492 19.5782 23.1012C18.9809 23.3532 18.2809 23.4792 17.4782 23.4792ZM17.4782 21.8412C17.9076 21.8412 18.2762 21.7759 18.5842 21.6452C18.8922 21.5146 19.1302 21.3232 19.2982 21.0712C19.4662 20.8192 19.5502 20.5159 19.5502 20.1612C19.5502 19.8066 19.4662 19.5079 19.2982 19.2652C19.1396 19.0132 18.9016 18.8219 18.5842 18.6912C18.2762 18.5606 17.9076 18.4952 17.4782 18.4952C17.0582 18.4952 16.6942 18.5606 16.3862 18.6912C16.0782 18.8219 15.8402 19.0132 15.6722 19.2652C15.5042 19.5079 15.4202 19.8066 15.4202 20.1612C15.4202 20.5159 15.5042 20.8192 15.6722 21.0712C15.8402 21.3232 16.0782 21.5146 16.3862 21.6452C16.6942 21.7759 17.0582 21.8412 17.4782 21.8412ZM17.4782 17.0112C18.0196 17.0112 18.4442 16.8992 18.7522 16.6752C19.0696 16.4419 19.2282 16.1059 19.2282 15.6672C19.2282 15.2099 19.0696 14.8739 18.7522 14.6592C18.4349 14.4446 18.0102 14.3372 17.4782 14.3372C16.9462 14.3372 16.5216 14.4492 16.2042 14.6732C15.8962 14.8879 15.7422 15.2192 15.7422 15.6672C15.7422 16.1059 15.9009 16.4419 16.2182 16.6752C16.5356 16.8992 16.9556 17.0112 17.4782 17.0112Z\",\r\n },\r\n {\r\n id: 7,\r\n icon: IcStoryPointIcon,\r\n fill: \"#D0F4FD\",\r\n stroke: \"#01C1EF\",\r\n d: \"M12.6056 23.1992V14.2112L13.2216 14.6872H10.5196V12.9792H14.5796V23.1992H12.6056ZM20.2469 23.4652C19.4629 23.4652 18.7862 23.3159 18.2169 23.0172C17.6569 22.7186 17.2276 22.3219 16.9289 21.8272C16.6302 21.3232 16.4809 20.7632 16.4809 20.1472H18.3989C18.3989 20.6419 18.5622 21.0432 18.8889 21.3512C19.2249 21.6499 19.6776 21.7992 20.2469 21.7992C20.6296 21.7992 20.9562 21.7292 21.2269 21.5892C21.5069 21.4399 21.7216 21.2392 21.8709 20.9872C22.0202 20.7259 22.0949 20.4272 22.0949 20.0912C22.0949 19.5872 21.9316 19.1766 21.6049 18.8592C21.2782 18.5326 20.8302 18.3692 20.2609 18.3692C19.9809 18.3692 19.7336 18.4066 19.5189 18.4812C19.3136 18.5559 19.1316 18.6539 18.9729 18.7752L18.0629 17.2072L21.4229 14.9112L21.2969 14.6732H16.9009V12.9792H23.5789V15.0232L20.1209 17.3192L19.0429 17.1232C19.2202 17.0672 19.4116 17.0252 19.6169 16.9972C19.8222 16.9599 20.0462 16.9412 20.2889 16.9412C21.0636 16.9412 21.7262 17.0766 22.2769 17.3472C22.8369 17.6086 23.2662 17.9726 23.5649 18.4392C23.8636 18.9059 24.0129 19.4426 24.0129 20.0492V20.2312C24.0129 20.8192 23.8636 21.3606 23.5649 21.8552C23.2662 22.3406 22.8369 22.7326 22.2769 23.0312C21.7169 23.3206 21.0402 23.4652 20.2469 23.4652Z\",\r\n },\r\n {\r\n id: 8,\r\n icon: IcStoryPointIcon,\r\n fill: \"#EEE9FF\",\r\n stroke: \"#9471FE\",\r\n d: \"M10.9188 23.1992V21.2392C10.9188 20.8099 10.9841 20.4366 11.1148 20.1192C11.2548 19.8019 11.4788 19.5219 11.7868 19.2792C12.1041 19.0272 12.5195 18.7892 13.0328 18.5652L14.7688 17.7952C15.1981 17.5992 15.5248 17.3612 15.7488 17.0812C15.9821 16.7919 16.0988 16.4232 16.0988 15.9752C16.0988 15.4806 15.9495 15.0886 15.6508 14.7992C15.3615 14.5006 14.9461 14.3512 14.4048 14.3512C13.8635 14.3512 13.4435 14.5006 13.1448 14.7992C12.8555 15.0979 12.7108 15.5132 12.7108 16.0452H10.7928C10.7928 15.4106 10.9281 14.8412 11.1988 14.3372C11.4695 13.8239 11.8708 13.4226 12.4028 13.1332C12.9348 12.8346 13.6021 12.6852 14.4048 12.6852C15.2075 12.6852 15.8748 12.8299 16.4068 13.1192C16.9388 13.4086 17.3401 13.7959 17.6108 14.2812C17.8815 14.7572 18.0168 15.2892 18.0168 15.8772V16.0592C18.0168 16.8246 17.8021 17.4639 17.3728 17.9772C16.9435 18.4812 16.3135 18.9199 15.4828 19.2932L13.7468 20.0632C13.4201 20.2032 13.1915 20.3526 13.0608 20.5112C12.9301 20.6606 12.8648 20.8659 12.8648 21.1272V22.0232L12.3888 21.5052H18.0588V23.1992H10.9188ZM21.3761 23.1992V14.2112L21.9921 14.6872H19.2901V12.9792H23.3501V23.1992H21.3761Z\",\r\n },\r\n];\r\n","export const LOCAL_COUNTRIES = [\r\n { code: \"AD\", label: \"Andorra\", phone: \"376\" },\r\n {\r\n code: \"AE\",\r\n label: \"United Arab Emirates\",\r\n phone: \"971\",\r\n },\r\n { code: \"AF\", label: \"Afghanistan\", phone: \"93\" },\r\n {\r\n code: \"AG\",\r\n label: \"Antigua and Barbuda\",\r\n phone: \"1-268\",\r\n },\r\n { code: \"AI\", label: \"Anguilla\", phone: \"1-264\" },\r\n { code: \"AL\", label: \"Albania\", phone: \"355\" },\r\n { code: \"AM\", label: \"Armenia\", phone: \"374\" },\r\n { code: \"AO\", label: \"Angola\", phone: \"244\" },\r\n { code: \"AQ\", label: \"Antarctica\", phone: \"672\" },\r\n { code: \"AR\", label: \"Argentina\", phone: \"54\" },\r\n { code: \"AS\", label: \"American Samoa\", phone: \"1-684\" },\r\n { code: \"AT\", label: \"Austria\", phone: \"43\" },\r\n {\r\n code: \"AU\",\r\n label: \"Australia\",\r\n phone: \"61\",\r\n suggested: true,\r\n },\r\n { code: \"AW\", label: \"Aruba\", phone: \"297\" },\r\n { code: \"AX\", label: \"Alland Islands\", phone: \"358\" },\r\n { code: \"AZ\", label: \"Azerbaijan\", phone: \"994\" },\r\n {\r\n code: \"BA\",\r\n label: \"Bosnia and Herzegovina\",\r\n phone: \"387\",\r\n },\r\n { code: \"BB\", label: \"Barbados\", phone: \"1-246\" },\r\n { code: \"BD\", label: \"Bangladesh\", phone: \"880\" },\r\n { code: \"BE\", label: \"Belgium\", phone: \"32\" },\r\n { code: \"BF\", label: \"Burkina Faso\", phone: \"226\" },\r\n { code: \"BG\", label: \"Bulgaria\", phone: \"359\" },\r\n { code: \"BH\", label: \"Bahrain\", phone: \"973\" },\r\n { code: \"BI\", label: \"Burundi\", phone: \"257\" },\r\n { code: \"BJ\", label: \"Benin\", phone: \"229\" },\r\n { code: \"BL\", label: \"Saint Barthelemy\", phone: \"590\" },\r\n { code: \"BM\", label: \"Bermuda\", phone: \"1-441\" },\r\n { code: \"BN\", label: \"Brunei Darussalam\", phone: \"673\" },\r\n { code: \"BO\", label: \"Bolivia\", phone: \"591\" },\r\n { code: \"BR\", label: \"Brazil\", phone: \"55\" },\r\n { code: \"BS\", label: \"Bahamas\", phone: \"1-242\" },\r\n { code: \"BT\", label: \"Bhutan\", phone: \"975\" },\r\n { code: \"BV\", label: \"Bouvet Island\", phone: \"47\" },\r\n { code: \"BW\", label: \"Botswana\", phone: \"267\" },\r\n { code: \"BY\", label: \"Belarus\", phone: \"375\" },\r\n { code: \"BZ\", label: \"Belize\", phone: \"501\" },\r\n {\r\n code: \"CA\",\r\n label: \"Canada\",\r\n phone: \"1\",\r\n suggested: true,\r\n },\r\n {\r\n code: \"CC\",\r\n label: \"Cocos (Keeling) Islands\",\r\n phone: \"61\",\r\n },\r\n {\r\n code: \"CD\",\r\n label: \"Congo, Democratic Republic of the\",\r\n phone: \"243\",\r\n },\r\n {\r\n code: \"CF\",\r\n label: \"Central African Republic\",\r\n phone: \"236\",\r\n },\r\n {\r\n code: \"CG\",\r\n label: \"Congo, Republic of the\",\r\n phone: \"242\",\r\n },\r\n { code: \"CH\", label: \"Switzerland\", phone: \"41\" },\r\n { code: \"CI\", label: \"Cote d'Ivoire\", phone: \"225\" },\r\n { code: \"CK\", label: \"Cook Islands\", phone: \"682\" },\r\n { code: \"CL\", label: \"Chile\", phone: \"56\" },\r\n { code: \"CM\", label: \"Cameroon\", phone: \"237\" },\r\n { code: \"CN\", label: \"China\", phone: \"86\" },\r\n { code: \"CO\", label: \"Colombia\", phone: \"57\" },\r\n { code: \"CR\", label: \"Costa Rica\", phone: \"506\" },\r\n { code: \"CU\", label: \"Cuba\", phone: \"53\" },\r\n { code: \"CV\", label: \"Cape Verde\", phone: \"238\" },\r\n { code: \"CW\", label: \"Curacao\", phone: \"599\" },\r\n { code: \"CX\", label: \"Christmas Island\", phone: \"61\" },\r\n { code: \"CY\", label: \"Cyprus\", phone: \"357\" },\r\n { code: \"CZ\", label: \"Czech Republic\", phone: \"420\" },\r\n {\r\n code: \"DE\",\r\n label: \"Germany\",\r\n phone: \"49\",\r\n suggested: true,\r\n },\r\n { code: \"DJ\", label: \"Djibouti\", phone: \"253\" },\r\n { code: \"DK\", label: \"Denmark\", phone: \"45\" },\r\n { code: \"DM\", label: \"Dominica\", phone: \"1-767\" },\r\n {\r\n code: \"DO\",\r\n label: \"Dominican Republic\",\r\n phone: \"1-809\",\r\n },\r\n { code: \"DZ\", label: \"Algeria\", phone: \"213\" },\r\n { code: \"EC\", label: \"Ecuador\", phone: \"593\" },\r\n { code: \"EE\", label: \"Estonia\", phone: \"372\" },\r\n { code: \"EG\", label: \"Egypt\", phone: \"20\" },\r\n { code: \"EH\", label: \"Western Sahara\", phone: \"212\" },\r\n { code: \"ER\", label: \"Eritrea\", phone: \"291\" },\r\n { code: \"ES\", label: \"Spain\", phone: \"34\" },\r\n { code: \"ET\", label: \"Ethiopia\", phone: \"251\" },\r\n { code: \"FI\", label: \"Finland\", phone: \"358\" },\r\n { code: \"FJ\", label: \"Fiji\", phone: \"679\" },\r\n {\r\n code: \"FK\",\r\n label: \"Falkland Islands (Malvinas)\",\r\n phone: \"500\",\r\n },\r\n {\r\n code: \"FM\",\r\n label: \"Micronesia, Federated States of\",\r\n phone: \"691\",\r\n },\r\n { code: \"FO\", label: \"Faroe Islands\", phone: \"298\" },\r\n {\r\n code: \"FR\",\r\n label: \"France\",\r\n phone: \"33\",\r\n suggested: true,\r\n },\r\n { code: \"GA\", label: \"Gabon\", phone: \"241\" },\r\n { code: \"GB\", label: \"United Kingdom\", phone: \"44\" },\r\n { code: \"GD\", label: \"Grenada\", phone: \"1-473\" },\r\n { code: \"GE\", label: \"Georgia\", phone: \"995\" },\r\n { code: \"GF\", label: \"French Guiana\", phone: \"594\" },\r\n { code: \"GG\", label: \"Guernsey\", phone: \"44\" },\r\n { code: \"GH\", label: \"Ghana\", phone: \"233\" },\r\n { code: \"GI\", label: \"Gibraltar\", phone: \"350\" },\r\n { code: \"GL\", label: \"Greenland\", phone: \"299\" },\r\n { code: \"GM\", label: \"Gambia\", phone: \"220\" },\r\n { code: \"GN\", label: \"Guinea\", phone: \"224\" },\r\n { code: \"GP\", label: \"Guadeloupe\", phone: \"590\" },\r\n { code: \"GQ\", label: \"Equatorial Guinea\", phone: \"240\" },\r\n { code: \"GR\", label: \"Greece\", phone: \"30\" },\r\n {\r\n code: \"GS\",\r\n label: \"South Georgia and the South Sandwich Islands\",\r\n phone: \"500\",\r\n },\r\n { code: \"GT\", label: \"Guatemala\", phone: \"502\" },\r\n { code: \"GU\", label: \"Guam\", phone: \"1-671\" },\r\n { code: \"GW\", label: \"Guinea-Bissau\", phone: \"245\" },\r\n { code: \"GY\", label: \"Guyana\", phone: \"592\" },\r\n { code: \"HK\", label: \"Hong Kong\", phone: \"852\" },\r\n {\r\n code: \"HM\",\r\n label: \"Heard Island and McDonald Islands\",\r\n phone: \"672\",\r\n },\r\n { code: \"HN\", label: \"Honduras\", phone: \"504\" },\r\n { code: \"HR\", label: \"Croatia\", phone: \"385\" },\r\n { code: \"HT\", label: \"Haiti\", phone: \"509\" },\r\n { code: \"HU\", label: \"Hungary\", phone: \"36\" },\r\n { code: \"ID\", label: \"Indonesia\", phone: \"62\" },\r\n { code: \"IE\", label: \"Ireland\", phone: \"353\" },\r\n { code: \"IL\", label: \"Israel\", phone: \"972\" },\r\n { code: \"IM\", label: \"Isle of Man\", phone: \"44\" },\r\n { code: \"IN\", label: \"India\", phone: \"91\" },\r\n {\r\n code: \"IO\",\r\n label: \"British Indian Ocean Territory\",\r\n phone: \"246\",\r\n },\r\n { code: \"IQ\", label: \"Iraq\", phone: \"964\" },\r\n {\r\n code: \"IR\",\r\n label: \"Iran, Islamic Republic of\",\r\n phone: \"98\",\r\n },\r\n { code: \"IS\", label: \"Iceland\", phone: \"354\" },\r\n { code: \"IT\", label: \"Italy\", phone: \"39\" },\r\n { code: \"JE\", label: \"Jersey\", phone: \"44\" },\r\n { code: \"JM\", label: \"Jamaica\", phone: \"1-876\" },\r\n { code: \"JO\", label: \"Jordan\", phone: \"962\" },\r\n {\r\n code: \"JP\",\r\n label: \"Japan\",\r\n phone: \"81\",\r\n suggested: true,\r\n },\r\n { code: \"KE\", label: \"Kenya\", phone: \"254\" },\r\n { code: \"KG\", label: \"Kyrgyzstan\", phone: \"996\" },\r\n { code: \"KH\", label: \"Cambodia\", phone: \"855\" },\r\n { code: \"KI\", label: \"Kiribati\", phone: \"686\" },\r\n { code: \"KM\", label: \"Comoros\", phone: \"269\" },\r\n {\r\n code: \"KN\",\r\n label: \"Saint Kitts and Nevis\",\r\n phone: \"1-869\",\r\n },\r\n {\r\n code: \"KP\",\r\n label: \"Korea, Democratic People's Republic of\",\r\n phone: \"850\",\r\n },\r\n { code: \"KR\", label: \"Korea, Republic of\", phone: \"82\" },\r\n { code: \"KW\", label: \"Kuwait\", phone: \"965\" },\r\n { code: \"KY\", label: \"Cayman Islands\", phone: \"1-345\" },\r\n { code: \"KZ\", label: \"Kazakhstan\", phone: \"7\" },\r\n {\r\n code: \"LA\",\r\n label: \"Lao People's Democratic Republic\",\r\n phone: \"856\",\r\n },\r\n { code: \"LB\", label: \"Lebanon\", phone: \"961\" },\r\n { code: \"LC\", label: \"Saint Lucia\", phone: \"1-758\" },\r\n { code: \"LI\", label: \"Liechtenstein\", phone: \"423\" },\r\n { code: \"LK\", label: \"Sri Lanka\", phone: \"94\" },\r\n { code: \"LR\", label: \"Liberia\", phone: \"231\" },\r\n { code: \"LS\", label: \"Lesotho\", phone: \"266\" },\r\n { code: \"LT\", label: \"Lithuania\", phone: \"370\" },\r\n { code: \"LU\", label: \"Luxembourg\", phone: \"352\" },\r\n { code: \"LV\", label: \"Latvia\", phone: \"371\" },\r\n { code: \"LY\", label: \"Libya\", phone: \"218\" },\r\n { code: \"MA\", label: \"Morocco\", phone: \"212\" },\r\n { code: \"MC\", label: \"Monaco\", phone: \"377\" },\r\n {\r\n code: \"MD\",\r\n label: \"Moldova, Republic of\",\r\n phone: \"373\",\r\n },\r\n { code: \"ME\", label: \"Montenegro\", phone: \"382\" },\r\n {\r\n code: \"MF\",\r\n label: \"Saint Martin (French part)\",\r\n phone: \"590\",\r\n },\r\n { code: \"MG\", label: \"Madagascar\", phone: \"261\" },\r\n { code: \"MH\", label: \"Marshall Islands\", phone: \"692\" },\r\n {\r\n code: \"MK\",\r\n label: \"Macedonia, the Former Yugoslav Republic of\",\r\n phone: \"389\",\r\n },\r\n { code: \"ML\", label: \"Mali\", phone: \"223\" },\r\n { code: \"MM\", label: \"Myanmar\", phone: \"95\" },\r\n { code: \"MN\", label: \"Mongolia\", phone: \"976\" },\r\n { code: \"MO\", label: \"Macao\", phone: \"853\" },\r\n {\r\n code: \"MP\",\r\n label: \"Northern Mariana Islands\",\r\n phone: \"1-670\",\r\n },\r\n { code: \"MQ\", label: \"Martinique\", phone: \"596\" },\r\n { code: \"MR\", label: \"Mauritania\", phone: \"222\" },\r\n { code: \"MS\", label: \"Montserrat\", phone: \"1-664\" },\r\n { code: \"MT\", label: \"Malta\", phone: \"356\" },\r\n { code: \"MU\", label: \"Mauritius\", phone: \"230\" },\r\n { code: \"MV\", label: \"Maldives\", phone: \"960\" },\r\n { code: \"MW\", label: \"Malawi\", phone: \"265\" },\r\n { code: \"MX\", label: \"Mexico\", phone: \"52\" },\r\n { code: \"MY\", label: \"Malaysia\", phone: \"60\" },\r\n { code: \"MZ\", label: \"Mozambique\", phone: \"258\" },\r\n { code: \"NA\", label: \"Namibia\", phone: \"264\" },\r\n { code: \"NC\", label: \"New Caledonia\", phone: \"687\" },\r\n { code: \"NE\", label: \"Niger\", phone: \"227\" },\r\n { code: \"NF\", label: \"Norfolk Island\", phone: \"672\" },\r\n { code: \"NG\", label: \"Nigeria\", phone: \"234\" },\r\n { code: \"NI\", label: \"Nicaragua\", phone: \"505\" },\r\n { code: \"NL\", label: \"Netherlands\", phone: \"31\" },\r\n { code: \"NO\", label: \"Norway\", phone: \"47\" },\r\n { code: \"NP\", label: \"Nepal\", phone: \"977\" },\r\n { code: \"NR\", label: \"Nauru\", phone: \"674\" },\r\n { code: \"NU\", label: \"Niue\", phone: \"683\" },\r\n { code: \"NZ\", label: \"New Zealand\", phone: \"64\" },\r\n { code: \"OM\", label: \"Oman\", phone: \"968\" },\r\n { code: \"PA\", label: \"Panama\", phone: \"507\" },\r\n { code: \"PE\", label: \"Peru\", phone: \"51\" },\r\n { code: \"PF\", label: \"French Polynesia\", phone: \"689\" },\r\n { code: \"PG\", label: \"Papua New Guinea\", phone: \"675\" },\r\n { code: \"PH\", label: \"Philippines\", phone: \"63\" },\r\n { code: \"PK\", label: \"Pakistan\", phone: \"92\" },\r\n { code: \"PL\", label: \"Poland\", phone: \"48\" },\r\n {\r\n code: \"PM\",\r\n label: \"Saint Pierre and Miquelon\",\r\n phone: \"508\",\r\n },\r\n { code: \"PN\", label: \"Pitcairn\", phone: \"870\" },\r\n { code: \"PR\", label: \"Puerto Rico\", phone: \"1\" },\r\n {\r\n code: \"PS\",\r\n label: \"Palestine, State of\",\r\n phone: \"970\",\r\n },\r\n { code: \"PT\", label: \"Portugal\", phone: \"351\" },\r\n { code: \"PW\", label: \"Palau\", phone: \"680\" },\r\n { code: \"PY\", label: \"Paraguay\", phone: \"595\" },\r\n { code: \"QA\", label: \"Qatar\", phone: \"974\" },\r\n { code: \"RE\", label: \"Reunion\", phone: \"262\" },\r\n { code: \"RO\", label: \"Romania\", phone: \"40\" },\r\n { code: \"RS\", label: \"Serbia\", phone: \"381\" },\r\n { code: \"RU\", label: \"Russian Federation\", phone: \"7\" },\r\n { code: \"RW\", label: \"Rwanda\", phone: \"250\" },\r\n { code: \"SA\", label: \"Saudi Arabia\", phone: \"966\" },\r\n { code: \"SB\", label: \"Solomon Islands\", phone: \"677\" },\r\n { code: \"SC\", label: \"Seychelles\", phone: \"248\" },\r\n { code: \"SD\", label: \"Sudan\", phone: \"249\" },\r\n { code: \"SE\", label: \"Sweden\", phone: \"46\" },\r\n { code: \"SG\", label: \"Singapore\", phone: \"65\" },\r\n { code: \"SH\", label: \"Saint Helena\", phone: \"290\" },\r\n { code: \"SI\", label: \"Slovenia\", phone: \"386\" },\r\n {\r\n code: \"SJ\",\r\n label: \"Svalbard and Jan Mayen\",\r\n phone: \"47\",\r\n },\r\n { code: \"SK\", label: \"Slovakia\", phone: \"421\" },\r\n { code: \"SL\", label: \"Sierra Leone\", phone: \"232\" },\r\n { code: \"SM\", label: \"San Marino\", phone: \"378\" },\r\n { code: \"SN\", label: \"Senegal\", phone: \"221\" },\r\n { code: \"SO\", label: \"Somalia\", phone: \"252\" },\r\n { code: \"SR\", label: \"Suriname\", phone: \"597\" },\r\n { code: \"SS\", label: \"South Sudan\", phone: \"211\" },\r\n {\r\n code: \"ST\",\r\n label: \"Sao Tome and Principe\",\r\n phone: \"239\",\r\n },\r\n { code: \"SV\", label: \"El Salvador\", phone: \"503\" },\r\n {\r\n code: \"SX\",\r\n label: \"Sint Maarten (Dutch part)\",\r\n phone: \"1-721\",\r\n },\r\n {\r\n code: \"SY\",\r\n label: \"Syrian Arab Republic\",\r\n phone: \"963\",\r\n },\r\n { code: \"SZ\", label: \"Swaziland\", phone: \"268\" },\r\n {\r\n code: \"TC\",\r\n label: \"Turks and Caicos Islands\",\r\n phone: \"1-649\",\r\n },\r\n { code: \"TD\", label: \"Chad\", phone: \"235\" },\r\n {\r\n code: \"TF\",\r\n label: \"French Southern Territories\",\r\n phone: \"262\",\r\n },\r\n { code: \"TG\", label: \"Togo\", phone: \"228\" },\r\n { code: \"TH\", label: \"Thailand\", phone: \"66\" },\r\n { code: \"TJ\", label: \"Tajikistan\", phone: \"992\" },\r\n { code: \"TK\", label: \"Tokelau\", phone: \"690\" },\r\n { code: \"TL\", label: \"Timor-Leste\", phone: \"670\" },\r\n { code: \"TM\", label: \"Turkmenistan\", phone: \"993\" },\r\n { code: \"TN\", label: \"Tunisia\", phone: \"216\" },\r\n { code: \"TO\", label: \"Tonga\", phone: \"676\" },\r\n { code: \"TR\", label: \"Turkey\", phone: \"90\" },\r\n {\r\n code: \"TT\",\r\n label: \"Trinidad and Tobago\",\r\n phone: \"1-868\",\r\n },\r\n { code: \"TV\", label: \"Tuvalu\", phone: \"688\" },\r\n {\r\n code: \"TW\",\r\n label: \"Taiwan, Province of China\",\r\n phone: \"886\",\r\n },\r\n {\r\n code: \"TZ\",\r\n label: \"United Republic of Tanzania\",\r\n phone: \"255\",\r\n },\r\n { code: \"UA\", label: \"Ukraine\", phone: \"380\" },\r\n { code: \"UG\", label: \"Uganda\", phone: \"256\" },\r\n {\r\n code: \"US\",\r\n label: \"United States\",\r\n phone: \"1\",\r\n suggested: true,\r\n },\r\n { code: \"UY\", label: \"Uruguay\", phone: \"598\" },\r\n { code: \"UZ\", label: \"Uzbekistan\", phone: \"998\" },\r\n {\r\n code: \"VA\",\r\n label: \"Holy See (Vatican City State)\",\r\n phone: \"379\",\r\n },\r\n {\r\n code: \"VC\",\r\n label: \"Saint Vincent and the Grenadines\",\r\n phone: \"1-784\",\r\n },\r\n { code: \"VE\", label: \"Venezuela\", phone: \"58\" },\r\n {\r\n code: \"VG\",\r\n label: \"British Virgin Islands\",\r\n phone: \"1-284\",\r\n },\r\n {\r\n code: \"VI\",\r\n label: \"US Virgin Islands\",\r\n phone: \"1-340\",\r\n },\r\n { code: \"VN\", label: \"Vietnam\", phone: \"84\" },\r\n { code: \"VU\", label: \"Vanuatu\", phone: \"678\" },\r\n { code: \"WF\", label: \"Wallis and Futuna\", phone: \"681\" },\r\n { code: \"WS\", label: \"Samoa\", phone: \"685\" },\r\n { code: \"XK\", label: \"Kosovo\", phone: \"383\" },\r\n { code: \"YE\", label: \"Yemen\", phone: \"967\" },\r\n { code: \"YT\", label: \"Mayotte\", phone: \"262\" },\r\n { code: \"ZA\", label: \"South Africa\", phone: \"27\" },\r\n { code: \"ZM\", label: \"Zambia\", phone: \"260\" },\r\n { code: \"ZW\", label: \"Zimbabwe\", phone: \"263\" },\r\n];\r\n","import { updateUserData } from \"../../Redux/common-reducer\";\r\nimport { setCurrentTeam } from \"../../Redux/sidebarSlice\";\r\nimport { store } from \"../../Redux/store\";\r\n\r\nexport const updateTeamIdInLocalStorage = (team_id) => {\r\n let USER_DATA = JSON.parse(localStorage.getItem(\"user_data\"));\r\n localStorage.setItem(\r\n \"user_data\",\r\n JSON.stringify({ ...USER_DATA, team_id: team_id })\r\n );\r\n store.dispatch(updateUserData({ ...USER_DATA, team_id: team_id }));\r\n store.dispatch(setCurrentTeam(team_id));\r\n if (!team_id) {\r\n localStorage.removeItem(\"active_team\", team_id);\r\n } else {\r\n localStorage.setItem(\"active_team\", team_id);\r\n }\r\n};\r\n","import { useCallback, memo } from 'react';\r\nimport {\r\n getNodePositionWithOrigin,\r\n rectToBox,\r\n boxToRect,\r\n Box,\r\n useReactFlow,\r\n useStoreApi,\r\n NodeProps,\r\n NodeToolbar,\r\n useStore,\r\n NodeResizer,\r\n} from 'reactflow';\r\nimport commanService from '../CommanFunctions/commanService';\r\n\r\n\r\n// we have to make sure that parent nodes are rendered before their children\r\nexport const sortNodes = (a, b) => {\r\n if (a.type === b.type) {\r\n return 0;\r\n }\r\n return a.type === 'group' && b.type !== 'group' ? -1 : 1;\r\n};\r\n\r\nexport const getId = (prefix = 'node') => `${prefix}_${Math.random() * 10000}`;\r\n\r\nexport const getNodePositionInsideParent = (node, groupNode) => {\r\n\r\n node = JSON.parse(JSON.stringify(node));\r\n const position = node.position ?? { x: 0, y: 0 };\r\n const nodeWidth = node.width ?? 0;\r\n const nodeHeight = node.height ?? 0;\r\n const groupWidth = groupNode.width ?? 0;\r\n const groupHeight = groupNode.height ?? 0;\r\n\r\n if (position.x < groupNode.positionAbsolute.x) {\r\n position.x = 0;\r\n } else if (position.x + nodeWidth > groupNode.positionAbsolute.x + groupWidth) {\r\n position.x = groupWidth - nodeWidth;\r\n } else {\r\n position.x = position.x - groupNode.positionAbsolute.x;\r\n }\r\n\r\n if (position.y < groupNode.positionAbsolute.y) {\r\n position.y = 0;\r\n } else if (position.y + nodeHeight > groupNode.positionAbsolute.y + groupHeight) {\r\n position.y = groupHeight - nodeHeight;\r\n } else {\r\n position.y = position.y - groupNode.positionAbsolute.y;\r\n }\r\n return position;\r\n};\r\n\r\nexport const getBoundsOfBoxes = (box1, box2) => ({\r\n x: Math.min(box1.x, box2.x),\r\n y: Math.min(box1.y, box2.y),\r\n x2: Math.max(box1.x2, box2.x2),\r\n y2: Math.max(box1.y2, box2.y2),\r\n});\r\n\r\nexport const getRelativeNodesBounds = (nodes, nodeOrigin = [0, 0]) => {\r\n if (nodes.length === 0) {\r\n return { x: 0, y: 0, width: 0, height: 0 };\r\n }\r\n\r\n const box = nodes.reduce(\r\n (currBox, node) => {\r\n const { x, y } = getNodePositionWithOrigin(node, nodeOrigin);\r\n return getBoundsOfBoxes(\r\n currBox,\r\n rectToBox({\r\n x,\r\n y,\r\n width: node.width || 0,\r\n height: node.height || 0,\r\n })\r\n );\r\n },\r\n { x: Infinity, y: Infinity, x2: -Infinity, y2: -Infinity }\r\n );\r\n\r\n return boxToRect(box);\r\n};\r\n\r\n\r\n\r\nexport function useDetachNodes() {\r\n const { setNodes } = useReactFlow();\r\n const store = useStoreApi();\r\n\r\n const detachNodes = useCallback(\r\n (ids, removeParentId, cb) => {\r\n const { nodeInternals } = store.getState();\r\n let nextNodes = Array.from(nodeInternals.values()).map((n) => {\r\n if (ids.includes(n.id) && n.parentNode) {\r\n const parentNode = nodeInternals.get(n.parentNode);\r\n return {\r\n ...n,\r\n position: {\r\n x: n.position.x + (parentNode?.positionAbsolute?.x ?? 0),\r\n y: n.position.y + (parentNode?.positionAbsolute?.y ?? 0),\r\n },\r\n expandParent: undefined,\r\n parentNode: undefined,\r\n };\r\n }\r\n return n;\r\n });\r\n nextNodes = nextNodes.filter((n) => !removeParentId || n.id !== removeParentId);\r\n cb(nextNodes)\r\n setNodes(nextNodes);\r\n },\r\n [setNodes, store]\r\n );\r\n\r\n return detachNodes;\r\n}\r\n\r\n\r\n\r\n\r\n","import React, { Component } from \"react\";\r\nimport { Stack, Typography } from \"@mui/material\";\r\nimport { s3AssetsUrl } from \"../../Components/DrawBoard/const\";\r\nimport CommonLink from \"../../common-components/buttons/CommonLink\";\r\n\r\nclass GlobalErrorBoundary extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = { hasError: false, error: null, errorInfo: null };\r\n }\r\n\r\n static getDerivedStateFromError(error) {\r\n // Update state so the next render will show the fallback UI\r\n return { hasError: true, error };\r\n }\r\n\r\n shouldComponentUpdate() {\r\n if (this.state.hasError) {\r\n // don't remove this code --- By Ashish Malaviya\r\n // if (\r\n // this.state.error &&\r\n // this.state.error.toString().includes(\"is not defined\")\r\n // ) {\r\n // console.log(\"The error is related to an undefined variable in code.\");\r\n // }\r\n const localErrorReload = localStorage.getItem(\"error_reload\");\r\n if (localErrorReload) {\r\n if (JSON.parse(localErrorReload) === true) {\r\n localStorage.clear();\r\n window.location.href = \"/login\";\r\n } else {\r\n window.localStorage.setItem(\"error_reload\", JSON.stringify(true));\r\n window.location.reload();\r\n }\r\n } else {\r\n window.localStorage.setItem(\"error_reload\", JSON.stringify(true));\r\n window.location.reload();\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n componentDidCatch(error, errorInfo) {\r\n // You can also log the error to an error reporting service\r\n this.setState({ errorInfo });\r\n }\r\n\r\n render() {\r\n return this.state.hasError ? (\r\n \r\n \r\n \r\n Technical Issues\r\n \r\n \r\n This page has technical issues, so you can visit another page or{\" \"}\r\n window.location.reload()}\r\n >\r\n Refresh Page.\r\n \r\n {/* window.location.reload()}\r\n >\r\n Refresh Page.\r\n */}\r\n \r\n \r\n ) : (\r\n this.props.children\r\n );\r\n }\r\n}\r\n\r\nexport default GlobalErrorBoundary;\r\n","import { hierarchy } from \"d3-hierarchy\";\r\nimport { flextree } from \"d3-flextree\";\r\n\r\nexport const createVerticalTreeLayout = (\r\n nodes,\r\n rootNodeId,\r\n newNodeId = null,\r\n afterNodeId = null,\r\n beforeNodeId = null\r\n) => {\r\n const rootNode = nodes.find((node) => node.id === rootNodeId);\r\n\r\n const defaultWidth = {\r\n orgChart: 210,\r\n card: 227,\r\n frame: 350,\r\n };\r\n\r\n if (!rootNode) throw new Error(\"Root node not found\");\r\n\r\n const createHierarchyData = (node) => {\r\n const newNode = nodes.find((n) => n.id === newNodeId);\r\n const parentNodeOfNewNode = newNode?.parentNode;\r\n\r\n let children = nodes.filter((child) => child.parentNode === node.id);\r\n const currentNode = nodes.find((n) => n.id === node.id);\r\n if (currentNode?.data?.childrenOrder) {\r\n children = currentNode.data.childrenOrder.filter((child) =>\r\n nodes.some((nd) => (nd.id === child.id && nd?.parentNode === child?.parentNode))\r\n );\r\n }\r\n if (\r\n newNodeId &&\r\n !afterNodeId &&\r\n !beforeNodeId &&\r\n node.id === parentNodeOfNewNode\r\n ) {\r\n if (!children.map((child) => child.id).includes(newNodeId)) {\r\n if (newNodeId === children[0]?.id) {\r\n children = [newNode, ...children];\r\n } else {\r\n children = [...children, newNode];\r\n }\r\n }\r\n }\r\n\r\n // If we're inserting a new node after a specific node\r\n if (newNodeId && afterNodeId) {\r\n const afterNodeIndex = children.findIndex(\r\n (child) => child.id === afterNodeId\r\n );\r\n if (afterNodeIndex !== -1) {\r\n const newNode = nodes.find((n) => n.id === newNodeId);\r\n if (newNode) {\r\n // Remove the new node from its current position (if it exists)\r\n children = children.filter((n) => n.id !== newNodeId);\r\n // Insert the new node after the specified node\r\n children.splice(afterNodeIndex + 1, 0, newNode);\r\n }\r\n }\r\n }\r\n\r\n // If we're inserting a new node before a specific node\r\n if (newNodeId && beforeNodeId) {\r\n const beforeNodeIndex = children.findIndex(\r\n (child) => child.id === beforeNodeId\r\n );\r\n\r\n if (beforeNodeIndex !== -1) {\r\n const newNode = nodes.find((n) => n.id === newNodeId);\r\n if (newNode) {\r\n // Remove the new node from its current position (if it exists)\r\n children = children.filter((n) => n.id !== newNodeId);\r\n // Insert the new node before the specified node\r\n children.splice(beforeNodeIndex, 0, newNode);\r\n }\r\n }\r\n }\r\n // Create a new object with the node's properties and add childrenOrder\r\n const nodeWithOrder = {\r\n ...node,\r\n data: {\r\n ...node.data,\r\n childrenOrder: children,\r\n },\r\n };\r\n\r\n nodeWithOrder.children = children.map((child) =>\r\n createHierarchyData(child)\r\n );\r\n\r\n return nodeWithOrder;\r\n };\r\n\r\n const calculateLayout = () => {\r\n const rootData = { ...rootNode, children: [] };\r\n\r\n const hierarchyData = createHierarchyData(rootData);\r\n\r\n const root = hierarchy(hierarchyData);\r\n\r\n const nodeSize = (node) => {\r\n const originalNode = nodes.find((n) => n.id === node.data.id);\r\n const height = originalNode?.height < 100 ? 95 : originalNode?.height;\r\n\r\n if (originalNode?.type === \"frame\") {\r\n return [defaultWidth[originalNode.type] || 100, 80];\r\n }\r\n\r\n return [\r\n originalNode?.width || originalNode?.style?.width || defaultWidth[originalNode?.type],\r\n originalNode?.height || originalNode?.style?.height || 80,\r\n ];\r\n };\r\n\r\n const flexTree = flextree()\r\n .nodeSize(nodeSize)\r\n .spacing((a, b) => (a.parent === b.parent ? 45 : 45));\r\n\r\n return flexTree(root).descendants().slice(1);\r\n };\r\n\r\n const allNodes = calculateLayout();\r\n\r\n const createPositionedNodes = (treeNodes) => {\r\n return treeNodes\r\n .map((treeNode) => {\r\n const node = nodes.find((n) => n.id === treeNode.data.id);\r\n if (!node) return null;\r\n\r\n const parentNode = nodes.find((n) => n.id === node.parentNode);\r\n const parentPosition = parentNode?.positionAbsolute || { x: 0, y: 0 };\r\n const getNodeWidth = (n) => {\r\n return n?.width ? n?.width : defaultWidth[n?.type];\r\n }\r\n const additionalXOffset = (getNodeWidth(node) - getNodeWidth(parentNode)) / 2;\r\n\r\n // Calculate position for non-manually positioned nodes\r\n let positionAbsolute;\r\n\r\n positionAbsolute = {\r\n x: parentPosition.x + treeNode.x - (parentNode ? treeNode.parent.x : 0) - additionalXOffset,\r\n y: parentPosition.y + 150 + (parentNode?.height || 178),\r\n };\r\n\r\n return {\r\n ...node,\r\n data: {\r\n ...node.data,\r\n childrenOrder: treeNode.data?.data?.childrenOrder,\r\n },\r\n positionAbsolute,\r\n position: {\r\n x: positionAbsolute.x - parentPosition.x,\r\n y: positionAbsolute.y - parentPosition.y,\r\n },\r\n };\r\n })\r\n .filter(Boolean);\r\n };\r\n\r\n const positionedNodes = createPositionedNodes(allNodes);\r\n\r\n const rootNodeChildrenOrder =\r\n createHierarchyData(rootNode)?.data?.childrenOrder;\r\n\r\n const rootNodeWithPosition = {\r\n ...rootNode,\r\n data: {\r\n ...rootNode.data,\r\n childrenOrder: rootNodeChildrenOrder || [],\r\n },\r\n // position: { x: rootNode.position.x, y: rootNode.position.y },\r\n // positionAbsolute: { x: rootNode.positionAbsolute.x, y: rootNode.positionAbsolute.y },\r\n };\r\n\r\n const allPositionedNodes = [rootNodeWithPosition, ...positionedNodes];\r\n\r\n return { nodes: allPositionedNodes };\r\n};\r\n","import { hierarchy } from \"d3-hierarchy\";\r\nimport { flextree } from \"d3-flextree\";\r\n\r\nfunction preventOverlappingNodes(nodes) {\r\n const checkOverlap = (nodeA, nodeB) => {\r\n const aX1 = nodeA.positionAbsolute.x;\r\n const aY1 = nodeA.positionAbsolute.y;\r\n const aX2 = aX1 + nodeA.width;\r\n const aY2 = aY1 + nodeA.height;\r\n\r\n const bX1 = nodeB.positionAbsolute.x;\r\n const bY1 = nodeB.positionAbsolute.y;\r\n const bX2 = bX1 + nodeB.width;\r\n const bY2 = bY1 + nodeB.height;\r\n\r\n return aX1 < bX2 && aX2 > bX1 && aY1 < bY2 && aY2 > bY1;\r\n };\r\n\r\n const moveNode = (node, otherNode) => {\r\n if (node.data.addition === \"horizontal\") {\r\n // Move vertically if the addition is horizontal\r\n node.positionAbsolute.y = otherNode.positionAbsolute.y + otherNode.height + 40; // Move down\r\n } else if (node.data.addition === \"vertical\") {\r\n // Move horizontally if the addition is vertical\r\n node.positionAbsolute.x = otherNode.positionAbsolute.x + otherNode.width + 40; // Move right\r\n } else {\r\n // Default to horizontal movement if data.addition is not defined\r\n node.positionAbsolute.x = otherNode.positionAbsolute.x + otherNode.width + 40;\r\n }\r\n\r\n // Update relative position based on positionAbsolute\r\n const parentNode = nodes.find(n => n.id === node.parentNode);\r\n const parentPosition = parentNode ? parentNode.positionAbsolute : { x: 0, y: 0 };\r\n \r\n node.position = {\r\n x: node.positionAbsolute.x - parentPosition.x,\r\n y: node.positionAbsolute.y - parentPosition.y,\r\n };\r\n };\r\n\r\n const processNodeOverlaps = (nodes) => {\r\n let changed = false;\r\n\r\n for (let i = 0; i < nodes.length; i++) {\r\n for (let j = i + 1; j < nodes.length; j++) {\r\n const nodeA = nodes[i];\r\n const nodeB = nodes[j];\r\n\r\n if (checkOverlap(nodeA, nodeB)) {\r\n // Check which node can be moved\r\n if (nodeA.data.manuallyPositioned || nodeA.data.type === \"parent\") {\r\n moveNode(nodeB, nodeA);\r\n } else if (nodeB.data.manuallyPositioned || nodeB.data.type === \"parent\") {\r\n moveNode(nodeA, nodeB);\r\n } else {\r\n moveNode(nodeB, nodeA); // Move node B if neither are manually positioned or a parent\r\n }\r\n\r\n changed = true; // Mark that a node was moved\r\n }\r\n }\r\n }\r\n\r\n return changed;\r\n };\r\n\r\n // Recursively check for overlaps and move nodes until no changes occur\r\n let nodesChanged = true;\r\n while (nodesChanged) {\r\n nodesChanged = processNodeOverlaps(nodes);\r\n }\r\n\r\n return nodes;\r\n}\r\n\r\nexport const createTreeLayout = (\r\n nodes,\r\n rootNodeId,\r\n direction,\r\n newNodeId = null,\r\n afterNodeId = null,\r\n) => {\r\n const rootNode = nodes.find((node) => node.id === rootNodeId);\r\n if (!rootNode) throw new Error(\"Root node not found\");\r\n\r\n // const createHierarchyData = (node, side) => ({\r\n // ...node,\r\n // children: nodes\r\n // .filter((child) => child.parentNode === node.id && child.data.side === side)\r\n // .map((child) => createHierarchyData(child, side)),\r\n // });\r\n nodes = nodes.filter((nd) => !nd.hidden);\r\n\r\n const createHierarchyData = (node, side) => {\r\n const newNode = nodes.find((n) => n.id === newNodeId);\r\n const parentNodeOfNewNode = newNode?.parentNode;\r\n\r\n let children = nodes.filter(\r\n (child) => child.parentNode === node.id && child.data.side === side\r\n );\r\n const currentNode = nodes.find((n) => n.id === node.id);\r\n if (currentNode?.data?.childrenOrder && currentNode.data.childrenOrder.length > 0) {\r\n children = currentNode.data.childrenOrder.filter((child) =>\r\n nodes.some((nd) => nd.id === child.id)\r\n );\r\n } else if (\r\n currentNode?.id === rootNodeId &&\r\n currentNode?.data?.[`${side}ChildrenOrder`] && \r\n currentNode.data[`${side}ChildrenOrder`].length > 0\r\n ) {\r\n children = currentNode.data?.[`${side}ChildrenOrder`].filter((child) =>\r\n nodes.some((nd) => nd.id === child.id)\r\n );\r\n }\r\n if (\r\n newNodeId &&\r\n !afterNodeId &&\r\n node.id === parentNodeOfNewNode &&\r\n newNode.data.side === side\r\n ) {\r\n if (!children.map((child) => child.id).includes(newNodeId)) {\r\n children = [...children, newNode];\r\n }\r\n }\r\n\r\n // If we're inserting a new node after a specific node\r\n if (newNodeId && afterNodeId) {\r\n const afterNodeIndex = children.findIndex(\r\n (child) => child.id === afterNodeId\r\n );\r\n if (afterNodeIndex !== -1) {\r\n const newNode = nodes.find((n) => n.id === newNodeId);\r\n if (newNode) {\r\n // Remove the new node from its current position (if it exists)\r\n children = children.filter((n) => n.id !== newNodeId);\r\n // Insert the new node after the specified node\r\n children.splice(afterNodeIndex + 1, 0, newNode);\r\n }\r\n }\r\n }\r\n\r\n // Create a new object with the node's properties and add childrenOrder\r\n const nodeWithOrder = {\r\n ...node,\r\n data: {\r\n ...node.data,\r\n childrenOrder: children,\r\n },\r\n };\r\n\r\n nodeWithOrder.children = children.map((child) =>\r\n createHierarchyData(child, side)\r\n );\r\n\r\n return nodeWithOrder;\r\n };\r\n\r\n const isHorizontal = direction === \"horizontal\";\r\n\r\n const nodeWidth = (nd) => {\r\n return nd?.width < 120 ? 120 : nd?.width;\r\n }\r\n\r\n const calculateLayout = (side) => {\r\n const sideRootData = { ...rootNode, children: [] };\r\n const hierarchyData = createHierarchyData(sideRootData, side);\r\n const root = hierarchy(hierarchyData);\r\n\r\n const nodeSize = (node) => {\r\n const originalNode = nodes.find((n) => n.id === node.data.id);\r\n const height = originalNode?.height < 100 ? 95 : originalNode?.height;\r\n const widthData = originalNode?.data?.designType === \"nine\" ? 114 : 114;\r\n return isHorizontal\r\n ? [height || 95, originalNode?.width ? nodeWidth(originalNode) : 120]\r\n : [originalNode?.width || widthData, height || 95];\r\n };\r\n\r\n const nodeGap = isHorizontal ? 6 : 45;\r\n const nodeLevelGap = isHorizontal ? 6 : 45;\r\n\r\n const flexTree = flextree()\r\n .nodeSize(nodeSize)\r\n .spacing((a, b) => (a.parent === b.parent ? nodeGap : nodeLevelGap));\r\n\r\n return flexTree(root).descendants().slice(1);\r\n };\r\n\r\n const leftNodes = calculateLayout(\"left\");\r\n const rightNodes = calculateLayout(\"right\");\r\n const topNodes = calculateLayout(\"top\");\r\n const bottomNodes = calculateLayout(\"bottom\");\r\n\r\n const createPositionedNodes = (treeNodes, side) => {\r\n return treeNodes\r\n .map((treeNode) => {\r\n const node = nodes.find((n) => n.id === treeNode.data.id);\r\n if (!node) return null;\r\n\r\n const parentNode = nodes.find((n) => n.id === node.parentNode);\r\n const parentPosition = parentNode?.positionAbsolute || { x: 0, y: 0 };\r\n\r\n // Check if the node has been manually positioned\r\n if (!node.data?.autoLayout && node.data?.manuallyPositioned) {\r\n return {\r\n ...node,\r\n data: {\r\n ...node.data,\r\n childrenOrder: treeNode.data?.data?.childrenOrder,\r\n },\r\n };\r\n }\r\n\r\n // Calculate position for non-manually positioned nodes\r\n let positionAbsolute;\r\n if (isHorizontal) {\r\n const isFirstLevel = treeNode.depth === 1;\r\n const xOffset = side === \"left\" ? -150 : 150;\r\n const additionalXOffset = isFirstLevel && side === \"left\" ? (node?.width ? -30 : -25) : 0;\r\n const parentWidth = parentNode?.width ? nodeWidth(parentNode) : 120;\r\n const currNodeWidth = node?.width ? nodeWidth(node) : 120;\r\n const rightSideWidth = isFirstLevel ? (rootNode?.width || 100) : parentWidth;\r\n const leftSideWidth = isFirstLevel ? 100 - (120 - currNodeWidth) : currNodeWidth;\r\n const designTypeOffsets = {\r\n first: 43,\r\n second: 43,\r\n third: 43,\r\n four: 43.5,\r\n five: 43,\r\n six: 43,\r\n seven: 47,\r\n eight: 43,\r\n };\r\n\r\n const additionalYOffset = node?.height\r\n ? (node?.height - parentNode?.height) / 2\r\n : designTypeOffsets[node?.data?.designType]\r\n ? (designTypeOffsets[node.data.designType] - parentNode?.height) / 2\r\n : 0;\r\n \r\n positionAbsolute = {\r\n x:\r\n parentPosition.x +\r\n (side === \"left\" ? -leftSideWidth : rightSideWidth) +\r\n xOffset +\r\n additionalXOffset, // Use constant nodeWidth for horizontal spacing\r\n y:\r\n parentPosition.y +\r\n treeNode.x -\r\n (parentNode ? treeNode.parent.x : 0) -\r\n additionalYOffset,\r\n };\r\n } else {\r\n const isFirstLevel = treeNode.depth === 1;\r\n const yOffset = side === \"top\" ? -150 : 150;\r\n const bottomSideHeight = isFirstLevel ? 0 : parentNode?.height;\r\n const height = node?.data?.designType === \"nine\" ? 43 : 43;\r\n const topSideHeight = isFirstLevel\r\n ? 0 - (height - (node?.height || height))\r\n : node?.height || height;\r\n const additionalXOffset = node?.width\r\n ? (node?.width - parentNode?.width) / 2\r\n : node?.data?.designType === \"nine\"\r\n ? (114 - parentNode?.width) / 2\r\n : node?.data?.designType === \"ten\"\r\n ? (114 - parentNode?.width) / 2\r\n : 0;\r\n positionAbsolute = {\r\n x:\r\n parentPosition.x +\r\n treeNode.x -\r\n (parentNode ? treeNode.parent.x : 0) -\r\n additionalXOffset,\r\n y:\r\n parentPosition.y +\r\n (side === \"top\" ? -topSideHeight : bottomSideHeight) +\r\n yOffset, // Use constant nodeWidth for vertical spacing\r\n };\r\n }\r\n\r\n return {\r\n ...node,\r\n data: {\r\n ...node.data,\r\n childrenOrder: treeNode.data?.data?.childrenOrder,\r\n },\r\n positionAbsolute,\r\n position: {\r\n x: positionAbsolute.x - parentPosition.x,\r\n y: positionAbsolute.y - parentPosition.y,\r\n },\r\n };\r\n })\r\n .filter(Boolean);\r\n };\r\n\r\n const leftPositionedNodes = createPositionedNodes(leftNodes, \"left\");\r\n const rightPositionedNodes = createPositionedNodes(rightNodes, \"right\");\r\n const topPositionedNodes = createPositionedNodes(topNodes, \"top\");\r\n const bottomPositionedNodes = createPositionedNodes(bottomNodes, \"bottom\");\r\n\r\n const rootNodeLeftChildrenOrder = createHierarchyData(rootNode, \"left\")?.data\r\n ?.childrenOrder;\r\n const rootNodeRightChildrenOrder = createHierarchyData(rootNode, \"right\")\r\n ?.data?.childrenOrder;\r\n const rootNodeTopChildrenOrder = createHierarchyData(rootNode, \"top\")?.data\r\n ?.childrenOrder;\r\n const rootNodeBottomChildrenOrder = createHierarchyData(rootNode, \"bottom\")\r\n ?.data?.childrenOrder;\r\n\r\n const rootNodeWithPosition = {\r\n ...rootNode,\r\n data: {\r\n ...rootNode.data,\r\n leftChildrenOrder: rootNodeLeftChildrenOrder || [],\r\n rightChildrenOrder: rootNodeRightChildrenOrder || [],\r\n topChildrenOrder: rootNodeTopChildrenOrder || [],\r\n bottomChildrenOrder: rootNodeBottomChildrenOrder || [],\r\n },\r\n // position: { x: rootNode.position.x, y: rootNode.position.y },\r\n // positionAbsolute: { x: rootNode.position.x, y: rootNode.position.y },\r\n };\r\n\r\n let allPositionedNodes = [\r\n rootNodeWithPosition,\r\n ...leftPositionedNodes,\r\n ...rightPositionedNodes,\r\n ...topPositionedNodes,\r\n ...bottomPositionedNodes,\r\n ];\r\n\r\n // const isAnyNodeManullayPositioned = nodes.filter((nd) => nd.manuallyPositioned).length > 0;\r\n\r\n // if(isAnyNodeManullayPositioned){\r\n // allPositionedNodes = preventOverlappingNodes(allPositionedNodes);\r\n // }\r\n\r\n return { nodes: allPositionedNodes };\r\n};\r\n","import { useSearchParams } from \"react-router-dom\";\r\n\r\n/**\r\n * Custom hook to handle query parameters navigation\r\n */\r\nconst useCustomNavigation = () => {\r\n const [searchParams, setSearchParams] = useSearchParams();\r\n\r\n /**\r\n * Delete a single or multiple query parameters\r\n * @param {string | string[]} keys - The key(s) of the query parameters to delete\r\n */\r\n const deleteSingleAndMultipleParams = (keys) => {\r\n const updatedParams = new URLSearchParams(searchParams);\r\n\r\n if (Array.isArray(keys)) {\r\n keys.forEach((key) => updatedParams.delete(key));\r\n } else {\r\n updatedParams.delete(keys);\r\n }\r\n\r\n setSearchParams(updatedParams);\r\n };\r\n\r\n /**\r\n * Add a specific value to a query parameter (e.g., add to a comma-separated list)\r\n * @param {string} key - The query parameter key\r\n * @param {string} value - The value to add\r\n */\r\n const addParamValue = (key, value) => {\r\n const updatedParams = new URLSearchParams(searchParams);\r\n const existingValues = updatedParams.get(key)?.split(\",\") || [];\r\n\r\n // Add the value if not already present\r\n const newValues = Array.from(new Set([...existingValues, value]));\r\n updatedParams.set(key, newValues.join(\",\"));\r\n setSearchParams(updatedParams);\r\n };\r\n\r\n /**\r\n * Remove a specific value from a query parameter (e.g., remove from a comma-separated list)\r\n * @param {string} key - The query parameter key\r\n * @param {string} value - The value to remove\r\n */\r\n const removeParamValue = (key, value) => {\r\n const updatedParams = new URLSearchParams(searchParams);\r\n const existingValues = updatedParams.get(key)?.split(\",\") || [];\r\n\r\n // Remove the value if present\r\n const newValues = existingValues.filter((item) => item !== value);\r\n if (newValues.length > 0) {\r\n updatedParams.set(key, newValues.join(\",\"));\r\n } else {\r\n updatedParams.delete(key); // Remove the key if no values are left\r\n }\r\n\r\n setSearchParams(updatedParams);\r\n };\r\n\r\n const removeAllParams = () => {\r\n setSearchParams({});\r\n };\r\n\r\n return {\r\n params: Object.fromEntries(searchParams.entries()), // Convert params to an object\r\n setSearchParams,\r\n deleteSingleAndMultipleParams,\r\n addParamValue,\r\n removeParamValue,\r\n removeAllParams,\r\n };\r\n};\r\n\r\nexport default useCustomNavigation;\r\n","import { useEffect, useCallback, useRef } from \"react\";\r\n\r\nexport const useKeyboardShortcut = (keys, callback) => {\r\n // Store the callback in a ref to avoid re-renders\r\n const callbackRef = useRef(callback);\r\n\r\n // Update the callback ref when it changes\r\n useEffect(() => {\r\n callbackRef.current = callback;\r\n }, [callback]);\r\n\r\n // Store pressed keys in a ref\r\n const pressedKeys = useRef(new Set());\r\n\r\n // Normalize keys and store in ref\r\n const keysRef = useRef(\r\n keys.map((key) => {\r\n const lowerKey = key.toLowerCase();\r\n // Handle special cases for modifier keys\r\n if (lowerKey === \"ctrl\" || lowerKey === \"control\") return \"control\";\r\n if (lowerKey === \"shift\") return \"shift\";\r\n if (lowerKey === \"alt\") return \"alt\";\r\n if (lowerKey === \"meta\" || lowerKey === \"cmd\" || lowerKey === \"command\")\r\n return \"meta\";\r\n return lowerKey;\r\n })\r\n );\r\n\r\n // Key down handler\r\n const handleKeyDown = useCallback((event) => {\r\n // event.preventDefault(); // Prevent default for all matching combinations\r\n\r\n // Reset the set on each keydown to prevent key buildup\r\n pressedKeys.current.clear();\r\n\r\n // Track modifier keys\r\n if (event.ctrlKey) pressedKeys.current.add(\"control\");\r\n if (event.shiftKey) pressedKeys.current.add(\"shift\");\r\n if (event.altKey) pressedKeys.current.add(\"alt\");\r\n if (event.metaKey) pressedKeys.current.add(\"meta\");\r\n\r\n // Add the main key (converted to lowercase)\r\n const mainKey = event.key.toLowerCase();\r\n pressedKeys.current.add(mainKey);\r\n\r\n // Check if the pressed combination matches our required keys\r\n const allKeysPressed = keysRef.current.every((requiredKey) =>\r\n pressedKeys.current.has(requiredKey)\r\n );\r\n\r\n const hasCorrectModifiers =\r\n keysRef.current.includes(\"control\") === event.ctrlKey &&\r\n keysRef.current.includes(\"shift\") === event.shiftKey &&\r\n keysRef.current.includes(\"alt\") === event.altKey &&\r\n keysRef.current.includes(\"meta\") === event.metaKey;\r\n\r\n // Execute callback if all conditions are met\r\n if (allKeysPressed && hasCorrectModifiers) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n callbackRef.current();\r\n }\r\n }, []);\r\n\r\n // Clear pressed keys when keys are released\r\n const handleKeyUp = useCallback((event) => {\r\n pressedKeys.current.clear();\r\n }, []);\r\n\r\n // Clear pressed keys when window loses focus\r\n const handleBlur = useCallback(() => {\r\n pressedKeys.current.clear();\r\n }, []);\r\n\r\n useEffect(() => {\r\n window.addEventListener(\"keydown\", handleKeyDown, true); // Using capture phase\r\n window.addEventListener(\"keyup\", handleKeyUp, true);\r\n window.addEventListener(\"blur\", handleBlur);\r\n\r\n return () => {\r\n window.removeEventListener(\"keydown\", handleKeyDown, true);\r\n window.removeEventListener(\"keyup\", handleKeyUp, true);\r\n window.removeEventListener(\"blur\", handleBlur);\r\n };\r\n }, [handleKeyDown, handleKeyUp, handleBlur]);\r\n};\r\n","import React, { useEffect, useState } from 'react'\r\n\r\nfunction useNodeSelectionStarted({ selected }) {\r\n\r\n const [isNodeSelectionStarted, setIsNodeSelectionStarted] = useState(false);\r\n\r\n useEffect(() => {\r\n const handleMouseSelectionStart = () => {\r\n if (selected) {\r\n setIsNodeSelectionStarted(true);\r\n }\r\n };\r\n\r\n const handleMouseSelectionEnd = () => {\r\n // if (selected) {\r\n setIsNodeSelectionStarted(false); \r\n // }\r\n };\r\n\r\n document.addEventListener(\"onCustomSelectionStartEvent\", handleMouseSelectionStart);\r\n document.addEventListener(\"onCustomSelectionEndEvent\", handleMouseSelectionEnd);\r\n return () => {\r\n document.removeEventListener(\"onCustomSelectionStartEvent\", handleMouseSelectionStart);\r\n document.removeEventListener(\"onCustomSelectionEndEvent\", handleMouseSelectionEnd);\r\n };\r\n }, [selected]);\r\n\r\n return { isNodeSelectionStarted, setIsNodeSelectionStarted }\r\n}\r\n\r\nexport default useNodeSelectionStarted;\r\n","import { useContext } from \"react\";\r\nimport { roundToTwoDecimalPlaces } from \"../../CommanFunctions/commanFunctions\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport { handleChangePlanFromPayment } from \"../../Redux/common-reducer\";\r\nimport { ModelContext } from \"../../HOC/ModelContext\";\r\n\r\nconst usePlanChangeClick = ({\r\n planData,\r\n currentPlanDetails,\r\n additionalSeats,\r\n additionalPlan,\r\n planeList,\r\n activeDuration,\r\n addedLicenseCount,\r\n isYearly,\r\n isCurrentPlan,\r\n isCurrentPlanIsTrial,\r\n isModifyingLicense = false,\r\n handleClose = () => {},\r\n}) => {\r\n const dispatch = useDispatch();\r\n const navigate = useNavigate();\r\n const { setShowPlaneModel } = useContext(ModelContext);\r\n // const additionalUsers = additionalPlan?.price?.map((item, index) => {\r\n // return {\r\n // planId: item.price_for_package,\r\n // userCount: index === 0 ? additionalSeats : 0,\r\n // };\r\n // });\r\n const monthlyPrices = planeList?.packages?.packageList?.filter(\r\n (temp) => temp.interval_type === \"month\"\r\n );\r\n const isCurrentPlanIsFreePlan =\r\n currentPlanDetails?.subscriptionData?.package === \"Free\";\r\n const INVITE_USER_DATA = JSON.parse(localStorage.getItem(\"user_invite_data\"));\r\n const yearlyPrices = planeList?.packages?.packageList?.filter(\r\n (temp) => temp.interval_type === \"year\"\r\n );\r\n const isCreatingNewWorkSpace = JSON.parse(\r\n localStorage.getItem(\"create_new_workspace_data\")\r\n );\r\n const isInvitedUserCreatingWorkspace = JSON.parse(\r\n localStorage.getItem(\"isHaveNotWorkspace\")\r\n );\r\n\r\n const handleClickPlan = (plan, isUpgradeNow) => {\r\n const additionalUser = [\r\n {\r\n package_id: plan.package_id,\r\n userCount:\r\n isCreatingNewWorkSpace || isInvitedUserCreatingWorkspace\r\n ? INVITE_USER_DATA\r\n ? additionalSeats -\r\n INVITE_USER_DATA?.emails?.length +\r\n (INVITE_USER_DATA?.emails?.length || 0)\r\n : additionalSeats\r\n : additionalSeats - addedLicenseCount,\r\n },\r\n ];\r\n const data = {\r\n ...plan,\r\n is_trial:\r\n isCreatingNewWorkSpace || isInvitedUserCreatingWorkspace\r\n ? false\r\n : isUpgradeNow\r\n ? false\r\n : isCurrentPlan && !currentPlanDetails?.subscriptionData?.is_trial\r\n ? false\r\n : currentPlanDetails?.subscriptionData?.is_trial\r\n ? true\r\n : plan?.is_trial,\r\n isModifyingLicense: isUpgradeNow ? false : isModifyingLicense,\r\n additional_package_id: additionalPlan?.package_id,\r\n isCurrentPlanIsTrial: isCurrentPlanIsTrial,\r\n additional_package_price_id: additionalPlan?.price.filter(\r\n (addPlan) => addPlan.price_for_package === plan.package_id\r\n )[0]?.package_price_id,\r\n additionalUsers: additionalUser[0].userCount,\r\n additional_user_price: additionalPlan?.price.filter(\r\n (addPlan) => addPlan.price_for_package === plan.package_id\r\n )[0]?.price,\r\n frequency: isYearly\r\n ? \"yearly\"\r\n : activeDuration === \"month\"\r\n ? \"monthly\"\r\n : \"yearly\",\r\n // creditAmount,\r\n isAdditionalPlan: additionalSeats ? true : false,\r\n pricingData: {\r\n monthly: {\r\n price:\r\n monthlyPrices.filter(\r\n (monthPrice) =>\r\n monthPrice.package_id === plan.package_id &&\r\n monthPrice?.package_name === planData?.package_name\r\n )[0]?.price || 0,\r\n package_price_id:\r\n monthlyPrices.filter(\r\n (monthPrice) =>\r\n monthPrice.package_id === plan.package_id &&\r\n monthPrice?.package_name === planData?.package_name\r\n )[0]?.package_price_id || 0,\r\n },\r\n yearly: {\r\n price:\r\n yearlyPrices.filter(\r\n (yearPrice) =>\r\n yearPrice.package_id === plan.package_id &&\r\n yearPrice?.package_name === planData?.package_name\r\n )[0]?.price || 0,\r\n package_price_id:\r\n yearlyPrices.filter(\r\n (yearPrice) =>\r\n yearPrice.package_id === plan.package_id &&\r\n yearPrice?.package_name === planData?.package_name\r\n )[0]?.package_price_id || 0,\r\n },\r\n },\r\n monthlyPrice:\r\n monthlyPrices.filter(\r\n (monthPrice) => monthPrice.package_id === plan.package_id\r\n )[0]?.price || 0,\r\n yearlyPrice:\r\n monthlyPrices.filter(\r\n (monthlyPrices) => monthlyPrices.package_id === plan.package_id\r\n )[0]?.price || 0,\r\n addedLicenseCount:\r\n isCreatingNewWorkSpace || isInvitedUserCreatingWorkspace\r\n ? 0\r\n : addedLicenseCount,\r\n };\r\n data.addTotal =\r\n Number(data.price) +\r\n Number(data.additionalUsers) *\r\n roundToTwoDecimalPlaces(\r\n Number(\r\n additionalPlan?.price.filter(\r\n (addPlan) => addPlan.price_for_package === plan.package_id\r\n )[0]?.price\r\n )\r\n );\r\n sessionStorage.setItem(\"selectedPlanPrice\", data.addTotal);\r\n localStorage.setItem(\"selectedPlanDetails\", JSON.stringify(data));\r\n if (INVITE_USER_DATA) {\r\n localStorage.setItem(\r\n \"additionalUserData\",\r\n JSON.stringify({\r\n users: INVITE_USER_DATA?.emails?.length || 1,\r\n price: 0,\r\n })\r\n );\r\n } else if (isCreatingNewWorkSpace || isInvitedUserCreatingWorkspace) {\r\n localStorage.setItem(\r\n \"additionalUserData\",\r\n JSON.stringify({\r\n users: INVITE_USER_DATA?.emails?.length || 1,\r\n price: 0,\r\n })\r\n );\r\n }\r\n\r\n // setOpen(false);\r\n // if (plan.is_trial && !plan.is_current) {\r\n // setTimeout(() => {\r\n // setShowPlanDetails(true);\r\n // }, 0);\r\n // } else {\r\n // SetPaymentDetails(true);\r\n\r\n // }\r\n // if (isInvitedUserCreatingWorkspace) {\r\n // navigate(\"/create-new-workspace\");\r\n // } else {\r\n if (window.location.pathname.includes(\"payment-details\")) {\r\n dispatch(handleChangePlanFromPayment(true));\r\n navigate(\"/payment-details\");\r\n handleClose();\r\n } else {\r\n setShowPlaneModel(false);\r\n navigate(\"/payment-details\");\r\n }\r\n // }\r\n };\r\n return { handleClickPlan };\r\n};\r\n\r\nexport default usePlanChangeClick;\r\n","import { createContext, useContext, useEffect, useState } from \"react\";\r\nimport io from \"socket.io-client\";\r\nimport { socketEvents } from \"../../Components/DrawBoard/const\";\r\nimport { useParams } from \"react-router-dom\";\r\n\r\nexport const SocketContext = createContext();\r\n\r\nexport const SocketContextProvider = ({ children }) => {\r\n const { id } = useParams();\r\n const userRawData = localStorage.getItem(\"user_data\");\r\n const parsedUserData = userRawData ? JSON.parse(userRawData) : {};\r\n\r\n const [accountId, setAccountId] = useState(\"\");\r\n const [socket, setSocket] = useState();\r\n const [cursorPosition, setCursorPosition] = useState([]);\r\n // for local backend\r\n // const socket = io.connect('http://localhost:5002');\r\n\r\n // for live backend\r\n // const socket = io.connect('https://board-dev.cloudairy.com/api/drawboard');\r\n const domain = new URL(process.env.REACT_APP_API_URL).origin; //?.split(\"/api\")?.[0]\r\n\r\n const connectSocket = () => {\r\n const newSocket = io.connect(domain, {\r\n path: \"/api/drawboard/socket.io\",\r\n query: {\r\n token: parsedUserData?.access_token,\r\n account_id: accountId,\r\n architectureId: id,\r\n },\r\n });\r\n setSocket(newSocket);\r\n };\r\n\r\n useEffect(() => {\r\n if (accountId?.trim()?.length > 0) {\r\n connectSocket();\r\n }\r\n }, [accountId]);\r\n\r\n const handleCursorMove = (data) => {\r\n setCursorPosition(data?.data);\r\n };\r\n\r\n useEffect(() => {\r\n return () => {\r\n if (socket) {\r\n if (userRawData) {\r\n const parsedData = JSON.parse(userRawData);\r\n socket.emit(socketEvents.MOUSE_MOVE, {\r\n roomId: id,\r\n data: cursorPosition?.filter((data) => {\r\n return data?.user_id !== parsedData.user_id;\r\n }),\r\n });\r\n socket.emit(socketEvents.MEMBER_LEAVED, {\r\n roomId: id,\r\n user: `${parsedData?.first_name} ${parsedData?.last_name}`,\r\n });\r\n }\r\n socket.off(socketEvents.CURSOR_MOVE, handleCursorMove);\r\n // Disconnect the socket\r\n socket.disconnect();\r\n }\r\n };\r\n }, [socket, userRawData]);\r\n\r\n const getAccountId = (aId) => {\r\n setAccountId(aId);\r\n };\r\n\r\n const setCursorPos = (pos) => setCursorPosition(pos);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport const useSocketContext = () => {\r\n return useContext(SocketContext);\r\n};\r\n","import { useStore } from 'reactflow';\r\n\r\nconst useZoomPercentages = ({ selected }) => {\r\n const zoom = useStore((state) => selected ? state?.transform?.[2] : 1);\r\n const zoomPercentages = zoom * 100;\r\n\r\n const isItemToSmall = zoomPercentages.current <= 12.5\r\n const isWidthLessthan25 = zoomPercentages.current <= 25\r\n const isWidthLessthan50 = 25 < zoomPercentages.current && zoomPercentages.current <= 50\r\n const isWidthLessthan100 = 50 < zoomPercentages.current && zoomPercentages.current <= 100\r\n const isWidthLessthan200 = 100 < zoomPercentages.current && zoomPercentages.current <= 200\r\n const isWidthLessthan300 = 200 < zoomPercentages.current && zoomPercentages.current <= 400\r\n\r\n return { zoom, zoomPercentages, isWidthLessthan25, isWidthLessthan50, isWidthLessthan100, isWidthLessthan200, isWidthLessthan300, isItemToSmall }\r\n}\r\n\r\nexport default useZoomPercentages;","export const color = {\r\n titleDark: \"#18181B\",\r\n subTitle: \"#848382\",\r\n primaryColor: \"#6762FE\",\r\n darkPrimary: \"#5753D6\",\r\n Primary: \"#5753D6\",\r\n lightPrimary: \"#6762FE1A\",\r\n borderColor: \"#6762FE0D\",\r\n boxShadow: \"#6762FF24\",\r\n primaryShadowColor: \"#6762FE24\",\r\n // secondaryColor: \"#2B61EB\",\r\n secondaryColor: \"#E6E6FF\",\r\n successColor: \"#06A05A\",\r\n errorColor: \"#F04438\",\r\n errorColorDark: \"#bc2a20\",\r\n lightErrorColor: \"#F044381F\",\r\n cardBgColor: \"#F8F7F7\",\r\n cardLiteBgColor: \"#F9FAFB\",\r\n commonBorderColor: \"#E1E1E1\",\r\n yellowColor: \"#F3A23A\",\r\n purpleColor: \"#C16FDC\",\r\n grayColor: \"#C3C3C3\",\r\n darkGray: \"#EEEEEE\",\r\n purple: \"#6762FE\",\r\n colorOffWhite: \"#F7F6FD\",\r\n liteGray: \"#E6E6E6\",\r\n goldenColor: \"#F79233\",\r\n whiteColor: \"#FFFFFF\",\r\n blackColor: \"#000000\",\r\n greyHover: \"#F7F7F7\",\r\n commonHoverColor: \"#F5F5F5\",\r\n errorDarkColor: \"#DD372B\",\r\n disableSectionBG: \"#ffffff63\",\r\n editorIcon: \"#282828\",\r\n disableText: \"#AEAEAD\",\r\n commonHover: \"#F2F4F7b3\",\r\n lightGridHover: \"#fdfdfd\",\r\n lightBackground: \"#FAFAFA\",\r\n purpleHover: \"#5753D6\",\r\n btnHover: \"#5753D6\",\r\n inputFocus: \"#007AFF24\",\r\n lightYellowBg: \"#FAF1D6\",\r\n yellowColorTitle: \"#DDA500\",\r\n lightSuccessColor: \"#D7F0E5\",\r\n checkRadioBorder: \"#bababa\",\r\n darkSecondaryColor: \"#DBDBDB\",\r\n modalMuiBackdropColor: \"rgba(16, 24, 40, 0.35)\",\r\n};\r\n","export const commonStyles = {\r\n border: \"1px solid #E1E1E1\",\r\n borderThick: \"1.34px solid #E6E6E6\",\r\n borderRadiusLG: \"16px\",\r\n borderRadiusMD: \"8px\",\r\n borderRadius10: \"10px\",\r\n borderRadius12: \"12px\",\r\n borderRadius48: \"48px\",\r\n borderRadius20: \"20px\",\r\n borderRadiusSM: \"4px\",\r\n borderRadius6: \"6px\",\r\n};\r\n","export const fontSizes = {\r\n fontSize10px: \"10px\",\r\n smallFont: \"10.8px\",\r\n fontSize12px: \"12px\",\r\n mediumFont: \"12.6px\",\r\n fontSize13px: \"13px\",\r\n largeFont: \"14.4px\",\r\n xLargeFont: \"16.2px\",\r\n titleFont: \"19.8px\",\r\n fontSize18px: \"18px\",\r\n modelTitle: \"22.6px\",\r\n modelTitle1: \"24px\",\r\n modelTitle2: \"25.2\",\r\n fontSize28: \"28px\",\r\n fontSize26: \"26px\",\r\n font36px: \"36px\",\r\n fontSize13: \"13px\",\r\n fontSize14: \"14px\",\r\n fontSize22: \"22px\",\r\n fontSize15: \"15px\",\r\n fontSize16: \"16px\",\r\n fontSize19: \"20px\",\r\n fontSize20: \"20px\",\r\n fontSize27: \"27px\",\r\n fontSize30: \"30px\",\r\n fontSize32: \"32px\",\r\n fontSizes24: \"24px\",\r\n btnTextHeight: \"21px\",\r\n};\r\n\r\nexport const responsiveFontSizes = {\r\n mediumFont: \"13.6px\",\r\n largeFont: \"14.4px\",\r\n titleFont: {\r\n xs: \"16px\",\r\n md: \"18.8px\",\r\n lg: \"19.8px\",\r\n },\r\n};\r\n","export const fontWeight = {\r\n weight600: 600,\r\n weight500: 500,\r\n weight400: 400,\r\n weight700: 700,\r\n weight800: 800,\r\n};\r\n"],"names":["tableIcons","ArrowDownwardIcon","props","_jsx","Box","_objectSpread","sx","mx","ml","children","IcSortingRowsOutlined","SyncAltIcon","Stack","gap","storyPoint","id","icon","IcStoryPointIcon","fill","stroke","d","LOCAL_COUNTRIES","code","label","phone","suggested","updateTeamIdInLocalStorage","team_id","USER_DATA","JSON","parse","localStorage","getItem","setItem","stringify","store","dispatch","updateUserData","setCurrentTeam","removeItem","getNodePositionInsideParent","node","groupNode","_node$position","_node$width","_node$height","_groupNode$width","_groupNode$height","position","x","y","nodeWidth","width","nodeHeight","height","groupWidth","groupHeight","positionAbsolute","GlobalErrorBoundary","Component","constructor","super","this","state","hasError","error","errorInfo","getDerivedStateFromError","shouldComponentUpdate","localErrorReload","clear","window","location","href","reload","componentDidCatch","setState","render","_jsxs","alignItems","justifyContent","minHeight","xs","xl","src","s3AssetsUrl","alt","Typography","fontSize","fontWeight","color","mt","textAlign","CommonLink","variant","onClick","createVerticalTreeLayout","nodes","rootNodeId","_createHierarchyData","_createHierarchyData$","newNodeId","arguments","length","undefined","afterNodeId","beforeNodeId","rootNode","find","defaultWidth","orgChart","card","frame","Error","createHierarchyData","_currentNode$data","newNode","n","parentNodeOfNewNode","parentNode","filter","child","currentNode","_children$","data","childrenOrder","some","nd","map","includes","afterNodeIndex","findIndex","splice","beforeNodeIndex","nodeWithOrder","allNodes","calculateLayout","rootData","hierarchyData","root","hierarchy","flextree","nodeSize","_originalNode$style","_originalNode$style2","originalNode","type","style","spacing","a","b","parent","flexTree","descendants","slice","positionedNodes","treeNode","_treeNode$data","_treeNode$data$data","parentPosition","getNodeWidth","additionalXOffset","Boolean","rootNodeChildrenOrder","createTreeLayout","direction","_createHierarchyData2","_createHierarchyData3","_createHierarchyData4","_createHierarchyData5","_createHierarchyData6","_createHierarchyData7","hidden","side","_currentNode$data2","concat","_currentNode$data3","isHorizontal","sideRootData","nodeGap","nodeLevelGap","_originalNode$data","widthData","designType","leftNodes","rightNodes","topNodes","bottomNodes","createPositionedNodes","treeNodes","_node$data","_node$data2","_treeNode$data2","_treeNode$data2$data","autoLayout","manuallyPositioned","_node$data3","isFirstLevel","depth","xOffset","parentWidth","currNodeWidth","rightSideWidth","leftSideWidth","designTypeOffsets","first","second","third","four","five","six","seven","eight","additionalYOffset","_node$data4","_node$data5","_node$data6","yOffset","bottomSideHeight","topSideHeight","leftPositionedNodes","rightPositionedNodes","topPositionedNodes","bottomPositionedNodes","rootNodeLeftChildrenOrder","rootNodeRightChildrenOrder","rootNodeTopChildrenOrder","rootNodeBottomChildrenOrder","leftChildrenOrder","rightChildrenOrder","topChildrenOrder","bottomChildrenOrder","useCustomNavigation","searchParams","setSearchParams","useSearchParams","params","Object","fromEntries","entries","deleteSingleAndMultipleParams","keys","updatedParams","URLSearchParams","Array","isArray","forEach","key","delete","addParamValue","value","_updatedParams$get","existingValues","get","split","newValues","from","Set","set","join","removeParamValue","_updatedParams$get2","item","removeAllParams","useKeyboardShortcut","callback","callbackRef","useRef","useEffect","current","pressedKeys","keysRef","lowerKey","toLowerCase","handleKeyDown","useCallback","event","ctrlKey","add","shiftKey","altKey","metaKey","mainKey","allKeysPressed","every","requiredKey","has","hasCorrectModifiers","preventDefault","stopPropagation","handleKeyUp","handleBlur","addEventListener","removeEventListener","_ref","selected","isNodeSelectionStarted","setIsNodeSelectionStarted","useState","handleMouseSelectionStart","handleMouseSelectionEnd","document","_planeList$packages","_planeList$packages$p","_currentPlanDetails$s","_planeList$packages2","_planeList$packages2$","planData","currentPlanDetails","additionalSeats","additionalPlan","planeList","activeDuration","addedLicenseCount","isYearly","isCurrentPlan","isCurrentPlanIsTrial","isModifyingLicense","handleClose","useDispatch","navigate","useNavigate","setShowPlaneModel","useContext","ModelContext","monthlyPrices","packages","packageList","temp","interval_type","INVITE_USER_DATA","subscriptionData","package","yearlyPrices","isCreatingNewWorkSpace","isInvitedUserCreatingWorkspace","handleClickPlan","plan","isUpgradeNow","_INVITE_USER_DATA$ema","_INVITE_USER_DATA$ema2","_currentPlanDetails$s2","_currentPlanDetails$s3","_additionalPlan$price","_additionalPlan$price2","_monthlyPrices$filter","_monthlyPrices$filter2","_yearlyPrices$filter$","_yearlyPrices$filter$2","_monthlyPrices$filter3","_monthlyPrices$filter4","_additionalPlan$price3","additionalUser","package_id","userCount","emails","is_trial","additional_package_id","additional_package_price_id","price","addPlan","price_for_package","package_price_id","additionalUsers","additional_user_price","frequency","isAdditionalPlan","pricingData","monthly","monthPrice","package_name","yearly","yearPrice","monthlyPrice","yearlyPrice","_INVITE_USER_DATA$ema3","addTotal","Number","roundToTwoDecimalPlaces","sessionStorage","users","_INVITE_USER_DATA$ema4","pathname","handleChangePlanFromPayment","SocketContext","createContext","SocketContextProvider","useParams","userRawData","parsedUserData","accountId","setAccountId","socket","setSocket","cursorPosition","setCursorPosition","domain","URL","process","origin","_accountId$trim","trim","connectSocket","newSocket","io","path","query","token","access_token","account_id","architectureId","handleCursorMove","parsedData","emit","socketEvents","MOUSE_MOVE","roomId","user_id","MEMBER_LEAVED","user","first_name","last_name","off","CURSOR_MOVE","disconnect","Provider","getAccountId","aId","setCursorPos","pos","useSocketContext","zoom","useStore","_state$transform","transform","zoomPercentages","isWidthLessthan25","isWidthLessthan50","isWidthLessthan100","isWidthLessthan200","isWidthLessthan300","isItemToSmall","titleDark","subTitle","primaryColor","darkPrimary","Primary","lightPrimary","borderColor","boxShadow","primaryShadowColor","secondaryColor","successColor","errorColor","errorColorDark","lightErrorColor","cardBgColor","cardLiteBgColor","commonBorderColor","yellowColor","purpleColor","grayColor","darkGray","purple","colorOffWhite","liteGray","goldenColor","whiteColor","blackColor","greyHover","commonHoverColor","errorDarkColor","disableSectionBG","editorIcon","disableText","commonHover","lightGridHover","lightBackground","purpleHover","btnHover","inputFocus","lightYellowBg","yellowColorTitle","lightSuccessColor","checkRadioBorder","darkSecondaryColor","modalMuiBackdropColor","commonStyles","border","borderThick","borderRadiusLG","borderRadiusMD","borderRadius10","borderRadius12","borderRadius48","borderRadius20","borderRadiusSM","borderRadius6","fontSizes","fontSize10px","smallFont","fontSize12px","mediumFont","fontSize13px","largeFont","xLargeFont","titleFont","fontSize18px","modelTitle","modelTitle1","modelTitle2","fontSize28","fontSize26","font36px","fontSize13","fontSize14","fontSize22","fontSize15","fontSize16","fontSize19","fontSize20","fontSize27","fontSize30","fontSize32","fontSizes24","btnTextHeight","weight600","weight500","weight400","weight700","weight800"],"sourceRoot":""}