1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7677],{81307:function(e,t,r){"use strict";var n=r(57437);r(2265),r(98684),t.Z=()=>(0,n.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-gray-500 bg-opacity-40 z-50",children:(0,n.jsx)("div",{className:"spinner "})})},88678:function(e,t,r){"use strict";r.d(t,{J2:function(){return d},xo:function(){return o},yk:function(){return i}});var n=r(57437),s=r(2265),a=r(53238),l=r(66474);let d=a.fC,o=a.xz,i=s.forwardRef((e,t)=>{let{className:r,align:s="center",sideOffset:d=4,...o}=e;return(0,n.jsx)(a.h_,{children:(0,n.jsx)(a.VY,{ref:t,align:s,sideOffset:d,className:(0,l.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",r),...o})})});i.displayName=a.VY.displayName},44013:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r(57437),s=r(2265),a=r(37996),l=r(94295),d=r(8268),o=r(9388),i=r(94242),c=r(88678),u=r(99376),m=()=>{let[e,t]=(0,s.useState)(""),r=(0,u.useSearchParams)().get("id"),m=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{let n=o.Z.employee_payroll_genrate,s=r||localStorage.getItem("user_id"),a=new Date,l=new Date(a.getFullYear(),a.getMonth()-1,1),c=l.getFullYear(),u=String(l.getMonth()+1).padStart(2,"0");"last Month"===e?n+="?payroll_month=".concat(c,"-").concat(u,"&user_id=").concat(s):"3 Months"===e?n+="?payroll_month=&last_three_payroll_month=true&user_id=".concat(s):"custom Month"===e&&t&&(n+="?payroll_month=".concat(t,"&user_id=").concat(s));let m=await (0,d.R1)(n,{responseType:"blob"}),x=new Blob([m.data],{type:"application/pdf"}),f=window.URL.createObjectURL(x),h=document.createElement("a");h.href=f,h.download="last Month"===e?"Payslip_".concat(c,"-").concat(u,".pdf"):"3 Months"===e?"Last_3_Months_Payslips.pdf":"Payslip_".concat(t,".pdf"),document.body.appendChild(h),h.click(),window.URL.revokeObjectURL(f),document.body.removeChild(h),i.Am.success("PDF downloaded successfully")}catch(e){i.Am.error("Payslip Not Available")}};return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"flex justify-end mt-4",children:(0,n.jsxs)(c.J2,{children:[(0,n.jsx)(c.xo,{asChild:!0,children:(0,n.jsxs)("button",{className:"w-56 flex items-center justify-between px-4 py-2 border rounded-md shadow-sm bg-[#8e31ec] hover:bg-[#8463a6] text-white",children:[(0,n.jsx)(a._hL,{className:"w-5 h-5"}),(0,n.jsx)("span",{className:"text-sm font-medium mx-2",children:"Download Payslip"}),(0,n.jsx)(l.OId,{className:"w-5 h-5"})]})}),(0,n.jsx)(c.yk,{className:"w-56 bg-white border border-gray-200 rounded-md shadow-lg p-2 space-y-2",children:(0,n.jsxs)("div",{className:"px-2 py-1",children:[(0,n.jsx)("label",{className:"text-xs text-gray-600",children:"Choose Month"}),(0,n.jsx)("input",{type:"month",className:"mt-1 w-full border rounded p-1 text-sm",value:e,onChange:e=>t(e.target.value)}),(0,n.jsx)("button",{className:"mt-2 w-full bg-[#8e31ec] text-white rounded p-1 text-sm hover:bg-[#8463a6]",disabled:!e,onClick:()=>m("custom Month",e),children:"Download"})]})})]})})})},x=e=>{var t;let{getdata:r}=e,s=(e,t,r)=>{let n="";return e>99&&(n+="".concat(t[Math.floor(e/100)]," hundred "),e%=100),e>19&&(n+="".concat(r[Math.floor(e/10)]," "),e%=10),e>0&&(n+="".concat(t[e]," ")),n.trim()};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m,{}),(0,n.jsxs)("h2",{className:"text-lg font-semibold text-[#1B1B1B] text-center mt-2",children:["Total CTC Rs : ",null==r?void 0:r.ctc," /-"]}),(0,n.jsxs)("div",{className:"flex justify-between gap-3",children:[(0,n.jsxs)("table",{className:"table-auto border-collapse w-full mt-3",children:[(0,n.jsx)("thead",{className:"rounded-md",children:(0,n.jsxs)("tr",{className:"bg-[#905AEC] text-[#FFFFFF] rounded-md",children:[(0,n.jsx)("th",{className:"px-4 py-2 rounded-l-md text-sm font-medium",children:"Earnings"}),(0,n.jsx)("th",{className:"px-4 py-2 text-sm font-medium rounded-r-md ",children:"Amount"})]})}),(0,n.jsxs)("tbody",{className:"bg-[#F8F8F8]",children:[(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"Basic Salary"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.basic_pay)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"HRA (House Rent Allowance)"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.hra)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"LTA (Leave Travel Allowance)"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.lta)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"Other Allowance"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.other_allowances)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium ",children:"Special Allowance"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium ",children:["Rs : ",(null==r?void 0:r.special_allowance)||"N/A"]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:" px-4 py-2 text-center text-sm"}),(0,n.jsx)("td",{className:" px-4 py-2 text-center rounded-tr-md text-sm"})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:" px-4 py-2 text-center text-sm"}),(0,n.jsx)("td",{className:" px-4 py-2 text-center rounded-tr-md text-sm"})]})]}),(0,n.jsx)("tfoot",{children:(0,n.jsxs)("tr",{className:"bg-[#F0E4FF]",children:[(0,n.jsx)("td",{className:"px-4 py-4 text-left font-semibold text-[#5A189A] text-sm rounded-bl-md",children:"Gross Earnings"}),(0,n.jsxs)("td",{className:"px-4 py-4 text-center font-semibold text-[#5A189A] text-sm",children:["Rs : ",(null==r?void 0:r.gross_salary)||"N/A"]})]})})]}),(0,n.jsxs)("table",{className:"table-auto border-collapse w-full mt-3",children:[(0,n.jsx)("thead",{className:"rounded-md",children:(0,n.jsxs)("tr",{className:"bg-[#905AEC] text-[#FFFFFF] rounded-md",children:[(0,n.jsx)("th",{className:"px-4 py-2 rounded-l-md text-sm font-medium",children:"Deduction"}),(0,n.jsx)("th",{className:"px-4 py-2 text-sm font-medium rounded-r-md ",children:"Amount"})]})}),(0,n.jsxs)("tbody",{className:"bg-[#F8F8F8]",children:[(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"Provident Fund (PF)"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.epf)||"
1N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"Professional tax"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.pt)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"TDS"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.tds_tax_amount)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium border-b-2 border-dashed",children:"Employees State Insurance"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium border-b-2 border-dashed ",children:["Rs : ",(null==r?void 0:r.esi)||"N/A"]})]}),(0,n.jsxs)("tr",{className:"",children:[(0,n.jsx)("td",{className:"px-4 py-2 text-left rounded-tl-md text-sm font-medium ",children:"Other Deduction"}),(0,n.jsxs)("td",{className:" px-4 py-2 text-center text-sm font-medium ",children:["Rs : ",(null==r?void 0:r.other_deductions)||"N/A"]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:" px-4 py-2 text-center text-sm"}),(0,n.jsx)("td",{className:" px-4 py-2 text-center rounded-tr-md text-sm"})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:" px-4 py-2 text-center text-sm"}),(0,n.jsx)("td",{className:" px-4 py-2 text-center rounded-tr-md text-sm"})]})]}),(0,n.jsx)("tfoot",{children:(0,n.jsxs)("tr",{className:"bg-[#F0E4FF]",children:[(0,n.jsx)("td",{className:"px-4 py-4 text-left font-semibold text-[#5A189A] text-sm rounded-bl-md",children:"Total Deductions"}),(0,n.jsxs)("td",{className:"px-4 py-4 text-center font-semibold text-[#5A189A] text-sm",children:["Rs : ",(null==r?void 0:r.total_deduction)||"N/A"]})]})})]})]}),(0,n.jsxs)("div",{className:"bg-[#F3F5F7] rounded-md px-8 py-5 w-fit mx-auto mt-6",children:[(0,n.jsxs)("h5",{className:"text-[#1B1B1B] text-md font-semibold text-center ",children:["Total Net Payable Rs : ",null==r?void 0:r.net_salary,(0,n.jsxs)("span",{className:"font-normal text-[#1B1B1B]",children:["(Indian Rupee"," ",(e=>{if(0===e)return"zero rupees";let t=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],r=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],n=["","thousand","lakh","crore"],a="",l=0;for(;e>0;){let d=e%1e3;if(1===l?(d=e%100,e=Math.floor(e/100)):e=Math.floor(e/1e3),d>0){let e=s(d,t,r);a="".concat(e," ").concat(n[l]," ").concat(a).trim()}l++}return"".concat(a.trim()," rupees")})(null==r?void 0:null===(t=r.net_salary)||void 0===t?void 0:t.toString().split(".")[0])," ","Only)"]})]}),(0,n.jsx)("p",{className:"text-[#1B1B1B] text-sm font-normal text-center",children:"**Total Net Payable = Gross Earnings - Total Deductions"})]})]})},f=r(81307),h=()=>{var e,t,r;let[a,l]=(0,s.useState)(""),[c,m]=(0,s.useState)(""),[h,p]=(0,s.use
1State)(!1),[y,b]=(0,s.useState)(""),j=(0,u.useSearchParams)().get("id"),N=localStorage.getItem("user_id"),v=(0,u.usePathname)(),[g,w]=(0,s.useState)(null),[A,_]=(0,s.useState)([]);(0,s.useEffect)(()=>{w(localStorage.getItem("emp_role")),C()},[]);let C=async()=>{try{let e=await (0,d.R1)(o.Z.employee_own_payscale+"/"+j);(null==e?void 0:e.status)==200&&_(null==e?void 0:e.data)}catch(e){e.message&&i.Am.error(e.message)}};(0,s.useEffect)(()=>{j&&N&&k()},[N,j]);let R=e=>{if(0===e)return"zero rupees";let t=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],r=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],n=["","thousand","lakh","crore"],s="",a=0;for(;e>0;){let l=e%1e3;if(1===a?(l=e%100,e=Math.floor(e/100)):e=Math.floor(e/1e3),l>0){let e=F(l,t,r);s="".concat(e," ").concat(n[a]," ").concat(s).trim()}a++}return"".concat(s.trim()," rupees")},F=(e,t,r)=>{let n="";return e>99&&(n+="".concat(t[Math.floor(e/100)]," hundred "),e%=100),e>19&&(n+="".concat(r[Math.floor(e/10)]," "),e%=10),e>0&&(n+="".concat(t[e]," ")),n.trim()},S=e=>{let t=e.target.value,r=(t=t.replace(/[^0-9,]/g,"")).replace(/,/g,"");l(P(r)),m(R(Number(r)))},P=e=>{if(!e)return"";let t=e.slice(-3),r=e.slice(0,-3);return r.replace(/\B(?=(\d{2})+(?!\d))/g,",")+(r?",":"")+t},E=async()=>{if(!a){i.Am.error("Please enter the CTC.");return}let e=a.trim().replace(/,/g,"");if(isNaN(e)||0>=Number(e)){i.Am.error("CTC must be a valid positive number without commas.");return}p(!0);try{let t=await (0,d.sg)(o.Z.hr_req_increment,{user_id:j,hr_id:N,revised_ctc:e});(null==t?void 0:t.status)===201&&(i.Am.success("Request sent successfully."),k(),l(""),m(""),C())}catch(e){e.error&&i.Am.error(e.error)}finally{p(!1)}},M=async()=>{if(!a){i.Am.error("Please enter the CTC.");return}let e=a.trim().replace(/,/g,"");if(isNaN(e)||0>=Number(e)){i.Am.error("CTC must be a valid positive number without commas.");return}p(!0);let t=(null==A?void 0:A.ctc)?{ctc:e}:{ctc:e,user_id:j};try{let e;((null==(e=(null==A?void 0:A.ctc)?await (0,d.pE)("".concat(o.Z.employee_salary,"/").concat(j),t):await (0,d.sg)(o.Z.employee_salary,t))?void 0:e.status)===200||(null==e?void 0:e.status)===201)&&(i.Am.success(e.data.message),k(),l(""),m(""),C())}catch(e){e.message&&i.Am.error(e.message)}finally{p(!1)}},B=async()=>{try{var e;let t=await (0,d.pE)(o.Z.hr_req_increment+"/"+(null===(e=y[0])||void 0===e?void 0:e.revised_salary_request_id),{status:"Cancel"});(null==t?void 0:t.status)===200&&(i.Am.success("Request Cancel successfully."),k(),l(""),m(""))}catch(e){e.message&&i.Am.error(e.message)}finally{p(!1)}},k=async()=>{try{let t=await (0,d.R1)(o.Z.hr_req_increment_get+"?hr_id=".concat(N,"&user_id=").concat(j));if((null==t?void 0:t.status)===200){var e;b(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.salary_request)}}catch(e){e.message&&i.Am.error(e.message)}};return h?(0,n.jsx)(f.Z,{}):(0,n.jsxs)("div",{children:[(null==v?void 0:v.includes("/relive"))||"admin"===g?(0,n.jsxs)("div",{className:"mt-5 flex items-center gap-4 ",children:[(0,n.jsx)("h6",{className:"text-[#1B1B1B] text-sm font-medium",children:"Enter CTC"}),(0,n.jsx)("input",{type:"text",className:"p-1 outline-[#8E31EC] rounded-md border border-[#8E31EC]",value:a,placeholder:"Enter CTC ..",onChange:S}),(0,n.jsx)("button",{className:" bg-[#6720A9] text-white font-medium rounded-md p-1 text-sm px-5",onClick:()=>M(),children:"Add / Update Salary"}),c&&(0,n.jsxs)("p",{className:"text-sm text-gray-600 mt-3",children:["Amount in Words:"," ",c.charAt(0).toUpperCase()+c.slice(1)]})]}):(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"mt-5 flex items-center gap-4 ",children:[(0,n.jsx)("h6",{className:"text-[#1B1B1B] text-sm font-medium",children:"Enter CTC"}),(0,n.jsx)("input",{type:"text",className:"p-1 outline-[#8E31EC] rounded-md border border-[#8E31EC]",value:a,placeholder:"Enter CTC ..",onChange:S}),(0,n.jsx)("button",{className:" bg-[#6720A9] text-white font-medium rounded-md p-1 text-sm px-5",onClick:()=>{var e;return y&&(null===(e=y[0])||void 0===e?void 0:e.status)=="Pending"?B():E()},children:y&&(null===(e=y[0])||void 0===e?void 0:e.status)=="Pending"?"Cancel Request":"Make Request for Increment"}),y&&(null===(t=y[0])||void 0===t?void 0:t.status)=="Pending"&&(0,n.jsxs)("p",{className:"text-sm text-red-500",children:[" ","Requested ",null===(r=y[0])||void 0===r?void 0:r.revised_ctc," CTC is Pending"]})]}),c&&(0,n.jsxs)("p",{className:"text-sm text-gray-600 mt-3",children:["Amount in Words:"," ",c.charAt(0).toUpperCase()+c.slice(1)]})]}),(0,n.jsx)("div",{children:(0,n.jsx)(x,{getdata:A})})]})}},98684:function(){},97859:function(e,t,r){"use strict";r.d(t,{Cp:function(){return j},Qo:function(){return N},RR:function(){return p},X5:function(){return b},YF:function(){return u},cv:function(){return x},dp:function(){return y},dr:function(){return h},uY:function(){return f},x7:function(){return v}});var n=r(51050),s=r(2265),a=r(54887),l="undefined"!=typeof document?s.useLayoutEffect:function(){};function d(e,t){let r,n,s;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!d(e[n],t[n]))return!1;return!0}if((r=(s=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,s[n]))return!1;for(n=r;0!=n--;){let r=s[n];if(("_owner"!==r||!e.$$typeof)&&!d(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function o(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function i(e,t){let r=o(e);return Math.round(t*r)/r}function c(e){let t=s.useRef(e);return l(()=>{t.current=e}),t}function u(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:u=[],platform:m,elements:{reference:x,floating:f}={},transform:h=!0,whileElementsMounted:p,open:y}=e,[b,j]=s.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[N,v]=s.useState(u);d(N,u)||v(u);let[g,w]=s.useState(null),[A,_]=s.useState(null),C=s.useCallback(e=>{e!==P.current&&(P.current=e,w(e))},[]),R=s.useCallback(e=>{e!==E.current&&(E.current=e,_(e))},[]),F=x||g,S=f||A,P=s.useRef(null),E=s.useRef(null),M=s.useRef(b),B=null!=p,k=c(p),T=c(m),z=c(y),O=s.useCallback(()=>{if(!P.current||!E.current)return;let e={placement:t,strategy:r,middleware:N};T.current&&(e.platform=T.current),(0,n.oo)(P.current,E.current,e).then(e=>{let t={...e,isPositioned:!1!==z.current};D.current&&!d(M.current,t)&&(M.current=t,a.flushSync(()=>{j(t)}))})},[N,t,r,T,z]);l(()=>{!1===y&&M.current.isPositioned&&(M.current.isPositioned=!1,j(e=>({...e,isPositioned:!1})))},[y]);let D=s.useRef(!1);l(()=>(D.current=!0,()=>{D.current=!1}),[]),l(()=>{if(F&&(P.current=F),S&&(E.current=S),F&&S){if(k.current)return k.current(F,S,O);O()}},[F,S,O,k,B]);let q=s.useMemo(()=>({reference:P,floating:E,setReference:C,setFloating:R}),[C,R]),L=s.useMemo(()=>({reference:F,floating:S}),[F,S]),Z=s.useMemo(()=>{let e={position:r,left:0,top:0};if(!L.floating)return e;let t=i(L.floating,b.x),n=i(L.floating,b.y);return h?{...e,transform:"translate("+t+"px, "+n+"px)",...o(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,h,L.floating,b.x,b.y]);return s.useMemo(()=>({...b,update:O,refs:q,elements:L,floatingStyles:Z}),[b,O,q,L,Z])}let m=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:s}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.x7)({element:r.current,padding:s}).fn(t):{}:r?(0,n.x7)({element:r,padding:s}).fn(t):{}}}),x=(e,t)=>{let r=(0,n.cv)(e);return{name:r.name,fn:r.fn,options:[e,t]}},f=(e,t)=>{let r=(0,n.uY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},h=(e,t)=>({fn:(0,n.dr)(e).fn,options:[e,t]}),p=(e,t)=>{let r=(0,n.RR)(e);return{name:r.name,fn:r.fn,options:[e,t]}},y=(e,t)=>{let r=(0,n.dp)(e);return{name:r.name,fn:r.fn,options:[e,t]}},b=(e,t)=>{let r=(0,n.X5)(e);return{name:r.name,fn:r.fn,options:[e,t]}},j=(e,t)=>{let r=(0,n.Cp)(e);return{name:r.name,fn:r.fn,options:[e,t]}},N=(e,t)=>{let r=(0,n.Qo)(e);return{name:r.name,fn:r.fn,options:[e,t]}},v=(e,t)=>{let r=m(e);return{name:r.name,fn:r.fn,options:[e,t]}}},90420:function(e,t,r){"use strict";r.d(t,{t:function(){return a}});var n=r(2265),s=r(61188);function a(e){let[t,r]=n.useState(void 0);return(0,s.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,s;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,s=t.blockSize}else n=e.offsetWidth,s=e.offsetHeight;r({width:n,height:s})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(0,Object.defineProperty)(a,"name",{value:"useSize",configurable:!0})}}]);
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.