1import{N as e,r as l,e4 as Me,ax as x2,cu as Y2,ag as d3,ee as m2,ef as we,eg as Ee,eh as ke,ei as Ae,c8 as pe,a3 as N2,a4 as Y,bT as i2,bU as r2,a9 as z2,fk as F2,fM as c3,a$ as L2,c3 as x3,cH as p3,f$ as h3,g0 as m3,g1 as f3,S as k2,du as I2,Q as H,cy as Q2,g2 as u3,cW as he,g3 as me,cQ as fe,V as Ze,b7 as _2,bC as G2,d4 as C3,f_ as ue,cx as g3,ay as Ce,az as ge,aB as je,aC as Le}from"./vendor-BEWp4egH.js";import{A as f2,z as A2,g as b2,C as y2,T as be,p as j3,c as Z2,ap as L3,ar as b3,a4 as y3,M as U2,a as N3}from"./index-BWNAsnHU.js";import"./Breadcrumb-DKXm_jD1.js";import{C as ye}from"./Alert-BfwkdlQz.js";import{T as v3}from"./Transporter-DK3zOO_d.js";import{F as Fe}from"./fieldStyles-LjCKdAWH.js";import{S as Ne,W as _3,a as S3,C as M3,G as w3,E as E3,b as k3,c as A3,d as ze,H as Z3}from"./CallIcon-CvnonIO_.js";import{S as F3}from"./StyledSelect-bEoUWtao.js";import{L as ve,h as z3}from"./legConstants-Dtl-e8fs.js";import{l as _e,f as R3}from"./legTokens-kOh3MR39.js";import{C as K2}from"./CommonDrawer-LAVQe4Na.js";import{u as D3}from"./useMultimodalEnabled-BxIRzMI8.js";import{C as Se}from"./Contract-CAq7fdVN.js";import{A as $2}from"./Accordion-Z5q42f4_.js";import{i as B3}from"./negotiation_helper-CZlz4snR.js";const T3=_=>e.jsxs("svg",{width:45,height:45,viewBox:"0 0 45 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[e.jsx("path",{d:"M3.60077 21.6008C3.60077 11.6597 11.6596 3.60083 21.6008 3.60083C31.5419 3.60083 39.6008 11.6597 39.6008 21.6008C39.6008 31.542 31.5419 39.6008 21.6008 39.6008C11.6596 39.6008 3.60077 31.542 3.60077 21.6008Z",fill:"#EDEDED"}),e.jsxs("g",{clipPath:"url(#clip0_12732_27488)",children:[e.jsx("path",{d:"M24.7574 32.4556L23.4347 33.1973L23.0536 33.2345L22.5259 32.8451L23.3924 31.6675L23.9614 31.4559L24.7574 32.4556Z",fill:"#282828"}),e.jsx("path",{d:"M14.1949 26.4492L13.0272 27.1271L12.4417 27.1116L11.9634 26.8387L12.8299 25.6612L13.3989 25.4496L14.1949 26.4492Z",fill:"#282828"}),e.jsx("path",{d:"M9.1925 22.1744L17.0191 17.6261C17.0253 17.6225 17.0318 17.6195 17.0386 17.6171L9.21201 22.1654C9.20519 22.1678 9.19869 22.1709 9.1925 22.1744Z",fill:"#2B2F35"}),e.jsx("path",{d:"M9.20935 22.166L17.036 17.6177C17.0414 17.6157 17.047 17.6142 17.0528 17.613L9.2262 22.1614C9.22037 22.1625 9.21476 22.1641 9.20935 22.166Z",fill:"#2D3137"}),e.jsx("path",{d:"M9.22449 22.1613L17.0511 17.613C17.0556 17.6121 17.0602 17.6114 17.065 17.611L9.23837 22.1593C9.23369 22.1597 9.22901 22.1604 9.22449 22.1613Z",fill:"#2E3339"}),e.jsx("path",{d:"M9.24011 22.1599L17.0667 17.6115C17.0708 17.6112 17.075 17.611 17.0792 17.611L9.25259 22.1593C9.24838 22.1593 9.24422 22.1595 9.24011 22.1599Z",fill:"#30353B"}),e.jsx("path",{d:"M9.25549 22.1593L17.0821 17.611C17.0858 17.611 17.0896 17.6111 17.0934 17.6113L9.26683 22.1597C9.26303 22.1595 9.25924 22.1593 9.25549 22.1593Z",fill:"#33383D"}),e.jsx("path",{d:"M9.26831 22.1594L17.095 17.611C17.0985 17.6112 17.102 17.6116 17.1057 17.6121L9.27902 22.1604C9.27538 22.1599 9.27185 22.1596 9.26831 22.1594Z",fill:"#33393F"}),e.jsx("path",{d:"M9.27661 22.1604L17.1032 17.6121C17.1067 17.6125 17.1102 17.6131 17.1137 17.6138L9.28711 22.1621C9.28358 22.1614 9.28004 22.1609 9.27661 22.1604Z",fill:"#353A41"}),e.jsx("path",{d:"M9.28339 22.1623L17.11 17.614C17.1133 17.6146 17.1166 17.6154 17.1198 17.6162L9.29321 22.1645C9.28994 22.1637 9.28666 22.163 9.28339 22.1623Z",fill:"#373C43"}),e.jsx("path",{d:"M9.29749 22.1644L17.1241 17.6161C17.1274 17.6169 17.1307 17.6178 17.1341 17.6188L9.30742 22.1672C9.30409 22.1661 9.30076 22.1653 9.29749 22.1644Z",fill:"#393E45"}),e.jsx("path",{d:"M9.30798 22.1665L17.1346 17.6182C17.1378 17.6191 17.141 17.6202 17.1442 17.6213L9.3176 22.1696C9.31438 22.1685 9.31116 22.1674 9.30798 22.1665Z",fill:"#3A4047"}),e.jsx("path",{d:"M9.31403 22.1696L17.1406 17.6212C17.1439 17.6224 17.1471 17.6236 17.1503 17.6249L9.3237 22.1732C9.32047 22.1719 9.3172 22.1707 9.31403 22.1696Z",fill:"#3C4249"}),e.jsx("path",{d:"M9.32837 22.1736L17.155 17.6252C17.1582 17.6265 17.1614 17.6279 17.1646 17.6293L9.33794 22.1776C9.33471 22.1762 9.33154 22.1749 9.32837 22.1736Z",fill:"#3E434B"}),e.jsx("path",{d:"M9.33423 22.1786L17.1609 17.6302C17.1641 17.6317 17.1674 17.6332 17.1706 17.6348L9.34401 22.1832C9.34068 22.1815 9.33745 22.18 9.33423 22.1786Z",fill:"#40454E"}),e.jsx("path",{d:"M9.34436 22.1827L17.171 17.6344C17.1743 17.636 17.1775 17.6377 17.1808 17.6395L9.35419 22.1878C9.35086 22.1861 9.34758 22.1843 9.34436 22.1827Z",fill:"#424750"}),e.jsx("path",{d:"M9.35669 22.1877L17.1833 17.6394L17.1909 17.6436L9.36433 22.192L9.35669 22.1877Z",fill:"#424952"}),e.jsx("path",{d:"M9.36267 22.1929L17.1893 17.6445L17.2478 17.6784L9.42122 22.2267L9.36267 22.1929Z",fill:"#484E58"}),e.jsx("path",{d:"M9.41876 22.2263L17.2454 17.678L28.9478 24.345L21.1212 28.8933L9.41876 22.2263Z",fill:"#484E58"}),e.jsx("path",{d:"M34.0767 27.5813V28.4889C34.0719 28.5662 34.0478 28.6193 34.0043 28.6483L26.1778 33.1964C26.2213 33.1677 26.2454 33.1144 26.2454 33.037L26.2503 32.1294C26.2503 31.9799 26.144 31.7915 26.0089 31.7142L21.1227 28.8897L28.9492 24.3416L33.8353 27.1661C33.9705 27.2432 34.0767 27.4269 34.0767 27.5813Z",fill:"#686868"}),e.jsx("path",{d:"M26.0147 31.7153C26.1473 31.7918 26.2548 31.978 26.2544 32.1304L26.2518 33.0371C26.2514 33.193 26.1431 33.2548 26.0106 33.1783L9.36052 23.6548C9.22797 23.5783 9.12043 23.3918 9.12085 23.236L9.1234 22.3293C9.12382 22.1769 9.23208 22.1153 9.36463 22.1918L9.42318 22.2256L21.1257 28.8926L26.0147 31.7153Z",fill:"#4F4D4D"}),e.jsx("path",{d:"M12.1292 24.899C12.1195 24.8894 12.1147 24.8844 12.105 24.8748V25.7583C12.1099 25.7583 12.1195 25.7583 12.1243 25.7536C12.1292 25.7536 12.1292 25.7536 12.134 25.7536H12.1485C12.1533 25.7536 12.1533 25.7536 12.1581 25.7536C12.163 25.7487 12.1678 25.7487 12.1774 25.7487L12.1823 25.7439C12.1871 25.7439 12.1919 25.7439 12.1968 25.739C12.2016 25.739 12.2016 25.739 12.2016 25.739C12.2112 25.7343 12.2161 25.7293 12.2209 25.7293L12.2257 25.7246C12.2306 25.7246 12.2354 25.7197 12.2402 25.7149C12.2402 25.7149 12.245 25.7149 12.245 25.7102C12.2499 25.7102 12.2547 25.7052 12.2595 25.7003C12.2692 25.6956 12.274 25.6859 12.2788 25.681C12.2788 25.681 12.2788 25.681 12.2788 25.6762C12.2837 25.6715 12.2885 25.6666 12.2933 25.6618C12.2933 25.6618 12.2933 25.6618 12.2933 25.6569C12.2981 25.6522 12.303 25.6472 12.3078 25.6375V25.6328C12.3126 25.6279 12.3126 25.6231 12.3175 25.6135C12.3175 25.6135 12.3175 25.6135 12.3175 25.6085C12.3222 25.6038 12.3271 25.5941 12.3271 25.5845C12.3271 25.5845 12.3271 25.5845 12.3319 25.5796C12.3319 25.5748 12.3319 25.5652 12.3368 25.5602C12.3368 25.5555 12.3368 25.5555 12.3368 25.5508C12.3416 25.5459 12.3416 25.5362 12.3416 25.5265C12.3416 25.5218 12.3416 25.5218 12.3416 25.5218C12.3416 25.5121 12.3464 25.5024 12.3464 25.4928V25.4155C12.3464 25.4058 12.3464 25.3961 12.3416 25.3864C12.3416 25.3817 12.3416 25.3817 12.3416 25.3817C12.3416 25.3671 12.3416 25.3574 12.3368 25.348C12.3368 25.3431 12.3368 25.3381 12.3368 25.3381C12.3368 25.3287 12.3319 25.3188 12.3319 25.3094C12.3319 25.3094 12.3319 25.3044 12.3271 25.2997C12.3271 25.29 12.3222 25.2804 12.3222 25.2707C12.3222 25.2657 12.3175 25.261 12.3175 25.261C12.3175 25.2513 12.3126 25.2417 12.3126 25.232C12.3078 25.232 12.3078 25.2273 12.3078 25.2223C12.303 25.2127 12.2981 25.203 12.2981 25.1933C12.2933 25.1886 12.2933 25.1886 12.2933 25.1836C12.2885 25.174 12.2885 25.1643 12.2837 25.1596C12.2788 25.1547 12.2788 25.1499 12.2788 25.145C12.274 25.1353 12.2692 25.1257 12.2643 25.116V25.1113C12.2595 25.1016 12.2547 25.0919 12.245 25.0822C12.245 25.0773 12.245 25.0726 12.2402 25.0726C12.2354 25.0629 12.2306 25.0532 12.2257 25.0435V25.0388C12.2161 25.0291 12.2112 25.0195 12.2064 25.0098C12.2016 25.0049 12.2016 25.0001 12.2016 25.0001C12.1968 24.9905 12.1871 24.9808 12.1823 24.9758C12.1823 24.9711 12.1823 24.9711 12.1774 24.9664C12.1726 24.9566 12.1678 24.9471 12.1581 24.9374L12.1533 24.9325C12.1485 24.9228 12.1388 24.9181 12.134 24.9085C12.134 24.9038 12.1292 24.9038 12.1292 24.899Z",fill:"#929393"}),e.jsx("path",{d:"M21.6229 22.7099L29.4496 18.1615L29.4418 20.8854L21.6152 25.4338L21.6229 22.7099Z",fill:"#B94234"}),e.jsx("path",{d:"M21.6432 22.6641L29.4699 18.1157C29.4648 18.1186 29.4606 18.1228 29.4572 18.1281L21.6306 22.6764C21.6339 22.6712 21.6382 22.667 21.6432 22.6641Z",fill:"#7E2C23"}),e.jsx("path",{d:"M21.629 22.6763L29.4557 18.1279L29.4529 18.1329L21.6262 22.6813L21.629 22.6763Z",fill:"#812E24"}),e.jsx("path",{d:"M21.629 22.6814L29.4556 18.1331L29.4539 18.1372L21.6273 22.6855L21.629 22.6814Z",fill:"#853026"}),e.jsx("path",{d:"M21.627 22.6854L29.4536 18.1371L29.4524 18.1408L21.6257 22.6892L21.627 22.6854Z",fill:"#8B3227"}),e.jsx("path",{d:"M21.627 22.6896L29.4536 18.1412L29.4527 18.1448L21.626 22.6932L21.627 22.6896Z",fill:"#903329"}),e.jsx("path",{d:"M21.627 22.6925L29.4536 18.1442L29.4529 18.1475L21.6263 22.6959L21.627 22.6925Z",fill:"#95352B"}),e.jsx("path",{d:"M21.623 22.6956L29.4496 18.1472L29.4491 18.1505L21.6225 22.6988L21.623 22.6956Z",fill:"#9A362B"}
1),e.jsx("path",{d:"M21.6229 22.7007L29.4495 18.1523L29.4492 18.1556L21.6226 22.704L21.6229 22.7007Z",fill:"#9E382C"}),e.jsx("path",{d:"M21.6229 22.7037L29.4496 18.1554L29.4494 18.1585L21.6227 22.7069L21.6229 22.7037Z",fill:"#A33A2E"}),e.jsx("path",{d:"M21.623 22.7068L29.4496 18.1584L29.4494 18.1616L21.6229 22.71L21.623 22.7068Z",fill:"#A83B2F"}),e.jsx("path",{d:"M21.6475 22.6648L29.4741 18.1165L29.48 18.1138L21.6533 22.6621L21.6475 22.6648Z",fill:"#24282D"}),e.jsx("path",{d:"M21.6524 22.6614L29.479 18.1131L29.4841 18.1117L21.6574 22.6601L21.6524 22.6614Z",fill:"#26292E"}),e.jsx("path",{d:"M21.6554 22.6607L29.482 18.1123L29.4861 18.1117L21.6595 22.66L21.6554 22.6607Z",fill:"#272B30"}),e.jsx("path",{d:"M21.6599 22.6602L29.4866 18.1119L29.4902 18.1117L21.6636 22.66L21.6599 22.6602Z",fill:"#292C32"}),e.jsx("path",{d:"M21.6601 22.66L29.4867 18.1117L29.4902 18.1118L21.6635 22.6601L21.6601 22.66Z",fill:"#2A2E34"}),e.jsx("path",{d:"M21.6666 22.66L29.4932 18.1117L29.4963 18.112L21.6696 22.6603L21.6666 22.66Z",fill:"#2B2F35"}),e.jsx("path",{d:"M21.6706 22.66L29.4972 18.1117L29.5003 18.1122L21.6736 22.6605L21.6706 22.66Z",fill:"#2D3137"}),e.jsx("path",{d:"M21.6749 22.6601L29.5015 18.1117L29.5044 18.1124L21.6778 22.6607L21.6749 22.6601Z",fill:"#2E3239"}),e.jsx("path",{d:"M21.6749 22.6611L29.5015 18.1128L29.5043 18.1136L21.6777 22.6619L21.6749 22.6611Z",fill:"#30343A"}),e.jsx("path",{d:"M21.6769 22.6621L29.5036 18.1138L29.5064 18.1147L21.6797 22.663L21.6769 22.6621Z",fill:"#31353C"}),e.jsx("path",{d:"M21.681 22.6631L29.5077 18.1147L29.5105 18.1158L21.6838 22.6642L21.681 22.6631Z",fill:"#32373E"}),e.jsx("path",{d:"M21.6811 22.6641L29.5077 18.1157L29.5105 18.1169L21.6838 22.6652L21.6811 22.6641Z",fill:"#343940"}),e.jsx("path",{d:"M21.6871 22.6652L29.5138 18.1168L29.5166 18.1182L21.6899 22.6665L21.6871 22.6652Z",fill:"#353A41"}),e.jsx("path",{d:"M21.6871 22.6661L29.5138 18.1178L29.5166 18.1193L21.69 22.6676L21.6871 22.6661Z",fill:"#383C44"}),e.jsx("path",{d:"M21.6918 22.6671L29.5185 18.1188L29.5206 18.12L21.694 22.6684L21.6918 22.6671Z",fill:"#383D46"}),e.jsx("path",{d:"M28.9722 16.6563L28.9529 24.3428L21.1264 28.891L21.1457 21.2045C21.1457 20.9633 21.0119 20.682 20.8254 20.4926L28.6518 15.9443C28.8384 16.1335 28.9722 16.415 28.9722 16.6563Z",fill:"#D7D7D7"}),e.jsx("path",{d:"M17.4106 9.67515C17.5023 9.62211 17.623 9.62694 17.763 9.70921L28.4799 15.8055C28.5394 15.8405 28.5946 15.8898 28.6472 15.9431L20.8208 20.4913C20.7682 20.438 20.7129 20.3887 20.6534 20.3537L9.9365 14.2572C9.79652 14.1752 9.67094 14.1703 9.58405 14.2236L17.4106 9.67515Z",fill:"#FCF9F9"}),e.jsx("path",{d:"M20.6573 20.3575C20.9285 20.5142 21.1467 20.8955 21.1458 21.2073L21.124 28.8937L9.42157 22.2267L9.44336 14.5403C9.44424 14.2286 9.66384 14.1 9.93819 14.2583L20.6573 20.3575Z",fill:"#CCCACA"}),e.jsx("path",{d:"M21.6858 25.5525L29.5124 21.0042L32.8478 22.9298L25.0212 27.4782L21.6858 25.5525Z",fill:"#CE493A"}),e.jsx("path",{d:"M25.0225 27.4781L32.8491 22.9298L32.8559 22.9336L25.0292 27.4819L25.0225 27.4781Z",fill:"#C04335"}),e.jsx("path",{d:"M25.0267 27.4823L32.8534 22.934C32.8563 22.9355 32.8592 22.937 32.862 22.9384L25.0354 27.4868C25.0325 27.4854 25.0296 27.4839 25.0267 27.4823Z",fill:"#BB4234"}),e.jsx("path",{d:"M25.037 27.4863L32.8637 22.938C32.8666 22.9394 32.8694 22.9407 32.8722 22.942L25.0456 27.4903C25.0428 27.4891 25.0399 27.4877 25.037 27.4863Z",fill:"#B64033"}),e.jsx("path",{d:"M25.0474 27.4904L32.874 22.942C32.8768 22.9433 32.8796 22.9445 32.8824 22.9456L25.0557 27.4939C25.053 27.4928 25.0502 27.4916 25.0474 27.4904Z",fill:"#B13E32"}),e.jsx("path",{d:"M25.0536 27.4934L32.8802 22.9451C32.883 22.9462 32.8857 22.9472 32.8884 22.9482L25.0618 27.4965C25.0591 27.4955 25.0563 27.4945 25.0536 27.4934Z",fill:"#AC3C30"}),e.jsx("path",{d:"M25.0616 27.4974L32.8883 22.9491C32.8911 22.95 32.8938 22.9509 32.8966 22.9517L25.07 27.5001C25.0672 27.4993 25.0645 27.4984 25.0616 27.4974Z",fill:"#A83B2F"}),e.jsx("path",{d:"M25.0717 27.5005L32.8983 22.9521C32.9011 22.953 32.904 22.9538 32.9067 22.9544L25.0801 27.5028C25.0773 27.5021 25.0745 27.5013 25.0717 27.5005Z",fill:"#A33A2E"}),e.jsx("path",{d:"M25.0779 27.5026L32.9046 22.9542C32.9074 22.9549 32.9101 22.9555 32.9128 22.956L25.0862 27.5044C25.0835 27.5039 25.0807 27.5033 25.0779 27.5026Z",fill:"#9E382C"}),e.jsx("path",{d:"M25.0873 27.5045L32.914 22.9562C32.917 22.9567 32.92 22.9573 32.923 22.9576L25.0963 27.506C25.0934 27.5056 25.0904 27.5051 25.0873 27.5045Z",fill:"#9A362B"}),e.jsx("path",{d:"M25.0977 27.5056L32.9243 22.9573C32.9273 22.9577 32.9302 22.958 32.9331 22.9582L25.1065 27.5065C25.1036 27.5063 25.1006 27.506 25.0977 27.5056Z",fill:"#95352B"}),e.jsx("path",{d:"M25.1028 27.5066L32.9294 22.9583C32.9327 22.9585 32.936 22.9586 32.9392 22.9586L25.1126 27.5069C25.1094 27.5069 25.1061 27.5068 25.1028 27.5066Z",fill:"#903329"}),e.jsx("path",{d:"M25.117 27.5071L32.9436 22.9587C32.947 22.9587 32.9502 22.9586 32.9535 22.9583L25.1268 27.5066C25.1236 27.5068 25.1203 27.5071 25.117 27.5071Z",fill:"#8B3227"}
1),e.jsx("path",{d:"M25.1208 27.5063L32.9474 22.9579C32.9515 22.9576 32.9556 22.957 32.9595 22.9562L25.1329 27.5045C25.129 27.5053 25.125 27.5059 25.1208 27.5063Z",fill:"#853026"}),e.jsx("path",{d:"M25.1368 27.5045L32.9635 22.9562C32.9684 22.9552 32.9732 22.9538 32.9778 22.9521L25.1512 27.5005C25.1466 27.5021 25.1418 27.5035 25.1368 27.5045Z",fill:"#812E24"}),e.jsx("path",{d:"M25.1514 27.5008L32.9781 22.9525C32.9837 22.9505 32.989 22.948 32.9941 22.9451L25.1674 27.4934C25.1623 27.4963 25.157 27.4988 25.1514 27.5008Z",fill:"#7E2C23"}),e.jsx("path",{d:"M25.2056 27.2355L33.0323 22.6871L33.0347 22.6942L25.208 27.2425L25.2056 27.2355Z",fill:"#424751"}),e.jsx("path",{d:"M25.2084 27.2435L33.035 22.6952C33.0363 22.6991 33.0376 22.7029 33.0387 22.7067L25.2121 27.2551C25.2109 27.2513 25.2097 27.2474 25.2084 27.2435Z",fill:"#404650"}),e.jsx("path",{d:"M25.2108 27.2548L33.0374 22.7064C33.0386 22.7102 33.0397 22.714 33.0408 22.7178L25.2141 27.2661C25.2131 27.2624 25.212 27.2586 25.2108 27.2548Z",fill:"#40444D"}),e.jsx("path",{d:"M25.2111 27.2659L33.0378 22.7175C33.0388 22.7214 33.0399 22.7252 33.0408 22.7289L25.2142 27.2773C25.2132 27.2735 25.2122 27.2697 25.2111 27.2659Z",fill:"#3E434C"}),e.jsx("path",{d:"M25.2156 27.2781L33.0423 22.7297C33.0432 22.7335 33.0441 22.7372 33.0449 22.741L25.2182 27.2893C25.2175 27.2856 25.2166 27.2819 25.2156 27.2781Z",fill:"#3D414A"}),e.jsx("path",{d:"M25.222 27.2882L33.0487 22.7399C33.0494 22.7436 33.0502 22.7472 33.0509 22.7508L25.2243 27.2991C25.2235 27.2955 25.2228 27.2919 25.222 27.2882Z",fill:"#3B4048"}),e.jsx("path",{d:"M25.2225 27.2994L33.0491 22.7511C33.0498 22.7547 33.0504 22.7582 33.0509 22.7617L25.2243 27.31C25.2238 27.3066 25.2231 27.303 25.2225 27.2994Z",fill:"#393E47"}),e.jsx("path",{d:"M25.2227 27.3096L33.0494 22.7612C33.05 22.7647 33.0504 22.7682 33.0509 22.7716L25.2243 27.32C25.2238 27.3166 25.2233 27.3131 25.2227 27.3096Z",fill:"#383D46"}),e.jsx("path",{d:"M25.2272 27.3208L33.0539 22.7725C33.0543 22.7759 33.0547 22.7793 33.055 22.7826L25.2284 27.3309C25.228 27.3276 25.2276 27.3242 25.2272 27.3208Z",fill:"#383C44"}),e.jsx("path",{d:"M25.2276 27.3309L33.0542 22.7826C33.0545 22.7859 33.0548 22.7892 33.055 22.7925L25.2284 27.3409C25.2282 27.3376 25.2279 27.3343 25.2276 27.3309Z",fill:"#353A41"}),e.jsx("path",{d:"M25.2279 27.3411L33.0545 22.7927C33.0547 22.7961 33.0549 22.7993 33.055 22.8026L25.2284 27.3509C25.2283 27.3477 25.2281 27.3444 25.2279 27.3411Z",fill:"#343940"}),e.jsx("path",{d:"M25.2283 27.3512L33.0549 22.8029C33.055 22.8061 33.0551 22.8094 33.055 22.8126L25.2284 27.361C25.2284 27.3577 25.2284 27.3545 25.2283 27.3512Z",fill:"#32373E"}),e.jsx("path",{d:"M25.2284 27.3603L33.055 22.812C33.055 22.8152 33.0549 22.8184 33.0548 22.8215L25.2281 27.3699C25.2283 27.3667 25.2284 27.3636 25.2284 27.3603Z",fill:"#31353C"}),e.jsx("path",{d:"M25.2283 27.3696L33.055 22.8212C33.0548 22.8245 33.0546 22.8278 33.0543 22.8311L25.2277 27.3794C25.228 27.3762 25.2282 27.3729 25.2283 27.3696Z",fill:"#30343A"}),e.jsx("path",{d:"M25.2283 27.3796L33.055 22.8313C33.0547 22.8346 33.0543 22.8378 33.054 22.841L25.2274 27.3893C25.2277 27.3861 25.2281 27.3829 25.2283 27.3796Z",fill:"#2E3239"}),e.jsx("path",{d:"M25.2283 27.3888L33.055 22.8405C33.0546 22.8439 33.0541 22.8472 33.0535 22.8505L25.2269 27.3988C25.2274 27.3956 25.2279 27.3922 25.2283 27.3888Z",fill:"#2D3137"}),e.jsx("path",{d:"M25.2243 27.3989L33.0509 22.8506C33.0503 22.854 33.0496 22.8574 33.0489 22.8607L25.2223 27.4091C25.223 27.4058 25.2237 27.4024 25.2243 27.3989Z",fill:"#2B2F35"}),e.jsx("path",{d:"M25.2243 27.4091L33.0509 22.8607C33.0501 22.8644 33.0492 22.8679 33.0481 22.8714L25.2215 27.4197C25.2225 27.4163 25.2235 27.4127 25.2243 27.4091Z",fill:"#2A2E34"}),e.jsx("path",{d:"M25.2182 27.4203L33.0449 22.8719C33.0438 22.8757 33.0425 22.8794 33.0412 22.8829L25.2146 27.4313C25.2159 27.4277 25.2171 27.424 25.2182 27.4203Z",fill:"#292C32"}),e.jsx("path",{d:"M25.2141 27.4314L33.0408 22.8831C33.0392 22.8874 33.0374 22.8916 33.0355 22.8956L25.2089 27.444C25.2107 27.44 25.2125 27.4358 25.2141 27.4314Z",fill:"#272B30"}),e.jsx("path",{d:"M25.2122 27.4436L33.0388 22.8953C33.0363 22.9004 33.0336 22.9051 33.0307 22.9097L25.2041 27.458C25.207 27.4535 25.2097 27.4487 25.2122 27.4436Z",fill:"#26292E"}),e.jsx("path",{d:"M25.202 27.4579L33.0286 22.9095C33.0191 22.9243 33.0072 22.936 32.9931 22.9441L25.1664 27.4925C25.1805 27.4843 25.1925 27.4727 25.202 27.4579Z",fill:"#24282D"}),e.jsx("path",{d:"M33.7659 23.4546L33.7563 27.1192L25.9297 31.6673L25.9394 28.0028C25.9394 27.9254 25.925 27.8481 25.8959 27.7614L33.7225 23.2133C33.7514 23.3 33.7659 23.3773 33.7659 23.4546Z",fill:"#01A99B"}
1),e.jsx("path",{d:"M21.6935 22.6692L29.5201 18.1208L31.755 19.4111L23.9284 23.9595L21.6935 22.6692Z",fill:"#3D414A"}),e.jsx("path",{d:"M24.1114 24.1936L31.938 19.6453L33.0286 22.6876L25.202 27.2359L24.1114 24.1936Z",fill:"#424851"}),e.jsx("path",{d:"M23.9305 23.9592L31.7571 19.4108L31.7591 19.412L23.9325 23.9603L23.9305 23.9592Z",fill:"#383D46"}),e.jsx("path",{d:"M23.9341 23.9601L31.7607 19.4117C31.7636 19.4134 31.7664 19.4152 31.7692 19.4169L23.9426 23.9653C23.9398 23.9635 23.9369 23.9617 23.9341 23.9601Z",fill:"#393E47"}),e.jsx("path",{d:"M23.9399 23.9651L31.7666 19.4167C31.7695 19.4186 31.7724 19.4205 31.7753 19.4225L23.9487 23.9709C23.9458 23.9689 23.9428 23.967 23.9399 23.9651Z",fill:"#3B4048"}),e.jsx("path",{d:"M23.9498 23.9712L31.7765 19.4229C31.7795 19.4249 31.7825 19.427 31.7854 19.4292L23.9588 23.9775C23.9558 23.9754 23.9528 23.9733 23.9498 23.9712Z",fill:"#3D414A"}),e.jsx("path",{d:"M23.9559 23.9784L31.7825 19.4301C31.7856 19.4323 31.7886 19.4346 31.7916 19.437L23.965 23.9853C23.962 23.983 23.9589 23.9807 23.9559 23.9784Z",fill:"#3E434C"}),e.jsx("path",{d:"M23.9659 23.9844L31.7925 19.436C31.7956 19.4385 31.7987 19.441 31.8018 19.4436L23.9751 23.9919C23.9721 23.9893 23.969 23.9868 23.9659 23.9844Z",fill:"#40444D"}),e.jsx("path",{d:"M23.9739 23.9916L31.8005 19.4432C31.8036 19.4459 31.8067 19.4486 31.8099 19.4514L23.9832 23.9997C23.9801 23.9969 23.977 23.9942 23.9739 23.9916Z",fill:"#404650"}),e.jsx("path",{d:"M23.9862 24.0007L31.8128 19.4523C31.816 19.4551 31.8191 19.4579 31.822 19.4608L23.9955 24.0092C23.9924 24.0063 23.9893 24.0034 23.9862 24.0007Z",fill:"#424751"}),e.jsx("path",{d:"M23.9966 24.0088L31.8233 19.4604C31.8263 19.4633 31.8292 19.4663 31.8322 19.4693L24.0056 24.0176C24.0026 24.0147 23.9997 24.0117 23.9966 24.0088Z",fill:"#434953"}),e.jsx("path",{d:"M24.0051 24.017L31.8317 19.4686C31.8346 19.4716 31.8375 19.4746 31.8403 19.4776L24.0137 24.026C24.0108 24.0229 24.008 24.0199 24.0051 24.017Z",fill:"#454A55"}),e.jsx("path",{d:"M24.0115 24.0271L31.8382 19.4788C31.841 19.4818 31.8437 19.4848 31.8464 19.488L24.0198 24.0363C24.017 24.0332 24.0143 24.0301 24.0115 24.0271Z",fill:"#464C56"}),e.jsx("path",{d:"M24.0178 24.0363L31.8444 19.4879C31.8471 19.491 31.8499 19.4942 31.8525 19.4974L24.0259 24.0457C24.0232 24.0425 24.0205 24.0394 24.0178 24.0363Z",fill:"#5C626B"}),e.jsx("path",{d:"M24.0259 24.0464L31.8526 19.498C31.8553 19.5013 31.858 19.5047 31.8607 19.5081L24.034 24.0564C24.0313 24.053 24.0286 24.0497 24.0259 24.0464Z",fill:"#656A73"}),e.jsx("path",{d:"M24.0372 24.0556L31.8639 19.5072C31.8669 19.511 31.8699 19.5149 31.8728 19.5189L24.0462 24.0672C24.0432 24.0633 24.0402 24.0594 24.0372 24.0556Z",fill:"#6D7279"}),e.jsx("path",{d:"M24.0475 24.0667L31.8742 19.5183C31.8786 19.5242 31.8829 19.5302 31.887 19.5364L24.0604 24.0847C24.0562 24.0786 24.0519 24.0726 24.0475 24.0667Z",fill:"#72777F"}),e.jsx("path",{d:"M24.0591 24.085L31.8858 19.5366C31.8919 19.5456 31.8977 19.5549 31.9033 19.5644L24.0767 24.1127C24.0711 24.1032 24.0652 24.094 24.0591 24.085Z",fill:"#787C83"}),e.jsx("path",{d:"M24.0743 24.1124L31.901 19.5641C31.9046 19.5702 31.908 19.5765 31.9114 19.5828L24.0848 24.1311C24.0814 24.1248 24.0779 24.1186 24.0743 24.1124Z",fill:"#72777F"}),e.jsx("path",{d:"M24.0885 24.1317L31.9151 19.5834C31.9174 19.5875 31.9195 19.5917 31.9216 19.5959L24.0949 24.1442C24.0929 24.14 24.0907 24.1359 24.0885 24.1317Z",fill:"#6D7279"}),e.jsx("path",{d:"M24.0917 24.1439L31.9183 19.5956C31.9201 19.5992 31.9219 19.6029 31.9236 19.6066L24.097 24.1549C24.0953 24.1512 24.0935 24.1476 24.0917 24.1439Z",fill:"#656A73"}),e.jsx("path",{d:"M24.0963 24.155L31.9229 19.6067C31.9245 19.6101 31.9261 19.6136 31.9277 19.6171L24.101 24.1654C24.0995 24.1619 24.0979 24.1585 24.0963 24.155Z",fill:"#5C626B"}),e.jsx("path",{d:"M24.1027 24.1652L31.9294 19.6168C31.9309 19.6202 31.9324 19.6236 31.9338 19.627L24.1071 24.1754C24.1057 24.1719 24.1042 24.1685 24.1027 24.1652Z",fill:"#464C56"}),e.jsx("path",{d:"M24.107 24.1764L31.9337 19.6281C31.9351 19.6315 31.9365 19.635 31.9378 19.6384L24.1112 24.1867C24.1099 24.1833 24.1085 24.1798 24.107 24.1764Z",fill:"#454A55"}),e.jsx("path",{d:"M24.1124 24.1865L31.939 19.6382L31.9418 19.6458L24.1152 24.1941L24.1124 24.1865Z",fill:"#434953"}),e.jsx("path",{d:"M24.5479 24.0606C24.4805 23.8762 24.3482 23.7076 24.2064 23.6257L21.1453 21.8584L21.1254 28.8932L25.9312 31.6678L25.9416 28.0017C25.9418 27.9273 25.9266 27.8475 25.8959 27.7624L24.5479 24.0606ZM25.023 27.4784L2
11.6876 25.5527C21.6475 25.5295 21.6168 25.4764 21.6169 25.4337L21.6247 22.7098C21.6248 22.6673 21.6557 22.6461 21.6958 22.6692L23.9307 23.9596C24.0078 24.0041 24.0786 24.0946 24.1153 24.194L25.2059 27.2363C25.2763 27.4366 25.1771 27.5674 25.023 27.4784Z",fill:"#008277"}),e.jsx("path",{d:"M24.1129 24.1946C24.0761 24.0954 24.0053 24.0048 23.9283 23.9603L21.8248 22.746L21.8174 25.3376C21.8173 25.3803 21.8481 25.4335 21.8882 25.4567L25.2231 27.3821C25.2271 27.3404 25.223 27.2925 25.2035 27.2371L24.1129 24.1946Z",fill:"#39414D"}),e.jsx("path",{d:"M32.3746 19.5148L24.548 24.0629C24.4804 23.8748 24.3452 23.7057 24.2052 23.6234L21.1442 21.8565L28.9707 17.3083L32.0317 19.0753C32.1717 19.1574 32.307 19.3264 32.3746 19.5148Z",fill:"#01A99B"}),e.jsx("path",{d:"M24.5465 24.0607L32.3732 19.5123L33.7212 23.2142L25.8946 27.7625L24.5465 24.0607Z",fill:"#008277"}),e.jsx("path",{d:"M31.8114 20.3959L25.1358 24.2749L26.03 26.7296L32.7057 22.8505L31.8114 20.3959Z",fill:"#39414D"}),e.jsx("path",{d:"M32.7085 22.8506L26.0329 26.7297L26.1515 27.0553L33.1302 22.9998L32.7085 22.8506Z",fill:"#01A99B"}),e.jsx("path",{d:"M32.1174 20.2191L31.8143 20.3954L32.7085 22.85L33.1302 22.9993L32.1174 20.2191Z",fill:"#01A99B"}),e.jsx("path",{d:"M21.4758 30.6342C21.474 31.2753 21.9257 32.0541 22.4806 32.3745C23.0385 32.6966 23.4901 32.4393 23.4919 31.7982C23.4937 31.1606 23.0451 30.3799 22.4871 30.0578C21.9323 29.7375 21.4777 29.9966 21.4758 30.6342ZM22.4825 31.7049C22.4199 31.6688 22.3605 31.6187 22.3069 31.5597C22.1601 31.3975 22.0579 31.1678 22.0584 30.9706C22.059 30.7733 22.1622 30.6621 22.3094 30.6699C22.3631 30.6726 22.4226 30.6912 22.4852 30.7274C22.7195 30.8626 22.91 31.1926 22.9092 31.4619C22.9085 31.7309 22.7168 31.8402 22.4825 31.7049Z",fill:"#686868"}),e.jsx("path",{d:"M22.055 30.9383V31.0057C22.055 31.0057 22.055 31.0107 22.0598 31.0156V31.0444V31.0493C22.0598 31.059 22.0646 31.0686 22.0646 31.083V31.0879C22.0694 31.1023 22.0694 31.112 22.0743 31.1216V31.1264C22.0791 31.1362 22.0791 31.1507 22.084 31.1603V31.1651C22.0888 31.1797 22.0888 31.1893 22.0936 31.199C22.0936 31.199 22.0936 31.2037 22.0984 31.2037C22.0984 31.2134 22.1032 31.2278 22.1081 31.2377C22.1081 31.2424 22.1081 31.2424 22.1129 31.2424C22.1129 31.257 22.1178 31.2665 22.1226 31.2761C22.1226 31.2761 22.1226 31.2811 22.1274 31.2811C22.1322 31.2907 22.137 31.3051 22.1419 31.3198C22.1467 31.3294 22.1563 31.3391 22.1612 31.3535V31.3584C22.1757 31.3777 22.1901 31.4018 22.2046 31.4258V31.4308C22.2191 31.4501 22.2336 31.4741 22.2481 31.4935C22.2529 31.4984 22.2529 31.4984 22.2529 31.4984C22.2674 31.5175 22.2867 31.5369 22.3012 31.5562C22.3012 31.5611 22.3012 31.5611 22.306 31.5611V31.5659L22.3205 31.5805C22.3253 31.5805 22.3253 31.5852 22.3302 31.5852C22.3302 31.5899 22.335 31.5949 22.3398 31.5998C22.3446 31.5998 22.3446 31.6046 22.3495 31.6046L22.3833 31.6383C22.3881 31.6383 22.3881 31.6432 22.3929 31.6432C22.3977 31.6479 22.4026 31.6529 22.4074 31.6529C22.4074 31.6576 22.4122 31.6576 22.4122 31.6625C22.4171 31.6625 22.4219 31.6673 22.4267 31.6722C22.4315 31.6722 22.4315 31.6769 22.4364 31.6769C22.4412 31.6819 22.446 31.6819 22.4509 31.6866L22.4557 31.6916C22.4653 31.6963 22.4702 31.7012 22.4798 31.706C22.7164 31.8413 22.9047 31.73 22.9047 31.4646C22.9095 31.1942 22.7164 30.8657 22.4847 30.7307C22.475 30.726 22.4653 30.721 22.4605 30.7163C22.4557 30.7163 22.4557 30.7114 22.4509 30.7114C22.446 30.7114 22.4412 30.7066 22.4364 30.7066C22.4364 30.7017 22.4315 30.7017 22.4315 30.7017C22.4267 30.7017 22.4219 30.697 22.4171 30.697C22.4122 30.697 22.4122 30.692 22.4074 30.692C22.4026 30.692 22.3977 30.6873 22.3929 30.6873H22.3881C22.3833 30.6823 22.3784 30.6823 22.3688 30.6823C22.3591 30.6776 22.3543 30.6776 22.3495 30.6776C22.335 30.6727 22.3205 30.6727 22.306 30.6727C22.2722 30.6679 22.2384 30.6727 22.2046 30.6873C22.1901 30.692 22.1757 30.7017 22.1612 30.7113C22.1563 30.7162 22.1516 30.721 22.1419 30.7259C22.137 30.7306 22.1322 30.7356 22.1274 30.745C22.1226 30.7499 22.1178 30.7549 22.1129 30.7643H22.1081C22.1032 30.7742 22.1032 30.779 22.0984 30.7886H22.0936C22.0936 30.7983 22.0888 30.803 22.084 30.808V30.8127C22.0791 30.8224 22.0791 30.832 22.0743 30.8417C22.0694 30.8514 22.0694 30.8563 22.0694 30.8657C22.0694 30.8707 22.0646 30.8707 22.0646 30.8707C22.0646 30.8804 22.0646 30.89 22.0598 30.8997V30.9334L22.055 30.9383Z",fill:"#888888"}),e.jsx("path",{d:"M20.9174 30.3126C20.9146 31.3078 21.6121 32.5194 22.4783 33.0195C23.3445 33.5196 24.0496 33.1179 24.0525 32.1226C24.0553 31.1308 23.3548 29.9173 22.4886 29.4172C21.6223 28.917 20.9202 29.3208 20.9174 30.3126ZM22.4801 32.3749C21.9252 32.0546 21.4736 31.2758 21.4754 30.6347C21.4772 29.9971 21.9318 29.7379 22.4867 30.0582C23.0446 30.3804 23.4932 31.161 23.4914 31.7986C23.4897 32.4398 23.0381 32.6971 22.4801 32.3749Z",fill:"#3D3D3D"}),e.jsx("path",{d:"M10.359 24.3053C10.3562 25.3006 11.0568 26.5139 11.9199 27.0122C12.7861 27.5123 13.4912 27.1106 13.494 26.1153C13.4969 25.1235 12.7963 23.91 11.9301 23.4099C11.0669 22.9116 10.3618 23.3135 10.359 24.3053ZM11.9217 26.3677C11.3668 26.0473 10.9182 25.2703 10.92 24.6292C10.9219 23.9916 11.3734 23.7306 11.9283 24.051C12.4862 24.3731 12.9348 25.1538 12.933 25.7914C12.9312 26.4325 12.4797 26.6898 11.9217 26.3677Z",fill:"#3D3D3D"}),e.jsx("path",{d:"M10.9181 24.6294C10.9181 25.2716 11.3623 26.0488 11.9175 26.3676C12.4776 26.691 12.9266 26.4352 12.9314 25.793C12.9314 25.1556 12.4824 24.3733 11.9272 24.0499C11.3719 23.7314 10.9181 23.9919 10.9181 24.6294Z",fill:"#686868"}),e.jsx("path",{d:"M21.8172 25.3367L21.8245 22.7451L21.6931 22.6691C21.653 22.6461 21.6221 22.6673 21.622 22.7097L21.6143 25.4336C21.6142 25.456 21.6234 25.48
107 21.6372 25.5031L21.8323 25.3866C21.8249 25.3699 21.8172 25.3527 21.8172 25.3367Z",fill:"#01A99B"}),e.jsx("path",{d:"M21.8896 25.4547C21.8645 25.4403 21.8466 25.4136 21.834 25.3856L21.6389 25.5021C21.6514 25.5221 21.6676 25.5405 21.6866 25.5514L25.022 27.4773C25.1335 27.5416 25.214 27.4888 25.2246 27.3801L21.8896 25.4547Z",fill:"#01A99B"}),e.jsx("path",{d:"M11.5027 24.9329V25.0004C11.5027 25.0004 11.5027 25.0053 11.5075 25.0102V25.039V25.0439C11.5075 25.0536 11.5123 25.0633 11.5123 25.0776V25.0826C11.5171 25.097 11.5171 25.1066 11.522 25.1163V25.121C11.5268 25.1309 11.5268 25.1453 11.5316 25.155V25.1597C11.5365 25.1743 11.5365 25.184 11.5413 25.1936C11.5413 25.1936 11.5413 25.1984 11.5461 25.1984C11.5461 25.208 11.5509 25.2224 11.5558 25.2323C11.5558 25.2371 11.5558 25.2371 11.5606 25.2371C11.5606 25.2517 11.5654 25.2611 11.5703 25.2708C11.5703 25.2708 11.5703 25.2757 11.5751 25.2757C11.5799 25.2854 11.5847 25.2997 11.5896 25.3144C11.5944 25.3241 11.604 25.3337 11.6089 25.3481V25.353C11.6234 25.3724 11.6378 25.3964 11.6523 25.4205V25.4254C11.6668 25.4447 11.6813 25.4688 11.6958 25.4881C11.7006 25.4931 11.7006 25.4931 11.7006 25.4931C11.7151 25.5121 11.7344 25.5315 11.7489 25.5508C11.7489 25.5558 11.7489 25.5558 11.7537 25.5558V25.5605L11.7682 25.5751C11.773 25.5751 11.773 25.5798 11.7779 25.5798C11.7779 25.5846 11.7827 25.5895 11.7875 25.5945C11.7923 25.5945 11.7923 25.5992 11.7972 25.5992L11.831 25.6329C11.8358 25.6329 11.8358 25.6378 11.8406 25.6378C11.8454 25.6426 11.8503 25.6475 11.8551 25.6475C11.8551 25.6522 11.8599 25.6522 11.8599 25.6572C11.8648 25.6572 11.8696 25.6619 11.8744 25.6668C11.8792 25.6668 11.8792 25.6716 11.8841 25.6716C11.8889 25.6765 11.8937 25.6765 11.8986 25.6812L11.9034 25.6862C11.913 25.6909 11.9179 25.6959 11.9275 25.7006C12.1641 25.8359 12.3524 25.7246 12.3524 25.4592C12.3572 25.1888 12.1641 24.8604 11.9324 24.7253C11.9227 24.7206 11.913 24.7157 11.9082 24.7109C11.9034 24.7109 11.9034 24.706 11.8986 24.706C11.8937 24.706 11.8889 24.7013 11.8841 24.7013C11.8841 24.6963 11.8792 24.6963 11.8792 24.6963C11.8744 24.6963 11.8696 24.6916 11.8648 24.6916C11.8599 24.6916 11.8599 24.6866 11.8551 24.6866C11.8503 24.6866 11.8454 24.6819 11.8406 24.6819H11.8358C11.831 24.677 11.8261 24.677 11.8165 24.677C11.8068 24.6722 11.802 24.6722 11.7972 24.6722C11.7827 24.6673 11.7682 24.6673 11.7537 24.6673C11.7199 24.6626 11.6861 24.6673 11.6523 24.6819C11.6378 24.6866 11.6233 24.6963 11.6088 24.7059C11.604 24.7109 11.5992 24.7156 11.5895 24.7205C11.5847 24.7253 11.5799 24.7302 11.575 24.7396C11.5702 24.7446 11.5654 24.7495 11.5606 24.759H11.5557C11.5509 24.7689 11.5509 24.7736 11.5461 24.7833H11.5413C11.5413 24.7929 11.5364 24.7977 11.5316 24.8026V24.8073C11.5268 24.817 11.5268 24.8267 11.5219 24.8363C11.5171 24.846 11.5171 24.851 11.5171 24.8604C11.5171 24.8653 11.5123 24.8653 11.5123 24.8653C11.5123 24.875 11.5123 24.8847 11.5075 24.8943V24.928L11.5027 24.9329Z",fill:"#888888"}),e.jsx("path",{d:"M32.5717 26.6383C32.3498 26.7664 32.1716 27.0751 32.1723 27.3301C32.173 27.5887 32.3524 27.691 32.5744 27.5628C32.7963 27.4347 32.9745 27.126 32.9738 26.8673C32.973 26.6123 32.7937 26.5101 32.5717 26.6383Z",fill:"#FFA02B"}),e.jsx("path",{d:"M31.906 26.9443C31.8382 26.9834 31.7829 27.079 31.7831 27.1571L31.7854 27.954C31.7856 28.0321 31.8413 28.0637 31.9091 28.0245L33.2408 27.2556C33.3086 27.2165 33.3639 27.1208 33.3637 27.0428L33.3615 26.2458C33.3613 26.1678 33.3056 26.1362 33.2378 26.1754L31.906 26.9443ZM32.5747 27.5622C32.3527 27.6904 32.1734 27.5882 32.1726 27.3295C32.1719 27.0745 32.3501 26.7658 32.572 26.6377C32.794 26.5095 32.9734 26.6117 32.9741 26.8668C32.9748 27.1254 32.7966 27.4341 32.5747 27.5622Z",fill:"white"}),e.jsx("path",{d:"M27.3036 29.6886C27.0817 29.8167 26.9034 30.1254 26.9042 30.3804C26.9049 30.639 27.0843 30.7412 27.3062 30.6131C27.5282 30.485 27.7095 30.1746 27.7088 29.9159C27.708 29.6608 27.5256 29.5604 27.3036 29.6886Z",fill:"#FFA02B"}),e.jsx("path",{d:"M26.637 29.9952C26.5692 30.0344 26.5139 30.1299 26.5141 30.208L26.5163 31.0049C26.5165 31.083 26.5722 31.1146 26.64 31.0754L27.9718 30.3065C28.0396 30.2674 28.0949 30.1718 28.0947 30.0937L28.0925 29.2967C28.0922 29.2187 28.0366 29.1871 27.9687 29.2263L26.637 29.9952ZM27.3057 30.6131C27.0838 30.7413 26.9044 30.6391 26.9036 30.3804C26.9029 30.1254 27.0811 29.8167 27.303 29.6886C27.525 29.5604 27.7074 29.6609 27.7082 29.9159C27.709 30.1746 27.5276 30.4849 27.3057 30.6131Z",fill:"white"})]}),e.jsxs("mask",{id:"path-136-outside-1_12732_27488",maskUnits:"userSpaceOnUse",x:-.200012,y:-.199951,width:44,height:44,fill:"black",children:[e.jsx("rect",{fill:"white",x:-.200012,y:-.199951,width:44,height:44}),e.jsx("path",{d:"M41.4 21.6C41.4 32.5353 32.5352 41.4 21.6 41.4C10.6647 41.4 1.79999 32.5353 1.79999 21.6C1.79999 10.6648 10.6647 1.80005 21.6 1.80005C32.5352 1.80005 41.4 10.6648 41.4 21.6ZM3.12065 21.6C3.12065 31.8059 11.3941 40.0794 21.6 40.0794C31.8058 40.0794 40.0793 31.8059 40.0793 21.6C40.0793 11.3942 31.8058 3.12071 21.6 3.12071C11.3941 3.12071 3.12065 11.3942 3.12065 21.6Z"})]}),e.jsx("path",{d:"M41.4 21.6C41.4 32.5353 32.5352 41.4 21.6 41.4C10.6647 41.4 1.79999 32.5353 1.79999 21.6C1.79999 10.6648 10.6647 1.80005 21.6 1.80005C32.5352 1.80005 41.4 10.6648 41.4 21.6ZM3.12065 21.6C3.12065 31.8059 11.3941 40.0794 21.6 40.0794C31.8058 40.0794 40.0793 31.8059 40.0793 21.6C40.0793 11.3942 31.8058 3.12071 21.6 3.12071C11.3941 3.12071 3.12065 11.3942 3.12065 21.6Z",fill:"#01A99B"}),e.jsx("path",{d:"M41.4 21.6C41.4 32.5353 32.5352 41.4 21.6 41.4C10.6647 41.4 1.79999 32.5353 1.79999 21.6C1.79999 10.6648 10.6647 1.80005 21.6 1.80005C32.5352 1.80005 41.4 10.6648 41.4 21.6ZM3.12065 21.6C3.12065 31.8059 11.3941 40.0794 21.6 40.0794C31.8058 40.0794 40.0793 31.8059 40.0793 21.6C40.0793 11.3942 31.8058 3.12071 21.6 3.12071C11.3941 3.12071 3.12065 11.3942 3.12065 21.6Z",stroke:"white",strokeWidth:3.6,strokeLinecap:"round",mask:"url(#path-136-outside-1_12732_27488)"}),e.jsx("path",{d:"M35.1008 27.9006C39.0772 27.9006 42.301 31.1244 42.301 35.1008C42.301 39.0773 39.0772 42.301 35.1008 42.301C31.1243 42.301 27.9006 39.0773 27.9006 35.1008C27.9006 31.1244 31.1243 27.9006 35.1008 27.9006Z",fill:"white"}),e.jsx("path",{d:"M35.1008 27.9006C39.0772 27.9006 42.301 31.1244 42.301 35.1008C42.301 39.0773 39.0772 42.301 35.1008 42.301C31.1243 42.301 27.9006 39.0773 27.9006 35.1008C27.9006 31.1244 31.1243 27.9006 35.1008 27.9006Z",stroke:"white",strokeWidth:3.6}),e.jsx("path",{d:"M35.1008 27.6008C30.9683 27.6008 27.6008 30.9683 27.6008 35.1008C27.6008 39.2333 30.9683 42.6008 35.1008 42.6008C39.2333 42.6008 42.6008 39.2333 42.6008 35.1008C42.6008 30.9683 39.2333 27.6008 35.1008 27.6008ZM38.6858 33.3758L34.4333 37.6283C34.3283 37.7333 34.1858 37.7933 34.0358 37.7933C33.8858 37.7933 33.7433 37.7333 33.6383 37.6283L31.5158 35.5058C31.2983 35.2883 31.2983 34.9283 31.5158 34.7108C31.7333 34.4933 32.0933 34.4933 32.3108 34.7108L34.0358 36.4358L37.8908 32.5808C38.1083 32.3633 38.4683 32.3633 38.6858 32.5808C38.9033 32.7983 38.9033 33.1508 38.6858 33.3758Z",fill:"#0BBE6F"}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_12732_27488",children:e.jsx("rect",{width:24.96,height:23.92,fill:"white",transform:"translate(9.12079 9.64038)"})})})]}),I3=_=>e.jsxs("svg",{width:62,height:59,viewBox:"0 0 62 59",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._,children:[e.jsxs("g",{clipPath:"url(#clip0_13377_13387)",children:[e.jsx("path",{d:"M38.4899 56.1599L35.2341 57.9856L34.2961 58.0773L32.9971 57.1186L35.1301 54.2201L36.5308 53.6992L38.4899 56.1599Z",fill:"#282828"}),e.jsx("path",{d:"M12.4899 41.3747L9.61582 43.0432L8.17441 43.0052L6.99707 42.3335L9.13006 39.4349L10.5308 38.9141L12.4899 41.3747Z",fill:"#282828"}),e.jsx("path",{d:"M0.176514 30.8529L19.4421 19.657C19.4573 19.6482 19.4733 19.6408 19.4901 19.6348L0.224516 30.8307C0.207748 30.8367 0.191746 30.8441 0.176514 30.8529Z",fill:"#2B2F35"}),e.jsx("path",{d:"M0.218018 30.8323L19.4835 19.6364C19.4969 19.6317 19.5107 19.6278 19.525 19.625L0.259487 30.8209C0.245151 30.8237 0.23133 30.8276 0.218018 30.8323Z",fill:"#2D3137"}),e.jsx("path",{d:"M0.255371 30.82L19.5208 19.6241C19.532 19.622 19.5434 19.6203 19.555 19.6191L0.289546 30.815C0.278026 30.8161 0.266507 30.8177 0.255371 30.82Z",fill:"#2E3339"}),e.jsx("path",{d:"M0.293701 30.8165L19.5592 19.6205C19.5694 19.6197 19.5796 19.6191 19.59 19.6191L0.324424 30.815C0.314056 30.815 0.303813 30.8156 0.293701 30.8165Z",fill:"#30353B"}),e.jsx("path",{d:"M0.331543 30.815L19.597 19.6191C19.6063 19.6191 19.6155 19.6194 19.6249 19.62L0.359443 30.8159C0.350099 30.8154 0.340759 30.815 0.331543 30.815Z",fill:"#33383D"}),e.jsx("path",{d:"M0.363037 30.8152L19.6286 19.6191C19.6373 19.6198 19.646 19.6207 19.655 19.6218L0.389409 30.8179C0.380449 30.8166 0.371741 30.8157 0.363037 30.8152Z",fill:"#33393F"}),e.jsx("path",{d:"M0.383545 30.819L19.6491 19.623C19.6577 19.6242 19.6662 19.6256 19.6749 19.6273L0.4094 30.8232C0.400696 30.8215 0.391993 30.8201 0.383545 30.819Z",fill:"#353A41"}),e.jsx("path",{d:"M0.400391 30.8229L19.6659 19.627C19.674 19.6285 19.682 19.6303 19.6901 19.6323L0.42458 30.8282C0.416516 30.8262 0.408455 30.8244 0.400391 30.8229Z",fill:"#373C43"}),e.jsx("path",{d:"M0.435059 30.8287L19.7007 19.6328C19.7087 19.6349 19.7169 19.637 19.7251 19.6396L0.459508 30.8355C0.451316 30.8329 0.443123 30.8308 0.435059 30.8287Z",fill:"#393E45"}),e.jsx("path",{d:"M0.460693 30.8326L19.7262 19.6367C19.7341 19.639 19.742 19.6417 19.7499 19.6444L0.484376 30.8403C0.47644 30.8375 0.468501 30.8349 0.460693 30.8326Z",fill:"#3A4047"}
1),e.jsx("path",{d:"M0.475586 30.8404L19.7411 19.6445C19.749 19.6473 19.757 19.6503 19.7649 19.6535L0.499394 30.8494C0.491458 30.8462 0.483394 30.8433 0.475586 30.8404Z",fill:"#3C4249"}),e.jsx("path",{d:"M0.510986 30.8502L19.7766 19.6543C19.7844 19.6574 19.7923 19.6608 19.8001 19.6643L0.534536 30.8602C0.5266 30.8567 0.518794 30.8534 0.510986 30.8502Z",fill:"#3E434B"}),e.jsx("path",{d:"M0.525391 30.8639L19.7911 19.668C19.799 19.6716 19.807 19.6753 19.815 19.6792L0.549458 30.8751C0.541266 30.8712 0.533327 30.8675 0.525391 30.8639Z",fill:"#40454E"}),e.jsx("path",{d:"M0.550293 30.8736L19.8158 19.6777C19.8239 19.6817 19.8318 19.6858 19.84 19.6903L0.574488 30.8862C0.566296 30.8818 0.558229 30.8776 0.550293 30.8736Z",fill:"#424750"}),e.jsx("path",{d:"M0.580566 30.8854L19.8462 19.6895L19.8649 19.6998L0.59938 30.8959L0.580566 30.8854Z",fill:"#424952"}),e.jsx("path",{d:"M0.595215 30.8992L19.8607 19.7031L20.0049 19.7865L0.739345 30.9824L0.595215 30.8992Z",fill:"#484E58"}),e.jsx("path",{d:"M0.733398 30.9811L19.9989 19.7852L48.8049 36.1962L29.5394 47.3921L0.733398 30.9811Z",fill:"#484E58"}),e.jsx("path",{d:"M61.4299 44.1622V46.3964C61.418 46.5867 61.3586 46.7173 61.2518 46.7887L41.9865 57.9841C42.0935 57.9133 42.1529 57.7821 42.1529 57.5918L42.1648 55.3575C42.1648 54.9897 41.9033 54.5259 41.5706 54.3356L29.5432 47.3829L48.8084 36.1875L60.8358 43.1402C61.1686 43.33 61.4299 43.7821 61.4299 44.1622Z",fill:"#686868"}),e.jsx("path",{d:"M41.5851 54.3378C41.9114 54.5262 42.1761 54.9845 42.1751 55.3597L42.1688 57.5915C42.1678 57.9751 41.9013 58.1275 41.575 57.939L0.590199 34.4966C0.263927 34.3082 -0.000776898 33.8493 0.000247102 33.4657L0.00652152 31.2339C0.00754552 30.8587 0.274039 30.707 0.600311 30.8953L0.744441 30.9785L29.5506 47.3895L41.5851 54.3378Z",fill:"#4F4D4D"}),e.jsx("path",{d:"M7.40509 37.5598C7.38129 37.536 7.36938 37.5238 7.3457 37.5V39.675C7.35761 39.675 7.38129 39.675 7.39319 39.6633C7.40509 39.6633 7.40509 39.6633 7.417 39.6633H7.45258C7.46449 39.6633 7.46449 39.6633 7.47639 39.6633C7.48829 39.6512 7.5002 39.6512 7.52388 39.6512L7.53578 39.6395C7.54769 39.6395 7.5596 39.6395 7.57151 39.6274C7.58328 39.6274 7.58327 39.6274 7.58327 39.6274C7.60708 39.6157 7.61898 39.6036 7.63089 39.6036L7.64279 39.5919C7.6547 39.5919 7.66648 39.5797 7.67839 39.5681C7.67839 39.5681 7.69029 39.5681 7.69029 39.5564C7.7022 39.5564 7.71409 39.5443 7.72599 39.5321C7.74967 39.5205 7.76157 39.4967 7.77348 39.4845C7.77348 39.4845 7.77348 39.4845 7.77348 39.4729C7.78538 39.4612 7.7973 39.4491 7.80908 39.4374C7.80908 39.4374 7.80908 39.4374 7.80908 39.4252C7.82098 39.4136 7.83287 39.4014 7.84477 39.3776V39.366C7.85668 39.3538 7.85668 39.3422 7.86858 39.3184C7.86858 39.3184 7.86858 39.3184 7.86858 39.3062C7.88036 39.2946 7.89226 39.2708 7.89226 39.2471C7.89226 39.2471 7.89226 39.2471 7.90417 39.2349C7.90417 39.2233 7.90417 39.1995 7.91607 39.1873C7.91607 39.1756 7.91607 39.1756 7.91607 39.1641C7.92797 39.152 7.92797 39.1282 7.92797 39.1044C7.92797 39.0927 7.92797 39.0927 7.92797 39.0927C7.92797 39.0689 7.93988 39.0451 7.93988 39.0213V38.8309C7.93988 38.8071 7.93988 38.7833 7.92797 38.7595C7.92797 38.7479 7.92797 38.7479 7.92797 38.7479C7.92797 38.7119 7.92797 38.6881 7.91607 38.6649C7.91607 38.6528 7.91607 38.6406 7.91607 38.6406C7.91607 38.6174 7.90417 38.593 7.90417 38.5698C7.90417 38.5698 7.90417 38.5577 7.89226 38.546C7.89226 38.5222 7.88036 38.4984 7.88036 38.4746C7.88036 38.4624 7.86858 38.4508 7.86858 38.4508C7.86858 38.427 7.85668 38.4032 7.85668 38.3794C7.84478 38.3794 7.84477 38.3677 7.84477 38.3556C7.83287 38.3317 7.82097 38.3079 7.82097 38.2841C7.80906 38.2725 7.80908 38.2725 7.80908 38.2603C7.7973 38.2365 7.79729 38.2127 7.78538 38.2012C7.77348 38.189 7.77348 38.1774 7.77348 38.1652C7.76157 38.1414 7.74967 38.1176 7.73777 38.0938V38.0821C7.72599 38.0583 7.7141 38.0345 7.69029 38.0107C7.69029 37.9986 7.69029 37.9869 7.67839 37.9869C7.66648 37.9631 7.6547 37.9393 7.64279 37.9155V37.9038C7.61898 37.88 7.60708 37.8562 7.59517 37.8324C7.58327 37.8203 7.58327 37.8086 7.58327 37.8086C7.57149 37.7848 7.54769 37.761 7.53578 37.7488C7.53578 37.7372 7.53578 37.7372 7.52388 37.7257C7.51197 37.7013 7.5002 37.678 7.47639 37.6542L7.46449 37.6421C7.45258 37.6183 7.4289 37.6066 7.417 37.5829C7.417 37.5714 7.40509 37.5714 7.40509 37.5598Z",fill:"#929393"}),e.jsx("path",{d:"M30.7746 32.1706L50.0401 20.9746L50.021 27.6796L30.7556 38.8755L30.7746 32.1706Z",fill:"#B94234"}),e.jsx("path",{d:"M30.8244 32.0592L50.09 20.8633C50.0776 20.8704 50.0671 20.8808 50.0587 20.8937L30.7932 32.0897C30.8015 32.0767 30.812 32.0665 30.8244 32.0592Z",fill:"#7E2C23"}),e.jsx("path",{d:"M30.7893 32.0885L50.0549 20.8926L50.0481 20.9049L30.7825 32.1008L30.7893 32.0885Z",fill:"#812E24"}),e.jsx("path",{d:"M30.7894 32.1002L50.055 20.9043L50.0507 20.9144L30.7852 32.1103L30.7894 32.1002Z",fill:"#853026"}
1),e.jsx("path",{d:"M30.7846 32.11L50.0501 20.9141L50.0472 20.9233L30.7815 32.1192L30.7846 32.11Z",fill:"#8B3227"}),e.jsx("path",{d:"M30.7843 32.1217L50.0499 20.9258L50.0476 20.9346L30.782 32.1305L30.7843 32.1217Z",fill:"#903329"}),e.jsx("path",{d:"M30.7844 32.1275L50.05 20.9316L50.0483 20.94L30.7827 32.1359L30.7844 32.1275Z",fill:"#95352B"}),e.jsx("path",{d:"M30.7746 32.1354L50.0401 20.9395L50.039 20.9475L30.7734 32.1434L30.7746 32.1354Z",fill:"#9A362B"}),e.jsx("path",{d:"M30.7746 32.149L50.0401 20.9531L50.0392 20.9612L30.7737 32.1571L30.7746 32.149Z",fill:"#9E382C"}),e.jsx("path",{d:"M30.7743 32.1568L50.04 20.9609L50.0395 20.9686L30.7739 32.1645L30.7743 32.1568Z",fill:"#A33A2E"}),e.jsx("path",{d:"M30.7744 32.1627L50.04 20.9668L50.0396 20.9746L30.7742 32.1705L30.7744 32.1627Z",fill:"#A83B2F"}),e.jsx("path",{d:"M30.835 32.06L50.1006 20.8641L50.115 20.8574L30.8494 32.0533L30.835 32.06Z",fill:"#24282D"}),e.jsx("path",{d:"M30.8472 32.0509L50.1127 20.855L50.1251 20.8516L30.8596 32.0476L30.8472 32.0509Z",fill:"#26292E"}),e.jsx("path",{d:"M30.8545 32.049L50.12 20.853L50.1301 20.8516L30.8645 32.0475L30.8545 32.049Z",fill:"#272B30"}),e.jsx("path",{d:"M30.8655 32.0478L50.1311 20.8519L50.14 20.8516L30.8744 32.0475L30.8655 32.0478Z",fill:"#292C32"}),e.jsx("path",{d:"M30.866 32.0475L50.1315 20.8516L50.14 20.8518L30.8743 32.0477L30.866 32.0475Z",fill:"#2A2E34"}),e.jsx("path",{d:"M30.8818 32.0475L50.1475 20.8516L50.1549 20.8523L30.8894 32.0482L30.8818 32.0475Z",fill:"#2B2F35"}),e.jsx("path",{d:"M30.8918 32.0475L50.1574 20.8516L50.1649 20.8527L30.8993 32.0487L30.8918 32.0475Z",fill:"#2D3137"}),e.jsx("path",{d:"M30.9023 32.0476L50.168 20.8516L50.175 20.8532L30.9095 32.0491L30.9023 32.0476Z",fill:"#2E3239"}),e.jsx("path",{d:"M30.9023 32.0514L50.1679 20.8555L50.1749 20.8574L30.9094 32.0533L30.9023 32.0514Z",fill:"#30343A"}),e.jsx("path",{d:"M30.9075 32.0533L50.173 20.8574L50.1799 20.8596L30.9143 32.0556L30.9075 32.0533Z",fill:"#31353C"}),e.jsx("path",{d:"M30.9175 32.0554L50.1831 20.8594L50.1899 20.8621L30.9244 32.058L30.9175 32.0554Z",fill:"#32373E"}),e.jsx("path",{d:"M30.9177 32.0592L50.1833 20.8633L50.19 20.8661L30.9245 32.062L30.9177 32.0592Z",fill:"#343940"}),e.jsx("path",{d:"M30.9326 32.0611L50.1982 20.8652L50.2051 20.8686L30.9395 32.0645L30.9326 32.0611Z",fill:"#353A41"}),e.jsx("path",{d:"M30.9324 32.0631L50.1979 20.8672L50.2049 20.8708L30.9394 32.0667L30.9324 32.0631Z",fill:"#383C44"}),e.jsx("path",{d:"M30.9441 32.065L50.2096 20.8691L50.215 20.8722L30.9495 32.0681L30.9441 32.065Z",fill:"#383D46"}),e.jsx("path",{d:"M48.865 17.27L48.8174 36.1906L29.5521 47.3862L29.5998 28.4657C29.5998 27.8719 29.2704 27.1794 28.8113 26.7132L48.0763 15.5176C48.5357 15.9831 48.865 16.6762 48.865 17.27Z",fill:"#D7D7D7"}),e.jsx("path",{d:"M20.4057 0.0855745C20.6315 -0.0449855 20.9286 -0.0330815 21.2731 0.169414L47.6533 15.1757C47.7996 15.262 47.9357 15.3832 48.0651 15.5144L28.8 26.71C28.6706 26.5788 28.5344 26.4575 28.3881 26.3713L2.00796 11.3644C1.66338 11.1626 1.35426 11.1507 1.14038 11.2819L20.4057 0.0855745Z",fill:"#FCF9F9"}),e.jsx("path",{d:"M28.3973 26.3798C29.0651 26.7653 29.6021 27.7041 29.5999 28.4714L29.5463 47.3919L0.740234 30.9809L0.793868 12.0604C0.796044 11.2932 1.33658 10.9765 2.01191 11.3664L28.3973 26.3798Z",fill:"#CCCACA"}),e.jsx("path",{d:"M30.9292 39.1686L50.1947 27.9727L58.4049 32.7128L39.1394 43.9087L30.9292 39.1686Z",fill:"#CE493A"}),e.jsx("path",{d:"M39.1428 43.9088L58.4084 32.7129L58.425 32.7222L39.1593 43.9181L39.1428 43.9088Z",fill:"#C04335"}),e.jsx("path",{d:"M39.1531 43.9186L58.4186 32.7227C58.4258 32.7265 58.4329 32.7302 58.4399 32.7337L39.1743 43.9296C39.1672 43.9261 39.1602 43.9224 39.1531 43.9186Z",fill:"#BB4234"}),e.jsx("path",{d:"M39.1785 43.9283L58.4441 32.7324C58.4512 32.7359 58.4581 32.7392 58.465 32.7423L39.1995 43.9382C39.1925 43.9351 39.1855 43.9318 39.1785 43.9283Z",fill:"#B64033"}),e.jsx("path",{d:"M39.2039 43.9381L58.4694 32.7422C58.4763 32.7453 58.4832 32.7482 58.49 32.7509L39.2245 43.9468C39.2177 43.9441 39.2108 43.9412 39.2039 43.9381Z",fill:"#B13E32"}),e.jsx("path",{d:"M39.2192 43.9459L58.4848 32.75C58.4916 32.7527 58.4983 32.7552 58.505 32.7577L39.2395 43.9536C39.2328 43.9512 39.226 43.9486 39.2192 43.9459Z",fill:"#AC3C30"}),e.jsx("path",{d:"M39.239 43.9557L58.5045 32.7598C58.5115 32.7621 58.5182 32.7642 58.525 32.7663L39.2595 43.9622C39.2527 43.9603 39.2459 43.9581 39.239 43.9557Z",fill:"#A83B2F"}),e.jsx("path",{d:"M39.2639 43.9635L58.5295 32.7676C58.5364 32.7696 58.5433 32.7715 58.5501 32.7732L39.2845 43.9691C39.2777 43.9674 39.2708 43.9655 39.2639 43.9635Z",fill:"#A33A2E"}),e.jsx("path",{d:"M39.2791 43.9693L58.5447 32.7734C58.5515 32.7751 58.5583 32.7766 58.5649 32.7779L39.2994 43.9738C39.2926 43.9725 39.286 43.9711 39.2791 43.9693Z",fill:"#9E382C"}),e.jsx("path",{d:"M39.3022 43.9732L58.5678 32.7773C58.5752 32.7788 58.5826 32.78 58.5899 32.7809L39.3244 43.9768C39.3171 43.9759 39.3097 43.9748 39.3022 43.9732Z",fill:"#9A362B"}),e.jsx("path",{d:"M39.3279 43.9752L58.5934 32.7793C58.6007 32.7803 58.6079 32.781 58.615 32.7815L39.3495 43.9774C39.3423 43.9769 39.335 43.9761 39.3279 43.9752Z",fill:"#95352B"}),e.jsx("path",{d:"M39.3403 43.9791L58.6059 32.7832C58.6141 32.7837 58.6221 32.784 58.6301 32.784L39.3645 43.9799C39.3566 43.9799 39.3485 43.9796 39.3403 43.9791Z",fill:"#903329"}),e.jsx("path",{d:"M39.3752 43.9803L58.6408 32.7844C58.649 32.7844 58.657 32.784 58.665 32.7832L39.3994 43.9791C39.3915 43.9797 39.3834 43.9803 39.3752 43.9803Z",fill:"#8B3227"}),e.jsx("path",{d:"M39.3848 43.9776L58.6502 32.7817C58.6603 32.7808 58.6703 32.7794 58.68 32.7773L39.4145 43.9732C39.4049 43.9753 39.3949 43.9767 39.3848 43.9776Z",fill:"#853026"}),e.jsx("path",{d:"M39.4241 43.9733L58.6896 32.7774C58.7018 32.775 58.7135 32.7717 58.7249 32.7676L39.4594 43.9635C39.448 43.9676 39.4362 43.9709 39.4241 43.9733Z",fill:"#812E24"}),e.jsx("path",{d:"M39.4602 43.9642L58.7257 32.7683C58.7396 32.7633 58.7526 32.7572 58.7652 32.75L39.4996 43.9459C39.4871 43.9531 39.4739 43.9592 39.4602 43.9642Z",fill:"#7E2C23"}),e.jsx("path",{d:"M39.5935 43.3111L58.859 32.1152L58.8651 32.1326L39.5994 43.3285L39.5935 43.3111Z",fill:"#424751"}),e.jsx("path",{d:"M39.6003 43.3307L58.866 32.1348C58.8692 32.1444 58.8723 32.1537 58.8751 32.1632L39.6096 43.3591C39.6066 43.3497 39.6035 43.3403 39.6003 43.3307Z",fill:"#404650"}),e.jsx("path",{d:"M39.6062 43.358L58.8717 32.1621C58.8745 32.1715 58.8774 32.1808 58.8799 32.1901L39.6144 43.386C39.6117 43.3768 39.609 43.3675 39.6062 43.358Z",fill:"#40444D"}),e.jsx("path",{d:"M39.6069 43.3854L58.8726 32.1895C58.8752 32.1989 58.8777 32.2083 58.88 32.2175L39.6145 43.4134C39.6121 43.4042 39.6096 43.3948 39.6069 43.3854Z",fill:"#3E434C"}),e.jsx("path",{d:"M39.6179 43.4166L58.8835 32.2207C58.8858 32.23 58.8879 32.2391 58.8899 32.2484L39.6243 43.4443C39.6224 43.4352 39.6202 43.426 39.6179 43.4166Z",fill:"#3D414A"}),e.jsx("path",{d:"M39.6338 43.44L58.8995 32.2441C58.9014 32.2532 58.9033 32.2622 58.905 32.271L39.6394 43.4669C39.6376 43.4581 39.6358 43.4491 39.6338 43.44Z",fill:"#3B4048"}),e.jsx("path",{d:"M39.635 43.4693L58.9005 32.2734C58.9022 32.2823 58.9037 32.291 58.905 32.2995L39.6395 43.4955C39.6382 43.48
169 39.6367 43.4782 39.635 43.4693Z",fill:"#393E47"}),e.jsx("path",{d:"M39.6355 43.4929L58.9012 32.2969C58.9026 32.3055 58.9037 32.314 58.9049 32.3225L39.6393 43.5184C39.6382 43.5101 39.6369 43.5015 39.6355 43.4929Z",fill:"#383D46"}),e.jsx("path",{d:"M39.6465 43.5201L58.912 32.3242C58.913 32.3327 58.9141 32.341 58.9148 32.3492L39.6493 43.5451C39.6484 43.5369 39.6475 43.5286 39.6465 43.5201Z",fill:"#383C44"}),e.jsx("path",{d:"M39.6475 43.5455L58.913 32.3496C58.9138 32.3578 58.9144 32.366 58.9149 32.3741L39.6494 43.57C39.6489 43.5619 39.6482 43.5538 39.6475 43.5455Z",fill:"#353A41"}),e.jsx("path",{d:"M39.6482 43.5709L58.9137 32.375C58.9142 32.3832 58.9146 32.3913 58.9149 32.3992L39.6493 43.5951C39.6491 43.5872 39.6487 43.5791 39.6482 43.5709Z",fill:"#343940"}),e.jsx("path",{d:"M39.6492 43.5963L58.9147 32.4004C58.915 32.4085 58.9151 32.4165 58.915 32.4245L39.6494 43.6204C39.6494 43.6124 39.6494 43.6045 39.6492 43.5963Z",fill:"#32373E"}),e.jsx("path",{d:"M39.6494 43.6178L58.915 32.4219C58.915 32.4298 58.9147 32.4376 58.9145 32.4453L39.6489 43.6412C39.6492 43.6335 39.6494 43.6257 39.6494 43.6178Z",fill:"#31353C"}),e.jsx("path",{d:"M39.6495 43.6413L58.915 32.4453C58.9146 32.4535 58.9141 32.4617 58.9135 32.4698L39.6479 43.6657C39.6486 43.6577 39.6491 43.6495 39.6495 43.6413Z",fill:"#30343A"}),e.jsx("path",{d:"M39.6494 43.6666L58.9149 32.4707C58.9143 32.4788 58.9134 32.4867 58.9125 32.4945L39.647 43.6904C39.6479 43.6826 39.6488 43.6747 39.6494 43.6666Z",fill:"#2E3239"}),e.jsx("path",{d:"M39.6493 43.6881L58.915 32.4922C58.914 32.5006 58.9127 32.5088 58.9113 32.5169L39.6458 43.7128C39.647 43.7047 39.6483 43.6965 39.6493 43.6881Z",fill:"#2D3137"}),e.jsx("path",{d:"M39.6394 43.7135L58.9051 32.5176C58.9035 32.526 58.9018 32.5345 58.9001 32.5425L39.6345 43.7384C39.6363 43.7304 39.638 43.7221 39.6394 43.7135Z",fill:"#2B2F35"}),e.jsx("path",{d:"M39.6395 43.739L58.905 32.543C58.903 32.5519 58.9007 32.5608 58.8981 32.5692L39.6326 43.7651C39.6351 43.7567 39.6374 43.748 39.6395 43.739Z",fill:"#2A2E34"}),e.jsx("path",{d:"M39.6244 43.7662L58.89 32.5703C58.8873 32.5795 58.8842 32.5886 58.881 32.5973L39.6155 43.7932C39.6187 43.7845 39.6216 43.7754 39.6244 43.7662Z",fill:"#292C32"}),e.jsx("path",{d:"M39.6142 43.7937L58.8799 32.5977C58.8759 32.6084 58.8716 32.6186 58.8669 32.6286L39.6013 43.8245C39.6059 43.8147 39.6103 43.8043 39.6142 43.7937Z",fill:"#272B30"}),e.jsx("path",{d:"M39.6094 43.8229L58.875 32.627C58.869 32.6395 58.8623 32.6513 58.8551 32.6624L39.5896 43.8583C39.5968 43.8472 39.6034 43.8354 39.6094 43.8229Z",fill:"#26292E"}),e.jsx("path",{d:"M39.5845 43.858L58.8502 32.6621C58.8267 32.6983 58.7973 32.7271 58.7626 32.7472L39.4971 43.9431C39.5316 43.923 39.5612 43.8944 39.5845 43.858Z",fill:"#24282D"}),e.jsx("path",{d:"M60.665 34.0043L60.6412 43.0247L41.3759 54.2201L41.3997 45.1997C41.3997 45.0094 41.3641 44.8191 41.2927 44.6055L60.558 33.4102C60.6293 33.6237 60.665 33.814 60.665 34.0043Z",fill:"#01A99B"}),e.jsx("path",{d:"M30.948 32.0709L50.2135 20.875L55.7148 24.0511L36.4493 35.2471L30.948 32.0709Z",fill:"#3D414A"}),e.jsx("path",{d:"M36.8999 35.8229L56.1654 24.627L58.85 32.1157L39.5844 43.3116L36.8999 35.8229Z",fill:"#424851"}),e.jsx("path",{d:"M36.4546 35.2468L55.7201 24.0508L55.725 24.0537L36.4595 35.2496L36.4546 35.2468Z",fill:"#383D46"}),e.jsx("path",{d:"M36.4634 35.2486L55.7289 24.0527C55.736 24.0568 55.743 24.0612 55.7499 24.0655L36.4844 35.2614C36.4775 35.2571 36.4704 35.2527 36.4634 35.2486Z",fill:"#393E47"}),e.jsx("path",{d:"M36.4778 35.2604L55.7434 24.0645C55.7506 24.0691 55.7578 24.0738 55.7649 24.0787L36.4994 35.2746C36.4922 35.2697 36.4851 35.265 36.4778 35.2604Z",fill:"#3B4048"}),e.jsx("path",{d:"M36.5022 35.2761L55.7679 24.0801C55.7752 24.0851 55.7826 24.0903 55.7899 24.0957L36.5243 35.2916C36.5169 35.2863 36.5096 35.2811 36.5022 35.2761Z",fill:"#3D414A"}),e.jsx("path",{d:"M36.5171 35.2936L55.7826 24.0977C55.7902 24.1032 55.7976 24.1089 55.805 24.1147L36.5395 35.3106C36.5321 35.3048 36.5246 35.2992 36.5171 35.2936Z",fill:"#3E434C"}),e.jsx("path",{d:"M36.5417 35.3092L55.8073 24.1133C55.815 24.1193 55.8225 24.1256 55.8301 24.1318L36.5645 35.3277C36.557 35.3213 36.5494 35.3152 36.5417 35.3092Z",fill:"#40444D"}),e.jsx("path",{d:"M36.5615 35.3268L55.8271 24.1309C55.8347 24.1374 55.8424 24.144 55.8501 24.151L36.5846 35.3469C36.5769 35.3399 36.5692 35.3333 36.5615 35.3268Z",fill:"#404650"}),e.jsx("path",{d:"M36.5918 35.3484L55.8573 24.1523C55.865 24.1593 55.8727 24.1663 55.88 24.1735L36.6146 35.3694C36.607 35.3622 36.5995 35.3552 36.5918 35.3484Z",fill:"#424751"}),e.jsx("path",{d:"M36.6174 35.3679L55.883 24.1719C55.8904 24.1789 55.8977 24.1862 55.905 24.1936L36.6394 35.3895C36.6321 35.3822 36.6249 35.3749 36.6174 35.3679Z",fill:"#434953"}),e.jsx("path",{d:"M36.6382 35.3893L55.9038 24.1934C55.9109 24.2007 55.9181 24.2081 55.925 24.2155L36.6594 35.4114C36.6524 35.404 36.6454 35.3966 36.6382 35.3893Z",fill:"#454A55"}),e.jsx("path",{d:"M36.6541 35.4128L55.9196 24.2168C55.9265 24.2242 55.9333 24.2318 55.9399 24.2395L36.6744 35.4354C36.6676 35.4277 36.6608 35.4201 36.6541 35.4128Z",fill:"#464C56"}),e.jsx("path",{d:"M36.6697 35.4361L55.9352 24.2402C55.9419 24.2479 55.9485 24.2556 55.9551 24.2635L36.6895 35.4594C36.683 35.4515 36.6763 35.4438 36.6697 35.4361Z",fill:"#5C626B"}),e.jsx("path",{d:"M36.6895 35.4617L55.9551 24.2656C55.9619 24.2737 55.9686 24.282 55.9751 24.2903L36.7095 35.4862C36.7029 35.4779 36.6962 35.4697 3
16.6895 35.4617Z",fill:"#656A73"}),e.jsx("path",{d:"M36.7175 35.4831L55.9832 24.2871C55.9906 24.2965 55.9979 24.3061 56.0051 24.3158L36.7395 35.5117C36.7322 35.5021 36.725 35.4925 36.7175 35.4831Z",fill:"#6D7279"}),e.jsx("path",{d:"M36.7427 35.5105L56.0083 24.3145C56.0191 24.3289 56.0296 24.3438 56.0398 24.359L36.7743 35.5549C36.7641 35.5398 36.7534 35.5249 36.7427 35.5105Z",fill:"#72777F"}),e.jsx("path",{d:"M36.7712 35.5554L56.0369 24.3594C56.0519 24.3815 56.0662 24.4044 56.0799 24.4277L36.8144 35.6235C36.8006 35.6002 36.7862 35.5775 36.7712 35.5554Z",fill:"#787C83"}),e.jsx("path",{d:"M36.8086 35.6236L56.0741 24.4277C56.083 24.4428 56.0915 24.4582 56.0999 24.4737L36.8343 35.6696C36.826 35.6541 36.8174 35.6387 36.8086 35.6236Z",fill:"#72777F"}),e.jsx("path",{d:"M36.8438 35.6705L56.1093 24.4746C56.1148 24.4848 56.12 24.4951 56.1252 24.5055L36.8596 35.7014C36.8545 35.691 36.8491 35.6808 36.8438 35.6705Z",fill:"#6D7279"}),e.jsx("path",{d:"M36.8516 35.7018L56.1171 24.5059C56.1216 24.5148 56.1259 24.5239 56.1302 24.533L36.8646 35.7289C36.8604 35.7198 36.856 35.7108 36.8516 35.7018Z",fill:"#656A73"}),e.jsx("path",{d:"M36.8628 35.7291L56.1283 24.5332C56.1323 24.5417 56.1361 24.5502 56.14 24.5588L36.8744 35.7547C36.8706 35.7461 36.8668 35.7376 36.8628 35.7291Z",fill:"#5C626B"}),e.jsx("path",{d:"M36.8787 35.7525L56.1443 24.5566C56.148 24.565 56.1516 24.5733 56.1551 24.5817L36.8895 35.7776C36.886 35.7692 36.8824 35.7609 36.8787 35.7525Z",fill:"#464C56"}),e.jsx("path",{d:"M36.8892 35.7799L56.1548 24.584C56.1584 24.5924 56.1617 24.601 56.1651 24.6095L36.8995 35.8054C36.8962 35.7968 36.8927 35.7883 36.8892 35.7799Z",fill:"#454A55"}),e.jsx("path",{d:"M36.9023 35.8053L56.1679 24.6094L56.1749 24.6281L36.9094 35.824L36.9023 35.8053Z",fill:"#434953"}),e.jsx("path",{d:"M37.9745 35.495C37.8086 35.041 37.483 34.626 37.1339 34.4246L29.599 30.0742L29.5498 47.3906L41.3796 54.2205L41.4052 45.1961C41.4057 45.0131 41.3683 44.8166 41.2928 44.6072L37.9745 35.495ZM39.1439 43.9081L30.9337 39.1679C30.8351 39.1109 30.7594 38.9801 30.7598 38.875L30.7789 32.17C30.7791 32.0654 30.8553 32.0132 30.954 32.0701L36.4553 35.2463C36.645 35.3559 36.8192 35.5786 36.9097 35.8233L39.5942 43.3121C39.7675 43.8052 39.5233 44.1272 39.1439 43.9081Z",fill:"#008277"}),e.jsx("path",{d:"M36.9037 35.8257C36.8132 35.5814 36.639 35.3585 36.4493 35.2489L31.2716 32.2598L31.2534 38.6392C31.2532 38.7442 31.3288 38.8753 31.4275 38.9323L39.6365 43.6717C39.6465 43.5691 39.6363 43.4512 39.5883 43.3149L36.9037 35.8257Z",fill:"#39414D"}),e.jsx("path",{d:"M57.24 24.3062L37.9747 35.5016C37.8083 35.0385 37.4755 34.6223 37.1308 34.4198L29.5959 30.0704L48.8612 18.875L56.3959 23.2244C56.7406 23.4264 57.0736 23.8424 57.24 24.3062Z",fill:"#01A99B"}),e.jsx("path",{d:"M37.9709 35.4967L57.2366 24.3008L60.5549 33.413L41.2893 44.6089L37.9709 35.4967Z",fill:"#008277"}),e.jsx("path",{d:"M55.8539 26.4746L39.4216 36.023L41.6228 42.0653L58.0551 32.5167L55.8539 26.4746Z",fill:"#39414D"}),e.jsx("path",{d:"M58.0621 32.5176L41.6299 42.0661L41.9217 42.8675L59.1001 32.8849L58.0621 32.5176Z",fill:"#01A99B"}),e.jsx("path",{d:"M56.607 26.041L55.8608 26.4749L58.0621 32.517L59.1 32.8845L56.607 26.041Z",fill:"#01A99B"}),e.jsx("path",{d:"M30.4124 51.677C30.4079 53.2552 31.5197 55.1721 32.8856 55.9607C34.259 56.7537 35.3704 56.1203 35.3749 54.5422C35.3794 52.9727 34.2752 51.051 32.9017 50.2582C31.536 49.4696 30.4168 50.1075 30.4124 51.677ZM32.8903 54.3126C32.7362 54.2236 32.5899 54.1003 32.4581 53.9551C32.0967 53.556 31.8452 52.9905 31.8465 52.5051C31.8479 52.0193 32.1018 51.7457 32.4642 51.7649C32.5964 51.7715 32.7429 51.8172 32.897 51.9063C33.4736 52.2392 33.9426 53.0515 33.9407 53.7143C33.939 54.3764 33.467 54.6455 32.8903 54.3126Z",fill:"#686868"}),e.jsx("path",{d:"M31.8381 52.4258V52.5918C31.8381 52.5918 31.8381 52.6039 31.85 52.6161V52.6869V52.699C31.85 52.7228 31.8618 52.7467 31.8618 52.782V52.7941C31.8737 52.8296 31.8737 52.8533 31.8856 52.8771V52.8887C31.8975 52.9131 31.8975 52.9485 31.9094 52.9723V52.984C31.9213 53.0199 31.9213 53.0437 31.9332 53.0675C31.9332 53.0675 31.9332 53.0792 31.945 53.0792C31.945 53.103 31.9569 53.1383 31.9688 53.1628C31.9688 53.1744 31.9688 53.1744 31.9807 53.1744C31.9807 53.2104 31.9926 53.2336 32.0045 53.2574C32.0045 53.2574 32.0045 53.2695 32.0163 53.2695C32.0282 53.2933 32.0401 53.3287 32.052 53.3648
1C32.0639 53.3886 32.0876 53.4124 32.0995 53.4477V53.4599C32.1352 53.5075 32.1708 53.5666 32.2065 53.6259V53.638C32.2421 53.6857 32.2778 53.7448 32.3134 53.7924C32.3253 53.8046 32.3253 53.8046 32.3253 53.8046C32.361 53.8515 32.4085 53.8992 32.4442 53.9468C32.4442 53.9589 32.4442 53.9589 32.456 53.9589V53.9706L32.4917 54.0066C32.5036 54.0066 32.5036 54.0182 32.5155 54.0182C32.5155 54.0298 32.5274 54.042 32.5392 54.0542C32.5511 54.0542 32.5511 54.0658 32.563 54.0658L32.6462 54.1488C32.6581 54.1488 32.6581 54.1609 32.67 54.1609C32.6818 54.1726 32.6937 54.1847 32.7056 54.1847C32.7056 54.1964 32.7175 54.1964 32.7175 54.2085C32.7294 54.2085 32.7413 54.2202 32.7531 54.2323C32.765 54.2323 32.765 54.244 32.7769 54.244C32.7888 54.2562 32.8007 54.2562 32.8126 54.2678L32.8245 54.28C32.8482 54.2916 32.8601 54.3038 32.8839 54.3154C33.4663 54.6485 33.9298 54.3746 33.9298 53.7212C33.9416 53.0556 33.4663 52.2472 32.8958 51.9148C32.872 51.9031 32.8482 51.891 32.8363 51.8793C32.8245 51.8793 32.8245 51.8672 32.8126 51.8672C32.8007 51.8672 32.7888 51.8555 32.7769 51.8555C32.7769 51.8434 32.765 51.8434 32.765 51.8434C32.7531 51.8434 32.7413 51.8317 32.7294 51.8317C32.7175 51.8317 32.7175 51.8195 32.7056 51.8195C32.6937 51.8195 32.6818 51.8079 32.67 51.8079H32.6581C32.6462 51.7957 32.6343 51.7957 32.6105 51.7957C32.5868 51.7841 32.5749 51.7841 32.563 51.7841C32.5274 51.7719 32.4917 51.7719 32.456 51.7719C32.3729 51.7603 32.2897 51.7719 32.2065 51.8079C32.1708 51.8195 32.1352 51.8434 32.0995 51.867C32.0876 51.8792 32.0758 51.8908 32.052 51.903C32.0401 51.9146 32.0282 51.9268 32.0163 51.95C32.0045 51.9621 31.9926 51.9743 31.9807 51.9976H31.9688C31.9569 52.0219 31.9569 52.0336 31.945 52.0574H31.9332C31.9332 52.0812 31.9213 52.0928 31.9094 52.105V52.1166C31.8975 52.1404 31.8975 52.1643 31.8856 52.1881C31.8737 52.2119 31.8737 52.224 31.8737 52.2472C31.8737 52.2594 31.8618 52.2594 31.8618 52.2594C31.8618 52.2832 31.8618 52.307 31.85 52.3308V52.4137L31.8381 52.4258Z",fill:"#888888"}),e.jsx("path",{d:"M29.0379 50.8851C29.031 53.335 30.7478 56.3173 32.88 57.5482C35.0123 58.7793 36.7479 57.7904 36.755 55.3405C36.7619 52.8991 35.0375 49.912 32.9053 48.681C30.773 47.4499 29.0448 48.4437 29.0379 50.8851ZM32.8845 55.9617C31.5186 55.1731 30.4068 53.2561 30.4113 51.678C30.4158 50.1085 31.5349 49.4705 32.9006 50.259C34.2741 51.052 35.3783 52.9735 35.3739 54.5431C35.3695 56.1213 34.258 56.7546 32.8845 55.9617Z",fill:"#3D3D3D"}),e.jsx("path",{d:"M3.04787 36.098C3.04096 38.5479 4.76538 41.5346 6.89005 42.7612C9.02227 43.9922 10.758 43.0034 10.7649 40.5534C10.7718 38.1121 9.04736 35.125 6.91514 33.894C4.79046 32.6672 3.05478 33.6566 3.04787 36.098ZM6.89453 41.1746C5.52864 40.386 4.42438 38.4734 4.42886 36.8953C4.43334 35.3258 5.54477 34.6834 6.91066 35.472C8.2841 36.2649 9.38822 38.1865 9.38387 39.756C9.37939 41.3341 8.26797 41.9675 6.89453 41.1746Z",fill:"#3D3D3D"}),e.jsx("path",{d:"M4.42407 36.8958C4.42407 38.4766 5.51745 40.3898 6.88423 41.1745C8.26279 41.9706 9.36807 41.341 9.37996 39.7602C9.37996 38.191 8.2747 36.2655 6.90804 35.4694C5.54126 34.6854 4.42407 35.3267 4.42407 36.8958Z",fill:"#686868"}),e.jsx("path",{d:"M31.2526 38.6365L31.2708 32.2571L30.9472 32.0702C30.8485 32.0134 30.7724 32.0656 30.7721 32.1701L30.7532 38.8749C30.753 38.9301 30.7756 38.991 30.8098 39.0461L31.29 38.7594C31.2716 38.7183 31.2526 38.6759 31.2526 38.6365Z",fill:"#01A99B"}),e.jsx("path",{d:"M31.4307 38.9278C31.369 38.8923 31.3248 38.8268 31.294 38.7578L30.8137 39.0445C30.8444 39.0938 30.8844 39.1391 30.9311 39.1659L39.1414 43.9065C39.4158 44.0649 39.6138 43.9349 39.64 43.6674L31.4307 38.9278Z",fill:"#01A99B"}),e.jsx("path",{d:"M5.86304 37.6426V37.8086C5.86304 37.8086 5.86304 37.8207 5.87494 37.8329V37.9037V37.9158C5.87494 37.9396 5.88672 37.9634 5.88672 37.9988V38.0109C5.89862 38.0464 5.89862 38.0701 5.91052 38.0939V38.1055C5.92243 38.1298 5.92243 38.1653 5.93433 38.1891V38.2008C5.94624 38.2367 5.94624 38.2605 5.95814 38.2843C5.95814 38.2843 5.95814 38.296 5.96992 38.296C5.96992 38.3198 5.98182 38.3551 5.99372 38.3796C5.99372 38.3912 5.99372 38.3912 6.00563 38.3912C6.00563 38.4272 6.01753 38.4504 6.02944 38.4742C6.02944 38.4742 6.02944 38.4863 6.04121 38.4863C6.05312 38.5101 6.06502 38.5455 6.07693 38.5816C6.08883 38.6054 6.11251 38.6292 6.12441 38.6645V38.6767C6.16012 38.7243 6.19571 38.7834 6.23142 38.8427V38.8548C6.267 38.9025 6.30272 38.9616 6.3383 39.0092C6.3502 39.0214 6.35021 39.0214 6.35021 39.0214C6.38592 39.0683 6.4334 39.116 6.46912 39.1636C6.46912 39.1757 6.46912 39.1757 6.48089 39.1757V39.1874L6.5166 39.2234C6.52851 39.2234 6.52851 39.235 6.54041 39.235C6.54041 39.2466 6.55232 39.2588 6.56409 39.271C6.576 39.271 6.576 39.2826 6.5879 39.2826L6.6711 39.3656C6.683 39.3656 6.683 39.3777 6.69491 39.3777C6.70668 39.3894 6.71859 39.4015 6.73049 39.4015C6.73049 39.4132 6.7424 39.4132 6.7424 39.4253C6.7543 39.4253 6.7662 39.437 6.77798 39.4491C6.78988 39.4491 6.78988 39.4608 6.80179 39.4608C6.81369 39.473 6.8256 39.473 6.8375 39.4846L6.8494 39.4968C6.87308 39.5084 6.88499 39.5206 6.9088 39.5322C7.4912 39.8653 7.95468 39.5914 7.95468 38.938C7.96646 38.2724 7.4912 37.464 6.9207 37.
11316C6.89689 37.1199 6.87308 37.1078 6.86118 37.0961C6.8494 37.0961 6.8494 37.084 6.8375 37.084C6.8256 37.084 6.81369 37.0723 6.80179 37.0723C6.80179 37.0602 6.78988 37.0602 6.78988 37.0602C6.77798 37.0602 6.7662 37.0485 6.7543 37.0485C6.7424 37.0485 6.7424 37.0363 6.73049 37.0363C6.71859 37.0363 6.70668 37.0247 6.69491 37.0247H6.683C6.6711 37.0125 6.6592 37.0125 6.63539 37.0125C6.61171 37.0009 6.5998 37.0009 6.5879 37.0009C6.55232 36.9887 6.5166 36.9887 6.48089 36.9887C6.39782 36.9771 6.31462 36.9887 6.23129 37.0247C6.19558 37.0363 6.16 37.0602 6.12428 37.0838C6.11238 37.096 6.1006 37.1076 6.0768 37.1198C6.06489 37.1314 6.05299 37.1436 6.04108 37.1668C6.02931 37.1789 6.01741 37.1911 6.0055 37.2144H5.9936C5.98169 37.2387 5.98169 37.2504 5.96979 37.2742H5.95801C5.95801 37.298 5.94611 37.3096 5.9342 37.3218V37.3334C5.9223 37.3572 5.9223 37.381 5.9104 37.4049C5.89849 37.4287 5.89849 37.4408 5.89849 37.464C5.89849 37.4762 5.88659 37.4762 5.88659 37.4762C5.88659 37.5 5.88659 37.5238 5.87481 37.5476V37.6305L5.86304 37.6426Z",fill:"#888888"}),e.jsx("path",{d:"M57.7254 41.8411C57.1791 42.1565 56.7404 42.9163 56.7422 43.544C56.744 44.1807 57.1855 44.4323 57.7319 44.1169C58.2782 43.8015 58.7169 43.0417 58.7151 42.4049C58.7131 41.7772 58.2717 41.5257 57.7254 41.8411Z",fill:"#FFA02B"}),e.jsx("path",{d:"M56.0869 42.5942C55.92 42.6905 55.7838 42.9259 55.7844 43.1181L55.7899 45.0798C55.7904 45.2719 55.9275 45.3496 56.0944 45.2532L59.3725 43.3606C59.5394 43.2642 59.6756 43.0288 59.6751 42.8367L59.6696 40.875C59.6691 40.6829 59.532 40.6052 59.3651 40.7015L56.0869 42.5942ZM57.7328 44.1153C57.1865 44.4307 56.7449 44.1792 56.7431 43.5424C56.7414 42.9147 57.18 42.1549 57.7263 41.8395C58.2727 41.5241 58.7142 41.7756 58.716 42.4034C58.7178 43.0401 58.2791 43.7999 57.7328 44.1153Z",fill:"white"}),e.jsx("path",{d:"M44.7576 49.3498C44.2113 49.6652 43.7726 50.425 43.7744 51.0527C43.7762 51.6894 44.2178 51.941 44.7641 51.6257C45.3104 51.3103 45.7568 50.5461 45.755 49.9093C45.7532 49.2816 45.304 49.0344 44.7576 49.3498Z",fill:"#FFA02B"}),e.jsx("path",{d:"M43.1168 50.104C42.9499 50.2004 42.8137 50.4357 42.8142 50.6278L42.8197 52.5896C42.8202 52.7817 42.9573 52.8594 43.1242 52.763L46.4023 50.8704C46.5692 50.774 46.7054 50.5386 46.7049 50.3465L46.6994 48.3847C46.6989 48.1926 46.5618 48.1149 46.3949 48.2113L43.1168 50.104ZM44.7628 51.6251C44.2165 51.9405 43.7748 51.6889 43.7731 51.0521C43.7713 50.4244 44.2099 49.6646 44.7562 49.3492C45.3025 49.0338 45.7517 49.2811 45.7535 49.9088C45.7554 50.5455 45.3091 51.3096 44.7628 51.6251Z",fill:"white"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_13377_13387",children:e.jsx("rect",{width:61.44,height:58.88,fill:"white"})})})]}),$3=({columns:_,data:r,totalRecords:x,isGlobalFilter:y,handleRefreshButton:m,handlePageSizeChange:z,handlePageChange:F,debouncedSearch:d,isPagination:g,isCustomPageSize:E,tableClass:q,theadClass:G,paginationWrapper:O,pagination:k,isBordered:X,currentPage:V,pageSize:D,onRowClick:Q,activeTab:T,setActiveTab:I,status:P,contractTotal:s2,customBody:R,debouncedContractSearch:$,isAnimating:u=!1,aiSuggestedIds:U=[],handleLoadMore:o,handleLoadMoreContracts:L,hasMore:j,hasMoreContracts:W,isLoadingMore:N,isLoadingMoreContracts:b})=>{const p=l.useRef(null);l.useEffect(()=>{const Z=T==="Transporters",e2=Z?o:L,J=Z?j:W,s=Z?N:b;if(!e2||!J)return;const i=new IntersectionObserver(w=>{w[0].isIntersecting&&J&&!s&&e2()},{threshold:1});return p.current&&i.observe(p.current),()=>{p.current&&i.unobserve(p.current)}},[o,L,j,W,N,b,T]);const C=Me({columns:_,data:r,pageCount:Math.ceil(x/D),manualPagination:!0,getCoreRowModel:Ae(),getPaginationRowModel:ke(),getSortedRowModel:Ee(),getFilteredRowModel:we(),state:{pagination:{pageIndex:V-1,pageSize:D}},onPaginationChange:()=>{}}),{getHeaderGroups:A,getRowModel:f,getPageCount:v}=C,[S,K]=l.useState(!0),n2=Z=>{const e2=U.indexOf(Z);return e2!==-1?e2+1:null},o2=Z=>Z===1?"#8B5CF6":Z===2?"#3B82F6":Z===3?"#10B981":"#000",M2=()=>{V<v()&&F(V+1)},l2=()=>{V>1&&F(V-1)},v2=()=>{typeof m=="function"?m():m&&typeof m=="object"&&typeof m.default=="function"&&m.default()},u2={...Fe,paddingLeft:"40px"},p2=l.useMemo(()=>{const Z=localStorage.getItem("user");
1if(!Z)return!1;try{return(JSON.parse(Z)?.transporter_suggestion||!1)!==!1}catch(e2){return console.error("Failed to parse user data from localStorage",e2),!1}},[]);return e.jsxs(l.Fragment,{children:[e.jsx("style",{children:` 2 @keyframes pulse { 3 0%, 100% { 4 opacity: 1; 5 transform: scale(1); 6 } 7 50% { 8 opacity: 0.8; 9 transform: scale(1.1); 10 } 11 } 12 `}),e.jsxs("div",{style:{borderRadius:"12px"},children:[e.jsxs("div",{className:"sticky-top-header",style:{position:"sticky",top:"0",left:"0",width:"100%",zIndex:"100",backgroundColor:"var(--body-bg)",paddingTop:"10px",paddingBottom:"5px",borderBottom:"1px solid var(--border-color)",marginBottom:"15px"},children:[e.jsx("div",{className:"mb-3",children:T==="Contract"?e.jsxs("div",{children:[e.jsx("h5",{className:"fw-bold mb-1",children:"Contract Details"}),e.jsx("p",{style:{fontSize:"14px"},className:"text-muted mb-0",children:"Manage & view active contracts, and assign trucks easily."})]}):e.jsxs("div",{children:[e.jsx("h5",{className:"fw-bold mb-1",children:"Available Transporters"}),e.jsx("p",{style:{fontSize:"14px"},className:"text-muted mb-0",children:"Review and compare transporter bids"})]})}),e.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3",children:[I&&e.jsxs("div",{className:"d-flex align-items-center gap-1 theme-default-layout rounded rounded-12 p-1",style:{border:"1px solid var(--border-color)"},children:[e.jsxs(x2,{className:`border-0 rounded rounded-3 shadow-none ${T==="Contract"?"text-white fw-bold shadow-sm":"text-muted"}`,style:{padding:"6px 12px",fontSize:"14px",backgroundColor:T==="Contract"?"#0A6560":"transparent"},onClick:()=>I("Contract"),children:["Contract ",typeof s2=="number"&&`(${s2})`]}),e.jsxs(x2,{className:`border-0 rounded rounded-3 shadow-none ${T==="Transporters"?"text-white fw-bold shadow-sm":"text-muted"}`,style:{padding:"6px 12px",fontSize:"14px",backgroundColor:T==="Transporters"?"#0A6560":"transparent"},onClick:()=>I("Transporters"),children:["Transporters ",typeof x=="number"&&`(${x})`]})]}),e.jsxs("div",{className:"d-flex gap-2 ms-auto",children:[T==="Transporters"&&p2&&e.jsx(e.Fragment,{children:m?.hasAiSuggestions?e.jsxs("div",{className:"d-flex gap-2",children:[e.jsx(f2,{text:"View AI Suggestions Details",children:e.jsxs("button",{className:"btn btn-primary d-flex align-items-center gap-2",style:{height:"38px",borderRadius:"8px",fontSize:"14px",padding:"0 16px"},onClick:m?.viewAiSuggestionsDetails,children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5z"}),e.jsx("path",{d:"M2 17l10 5 10-5"}),e.jsx("path",{d:"M2 12l10 5 10-5"})]}),e.jsx("span",{children:"View Details"})]})}),e.jsx(f2,{text:"Clear AI Highlights",children:e.jsxs("button",{className:"btn btn-outline-secondary d-flex align-items-center gap-2",style:{height:"38px",borderRadius:"8px",fontSize:"14px",padding:"0 16px"},onClick:m?.clearAiSuggestions,children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),e.jsx("span",{children:"Clear AI"})]})})]}):e.jsx(f2,{text:"Get AI Transporter Suggestions",children:e.jsx("button",{className:"btn btn-outline-primary d-flex align-items-center gap-2",style:{height:"38px",borderRadius:"8px",fontSize:"14px",padding:"0 16px"},onClick:m?.aiSuggestionsHandler,disabled:m?.isLoadingAi,children:m?.isLoadingAi?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"}),e.jsx("span",{children:"Loading..."})]}):e.jsxs(e.Fragment,{children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5z"}),e.jsx("path",{d:"M2 17l10 5 10-5"}),e.jsx("path",{d:"M2 12l10 5 10-5"})]}),e.jsx("span",{children:"AI Suggestions"})]})})})}),e.jsx(f2,{text:"Refresh Data",children:e.jsx("button",{className:"btn p-2 d-flex align-items-center justify-content-center",style:{width:"38px",height:"38px",borderRadius:"8px",borderColor:"#E5E7EB"},onClick:v2,children:e.jsx(Y2,{size:18,style:{transform:u?"rotate(360deg)":"none",transition:"transform 0.6s ease-in-out"}})})})]})]}),e.jsxs("div",{className:"mt-3 mb-2",children:[P?.toLowerCase()==="hired"&&T==="Transporters"&&e.jsx("div",{className:"mt-1 mb-2",children:e.jsx(ye,{variant:"info",title:"Note",message:" Transporters are hired. You canât hire new ones or create quotations now.",show:S,onClose:()=>K(!1)})}),m?.hasAiSuggestions&&e.jsx("div",{className:"mt-1 mb-2",children:e.jsx(ye,{variant:"success",title:"AI Suggestions Active",message:"Top 3 recommended transporters are highlighted
12with AI badge icons. Click 'Clear AI' to remove highlights.",show:!0})})]}),y&&e.jsxs("div",{className:"position-relative mb-2",children:[e.jsx(d3,{className:"position-absolute text-muted",size:18,style:{top:"15px",left:"12px"}}),e.jsx("input",{style:{...u2,width:"100%",height:"48px",background:"var(--card-bg)"},type:"text",className:"form-control",placeholder:T==="Contract"?"Search Contracts":"Search Transporters",onChange:Z=>{T==="Contract"&&$?$(Z.target.value):d(Z.target.value)},defaultValue:T==="Contract"?"":sessionStorage.getItem("Transporter_Find")||""},T)]})]}),R?e.jsxs("div",{children:[R,e.jsx("div",{ref:p,className:"text-center py-3",style:{minHeight:"50px"},children:b&&e.jsx("div",{className:"spinner-border spinner-border-sm text-primary",role:"status",children:e.jsx("span",{className:"visually-hidden",children:"Loading..."})})})]}):e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex flex-column gap-3",children:[r.length===0?e.jsx("div",{className:"container-fluid py-3",style:{border:"2px dashed #E5E7EB",borderRadius:"12px",padding:"48px 24px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"400px",textAlign:"center"},children:e.jsxs("div",{className:"d-flex flex-column align-items-center justify-content-center text-center",children:[e.jsx("div",{className:"mb-3 position-relative d-flex justify-content-center",children:e.jsx(I3,{width:64,height:64})}),e.jsx("h4",{className:"text-dark fw-bold",children:"No Transporters Available"}),e.jsx("h5",{className:"text-muted fw-normal",children:"You donât have any transporters added yet."})]})}):f().rows.map((Z,e2)=>{const J=Z.original;J.organization_name?.split(" ").map(B=>B[0]).join("").substring(0,2).toUpperCase();const s=Z.getVisibleCells(),i=B=>s.find(c2=>c2.column.columnDef.header===B),w=i("Action"),M=i("Call History"),h=i("Call");i("Status");const n=i("Rating"),d2=i("Re-send"),a2=i("Negotiation");return e.jsx(l.Fragment,{children:e.jsxs("div",{className:"d-flex flex-column flex-md-row align-items-md-center p-2 justify-content-between transition-all ",style:{borderRadius:"12px",cursor:Q?"pointer":"default",border:"1px solid transparent",transition:"all 0.2s ease-in-out",backgroundColor:"var(--card-bg)"},onMouseEnter:B=>{if(B.currentTarget.style.backgroundColor="var(--item-hover-bg)",B.currentTarget.style.borderColor="#E5E7EB",B.currentTarget.style.transform="translateY(-2px)",B.currentTarget.style.boxShadow="0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",P?.toLowerCase()==="hired"){const c2=B.currentTarget.querySelector(".transporter-hover-tooltip");c2&&(c2.style.opacity="1")}},onMouseLeave:B=>{if(B.currentTarget.style.backgroundColor="var(--card-bg)",B.currentTarget.style.borderColor="transparent",B.currentTarget.style.transform="translateY(0)",B.currentTarget.style.boxShadow="none",P?.toLowerCase()==="hired"){const c2=B.currentTarget.querySelector(".transporter-hover-tooltip");c2&&(c2.style.opacity="0")}},onClick:B=>{const c2=B.target.closest("[data-action]")||B.target.closest("button")||B.target.closest("a")||B.target.closest(".btn");Q&&!c2&&Q(J)},children:[e.jsxs("div",{className:"d-flex align-items-center gap-2 mb-3 mb-md-0",style:{position:"relative"},children:[e.jsx("div",{children:J.has_quote===1?e.jsx(T3,{width:40,height:40}):e.jsx(v3,{width:40,height:40})}),P?.toLowerCase()==="hired"&&e.jsxs("div",{className:"transporter-hover-tooltip",style:{position:"absolute",bottom:"100%",left:"0",marginBottom:"10px",backgroundColor:"#333",color:"#fff",padding:"10px 14px",borderRadius:"8px",fontSize:"13px",zIndex:1e3,opacity:0,pointerEvents:"none",transition:"opacity 0.2s ease",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",minWidth:"200px",whiteSpace:"nowrap"},children:[e.jsx("div",{style:{marginBottom:"4px"},children:J.email}),e.jsx("div",{children:J.mobile_number}),e.jsx("div",{style:{position:"absolute",top:"100%",left:"20px",width:0,height:0,borderLeft:"6px solid transparent",borderRight:"6px solid transparent",borderTop:"6px solid #333"}})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("h6",{style:{fontSize:"14px",color:"var(--heading-color)"},className:"fw-bold mb-0 ",children:J.organization_name}),(()=>{const B=n2(J.id);return B?e.jsxs("div",{style:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",backgroundColor:o2(B),borderRadius:"6px",padding:"4px 8px",gap:"4px"},title:`AI Recommended #${B}`,children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{animation:"pulse 2s ease-in-out infinite"},children:[e.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5z"}),e.jsx("path",{d:"M2 17l10 5 10-5"}),e.jsx("path",{d:"M2 12l10 5 10-5"})]}),e.jsxs("span",{style:{fontSize:"11px",fontWeight:"bold",color:"#fff"},children:["#",B]})]}):null})(),J.has_quote===1&&e.jsx("span",{className:"badge",style:{backgroundColor:"#D1FAE5",color:"#065F46",fontSize:"11px",fontWeight:"600",padding:"4px 8px",borderRadius:"6px"},children:"Quotation Filled"}),a2&&m2(a2.column.columnDef.cell,a2.getContext())]}),e.jsxs("p",{style:{fontSize:"14px"},className:"text-muted mb-0",children:[J.name||J.transporter_name," "]})]})]}),e.jsxs("div",{className:"d-flex align-items-center gap-2 justify-content-end flex-wrap",children:[n&&e.jsx("div",{className:"me-2",children:m2(n.column.columnDef.cell,n.getContext())}),d2&&e.jsx("div",{className:"me-2",children:m2(d2.column.columnDef.cell,d2.getContext())}),M&&e.jsx("div",{className:"btn d-flex align-items-center justify-content-center p-0",style:{width:"40px",height:"40px",backgroundColor:"#fff",borderRadius:"8px",border:"1px solid #E4E5E8"},children:m2(M.column.columnDef.cell,M.getContext())}),h&&e.jsx("div",{className:"btn d-flex align-items-center justify-content-center p-0",style:{width:"40px",height:"40px",backgroundColor:"#fff",color:"#16A34A",borderRadius:"8px",border:"1px solid #E4E5E8"},children:m2(h.column.columnDef.cell,h.getContext())}),w&&e.jsx("div",{children:m2(w.column.columnDef.cell,w.getContext())})]})]})},Z.id)}),T==="Transporters"&&e.jsx("div",{ref:p,className:"text-center py-3",style:{minHeight:"50px"},children:N&&e.jsx("div",{className:"spinner-border spinner-border-sm text-primary",role:"status",children:e.jsx("span",{className:"visually-hidden",children:"Loading..."})})})]}),g&&r.length>0&&T!=="Transporters"&&T!=="Contract"&&(x>10||s2>10)&&e.jsxs("div",{className:"d-flex justify-content-between align-items-center mt-4 pt-3 border-top",children:[e.jsx("div",{className:"d-flex align-items-center",children:e.jsx("select",{className:"form-select form-select-sm border-0 bg-light",style:{width:"auto"},value:D,onChange:Z=>{const e2=Number(Z.target.value);z(e2)},children:[5,10,20,30,40].map(Z=>e.jsxs("option",{value:Z,children:["Show ",Z]},Z))})}),e.jsxs("div",{className:"text-muted small",children:["Showing ",D," of ",x," Results"]}),e.jsx("div",{className:O,children:e.jsxs("ul",{className:`${k} mb-0`,children:[e.jsx("li",{className:`page-item ${V===1?"disabled":""}`,children:e.jsx("button",{className:"page-link border-0",onClick:l2,children:e.jsx("i",{className:"mdi mdi-chevron-left"})})}),e.jsx("li",{className:"page-item active",children:e.jsx("button",{className:"page-link border-0 bg-primary",children:V})}),e.jsx("li",{className:`page-item ${V>=v()?"disabled":""}`,children:e.jsx("button",{className:"page-link border-0",onClick:M2,children:e.jsx("i",{className:"mdi mdi-chevron-right"})})})]})})]})]})]})]})},q3=_=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",..._,children:[e.jsx("g",{clipPath:"url(#clip0_11424_13291)",children:e.jsx("path",{d:"M2.83317 17.0004L17.3748 10.7671C18.0498 10.4754 18.0498 9.52542 17.3748 9.23375L2.83317 3.00042C2.28317 2.75875 1.67484 3.16709 1.67484 3.75875L1.6665 7.60042C1.6665 8.01709 1.97484 8.37542 2.3915 8.42542L14.1665 10.0004L2.3915 11.5671C1.97484 11.6254 1.6665 11.9838 1.666
125 12.4004L1.67484 16.2421C1.67484 16.8338 2.28317 17.2421 2.83317 17.0004Z",fill:"#333333"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_11424_13291",children:e.jsx("rect",{width:20,height:20,fill:"white"})})})]}),q2=1200,V3=({biddingLegs:_=[],isOpen:r,toggle:x,transporter:y,inquiryDetails:m,inquiryId:z,onQuotationSaved:F,onInitiateCall:d,isCallingTransporter:g,isDisabledMode:E=!1,isResendDisabled:q=!1})=>{const[G,O]=l.useState("loading"),[k,X]=l.useState({amount:"",lumpSum:"",isNegotiable:"yes",remarks:"",unit:""}),[V,D]=l.useState([]),[Q,T]=l.useState(!1),[I,P]=l.useState(null),[s2,R]=l.useState(null),$=A2.checkReadPermission("auto_negotiation"),[u,U]=l.useState(null),[o,L]=l.useState(()=>_.length===1?_[0].id:null),j=l.useMemo(()=>_.map(s=>({value:s.id,label:`Leg ${s.leg_sequence} · ${(ve[s.mode]||ve.ROAD).label} · ${_e(s,"from")} â ${_e(s,"to")}`})),[_]),[W,N]=l.useState(!1),[b,p]=l.useState(null),[C,A]=l.useState(!1),[f,v]=l.useState(!1),[S,K]=l.useState(!1);l.useEffect(()=>{r&&y?(O("loading"),P(null),p(null),X({amount:"",lumpSum:"",isNegotiable:"yes",remarks:"",unit:m?.unit||""}),L(_.length===1?_[0].id:null),o2({showLoader:!0})):r||p(null)},[r,y,E]),l.useEffect(()=>{!r||E||!y||n2({keepView:G==="create"})},[r,y,E,o]);const n2=async({keepView:s=!1}={})=>{try{const i=o?`&leg_id=${o}`:"",w=await b2(`/quotes/details?inquiry_id=${z}&transporter_id=${y.id}${i}`);if($&&w?.negotiation_data?U(w.negotiation_data):U(null),w?.data?.length){const M=w.data[0];R(M.id);let h=M.amount,n=M.lump_sum;const d2=parseFloat(m?.quantity)||1;h&&(!n||n==="0")?n=(parseFloat(h)*d2).toFixed(2):(!h||h==="0")&&n&&(h=(parseFloat(n)/d2).toFixed(2)),P({amount:h||"0",lumpSum:n||"0",isNegotiable:M.is_negotiable?"yes":"no",remarks:M.remark||"",source:M.source||M.quote_source||"",unit:M.unit||""}),s||(X({amount:h||"",lumpSum:n||"",isNegotiable:M.is_negotiable?"yes":"no",remarks:M.remark||"",unit:M.unit||""}),O("view"))}else R(null),P(null),s||O("empty")}catch(i){console.error("Error fetching existing quotation",i),s||O("empty")}},o2=async({showLoader:s=!0}={})=>{if(y?.id){s&&T(!0);try{const i=await b2(`/call/getCallHistory?inquiry_id=${z}&transporter_id=${y.id}&offset=0&limit=5&search=`);i.error===!1?D(i.data||[]):D([])}catch(i){console.error("Error fetching call history",i),D([])}finally{s&&T(!1)}}},M2=async()=>{if(!k.amount&&!k.lumpSum){H.error("Please enter amount or total amount");return}const s={inquiry:z,transporter_id:y.id,amount:k.amount,lump_sum:k.lumpSum||null,is_negotiable:k.isNegotiable==="yes"?1:0,remark:k.remarks,...o?{leg_id:o}:{}};if(_.length>1&&!o){H.error("Pick the leg this quote is for.");return}try{A(!0);let i;s2?i=await j3(`/quotes/update/${s2}`,s):i=await Z2("/quotes/add",s),i.error?H.error(i.message||"Failed to submit quotation"):(H.success(i?.message||"Quotation submitted successfully"),F&&F(),P({amount:k.amount,lumpSum:k.lumpSum,isNegotiable:k.isNegotiable,remarks:k.remarks,unit:k.unit}),O("view"),x())}catch(i){console.error("Error submitting quotation",i),H.error("An error occurred while submitting quotation")}finally{A(!1)}},l2=()=>{O("create")},v2=async()=>{d&&(await d(z,y.id,y.name,y.mobile_number),setTimeout(()=>o2({showLoader:!1}),2e3))},u2=s=>{const i=Math.floor((parseInt(s)||0)/1e3),w=Math.floor(i/3600),M=Math.floor(i%3600/60),h=i%60;return`${String(w).padStart(2,"0")}:${String(M).padStart(2,"0")}:${String(h).padStart(2,"0")}`},p2=(s,i="")=>{if(!s)return;const w=parseFloat(m?.quantity)||1,M=(parseFloat(s)*w).toFixed(2);X({...k,amount:String(s),lumpSum:M,isNegotiable:"no",remarks:i||`Rate negotiated via AI Agent (â¹${s})`,unit:m?.unit||k.unit||""}),O("create"),H.info(`Applied negotiated rate: â¹${s}`)},Z=s=>{if(!s)return[];const i={},w=h=>{const n=Number(h)||1;return i[n]||(i[n]={round_no:n,agent_offer:null,transporter_offer:null,status:null,channel:s.active_channel||"VOICE"}),i[n]};if(Array.isArray(s.tool_calls)&&s.tool_calls.length>0){let h=1;s.tool_calls.forEach(n=>{n.tool_name==="get_opening"&&n.amount?w(1).agent_offer=n.amount:n.tool_name==="record_offer"&&n.amount?w(h).transporter_offer=n.amount:n.tool_name==="get_counter"&&(n.amount?(h+=1,w(h).agent_offer=n.amount):(n.result==="ESCALATE"||n.result==="OUT_OF_BAND")&&(w(h).status=n.result))})}
12Array.isArray(s.rounds)&&s.rounds.length>0&&s.rounds.forEach(h=>{const n=w(h.round_no);h.channel&&(n.channel=h.channel),h.actor==="AGENT"||h.actor==="ASSISTANT"?n.agent_offer=h.amount:h.actor==="TRANSPORTER"&&(n.transporter_offer=h.amount)}),Array.isArray(s.events)&&s.events.length>0&&s.events.forEach(h=>{let n=h.payload;if(typeof n=="string")try{n=JSON.parse(n)}catch{n={}}const d2=n?.round_no||(h.event==="OPENING_SENT"?1:null);if(d2){const a2=w(d2);if(h.event==="OPENING_SENT"&&n?.amount)a2.agent_offer=n.amount;else if(h.event==="OFFER_RECEIVED"&&n?.amount)a2.transporter_offer=n.amount;else if(h.event==="COUNTER_SENT"){n?.their_offer&&!a2.transporter_offer&&(a2.transporter_offer=n.their_offer);const B=w(Number(d2)+1);n?.amount&&(B.agent_offer=n.amount)}else h.event==="RATE_LOCKED"&&n?.rate?(a2.transporter_offer=n.rate,a2.agent_offer=n.rate,a2.status="AGREED"):h.event==="OFFER_OUT_OF_BAND"&&n?.their_offer&&(a2.transporter_offer=n.their_offer,a2.status="OUT_OF_BAND")}});const M=Math.max(Number(s.current_round)||1,...Object.keys(i).map(Number));for(let h=1;h<=M;h++){const n=w(h);h===1&&!n.agent_offer&&(n.agent_offer=s.target_price||null),h===1&&!n.transporter_offer&&M===1&&(n.transporter_offer=s.first_offer||s.latest_offer),h===M&&!n.transporter_offer&&(n.transporter_offer=s.latest_offer),h===M&&!n.agent_offer&&s.last_agent_offer&&(n.agent_offer=s.last_agent_offer)}return Object.values(i).sort((h,n)=>h.round_no-n.round_no)},e2=()=>{if(!$||!u)return null;const s=Z(u);return s.length===0?null:e.jsxs("div",{className:"rounded-3 p-3 mb-3",style:{backgroundColor:"#F8FAFC",border:"1px solid #E2E8F0"},children:[e.jsxs("div",{className:"d-flex align-items-center justify-content-between mb-2",children:[e.jsxs("span",{className:"fw-semibold text-dark d-flex align-items-center gap-1",style:{fontSize:"13px"},children:[e.jsx(L2,{size:16,className:"text-primary"})," Negotiation Rounds (",s.length," ",s.length===1?"Round":"Rounds",")"]}),e.jsxs("span",{className:"text-muted",style:{fontSize:"11px"},children:["Channel: ",u.active_channel||"VOICE"]})]}),e.jsx("div",{className:"d-flex flex-column gap-2",children:s.map(i=>{const w=i.round_no===(u.current_round||s.length);return e.jsxs("div",{className:"p-2 rounded-2 d-flex align-items-center justify-content-between gap-2 flex-wrap",style:{backgroundColor:w?"#FFFFFF":"#F8FAFC",border:w?"1px solid #93C5FD":"1px solid #E2E8F0"},children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsxs("span",{className:`badge px-2 py-1 ${w?"bg-primary text-white":"bg-secondary bg-opacity-25 text-dark"}`,style:{fontSize:"11px",minWidth:"60px",textAlign:"center"},children:["Round ",i.round_no]}),e.jsx("div",{className:"d-flex flex-column",children:e.jsxs("span",{className:"text-muted",style:{fontSize:"11px"},children:["AI Target: ",e.jsx("strong",{className:"text-dark",children:i.agent_offer?`â¹${Number(i.agent_offer).toLocaleString("en-IN")}`:"â"})]})})]}),e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsxs("div",{className:"d-flex flex-column text-end",children:[e.jsx("span",{className:"text-muted",style:{fontSize:"11px"},children:"Transporter Quote"}),e.jsx("span",{className:"fw-bold",style:{fontSize:"13.5px",color:i.transporter_offer?"#0284C7":"#64748B"},children:i.transporter_offer?`â¹${Number(i.transporter_offer).toLocaleString("en-IN")}`:"â"})]}),i.transporter_offer&&G!=="view"&&e.jsxs(x2,{size:"sm",color:"light",className:"border px-2 py-1 d-flex align-items-center gap-1",style:{fontSize:"11px",borderRadius:"5px",height:"28px"},onClick:()=>p2(i.transporter_offer,`Negotiated Rate from Round ${i.round_no} (Session #${u.session_id}, Offer: â¹${i.transporter_offer})`),title:`Use Round ${i.round_no} quote rate`,children:[e.jsx(I2,{size:11,className:"text-primary"})," Use Rate"]})]})]},i.round_no)})})]})},J=()=>{if(!$||!u)return null;const s=(u.participant_status||"").toUpperCase(),i=(u.session_status||"").toUpperCase(),w=u.agreed_rate||u.latest_offer;if(s==="AGREED"||u.agreed_rate)return e.jsx("div",{className:"rounded-3 p-3 mb-3 d-flex flex-column gap-2",style:{backgroundColor:"#F0FDF4",border:"1px solid #86EFAC"},children:e.jsxs("div",{className:"d-flex align-items-center justify-content-between flex-wrap gap-2",children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{style:{width:"32px",height:"32px",borderRadius:"8px",backgroundColor:"#DCFCE7",display:"flex",alignItems:"center",justifyContent:"center",color:"#16A34A"},children:e.jsx(L2,{size:20,stroke:1.75})}),e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsxs("span",{className:"fw-bold text-success",style:{fontSize:"15px"}
12,children:["Agreed Rate: â¹",Number(u.agreed_rate).toLocaleString("en-IN")]}),e.jsx("span",{className:"badge bg-success bg-opacity-25 text-success px-2 py-1",style:{fontSize:"10px"},children:"AGREED"})]}),e.jsxs("div",{className:"text-muted",style:{fontSize:"12px"},children:["Channel: ",u.active_channel||"VOICE"," ⢠Round ",u.current_round||1]})]})]}),e.jsx("div",{className:"d-flex align-items-center gap-2",children:G!=="view"&&e.jsxs(x2,{color:"success",size:"sm",className:"d-flex align-items-center gap-1",style:{fontSize:"12px",borderRadius:"6px"},onClick:()=>p2(u.agreed_rate,`Agreed via AI Voice Negotiation (Session #${u.session_id}, Rate: â¹${u.agreed_rate})`),children:[e.jsx(I2,{size:13})," Apply Rate"]})})]})});if(i==="AWAITING_APPROVAL"||s==="ESCALATE"){const M=u.latest_offer||u.first_offer||w,h=u.last_agent_offer||u.target_price;return e.jsxs("div",{className:"rounded-3 p-3 mb-3 d-flex flex-column gap-3",style:{backgroundColor:"#FAF5FF",border:"1px solid #D8B4FE"},children:[e.jsxs("div",{className:"d-flex align-items-center justify-content-between flex-wrap gap-2",children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{style:{width:"32px",height:"32px",borderRadius:"8px",backgroundColor:"#F3E8FF",display:"flex",alignItems:"center",justifyContent:"center",color:"#9333EA"},children:e.jsx(L2,{size:20,stroke:1.75})}),e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("span",{className:"fw-bold",style:{color:"#7C3AED",fontSize:"15px"},children:"â¡ AI Negotiation Escalated"}),e.jsx("span",{className:"badge px-2 py-1",style:{fontSize:"10px",backgroundColor:"#EDE9FE",color:"#6D28D9"},children:"NEEDS OPERATOR REVIEW"})]}),e.jsxs("div",{className:"text-muted",style:{fontSize:"12px"},children:["Channel: ",u.active_channel||"VOICE"," ⢠Round ",u.current_round||1]})]})]}),e.jsx("div",{className:"d-flex align-items-center gap-2",children:M&&G!=="view"&&e.jsxs(x2,{size:"sm",className:"d-flex align-items-center gap-1",style:{fontSize:"12px",borderRadius:"6px",backgroundColor:"#7C3AED",borderColor:"#7C3AED",color:"#fff"},onClick:()=>p2(M,`Approved by Operator from AI Escalation (Session #${u.session_id}, Transporter Quoted: â¹${M})`),children:[e.jsx(I2,{size:13})," Apply Quoted Rate (â¹",Number(M).toLocaleString("en-IN"),")"]})})]}),e.jsxs("div",{className:"p-2 rounded-2 d-flex align-items-center justify-content-between gap-2 flex-wrap",style:{backgroundColor:"#FFFFFF",border:"1px solid #E9D5FF"},children:[e.jsxs("div",{className:"px-2 py-1",children:[e.jsx("span",{className:"text-muted d-block",style:{fontSize:"11px",fontWeight:500},children:"Transporter Quoted Rate"}),e.jsx("span",{className:"fw-bold",style:{fontSize:"16px",color:"#7C3AED"},children:M?`â¹${Number(M).toLocaleString("en-IN")}`:"N/A"})]}),h&&e.jsxs("div",{className:"px-2 py-1 border-start",children:[e.jsx("span",{className:"text-muted d-block",style:{fontSize:"11px",fontWeight:500},children:"Agent Last Offer"}),e.jsxs("span",{className:"fw-bold text-dark",style:{fontSize:"14px"},children:["â¹",Number(h).toLocaleString("en-IN")]})]}),m?.expected_price&&e.jsxs("div",{className:"px-2 py-1 border-start",children:[e.jsx("span",{className:"text-muted d-block",style:{fontSize:"11px",fontWeight:500},children:"Estimated Freight"}),e.jsxs("span",{className:"fw-bold text-dark",style:{fontSize:"14px"},children:["â¹",Number(m.expected_price).toLocaleString("en-IN")]})]})]}),e.jsxs("div",{className:"text-muted small",style:{fontSize:"11.5px"},children:["ð¡ Transporter quoted outside the AI target band. You can call transporter from top header to confirm or re-negotiate manually, or click ",e.jsx("strong",{children:"Apply Quoted Rate"})," to proceed with this quotation."]})]})}if(s==="COUNTERED"||s==="OFFERED"||u.latest_offer){const M=u.latest_offer||w;return e.jsx("div",{className:"rounded-3 p-3 mb-3 d-flex flex-column gap-2",style:{backgroundColor:"#EFF6FF",border:"1px solid #93C5FD"},children:e.jsxs("div",{className:"d-flex align-items-center justify-content-between flex-wrap gap-2",children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{style:{width:"32px",height:"32px",borderRadius:"8px",backgroundColor:"#DBEAFE",display:"flex",alignItems:"center",justifyContent:"center",color:"#2563EB"},children:e.jsx(L2,{size:20,stroke:1.75})}),e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsxs("span",{className:"fw-bold text-primary",style:{fontSize:"15px"},children:["Transporter Counter-Offer: â¹",Number(M).toLocaleStr
12ing("en-IN")]}),e.jsxs("span",{className:"badge bg-primary bg-opacity-10 text-primary px-2 py-1",style:{fontSize:"10px"},children:[s," (R",u.current_round||1,")"]})]}),e.jsxs("div",{className:"text-muted",style:{fontSize:"12px"},children:["Channel: ",u.active_channel||"VOICE"," ⢠Round ",u.current_round||1]})]})]}),e.jsx("div",{className:"d-flex align-items-center gap-2",children:G!=="view"&&e.jsxs(x2,{color:"primary",size:"sm",className:"d-flex align-items-center gap-1",style:{fontSize:"12px",borderRadius:"6px"},onClick:()=>p2(M,`Counter-offer via AI Negotiation (Session #${u.session_id}, Round ${u.current_round||1}, Offer: â¹${M})`),children:[e.jsx(I2,{size:13})," Use Counter Rate"]})})]})})}return s==="OUT_OF_BAND"?e.jsxs("div",{className:"rounded-3 p-3 mb-3 d-flex align-items-center gap-2",style:{backgroundColor:"#FFF7ED",border:"1px solid #FDBA74",color:"#C2410C",fontSize:"13px"},children:[e.jsx(L2,{size:18,stroke:1.75}),e.jsxs("div",{children:[e.jsxs("strong",{children:["Rate Out of Band (",u.latest_offer?`â¹${u.latest_offer}`:"High Quote","):"]})," Transporter quote exceeded the target price ceiling."]})]}):s==="CONTACTED"||s==="ENGAGED"||s==="PENDING"?e.jsxs("div",{className:"rounded-3 p-3 mb-3 d-flex align-items-center gap-2",style:{backgroundColor:"#FEFCE8",border:"1px solid #FDE047",color:"#854D0E",fontSize:"13px"},children:[e.jsx(L2,{size:18,stroke:1.75}),e.jsxs("div",{children:[e.jsx("strong",{children:"AI Negotiation in Progress:"})," Round ",u.current_round||1," ⢠Opening target: â¹",u.first_offer||u.target_price||"N/A","."]})]}):s==="DECLINED"||s==="WITHDRAWN"||s==="EXPIRED"?e.jsxs("div",{className:"rounded-3 p-3 mb-3 d-flex align-items-center gap-2 text-muted",style:{backgroundColor:"#F3F4F6",border:"1px solid #E5E7EB",fontSize:"13px"},children:[e.jsx(L2,{size:18,stroke:1.75}),e.jsxs("div",{children:[e.jsxs("strong",{children:["Negotiation Ended (",s,"):"]})," Automated negotiation closed. You can contact transporter via regular call."]})]}):null};return e.jsxs(e.Fragment,{children:[e.jsx(K2,{isOpen:r,toggle:x,title:e.jsxs("div",{className:"d-flex flex-column",children:[e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("span",{children:y?.organization_name||"Transporter"}),e.jsx(F2,{color:"warning",className:"text-warning fw-bold bg-warning bg-opacity-25 px-2 py-2",style:{fontSize:"10px",letterSpacing:"0.5px"},children:"PENDING"})]}),e.jsx("span",{className:"text-muted small",children:y?.name||""})]}),customHeaderActions:!E&&e.jsxs("div",{className:"d-flex gap-2 align-items-center",children:[e.jsx(f2,{text:"Resend",placement:"bottom",children:e.jsx("div",{color:"none",size:"sm",disabled:q,style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease",border:"1px solid #ccc",cursor:q?"not-allowed":"pointer",opacity:q?.5:1,borderRadius:"10px"},onClick:()=>{},children:e.jsx(q3,{})})}),e.jsx(f2,{text:"Call",placement:"bottom",children:e.jsx("div",{color:"none",size:"sm",onClick:v2,disabled:g,style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderColor:"#10B981",backgroundColor:"#019A5A",transition:"all 0.2s ease",cursor:"pointer",borderRadius:"10px"},children:g?e.jsx("div",{className:"spinner-border spinner-border-sm text-success",role:"status",children:e.jsx("span",{className:"visually-hidden",children:"Loading..."})}):e.jsx(A3,{})})})]}),direction:"end",width:"40%",footer:e.jsxs(e.Fragment,{children:[!E&&e.jsx("div",{className:"d-flex justify-content-between align-items-center w-100",children:e.jsx(y2,{label:"Cancel",variant:"cancel",onClick:x})}),E&&e.jsx("div",{className:"d-flex justify-content-end align-items-center w-100",children:e.jsx(x2,{color:"white",className:"border px-3",onClick:x,style:{borderRadius:"8px"},children:"Close"})})]}),children:e.jsx("div",{className:"d-flex flex-column h-100",children:e.jsxs("div",{className:"flex-grow-1 overflow-auto custom-scrollbar",children:[!E&&e.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3",children:[e.jsx(Ne,{className:"mb-0",children:"Quotation Details"}),e.jsx(f2,{text:"Refresh Data",placement:"left",children:e.jsx("button",{className:"btn p-2 d-flex align-items-center justify-content-center",style:{width:"38px",height:"38px",borderRadius:"8px",borderColor:"#E5E7EB",border:"1px solid #E5E7EB"},onClick:async()=>{v(!0);try{await n2()}catch(s){console.error("Error fetching quotation",s)}finally{setTimeout(()=>v(!1),q2)}},children:e.jsx(Y2,{size:18,style:{transform:f?"rotate(360deg)":"none",transition:`transform ${q2}ms ease-in-out`}})})})]}),!E&&$&&J(),!E&&$&&e2(),!E&&G==="loading"&&e.jsxs("div",{className:"rounded-3 p-5 text-center d-flex flex-column align-items-center justify-content-center mb-4",style:{minHeight:"200px"},children:[e.jsx("div",{className:"spinner-border text-primary mb-3",role:"status",children:e.jsx("span",{className:"visually-hidden",children:"Loading..."})}),e.jsx("p",{className:"text-muted small mb-0",children:"Loading quotation details..."})]}),!E&&G==="empty"&&e.jsxs("div",{className:"rounded-3 p-5 text-center d-flex flex-column align-items-center justify-content-center mb-4",style:{minHeight:"200px",border:"2px dashed #E5E7EB"},children:[e.jsx("div",{className:"rounded-circle bg-light p-3 mb-3 d-flex align-items-center justify-content-center",style:{width:"50px",height:"50px"},children:e.jsx(pe,{size:20,className:"text-muted"})}),e.jsx("h6",{className:"fw-bold text-dark",children:"No Quotations Yet"}),e.jsx(y2,{variant:"submit",label:"Create Quotation",onClick:()=>O("create"),icon:e.jsx(pe,{size:16})})]}),!E&&G==="create"&&e.jsx("div",{className:"mb-4 rounded-3 p-4",style:{border:"1px solid #E5E7EB"}
12,children:e.jsxs(N2,{className:"g-3",children:[_.length>1?e.jsxs(Y,{md:12,children:[e.jsxs(i2,{style:{fontSize:"14px"},className:"mb-1",children:["Leg being quoted ",e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsx(F3,{options:j,value:j.find(s=>String(s.value)===String(o))||null,onChange:s=>L(s?.value??null),placeholder:"Select the leg this quote is for",isError:!o}),s2?e.jsx("div",{style:{fontSize:"12px",color:be.warningTagText,marginTop:"4px"},children:"This leg already has a quote from this transporter â saving will update it."}):null]}):_.length===1?e.jsx(Y,{md:12,children:e.jsxs("div",{style:{fontSize:"12.5px",color:be.textSecondary},children:["Quoting for ",j[0]?.label]})}):null,e.jsxs(Y,{md:6,children:[e.jsxs(i2,{style:{fontSize:"14px"},className:"mb-1",children:["Amount / ",k.unit||m?.unit||"Unit"," ",e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsx(r2,{type:"number",placeholder:"Enter Amount",value:k.amount,onChange:s=>{const i=s.target.value,w=parseFloat(m?.quantity)||1,M=i?(parseFloat(i)*w).toFixed(2):"";X({...k,amount:i,lumpSum:i?M:""})},className:"border-1 py-2 rounded-3"})]}),e.jsxs(Y,{md:6,children:[e.jsxs(i2,{style:{fontSize:"14px"},className:"mb-1",children:["Total Amount ",e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsx(r2,{type:"number",placeholder:"Enter Total Amount",value:k.lumpSum,onChange:s=>{const i=s.target.value,w=parseFloat(m?.quantity)||1,M=i?(parseFloat(i)/w).toFixed(2):"";X({...k,lumpSum:i,amount:i?M:""})},className:"border-1 py-2 rounded-3"})]}),e.jsxs(Y,{xs:12,children:[e.jsxs(i2,{style:{fontSize:"14px"},className:"mb-1",children:["Is Negotiable? ",e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsxs("div",{className:"d-flex gap-4",children:[e.jsxs("div",{className:"form-check",children:[e.jsx(r2,{type:"radio",name:"isNegotiable",id:"negYes",value:"yes",checked:k.isNegotiable==="yes",onChange:()=>X({...k,isNegotiable:"yes"}),className:"form-check-input",style:{accentColor:"#10B981"}}),e.jsx(i2,{check:!0,for:"negYes",className:"form-check-label fw-medium",children:"Yes"})]}),e.jsxs("div",{className:"form-check",children:[e.jsx(r2,{type:"radio",name:"isNegotiable",id:"negNo",value:"no",checked:k.isNegotiable==="no",onChange:()=>X({...k,isNegotiable:"no"}),className:"form-check-input",style:{accentColor:"#10B981"}}),e.jsx(i2,{check:!0,for:"negNo",className:"form-check-label fw-medium",children:"No"})]})]})]}),e.jsxs(Y,{xs:12,children:[e.jsx(i2,{style:{fontSize:"14px"},className:"mb-1",children:"Remarks"}),e.jsx(r2,{type:"textarea",rows:"4",placeholder:"Enter additional information",value:k.remarks,onChange:s=>X({...k,remarks:s.target.value}),className:"border-1 rounded-3",style:{resize:"none"}})]}),e.jsx(Y,{xs:12,style:{fontSize:"14px"},className:"text-muted",children:"Add any additional notes or terms for the quotation"}),e.jsxs(Y,{xs:12,className:"d-flex gap-3 mt-3",children:[e.jsx("div",{className:"w-50",children:e.jsx(y2,{variant:"cancel",label:"Cancel",onClick:()=>O(I?"view":"empty"),disabled:C,fullWidth:!0})}),e.jsx("div",{className:"w-50",children:e.jsx(y2,{variant:"continue",label:C?I?"Updating...":"Saving...":I?"Update Quotation":"Save Quotation",onClick:M2,loading:C,icon:C?e.jsx(z2,{size:"sm"}):null,fullWidth:!0})})]})]})}),!E&&G==="view"&&I&&e.jsx("div",{className:"mb-4",children:e.jsxs("div",{className:"border rounded-3 p-3 mb-3",style:{borderColor:"#E5E7EB"},children:[e.jsxs("div",{className:"d-flex justify-content-between align-items-start mb-3",children:[e.jsxs("div",{className:"d-flex align-items-stretch gap-3 flex-wrap",children:[e.jsx("div",{children:e.jsxs("div",{className:"d-flex align-items-end gap-2",children:[e.jsxs("h3",{className:"mb-0 fw-bold",style:{color:"#10B981",fontSize:"24px"},children:["â¹",I.amount]}),e.jsxs("span",{className:"text-muted mb-1",style:{fontSize:"12px"},children:["/ ",I.unit||m?.unit||"Unit"]}),I.isNegotiable==="yes"&&e.jsx(F2,{color:"success",className:"bg-success bg-opacity-10 text-success fw-medium px-2 py-1",style:{fontSize:"11px"},children:"Negotiable"})]})}),I.lumpSum&&I.lumpSum!=="0"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{width:"1px",backgroundColor:"#E5E7EB",alignSelf:"stretch"}}),e.jsx("div",{children:e.jsxs("h3",{className:"mb-0 fw-bold",style:{color:"var(--primary)",fontSize:"24px"}
12,children:["â¹",Number(I.lumpSum).toLocaleString("en-IN")]})})]})]}),e.jsx(y2,{variant:"cancel",label:"Edit",onClick:l2,icon:e.jsx(c3,{size:14})})]}),e.jsxs("div",{className:"d-flex gap-2 mb-3",children:[e.jsxs("div",{className:"flex-fill p-3 rounded-8 d-flex flex-column gap-1",style:{backgroundColor:"#F5F5F1"},children:[e.jsx("div",{className:"d-flex align-items-center gap-2 text-muted",style:{fontSize:"11px"},children:"Source"}),e.jsx("div",{className:"fw-semibold text-dark d-flex align-items-center gap-2",style:{fontSize:"13px"},children:(()=>{const s=(I?.source||"").toLowerCase();return s==="login"?e.jsxs(e.Fragment,{children:[e.jsx(_3,{width:16,height:16}),e.jsx("span",{children:"Web Portal"})]}):s==="whatsapp"?e.jsxs(e.Fragment,{children:[e.jsx(S3,{width:16,height:16,fill:"#333333"}),e.jsx("span",{children:"WhatsApp"})]}):s==="call"?e.jsxs(e.Fragment,{children:[e.jsx(M3,{width:16,height:16,fill:"#333333"}),e.jsx("span",{children:"Call"})]}):s==="contracted"?e.jsxs(e.Fragment,{children:[e.jsx(w3,{width:16,height:16}),e.jsx("span",{children:"Contracted"})]}):s==="voice_negotiation"||s==="negotiation"||s==="whatsapp_negotiation"?e.jsxs(e.Fragment,{children:[e.jsx(L2,{size:16,stroke:1.75,color:"#7C3AED"}),e.jsx("span",{children:"Negotiation Agent"})]}):s?e.jsxs(e.Fragment,{children:[e.jsx(E3,{width:16,height:16}),e.jsx("span",{children:I.source})]}):e.jsx("span",{className:"text-muted",children:"N/A"})})()})]}),e.jsxs("div",{className:"flex-fill p-3 rounded-8 d-flex flex-column gap-1",style:{backgroundColor:"#F5F5F1"},children:[e.jsxs("div",{className:"d-flex align-items-center gap-2 text-muted",style:{fontSize:"11px"},children:[e.jsx(x3,{size:14})," Trucks Assigned"]}),e.jsx("div",{className:"fw-semibold text-dark",style:{fontSize:"13px"},children:y?.no_of_trucks||"N/A"})]}),e.jsxs("div",{className:"flex-fill p-3 rounded-8 d-flex flex-column gap-1",style:{backgroundColor:"#F5F5F1"},children:[e.jsxs("div",{className:"d-flex align-items-center gap-2 text-muted",style:{fontSize:"11px"},children:[e.jsx(p3,{size:14})," Quantity"]}),e.jsx("div",{className:"fw-semibold text-dark",style:{fontSize:"13px"},children:m?.quantity||"N/A"})]})]}),e.jsxs("div",{className:"p-3 rounded-8 border-figma",children:[e.jsx("small",{className:"text-muted d-block mb-2",style:{fontSize:"11px",fontWeight:"500"},children:"Remarks"}),e.jsx("p",{className:"mb-0 text-dark",style:{fontSize:"13px",lineHeight:"1.5"},children:I.remarks||"No remarks provided."})]})]})}),e.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3",style:{marginTop:E?"0":"3rem"},children:[e.jsx(Ne,{className:"mb-0",children:"Call History"}),e.jsx(f2,{text:"Refresh Data",placement:"left",children:e.jsx("button",{className:"btn p-2 d-flex align-items-center justify-content-center",style:{width:"38px",height:"38px",borderRadius:"8px",borderColor:"#E5E7EB",border:"1px solid #E5E7EB"},onClick:async()=>{K(!0);try{await o2({showLoader:!1})}catch(s){console.error("Error fetching call history",s)}finally{setTimeout(()=>K(!1),q2)}},children:e.jsx(Y2,{size:18,style:{transform:S?"rotate(360deg)":"none",transition:`transform ${q2}ms ease-in-out`}})})})]}),e.jsx("div",{className:"d-flex flex-column gap-3",style:{marginTop:"0"},children:Q?e.jsx("div",{className:"text-center py-3",children:"Loading history..."}):V.length===0?e.jsxs("div",{className:"p-4 text-center d-flex flex-column align-items-center justify-content-center",style:{border:"2px dashed #E5E7EB",borderRadius:"12px",padding:"48px 24px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"400px",textAlign:"center"},children:[e.jsx(k3,{className:"mb-2"}),e.jsx("div",{className:"text-muted",style:{fontSize:"14px"},children:"No Call history found"})]}):V.map((s,i)=>e.jsx("div",{className:"border-figma bg-white",style:{padding:"12px"},children:e.jsxs("div",{className:"d-flex align-items-center justify-content-between gap-3",children:[e.jsxs("div",{className:"d-flex align-items-center gap-3",style:{flex:"1 1 auto",minWidth:0},children:[e.jsx("div",{className:"p-2 rounded-2 d-flex align-items-center justify-content-center",style:{width:"40px",height:"40px",flexShrink:0},children:s.CallStatus==="Missed"?e.jsx(h3,{size:20,color:"#DF2323"}):e.jsx(m3,{size:20,color:"#019A5A"})}),e.jsxs("div",{style:{minWidth:0,flex:1},children:[e.jsx("h6",{className:"mb-1 fw-bold text-dark",style:{fontSize:"15px",wordBreak:"break-word"},children:s.user_number||s.mobile_number||y?.mobile_number||"N/A"}),e.jsx("div",{className:"small d-flex align-items-center gap-1",style:{fontSize:"12px"},children:s.CallStatus!=="Missed"?e.jsxs(e.Fragment,{children:[e.jsx("i",{className:"mdi mdi-clock-outline",style:{color:"#019A5A"}}),e.jsx("span",{style:{color:"#019A5A"},children:u2(s.duration)})]}):e.jsx("span",{className:"text-muted",children:"00:00:00"})})]})]}),e.jsxs("div",{className:"d-flex align-items-center gap-3",style:{flex:"0 0 auto",flexShrink:0},children:[s.CallStatus==="Answered"&&e.jsx(F2,{color:"success",className:"bg-success bg-opacity-10 text-success border-0 px-3 py-1 rounded-pill fw-medium",style:{fontSize:"12px"},children:"Answered"}),s.CallStatus==="Missed"&&e.jsx(F2,{style:{backgroundColor:"#FEE2E2 !important",color:"#DF2323",borderRadius:"8px",fontSize:"12px",fontWeight:"600",padding:"5px 10px",letterSpacing:"0.48px"},className:"bg-danger bg-opacity-10",children:"Missed"}),s.recording_url&&A2.checkPermission("Call Recording Access","read")&&e.jsxs(x2,{size:"sm",color:"link",className:"text-primary text-decoration-none d-flex align-items-center gap-1 bg-primary bg-opacity-10 px-3 py-1 rounded-2 border-0 fw-medium",style:{fontSize:"13px",transition:"all 0.2s ease",cursor:"pointer"},onMouseEnter:w=>w.currentTarget.style.transform="translateY(-2px)",onMouseLeave:w=>w.currentTarget.style.transform="translateY(0)",onClick:()=>{p({name:y?.name||"N/A",date:k2(s.created_at).format("DD MMM, YYYY"),time:k2(s.created_at).format("hh:mm A"),recording_url:s.recording_url,transcript_data:s.transcript_data,call_id:s.call_id,inquiry_id:s.inquiry_id,transporter_id:s.transporter_id,correlation_id:s.correlation_id,created_at:s.created_at,duration:s.duration}),N(!0)},children:[e.jsx(f3,{size:14,fill:"currentColor"})," Recording"]}),e.jsxs("div",{className:"text-end text-dark",style:{minWidth:"100px",flexShrink:0},children:[e.jsx("div",{className:"fw-semibold",style:{fontSize:"13px"},children:k2(s.created_at).format("MMM DD, YYYY")}),e.jsx("div",{className:"text-muted",style:{fontSize:"12px"},children:k2(s.created_at).format("hh:mm A")})]})]})]})},i))})]})})}),e.jsx(ze,{isOpen:W,toggle:()=>N(!1),callData:b})]})}
12,H3=({isOpen:_,toggle:r,suggestions:x,loading:y,onSelectTransporter:m})=>{const z=g=>g===0?"success":g===1?"info":g===2?"warning":"secondary",F=g=>g===0?"ð¥":g===1?"ð¥":g===2?"ð¥":`#${g+1}`,d=g=>g>=80?"success":g>=60?"warning":"danger";return e.jsx(K2,{isOpen:_,toggle:r,title:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx(Q2,{size:20,className:"text-primary"}),e.jsx("span",{children:"Smart Bid Analytics"})]}),size:"lg",children:y?e.jsxs("div",{className:"text-center py-5",children:[e.jsx(z2,{color:"primary"}),e.jsx("p",{className:"mt-3 text-muted",children:"Analyzing transporters..."})]}):x&&x.length>0?e.jsxs("div",{children:[e.jsx("div",{className:"border-figma p-3 mb-4",style:{backgroundColor:"var(--body-bg)"},children:e.jsxs("div",{className:"d-flex gap-2",children:[e.jsx(Q2,{size:20,className:"flex-shrink-0 mt-1 text-primary"}),e.jsxs("div",{children:[e.jsx("strong",{className:"text-dark",children:"AI-Powered Recommendations"}),e.jsx("p",{className:"mb-0 mt-1 small text-muted",children:"These transporters are ranked based on their historical performance, acceptance rates, and competitive pricing for this route."})]})]})}),e.jsx("div",{className:"d-flex flex-column gap-3",children:x.map((g,E)=>e.jsxs("div",{className:"border-figma p-3",style:{cursor:m?"pointer":"default",transition:"all 0.2s ease",backgroundColor:"var(--body-bg)"},onClick:()=>m&&m(g),children:[e.jsxs("div",{className:"d-flex justify-content-between align-items-start mb-3",children:[e.jsx("div",{className:"flex-grow-1",children:e.jsxs("div",{className:"d-flex align-items-center gap-2 mb-2",children:[e.jsx("span",{style:{fontSize:"24px"},children:F(E)}),e.jsxs("div",{children:[e.jsx("h5",{className:"mb-0 fw-bold",children:g.name}),e.jsx("small",{className:"text-muted",children:g.organization_name})]})]})}),e.jsxs(F2,{color:z(E),className:"px-3 py-2",children:["Rank #",E+1]})]}),e.jsxs("div",{className:"row g-3",children:[e.jsx("div",{className:"col-6",children:e.jsx("div",{className:"border-figma p-2",style:{backgroundColor:"var(--item-hover-bg)"},children:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{className:"text-primary",children:e.jsx(u3,{size:20})}),e.jsxs("div",{children:[e.jsx("small",{className:"text-muted d-block",children:"Avg Price"}),e.jsx("strong",{className:"text-primary",children:L3(g.avg_price)})]})]})})}),e.jsx("div",{className:"col-6",children:e.jsx("div",{className:"border-figma p-2",style:{backgroundColor:"var(--item-hover-bg)"},children:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{className:"text-info",children:e.jsx(he,{size:20})}),e.jsxs("div",{children:[e.jsx("small",{className:"text-muted d-block",children:"Completed Trips"}),e.jsx("strong",{className:"text-info",children:g.trip_count})]})]})})}),e.jsx("div",{className:"col-6",children:e.jsx("div",{className:"border-figma p-2",style:{backgroundColor:"var(--item-hover-bg)"},children:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{className:"text-secondary",children:e.jsx(me,{size:20})}),e.jsxs("div",{children:[e.jsx("small",{className:"text-muted d-block",children:"Total Quotes"}),e.jsx("strong",{className:"text-secondary",children:g.total_quotes||0})]})]})})}),g.acceptance_rate!==void 0&&e.jsx("div",{className:"col-6",children:e.jsx("div",{className:"border-figma p-2",style:{backgroundColor:"var(--item-hover-bg)"},children:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{className:`text-${d(g.acceptance_rate)}`,children:e.jsx(fe,{size:20})}),e.jsxs("div",{children:[e.jsx("small",{className:"text-muted d-block",children:"Acceptance Rate"}),e.jsxs("strong",{className:`text-${d(g.acceptance_rate)}`,children:[g.acceptance_rate,"%"]})]})]})})})]}),E<3&&e.jsx("div",{className:"mt-3 pt-3 border-top",children:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[E===0&&e.jsxs(e.Fragment,{children:[e.jsx(fe,{size:16,className:"text-success"}),e.jsx("small",{className:"text-success fw-bold",children:"Best Overall Performance"})]}),E===1&&e.jsxs(e.Fragment,{children:[e.jsx(he,{size:16,className:"text-info"}),e.jsx("small",{className:"text-info fw-bold",children:"Strong Track Record"})]}),E===2&&e.jsxs(e.Fragment,{children:[e.jsx(me,{size:16,className:"text-warning"}),e.jsx("small",{className:"text-warning fw-bold",children:"Reliable Option"})]})]})})]},g.id))}),e.jsx("div",{className:"mt-4 border-figma p-3",style:{backgroundColor:"var(--body-bg)"},children:e.jsxs("small",{className:"text-muted",children:[e.jsx("strong",{children:"Note:"})," Rankings are based on historical data including trip count, acceptance rate, and average pricing. Top 3 transporters are highlighted in the main list."]})})]}):e.jsxs("div",{className:"text-center py-5",children:[e.jsx(Q2,{size:48,className:"text-muted mb-3"}),e.jsx("h5",{className:"text-muted",children:"No Suggestions Available"}),e.jsx("p",{className:"text-muted",children:'Click "Get AI Suggestions" to analyze transporters for this route.'})]})})},O3=({columns:_,data:r,totalRecords:x,tableClass:y,theadClass:m,isBordered:z,currentPage:F,pageSize:d,selectedContracts:g=[],initializeBulkAssign:E,status:q,isDataSubmitted:G=!1,isAnimating:O=!1,handlePageChange:k=()=>{},handlePageSizeChange:X=()=>{},isPagination:V=!1})=>{const D=Me({columns:_,data:r,pageCount:Math.ceil(x/d),manualPagination:!0,getCoreRowModel:Ae(),getPaginationRowModel:ke(),getSortedRowModel:Ee(),getFilteredRowModel:we(),state:{pagination:{pageIndex:F-1,pageSize:d}},onPaginationChange:()=>{}}),{getHeaderGroups:Q,getRowModel:T,getPageCount:I}=D,[P,s2]=l.useState(null),[R,$]=l.useState(null),u=()=>{F<Math.ceil(x/d)&&k(F+1)},U=()=>{F>1&&k(F-1)};return e.jsxs(l.Fragment,{children:[e.jsx("div",{className:"d-flex justify-content-between align-items-center mb-2",children:e.jsx("div",{className:"d-flex justify-content-end w-100",children:!G&&g.length>1&&e.jsx(y2,{variant:"submit",label:`Assign Truck (${g?.length||0})`,onClick:E,disabled:q==="Close"||q==="Closed"||q==="Rejected"||q==="Submitted"||q==="Hired"||q==="Expired"})})}),r.length===0?e.jsx("div",{className:"container-fluid py-3",style:{border:"2px dashed #E5E7EB",borderRadius:"12px",padding:"48px 24px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"400px",textAlign:"center"},children:e.jsxs("div",{className:"d-flex flex-column align-items-center justify-content-center text-center",children:[e.jsx("div",{className:"mb-3 position-relative d-flex justify-content-center",children:e.jsx(Se,{width:56,height:56})}),e.jsx("h4",{className:"text-dark fw-bold",children:"No Contracts Available"}),e.jsx("h5",{className:"text-muted fw-normal",children:"You donât have any active contracts yet."})]})}):e.jsx("div",{className:"d-flex flex-column",children:T().rows.map((o,L)=>{const j=o.original,W=P===o.id,N=o.getVisibleCells(),b=v=>N.find(S=>S.column.columnDef.header===v||S.column.id===v),p=N.find(v=>v.column.columnDef.accessorKey==="selection"),C=b("Transporter"),A=b("Action");b("Amount");const f=b("Validity");return b("Contract Based"),e.jsxs("div",{onClick:()=>s2(W?null:o.id),className:"p-2 mb-3 d-flex flex-column flex-md-row align-items-md-center justify-content-between gap-3 transition-all shadow-none",style:{borderRadius:"12px",border:"none",outline:"none",backgroundColor:R===o.id?"var(--item-hover-bg)":"var(--card-bg)",position:"relative",curs
12or:"pointer",boxShadow:"none",transition:"background-color 0.2s ease"},onMouseEnter:()=>$(o.id),onMouseLeave:()=>$(null),children:[e.jsxs("div",{className:`d-flex align-items-center mb-3 mb-md-0 ${p?"gap-3":"gap-2"}`,children:[p&&e.jsx("div",{className:"flex-shrink-0",children:m2(p.column.columnDef.cell,p.getContext())}),e.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginLeft:"0"},children:e.jsx(Se,{width:40,height:40})}),e.jsxs("div",{children:[e.jsx("h6",{className:`fw-bold mb-1 ${W?"text-primary":"text-muted"}`,style:{fontSize:"15px"},children:C?m2(C.column.columnDef.cell,C.getContext()):"Transporter"}),e.jsx("div",{className:"text-muted d-flex align-items-center gap-2",style:{fontSize:"13px"},children:f?m2(f.column.columnDef.cell,f.getContext()):null})]})]}),e.jsxs("div",{className:"d-flex align-items-center justify-content-end gap-3 actions-container",style:{minWidth:"160px",position:"relative",minHeight:"48px"},children:[e.jsxs("div",{className:"text-end info-view",style:{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",opacity:R===o.id?0:1,transition:"opacity 0.25s ease",pointerEvents:R===o.id?"none":"auto",whiteSpace:"nowrap"},children:[e.jsxs("h6",{className:"fw-bold mb-0",style:{color:"var(--heading-color)",fontSize:"16px"},children:["â¹",j.amount]}),e.jsxs("div",{className:"d-flex flex-column align-items-end",style:{lineHeight:"1.2"},children:[e.jsx("span",{className:"text-muted",style:{fontSize:"12px"},children:j.contract_based||"Rate Basis"}),String(j.contract_based||"").toLowerCase().trim()==="quantity"&&(()=>{const v=j.remaining_volume!==void 0&&j.remaining_volume!==null?parseFloat(j.remaining_volume):j.remaining_quantity!==void 0&&j.remaining_quantity!==null?parseFloat(j.remaining_quantity):null,S=j.unit_of_volume||"MT",K=parseFloat(j.volume_commitments)||0;return v===null||isNaN(v)?null:v<=0?e.jsxs("span",{className:"badge rounded-pill mt-1",style:{backgroundColor:"#FEE2E2",color:"#DC2626",fontSize:"10px",fontWeight:600,padding:"2px 6px"},children:["0 ",S," (Exhausted)"]}):K>0&&v<=.1*K?e.jsxs("span",{className:"badge rounded-pill mt-1",style:{backgroundColor:"#FEF3C7",color:"#D97706",fontSize:"10px",fontWeight:600,padding:"2px 6px"},children:[Number(v).toLocaleString()," ",S," Available. (Low)"]}):e.jsxs("span",{className:"badge rounded-pill mt-1",style:{backgroundColor:"#ECFDF5",color:"#059669",fontSize:"10px",fontWeight:600,padding:"2px 6px"},children:[Number(v).toLocaleString()," ",S," Available."]})})()]})]}),e.jsx("div",{className:"button-view",style:{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",opacity:R===o.id?1:0,transition:"opacity 0.25s ease",pointerEvents:R===o.id?"auto":"none"},children:A?m2(A.column.columnDef.cell,A.getContext()):null})]})]},o.id)})}),V&&r.length>0&&x>10&&e.jsxs("div",{className:"d-flex justify-content-between align-items-center mt-4 pt-3 border-top",children:[e.jsx("div",{className:"d-flex align-items-center",children:e.jsx("select",{className:"form-select form-select-sm border-0 bg-light",style:{width:"auto"},value:d,onChange:o=>X(Number(o.target.value)),children:[5,10,20,30,40].map(o=>e.jsxs("option",{value:o,children:["Show ",o]},o))})}),e.jsxs("div",{className:"text-muted small",children:["Showing ",(F-1)*d+1," to ",Math.min(F*d,x)," of"," ",x," Results"]}),e.jsx("div",{className:"dataTables_paginate paging_simple_numbers pagination-rounded",children:e.jsxs("ul",{className:"pagination mb-0",children:[e.jsx("li",{className:`page-item ${F===1?"disabled":""}`,children:e.jsx("button",{className:"page-link border-0",onClick:U,children:e.jsx("i",{className:"mdi mdi-chevron-left"})})}),e.jsx("li",{className:"page-item active",children:e.jsx("button",{className:"page-link border-0 bg-primary",children:F})}),e.jsx("li",{className:`page-item ${F>=Math.ceil(x/d)?"disabled":""}`,children:e.jsx("button",{className:"page-link border-0",onClick:u,children:e.jsx("i",{className:"mdi mdi-chevron-right"})})})]})})]})]})},S2={...Fe},P3=({isOpen:_,toggle:r,assignTruckData:x,setAssignTruckData:y,inquiryDetails:m,inquiry_id:z,onSaveSuccess:F,noOfTruck:d,quantity:g})=>{const[E,q]=l.useState({}),[G,O]=l.useState(!1),[k,X]=l.useState(!1),[V,D]=l.useState({}),[Q,T]=l.useState(0);Ze(),l.useEffect(()=>{_&&(x||[]).length>0&&(P(),I())},[_,z]);const I=()=>
12{if((x||[]).length===1&&x[0]){const L=[...x];L[0].no_of_truck||(L[0].no_of_truck=d||""),L[0].assigned_quantity||(L[0].assigned_quantity=g||""),y(L)}},P=async()=>{try{if(O(!0),z){const o=await b2(`/contract/getContractList/${z}`);if(o&&o.data&&o.data.length>0){const L={};(x||[]).forEach(j=>{const W=o.data.find(N=>N.contract_id===j.quote_id);W&&(L[j.quote_id]=W)}),q(L)}}}catch(o){console.error("Error fetching contract details",o)}finally{O(!1)}},s2=(x||[]).length===1,R=async()=>{let o={},L=!1;const j=(x||[]).reduce((p,C)=>p+(parseInt(C.assigned_quantity)||0),0),W=(x||[]).reduce((p,C)=>p+(parseInt(C.no_of_truck)||0),0),N=m?.quantity?parseInt(m.quantity):null,b=m?.no_of_truck?parseInt(m.no_of_truck):null;if(N!==null&&j!==N){H.error(`Total quantity assigned (${j}) ${j>N?"exceeds":"is less than"} inquiry quantity (${N})`);return}if(b!==null&&b>0&&W!==b){H.error(`Total trucks assigned (${W}) ${W>b?"exceeds":"is less than"} inquiry trucks (${b})`);return}if((x||[]).forEach((p,C)=>{(!p.no_of_truck||p.no_of_truck.toString().trim()==="")&&(o[`${C}_no_of_truck`]=!0,L=!0),(!p.assigned_quantity||p.assigned_quantity.toString().trim()==="")&&(o[`${C}_assigned_quantity`]=!0,L=!0)}),D(o),!L)try{X(!0);const p={inquiry_id:z,transporter_list:(x||[]).map(A=>({id:A.transporter_id,amount:A.amount,contract_number:A.quote_id,contract_based:E[A.quote_id]?.contract_based||"N/A",no_of_truck:parseInt(A.no_of_truck),assigned_quantity:parseInt(A.assigned_quantity),approver_remark:A.remark||"",truck_detail:A.trucks.filter(f=>f.truck_number||f.driver_name||f.driver_mobile||f.license_number)}))};let C;if(s2){const A=(x||[])[0],f=A.trucks.filter(S=>S.truck_number||S.driver_name||S.driver_mobile||S.license_number),v={inquiry_id:z,transporter_id:A.transporter_id,amount:A.amount,contract_number:A.quote_id,contract_based:E[A.quote_id]?.contract_based||"N/A",approver_remark:A.remark||"",assigned_quantity:parseInt(A.assigned_quantity),no_of_truck:parseInt(A.no_of_truck),truck_detail:f.length>0?f:[]};C=await Z2("/quotes/assignQuotationforContract",v)}else C=await Z2("/quotes/assignQuotationforMultipleContract",p);C.error?H.error(C.message||"Failed to save truck assignments"):(H.success("Truck assignments saved successfully!"),X(!1),r(),F&&F())}catch(p){console.error("Error saving truck transporter list:",p),H.error("Failed to save truck transporter list")}finally{X(!1)}},$=(x||[])[0]||{},u=E[$.quote_id]||$,U=(x||[]).length>1;return e.jsx(K2,{isOpen:_,toggle:r,title:e.jsxs("div",{className:"d-flex align-items-center gap-3",children:[e.jsx("div",{className:"d-flex flex-column",children:U?e.jsx(e.Fragment,{children:e.jsxs("span",{className:"fw-bold text-dark fs-4",children:["#TR",z]})}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"fw-bold text-dark fs-4",children:u.organization_name||u.transporter_name||"N/A"}),e.jsx("span",{className:"text-muted mt-1",style:{fontSize:"14px"},children:u.transporter_person||u.contact_person||"N/A"})]})}),e.jsxs("span",{className:"d-flex align-items-center rounded-pill",style:{padding:"6px 16px",gap:"6px",border:"1px solid #91FEEA",backgroundColor:"#EFFEFB",color:"#0A6560",fontSize:"13px",fontWeight:"600"},children:[e.jsx("i",{className:"bx bxs-map"})," ",u.pickup_location||"N/A"]})]}),width:"40%",footer:e.jsxs("div",{className:"d-flex justify-content-between align-items-center w-100",children:[e.jsx(y2,{variant:"cancel",label:"Cancel",onClick:r,disabled:k}),e.jsx(y2,{variant:"submit",label:k?"Saving...":s2?"Save":"Save All",onClick:R,icon:k?e.jsx(z2,{size:"sm"}):e.jsx("i",{className:"bx bx-right-arrow-alt"}),iconPosition:"right",disabled:k})]}),children:e.jsxs("div",{className:"d-flex flex-column gap-4",style:{height:"auto",overflowY:"auto",overflowX:"hidden",scrollbarWidth:"none",msOverflowStyle:"none",WebkitOverflowScrolling:"touch",minHeight:"auto"},children:[e.jsx("style",{children:"::-webkit-scrollbar { display: none; }"}),(x||[]).map((o,L)=>{const j=E[o.quote_id]||o,W=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"p-4 rounded-12 text-white position-relative",style:{background:"#008D86",minHeight:"auto"},children:e.jsxs("div",{className:"d-flex justify-content-between align-items-start",children:[e.jsxs("div",{children:[e.jsx("div",{className:"mb-1 text-white",style:{fontSize:"14px"}
12,children:"Contract Amount"}),e.jsxs("div",{className:"fw-bold text-white mb-1",style:{fontSize:"3rem",lineHeight:"1.2"},children:["â¹",j.amount?Number(j.amount).toLocaleString("en-IN"):"0"]}),e.jsx("div",{className:"small text-white",style:{fontSize:"14px"},children:j.contract_based==="Rate"?"per Metric Ton":"per Trip"})]}),e.jsx("div",{className:"bg-dark bg-opacity-25 rounded px-2 py-1 text-white",style:{fontSize:"14px",backgroundColor:"rgba(0,0,0,0.2)"},children:"Active Contract"})]})}),e.jsx("div",{className:"mt-3 mb-3",children:e.jsx($2,{title:"Contract Details",defaultOpen:!U,children:e.jsxs("div",{className:"d-flex flex-column gap-3",children:[e.jsxs("div",{className:"d-flex align-items-center",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Contract ID"}),e.jsx("div",{style:{width:"60%",fontSize:"14px",fontWeight:"600"},children:j.contract_id||j.quote_id||"N/A"})]}),e.jsxs("div",{className:"d-flex align-items-center",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Type"}),e.jsx("div",{style:{width:"60%",fontSize:"14px",fontWeight:"600"},children:j.contract_based||"N/A"})]}),e.jsxs("div",{className:"d-flex align-items-start",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Shipper's Name"}),e.jsx("div",{style:{width:"60%",fontSize:"14px",fontWeight:"600"},children:j.plant_name||"N/A"})]}),e.jsxs("div",{className:"d-flex align-items-center",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Pickup Location"}),e.jsxs("div",{className:"text-primary d-flex align-items-center gap-1",style:{width:"60%",fontSize:"14px",fontWeight:"600"},children:[e.jsx("i",{className:"bx bxs-map"})," ",j.pickup_location||"N/A"]})]}),e.jsxs("div",{className:"d-flex align-items-center",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Delivery Location"}),e.jsx("div",{style:{width:"60%",fontSize:"14px",fontWeight:"600"},children:j.delivery_location||"N/A"})]}),e.jsxs("div",{className:"d-flex align-items-start",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Approved Vehicles"}),e.jsx("div",{style:{width:"60%"},children:e.jsx("div",{className:"d-flex flex-wrap gap-2",children:(j.truck_type||[]).map((N,b)=>e.jsx("span",{className:"badge px-2 py-1 fw-semibold text-primary",style:{backgroundColor:"#EFFEFB",fontSize:"14px",color:"#0A6560"},children:N},b))})})]}),e.jsxs("div",{className:"d-flex align-items-start",children:[e.jsx("div",{className:"text-muted",style:{width:"40%",fontSize:"14px",fontWeight:"500"},children:"Documents Mandated"}),e.jsx("div",{style:{width:"60%"},children:e.jsx("div",{className:"d-flex flex-wrap gap-2",children:(j.requiredDocuments||[]).map((N,b)=>e.jsx("span",{className:"badge text-dark px-2 py-1 fw-semibold",style:{backgroundColor:"#EFEFF1",fontSize:"14px"},children:N},b))})})]})]})})}),e.jsxs("div",{className:"p-3 border-figma rounded-8 mb-3",children:[e.jsxs("h6",{className:"fw-bold mb-3 text-dark",children:["Assign Trucks - ",o.organization_name]}),e.jsxs(N2,{className:"align-items-center mb-3",children:[e.jsx(Y,{md:"6",children:e.jsxs(_2,{className:"mb-0",children:[e.jsxs(i2,{children:["Number of Trucks ",U&&e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsx(r2,{style:S2,type:"number",min:"1",value:o.no_of_truck||"",onChange:N=>{const b=N.target.value;if(b===""||/^[1-9]\d*$/.test(b)){const p=[...x],C=parseInt(b)||0;p[L].no_of_truck=b,C>0&&!U?p[L].trucks=Array.from({length:C},(A,f)=>p[L].trucks?.[f]||{truck_number:"",driver_name:"",driver_mobile:"",license_number:"",additional_info:""}):C>0?p[L].trucks=Array.from({length:C},(A,f)=>p[L].trucks?.[f]||{truck_number:"",driver_name:"",driver_mobile:"",license_number:"",additional_info:""}):p[L].trucks=[],y(p),V[`${L}_no_of_truck`]&&D(A=>{const f={...A};return delete f[`${L}_no_of_truck`],f})}}
12,placeholder:"Enter number of trucks",invalid:!!V[`${L}_no_of_truck`]}),V[`${L}_no_of_truck`]&&e.jsx("div",{className:"text-danger small",children:"Number of trucks is required"})]})}),e.jsx(Y,{md:"6",children:e.jsxs(_2,{className:"mb-0",children:[e.jsxs(i2,{children:["Quantity ",U&&e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsxs("div",{className:"d-flex gap-2",children:[e.jsx(r2,{type:"number",min:"1",value:b3(o.assigned_quantity),onChange:N=>{const b=N.target.value;if(b===""||/^[1-9]\d*$/.test(b)){const p=[...x];p[L].assigned_quantity=b,y(p),V[`${L}_assigned_quantity`]&&D(C=>{const A={...C};return delete A[`${L}_assigned_quantity`],A})}},placeholder:"Enter quantity",invalid:!!V[`${L}_assigned_quantity`],style:{...S2,flex:2}}),e.jsx(r2,{type:"select",className:"form-select",value:"Metric Ton",style:{flex:1,minWidth:"120px"},disabled:!0,children:e.jsx("option",{value:"Metric Ton",children:"Metric Ton"})})]}),V[`${L}_assigned_quantity`]&&e.jsx("div",{className:"text-danger small",children:"Quantity assigned is required"})]})})]}),o.trucks&&o.trucks.length>0&&e.jsx($2,{title:`Truck Details (${o.trucks.length} trucks)`,defaultOpen:!1,children:e.jsx("div",{className:"d-flex flex-column gap-3",children:o.trucks.map((N,b)=>e.jsx($2,{title:`Truck ${b+1} ${N.truck_number?`(${N.truck_number})`:""}`,defaultOpen:!1,children:e.jsxs(N2,{children:[e.jsx(Y,{md:"6",children:e.jsxs(_2,{children:[e.jsx(i2,{children:"Truck Number"}),e.jsx(r2,{type:"text",style:S2,value:N.truck_number,onChange:p=>{const C=[...x];C[L].trucks[b].truck_number=p.target.value,y(C)},placeholder:"Enter truck number"})]})}),e.jsx(Y,{md:"6",children:e.jsxs(_2,{children:[e.jsx(i2,{children:"Driver's Name"}),e.jsx(r2,{type:"text",style:S2,value:N.driver_name,onChange:p=>{const C=[...x];C[L].trucks[b].driver_name=p.target.value,y(C)},placeholder:"Enter driver's name"})]})}),e.jsx(Y,{md:"6",children:e.jsxs(_2,{children:[e.jsx(i2,{children:"Driver's Mobile"}),e.jsx(r2,{type:"text",style:S2,value:N.driver_mobile,onChange:p=>{const C=p.target.value;if(C===""||/^[0-9]+$/.test(C)){const A=[...x];A[L].trucks[b].driver_mobile=C,y(A)}},placeholder:"Enter driver's mobile"})]})}),e.jsx(Y,{md:"6",children:e.jsxs(_2,{children:[e.jsx(i2,{children:"License Number"}),e.jsx(r2,{type:"text",style:S2,value:N.license_number,onChange:p=>{const C=[...x];C[L].trucks[b].license_number=p.target.value,y(C)},placeholder:"Enter license number"})]})}),e.jsx(Y,{md:"12",children:e.jsxs(_2,{children:[e.jsx(i2,{children:"Additional Information"}),e.jsx(r2,{type:"textarea",style:S2,rows:"2",value:N.additional_info,onChange:p=>{const C=[...x];C[L].trucks[b].additional_info=p.target.value,y(C)},placeholder:"Enter additional information"})]})})]})},b))})})]}),e.jsx("div",{className:"p-3 border-figma rounded-8",children:e.jsxs(_2,{children:[e.jsxs(i2,{className:"fw-bold",children:["Approver Remark ",e.jsx("span",{className:"text-danger",children:"*"})]}),e.jsx(r2,{type:"textarea",style:S2,rows:"3",value:o.remark||"",onChange:N=>{const b=[...x];b[L].remark=N.target.value,y(b)},placeholder:"Enter approver remark"})]})})]});return U?e.jsx($2,{title:e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx(y3,{name:o.organization_name,size:36}),j.organization_name||j.transporter_name||"Contract"," ",e.jsxs("span",{style:{marginLeft:"10px",background:"#EFF7FF",borderRadius:"8px",padding:"2px 7px",color:"#1F69F1"},children:["â¹",j.amount?Number(j.amount).toLocaleString("en-IN"):"0"]})]}),isOpen:Q===L,toggle:()=>T(Q===L?-1:L),children:W},o.quote_id):e.jsx("div",{children:W},o.quote_id)})]})})},W3=({inquiry_id:_,status:r,onTruckAssigned:x,contractsData:y,setContractsData:m,total:z,setTotal:F,getContractData:d,inquiryViewData:g,searchTerm:E})=>{document.title="Contract List | LogystiX";const[q,G]=l.useState({offset:0,limit:10,search:sessionStorage.getItem("contractsFind")||"",order:"asc"}),[O,k]=l.useState(""),[X,V]=l.useState(!1),[D,Q]=l.useState(!1),[T,I]=l.useState(null),[P,s2]=l.useState([]),[R,$]=l.useState([]),[u,U]=l.useState([]),[o,L]=l.useState(!1),j=async()=>
12{try{const f=await b2("/vendor/transporterDropdown");s2(f.data)}catch(f){console.error("Error fetching transporters:",f)}};l.useEffect(()=>{j()},[_,r]);const W=f=>f?new Date(f).toLocaleDateString("en-GB"):"N/A",N=f=>{I(f),U([{...f,transporter_name:P.find(v=>v.value===f?.transporter_id)?.label,organization_name:P.find(v=>v.value===f?.transporter_id)?.label,quote_id:f?.contract_id,trucks:[],remark:""}]),Q(!0),k("")},b=f=>{R.some(v=>v.contract_id===f.contract_id)?$(R.filter(v=>v.contract_id!==f.contract_id)):$([...R,f])},p=()=>{R.length===y?.length?$([]):$(y||[])},C=()=>{if(R.length===0){H.warning("Please select at least one contract");return}const f=R.map(v=>({...v,transporter_name:P.find(S=>S.value===v.transporter_id)?.label,organization_name:P.find(S=>S.value===v.transporter_id)?.label,quote_id:v.contract_id,trucks:[],no_of_truck:0,assigned_quantity:0,remark:""}));U(f),I(null),Q(!0),k("")},A=l.useMemo(()=>[{header:"Sr. No.",accessorKey:"sr_no",enableColumnFilter:!1,enableSorting:!1,cell:S=>e.jsx("div",{className:"text-body fw-bold",children:S.row.index+1})},...!o&&r!=="Hired"&&r!=="Submitted"?[{header:()=>e.jsx("input",{type:"checkbox",checked:R.length>0&&R.length===y?.length,onClick:p,disabled:y?.length===0}),accessorKey:"selection",enableColumnFilter:!1,enableSorting:!1,cell:S=>e.jsx("input",{type:"checkbox",checked:R.some(K=>K.contract_id===S.row.original.contract_id),onClick:()=>b(S.row.original),disabled:r==="Close"||r==="Closed"||r==="Rejected"||r==="Submitted"||r==="Hired"||r==="Expired"})}]:[],{header:"Contract Id",accessorKey:"contract_id",enableColumnFilter:!1,enableSorting:!1,cell:S=>e.jsx("div",{className:"text-body fw-bold",children:S.row.original?.contract_id})},{header:"Contract Based",accessorKey:"contract_based",enableColumnFilter:!1,enableSorting:!1,cell:S=>e.jsx("div",{className:"text-body fw-bold",children:S.row.original?.contract_based})},{header:"Transporter",accessorKey:"transporter_id",enableColumnFilter:!1,enableSorting:!0,cell:S=>{const K=P.find(n2=>n2.value===S.row.original?.transporter_id);return K?K.label:"N/A"}},{header:"Amount",accessorKey:"amount",enableColumnFilter:!1,enableSorting:!0,cell:S=>e.jsx("div",{className:"text-body fw-bold",children:S.row.original?.amount})},{header:"Validity",accessorKey:"validity",enableColumnFilter:!1,enableSorting:!0,cell:S=>{const K=S.row.original?.start_date,n2=S.row.original?.end_date;return`${W(K)} to ${W(n2)}`}},{header:"Action",accessorKey:"assign_truck",enableColumnFilter:!1,enableSorting:!1,cell:S=>e.jsx(y2,{variant:"continue",label:"Assign Truck",disabled:r==="Close"||r==="Closed"||r==="Rejected"||r==="Submitted"||r==="Hired"||r==="Expired",onClick:()=>N(S.row.original)})}],[P,R,y,r,o]);return e.jsx(e.Fragment,{children:e.jsxs("div",{children:[y==null?e.jsx(G2,{children:e.jsx(N2,{className:"justify-content-center align-items-center",style:{height:"50vh"},children:e.jsx(Y,{className:"text-center",children:e.jsx(U2,{})})})}):e.jsx(N2,{children:e.jsx(Y,{lg:"12",children:e.jsx("div",{children:e.jsx(O3,{columns:A,data:(y||[]).filter(f=>{if(!E)return!0;const v=E.toLowerCase(),S=P.find(n2=>n2.value===f.transporter_id),K=S?S.label.toLowerCase():"";return f.amount&&f.amount.toString().toLowerCase().includes(v)||f.contract_id&&f.contract_id.toString().toLowerCase().includes(v)||K&&K.includes(v)}),totalRecords:z||0,currentPage:q.offset/q.limit+1,pageSize:q.limit,tableClass:"expenses-list-table align-middle table-nowrap dt-responsive nowrap w-100 table-borderless dataTable no-footer dtr-inline justify-content-center",theadClass:"table-light justify-content-center",isBordered:!1,selectedContracts:R,initializeBulkAssign:C,status:r,isDataSubmitted:o,isPagination:!0,handlePageChange:f=>G(v=>({...v,offset:(f-1)*q.limit})),handlePageSizeChange:f=>G(v=>({...v,limit:f,offset:0}))})})})}),e.jsx(P3,{isOpen:D,toggle:()=>Q(!1),assignTruckData:u,setAssignTruckData:U,inquiry_id:_,noOfTruck:g?.no_of_truck,quantity:g?.quantity||g?.assigned_quantity,inquiryDetails:g,onSaveSuccess:()=>{x(),Q(!1),$([])}})]})})},Q3=()=>e.jsxs("div",{className:"bg-white",style:{borderRadius:"12px"},children:[e.jsx("style",{children:` 13 .skeleton { 14 background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); 15 background-size: 200% 100%; 16 animation: loading 1.5s infinite; 17 border-radius: 4px; 18 } 19 20 @keyframes loading { 21 0% { background-position: 200% 0; } 22 100% { background-position: -200% 0; } 23 } 24 `}),e.jsxs("div",{className:"mb-3",children:[e.jsx("div",{className:"skeleton",style:{height:"24px",width:"200px",marginBottom:"8px"}}),e.jsx("div",{className:"skeleton",style:{height:"16px",width:"300px"}})]}),e.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3",children:[e.jsx("div",{className:"skeleton",style:{height:"40px",width:"250px",borderRadius:"12px"}}),e.jsx("div",{className:"skeleton",style:{height:"38px",width:"38px",borderRadius:"8px"}})]}),e.jsx("div",{className:"mb-4",children:e.jsx("div",{className:"skeleton",style:{height:"48px",width:"100%",borderRadius:"12px"}})}),[1,2,3,4,5].map(_=>e.jsxs("div",{className:"d-flex flex-column flex-md-row align-items-md-center p-3 mb-3",style:{borderRadius:"12px",border:"1px solid #E5E7EB"},children:[e.jsxs("div",{className:"d-flex align-items-center gap-3 flex-grow-1 mb-3 mb-md-0",children:[e.jsx("div",{className:"skeleton",style:{width:"40px",height:"40px",borderRadius:"50%"}}),e.jsxs("div",{style:{flex:1},children:[e.jsx("div",{className:"skeleton",style:{height:"16px",width:"180px",marginBottom:"8px"}}),e.jsx("div",{className:"skeleton",style:{height:"14px",width:"120px"}})]})]}),e.jsxs("div",{className:"d-flex align-items-center gap-2",children:[e.jsx("div",{className:"skeleton",style:{height:"40px",width:"100px",borderRadius:"8px"}}),e.jsx("div",{className:"skeleton",style:{height:"40px",width:"40px",borderRadius:"8px"}}),e.jsx("div",{className:"skeleton",style:{height:"40px",width:"40px",borderRadius:"8px"}})]})]},_))]}),Y3=({neg:_,onClick:r})=>{const[x,y]=l.useState(!1);if(!_||!_.status)return null;const m=(_.status||"").toUpperCase();let z="#F3F4F6",F="#4B5563",d="#E5E7EB",g=m;if(m==="AGREED"||_.agreed_rate)z="#DCFCE7",F="#15803D",d="#86EFAC",g=`Agreed: â¹${Number(_.agreed_rate).toLocaleStr
24ing("en-IN")}`;else if(m==="ESCALATE"||m==="AWAITING_APPROVAL"){z="#F3E8FF",F="#7E22CE",d="#D8B4FE";const E=_.latest_offer||_.first_offer;g=E?`Escalated: â¹${Number(E).toLocaleString("en-IN")}`:"Escalated"}else m==="COUNTERED"||m==="OFFERED"||_.latest_offer?(z="#DBEAFE",F="#1D4ED8",d="#93C5FD",g=`Counter: â¹${Number(_.latest_offer).toLocaleString("en-IN")}`):m==="OUT_OF_BAND"?(z="#FFEDD5",F="#C2410C",d="#FDBA74",g="Out of Band"):m==="CONTACTED"||m==="ENGAGED"||m==="PENDING"?(z="#FEF9C3",F="#A16207",d="#FDE047",g=`Negotiating (R${_.current_round||1})`):(m==="NO_DEAL"||m==="DECLINED")&&(z="#FEE2E2",F="#B91C1C",d="#FCA5A5",g="No Deal");return e.jsxs("div",{className:"d-inline-flex align-items-center rounded-pill",onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),style:{backgroundColor:z,color:F,border:`1px solid ${d}`,fontSize:"11px",fontWeight:600,cursor:"pointer",whiteSpace:"nowrap",height:"26px",padding:x?"3px 10px":"3px 6px",transition:"all 0.25s cubic-bezier(0.4, 0, 0.2, 1)",boxShadow:x?"0 2px 6px rgba(0,0,0,0.08)":"none",overflow:"hidden"},title:`Click to open quotation drawer ⢠Status: ${m}`,onClick:r,children:[e.jsx(L2,{size:14,stroke:1.75,style:{flexShrink:0}}),e.jsx("span",{style:{maxWidth:x?"200px":"0px",opacity:x?1:0,marginLeft:x?"5px":"0px",transition:"all 0.25s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",whiteSpace:"nowrap",display:"inline-block"},children:g})]})},G3=_=>{document.title="Transporter Listing | Admin Panel",Ze();const r=_.inquiryId,x=_.onQuotationUpdated,[y,m]=l.useState([]),{isEnabled:z}=D3(),F=l.useMemo(()=>y.length>1?y.filter(z3):[],[y]);l.useEffect(()=>{if(!r||!z)return;let t=!0;return(async()=>{try{const c=await R3(r),t2=c?.data?.legs||c?.data||[],C2=Array.isArray(t2)?t2:[];if(!t)return;m(C2)}catch{t&&m([])}})(),()=>{t=!1}},[r,z]);const[d,g]=l.useState(""),E=A2.checkReadPermission("auto_negotiation"),[q,G]=l.useState([]),[O,k]=l.useState(null),[X,V]=l.useState([]),[D,Q]=l.useState({offset:0,limit:10,search:window.sessionStorage.getItem("Transporter_Find")||""}),[T,I]=l.useState(!0),[P,s2]=l.useState(0),[R,$]=l.useState(!1),[u,U]=l.useState(!0),[o,L]=l.useState(!1),[j,W]=l.useState(null),[N,b]=l.useState({offset:0,limit:5,search:""}),[p,C]=l.useState(0),[A,f]=l.useState(!0),[v,S]=l.useState(!1),[K,n2]=l.useState(!1),[o2,M2]=l.useState(null),[l2,v2]=l.useState(1),[u2,p2]=l.useState("Contract"),[Z,e2]=l.useState([]),[J,s]=l.useState(0),[i,w]=l.useState({offset:0,limit:10,search:""}),[M,h]=l.useState(!0),[n,d2]=l.useState(!1),[a2,B]=l.useState([1]),[c2,J2]=l.useState(!1),[R2,V2]=l.useState(null),[Re,X2]=l.useState(!1),[ee,te]=l.useState(null),[De,se]=l.useState(!1),[Be,D2]=l.useState(!1),[h2,B2]=l.useState(null),[Te,le]=l.useState(null),[ae,ie]=l.useState(!1),[w2,ne]=l.useState([]),[Ie,E2]=l.useState(!1),[re,$e]=l.useState(!1);l.useEffect(()=>{if(!re&&Z!==null&&q!==null){const t=Z.length>0,a=q.length>0;p2(!t&&a?"Transporters":"Contract"),$e(!0)}},[Z,q,re]);const T2=async(t,a=!1)=>{try{d2(!0);const{offset:c,limit:t2,search:C2}=i,g2=await b2(`/contract/getContractList/${t}?offset=${c}&limit=${t2}&search=${C2}`);if(g2&&g2.data){const j2=Array.isArray(g2.data)?g2.data:g2?.data?.contractListing||[],W2=g2?.data?.total??g2?.total??(j2.length>0?j2[0].total??j2.length:0);s(W2),a?e2(o3=>{const xe=[...o3,...j2];return h(xe.length<W2),xe}):(e2(j2),h(j2.length<W2))}else a||(e2([]),s(0)),h(!1)}catch(c){console.error("Error fetching contract data",c)}finally{d2(!1)}},qe=()=>{!n&&M&&w(t=>({...t,offset:t.offset+t.limit}))};l.useEffect(()=>{if(r){const t=D.offset>0;oe(r,t)}},[D,r]),l.useEffect(()=>{r&&de(r)},[r]),l.useEffect(()=>{if(r){const t=i.offset>0;T2(r,t)}},[i,r]);const oe=async(t,a=!1)=>{try{a||U(!0),$(!0);const c=await b2(`/inquiry/getTransporter?inquiry_id=${t}&offset=${D.offset}&limit=${D.limit}&search=${D.search}`);if(g(c?.status||"Open"),c?.transporters?.length>0){const t2=c.transporters,C2=t2[0].total??t2.length;s2(C2),a?G(g2=>{const j2=[...g2,...t2];return I(j2.length<C2),j2}):(G(t2),I(t2.length<C2))}else a||(G([]),s2(0)),I(!1)}catch(c){console.error("Error fetching transporter data",c)}finally{$(!1),U(!1)}},Ve=()=>{!R&&T&&Q(t=>({...t,offset:t.offset+t.limit}))},de=async t=>{try{$(!0);const a=await b2(`/inquiry/listing/${t}`);k(a?.data[0])}catch{console.error("Failed to load quotation details.")}finally{$(!1)}},He=async(t,a)=>{try{$(!0);const c=await b2(`/call/getCallHistory?inquiry_id=${t}&transporter_id=${a}&offset=${N.offset}&limit=${N.limit}&search=${N.search}`);c.error===!1?(V(c.data),C(c.data[0]?.total||0)):(V([]),C(0))}catch(c){console.error("Error fetching call history",c)}finally{$(!1)}},Oe=C3.debounce(t=>{window.sessionStorage.setItem("Transporter_Find",t),Q({...D,search:t,offset:0})},800),Pe=ue(t=>{w(a=>({...a,search:t,offset:0}))},800),We=ue(t=>{window.sessionStorage.setItem("call-history",t),b(a=>({...a,search:t,offset:0}))},800),Qe=t=>{Q(a=>({...a,offset:(t-1)*D.limit}))},Ye=t=>{b(a=>({...a,offset:(t-1)*D.limit}))},Ge=t=>{Q(a=>({...a,limit:t,offset:0}))},Ue=t=>{b(a=>({...a,limit:t,offset:0}))},Ke=async()=>{se(!0),u2==="Transporters"?Q(t=>({...t,offset:0})):await T2(r),setTimeout(()=>se(!1),600)},ce=async(t,a,c,t2)=>{B2({inquiry_id:t,transporter_id:a,transporter_name:c,mobile_number:t2}),D2(!0)},Je=async()=>
24{if(!h2)return;const t={inquiry_id:h2.inquiry_id,transporter_id:h2.transporter_id,transporter_name:h2.transporter_name,mobile_number:h2.mobile_number};try{W(h2.transporter_id),(await Z2("/call/click-to-call",t,{headers:{"Content-Type":"application/json"}})).error===!1&&(H.success("Call initiated successfully!"),Q(c=>({...c,offset:0})))}catch(a){console.error("Error Response:",a.response.data)}finally{W(null),D2(!1),B2(null)}},Xe=async t=>{const a={inquiry_id:r,transporter_id:t};try{te(t);const c=await Z2("vendor/send-token-for-quotation-fillup",a);c.error===!1&&H.success(c?.message||"Email and whatsapp message sent successfully")}catch(c){console.error("Error Response:",c)}finally{te(null)}},H2=()=>{L(!1)},O2=(t=null)=>{t&&V2(t),J2(!c2)},e3={transition:"all 0.2s ease",display:"inline-block"},t3=l.useMemo(()=>[{header:"Sr",accessorKey:"sr",cell:({row:t})=>{const a=n3(t.original.id);return e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[e.jsx("span",{children:t.original.sr}),a&&e.jsxs("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",backgroundColor:a===1?"#8B5CF6":a===2?"#3B82F6":"#10B981",borderRadius:"6px",padding:"4px 8px",gap:"4px"},title:`AI Recommended #${a}`,children:[e.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{animation:"pulse 2s ease-in-out infinite"},children:[e.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5z"}),e.jsx("path",{d:"M2 17l10 5 10-5"}),e.jsx("path",{d:"M2 12l10 5 10-5"})]}),e.jsxs("span",{style:{fontSize:"10px",fontWeight:"bold",color:"#fff"},children:["#",a]})]})]})}},{header:"Company Name",accessorKey:"organization_name"},{header:"Contact Person",accessorKey:"name"},{header:"Email",accessorKey:"email"},{header:"Mobile Number",accessorKey:"mobile_number"},...A2.checkPermission("Show Call & History","read")&&!(d==="Hired"||d==="hired")?[{header:"Call",cell:({row:t})=>j==t.original.id?e.jsx(z2,{size:"sm"}):e.jsx(x2,{color:"link",disabled:d==="Generated"||d==="Submitted"||d==="Close"||d==="Closed"||d==="Rejected"||d==="Expired",onClick:()=>ce(r,t.original.id,t.original.name,t.original.mobile_number),children:e.jsx(f2,{text:`Call ${t.original.name}`,placement:"top",children:e.jsx("i",{className:"mdi mdi-phone font-size-20"})})})}]:[],...A2.checkPermission("Show Call & History","read")?[{header:"Call History",cell:({row:t})=>e.jsx(f2,{text:`View Call History for ${t.original.name}`,placement:"top",children:e.jsx("i",{className:"mdi mdi-history font-size-20",style:{cursor:"pointer",color:t.original.has_call_history?"green":"#007bff",transition:"all 0.2s ease"},onMouseEnter:a=>{a.target.style.transform="scale(1.2)",a.target.style.color=t.original.has_call_history?"#10B981":"#1E40AF"},onMouseLeave:a=>{a.target.style.transform="scale(1)",a.target.style.color=t.original.has_call_history?"green":"#007bff"},onClick:()=>{V2(t.original),X2(!0)}})})}]:[],...E?[{header:"Negotiation",cell:({row:t})=>e.jsx(Y3,{neg:t.original.negotiation_info,onClick:a=>{a.stopPropagation(),O2(t.original)}})},{header:"Voice Consent",cell:({row:t})=>e.jsxs(x2,{color:"light",size:"sm",className:"btn-rounded d-inline-flex align-items-center gap-1 px-2 py-1 border",style:{fontSize:"11px",fontWeight:600,color:"#1E40AF",backgroundColor:"#EFF6FF",borderColor:"#BFDBFE"},title:"Send 1-Click Voice Negotiation Consent Email",onClick:async a=>{a.stopPropagation();try{H.info(`Sending voice consent email to ${t.original.name}...`);const c=await B3({transporter_ids:[t.original.id]});c&&!c.error?H.success(`Voice consent email sent to ${t.original.email||t.original.name}!`):H.error(c?.message||"Failed to send email")}catch{H.error("Failed to send consent email")}},children:[e.jsx("i",{className:"mdi mdi-email-fast font-size-14 text-primary"}),e.jsx("span",{children:"Send Consent"})]})}]:[],...d!=="Hired"&&d!=="hired"?[{header:"Re-send",cell:({row:t})=>e.jsx("div",{"data-action":"resend",style:e3,onMouseEnter:a=>a.currentTarget.style.transform="translateY(-2px)",onMouseLeave:a=>a.currentTarget.style.transform="translateY(0)",children:(()=>{const a=d==="Close"||d==="Closed"||d==="Rejected"||d==="Submitted"||d==="Expired"||t.original.has_quote,c=ee===t.original.id;return a?null:e.jsx("button",{disabled:c,style:{backgroundColor:"#fff",color:"#000",border:"1px solid #E5E7EB",borderRadius:"8px",padding:"0 12px",fontSize:"12px",cursor:c?"not-allowed":"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"6px",height:"40px",width:"auto",opacity:c?.6:1,transition:"all 0.2s ease"},onClick:()=>Xe(t.original.id),children:c?e.jsxs(e.Fragment,{children:[e.jsx(z2,{size:"sm"})," Sending..."]}):e.jsxs(e.Fragment,{children:[e.jsx(g3,{size:14,strokeWidth:2}),"Resend"]})})})()})}]:[]],[j,ee,d,r,w2]),s3=t=>{const a=k2(t),c=a.year(),t2=a.month()+1,C2=a.date();return`${c}/${t2}/${C2}`},l3=async t=>{if(S(!0),t?.transcript_data)M2(JSON.parse(t?.transcript_data));else{n2(!0);const a={id:t?.call_id,inquiry_id:t?.inquiry_id,transporter_id:t?.transporter_id,correlation_id:t?.correlation_id,call_date:s3(t?.created_at)};try{const c=await b2(A2.createUrl("/call/get-transcript",a));M2(c?.data),n2(!1)}
24catch(c){n2(!1),console.log("handleTranscriptModal error => ",c)}}},P2=()=>{S(!1)},a3=async()=>{if(!O?.plant?.source||!O?.plant?.destination){H.error("Source and destination information is required for AI suggestions");return}try{ie(!0),E2(!0);const t=await Z2("/transporter-suggestions",{route_source:O.plant.source,destination:O.plant.destination});if(t.error===!1&&t.data?.suggestions){le(t.data);const a=t.data.suggestions.slice(0,3).map(c=>c.id);ne(a),H.success("AI suggestions loaded! Top 3 transporters are highlighted.")}else H.error(t.message||"Failed to get AI suggestions"),E2(!1)}catch(t){console.error("Error getting AI suggestions:",t),H.error("Failed to get AI suggestions"),E2(!1)}finally{ie(!1)}},i3=()=>{le(null),ne([])},n3=t=>{const a=w2.indexOf(t);return a!==-1?a+1:null},r3=l.useMemo(()=>[{header:"Sr",accessorKey:"sr",cell:t=>e.jsx("div",{style:{textAlign:"center",fontWeight:"bold"},children:t.getValue()})},{header:"Call Date",accessorKey:"created_at",cell:t=>e.jsx("div",{style:{textAlign:"center"},children:k2(t.getValue()).format("DD/MM/YYYY")})},{header:"Time",accessorKey:"time",cell:t=>e.jsx("div",{style:{textAlign:"center",color:"#007bff",fontWeight:"500"},children:t.getValue()})},{header:"Caller Name",accessorKey:"user_name",cell:t=>e.jsx("div",{style:{textAlign:"center",fontStyle:"italic"},children:t.getValue()})},{header:"Duration",accessorKey:"overall_call_duration",cell:t=>e.jsx("div",{style:{textAlign:"center",color:"#28a745"},children:t.getValue()})},{header:"Call Status",accessorKey:"CallStatus",cell:t=>{const a=t.getValue();let c="";return a==="Answered"?c="bg-success text-white":a==="Missed"?c="bg-danger text-white":c="bg-warning text-dark",e.jsx("span",{className:`badge ${c} p-2`,style:{borderRadius:"5px",fontSize:"14px"},children:a})}},{header:"Recording",accessorKey:"recording_url",cell:t=>{const a=t.getValue();return e.jsx("div",{style:{textAlign:"center"},children:a?e.jsxs("audio",{controls:!0,style:{width:"200px",backgroundColor:"#f1f3f5",border:"1px solid #e0e0e0",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"5px",transition:"box-shadow 0.3s ease"},onMouseOver:c=>c.target.style.boxShadow="0 4px 8px rgba(0, 0, 0, 0.15)",onMouseOut:c=>c.target.style.boxShadow="0 2px 4px rgba(0, 0, 0, 0.1)",children:[e.jsx("source",{src:a,type:"audio/mpeg"}),"Your browser does not support the audio element."]}):e.jsx("span",{style:{color:"#adb5bd",fontStyle:"italic",fontSize:"14px"},children:"No Recording Available"})})}},{header:"Transcript",accessorKey:"transcript_data",cell:({row:t})=>e.jsx("i",{className:"mdi mdi-script-text-outline font-size-20 text-primary",style:{cursor:"pointer"},title:"Transcript Data",onClick:()=>l3(t.original)})}],[]);return l.useEffect(()=>{o&&He(r,N.transporter_id)},[N]),e.jsxs("div",{children:[e.jsx("style",{children:` 25 @keyframes pulse { 26 0%, 100% { 27 opacity: 1; 28 transform: scale(1); 29 } 30 50% { 31 opacity: 0.8; 32 transform: scale(1.1); 33 } 34 } 35 `}),e.jsx("div",{children:u?e.jsx(N2,{children:e.jsx(Y,{lg:"12",children:e.jsx("div",{className:"px-4 py-5",children:e.jsx(Q3,{})})})}):e.jsx(N2,{children:e.jsx(Y,{lg:"12",children:e.jsx("div",{className:"px-4 pb-4 pt-0",children:e.jsx($3,{columns:u2==="Transporters"?t3:[],data:u2==="Transporters"?[...q].sort((t,a)=>{const c=w2.indexOf(t.id),t2=w2.indexOf(a.id);return c!==-1&&t2!==-1?c-t2:c!==-1?-1:t2!==-1?1:(a.has_quote||0)-(t.has_quote||0)}):[],totalRecords:P,contractTotal:J,handleRefreshButton:{default:Ke,aiSuggestionsHandler:a3,clearAiSuggestions:i3,viewAiSuggestionsDetails:()=>E2(!0),isLoadingAi:ae,hasAiSuggestions:w2.length>0},aiSuggestedIds:w2,isPagination:!0,isCustomPageSize:!0,handlePageSizeChange:Ge,currentPage:D.offset/D.limit+1,pageSize:D.limit,isGlobalFilter:!0,debouncedSearch:Oe,debouncedContractSearch:Pe,handlePageChange:Qe,handleLoadMore:Ve,handleLoadMoreContracts:qe,hasMore:T,hasMoreContracts:M,isLoadingMore:R&&q.length>0,isLoadingMoreContracts:n&&Z.length>0,tableClass:"transporter-list-table align-middle table-nowrap dt-responsive nowrap w-100 table-borderless dataTable no-footer dtr-inline justify-content-center",theadClass:"table-light justify-content-center",paginationWrapper:"dataTables_paginate paging_simple_numbers pagination-rounded",pagination:"pagination",isBordered:!1,activeTab:u2,setActiveTab:p2,isAnimating:De,status:d,customBody:u2==="Contract"?e.jsx(W3,{inquiry_id:r,status:d,contractsData:Z,setContractsData:e2,total:J,setTotal:s,getContractData:()=>T2(r),inquiryViewData:O,onTruckAssigned:()=>{T2(r),de(r),x&&x()},searchTerm:i.search}):null,onRowClick:t=>{if(d!=="Close"&&d!=="Closed"&&d!=="Rejected"&&d!=="Expired"&&d!=="Hired"&&d!=="hired"&&d!=="Submitted"){if(t.has_call_history!==1&&t.has_quote!==1&&!(E&&t.negotiation_info)){H.error("Please make a call first to fill the quotation");return}O2(t)}}})})})})}),o&&e.jsxs(Ce,{isOpen:o,toggle:H2,size:"lg",className:"call-history-modal",children:[e.jsx(ge,{toggle:H2,className:"modal-header-custom",children:"Call History"}),e.jsx(je,{className:"modal-body-custom",children:R?e.jsx(G2,{children:e.jsx(N2,{className:"justify-content-center align-items-center",style:{height:"50vh"},children:e.jsx(Y,{className:"text-center",children:e.jsx(U2,{})})})}):e.jsx(Z3,{columns:r3,data:X,totalRecords:p,isPagination:!0,isCu
35stomPageSize:!0,handlePageSizeChange:Ue,currentPage:N.offset/N.limit+1,pageSize:N.limit,isGlobalFilter:!0,debouncedSearch:We,handlePageChange:Ye,tableClass:"transporter-list-table align-middle table-nowrap dt-responsive nowrap w-100 table-borderless dataTable no-footer dtr-inline justify-content-center",theadClass:"table-light justify-content-center",paginationWrapper:"dataTables_paginate paging_simple_numbers pagination-rounded",pagination:"pagination",isBordered:!1})}),e.jsx(Le,{className:"modal-footer-custom",children:e.jsx(x2,{color:"secondary",onClick:H2,children:"Close"})})]}),v&&e.jsxs(Ce,{isOpen:v,toggle:P2,size:"lg",className:"call-history-modal",children:[e.jsx(ge,{toggle:P2,className:"modal-header-custom",children:"Transcript Data"}),e.jsx(je,{className:"modal-body-custom",children:K?e.jsx(G2,{children:e.jsx(N2,{className:"justify-content-center align-items-center",style:{height:"50vh"},children:e.jsx(Y,{className:"text-center",children:e.jsx(U2,{})})})}):e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex align-items-center gap-3 mb-4",children:[e.jsx("button",{style:{all:"unset",cursor:"pointer",color:l2===1?"var(--bs-primary)":"inherit",borderBottom:l2===1?"2px solid var(--bs-primary)":"1px solid var(--bs-primary-light)",paddingBottom:"5px"},onClick:()=>v2(1),children:"Transcription"}),e.jsx("button",{style:{all:"unset",cursor:"pointer",color:l2===2?"var(--bs-primary)":"inherit",borderBottom:l2===2?"2px solid var(--bs-primary)":"1px solid var(--bs-primary-light)",paddingBottom:"5px"},onClick:()=>v2(2),children:"Summary"}),e.jsx("button",{style:{all:"unset",cursor:"pointer",color:l2===3?"var(--bs-primary)":"inherit",borderBottom:l2===3?"2px solid var(--bs-primary)":"1px solid var(--bs-primary-light)",paddingBottom:"5px"},onClick:()=>v2(3),children:"Sentiment"}),e.jsx("button",{style:{all:"unset",cursor:"pointer",color:l2===4?"var(--bs-primary)":"inherit",borderBottom:l2===4?"2px solid var(--bs-primary)":"1px solid var(--bs-primary-light)",paddingBottom:"5px"},onClick:()=>v2(4),children:"Explanation"})]}),e.jsxs("div",{children:[l2===1&&e.jsxs("div",{children:[e.jsx("h5",{className:"text-primary fw-bold mb-3",children:"Transcription"}),e.jsx("div",{className:"bg-light p-3 rounded",style:{maxHeight:"400px",overflowY:"auto"},children:e.jsx("pre",{style:{whiteSpace:"pre-wrap",fontFamily:"inherit"},children:o2?.transcription||"No transcription available"})})]}),l2===2&&e.jsxs("div",{children:[e.jsx("h5",{className:"text-primary fw-bold mb-3",children:"Summary"}),e.jsx("div",{className:"bg-light p-3 rounded",style:{maxHeight:"400px",overflowY:"auto"},children:e.jsx("p",{children:o2?.summary||"No summary available"})})]}),l2===3&&e.jsxs("div",{children:[e.jsx("h5",{className:"text-primary fw-bold mb-3",children:"Sentiment Analysis"}),e.jsx("div",{className:"bg-light p-3 rounded",children:e.jsxs("div",{className:"row",children:[e.jsx("div",{className:"col-md-4",children:e.jsxs("div",{className:"text-center p-2 bg-success bg-opacity-10 rounded mb-2",children:[e.jsx("h6",{className:"text-success mb-1",children:"Positive"}),e.jsx("span",{className:"fw-bold",children:o2?.sentiment?.positive||"0%"})]})}),e.jsx("div",{className:"col-md-4",children:e.jsxs("div",{className:"text-center p-2 bg-danger bg-opacity-10 rounded mb-2",children:[e.jsx("h6",{className:"text-danger mb-1",children:"Negative"}),e.jsx("span",{className:"fw-bold",children:o2?.sentiment?.negative||"0%"})]})}),e.jsx("div",{className:"col-md-4",children:e.jsxs("div",{className:"text-center p-2 bg-secondary bg-opacity-10 rounded mb-2",children:[e.jsx("h6",{className:"text-secondary mb-1",children:"Neutral"}),e.jsx("span",{className:"fw-bold",children:o2?.sentiment?.neutral||"0%"})]})})]})})]}),l2===4&&e.jsxs("div",{children:[e.jsx("h5",{className:"text-primary fw-bold mb-3",children:"Sentiment Explanation"}),e.jsx("div",{className:"bg-light p-3 rounded",style:{maxHeight:"400px",overflowY:"auto"},children:e.jsx("p",{children:o2?.sentiment?.explanation||o2?.explanation||"No explanation available"})})]})]})]})}),e.jsx(Le,{className:"modal-footer-custom",children:e.jsx(x2,{color:"secondary",onClick:P2,children:"Close"})})]}),e.jsx(V3,{isOpen:c2,toggle:()=>O2(),transporter:R2,inquiryDetails:O,inquiryId:r,biddingLegs:F,onQuotationSaved:()=>{oe(r),x&&x()},onInitiateCall:ce,isCallingTransporter:j===R2?.id,isDisabledMode:d==="Close"||d==="Closed"||d==="Rejected"||d==="Expired",isResendDisabled:d==="Close"||d==="Closed"||d==="Rejected"||d==="Submitted"||d==="Expired"||R2?.has_quote}),e.jsx(ze,{isOpen:Re,toggle:()=>X2(!1),transporter:R2,inquiryId:r}),e.jsx(H3,{isOpen:Ie,toggle:()=>
35E2(!1),suggestions:Te?.suggestions||[],loading:ae,onSelectTransporter:t=>{const a=q.find(c=>c.id===t.id);a?(V2(a),J2(!0),E2(!1)):H.info("Please select this transporter from the main list")}}),e.jsx(N3,{isOpen:Be,toggle:()=>{D2(!1),B2(null)},title:"Confirm Call",description:"Are you sure you want to initiate a call?",size:"md",centered:!0,isLoading:j===h2?.transporter_id,primaryAction:{label:"Confirm Call",onClick:Je},secondaryAction:{label:"Cancel",onClick:()=>{D2(!1),B2(null)}},children:h2&&e.jsxs("div",{children:[e.jsxs("p",{className:"mb-2",children:[e.jsx("strong",{children:"Transporter:"})," ",h2.transporter_name]}),e.jsxs("p",{className:"mb-0",children:[e.jsx("strong",{children:"Mobile Number:"})," ",h2.mobile_number]})]})})]})},xt=Object.freeze(Object.defineProperty({__proto__:null,default:G3},Symbol.toStringTag,{value:"Module"}));export{I3 as T,G3 as a,xt as i};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.