PageSourceSearch

https://app.eano.com/_next/static/chunks/338-bf260d5c29545fb5.js

js eano.com collected 2026-10-01 15:43:08 UTC 104,262 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[338,26600],{63469:function(e,t,l){var s=l(89120),i=l(89460);e.exports=function(e,t,l){var r=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(l)&&(r="leading"in l?!!l.leading:r,a="trailing"in l?!!l.trailing:a),s(e,t,{leading:r,maxWait:t,trailing:a})}},91531:function(e,t,l){"use strict";l.d(t,{c:function(){return i}});var s=l(75271);function i(e,t){let[l,i]=(0,s.useState)(e);return(0,s.useEffect)(()=>{let l=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(l)}},[e,t]),l}},26600:function(e,t,l){"use strict";var s=l(52676);t.Z=e=>{let{title:t="",subTitle:l="",className:i="py-20"}=e;return(0,s.jsxs)("div",{className:i,children:[(0,s.jsx)("img",{src:"/static/img/vendor/empty.png",className:"mx-auto w-32 h-32 object-cover rounded-full bg-white"}),(0,s.jsx)("div",{className:"mt-6 text-18 font-circular-bold text-center text-en-dark-blue",children:t||"Nothing Here"}),(0,s.jsx)("div",{className:"mt-1.5 text-en-light-blue text-center",children:l})]})}},59934:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return eP},default:function(){return eR}});var s=l(52676),i=l(75271),r=l(77784),a=l(62097),n=l(34764),o=l(95105),d=l(61498),c=l(91531),u=l(26600),C=l(16405),x=l(10591),p=l(77690),m=l(6205),h=l(57874),v=()=>(0,s.jsx)("div",{children:(0,s.jsxs)("svg",{width:"90",height:"68",viewBox:"0 0 90 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_19493_39830)",children:[(0,s.jsx)("rect",{width:"90",height:"68",rx:"6.97436",fill:"#C7D7F5"}),(0,s.jsx)("rect",{x:"13.0771",y:"13.1245",width:"65.3846",height:"63.5933",rx:"4.0506",fill:"url(#paint0_linear_19493_39830)"}),(0,s.jsx)("rect",{x:"13.0771",y:"13.1245",width:"65.3846",height:"63.5933",rx:"4.0506",fill:"white"}),(0,s.jsx)("path",{opacity:"0.2",d:"M32.312 25.437H33.4154C33.3972 25.7776 33.3041 26.0784 33.1361 26.3395C32.9704 26.5983 32.7399 26.8015 32.4448 26.949C32.1497 27.0943 31.7989 27.167 31.3925 27.167C31.0679 27.167 30.7773 27.1114 30.5207 27.0001C30.2642 26.8889 30.0462 26.73 29.8669 26.5234C29.6898 26.3145 29.5536 26.0636 29.4582 25.7708C29.3651 25.4756 29.3186 25.143 29.3186 24.773V24.4699C29.3186 24.0998 29.3674 23.7672 29.465 23.4721C29.5627 23.1769 29.7023 22.9249 29.8839 22.7161C30.0655 22.5072 30.2835 22.3471 30.5377 22.2359C30.792 22.1247 31.0758 22.069 31.3891 22.069C31.8114 22.069 32.1678 22.1451 32.4584 22.2972C32.749 22.4493 32.9738 22.6582 33.1327 22.9238C33.2939 23.1894 33.3904 23.4925 33.4222 23.8331H32.3154C32.3063 23.6401 32.27 23.4777 32.2064 23.3461C32.1428 23.2121 32.0452 23.1111 31.9135 23.043C31.7819 22.9749 31.6071 22.9408 31.3891 22.9408C31.2302 22.9408 31.0906 22.9703 30.9702 23.0294C30.8522 23.0884 30.7534 23.1803 30.674 23.3052C30.5968 23.4301 30.5389 23.589 30.5003 23.782C30.4617 23.9727 30.4424 24.1997 30.4424 24.4631V24.773C30.4424 25.034 30.4594 25.2599 30.4935 25.4506C30.5275 25.6413 30.582 25.7991 30.6569 25.924C30.7341 26.0489 30.8329 26.1419 30.9532 26.2032C31.0735 26.2645 31.22 26.2952 31.3925 26.2952C31.59 26.2952 31.7546 26.2645 31.8863 26.2032C32.018 26.1397 32.119 26.0443 32.1894 25.9172C32.2598 25.79 32.3006 25.63 32.312 25.437ZM33.9635 25.294V25.2225C33.9635 24.9523 34.0021 24.7037 34.0793 24.4767C34.1565 24.2474 34.27 24.0487 34.4198 23.8807C34.5697 23.7127 34.7536 23.5822 34.9715 23.4891C35.1895 23.3937 35.4392 23.3461 35.7207 23.3461C36.0068 23.3461 36.2588 23.3937 36.4767 23.4891C36.6969 23.5822 36.882 23.7127 37.0318 23.8807C37.1816 24.0487 37.2952 24.2474 37.3723 24.4767C37.4495 24.7037 37.4881 24.9523 37.4881 25.2225V25.294C37.4881 25.5619 37.4495 25.8105 37.3723 26.0398C37.2952 26.2668 37.1816 26.4655 37.0318 26.6357C36.882 26.8037 36.6981 26.9343 36.4801 27.0274C36.2622 27.1204 36.0113 27.167 35.7275 27.167C35.446 27.167 35.1951 27.1204 34.9749 27.0274C34.7547 26.9343 34.5697 26.8037 34.4198 26.6357C34.27 26.4655 34.1565 26.2668 34.0793 26.0398C34.0021 25.8105 33.9635 25.5619 33.9635 25.294ZM35.0294 25.2225V25.294C35.0294 25.4393 35.0408 25.5755 35.0635 25.7026C35.0884 25.8298 35.1282 25.941 35.1826 26.0364C35.2371 26.1317 35.3086 26.2066 35.3972 26.2611C35.488 26.3134 35.5981 26.3395 35.7275 26.3395C35.8569 26.3395 35.9659 26.3134 36.0544 26.2611C36.143 26.2066 36.2145 26.1317 36.269 26.0364C36.3235 25.941 36.362
11 25.8298 36.3848 25.7026C36.4097 25.5755 36.4222 25.4393 36.4222 25.294V25.2225C36.4222 25.0794 36.4097 24.9455 36.3848 24.8206C36.3621 24.6935 36.3235 24.5811 36.269 24.4835C36.2145 24.3859 36.1418 24.3098 36.051 24.2553C35.9625 24.2008 35.8524 24.1736 35.7207 24.1736C35.5936 24.1736 35.4857 24.2008 35.3972 24.2553C35.3086 24.3098 35.2371 24.3859 35.1826 24.4835C35.1282 24.5811 35.0884 24.6935 35.0635 24.8206C35.0408 24.9455 35.0294 25.0794 35.0294 25.2225ZM40.1477 26.0738C40.1477 26.0057 40.1261 25.9456 40.0829 25.8933C40.0421 25.8411 39.9672 25.7935 39.8582 25.7503C39.7515 25.7072 39.6005 25.664 39.4053 25.6209C39.2214 25.5823 39.05 25.5324 38.891 25.4711C38.7321 25.4075 38.5936 25.3314 38.4756 25.2429C38.3575 25.1521 38.2656 25.0454 38.1997 24.9228C38.1339 24.7979 38.101 24.656 38.101 24.4971C38.101 24.3427 38.1339 24.1963 38.1997 24.0578C38.2678 23.9193 38.3655 23.7967 38.4926 23.69C38.622 23.5833 38.7787 23.4993 38.9626 23.438C39.1487 23.3767 39.3599 23.3461 39.596 23.3461C39.9206 23.3461 40.201 23.3972 40.4371 23.4993C40.6732 23.5992 40.8549 23.74 40.982 23.9216C41.1091 24.1009 41.1727 24.3064 41.1727 24.538H40.1102C40.1102 24.4426 40.092 24.3598 40.0557 24.2894C40.0194 24.219 39.9638 24.1645 39.8888 24.1259C39.8139 24.0851 39.7152 24.0646 39.5926 24.0646C39.4972 24.0646 39.4132 24.0816 39.3406 24.1157C39.2702 24.1475 39.2146 24.1918 39.1737 24.2485C39.1351 24.3053 39.1158 24.3711 39.1158 24.446C39.1158 24.4982 39.1272 24.5459 39.1499 24.5891C39.1748 24.6299 39.2123 24.6685 39.2622 24.7048C39.3145 24.7389 39.3814 24.7696 39.4632 24.7968C39.5472 24.824 39.6493 24.8501 39.7696 24.8751C40.0262 24.9228 40.26 24.9898 40.4712 25.076C40.6846 25.1623 40.8549 25.2815 40.982 25.4336C41.1114 25.5857 41.1761 25.7866 41.1761 26.0364C41.1761 26.1998 41.1386 26.3497 41.0637 26.4859C40.9911 26.6221 40.8855 26.7413 40.747 26.8435C40.6085 26.9456 40.4428 27.0251 40.2498 27.0818C40.0568 27.1386 39.8389 27.167 39.596 27.167C39.2486 27.167 38.9546 27.1046 38.714 26.9797C38.4733 26.8548 38.2917 26.6982 38.1691 26.5097C38.0488 26.319 37.9886 26.1238 37.9886 25.924H38.9864C38.9909 26.0466 39.0216 26.1465 39.0783 26.2237C39.1374 26.3009 39.2134 26.3576 39.3065 26.3939C39.3996 26.428 39.504 26.445 39.6198 26.445C39.7356 26.445 39.8321 26.4291 39.9093 26.3974C39.9865 26.3656 40.0455 26.3224 40.0864 26.2679C40.1272 26.2112 40.1477 26.1465 40.1477 26.0738ZM43.7811 23.4142V24.16H41.5948V23.4142H43.7811ZM42.0954 22.5015H43.1613V25.9444C43.1613 26.0466 43.1738 26.1249 43.1988 26.1794C43.2238 26.2339 43.2646 26.2725 43.3214 26.2952C43.3782 26.3156 43.4508 26.3258 43.5393 26.3258C43.6029 26.3258 43.6574 26.3236 43.7028 26.319C43.7482 26.3145 43.7902 26.3088 43.8288 26.302V27.0716C43.738 27.1011 43.6415 27.1239 43.5393 27.1397C43.4372 27.1579 43.3259 27.167 43.2056 27.167C42.9763 27.167 42.7777 27.1295 42.6097 27.0546C42.4439 26.9797 42.3168 26.8616 42.2282 26.7004C42.1397 26.537 42.0954 26.3247 42.0954 26.0636V22.5015ZM48.3442 24.9568H47.0705L47.0637 24.2145H48.116C48.3022 24.2145 48.4531 24.1918 48.5689 24.1464C48.687 24.1009 48.7732 24.0351 48.8277 23.9488C48.8822 23.8603 48.9095 23.7513 48.9095 23.6219C48.9095 23.4743 48.8822 23.3552 48.8277 23.2643C48.7732 23.1735 48.687 23.1077 48.5689 23.0668C48.4531 23.0237 48.3033 23.0021 48.1194 23.0021H47.4724V27.0989H46.3622V22.1405H48.1194C48.4168 22.1405 48.6824 22.1678 48.9163 22.2223C49.1501 22.2768 49.3488 22.3608 49.5122 22.4743C49.678 22.5878 49.804 22.7297 49.8902 22.9C49.9765 23.0702 50.0196 23.2712 50.0196 23.5027C50.0196 23.7048 49.9742 23.8932 49.8834 24.068C49.7949 24.2428 49.6519 24.3847 49.4543 24.4937C49.2568 24.6027 48.9923 24.6617 48.6609 24.6708L48.3442 24.9568ZM48.2999 27.0989H46.7879L47.1897 26.2407H48.2999C48.4702 26.2407 48.6086 26.2135 48.7154 26.159C48.8221 26.1045 48.9004 26.0307 48.9503 25.9376C49.0003 25.8445 49.0252 25.7401 49.0252 25.6243C49.0252 25.4881 49.0014 25.37 48.9537 25.2702C48.9083 25.1703 48.8357 25.0931 48.7358 25.0386C48.6382 24.9841 48.5076 24.9568 48.3442 24.9568H47.3498L47.3566 24.2145H48.5723L48.8311 24.5073C49.1467 24.5005 49.3987 24.5516 49.5871 24.6606C49.7779 24.7673 49.9152 24.908 49.9992 25.0829C50.0832 25.2577 50.1252 25.4427 50.1252 25.6379C50.1252 25.9603 50.056 26.2305 49.9175 26.4484C49.779 26.6641 49.5735 26.8264 49.3011 26.9354C49.0309 27.0444 48.6972 27.0989 48.2999 27.0989ZM50.7755 25.294V25.2225C50.7755 24.9523 50.8141 24.7037 50.8913 24.4767C50.9685 24.2474 51.082 24.0487 51.2318 23.8807C51.3817 23.7127 51.5656 23.5822 51.7835 23.4891C52.0015 23.3937 52.2512 23.3461 52.5327 23.3461C52.8188 23.3461 53.0708 23.3937 53.2887 23.4891C53.509 23.5822 53.694 23.7127 53.8438 23.8807C53.9937 24.0487 54.1072 24.2474 54.1844 24.4767C54.2616 24.7037 54.3002 24.9523 54.3002 25.2225V25.294C54.3002 25.5619 54.2616 25.8105 54.1844 26.0398C54.1072 26.2668 53.9937 26.4655 53.8438 26.6357C53.694 26.8037 53.5101 26.9343 53.2921 27.0274C53.0742 27.1204 52.8233 27.167 52.5395 27.167C52.258 27.167 52.0072 27.1204 51.7869 27.0274C51.5667 26.9343 51.3817 26.8037 51.2318 26.6357C51.082 26.4655 50.9685 26.2668 50.8913 26.0398C50.8141 25.8105 50.7755 25.5619 50.7755 25.294ZM51.8414 25.2225V25.294C51.8414 25.4393 51.8528 25.5755 51.8755 25.7026C51.9004 25.8298 51.9402 25.941 51.9947 26.0364C52.0492 26.1317 52.1207 26.2066 52.2092 26.2611C52.3 26.3134 52.4101 26.3395 52.5395 26.3395C52.6689 26.3395 52.7779 26.3134 52.8665 26.2611C52.955 26.2066 53.0265 26.1317 53.081 26.0364C53.1355 25.941 53.1741 25.8298 53.1968 25.7026C53.2218 25.5755 53.2342 25.4393 53.2342 25.294V25.2225C53.2342 25.0794 53.2218 24.9455 53.1968 24.8206C53.1741 24.6935 53.1355 24.5811 53.081 24.4835C53.0265 24.3859 52.9539 24.3098 52.8631 24.2553C52.7745 24.2008 52.6644 24.1736 52.5327 24.1736C52.4056 24.1736 52.2977 24.2008 52.2092 24.2553C52.1207 24.3098 52.0492 24.3859 51.9947 24.4835C51.9402 24.5811 51.9004 24.6935 51.8755 24.8206C51.8528 24.9455 51.8414 25.0794 51.8414 25.2225ZM54.8449 25.294V25.2225C54.8449 24.9523 54.8835 24.7037 54.9607 24.4767C55.0379 24.2474 55.1514 24.0487 55.3012 23.8807C55.4511 23.7127 55.635 23.5822 55.8529 23.4891C56.0708 23.3937 56.3206 23.3461 56.6021 23.3461C56.8882 23.3461 57.1402 23.3937 57.3581 23.4891C57.5783 23.5822 57.7634 23.7127 57.9132 23.8807C58.063 24.0487 58.1766 24.2474 58.2537 24.4767C58.3309 24.7037 58.3695 24.9523 58.3695 25.2225V25.294C58.3695 25.5619 58.3309 25.8105 58.2537 26.0398C58.1766 26.2668 58.063 26.4655 57.9132 26.6357C57.7634 26.8037 57.5795 26.9343 57.3615 27.0274C57.1436 27.1204 56.8927 27.167 56.6089 27.167C56.3274 27.167 56.0765 27.1204 55.8563 27.0274C55.6361 26.9343 55.4511 26.8037 55.3012 26.6357C55.1514 26.4655 55.0379 26.2668 54.9607 26.0398C54.8835 25.8105 54.8449 25.5619 54.8449 25.294ZM55.9108 25.2225V25.294C55.9108 25.4393 55.9221 25.5755 55.9448 25.7026C55.9698 25.8298 56.0096 25.941 56.064 26.0364C56.
11185 26.1317 56.19 26.2066 56.2786 26.2611C56.3694 26.3134 56.4795 26.3395 56.6089 26.3395C56.7383 26.3395 56.8473 26.3134 56.9358 26.2611C57.0244 26.2066 57.0959 26.1317 57.1504 26.0364C57.2049 25.941 57.2435 25.8298 57.2662 25.7026C57.2911 25.5755 57.3036 25.4393 57.3036 25.294V25.2225C57.3036 25.0794 57.2911 24.9455 57.2662 24.8206C57.2435 24.6935 57.2049 24.5811 57.1504 24.4835C57.0959 24.3859 57.0232 24.3098 56.9324 24.2553C56.8439 24.2008 56.7338 24.1736 56.6021 24.1736C56.475 24.1736 56.3671 24.2008 56.2786 24.2553C56.19 24.3098 56.1185 24.3859 56.064 24.4835C56.0096 24.5811 55.9698 24.6935 55.9448 24.8206C55.9221 24.9455 55.9108 25.0794 55.9108 25.2225ZM60.1368 21.8647V27.0989H59.0709V21.8647H60.1368ZM62.4764 23.4142L60.8724 25.2667L60.0244 26.1181L59.5988 25.3996L60.2867 24.5107L61.1959 23.4142H62.4764ZM61.3526 27.0989L60.3139 25.4064L61.0767 24.8104L62.5717 27.0989H61.3526Z",fill:"black"}),(0,s.jsxs)("g",{opacity:"0.25",children:[(0,s.jsx)("path",{d:"M20.9546 37.5861V35.606H20.2743V35.3071C20.4707 35.3013 20.6325 35.2508 20.7596 35.1554C20.8867 35.0572 20.9661 34.9316 20.9979 34.7785H21.3705V37.5861H20.9546ZM22.2648 36.1823C22.2648 36.6155 22.3472 36.9188 22.5118 37.0921C22.5667 37.1499 22.6288 37.1947 22.6981 37.2264C22.7703 37.2582 22.857 37.2741 22.9581 37.2741C23.0592 37.2741 23.1444 37.2582 23.2137 37.2264C23.2859 37.1947 23.3495 37.1499 23.4043 37.0921C23.569 36.9188 23.6513 36.6155 23.6513 36.1823C23.6513 35.749 23.569 35.4457 23.4043 35.2724C23.3495 35.2147 23.2859 35.1699 23.2137 35.1381C23.1444 35.1063 23.0592 35.0905 22.9581 35.0905C22.857 35.0905 22.7703 35.1063 22.6981 35.1381C22.6288 35.1699 22.5667 35.2147 22.5118 35.2724C22.3472 35.4457 22.2648 35.749 22.2648 36.1823ZM21.8446 36.1823C21.8446 35.9888 21.8634 35.8053 21.9009 35.632C21.9385 35.4587 22.0034 35.3028 22.0959 35.1641C22.1883 35.0255 22.3053 34.9157 22.4468 34.8348C22.5884 34.7539 22.7588 34.7135 22.9581 34.7135C23.1574 34.7135 23.3278 34.7539 23.4693 34.8348C23.6109 34.9157 23.7278 35.0255 23.8203 35.1641C23.9127 35.3028 23.9777 35.4587 24.0152 35.632C24.0528 35.8053 24.0716 35.9888 24.0716 36.1823C24.0716 36.3758 24.0528 36.5592 24.0152 36.7325C23.9777 36.9058 23.9127 37.0618 23.8203 37.2005C23.7278 37.3391 23.6109 37.4489 23.4693 37.5297C23.3278 37.6106 23.1574 37.651 22.9581 37.651C22.7588 37.651 22.5884 37.6106 22.4468 37.5297C22.3053 37.4489 22.1883 37.3391 22.0959 37.2005C22.0034 37.0618 21.9385 36.9058 21.9009 36.7325C21.8634 36.5592 21.8446 36.3758 21.8446 36.1823Z",fill:"black"}),(0,s.jsx)("rect",{opacity:"0.4",x:"36.1035",y:"34.8524",width:"24.9444",height:"1.46732",rx:"0.733659",fill:"black"}),(0,s.jsx)("path",{d:"M20.9546 43.5861V41.606H20.2743V41.3071C20.4707 41.3013 20.6325 41.2508 20.7596 41.1554C20.8867 41.0572 20.9
1661 40.9316 20.9979 40.7785H21.3705V43.5861H20.9546ZM22.2648 42.1823C22.2648 42.6155 22.3472 42.9188 22.5118 43.0921C22.5667 43.1499 22.6288 43.1947 22.6981 43.2264C22.7703 43.2582 22.857 43.2741 22.9581 43.2741C23.0592 43.2741 23.1444 43.2582 23.2137 43.2264C23.2859 43.1947 23.3495 43.1499 23.4043 43.0921C23.569 42.9188 23.6513 42.6155 23.6513 42.1823C23.6513 41.749 23.569 41.4457 23.4043 41.2724C23.3495 41.2147 23.2859 41.1699 23.2137 41.1381C23.1444 41.1063 23.0592 41.0905 22.9581 41.0905C22.857 41.0905 22.7703 41.1063 22.6981 41.1381C22.6288 41.1699 22.5667 41.2147 22.5118 41.2724C22.3472 41.4457 22.2648 41.749 22.2648 42.1823ZM21.8446 42.1823C21.8446 41.9888 21.8634 41.8053 21.9009 41.632C21.9385 41.4587 22.0034 41.3028 22.0959 41.1641C22.1883 41.0255 22.3053 40.9157 22.4468 40.8348C22.5884 40.7539 22.7588 40.7135 22.9581 40.7135C23.1574 40.7135 23.3278 40.7539 23.4693 40.8348C23.6109 40.9157 23.7278 41.0255 23.8203 41.1641C23.9127 41.3028 23.9777 41.4587 24.0152 41.632C24.0528 41.8053 24.0716 41.9888 24.0716 42.1823C24.0716 42.3758 24.0528 42.5592 24.0152 42.7325C23.9777 42.9058 23.9127 43.0618 23.8203 43.2005C23.7278 43.3391 23.6109 43.4489 23.4693 43.5297C23.3278 43.6106 23.1574 43.651 22.9581 43.651C22.7588 43.651 22.5884 43.6106 22.4468 43.5297C22.3053 43.4489 22.1883 43.3391 22.0959 43.2005C22.0034 43.0618 21.9385 42.9058 21.9009 42.7325C21.8634 42.5592 21.8446 42.3758 21.8446 42.1823ZM25.8361 42.1823C25.8361 42.6155 25.9184 42.9188 26.083 43.0921C26.1379 43.1499 26.2 43.1947 26.2693 43.2264C26.3415 43.2582 26.4282 43.2741 26.5293 43.2741C26.6304 43.2741 26.7156 43.2582 26.7849 43.2264C26.8571 43.1947 26.9207 43.1499 26.9756 43.0921C27.1402 42.9188 27.2225 42.6155 27.2225 42.1823C27.2225 41.749 27.1402 41.4457 26.9756 41.2724C26.9207 41.2147 26.8571 41.1699 26.7849 41.1381C26.7156 41.1063 26.6304 41.0905 26.5293 41.0905C26.4282 41.0905 26.3415 41.1063 26.2693 41.1381C26.2 41.1699 26.1379 41.2147 26.083 41.2724C25.9184 41.4457 25.8361 41.749 25.8361 42.1823ZM25.4158 42.1823C25.4158 41.9888 25.4346 41.8053 25.4721 41.632C25.5097 41.4587 25.5747 41.3028 25.6671 41.1641C25.7595 41.0255 25.8765 40.9157 26.018 40.8348C26.1596 40.7539 26.33 40.7135 26.5293 40.7135C26.7286 40.7135 26.899 40.7539 27.0405 40.8348C27.1821 40.9157 27.2991 41.0255 27.3915 41.1641C27.4839 41.3028 27.5489 41.4587 27.5865 41.632C27.624 41.8053 27.6428 41.9888 27.6428 42.1823C27.6428 42.3758 27.624 42.5592 27.5865 42.7325C27.5489 42.9058 27.4839 43.0618 27.3915 43.2005C27.2991 43.3391 27.1821 43.4489 27.0405 43.5297C26.899 43.6106 26.7286 43.651 26.5293 43.651C26.33 43.651 26.1596 43.6106 26.018 43.5297C25.8765 43.4489 25.7595 43.3391 25.6671 43.2005C25.5747 43.0618 25.5097 42.9058 25.4721 42.7325C25.4346 42.5592 25.4158 42.3758 25.4158 42.1823ZM28.5413 43.5861V41.606H27.861V41.3071C28.0575 41.3013 28.2192 41.2508 28.3463 41.1554C28.4734 41.0572 28.5528 40.9316 28.5846 40.7785H28.9572V43.5861H28.5413Z",fill:"black"}),(0,s.jsx)("rect",{opacity:"0.4",x:"36.1035",y:"40.8524",width:"19.125",height:"1.46732",rx:"0.733659",fill:"black"}),(0,s.jsx)("path",{d:"M20.9546 49.5861V47.606H20.2743V47.3071C20.4707 47.3013 20.6325 47.2508 20.7596 47.1554C20.8867 47.0572 20.9661 46.9316 20.9979 46.7785H21.3705V49.5861H20.9546ZM22.2648 48.1823C22.2648 48.6155 22.3472 48.9188 22.5118 49.0921C22.5667 49.1499 22.6288 49.1947 22.6981 49.2264C22.7703 49.2582 22.857 49.2741 22.9581 49.2741C23.0592 49.2741 23.1444 49.2582 23.2137 49.2264C23.2859 49.1947 23.3495 49.1499 23.4043 49.0921C23.569 48.9188 23.6513 48.6155 23.6513 48.1823C23.6513 47.749 23.569 47.4457 23.4043 47.2724C23.3495 47.2147 23.2859 47.1699 23.2137 47.1381C23.1444 47.1063 23.0592 47.0905 22.9581 47.0905C22.857 47.0905 22.7703 47.1063 22.6981 47.1381C22.6288 47.1699 22.5667 47.2147 22.5118 47.2724C22.3472 47.4457 22.2648 47.749 22.2648 48.1823ZM21.8446 48.1823C21.8446 47.9888 21.8634 47.8053 21.9009 47.632C21.9385 47.4587 22.0034 47.3028 22.0959 47.1641C22.1883 47.0255 22.3053 46.9157 22.4468 46.8348C22.5884 46.7539 22.7588 46.7135 22.9581 46.7135C23.1574 46.7135 23.3278 46.7539 23.4693 46.8348C23.6109 46.9157 23.7278 47.0255 23.8203 47.1641C23.9127 47.3028 23.9777 47.4587 24.0152 47.632C24.0528 47.8053 24.0716 47.9888 24.0716 48.1823C24.0716 48.3758 24.0528 48.5592 24.0152 48.7325C23.9777 48.9058 23.9127 49.0618 23.8203 49.2005C23.7278 49.3391 23.6109 49.4489 23.4693 49.5297C23.3278 49.6106 23.1574 49.651 22.9581 49.651C22.7588 49.651 22.5884 49.6106 22.4468 49.5297C22.3053 49.4489 22.1883 49.3391 22.0959 49.2005C22.0034 49.0618 21.9385 48.9058 21.9009 48.7325C21.8634 48.5592 21.8446 48.3758 21.8446 48.1823ZM25.8361 48.1823C25.8361 48.6155 25.9184 48.9188 26.083 49.0921C26.1379 49.1499 26.2 49.1947 26.2693 49.2264C26.3415 49.2582 26.4282 49.2741 26.5293 49.2741C26.6304 49.2741 26.7156 49.2582 26.7849 49.2264C26.8571 49.1947 26.9207 49.1499 26.9756 49.0921C27.1402 48.9188 27.2225 48.6155 27.2225 48.1823C27.2225 47.749 27.1402 47.4457 26.9756 47.2724C26.9207 47.2147 26.8571 47.1699 26.7849 47.1381C26.7156 47.1063 26.6304 47.0905 26.5293 47.0905C26.4282 47.0905 26.3415 47.1063 26.2693 47.1381C26.2 47.1699 26.1379 47.2147 26.083 47.2724C25.9184 47.4457 25.8361 47.749 25.8361 48.1823ZM25.4158 48.1823C25.4158 47.9888 25.4346 47.8053 25.4721 47.632C25.5097 47.4587 25.5747 47.3028 25.6671 47.1641C25.7595 47.0255 25.8765 46.9157 26.018 46.8348C26.1596 46.7539 26.33 46.7135 26.5293 46.7135C26.7286 46.7135 26.899 46.7539 27.0405 46.8348C27.1821 46.9157 27.2991 47.0255 27.3915 47.1641C27.4839 47.3028 27.5489 47.4587 27.5865 47.632C27.624 47.8053 27.6428 47.9888 27.6428 48.1823C27.6428 48.3758 27.
1624 48.5592 27.5865 48.7325C27.5489 48.9058 27.4839 49.0618 27.3915 49.2005C27.2991 49.3391 27.1821 49.4489 27.0405 49.5297C26.899 49.6106 26.7286 49.651 26.5293 49.651C26.33 49.651 26.1596 49.6106 26.018 49.5297C25.8765 49.4489 25.7595 49.3391 25.6671 49.2005C25.5747 49.0618 25.5097 48.9058 25.4721 48.7325C25.4346 48.5592 25.4158 48.3758 25.4158 48.1823ZM27.9602 47.736C27.9573 47.7158 27.9559 47.697 27.9559 47.6797C27.9559 47.6595 27.9559 47.6407 27.9559 47.6234C27.9559 47.5021 27.9775 47.3865 28.0208 47.2768C28.0642 47.167 28.1263 47.0702 28.2071 46.9865C28.2909 46.9027 28.3934 46.8363 28.5148 46.7872C28.6361 46.7381 28.7733 46.7135 28.9264 46.7135C29.0766 46.7135 29.2109 46.7366 29.3293 46.7828C29.4477 46.829 29.5474 46.8912 29.6283 46.9691C29.7091 47.0471 29.7698 47.1396 29.8102 47.2464C29.8536 47.3504 29.8752 47.4602 29.8752 47.5757C29.8752 47.7606 29.8276 47.9267 29.7322 48.074C29.6369 48.2184 29.5084 48.3411 29.3466 48.4422L28.7921 48.7975C28.7112 48.8495 28.639 48.9073 28.5754 48.9708C28.5119 49.0315 28.47 49.1051 28.4498 49.1918H29.8925V49.5861H27.9255C27.9284 49.4705 27.9414 49.3622 27.9645 49.2611C27.9905 49.16 28.0295 49.0633 28.0815 48.9708C28.1364 48.8784 28.2057 48.7917 28.2895 48.7109C28.3732 48.6271 28.4743 48.5462 28.5928 48.4682L29.0607 48.1649C29.1935 48.0812 29.2903 47.9902 29.351 47.892C29.4145 47.7938 29.4463 47.6898 29.4463 47.58C29.4463 47.5165 29.4347 47.4558 29.4116 47.3981C29.3914 47.3374 29.3596 47.284 29.3163 47.2378C29.273 47.1915 29.2181 47.1554 29.1517 47.1294C29.0852 47.1006 29.0072 47.0861 28.9177 47.0861C28.8253 47.0861 28.7444 47.102 28.6751 47.1338C28.6086 47.1627 28.5523 47.2031 28.5061 47.2551C28.4628 47.3071 28.4296 47.3677 28.4064 47.4371C28.3862 47.5064 28.3761 47.5815 28.3761 47.6624C28.3761 47.6826 28.3761 47.7028 28.3761 47.723C28.379 47.7432 28.3819 47.7649 28.3848 47.788L27.9602 47.736Z",fill:"black"}),(0,s.jsx)("rect",{opacity:"0.4",x:"36.1035",y:"46.8524",width:"24.9444",height:"1.46732",rx:"0.733659",fill:"black"}),(0,s.jsx)("path",{d:"M20.9546 55.5861V53.606H20.2743V53.3071C20.4707 53.3013 20.6325 53.2508 20.7596 53.1554C20.8867 53.0572 20.9661 52.9316 20.9979 52.7785H21.3705V55.5861H20.9546ZM22.2648 54.1823C22.2648 54.6155 22.3472 54.9188 22.5118 55.0921C22.5667 55.1499 22.6288 55.1947 22.6981 55.2264C22.7703 55.2582 22.857 55.2741 22.9581 55.2741C23.0592 55.2741 23.1444 55.2582 23.2137 55.2264C23.2859 55.1947 23.3495 55.1499 23.4043 55.0921C23.569 54.9188 23.6513 54.6155 23.6513 54.1823C23.6513 53.749 23.569 53.4457 23.4043 53.2724C23.3495 53.2147 23.2859 53.1699 23.2137 53.1381C23.1444 53.1063 23.0592 53.0905 22.9581 53.0905C22.857 53.0905 22.7703 53.1063 22.6981 53.1381C22.6288 53.1699 22.5667 53.2147 22.5118 53.2724C22.3472 53.4457 22.2648 53.749 22.2648 54.1823ZM21.8446 54.1823C21.8446 53.9888 21.8634 53.8053 21.9009 53.632C21.9385 53.4587 22.0034 53.3028 22.0959 53.1641C22.1883 53.0255 22.3053 52.9157 22.4468 52.8348C22.5884 52.7539 22.7588 52.7135 22.9581 52.7135C23.1574 52.7135 23.3278 52.7539 23.4693 52.8348C23.6109 52.9157 23.7278 53.0255 23.8203 53.1641C23.9127 53.3028 23.9777 53.4587 24.0152 53.632C24.0528 53.8053 24.0716 53.9888 24.0716 54.1823C24.0716 54.3758 24.0528 54.5592 24.0152 54.7325C23.9777 54.9058 23.9127 55.0618 23.8203 55.2005C23.7278 55.3391 23.6109 55.4489 23.4693 55.5297C23.3278 55.6106 23.1574 55.651 22.9581 55.651C22.7588 55.651 22.5884 55.6106 22.4468 55.5297C22.3053 55.4489 22.1883 55.3391 22.0959 55.2005C22.0034 55.0618 21.9385 54.9058 21.9009 54.7325C21.8634 54.5592 21.8446 54.3758 21.8446 54.1823ZM25.8361 54.1823C25.8361 54.6155 25.9184 54.9188 26.083 55.0921C26.1379 55.1499 26.2 55.1947 26.2693 55.2264C26.3415 55.2582 26.4282 55.2741 26.5293 55.2741C26.6304 55.2741 26.7156 55.2582 26.7849 55.2264C26.8571 55.1947 26.9207 55.1499 26.9756 55.0921C27.1402 54.9188 27.2225 54.6155 27.2225 54.1823C27.2225 53.749 27.1402 53.4457 26.9756 53.2724C26.9207 53.2147 26.8571 53.1699 26.7849 53.1381C26.7156 53.1063 26.6304 53.0905 26.5293 53.0905C26.4282 53.0905 26.3415 53.1063 26.2693 53.1381C26.2 53.1699 26.1379 53.2147 26.083 53.2724C25.9184 53.4457 25.8361 53.749 25.8361 54.1823ZM25.4158 54.1823C25.4158 53.9888 25.4346 53.8053 25.4721 53.632C25.5097 53.4587 25.5747 53.3028 25.6671 53.1641C25.7595 53.0255 25.8765 52.9157 26.018 52.8348C26.1596 52.7539 26.33 52.7135 26.5293 52.7135C26.7286 52.7135 26.899 52.7539 27.0405 52.8348C27.1821 52.9157 27.2991 53.0255 27.3915 53.1641C27.4839 53.3028 27.5489 53.4587 27.5865 53.632C27.624 53.8053 27.6428 53.9888 27.6428 54.1823C27.6428 54.3758 27.
1624 54.5592 27.5865 54.7325C27.5489 54.9058 27.4839 55.0618 27.3915 55.2005C27.2991 55.3391 27.1821 55.4489 27.0405 55.5297C26.899 55.6106 26.7286 55.651 26.5293 55.651C26.33 55.651 26.1596 55.6106 26.018 55.5297C25.8765 55.4489 25.7595 55.3391 25.6671 55.2005C25.5747 55.0618 25.5097 54.9058 25.4721 54.7325C25.4346 54.5592 25.4158 54.3758 25.4158 54.1823ZM28.5196 53.931L29.3471 53.1684H28.004V52.7785H29.9104V53.1598L29.1088 53.9007C29.2128 53.9007 29.3154 53.918 29.4165 53.9527C29.5204 53.9873 29.6129 54.0407 29.6938 54.113C29.7775 54.1823 29.8454 54.2704 29.8974 54.3772C29.9494 54.4841 29.9754 54.6098 29.9754 54.7542C29.9754 54.8726 29.9523 54.9867 29.9061 55.0965C29.8627 55.2033 29.7977 55.2987 29.7111 55.3824C29.6244 55.4662 29.5176 55.5326 29.3905 55.5817C29.2663 55.6308 29.1218 55.6554 28.9572 55.6554C28.7954 55.6554 28.651 55.6308 28.5239 55.5817C28.3968 55.5326 28.2885 55.4676 28.199 55.3868C28.1123 55.303 28.0445 55.2091 27.9954 55.1051C27.9462 54.9983 27.9188 54.8871 27.913 54.7715L28.329 54.6762C28.3319 54.7686 28.3506 54.8524 28.3853 54.9275C28.42 55.0026 28.4647 55.0661 28.5196 55.1181C28.5774 55.1701 28.6424 55.2106 28.7146 55.2394C28.7897 55.2683 28.8691 55.2828 28.9529 55.2828C29.0482 55.2828 29.1334 55.2698 29.2085 55.2438C29.2836 55.2149 29.3457 55.1773 29.3948 55.1311C29.4439 55.082 29.4815 55.0257 29.5074 54.9622C29.5334 54.8986 29.5464 54.8322 29.5464 54.7629C29.5464 54.6704 29.5291 54.591 29.4945 54.5246C29.4627 54.4581 29.4194 54.4047 29.3645 54.3643C29.3096 54.3209 29.2475 54.2892 29.1782 54.2689C29.1117 54.2487 29.0439 54.2386 28.9745 54.2386C28.8908 54.2386 28.8084 54.253 28.7276 54.2819L28.5196 53.931Z",fill:"black"}),(0,s.jsx)("rect",{opacity:"0.4",x:"36.1035",y:"52.8524",width:"24.9444",height:"1.46732",rx:"0.733659",fill:"black"}),(0,s.jsx)("path",{d:"M20.9546 61.5861V59.606H20.2743V59.3071C20.4707 59.3013 20.6325 59.2508 20.7596 59.1554C20.8867 59.0572 20.9661 58.9316 20.9979 58.7785H21.3705V61.5861H20.9546ZM22.2648 60.1823C22.2648 60.6155 22.3472 60.9188 22.5118 61.0921C22.5667 61.1499 22.6288 61.1947 22.6981 61.2264C22.7703 61.2582 22.857 61.2741 22.9581 61.2741C23.0592 61.2741 23.1444 61.2582 23.2137 61.2264C23.2859 61.1947 23.3495 61.1499 23.4043 61.0921C23.569 60.9188 23.6513 60.6155 23.6513 60.1823C23.6513 59.749 23.569 59.4457 23.4043 59.2724C23.3495 59.2147 23.2859 59.1699 23.2137 59.1381C23.1444 59.1063 23.0592 59.0905 22.9581 59.0905C22.857 59.0905 22.7703 59.1063 22.6981 59.1381C22.6288 59.1699 22.5667 59.2147 22.5118 59.2724C22.3472 59.4457 22.2648 59.749 22.2648 60.1823ZM21.8446 60.1823C21.8446 59.9888 21.8634 59.8053 21.9009 59.632C21.9385 59.4587 22.0034 59.3028 22.0959 59.1641C22.1883 59.0255 22.3053 58.9157 22.4468 58.8348C22.5884 58.7539 22.7588 58.7135 22.9581 58.7135C23.1574 58.7135 23.3278 58.7539 23.4693 58.8348C23.6109 58.9157 23.7278 59.0255 23.8203 59.1641C23.9127 59.3028 23.9777 59.4587 24.0152 59.632C24.0528 59.8053 24.0716 59.9888 24.0716 60.1823C24.0716 60.3758 24.0528 60.5592 24.0152 60.7325C23.9777 60.9058 23.9127 61.0618 23.8203 61.2005C23.7278 61.3391 23.6109 61.4489 23.4693 61.5297C23.3278 61.6106 23.1574 61.651 22.9581 61.651C22.7588 61.651 22.5884 61.6106 22.4468 61.5297C22.3053 61.4489 22.1883 61.3391 22.0959 61.2005C22.0034 61.0618 21.9385 60.9058 21.9009 60.7325C21.8634 60.5592 21.8446 60.3758 21.8446 60.1823ZM25.8361 60.1823C25.8361 60.6155 25.9184 60.9188 26.083 61.0921C26.1379 61.1499 26.2 61.1947 26.2693 61.2264C26.3415 61.2582 26.4282 61.2741 26.5293 61.2741C26.6304 61.2741 26.7156 61.2582 26.7849 61.2264C26.8571 61.1947 26.9207 61.1499 26.9756 61.0921C27.1402 60.9188 27.2225 60.6155 27.2225 60.1823C27.2225 59.749 27.1402 59.4457 26.9756 59.2724C26.9207 59.2147 26.8571 59.1699 26.7849 59.1381C26.7156 59.1063 26.6304 59.0905 26.5293 59.0905C26.4282 59.0905 26.3415 59.1063 26.2693 59.1381C26.2 59.1699 26.1379 59.2147 26.083 59.2724C25.9184 59.4457 25.8361 59.749 25.8361 60.1823ZM25.4158 60.1823C25.4158 59.9888 25.4346 59.8053 25.4721 59.632C25.5097 59.4587 25.5747 59.3028 25.6671 59.1641C25.7595 59.0255 25.8765 58.9157 26.018 58.8348C26.1596 58.7539 26.33 58.7135 26.5293 58.7135C26.7286 58.7135 26.899 58.7539 27.0405 58.8348C27.1821 58.9157 27.2991 59.0255 27.3915 59.1641C27.4839 59.3028 27.5489 59.4587 27.5865 59.632C27.624 59.8053 27.6428 59.9888 27.6428 60.1823C27.6428 60.3758 27.
1624 60.5592 27.5865 60.7325C27.5489 60.9058 27.4839 61.0618 27.3915 61.2005C27.2991 61.3391 27.1821 61.4489 27.0405 61.5297C26.899 61.6106 26.7286 61.651 26.5293 61.651C26.33 61.651 26.1596 61.6106 26.018 61.5297C25.8765 61.4489 25.7595 61.3391 25.6671 61.2005C25.5747 61.0618 25.5097 60.9058 25.4721 60.7325C25.4346 60.5592 25.4158 60.3758 25.4158 60.1823ZM27.9255 60.4639L29.13 58.7785H29.7149V60.5592H30.1958V60.9535H29.7149V61.5861H29.3033V60.9535H27.9255V60.4639ZM29.3033 59.1858L28.3155 60.5592H29.3033V59.1858Z",fill:"black"}),(0,s.jsx)("rect",{opacity:"0.4",x:"36.1035",y:"58.8524",width:"19.125",height:"1.46732",rx:"0.733659",fill:"black"}),(0,s.jsx)("path",{d:"M20.9546 67.5861V65.606H20.2743V65.3071C20.4707 65.3013 20.6325 65.2508 20.7596 65.1554C20.8867 65.0572 20.9661 64.9316 20.9979 64.7785H21.3705V67.5861H20.9546ZM22.2648 66.1823C22.2648 66.6155 22.3472 66.9188 22.5118 67.0921C22.5667 67.1499 22.6288 67.1947 22.6981 67.2264C22.7703 67.2582 22.857 67.2741 22.9581 67.2741C23.0592 67.2741 23.1444 67.2582 23.2137 67.2264C23.2859 67.1947 23.3495 67.1499 23.4043 67.0921C23.569 66.9188 23.6513 66.6155 23.6513 66.1823C23.6513 65.749 23.569 65.4457 23.4043 65.2724C23.3495 65.2147 23.2859 65.1699 23.2137 65.1381C23.1444 65.1063 23.0592 65.0905 22.9581 65.0905C22.857 65.0905 22.7703 65.1063 22.6981 65.1381C22.6288 65.1699 22.5667 65.2147 22.5118 65.2724C22.3472 65.4457 22.2648 65.749 22.2648 66.1823ZM21.8446 66.1823C21.8446 65.9888 21.8634 65.8053 21.9009 65.632C21.9385 65.4587 22.0034 65.3028 22.0959 65.1641C22.1883 65.0255 22.3053 64.9157 22.4468 64.8348C22.5884 64.7539 22.7588 64.7135 22.9581 64.7135C23.1574 64.7135 23.3278 64.7539 23.4693 64.8348C23.6109 64.9157 23.7278 65.0255 23.8203 65.1641C23.9127 65.3028 23.9777 65.4587 24.0152 65.632C24.0528 65.8053 24.0716 65.9888 24.0716 66.1823C24.0716 66.3758 24.0528 66.5592 24.0152 66.7325C23.9777 66.9058 23.9127 67.0618 23.8203 67.2005C23.7278 67.3391 23.6109 67.4489 23.4693 67.5297C23.3278 67.6106 23.1574 67.651 22.9581 67.651C22.7588 67.651 22.5884 67.6106 22.4468 67.5297C22.3053 67.4489 22.1883 67.3391 22.0959 67.2005C22.0034 67.0618 21.9385 66.9058 21.9009 66.7325C21.8634 66.5592 21.8446 66.3758 21.8446 66.1823ZM25.8361 66.1823C25.8361 66.6155 25.9184 66.9188 26.083 67.0921C26.1379 67.1499 26.2 67.1947 26.2693 67.2264C26.3415 67.2582 26.4282 67.2741 26.5293 67.2741C26.6304 67.2741 26.7156 67.2582 26.7849 67.2264C26.8571 67.1947 26.9207 67.1499 26.9756 67.0921C27.1402 66.9188 27.2225 66.6155 27.2225 66.1823C27.2225 65.749 27.1402 65.4457 26.9756 65.2724C26.9207 65.2147 26.8571 65.1699 26.7849 65.1381C26.7156 65.1063 26.6304 65.0905 26.5293 65.0905C26.4282 65.0905 26.3415 65.1063 26.2693 65.1381C26.2 65.1699 26.1379 65.2147 26.083 65.2724C25.9184 65.4457 25.8361 65.749 25.8361 66.1823ZM25.4158 66.1823C25.4158 65.9888 25.4346 65.8053 25.4721 65.632C25.5097 65.4587 25.5747 65.3028 25.6671 65.1641C25.7595 65.0255 25.8765 64.9157 26.018 64.8348C26.1596 64.7539 26.33 64.7135 26.5293 64.7135C26.7286 64.7135 26.899 64.7539 27.0405 64.8348C27.1821 64.9157 27.2991 65.0255 27.3915 65.1641C27.4839 65.3028 27.5489 65.4587 27.5865 65.632C27.624 65.8053 27.6428 65.9888 27.6428 66.1823C27.6428 66.3758 27.624 66.5592 27.5865 66.7325C27.5489 66.9058 27.4839 67.0618 27.3915 67.2005C27.2991 67.3391 27.1821 67.4489 27.0405 67.5297C26.899 67.6106 26.7286 67.651 26.5293 67.651C26.33 67.651 26.1596 67.6106 26.018 67.5297C25.8765 67.4489 25.7595 67.3391 25.6671 67.2005C25.5747 67.0618 25.5097 66.9058 25.4721 66.7325C25.4346 66.5592 25.4158 66.3758 25.4158 66.1823ZM28.3116 66.7022C28.3261 66.8755 28.3911 67.0156 28.5066 67.1225C28.6221 67.2293 28.768 67.2828 28.9442 67.2828C29.028 67.2828 29.106 67.2698 29.1782 67.2438C29.2533 67.2178 29.3168 67.1802 29.3688 67.1311C29.4237 67.0791 29.467 67.0185 29.4988 66.9492C29.5306 66.8798 29.5464 66.8018 29.5464 66.7152C29.5464 66.6199 29.5291 66.5361 29.4945 66.4639C29.4627 66.3888 29.4194 66.3281 29.3645 66.2819C29.3096 66.2328 29.2446 66.1967 29.1695 66.1736C29.0973 66.1476 29.0207 66.1346 28.9399 66.1346C28.8388 66.1346 28.7435 66.1534 28.6539 66.1909C28.5644 66.2256 28.4893 66.2747 28.4286 66.3383C28.3535 66.3094 28.2828 66.2819 28.2163 66.2559C28.1528 66.2271 28.0849 66.1996 28.0127 66.1736L28.3766 64.7785H29.8584V65.1684H28.6582L28.4503 65.9743C28.5138 65.905 28.5976 65.853 28.7016 65.8183C28.8056 65.7837 28.9124 65.7663 29.0222 65.7663C29.1608 65.7663 29.2879 65.788 29.4035 65.8313C29.519 65.8747 29.6187 65.9368 29.7024 66.0176C29.7891 66.0956 29.8555 66.1924 29.9017 66.3079C29.9508 66.4235 29.9754 66.5534 29.9754 66.6979C29.9754 66.8307 29.9508 66.9549 29.9017 67.0705C29.8526 67.186 29.7833 67.2871 29.6938 67.3738C29.6042 67.4604 29.4959 67.5297 29.3688 67.5817C29.2417 67.6308 29.1002 67.6554 28.9442 67.6554C28.794 67.6554 28.6568 67.6323 28.5326 67.5861C28.4113 67.5427 28.3044 67.4835 28.212 67.4084C28.1224 67.3304 28.0502 67.2409 27.9954 67.1398C27.9434 67.0387 27.913 66.9333 27.9044 66.8235L28.3116 66.7022Z",fill:"black"}),(0,s.jsx)("rect",{opacity:"0.4",x:"36.1035",y:"64.8524",width:"19.125",height:"1.46732",rx:"0.733659",fill:"black"})]})]}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"paint0_linear_19493_39830",x1:"72.9138",y1:"14.1868",x2:"24.4042",y2:"75.7171",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#F7F8FA"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ECF0F6"})]}),(0,s.jsx)("clipPath",{id:"clip0_19493_39830",children:(0,s.jsx)("rect",{width:"90",height:"68",rx:"6.97436",fill:"white"})})]})]})}),f=l(4261),g=l(84471),j=l(8801),b=l(56080),w=l(71792),k=e=>{let{children:t=null,disabled:l=!1,loading:r=!1,multiple:a=!1,acceptList:n=["application/pdf","image/png","image/jpg","image/jpeg","video/mp4","image/gif","
1image/webp","image/svg+xml","text/plain","application/msword","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],onUploading:o=()=>{},onChange:d=()=>{},onChangeCodeData:c=()=>{},className:u="relative overflow-hidden",fileType:C=1,onSuccess:x=()=>{}}=e,[p,m]=(0,i.useState)([]),[h,v]=(0,i.useState)(!1),[f,k]=(0,i.useState)(!1),y=async e=>{v(!0);let t=await Promise.allSettled([...e].map(e=>w.Mp.importTmpl({file_type:C,file:e})));v(!1);let l=t.filter(e=>"fulfilled"===e.status).map(t=>{let{value:l}=t;return(null==l?void 0:l.code)===0?(x(),{file_url:l.data.url,thumbnail_url:l.data.thumbnail,file_name:l.data.file_name||e[0].name,file_id:l.data.file_id}):null}).filter(e=>!!e);m(l),d(l),c(t.filter(e=>"fulfilled"===e.status).map(e=>{let{value:t}=e;return(null==t?void 0:t.code)===0?t.data.cost_codes:(b.ZP.error(t.message||"fail"),null)}).filter(Boolean).flat())};return(0,s.jsxs)("div",{className:u,children:[h&&(0,s.jsx)(j.Z,{}),(0,s.jsx)(g.Z,{disabled:h||f,accept:n.join(","),className:"!border-0 !rounded-[20px] cursor-pointer",onChange:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>n.includes(e.type));return e.length&&!t.length?b.ZP.warning("File type not allowed"):t.filter(e=>e.size>10485760).length?b.ZP.warning("File is too big"):void(t.length&&y(t))},children:t})]})},y=e=>{var t,l;let{item:r,key:a}=e,[n,o]=(0,i.useState)(!1);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:" ".concat(a>0?"border-b border-x":"border"," border-en-divider-dark p-2 flex items-center text-en-dark-blue w-full"),children:[(0,s.jsx)("div",{className:"px-1.5 py-3px text-sm min-w-20",children:(null==r?void 0:r.code)||(null==r?void 0:r.group_code)}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,s.jsx)("svg",{className:"cursor-pointer ".concat(n?"rotate-90":""),xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",onClick:()=>o(!n),children:(0,s.jsx)("path",{d:"M5.39438 3.42169L10.1836 8.21091L5.39438 13.0001",stroke:"#3B4658",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("div",{className:"text-sm px-1.5 py-3px",children:null==r?void 0:r.title}),(0,s.jsx)("div",{className:"bg-[#E1E4EB] rounded-[13px] py-1 px-[9px] ml-2",children:null==r?void 0:null===(t=r.children)||void 0===t?void 0:t.length})]})})]}),n&&(0,s.jsx)("div",{children:null==r?void 0:null===(l=r.children)||void 0===l?void 0:l.map((e,t)=>(0,s.jsxs)("div",{className:"".concat(t?"border-b border-x":"border","  border-en-divider-dark px-2 flex items-center text-en-dark-blue w-full"),children:[(0,s.jsx)("div",{className:"px-1.5 py-3px text-sm min-w-22",children:e.code||e.group_code}),(0,s.jsx)("div",{className:"flex-1 pl-2 py-2 border-l border-en-divider-dark",children:(0,s.jsx)("div",{className:"flex items-center space-x-1",children:(0,s.jsx)("div",{className:"text-sm px-1.5 py-3px",dangerouslySetInnerHTML:{__html:null==e?void 0:e.title.replace(/\n/g,"<br>")}})})})]}))})]})},N=l(85780),L=l(37924),_=e=>{let{t}=(0,n.$G)("common"),{isShowBack:l=!1,onFresh:r=()=>{},onClose:a=()=>{},aiTmpl:o=[],standardTmpl:d=[],loading:c}=e,[u,C]=(0,i.useState)(!1),[g,j]=(0,i.useState)(!1),[_]=(0,i.useState)(!1),[Z,M]=(0,i.useState)(null),[H,S]=(0,i.useState)(!1),[V,E]=(0,i.useState)(null),[F,B]=(0,i.useState)(!1),[T,I]=(0,i.useState)([]),[P,R]=(0,i.useState)(!1),A=async e=>{let t=await w.Mp.deleteTmpl({id:e});0===t.code?(r(),b.ZP.success(t.message||"success")):b.ZP.error(t.message||"fail")},W=async()=>{if(C(!0),F)return;B(!0);let e=await w.Mp.getStandardCodes({code_type:1});B(!1),0===e.code&&I(e.data)},D=async()=>{if(P)return;R(!0);let e=await w.Mp.importStandardCodes({code_type:1});R(!1),0===e.code&&(C(!1),r(),a())},O=async()=>{let e=await w.Mp.downloadCostCodeTemplate();0===e.code?window.open(e.data.url):b.ZP.error(e.message||"fail")},z=async e=>{if(P)return;R(!0);let t=await w.Mp.importExcelCodes({file_id:e});R(!1),0===t.code?(j(!1),r(),a()):b.ZP.error(t.message||"fail")},U=async()=>{let e=await w.Mp.blankTmpl();0===e.code?(C(!1),r(),a(),b.ZP.success(e.message||"success")):b.ZP.error(e.message||"fail")};return c?(0,s.jsx)(L.Z,{}):(0,s.jsxs)(s.Fragment,{children:[!(null==o?void 0:o.length)&&(0,s.jsx)("div",{className:"w-full py-10 cursor-pointer bg-[#E9F1FD] rounded-lg border border-en-divider-dark flex items-center justify-center relative border-dotted",children:_?(0,s.jsxs)("div",{children:[(0,s.jsx)(m.U,{className:"animate-spin mx-auto"}),(0,s.jsx)("div",{className:"text-center text-sm text-en-mid-blue font-circular-bold mt-2",children:"Uploading file..."})]}):(0,s.jsx)(k,{onSuccess:()=>{r()},children:(0,s.jsxs)("div",{className:"flex text-center items-center w-full h-full",children:[(0,s.jsx)("img",{className:"w-30 mx-auto",src:"https://eano-static-bucket.s3.us-west-1.amazonaws.com/media/public/Frame+23398.png",alt:""}),(0,s.jsxs)("div",{className:"text-sm text-en-dark-blue",children:["Drop your spreadsheet here or"," ",(0,s.jsx)("span",{className:"underline text-en-blue cursor-pointer",children:"click to import it"}),".",(0,s.jsx)("br",{}),"We'll use AI to import your existing cost book from a spreadsheet."]})]})})}),!!(null==o?void 0:o.length)&&(0,s.jsx)(s.Fragment,{children:null==o?void 0:o.map((e,t)=>(0,s.jsxs)("div",{className:" border rounded-xl border-en-divider-dark p-8 shadow-xl flex mb-4",children:[(0,s.jsxs)("div",{className:"flex space-x-6 justify-between items-center flex-1 cursor-pointer",onClick:()=>{},children:[(0,s.jsx)(v,{}),(0,s.jsxs)("div",{className:"flex-1 pr-4",children:[(null==e?void 0:e.status)===2?(0,s.jsx)("div",{className:"text-[#146018] bg-[#D1EAD1] rounded-[13px] py-1 px-2.5 text-13 w-fit ",children:"AI Generated"}):(0,s.jsx)("div",{className:"text-en-light-blue bg-[#D9E1E9] rounded-[13px] py-1 px-2.5 text-13 w-fit ",children:"AI Generation In Progress"}),(0,s.jsx)("div",{className:"flex items-center justify-between font-circular-bold",children:(0,s.jsxs)("div",{children:["You uploaded on ",(0,N.uq)(null==e?void 0:e.create_time).yearMonthDate]})}),!!(null==e?void 0:e.length)&&(0,s.jsx)("div",{className:"text-13 text-en-light-blue",children:(null==e?void 0:e.status)===2?"Included ".concat((null==e?void 0:e.length)||0," services"):"It will take 24 hours to generate the template"})]})]}),(0,s.jsx)("div",{className:"flex items-center cursor-pointer h-full",children:(0,s.jsx)(h.Z,{content:(0,s.jsx)("div",{className:"cursor-pointer flex items-center space-x-[3px] h-10",children:[,,,].fill(0).map((e,t)=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",children:(0,s.jsx)("circle",{cx:"2",cy:"2",r:"2",fill:"#3B4658"})},t))}),children:(0,s.jsxs)("div",{className:"flex items-center space-x-2.5 px-5 py-[18px] curs
1or-pointer",onClick:()=>{A(null==e?void 0:e.id)},children:[(0,s.jsx)(f.Z,{}),(0,s.jsx)("div",{className:"text-sm text-[#E12424]",children:"Delete"})]})})})]},t))}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-6 mt-6",children:[(0,s.jsxs)("div",{className:"py-10 px-8 rounded-xl bg-white border border-en-divider-light shadow-xl flex flex-col items-center space-y-4",children:[(0,s.jsx)("div",{className:"w-20 h-10",children:(0,s.jsx)("img",{className:"w-full h-full",src:"/static/img/cost-book/NAHB.png",alt:""})}),(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-xl text-en-dark-blue font-circular-bold",children:"NAHB"}),(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Import NAHB cost codes (Beta)"})]}),(0,s.jsx)(x.Z,{onClick:()=>{W()},loading:P,children:(0,s.jsxs)("div",{className:"flex space-x-1.5 items-center",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:(0,s.jsx)("path",{d:"M6.5 4C6.5 2.89688 7.39687 2 8.5 2H13.5V6C13.5 6.55312 13.9469 7 14.5 7H18.5V16C18.5 17.1031 17.6031 18 16.5 18H8.5C7.39687 18 6.5 17.1031 6.5 16V12.5H11.9406L10.7219 13.7188C10.4281 14.0125 10.4281 14.4875 10.7219 14.7781C11.0156 15.0687 11.4906 15.0719 11.7812 14.7781L14.2812 12.2781C14.575 11.9844 14.575 11.5094 14.2812 11.2188L11.7812 8.71875C11.4875 8.425 11.0125 8.425 10.7219 8.71875C10.4313 9.0125 10.4281 9.4875 10.7219 9.77812L11.9406 10.9969L6.5 11V4ZM6.5 11V12.5H3.25C2.83437 12.5 2.5 12.1656 2.5 11.75C2.5 11.3344 2.83437 11 3.25 11H6.5ZM18.5 6H14.5V2L18.5 6Z",fill:"white"})}),(0,s.jsx)("div",{children:t("ctas.importAction")})]})})]}),(0,s.jsxs)("div",{className:"py-10 px-8 rounded-xl bg-white border border-en-divider-light shadow-xl flex flex-col items-center space-y-4",children:[(0,s.jsx)("div",{className:"w-10 h-10",children:(0,s.jsx)("img",{className:"w-full h-full",src:"/static/img/cost-book/excel.png",alt:""})}),(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-xl text-en-dark-blue font-circular-bold",children:"Excel"}),(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Import Excel"})]}),(0,s.jsx)(x.Z,{onClick:()=>j(!0),loading:P,children:(0,s.jsxs)("div",{className:"flex space-x-1.5 items-center",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:(0,s.jsx)("path",{d:"M6.5 4C6.5 2.89688 7.39687 2 8.5 2H13.5V6C13.5 6.55312 13.9469 7 14.5 7H18.5V16C18.5 17.1031 17.6031 18 16.5 18H8.5C7.39687 18 6.5 17.1031 6.5 16V12.5H11.9406L10.7219 13.7188C10.4281 14.0125 10.4281 14.4875 10.7219 14.7781C11.0156 15.0687 11.4906 15.0719 11.7812 14.7781L14.2812 12.2781C14.575 11.9844 14.575 11.5094 14.2812 11.2188L11.7812 8.71875C11.4875 8.425 11.0125 8.425 10.7219 8.71875C10.4313 9.0125 10.4281 9.4875 10.7219 9.77812L11.9406 10.9969L6.5 11V4ZM6.5 11V12.5H3.25C2.83437 12.5 2.5 12.1656 2.5 11.75C2.5 11.3344 2.83437 11 3.25 11H6.5ZM18.5 6H14.5V2L18.5 6Z",fill:"white"})}),(0,s.jsx)("div",{children:t("ctas.importAction")})]})})]}),(0,s.jsxs)("div",{className:"py-10 px-8 rounded-xl bg-white border border-en-divider-light shadow-xl flex flex-col items-center space-y-4",children:[(0,s.jsx)("div",{className:"w-10 h-10",children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[(0,s.jsx)("path",{d:"M6.36523 5.00002C6.36523 3.15907 7.85762 1.66669 9.69857 1.66669H25.6133C25.8284 1.66669 26.0352 1.74988 26.1904 1.89886L35.8528 11.1747C36.1802 11.489 36.3652 11.9232 36.3652 12.377V35.8334C36.3652 37.6743 34.8729 39.1667 33.0319 39.1667H9.69857C7.85762 39.1667 6.36523 37.6743 6.36523 35.8334V5.00002Z",fill:"#E4E5EA"}),(0,s.jsx)("path",{d:"M25.9912 11.235V1.66669L36.5072 11.8656H26.6175C26.2705 11.8656 25.9912 11.5821 25.9912 11.235Z",fill:"#B1B1B1"})]})}),(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)("div",{className:"text-xl text-en-dark-blue font-circular-bold",children:"Start from blank"})}),(0,s.jsx)(x.Z,{disabled:d.length>0,onClick:U,children:(0,s.jsxs)("div",{className:"flex space-x-1.5 items-center",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:(0,s.jsx)("path",{d:"M6.5 4C6.5 2.89688 7.39687 2 8.5 2H13.5V6C13.5 6.55312 13.9469 7 14.5 7H18.5V16C18.5 17.1031 17.6031 18 16.5 18H8.5C7.39687 18 6.5 17.1031 6.5 16V12.5H11.9406L10.7219 13.7188C10.4281 14.0125 10.4281 14.4875 10.7219 14.7781C11.0156 15.0687 11.4906 15.0719 11.7812 14.7781L14.2812 12.2781C14.575 11.9844 14.575 11.5094 14.2812 11.2188L11.7812 8.71875C11.4875 8.425 11.0125 8.425 10.7219 8.71875C10.4313 9.0125 10.4281 9.4875 10.7219 9.77812L11.9406 10.9969L6.5 11V4ZM6.5 11V12.5H3.25C2.83437 12.5 2.5 12.1656 2.5 11.75C2.5 11.3344 2.83437 11 3.25 11H6.5ZM18.5 6H14.5V2L18.5 6Z",fill:"white"})}),(0,s.jsx)("div",{children:"Continue"})]})})]})]}),(0,s.jsxs)(p.ZP,{open:u,hideCloseBtn:!l,width:"middle",onClose:()=>C(!1),children:[l&&(0,s.jsxs)("div",{className:"flex items-center cursor-pointer space-x-2 absolute top-5 left-5",onClick:()=>C(!1),children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",children:[(0,s.jsx)("path",{d:"M6.90137 0.999756L1.90137 5.99976L6.90137 10.9998",stroke:"#051023",strokeWidth:"1.33333"}),(0,s.jsx)("path",{d:"M1.70801 5.99976H13.0413",stroke:"#051023",strokeWidth:"1.33333"})]}),(0,s.jsx)("div",{className:"text-lg font-circular-bold text-en-dark-blue",children:"Back"})]}),(0,s.jsxs)("div",{className:"space-y-8  w-full",children:[(0,s.jsx)("div",{className:"text-3xl font-optimal-tp text-en-dark-blue text-center",children:"NAHB Cost Codes"}),F&&(0,s.jsx)(L.Z,{}),!F&&(0,s.jsx)("div",{className:"--2xl:h-[544px] --h-100 h-50vh overflow-auto",children:(0,s.jsx)("div",{className:"w-full",children:null==T?void 0:T.map((e,t)=>(0,s.jsx)(y,{item:e},t))})}),!F&&(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(x.Z,{className:"w-[328px]",loading:P,onClick:()=>{D()},children:"Import"})})]})]}),(0,s.jsxs)(p.ZP,{open:g,hideCloseBtn:!l,width:"middle",onClose:()=>j(!1),children:[l&&(0,s.jsxs)("div",{className:"flex items-center cursor-pointer space-x-2 absolute top-5 left-5",onClick:()=>j(!1),children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",children:[(0,s.jsx)("path",{d:"M6.90137 0.999756L1.90137 5.99976L6.90137 10.9998",stroke:"#051023",strokeWidth:"1.33333"}),(0,s.jsx)("path",{d:"M1.70801 5.99976H13.0413",stroke:"#051023",strokeWidth:"1.33333"})]}),(0,s.jsx)("div",{className:"text-lg font-circular-bold text-en-dark-blue",children:"Back"})]}),(0,s.jsxs)("div",{className:"space-y-8  w-full",children:[(0,s.jsx)("div",{className:"text-3xl font-optimal-tp text-en-dark-blue text-center",children:"Import Excel"}),!H&&(0,s.jsxs)("div",{children:[(0,s.jsx)(k,{fileType:2,onChange:e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.file_id)&&(M(e[0]),S(!0))},onChangeCodeData:E,acceptList:["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],children:(0,s.jsxs)("div",{className:"bg-[#F0F7FB] rounded-lg border-[1.5px] border-dashed border-en-divider-dark px-8 py-16",children:[(0,s.jsxs)("svg",{className:"mx-auto",width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M26.6777 0.343497L2.05213 2.06549C0.91877 2.14474 0.0642468 3.12776 0.143499 4.26112L1.86549 28.8867C1.94474 30.0201 2.92776 30.8746 4.06112 30.7953L16.3739 29.9343L28.5477 29.1608C29.6813 29.0887 30.5419 28.1116 30.4703 26.978L29.2321 7.38246L28.8733 2.25213C28.7941 1.11877 27.8111 0.264245 26.6777 0.343497Z",fill:"#C7D7EE"}),(0,s.jsx)("path",{d:"M1.65905 25.9107L7.6712 18.9945L16.1268 26.3448",stroke:"white",strokeWidth:"1.44",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M13.0006 22.9523L17.0087 18.3415",stroke:"white",strokeWidth:"1.44",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("circle",{cx:"8.71166",cy:"9.7797",r:"2.16",transform:"rotate(-4 8.71166 9.7797)",fill:"white",stroke:"white",strokeWidth:"1.44",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M17.2336 35.1031L40.5118 38.3746C41.6369 38.5327 42.6771 37.7489 42.8353 36.6238L45.5458 17.3374C45.6072 16.9007 45.5266 16.4559 45.316 16.0686L41.8257 9.64795C41.5144 9.07529 40.9501 8.68404 40.3047 8.59332L21.334 5.92717C20.2089 5.76905 19.1687 6.55292 19.0106 7.67799L15.4828 32.7796C15.3247 33.9047 16.1085 34.9449 17.2336 35.1031Z",fill:"#80A8E5"}),(0,s.jsx)("path",{d:"M39.0265 16.0236L44.8792 17.3742C45.3865 17.4913 45.792 16.9509 45.5377 16.4966L41.4858 9.25694C41.2278 8.79593 40.5429 8.8693 40.3885 9.37452L38.5876 15.2635C38.4859 15.5962 38.6875 15.9454 39.0265 16.0236Z",fill:"#6985B1"}),(0,s.jsx)("path",{d:"M24.1289 22.9015C24.5284 22.9576 24.8545 22.8998 25.1074 22.7281C25.3672 22.5574 25.5222 22.2933 25.5724 21.9359C25.6227 21.5785 25.5469 21.2784 25.3452 21.0356C25.1505 20.7939 24.8534 20.6449 24.454 20.5888L23.1399 20.4041L22.8149 22.7168L24.1289 22.9015ZM22.6583 23.8311L22.2491 26.7429L20.9876 26.5656L22.0351 19.1126L24.7998 19.5011C25.1572 19.5513 25.4712 19.6562 25.7418 19.8157C26.0204 19.9692 26.2505 20.1624 26.4322 20.3951C26.6148 20.6209 26.7425 20.8818 26.8153 21.1779C26.888 21.474 26.9017 21.7832 26.8564 22.1056C26.8101 22.435 26.7112 22.732 26.5597 22.9965C26.4091 23.2541 26.2145 23.4697 25.9757 23.6434C25.7369 23.8171 25.4624 23.9393 25.1523 24.0101C24.8492 24.0818 24.519 24.0926 24.1615 24.0423L22.6583 23.8311ZM29.7239 26.6143C30.0463 26.6596 30.3585 26.6499 30.6606 26.5851C30.9627 26.5204 31.2337 26.3977 31.4735 26.217C31.7203 26.0373 31.9289 25.7986 32.0994 25.501C32.2708 25.1963 32.3871 24.8267 32.4482 24.3922C32.5092 23.9577 32.4993 23.5704 32.4185 23.2303C32.3456 22.8842 32.2154 22.5908 32.0277 22.35C31.848 22.1032 31.6218 21.907 31.3493 21.7615C31.0767 21.616 30.7792 21.5206 30.4569 21.4753L29.1218 21.2877L28.3994 26.428
11L29.7239 26.6143ZM26.9754 27.4072L28.0229 19.9541L30.6614 20.3249C31.166 20.3958 31.6272 20.5464 32.0451 20.7766C32.464 20.9999 32.8119 21.2953 33.089 21.663C33.3741 22.0247 33.5782 22.4536 33.7014 22.9497C33.8256 23.4388 33.8459 23.9812 33.7622 24.5769C33.6784 25.1726 33.5095 25.6884 33.2553 26.1244C33.001 26.5603 32.6871 26.9128 32.3134 27.1819C31.9397 27.4509 31.5207 27.6351 31.0566 27.7342C30.5924 27.8333 30.108 27.8474 29.6035 27.7765L26.9754 27.4072ZM34.2464 28.4291L35.2939 20.976L39.9298 21.6275L39.7628 22.8154L36.3884 22.3411L36.0944 24.433L39.1219 24.8585L38.9579 26.0254L35.9304 25.5999L35.5079 28.6063L34.2464 28.4291Z",fill:"white"})]}),(0,s.jsxs)("div",{className:"text-en-light-blue opacity-70  text-xs text-center mt-2",children:["Drop an file here or ",(0,s.jsx)("span",{className:"text-[#0052CC]"}),"browse files"]})]})}),(0,s.jsx)("div",{className:"text-sm text-en-blue mt-2 cursor-pointer",onClick:O,children:"Download cost code template"})]}),H&&(0,s.jsxs)("div",{className:"rounded-lg px-6 py-[14px] bg-[#ECEEF0] flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2.5",children:[(0,s.jsx)("img",{className:"w-6 h-6",src:"/static/img/cost-book/excel.png"}),(0,s.jsx)("div",{className:"text-sm text-en-mid-blue",children:Z.file_name})]}),(0,s.jsx)(k,{fileType:2,onChange:e=>{e[0].file_id&&(M(e[0]),S(!0))},onChangeCodeData:E,children:(0,s.jsx)("div",{className:"rounded-lg border border-en-blue px-3 py-2 text-en-blue bg-[#e7eef9] cursor-pointer",children:"Change Files"})})]}),(0,s.jsx)("div",{className:"--2xl:h-[544px] --h-100 h-50vh overflow-auto",children:(0,s.jsx)("div",{className:"w-full",children:!!(null==V?void 0:V.length)&&(null==V?void 0:V.map((e,t)=>(0,s.jsx)(y,{item:e},t)))})}),(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(x.Z,{className:"w-[328px]",loading:P,onClick:()=>{z(Z.file_id)},children:"Import"})})]})]})]})},Z=e=>{let{t}=(0,n.$G)("common"),{onFresh:l,aiTmpl:i,standardTmpl:r}=e;return(0,s.jsxs)("div",{className:"max-w-[880px] mx-auto space-y-6",children:[(0,s.jsx)("div",{className:"text-3xl font-circular-bold text-en-dark-blue",children:t("navigation.menu.costBookSetup")}),(0,s.jsx)("div",{className:"text-en-mid-blue",children:"Eano makes it easy to use a cost book. Start with one of our templates and customize it, or build you own. To get started, tell us how you’re set up."}),(0,s.jsx)(_,{standardTmpl:r,aiTmpl:i,onFresh:l})]})},M=l(74722),H=l(81764),S=l.n(H),V=l(70300),E=l(87178),F=l(94223),B=l(28927),T=l(47476),I=l(54210);let P=(e,t,l,s)=>{for(let i of e)i.checked&&t.push({id:null!=s?s:i.id,type:l,title:i.title})},R=(e,t)=>e.map(e=>({id:e.id,checked:t,title:e.title})),A=e=>{let t=[],{customWorks:l=[],...s}=e;for(let i of(P(l,t,"work"),Object.keys(s))){if(s[i].checked){t.push({id:i,type:"groupWork"});continue}P(e[i].works,t,"work")}return t};var W=e=>{let{children:t,onFresh:l,...r}=e,[a,n]=(0,i.useState)(!1),o=(0,i.cloneElement)(t,{onClick:()=>n(!0)}),d=()=>{n(!1)};return(0,s.jsxs)(s.Fragment,{children:[o,(0,s.jsx)(p.ZP,{open:a,width:"middle",displace:!1,onClose:d,children:(0,s.jsx)(_,{...r,isShowBack:!0,onClose:d,onFresh:l})})]})},D=l(63469),O=l.n(D),z=l(89120),U=l.n(z);let G=e=>(0,s.jsxs)("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"10",cy:"10",r:"10",fill:"#A5ADBA"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5355 7.63074C13.861 7.3053 13.861 6.77766 13.5355 6.45223C13.2101 6.12679 12.6825 6.12679 12.357 6.45223L10 8.80923L7.643 6.4522C7.31756 6.12676 6.78993 6.12676 6.46449 6.4522C6.13905 6.77764 6.13905 7.30527 6.46449 7.63071L8.82152 9.98774L6.46447 12.3448C6.13903 12.6702 6.13903 13.1979 6.46447 13.5233C6.78991 13.8487 7.31754 13.8487 7.64298 13.5233L10 11.1662L12.357 13.5233C12.6825 13.8487 13.2101 13.8487 13.5356 13.5233C13.861 13.1978 13.861 12.6702 13.5356 12.3448L11.1785 9.98774L13.5355 7.63074Z",fill:"white"})]});var q=e=>{let{className:t="",onClear:l,onSearch:i,...r}=e;return(0,s.jsxs)("div",{className:"inline-flex items-center px-1.5 py-1.5 rounded-full border border-en-divider-light space-x-1 ".concat(t),children:[(0,s.jsx)("div",{className:"flex justify-center items-center w-7 h-7 rounded-full cursor-pointer",onClick:i,children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[(0,s.jsx)("circle",{cx:"6.57887",cy:"6.19813",r:"5.24586",stroke:"#7C8293",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}
1),(0,s.jsx)("path",{d:"M12.632 12.7237L10.2109 10.2333",stroke:"#7C8293",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,s.jsx)("input",{type:"text",className:"h-7 w-0 flex-1 text-14",...r}),!!r.value&&(0,s.jsx)("div",{onClick:l,className:"cursor-pointer",children:(0,s.jsx)(G,{})})]})},$=l(32521),K=l(49586),Q=l(20896),Y=e=>{let{data:t,onCheck:l}=e,[r,a]=(0,i.useState)(null);return(0,s.jsxs)("tr",{className:"border-x border-b border-en-divider-dark hover:bg-[#f3f6fb]",children:[(0,s.jsx)("td",{className:"py-3",valign:"middle",children:(0,s.jsx)(E.Z,{color:"primary",size:"small",className:"!p-0 !pl-5 !pr-4",checked:null==t?void 0:t.checked,onChange:e=>{l(e.target.checked)}})}),(0,s.jsx)("td",{className:"border-l border-en-divider-dark py-3 pl-4 truncate overflow-hidden",children:(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(null==t?void 0:t.cover)&&(0,s.jsx)("div",{className:"w-10 h-10 bg-[#F4F5F7] overflow-hidden",children:(0,s.jsx)("img",{className:"w-full h-full object-cover rounded-sm",src:null==t?void 0:t.cover,alt:""})}),(0,s.jsx)("div",{className:"flex-1 truncate max-w-120 2xl:max-w-[668px]",children:null==t?void 0:t.name})]})}),(0,s.jsx)("td",{className:"py-3 px-4",valign:"middle",children:null==t?void 0:t.unit_type}),(0,s.jsx)("td",{className:"py-3 px-4",valign:"middle",children:(0,Q.E)(null==t?void 0:t.unit_price,!0)}),(0,s.jsx)("td",{className:"py-3 px-4",valign:"middle",children:null==t?void 0:t.retailer}),(0,s.jsxs)("td",{className:"py-3 px-4",valign:"middle",children:[(0,s.jsxs)("div",{className:"flex space-x-0.5 items-center text-en-blue cursor-pointer relative",onClick:e=>{a(e.currentTarget)},children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,s.jsx)("path",{d:"M6.125 4.375V7.875M4.37891 6.12955L7.87436 6.125M9.6875 9.68945L12.1624 12.1643M6.12435 11.0832C8.86275 11.0832 11.0827 8.86324 11.0827 6.12484C11.0827 3.38644 8.86275 1.1665 6.12435 1.1665C3.38595 1.1665 1.16602 3.38644 1.16602 6.12484C1.16602 8.86324 3.38595 11.0832 6.12435 11.0832Z",stroke:"#0052CC",strokeWidth:"1.16667",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,s.jsx)("div",{children:"Quickview"})]}),(0,s.jsx)(K.ZP,{id:"mouse-over-popover",open:!!r,anchorEl:r,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},onClose:()=>{a(null)},disableRestoreFocus:!0,children:(0,s.jsxs)("div",{className:"p-6 flex space-x-8 bg-white rounded-lg shadow-md w-200 h-200",children:[(0,s.jsxs)("div",{className:"max-w-1/2",children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:null==t?void 0:t.photos[0],alt:"",className:"w-[300] h-300px"})}),(0,s.jsx)("div",{className:"flex space-x-1 mt-3",children:null==t?void 0:t.photos.slice(1,4).map((e,t)=>(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:e,alt:"",className:"w-[72px] h-[72px]"})},t))})]}),(0,s.jsxs)("div",{className:" space-y-8 flex-1",children:[(0,s.jsx)("div",{className:"text-lg font-circular-bold",dangerouslySetInnerHTML:{__html:null==t?void 0:t.introduction}}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Unit"}),(0,s.jsx)("div",{className:"text-en-dark-blue",children:null==t?void 0:t.unit_type})]}),(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Unit Cost"}),(0,s.jsxs)("div",{className:"text-en-dark-blue",children:["$ ",null==t?void 0:t.unit_price]})]})]}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Retailer"}),(0,s.jsx)("div",{className:"text-en-dark-blue",children:null==t?void 0:t.retailer})]}),(0,s.jsxs)("div",{className:"w-1/2",children:[(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Brand"}),(0,s.jsx)("div",{className:"text-en-dark-blue",children:null==t?void 0:t.brand})]})]}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Description"}),(0,s.jsx)("div",{className:"text-sm text-en-dark-blue",dangerouslySetInnerHTML:{__html:null==t?void 0:t.description}})]})]})]})})]})]})},J=e=>{let{onChange:t}=e,[l,r]=(0,i.useState)(""),[a,n]=(0,i.useState)([]),[o,d]=(0,i.useState)(!1),c=(e,l)=>{let s=[...a];s[l].checked=e.target.checked,n(s),t(s.filter(e=>e.checked).map(e=>e.id))};return(0,i.useEffect)(()=>{d(!0);let e=!0,s=U()(async()=>{t([]);let s=await w.Mp.getEanoLabors({name:l});d(!1),e&&0===s.code&&n(s.data)},100);return s(),()=>{e=!1,s.cancel()}},[l]),(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(q,{placeholder:"Search by product name",className:"!border-en-divider-dark bg-white !h-11 !w-150 my-6 ".concat(!l&&"[&>
1div]:text-en-disable"),value:l,onChange:e=>{r(e.target.value)},onClear:()=>{r("")}}),o&&!a.length&&(0,s.jsx)(L.Z,{}),(0,s.jsx)("div",{className:"border-x border-t border-en-divider-dark max-h-100 overflow-y-auto",children:null==a?void 0:a.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center justify-between py-3 pr-4 border-b border-en-divider-dark space-x-5",children:[(0,s.jsxs)("div",{className:"flex items-center flex-1 overflow-hidden",children:[(0,s.jsx)(E.Z,{color:"primary",size:"small",className:"!p-0 !pl-5 pr-4",checked:e.checked,onChange:e=>c(e,t)}),(0,s.jsx)("div",{className:"text-en-dark-blue ml-4 text-sm truncate flex-1",children:e.title})]}),(0,s.jsxs)("div",{className:"px-2 py-0.5 text-[#092E64] text-sm bg-[#D1E0F6] rounded-[13px]",children:["Used ",null==e?void 0:e.num," times"]})]},t))}),!(null==a?void 0:a.length)&&!o&&(0,s.jsx)("div",{className:"flex items-center justify-center h-40",children:(0,s.jsx)("div",{className:"text-en-dark-blue text-sm",children:"No more data"})})]})},X=e=>{let{children:t,onRefresh:l,...r}=e,a=(0,i.useRef)(null),[n,o]=(0,i.useState)(!1),[d,c]=(0,i.useState)("Material"),[u,C]=(0,i.useState)("items"),[m,h]=(0,i.useState)(null),[v,f]=(0,i.useState)(null),[g,j]=(0,i.useState)(null),[k,y]=(0,i.useState)([]),[N,_]=(0,i.useState)([]),[Z,M]=(0,i.useState)([]),[H,S]=(0,i.useState)(!1),[V,E]=(0,i.useState)(1),[F,B]=(0,i.useState)(!0),[T,I]=(0,i.useState)(!1),[P,R]=(0,i.useState)(!1),[A,W]=(0,i.useState)([]),D=(0,i.cloneElement)(t,{onClick:()=>{Q(),G(),o(!0)}}),z=()=>{o(!1)},G=async()=>{let e=await w.Mp.getMaterialRetailerList();0===e.code&&y(e.data)};(0,i.useEffect)(()=>{S(!0);let e=!0,t=U()(async()=>{let t=await w.Mp.getMaterialProductsList({product_name:m,retailer:g,page:V,page_size:10});if(S(!1),e&&0===t.code){var l;let e=(null===(l=t.data)||void 0===l?void 0:l.items)||[];1===V?M(e):M(t=>{let l=e.filter(e=>!t.some(t=>t.id===e.id));return[...t,...l]}),B(e.length>0)}},100);return t(),()=>{e=!1,t.cancel()}},[m,g,V,n,d]);let K=(0,i.useCallback)(O()(()=>{if(H||!F)return;let e=a.current;if(!e)return;let{scrollTop:t,scrollHeight:l,clientHeight:s}=e;l-t<=s+100&&E(e=>e+1)},500),[H,F]);(0,i.useEffect)(()=>{E(1)},[m,g]),(0,i.useEffect)(()=>{let e=a.current;return e&&e.addEventListener("scroll",K),()=>{e&&e.removeEventListener("scroll",K)}},[K]);let Q=async()=>{},[X,ee]=(0,i.useState)([]),et=Z.filter(e=>e.checked).map(e=>e.id),el=async()=>{if(P)return;R(!0);let e=await w.Mp.importEanoProducts({product_ids:et});R(!1),0===e.code?(b.ZP.success(e.message||"success"),z(),l(),ee([])):b.ZP.error(e.message||"fail")};(0,i.useEffect)(()=>{ee(Z.filter(e=>e.checked).map(e=>e.id))},[Z]);let es=async()=>{if(P)return;R(!0);let e=await w.Mp.importEanoLabors({service_ids:A});R(!1),0===e.code?(b.ZP.success(e.message||"success"),z(),l(),W([])):b.ZP.error(e.message||"fail")};return(0,i.useEffect)(()=>{W([]),ee([])},[n]),(0,s.jsxs)(s.Fragment,{children:[D,(0,s.jsx)(p.ZP,{open:n,width:"large",displace:!1,onClose:z,contentClassName:"sm:px-16 px-6 sm:pt-14 py-6",children:(0,s.jsxs)("div",{className:"max-w-[1200px] mx-auto relative",children:[(0,s.jsxs)("div",{className:"flex border-b border-en-divider-dark space-x-10",children:[(0,s.jsx)("div",{className:"pb-3 border-b-3px font-circular-bold text-xl cursor-pointer ".concat("Material"===d?"border-en-blue text-en-blue":"text-en-light-blue border-transparent"," "),onClick:()=>c("Material"),children:"Material Library"}),(0,s.jsx)("div",{className:"pb-3 border-b-3px font-circular-bold text-xl cursor-pointer --hidden ".concat("Labor"===d?"border-en-blue text-en-blue":"text-en-light-blue border-transparent"," "),onClick:()=>c("Labor"),children:"Labor Library"})]}),"Material"===d&&(0,s.jsxs)("div",{className:"py-6",children:[(0,s.jsx)("div",{className:"text-sm text-en-light-blue mb-4",children:"If the material is added from the Eano library, its price will be updated periodically. You can still add it to your library and manually update the price."}),(0,s.jsxs)("div",{className:"mb-4 flex space-x-3 items-center",children:[(0,s.jsxs)("div",{className:"border-en-divider-dark border p-0.5 rounded-[22px] flex hidden",children:[(0,s.jsxs)("div",{className:"py-2 px-4 roun
1ded-[22px] cursor-pointer flex items-center space-x-1 ".concat("packages"===u?"bg-[#E1E4EB]":""),onClick:()=>C("packages"),children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,s.jsx)("rect",{x:"2.28516",y:"4",width:"11.4286",height:"9.71429",rx:"1.14286",stroke:"".concat("packages"===u?"#051023":"#7C8293"),strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M7.99944 10.3473C7.70184 9.68575 7.17081 9.15471 6.50926 8.85711C7.17081 8.55951 7.70184 8.02847 7.99944 7.36692C8.29704 8.02847 8.82808 8.55951 9.48963 8.85711C8.82808 9.15471 8.29704 9.68574 7.99944 10.3473Z",fill:"".concat("packages"===u?"#051023":"#7C8293"),stroke:"".concat("packages"===u?"#051023":"#7C8293")}),(0,s.jsx)("path",{d:"M3.42773 2H12.5706",stroke:"".concat("packages"===u?"#051023":"#7C8293"),strokeWidth:"1.5",strokeLinecap:"round"})]}),(0,s.jsx)("div",{className:"text-sm ".concat("packages"===u?"text-en-dark-blue font-circular-bold":"text-en-light-blue"),children:"Design Packages"})]}),(0,s.jsxs)("div",{className:"py-2 px-4 rounded-[22px] cursor-pointer flex items-center space-x-1 ".concat("items"===u?"bg-[#E1E4EB]":""),onClick:()=>C("items"),children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,s.jsx)("path",{d:"M2.6 2.80005C2.2675 2.80005 2 3.06755 2 3.4000
15V4.60005C2 4.93255 2.2675 5.20005 2.6 5.20005H3.8C4.1325 5.20005 4.4 4.93255 4.4 4.60005V3.40005C4.4 3.06755 4.1325 2.80005 3.8 2.80005H2.6ZM6.4 3.20005C5.9575 3.20005 5.6 3.55755 5.6 4.00005C5.6 4.44255 5.9575 4.80005 6.4 4.80005H13.6C14.0425 4.80005 14.4 4.44255 14.4 4.00005C14.4 3.55755 14.0425 3.20005 13.6 3.20005H6.4ZM6.4 7.20005C5.9575 7.20005 5.6 7.55755 5.6 8.00005C5.6 8.44255 5.9575 8.80005 6.4 8.80005H13.6C14.0425 8.80005 14.4 8.44255 14.4 8.00005C14.4 7.55755 14.0425 7.20005 13.6 7.20005H6.4ZM6.4 11.2C5.9575 11.2 5.6 11.5575 5.6 12C5.6 12.4425 5.9575 12.8 6.4 12.8H13.6C14.0425 12.8 14.4 12.4425 14.4 12C14.4 11.5575 14.0425 11.2 13.6 11.2H6.4ZM2 7.40005V8.60005C2 8.93255 2.2675 9.20005 2.6 9.20005H3.8C4.1325 9.20005 4.4 8.93255 4.4 8.60005V7.40005C4.4 7.06755 4.1325 6.80005 3.8 6.80005H2.6C2.2675 6.80005 2 7.06755 2 7.40005ZM2.6 10.8C2.2675 10.8 2 11.0675 2 11.4V12.6C2 12.9325 2.2675 13.2 2.6 13.2H3.8C4.1325 13.2 4.4 12.9325 4.4 12.6V11.4C4.4 11.0675 4.1325 10.8 3.8 10.8H2.6Z",fill:"".concat("items"===u?"#051023":"#7C8293")})}),(0,s.jsx)("div",{className:"text-sm ".concat("items"===u?"text-en-dark-blue font-circular-bold":"text-en-light-blue"),children:"All Items"})]})]}),(0,s.jsx)(q,{placeholder:"Search by product name",className:"!border-en-divider-dark bg-white !h-11 !w-80 ".concat(!m&&"[&>div]:text-en-disable"),value:m,onChange:e=>{h(e.target.value)},onClear:()=>{h("")}}),(0,s.jsx)($.Z,{className:"hidden !rounded-[30px] !h-11 --!h-[calc(22px+2rem)] text-sm !py-0 !w-50 !border-en-divider-dark ".concat(!v&&"[&>div]:text-en-disable"),placeholder:"Service Area",options:N.map(e=>({value:e.id,title:e.name})),value:v,onChange:f}),(0,s.jsx)($.Z,{className:"!rounded-[30px] !h-11 --!h-[calc(22px+2rem)] text-sm !py-0 !w-50 !border-en-divider-dark ".concat(!g&&"[&>div]:text-en-disable"),placeholder:"Retailer",options:k.map(e=>({value:e,title:e})),value:g,onChange:j})]}),(0,s.jsx)("div",{ref:a,className:"h-100 max-h-100 overflow-y-auto",children:(0,s.jsxs)("table",{className:"table-auto w-full border-collapse",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"w-full text-sm text-en-disable border border-en-divider-dark",children:[(0,s.jsx)("td",{className:"w-[3%] py-3 px-4"}),(0,s.jsx)("td",{className:"w-5/12 py-3 px-4]",children:"Name"}),(0,s.jsx)("td",{className:"w-1/12 py-3 px-4",children:"Unit"}),(0,s.jsx)("td",{className:"w-2/12 py-3 px-4",children:"Unit Cost"}),(0,s.jsx)("td",{className:"w-2/12 py-3 px-4",children:"Vendor/Retailer"}),(0,s.jsx)("td",{className:"w-1/12 py-3 px-4"})]})}),(0,s.jsxs)("tbody",{id:"const_book-materialTable",className:"text-en-dark-blue",children:[(0,s.jsx)(s.Fragment,{children:Z.map((e,t)=>(0,s.jsx)(Y,{data:e,checked:e.checked,onCheck:t=>{M(Z.map(l=>l.id===e.id?{...l,checked:t}:l))}},t))}),H&&!(null==Z?void 0:Z.length)&&(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:6,className:"text-center py-2",children:(0,s.jsx)(L.Z,{})})}),!F&&!H&&(0,s.jsx)("tr",{children:(0,s.jsx)("td",{colSpan:6,className:"text-center py-2",children:"No more data"})})]})]})})]}),"Labor"===d&&(0,s.jsx)(J,{onChange:e=>{W(e)}}),!!(null==Z?void 0:Z.filter(e=>e.checked).length)&&"Material"===d&&(0,s.jsxs)("div",{className:"pt-4 pb-8 sticky -bottom-8 left-0 w-full bg-white bg-opacity-60 --blur-sm flex items-center justify-center space-x-3 backdrop-blur-[2px]",children:[(0,s.jsx)(x.Z,{color:"white-mid-blue",className:"w-40 font-circular",onClick:()=>{o(!1)},children:"Cancel"}),(0,s.jsxs)(x.Z,{className:"w-[328px]",onClick:el,loading:P,children:["Add ",null==Z?void 0:Z.filter(e=>e.checked).length," Items"]})]}),!!A.length&&"Labor"===d&&(0,s.jsxs)("div",{className:"pt-4 pb-8 sticky -bottom-8 left-0 w-full bg-white bg-opacity-60 --blur-sm flex items-center justify-center space-x-3 backdrop-blur-[2px]",children:[(0,s.jsx)(x.Z,{color:"white-mid-blue",className:"w-40 font-circular",onClick:()=>{o(!1)},children:"Cancel"}),(0,s.jsxs)(x.Z,{className:"w-[328px]",onClick:es,loading:P,children:["Add ",A.length," Items"]})]})]})})]})},ee=l(6155),et=l(84665),el=l(80114),es=l(11909),ei=l(22473),er=l(68541),ea=l(79270),en=l(44295),eo=l(8564),ed=l(61662),ec=l(20582),eu=l(38830),eC=e=>{var t;let{detailOpenId:l,setDetailOpenId:r,onFresh:a}=e,[n,o]=(0,i.useState)(null),[d,c]=(0,i.useState)(null),[u,C]=(0,i.useState)(null),[p,m]=(0,i.useState)(""),[h,v]=(0,i.useState)(null),[f,g]=(0,i.useState)(null),[j,k]=(0,i.useState)(null),[y,N]=(0,i.useState)(null),[_,Z]=(0,i.useState)(1),[M,H]=(0,i.useState)(null),[S,V]=(0,i.useState)(null),[F,B]=(0,i.useState)(""),[T,I]=(0,i.useState)(null),[P,R]=(0,i.useState)(!1),[A,W]=(0,i.useState)([]),[D,O]=(0,i.useState)(!1),{data:z,isLoading:U,mutate:G}=(0,el.u)(l?["cost_book/tmpl_item/detail",l]:null,()=>w.Mp.getTmplItemDetail({item_id:l}).then(e=>0===e.code?e.data:null),{revalidateOnFocus:!1});(0,i.useEffect)(()=>
1{if(!l){v(null),g(null);return}v(null);let e=!1;return G().finally(()=>{e||v(l)}),()=>{e=!0}},[l,G]);let q=!U&&h===l&&f===l,K=!!((null==z?void 0:z.homedepot_product_id)||(null==z?void 0:null===(t=z.product)||void 0===t?void 0:t.homedepot_product_id)),{data:Q=[]}=(0,el.u)("/api/v1/cost_book/unit/list",ec._i,{revalidateOnFocus:!1}),{data:Y={}}=(0,el.u)("/api/v1/cost_book/cost_type",ec._i,{revalidateOnFocus:!1}),J=(0,i.useMemo)(()=>Object.entries(Y).map(e=>{var t,l,s,i;let[r,a]=e;return{value:r,title:a,tagColor:null!==(s=null===(t=eu.nI[r])||void 0===t?void 0:t.tagColor)&&void 0!==s?s:"",bgColor:null!==(i=null===(l=eu.nI[r])||void 0===l?void 0:l.bgColor)&&void 0!==i?i:""}}),[Y]),X=async()=>{if(D||!q)return;if(!n)return ed.yw.error("Please input name");if(M&&!(0,eo.K)(M))return ed.yw.error("Please enter a valid Seller URL");O(!0);let e=await w.Mp.editTmplItem({item_id:l,group_code:null==z?void 0:z.group_code,title:n,sort:null==z?void 0:z.sort,costbook_tmpl_id:null==z?void 0:z.costbook_tmpl_id,cost_type:d,unit:"number"==typeof u?u:null,unit_name:"custom-unit"===u?p:"",unit_cost:j||null,markup_val:y,provider:T,is_tax:P,data_from:null==z?void 0:z.data_from,vendor_product_id:(null==z?void 0:z.vendor_product_id)||0,markup_type:_,description:F,provider_url:M,brand:S,photos:null==A?void 0:A.map(e=>e.image),parent_id:null==z?void 0:z.parent_id});O(!1),0===e.code?(r(null),a()):b.ZP.error(e.message||"fail")},eC=()=>{r(null),o(null),c(null),C(null),k(null),N(null),Z(null),H(null),V(null),B(""),I(null),R(!1),W([])};(0,i.useEffect)(()=>{!U&&l&&null===z&&r(null)},[U,z,l,r]),(0,i.useEffect)(()=>{z&&h===l&&(o(z.title),c(z.cost_type),k(z.unit_cost),N(+z.markup_val||0),Z(z.markup_type),R(z.is_tax||!1),m(z.unit_name||""),C(z.unit||(z.unit_name?"custom-unit":null)),W(z.images||[]),B(z.description||""),V(z.brand),I(z.provider),H(z.retailer_link||z.provider_url),g(l))},[z,l,h]);let ex=async()=>{0===(await w.Mp.deleteTmplItem({costbook_tmpl_id:null==z?void 0:z.costbook_tmpl_id,item_ids:[l]})).code&&(r(null),a())},ep=2==+d||4==+d,em=K?"pointer-events-none opacity-60":"";return(0,s.jsx)(ee.ZP,{anchor:"right",open:!!l,onClose:eC,className:"w-[640px]",children:(0,s.jsxs)("div",{onClick:e=>e.stopPropagation(),children:[(0,s.jsx)("div",{className:"absolute top-6 right-4 cursor-pointer",onClick:eC,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1573 4.04848C17.626 3.57985 17.626 2.82006 17.1573 2.35143C16.6887 1.8828 15.9289 1.8828 15.4603 2.35143L9.60098 8.21072L4.04951 2.65925C3.58088 2.19062 2.82108 2.19062 2.35245 2.65925C1.88382 3.12788 1.88382 3.88767 2.35245 4.3563L7.90392 9.90778L2.44951 15.3622C1.98088 15.8308 1.98088 16.5906 2.4495 17.0592C2.91813 17.5279 3.67793 17.5279 4.14656 17.0592L9.60098 11.6048L15.3632 17.3671C15.8318 17.8357 16.5916 17.8357 17.0603 17.3671C17.5289 16.8984 17.5289 16.1386 17.0603 15.67L11.298 9.90778L17.1573 4.04848Z",fill:"#051023"})})}),!q&&(0,s.jsx)(L.Z,{}),(0,s.jsx)("div",{className:"w-[640px]",children:q&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"py-10",children:[(0,s.jsxs)("div",{className:"px-14 space-y-4",children:[(0,s.jsxs)("div",{className:em,children:[(0,s.jsxs)("div",{className:"text-en-mid-blue mb-1",children:["Name",(0,s.jsx)("span",{className:"ml-1 text-en-danger text-lg",children:"*"})]}),(0,s.jsx)(et.Z,{className:"w-full bg-[#F4F5F7]",value:n,variant:"outlined",inputProps:{maxLength:500},multiline:!0,onChange:e=>{o(e.target.value)}})]}),(0,s.jsxs)("div",{className:em,children:[(0,s.jsxs)("div",{className:"text-en-mid-blue mb-1",children:["Cost Type",(0,s.jsx)("span",{className:"ml-1 text-en-danger text-lg",children:"*"})]}),(0,s.jsx)(es.Z,{className:"w-full bg-[#F4F5F7]",value:d,onChange:c,options:J})]})]}),(0,s.jsx)(ei.i,{className:"my-8"}),(0,s.jsxs)("div",{className:"px-14 space-y-4",children:[(0,s.jsxs)("div",{className:em,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-en-mid-blue mb-1",children:"Unit Price"}),(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Optional"})]}),(0,s.jsx)(ea.Z,{price:j,onChange:k})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("div",{className:"text-en-mid-blue mb-1",children:"Unit Type"}),(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Optional"})]}),(0,s.jsx)($.Z,{className:"w-full bg-[#F4F5F7] rounded-lg h-14",value:u,onChange:C,options:[...Q.map(e=>({title:e.name,value:e.id})),...p?[{title:p,value:"custom-unit"}]:[]]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between w-1/2",children:[(0,s.jsx)("div",{className:"text-en-mid-blue mb-1",children:"Markup"}),(0,s.jsx)("div",{className:"text-sm text-en-light-blue",children:"Optional"})]}),(0,s.jsx)(er.Z,{className:"w-1/2 bg-[#F4F5F7] rounded-lg h-14",value:y,onChange:N,t
1ype:_,onTypeChange:Z})]}),(0,s.jsxs)("div",{className:"py-1.5 flex items-center space-x-1.5 ".concat(em),children:[(0,s.jsx)(E.Z,{className:"w-5 h-5 p-0",color:"primary",size:"small",checked:P,onChange:e=>{R(e.target.checked)}}),(0,s.jsx)("div",{className:"text-en-mid-blue",children:"Taxable?"})]})]}),ep&&(0,s.jsx)(en.Z,{retailer:T,setRetailer:I,retailerURL:M,setRetailerURL:H,brand:S,setBrand:V,description:F,setDescription:B,files:A,setFiles:W,locked:K}),!K&&(0,s.jsx)("div",{className:"px-14 w-full mt-8 mb-20",children:(0,s.jsx)(x.Z,{className:"w-full bg-[#E12424] bg-opacity-10 border border-[#902721] text-[#902721] font-circular",onClick:ex,children:"Delete This Item"})})]}),(0,s.jsxs)("div",{className:"px-10 pt-3 pb-6 sticky bottom-0 left-0 flex items-center justify-between bg-white shadow-lg",children:[(0,s.jsx)("div",{}),(0,s.jsx)(x.Z,{className:"h-14 w-1/2",onClick:X,loading:D,children:"Save Changes"})]})]})})]})})},ex=l(38403),ep=l(12311),em=l(66730),eh=e=>{var t,l;let{container:r,collapsed:a,onToggleCollapsed:n,checked:o,onCheckedChange:d,rowsCount:c,dragHandle:u,costbookTmplId:C,onFresh:x}=e,[p,m]=(0,i.useState)(null!==(t=r.groupCode)&&void 0!==t?t:""),[h,v]=(0,i.useState)(null!==(l=r.groupName)&&void 0!==l?l:"");(0,i.useEffect)(()=>{var e;return m(null!==(e=r.groupCode)&&void 0!==e?e:"")},[r.groupCode]),(0,i.useEffect)(()=>{var e;return v(null!==(e=r.groupName)&&void 0!==e?e:"")},[r.groupName]);let f=async e=>{let t=await w.Mp.editTmplItemSingleValue({costbook_tmpl_id:C,item_id:r.id,...void 0!==e.code?{group_code:e.code}:{},...void 0!==e.name?{title:e.name}:{}});(null==t?void 0:t.code)===0&&await x()};return(0,s.jsxs)("div",{className:"flex items-stretch hover:bg-[#f3f6fb] min-w-[1200px] group border-b w-full",children:[(0,s.jsxs)("div",{className:"w-18 shrink-0 py-2 flex items-center pl-3",children:[(0,s.jsx)("span",{...u.attributes,...u.listeners,ref:u.setActivatorNodeRef,className:"group-hover:visible invisible","aria-label":"Drag category",role:"button",children:(0,s.jsx)(ex.Z,{style:{color:"#7C8293"}})}),(0,s.jsx)(E.Z,{checked:o,color:"primary",className:"!p-1 text-[#3f51b5]",size:"small",onClick:e=>e.stopPropagation(),onChange:e=>null==d?void 0:d(e.target.checked)})]}),(0,s.jsx)("div",{className:"w-[244px] shrink-0 py-2 flex items-center",children:(0,s.jsx)("input",{className:"w-full max-w-[140px] px-1.5 py-0.5 text-sm rounded-lg focus:ring-1 focus:ring-en-blue focus:outline-none",value:p,onChange:e=>m(e.target.value),onBlur:()=>{var e;p!==(null!==(e=r.groupCode)&&void 0!==e?e:"")&&f({code:p})},onKeyDown:e=>{("Enter"===e.key||"Tab"===e.key)&&(e.preventDefault(),e.target.blur())},"aria-label":"Category code"})}),(0,s.jsxs)("div",{className:"flex-1 py-2 flex items-center gap-2 pl-1",children:[(0,s.jsx)("div",{onClick:n,className:"cursor-pointer",style:a?{transform:"rotate(-90deg)"}:void 0,role:"button","aria-label":a?"Expand category":"Collapse category",children:(0,s.jsx)(ep.Z,{})}),(0,s.jsx)("div",{className:"text-sm py-[3px] max-w-[380px] 2xl:max-w-[540px] group-hover:hidden truncate",children:(0,s.jsx)(em.Z,{text:h})}),(0,s.jsx)("input",{className:"hidden group-hover:block text-sm py-[3px] w-[380px] 2xl:w-[400px] px-1 border-en-blue border rounded-lg truncate",value:h,onChange:e=>v(e.target.value),onBlur:()=>{var e;h.trim()&&h!==r.groupName?f({name:h}):h.trim()||v(null!==(e=r.groupName)&&void 0!==e?e:"")},onKeyDown:e=>{("Enter"===e.key||"Tab"===e.key)&&(e.preventDefault(),e.target.blur())},"aria-label":"Category name"}),(0,s.jsx)("div",{className:"w-7 h-7 flex items-center justify-center rounded-full bg-[#E1E4EB] text-en-mid-blue",children:c})]})]})},ev=l(29938);let ef=e=>{let{value:t,setValue:l,onBlur:r,prefix:a,canEditInput:n}=e,o=!!a&&t.startsWith(a),d=o?t.slice(a.length):t,c=e=>{l(o?a+e:e)},[u,C]=(0,i.useState)(!1),x=(0,i.useRef)(null),p=(0,i.useRef)(null),[m,h]=(0,i.useState)(0);return((0,i.useLayoutEffect)(()=>{p.current&&h(p.current.offsetWidth)},[a,u]),(0,i.useEffect)(()=>{var e;u&&(null===(e=x.current)||void 0===e||e.focus())},[u]),u)?(0,s.jsxs)("div",{className:"relative w-full max-w-[140px]",children:[a&&(0,s.jsx)("span",{ref:p,className:"absolute left-2 top-1/2 -translate-y-1/2 text-sm text-[rgba(0,0,0,0.54)] pointer-events-none select-none",children:a}),(0,s.jsx)("input",{ref:x,value:d,onChange:e=>c(e.target.value),onBlur:()=>{C(!1),r()},onKeyDown:e=>
1{("Enter"===e.key||"Tab"===e.key)&&(e.preventDefault(),e.target.blur())},style:{paddingLeft:a?"".concat(m+10,"px"):"6px"},className:"w-full text-sm py-0.5 pr-2 rounded-lg border border-en-divider-dark bg-white focus:border-en-blue focus:outline-none",readOnly:!n,"aria-label":"Code"})]}):(0,s.jsxs)("div",{className:"text-en-dark-blue px-1.5 text-sm truncate py-0.5 group-hover/row:border group-hover/row:bg-white group-hover/row:border-en-divider-dark w-full max-w-[140px] min-h-6 cursor-text rounded-sm",onClick:()=>n&&C(!0),role:n?"button":void 0,"aria-label":n?"Edit code":void 0,children:[a&&(0,s.jsx)("span",{children:a}),d]})},eg=e=>{var t;let{row:l}=e,{adapter:r}=(0,ev._P)(),[a,n]=(0,i.useState)(null!==(t=l.groupCode)&&void 0!==t?t:""),o=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{var e;o.current||n(null!==(e=l.groupCode)&&void 0!==e?e:"")},[l.groupCode]),(0,s.jsx)(ef,{value:a,setValue:e=>{o.current=!0,n(e)},prefix:l.groupCodePrefix,onBlur:()=>{var e;if(a===(null!==(e=l.groupCode)&&void 0!==e?e:"")){o.current=!1;return}r.updateRow(l.id,{groupCode:a}).finally(()=>{o.current=!1})},canEditInput:!0})};var ej=l(5400),eb=l(78274),ew=l(50744);let ek=e=>Number(e)||0,ey=(e,t)=>{var l,s,i,r,a,n,o,d;let c=ek(e.unit_cost),u=(0,ew.dL)(e.markup_type),C=ek(e.markup_val),x=u===ev.RZ.Unset?c:(0,ew.$b)(u,c,1,C,0);return{id:null!==(i=null!==(s=e.id)&&void 0!==s?s:e.item_id)&&void 0!==i?i:"",name:null!==(a=null!==(r=e.title)&&void 0!==r?r:e.name)&&void 0!==a?a:"",costType:null!==(n=e.cost_type)&&void 0!==n?n:null,unit:null!==(o=e.unit_name)&&void 0!==o?o:"",unitId:null!=e.unit?Number(e.unit):null,unitCost:c,markupType:u,markupVal:C,price:x,isTax:!!e.is_tax,sort:0,simpleMode:!1,byCostbook:!1,source:0,costBookDetailId:null,subGroupId:null!==(d=e.sub_group_id)&&void 0!==d?d:null,items:null===(l=e.items)||void 0===l?void 0:l.map(e=>ey(e,t)),groupCode:e.group_code,groupCodePrefix:t,provider:e.provider,teamId:e.team_id}},eN=(e,t)=>{var l;return[{id:t,containers:(null!==(l=e.items)&&void 0!==l?l:[]).filter(e=>null!=e.id).map(e=>{var t,l;return{id:e.id,type:"group",groupName:null!==(t=e.group_name)&&void 0!==t?t:e.title,groupCode:e.group_code,rows:(null!==(l=e.children)&&void 0!==l?l:[]).map(t=>ey(t,e.group_code))}})}]},eL={canViewColumn:e=>"amount"!==e,canEditCell:()=>!0,canEditAggregate:()=>!1,canViewAggregate:()=>!1,getSubtreePresentation:()=>({locked:!1})},e_=(e,t)=>{let l={moved:t[t.length-1],pre:t.length>1?t[t.length-2]:0};if(e.length!==t.length)return l;let s=0;for(;s<t.length&&e[s]===t[s];)s++;if(s===t.length)return{moved:t[0],pre:0};let i=l=>{let s=0;for(let i=0;i<t.length;i++)if(t[i]!==l){if(e[s]===l&&s++,e[s]!==t[i])return!1;s++}return!0};for(let l of[t[s],e[s]])if(i(l)){let e=t.indexOf(l);return{moved:l,pre:e>0?t[e-1]:0}}return l},eZ=e=>{let{costbookTmplId:t,lookups:l,refresh:s,onDeleted:i}=e,{findContainer:r,findRow:a,findRowContainer:n}=l,o=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Action failed",l=await e;(0,eb.P)(l,t),await s()},d=async(e,t)=>{let l=await e,i=(0,eb.P)(l,t);if(await s(),i)throw Error((null==l?void 0:l.resMessage)||(null==l?void 0:l.message)||t)},c=(e,l)=>w.Mp.editTmplItemSingleValue({costbook_tmpl_id:t,item_id:e,...l}),u=async e=>{let l=[];e.forEach(e=>{var t;let s=r(e);null==s||null===(t=s.rows)||void 0===t||t.forEach(e=>{var t;l.push(e.id),null===(t=e.items)||void 0===t||t.forEach(e=>l.push(e.id))})});let a=await w.Mp.deleteTmplItem({costbook_tmpl_id:t,group_ids:e});(0,eb.P)(a,"Failed to delete category")||(i(l),await s())};return{multiCostType:{enabled:!0},editing:{updateRow:async(e,t)=>{let l={};"name"in t&&(l.title=t.name),"costType"in t&&(l.cost_type=t.costType),("unit"in t||"unitId"in t)&&(l.unit=t.unitId||null,l.unit_name=t.unitId?"":t.unit),"unitCost"in t&&(l.unit_cost=t.unitCost),("markupVal"in t||"markupType"in t)&&(l.markup_val=t.markupVal,l.markup_type=t.markupType),"groupCode"in t&&(l.group_code=t.groupCode),"provider"in t&&(l.provider=t.provider),"isTax"in t&&(l.is_tax=t.isTax?1:0),0!==Object.keys(l).length&&await o(c(e,l),"Failed to update item")},addRow:async(e,l)=>{var s;let i=r(e);(null==i?void 0:i.type)==="group"&&await d(w.Mp.addTmplItem({costbook_tmpl_id:t,title:null!==(s=l.name)&&void 0!==s?s:"",parent_id:e}),"Failed to add item")},addSubItem:async e=>{await d(w.Mp.addSubGroupCostBook({detail_id:Number(e)}),"Failed to add cost type")},deleteSubItem:async e=>{let l=await w.Mp.deleteTmplItem({costbook_tmpl_id:t,item_ids:[Number(e)]});(0,eb.P)(l,"Failed to delete cost type")||(i([e]),await s())}},grouping:{renameGroup:async(e,t)=>{await o(c(e,{title:t}),"Failed to rename category")},deleteContainer:async e=>u([e]),setContainerCode:async(e,t)=>{await o(c(e,{group_code:t}),"Failed to update category code")},groupCode:!0},dragging:{sortList:async e=>{var t,l,s,i,a,d,c,u,C,x,p,m;if(1===e.actionType){let n=null===(t=e.addWork)||void 0===t?void 0:t.groupId;if(null==n)return;let d=r(n),c=(null!==(i=null===(l=e.addWork)||void 0===l?void 0:l.addIndex)&&void 0!==i?i:0)-1,u=c>=0&&null!==(a=null==d?void 0:null===(s=d.rows[c])||void 0===s?void 0:s.id)&&void 0!==a?a:0;await o(w.Mp.sortTmplItem({item_id:e.delWorkId,pre_item_id:u,new_parent_id:n}),"Failed to move item");return}if(2===e.actionType){let t=null!==(c=null===(d=e.quoteSort)||void 0===d?void 0:d.workIds)&&void 0!==c?c:[],l=n(null!==(u=t[0])&&void 0!==u?u:""),{moved:s,pre:i}=e_((null!==(C=null==l?void 0:l.rows)&&void 0!==C?C:[]).map(e=>e.id),t);await o(w.Mp.sortTmplItem({item_id:s,pre_item_id:i,new_parent_id:l&&"group"===l.type?l.id:0}),"Failed to sort items");return}if(3===e.actionType){let t=null===(x=e.quoteSort)||void 0===x?void 0:x.activeGroupId;if(null==t)return;let l=null!==(m=null===(p=e.quoteSort)||void 0===p?void 0:p.preGroupId)&&void 0!==m?m:0;await o(w.Mp.sortTmplItem({group_id:t,pre_group_id:l}
1),"Failed to reorder categories")}}},bulkOperations:{deleteRows:async e=>{let l=new Set;e.forEach(e=>{var t,s,i;let r=null!==(i=null===(t=n(e))||void 0===t?void 0:t.rows.find(t=>String(t.id)===String(e)))&&void 0!==i?i:a(e);l.add(e),null==r||null===(s=r.items)||void 0===s||s.forEach(e=>l.add(e.id))});let r=Array.from(l),o=await w.Mp.deleteTmplItem({costbook_tmpl_id:t,item_ids:r.map(Number)});(0,eb.P)(o,"Failed to delete items")||(i(r),await s())},deleteContainers:u}}},eM=e=>"customWorks"!==e,eH=(e,t)=>(null!=e?e:[]).forEach(t),eS={rowIds:e=>{let t=[];return eH(e.customWorks,e=>e.checked&&t.push(e.id)),Object.keys(e).forEach(l=>{var s;eM(l)&&eH(null===(s=e[l])||void 0===s?void 0:s.works,e=>e.checked&&t.push(e.id))}),t},containerIds:e=>{let t=[];return Object.keys(e).forEach(l=>{var s;eM(l)&&(null===(s=e[l])||void 0===s?void 0:s.checked)&&t.push(l)}),t},setRow:(e,t,l)=>{let s=String(t),i=e=>(null!=e?e:[]).find(e=>String(e.id)===s),r=i(e.customWorks);if(r){r.checked=l;return}for(let t of Object.keys(e)){var a;if(eM(t)&&(r=i(null===(a=e[t])||void 0===a?void 0:a.works))){r.checked=l,l||(e[t].checked=!1);return}}},setContainer:(e,t,l)=>{let s=String(t),i=Object.keys(e).find(e=>eM(e)&&String(e)===s);i&&e[i]&&(e[i].checked=l,eH(e[i].works,e=>{e.checked=l}))}},eV={rowHoverClass:"hover:bg-[#f3f6fb]",addRowGutterClass:"w-[180px] shrink-0 pl-7 py-3 flex items-center",rowLaneClass:"w-18 shrink-0 py-2 flex items-center pl-3 border-b border-en-divider-dark",noContainerDivider:!0,flatNameIndent:!0,addRowBorderClass:"border-b border-en-divider-dark",trailingLane:{reserve:!0,widthClass:"w-11"},rowBorderClass:"border-b border-en-divider-dark",addRowPlaceholders:{standard:"Input a new item and hit enter to save",group:"Input a new item and hit enter to save",custom:"Input a new item and hit enter to save"}},eE=(e,t)=>null!=e&&t.some(t=>String(t)===String(e));var eF=e=>{let{t}=(0,n.$G)("common"),{standardTmpl:l,onFresh:r,isLoadRef:a,isLoading:o,aiTmpl:d}=e,[c,u]=(0,i.useState)(!0),[C,x]=(0,F.x)({}),[p,m]=(0,i.useState)(!1),[h,v]=(0,i.useState)(!1),[f,g]=(0,i.useState)(null),[j,k]=(0,i.useState)(""),y=(0,i.useMemo)(()=>A(C),[C]),N=async()=>{let{work:e,groupWork:t}=S().groupBy(y,"type");try{var l,s,i;Array.isArray(e)&&await (null===(l=z.bulkOperations)||void 0===l?void 0:l.deleteRows(e.map(e=>e.id))),Array.isArray(t)&&await (null===(i=z.bulkOperations)||void 0===i?void 0:null===(s=i.deleteContainers)||void 0===s?void 0:s.call(i,t.map(e=>e.id)))}catch(e){}m(!1),r()},{data:_={}}=(0,el.u)("/api/v1/cost_book/cost_type",ec._i,{revalidateOnFocus:!1}),{data:Z=[]}=(0,el.u)("/api/v1/cost_book/unit/list",ec._i,{revalidateOnFocus:!1}),H=(0,i.useMemo)(()=>eN({items:null==l?void 0:l.items},null==l?void 0:l.id),[null==l?void 0:l.items,null==l?void 0:l.id]),P=(0,i.useMemo)(()=>c?new Set:new Set(H.flatMap(e=>e.containers.filter(e=>"group"===e.type).map(e=>String(e.id)))),[c,H]),D=(0,i.useMemo)(()=>(0,ev.OF)(H),[H]),O=(0,i.useCallback)(e=>{eE(f,e)&&g(null)},[f]),z=(0,i.useMemo)(()=>eZ({costbookTmplId:null==l?void 0:l.id,lookups:D,refresh:r,onDeleted:O}),[null==l?void 0:l.id,D,r,O]),U=(0,i.useMemo)(()=>{let e=(0,ev.CI)(ev.MW,"groupCode",e=>(0,s.jsx)(eg,{row:e.row}));return e=(0,ev.CI)(e,"provider",e=>{var t;return(0,s.jsx)("div",{className:"text-sm text-en-mid-blue",children:(0,s.jsx)(em.Z,{text:null!==(t=e.row.provider)&&void 0!==t?t:""})})}),e=(0,ev.gf)(e,"provider",e=>g(e.row.id)),e=(0,ev.gf)(e,"tax",e=>g(e.row.id))},[g]),G=(0,ev.pd)(C,x,eS),q=async()=>{if(!j||h)return;v(!0);let e=await w.Mp.addTmplItem({title:j,costbook_tmpl_id:l.id});v(!1),0===e.code?(k(""),r(),b.ZP.success("success"),k("")):b.ZP.error(e.message||"fail")},$=(0,i.useCallback)(async()=>{var e,t;let{items:s=[]}=l||{},i=s.filter(e=>null!==e.id),r=null!==(t=null===(e=s.filter(e=>null===e.group_id)[0])||void 0===e?void 0:e.children)&&void 0!==t?t:[],a={};i.forEach(e=>{let{children:t,id:l}=e;a[l]={checked:!1,works:R(t,!1)}}),a.customWorks=R(r,!1),x(a)},[x,l]);(0,i.useEffect)(()=>{$()},[$,l]);let K=(0,i.useRef)(null),Q=(0,ev.qw)({scope:H,columns:U,features:{...z,selection:G},policy:eL,presentation:eV,isHasCostBook:!0,costTypeData:Array.isArray(_)?_:[],unitTypeData:Array.isArray(Z)?Z:[],viewportRef:K,collapsedContainerIds:P,slots:{nameCellTrailing:e=>{let{row:t}=e;return(0,s.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),g(t.id)},className:"absolute right-0 top-1/2 -translate-y-1/2 w-10 h-10 flex justify-center items-center invisible group-hover/row:visible text-en-light-blue hover:text-en-mid-blue cursor-pointer","aria-label":"Open item detail",children:(0,s.jsx)(T.Z,{fontSize:"small"})})},groupHeader:e=>(0,s.jsx)(eh,{...e,costbookTmplId:null==l?void 0:l.id,onFresh:r})}});return(0,s.jsx)(M.wT,{maxSnack:3,autoHideDuration:2500,anchorOrigin:{vertical:"bottom",horizontal:"center"},children:(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("div",{className:"text-3xl font-circular-bold text-en-dark-blue",children:t("navigation.menu.costBookSetup")}),(0,s.jsx)("div",{className:"pt-4 sticky top-0 bg-white z-10",children:(0,s.jsxs)("div",{className:"flex justify-between items-end pb-4",children:[(0,s.jsxs)("div",{className:"flex gap-6 mt-2 px-4",children:[(0,s.jsx)("div",{className:"flex items-center cursor-pointer pl-3",children:(0,s.jsx)(V.Z,{control:(0,s.jsx)(E.Z,{color:"primary",size:"small",checked:p,onChange:e=>{let{checked:t}=e.target;m(t),x(e=>{Object.keys(e).forEach(l=>
1{if("customWorks"===l)e.customWorks.forEach(e=>{e.checked=t});else{var s;e[l].checked=t,(null!==(s=e[l].works)&&void 0!==s?s:[]).forEach(e=>{e.checked=t})}})})},className:"!p-1"}),label:(0,s.jsx)("span",{className:"text-en-mid-blue font-circular",children:"Select All"}),labelPlacement:"end"})}),(0,s.jsx)("div",{className:"flex gap-2 items-center cursor-pointer text-en-mid-blue",onClick:()=>u(!c),children:c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I.W5,{}),"Collapse"]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I.Qq,{}),"Expand"]})}),y.length>0&&(0,s.jsxs)("div",{onClick:N,className:"text-en-danger flex gap-2 items-center cursor-pointer",children:[(0,s.jsx)(B.Z,{fontSize:"small"}),"Delete"]})]}),(0,s.jsxs)("div",{className:"flex space-x-3",children:[(0,s.jsx)(W,{aiTmpl:d,onFresh:r,children:(0,s.jsxs)("div",{className:"rounded-lg bg-en-light-gray border border-en-divider-dark flex space-x-1 items-center px-6 py-3 cursor-pointer",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,s.jsx)("path",{d:"M6 4.00002C6 2.8969 6.89687 2.00002 8 2.00002H13V6.00002C13 6.55315 13.4469 7.00002 14 7.00002H18V16C18 17.1031 17.1031 18 16 18H8C6.89687 18 6 17.1031 6 16V12.5H11.4406L10.2219 13.7188C9.92813 14.0125 9.92813 14.4875 10.2219 14.7781C10.5156 15.0688 10.9906 15.0719 11.2812 14.7781L13.7812 12.2781C14.075 11.9844 14.075 11.5094 13.7812 11.2188L11.2812 8.71877C10.9875 8.42502 10.5125 8.42502 10.2219 8.71877C9.93125 9.01252 9.92813 9.48752 10.2219 9.77815L11.4406 10.9969L6 11V4.00002ZM6 11V12.5H2.75C2.33437 12.5 2 12.1656 2 11.75C2 11.3344 2.33437 11 2.75 11H6ZM18 6.00002H14V2.00002L18 6.00002Z",fill:"".concat("#051023")})}),(0,s.jsx)("div",{className:"text-en-dark-blue",children:"Import Cost Codes"})]})}),(0,s.jsx)(X,{onRefresh:r,children:(0,s.jsxs)("div",{className:"rounded-lg --hidden bg-en-light-gray border border-en-divider-dark flex space-x-1 items-center px-6 py-3 cursor-pointer",children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,s.jsx)("path",{d:"M3.62598 14.875C3.62598 11.9863 3.62598 5.125 3.62598 5.125C3.62598 3.88236 4.63334 2.875 5.87598 2.875H14.126V12.625C14.126 12.625 7.8382 12.625 5.87598 12.625C4.63848 12.625 3.62598 13.6316 3.62598 14.875Z",fill:"".concat("#051023"),stroke:"".concat("#051023"),strokeWidth:"1.5",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M14.126 12.625C14.126 12.625 6.30861 12.625 5.87598 12.625C4.63334 12.625 3.62598 13.6324 3.62598 14.875C3.62598 16.1176 4.63334 17.125 5.87598 17.125C6.70439 17.125 10.7044 17.125 16.376 17.125V3.625",stroke:"".concat("#051023"),strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M6.25 14.875H13.75",stroke:"".concat("#051023"),strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsx)("div",{className:"text-en-dark-blue",children:"Import from Eano Library"})]})})]})]})}),a.current&&o?(0,s.jsx)("div",{className:"min-h-80 flex justify-center",children:(0,s.jsx)(L.Z,{})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:K,className:"overflow-x-auto max-w-full overflow-y-auto no-scrollbar",children:(0,s.jsx)("div",{style:{minWidth:1200},children:(0,s.jsx)(ev.oh.Root,{builder:Q})})}),(0,s.jsx)(ej.Z,{viewportRef:K,label:"Cost Book horizontal scrollbar"}),(0,s.jsx)("input",{className:"p-[30px] w-full  py-2 font-circular-bold text-en-disable border-b border-en-divider-dark cursor-pointer",placeholder:"+ New category",onChange:e=>{k(e.target.value)},value:j,onKeyDown:e=>{("Enter"===e.key||"Tab"===e.key)&&q()}})]}),(0,s.jsx)(eC,{detailOpenId:f,setDetailOpenId:g,onFresh:r})]})})},eB=l(61638),eT=()=>{var e;let[t,l]=(0,i.useState)([]),[r,x]=(0,i.useState)([]),[p,m]=(0,i.useState)(!0),[h,v]=(0,i.useState)(0),[f,g]=(0,i.useState)(10),{t:j}=(0,n.$G)("common"),[b,k]=(0,i.useState)(""),y=(0,c.c)(b,300),N=(0,i.useRef)(!1),_=(0,i.useRef)(0),M=(0,i.useCallback)(async function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];e&&m(!0),N.current=!0;let t=++_.current,s=await w.Mp.getTmplList({page:h+1,page_size:f,name:y});t===_.current&&(0===s.code&&(l(s.data),x(()=>s.data.filter(e=>2===e.tmpl_type))),setTimeout(()=>{m(!1)},10))},[h,f,y]),H=t.length>0&&(null==t?void 0:t.some(e=>2===e.tmpl_type)),S=null==t?void 0:t.filter(e=>1===e.tmpl_type),V=(0,i.useCallback)(async()=>{await M(!1)},[M]);(0,i.useEffect)(()=>{M()},[M]),(0,i.useEffect)(()=>{v(0)},[y]),(0,a.B)(()=>{M()},"/resources/cost_book");let E=!!y.trim()&&r.length>0&&r.every(e=>{var t,l;return(null!==(l=null==e?void 0:null===(t=e.items)||void 0===t?void 0:t.length)&&void 0!==l?l:0)===0});return p&&!N.current?(0,s.jsx)(L.Z,{}):(0,s.jsxs)("div",{className:"py-8 2xl:px-12 px-10",children:[r.length>0&&(0,s.jsxs)("div",{className:"max-w-xl relative mb-6",children:[(0,s.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,s.jsx)(o.Z,{className:"h-5 w-5 text-[#7C8293]"})}),(0,s.jsx)("input",{type:"text",className:"block w-full pl-10 pr-14 py-2.5 bg-[#F7F8FA] border-0 rounded-full text-sm placeholder-[#7C8293] focus:outline-none focus:ring-2 focus:ring-[#0052CC] focus:bg-white transition-all",placeholder:j("c
1ostbook_search_placeholder"),value:b,onChange:e=>k(e.target.value)}),b&&(0,s.jsx)("button",{type:"button","aria-label":j("costbook_clear_search"),className:"absolute inset-y-0 right-0 pr-4 flex items-center text-[#7C8293]",onClick:()=>k(""),children:(0,s.jsx)(d.Z,{className:"h-4 w-4"})})]}),E?(0,s.jsx)(u.Z,{title:j("costbook_no_results",{term:y})}):H?(0,s.jsx)(C.q,{value:y.trim(),children:(0,s.jsxs)("div",{children:[null==r?void 0:r.map(e=>(0,s.jsx)(eF,{standardTmpl:e,aiTmpl:S,setStandardTmpl:x,onFresh:V,isLoading:p,isLoadRef:N},e.id)),(0,s.jsx)(eB.Z,{component:"div",count:(null===(e=r[0])||void 0===e?void 0:e.total_num)||0,page:h,onPageChange:(e,t)=>{v(t)},rowsPerPage:f,onRowsPerPageChange:e=>{g(parseInt(e.target.value,10)),v(0)}})]},"list")}):(0,s.jsx)(Z,{standardTmpl:r,aiTmpl:S,onFresh:V})]})},eI=l(9619),eP=!0,eR=(0,eI.Rq)(()=>(0,s.jsx)(r.default,{title:"Cost Book Setup",children:(0,s.jsx)(eT,{})}),{preloadPaths:["/dashboard","/resources/scope_templates","/resources/milestone_templates"],cacheStrategy:{priority:"medium",ttl:36e5}})},22473:function(e,t,l){"use strict";l.d(t,{i:function(){return a}});var s=l(52676),i=l(11910),r=l(4814);l(75271);let a=e=>{let{className:t,color:l,vertical:a,style:n}=e;return(0,s.jsx)("div",{style:{background:l||i.vp,...n},className:(0,r.Z)({"h-full":a,"w-full":!a,"h-1px":!a,"w-1px":a},t)})}},5400:function(e,t,l){"use strict";var s=l(52676),i=l(75271);t.Z=e=>{let{viewportRef:t,label:l="Horizontal scrollbar"}=e,r=(0,i.useRef)(null),a=(0,i.useRef)(null),[n,o]=(0,i.useState)(0),[d,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=t.current,l=r.current;if(!e||!l)return;let s=()=>{o(e.scrollWidth),c(e.scrollWidth>e.clientWidth+1),l.scrollLeft!==e.scrollLeft&&(l.scrollLeft=e.scrollLeft)},i=()=>{"scrollbar"!==a.current&&(a.current="viewport",l.scrollLeft!==e.scrollLeft&&(l.scrollLeft=e.scrollLeft),a.current=null)},n=()=>{"viewport"!==a.current&&(a.current="scrollbar",e.scrollLeft!==l.scrollLeft&&(e.scrollLeft=l.scrollLeft),a.current=null)};s();let d=new ResizeObserver(s);return d.observe(e),Array.from(e.children).forEach(e=>d.observe(e)),e.addEventListener("scroll",i),l.addEventListener("scroll",n),()=>{d.disconnect(),e.removeEventListener("scroll",i),l.removeEventListener("scroll",n)}},[t]),(0,s.jsx)("div",{ref:r,"aria-label":l,className:"always-scrollbar-x pointer-events-auto sticky bottom-0 z-[20] h-[12px] w-full overflow-x-auto overflow-y-hidden bg-white ".concat(d?"":"hidden"),children:(0,s.jsx)("div",{"aria-hidden":!0,style:{width:n,height:1}})})}},57874:function(e,t,l){"use strict";var s=l(52676),i=l(75271),r=l(49586),a=l(74033),n=l(83857),o=l(10283);let d=(0,n.ZP)(r.ZP,{shouldForwardProp:e=>"isMobile"!==e})(e=>{let{isMobile:t}=e;return{background:"transparent",marginTop:t?32:void 0,"& .MuiPopover-paper":{boxShadow:"0px 4px 14px rgba(51, 51, 51, 0.04)",borderRadius:8,maxHeight:t?344:408,border:"1px solid #EBECF0"}}});t.Z=e=>{let t;let{content:l,children:r,visibleController:n,...c}=e,u=(0,a.Z)("(max-width:640px)"),[C,x]=(0,i.useState)(null),[p,m]=(0,i.useState)(!1);n&&(p=n[0],m=n[1]);let h=(0,i.useMemo)(()=>(0,o.Z)(),[]),v=(0,i.useMemo)(()=>p?h:void 0,[p]),f=e=>{x(e.currentTarget),m(!0)},g=()=>{x(null),m(!1)},j=(0,i.isValidElement)(l)&&"string"==typeof l.type&&/^[a-z]/.test(l.type),b=!!j&&"function"==typeof l.props.onClick;return t=j?(0,i.cloneElement)(l,{onClick:e=>{b&&l.props.onClick(e),f(e)}}):(0,s.jsx)("div",{onClick:f,children:l}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex",onClick:f,children:t}),(0,s.jsx)(d,{isMobile:u,id:v,open:p,anchorEl:C,onClose:g,anchorOrigin:u?void 0:{vertical:"bottom",horizontal:u?"center":"left"},transformOrigin:{vertical:"top",horizontal:"center"},...c,children:(0,s.jsx)("div",{onClick:g,children:r})})]})}},47070:function(e,t,l){"use strict";l.d(t,{Z:function(){return a}});var s=l(52676),i=l(2715),r=l.n(i);let a=e=>{let t;let{children:l,ratio:i=1,...a}=e;return t=1===i?"100%":"".concat(100*Number(i.toFixed(2)),"%"),(0,s.jsx)("div",{...a,children:(0,s.jsx)("div",{className:r().ratioBox,style:{paddingBottom:t},children:(0,s.jsx)("div",{className:r().main,children:l})})})};t.C=a},78274:function(e,t,l){"use strict";l.d(t,{P:function(){return i}});var s=l(74722);let i=(e,t)=>!!e&&(!1===e.isOk||null!=e.code&&0!==Number(e.code))&&((0,s.yv)(e.resMessage||e.message||t,{variant:"error"}),!0)},4261:function(e,t,l){"use strict";var s=l(52676);t.Z=e=>{let{color:t="#E12424",...l}=e;return(0,s.jsxs)("svg",{...l,xmlns:"http://www.w3.org/2000/svg",width:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.93828 2.82422C2.68975 2.82422 2.48828 3.02569 2.48828 3.27422V13.8492C2.48828 14.5948 3.0927 15.1992 3.83828 15.1992H12.1633C12.9089 15.1992 13.5133 14.5948 13.5133 13.8492V3.27422C13.5133 3.02569 13.3118 2.82422 13.0633 2.82422H2.93828ZM6.65083 6.19922C6.92697 6.19922 7.15083 6.40069 7.15083 6.64922V11.0367C7.15083 11.2852 6.92697 11.4867 6.65083 11.4867C6.37469 11.4867 6.15083 11.2852 6.15083 11.0367V6.64922C6.15083 6.40069 6.37469 6.19922 6.65083 6.19922ZM9.35068 6.19922C9.62683 6.19922 9.85068 6.40069 9.85068 6.64922V11.0367C9.85068 11.2852 9.62683 11.4867 9.35068 11.4867C9.07454 11.4867 8.85068 11.2852 8.85068 11.0367V6.64922C8.85068 6.40069 9.07454 6.19922 9.35068 6.19922Z",fill:t}),(0,s.jsx)("path",{d:"M1.25 3.27539H14.75",stroke:t,strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M5.30078 3.275L6.41082 1.25H9.61305L10.7008 3.275H5.30078Z",stroke:t,strokeLinejoin:"round"})]})}},6205:function(e,t,l){"use strict";l.d(t,{U:function(){return i}});var s=l(52676);let i=e=>(0,s.jsxs)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",children:[(0,s.jsx)("path",{opacity:"0.8",d:"M41.4336 50.4907C42.2187 50.0851 42.5263 49.1199 42.1207 48.3348C41.7152 47.5497 40.7499 47.2421 39.9649 47.6476L41.4336 50.4907ZM50.996 37.9153L49.8801 39.0619C50.5133 39.6782 51.5263 39.6645 52.1426 39.0313L50.996 37.9153ZM45.8058 30.631C45.1726 30.0147 44.1596 30.0284 43.5433 30.6616C42.9269 31.2949 42.9406 32.3078 43.5739 32.9242L45.8058 30.631ZM58.2804 32.7251C58.8967 32.0919 58.883 31.0789 58.2497 30.4626C57.6165 29.8462 56.6035 29.86 55.9872 30.4932L58.2804 32.7251ZM31.8992 49.6001C22.179 49.6001 14.2992 41.7203 14.2992 32H11.0992C11.0992 43.4876 20.4117 52.8001 31.8992 52.8001V49.6001ZM14.2992 32C14.2992 22.2798 22.179 14.4 31.8992 14.4V11.2C20.4117 11.2 11.0992 20.5125 11.0992 32H14.2992ZM31.8992 14.4C41.6194 14.4 49.4992 22.2798 49.4992 32H52.6992C52.6992 20.5125 43.3867 11.2 31.8992 11.2V14.4ZM39.9649 47.6476C37.5504 48.8949 34.8095 49.6001 31.8992 49.6001V52.8001C35.3324 52.8001 38.5757 51.967 41.4336 50.4907L39.9649 47.6476ZM49.4992 32C49.4992 33.13 49.3929 34.2336 49.1903 35.3019L52.3342 35.8982C52.574 34.6343 52.6992 33.3311 52.6992 32H49.4992ZM52.112 36.7688L45.8058 30.631L43.5739 32.9242L49.8801 39.0619L52.112 36.7688ZM55.9872 30.4932L49.8495 36.7994L52.1426 39.0313L58.2804 32.7251L55.9872 30.4932Z",fill:"url(#paint0_linear_8336_260585)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"paint0_linear_8336_260585",x1:"59.5869",y1:"0.673728",x2:"13.4193",y2:"0.0241127",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#10D7FF"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#7F1BFF"})]})})]})}
1,2715:function(e){e.exports={ratioBox:"RatioBox_ratioBox__ABAi0",main:"RatioBox_main__3dyjW"}}}]);

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.