1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7083],{6768:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/corporation-portal/account-management",function(){return s(23374)}])},8066:(e,t,s)=>{"use strict";s.d(t,{A:()=>j});var l=s(37876),r=s(40908),d=s(9097),a=s(14232),n=s(54587),i=s.n(n),c=s(76980),o=s(26797),m=s(36563),u=s(34846),x=s(59582),h=s(31991),p=s(44789),v=s(99190),b=s(82565),f=s(14539);let j=()=>{let{setWalletListLoading:e,setWalletList:t,walletList:s}=(0,r.A)(),{t:n}=(0,u.Bd)(),[j,y]=(0,a.useState)(!1);(0,a.useEffect)(()=>{e(!0),(0,d.EB)({}).then(e=>{let{data:s}=e;t(s)}).finally(()=>{e(!1)})},[t,e]);let N=(0,a.useCallback)(s=>{let r=s.target.dataset.id||"",{destory:a}=(0,x.A)({children:(0,l.jsx)(h.A,{imageSrc:p.A,title:n("DeleteWalletAddress"),content:n("DeleteWalletAddressDesc"),Footer:()=>(0,l.jsx)(v.wi,{onConfirm:()=>{(0,d.H7)({walletId:r}).then(s=>{let{data:l}=s;e(!0),t(e=>null==e?void 0:e.filter(e=>e.walletId!==l.walletId)),e(!1)}).catch(()=>{b.A.info({text:n("DeleteFailed")})})},destory:a,mode:v.z7.confirmAndCancelV2})})})},[]),[A,g]=(0,a.useState)(),{UpdateWalletAddressModal:C}=(0,f.A)({current:A,setOpenProvider:y,openProvider:j});return(0,l.jsxs)("div",{className:"w-full",children:[null==s?void 0:s.map((e,t)=>(0,l.jsxs)("div",{className:"".concat(t!==(null==s?void 0:s.length)-1?"border-b":""," border-dashed w-full flex justify-between items-center py-3"),children:[(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("div",{className:"text-regular-body-sub break-all",children:e.walletAddress}),(0,l.jsxs)("div",{className:"gap-1 flex items-center mt-1",children:[e.tag&&(0,l.jsx)("div",{className:"bg-bg3 text-link rounded-[4px] px-2 py-1",children:e.tag}),(0,l.jsx)("div",{className:"bg-bg3 text-secondary rounded-[4px] px-2 py-1",children:e.network})]}),!e.vaspCode&&(0,l.jsxs)("div",{onClick:()=>{y(!0),g(e)},className:"bg-alertbg p-1 flex max-w-max gap-1 text-link items-center cursor-pointer text-caption-sub mt-3 rounded-[200px]",children:[(0,l.jsx)(i(),{src:m.A,alt:"ICInfoLightSvg"}),(0,l.jsx)("span",{children:n("ProviderInformationRequired")}),(0,l.jsx)(i(),{src:o.A,alt:"ICGoSvg"})]})]}),(0,l.jsx)(i(),{onClick:N,"data-id":e.walletId,className:"cursor-pointer",src:c.A,alt:"delSvg"})]}
1,e.walletId)),C]})}},14539:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var l=s(37876),r=s(99190),d=s(63434),a=s(84952),n=s(14232),i=s(79829),c=s(34846),o=s(9097),m=s(40908),u=s(44975);let x=e=>{let{setOpenProvider:t,openProvider:s,current:x,onCompleted:h}=e,[p,v]=(0,n.useState)(""),b=(0,n.useRef)(null),{selectFiat:f,fiatAmount:j}=(0,u.A)(),[y,N]=(0,n.useState)([]);(0,n.useEffect)(()=>{s&&(0,i.hR)({fiatCurrency:null==f?void 0:f.currency,fiatAmount:j}).then(e=>{let{data:t}=e;N(t)})},[j,s,null==f?void 0:f.currency]);let{t:A}=(0,c.Bd)(),{setWalletListLoading:g,setWalletList:C,walletList:w}=(0,m.A)();return(0,n.useEffect)(()=>{s&&v("")},[s]),{UpdateWalletAddressModal:(0,l.jsxs)(r.Ay,{showMask:!0,setOpen:t,open:s,title:A("SubmitProviderOfYourWallet"),children:[(0,l.jsx)("div",{className:"text-small-body",children:A("ReminderDesc")}),(0,l.jsx)("div",{className:"mt-4 text-small-body-sub",children:A("WalletAddress")}),(0,l.jsx)("div",{className:"text-regular-body-bold mt-1 break-words",children:null==x?void 0:x.walletAddress}),(0,l.jsx)("div",{className:"text-small-body-sub mt-4",children:A("Network")}),(0,l.jsx)("div",{className:"text-regular-body-bold mt-1 break-words",children:null==x?void 0:x.network}),(0,l.jsx)(d.A,{onClick:()=>{setTimeout(()=>{var e,t;null==b||null===(t=b.current)||void 0===t||null===(e=t.scrollIntoView)||void 0===e||e.call(t)},150)},value:p,onChange:e=>v(e.target.value),className:"mt-4",options:y.map(e=>({label:e.name,value:e.vaspCode})),label:(0,l.jsx)("div",{className:"text-small-body-sub mt-4",children:A("Provider")})}),(0,l.jsx)("div",{className:"text-small-body mt-4",children:A("providerTips")}),(0,l.jsx)("div",{ref:b,className:"grow flex flex-col justify-end mt-4 shrink-0",children:(0,l.jsx)(a.A,{inactive:!p,showContinue:!0,onClick:()=>{(0,o.Fv)({walletId:null==x?void 0:x.walletId,walletAddress:(null==x?void 0:x.walletAddress)||"",network:(null==x?void 0:x.network)||"",memo:(null==x?void 0:x.memo)||"",tag:(null==x?void 0:x.tag)||"",vaspCode:p||""}).then(e=>{var s,l;let{data:r}=e;(null===(s=(l=r.status).toLowerCase)||void 0===s?void 0:s.call(l))==="success"&&(g(!0),C(e=>null==e?void 0:e.map(e=>e.walletId===(null==x?void 0:x.walletId)?{...e,vaspCode:p}:e)),g(!1),t(!1),null==h||h())})}})})]})}}},22329:(e,t,s)=>{"use strict";s.d(t,{y:()=>C,A:()=>w});var l=s(37876),r=s(54587),d=s.n(r),a=s(14232),n=s(83415);let i={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICright-light.73cbf5d7.svg",height:12,width:12,blurWidth:0,blurHeight:0};var c=s(76980),o=s(34846),m=s(94196),u=s(463),x=s(59582),h=s(31991),p=s(44789),v=s(99190),b=s(82565),f=s(14461),j=s(84952),y=s(87387),N=s(92094);let A=e=>{let{item:t,className:s}=e,{t:r}=(0,o.Bd)();return"Pending_Confirmation"===t.status?(0,l.jsx)("span",{className:s,children:(0,l.jsxs)("div",{id:"Pending_Confirmation",className:"flex items-center px-1 py-1 bg-alertbg text-link text-caption-sub rounded-[200px]",children:[(0,l.jsx)(d(),{src:n.A,alt:"ICInfo",className:"w-4 h-4"}),(0,l.jsx)("div",{className:"ml-1 cursor-pointer",onClick:()=>{},children:r("ConfirmationRequired")}),(0,l.jsx)(d(),{className:" ml-1 w-3 h-3",src:i,alt:"ICrightLight"})]})}):Object.keys(N.rZ).some(e=>!t[e])?(0,l.jsx)("span",{className:s,children:(0,l.jsxs)("div",{className:"flex items-center px-1 py-1 bg-alertbg text-link text-caption-sub rounded-[200px]",children:[(0,l.jsx)(d(),{src:n.A,alt:"ICInfo",className:"w-4 h-4"}),(0,l.jsx)("div",{className:"ml-1 cursor-pointer flex-nowrap",onClick:()=>{},children:r("AdditionalInformationRequired")}),(0,l.jsx)(d(),{className:" w-3 h-3",src:i,alt:"ICrightLight"})]})}):(0,l.jsx)(l.Fragment,{})},g=e=>{let{setRefreshKey:t,refreshKey:s,supportChoose:r,type:n,inModal:i}=e,{businessAccountList:g,refreshAccountList:C,setIsAccountEdit:w,setAddAccountOpen:k,setBusinessAccountList:I,businessCurrentAccount:B,setBusinessCurrentAccount:S,setBusinessAccountsOpen:_}=(0,y.A)(),{t:F}=(0,o.Bd)(),[P,D]=(0,a.useState)(!1),E=e=>{if("Pending_Confirmation"===e.status){S(e),D(!0);return}if(Object.keys(N.rZ).some(t=>!e[t])){S(e),w(!0),k(!0);return}r&&"Pass"===e.status&&(S(e),_(!1))},[T,W]=(0,a.useState)();return(0,a.useEffect)(()=>{P&&W(void 0)},[P]),(null==g?void 0:g.loading)?(0,l.jsx)(m.A,{}):(0,l.jsxs)(l.Fragment,{children:[g.data.map((e,s)=>(0,l.jsxs)("div",{className:"flex justify-between items-center border-b ".concat(s===g.data.length-1?"border-none":"border-dashed"),children:[(0,l.jsxs)("div",{className:"my-3 cursor-pointer flex items-center flex-1",onClick:()=>E(e),children:[r?(0,l.jsx)(f.A,{disabled:"Pass"!==e.status,selected:(null==B?void 0:B.id)===(null==e?void 0:e.id),className:"mr-2"}):(0,l.jsx)(l.Fragment,{}),(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{children:e.accountNumberUk||e.accountNumber}),(0,l.jsxs)("div",{className:"border items-center flex border-line rounded-[4px] px-1 py-[2px] ml-1",children:["Pass"===e.status&&(0,l.jsx)("div",{className:"text-link text-small-body-sub",children:F("Active")}
1),"Pending"===e.status&&(0,l.jsx)("div",{className:"text-third text-small-body-sub",children:F("Pending")}),"Pending_Confirmation"===e.status&&(0,l.jsx)("div",{className:"text-third text-small-body-sub",children:F("Pending")}),"Failed"===e.status&&(0,l.jsx)("div",{className:"text-sell text-small-body-sub",children:F("Unverified")})]}),(0,l.jsx)(A,{className:r||i?"hidden":"hidden sm:block ml-1",item:e})]}),(0,l.jsxs)("div",{className:"mt-1 text-small-body-sub text-third",children:[F("SWIFTCode"),": ",e.identifierCode]}),(0,l.jsx)(A,{className:r||i?"inline-block mt-1":"inline-block sm:hidden mt-1",item:e})]})]}),(0,l.jsx)(d(),{onClick:()=>{var s;let r=e.id,d=null==g?void 0:null===(s=g.data)||void 0===s?void 0:s.find(e=>e.id===r),{destory:a}=(0,x.A)({children:(0,l.jsx)(h.A,{imageSrc:p.A,content:F("DeleteBankAccountDesc").replace("{{IBAN}}",(null==d?void 0:d.accountNumberUk)||(null==d?void 0:d.accountNumber)),title:F("DeleteBankAccount"),Footer:()=>(0,l.jsx)(v.wi,{onConfirm:()=>{(0,u.zv)({id:e.id}).then(e=>{if(e){b.A.success({text:F("SucceedToDelAccount")}),null==t||t(e=>e+1),C(),a();return}throw Error("failed")}).catch(()=>{b.A.info({options:{position:b.y.top,Icon:null},text:F("FailedToDelAccount")})})},destory:a,mode:v.z7.confirmAndCancelV2})})})},className:"cursor-pointer",src:c.A,alt:"delSvg"})]},e.id)),(0,l.jsxs)(v.Ay,{setOpen:D,showMask:!0,open:P,title:F("BankAccountConfirmation"),children:[(0,l.jsx)("div",{className:" text-small-body",children:F("BankAccountConfirmationDesc0")}),(0,l.jsxs)("div",{className:" cursor-pointer px-3 py-4 mt-4 bg-bg2 rounded-xl",children:[(0,l.jsxs)("div",{className:"pb-4 flex items-center",onClick:()=>W(!0),children:[(0,l.jsx)(f.A,{selected:!0===T}),(0,l.jsxs)("div",{className:"ml-2",children:[(0,l.jsx)("div",{className:" text-small-body-sub",children:F("BankAccountConfirmationDesc1")}),(0,l.jsx)("div",{className:" text-secondary text-caption",children:F("BankAccountConfirmationDesc2")})]})]}),(0,l.jsxs)("div",{className:"pt-4 flex border-t border-dashed",onClick:()=>W(!1),children:[(0,l.jsx)(f.A,{selected:!1===T}),(0,l.jsxs)("div",{className:"ml-2",children:[(0,l.jsx)("div",{className:" text-small-body-sub",children:F("BankAccountConfirmationDesc3")}),(0,l.jsx)("div",{className:" text-secondary text-caption",children:F("BankAccountConfirmationDesc4")})]})]})]}),(0,l.jsx)(j.A,{inactive:void 0===T,onClick:()=>{(0,u.oi)({id:null==B?void 0:B.id,confirm:T}).then(e=>{let{data:s}=e;if(s){b.A.success({text:F("SucceedToConfirmAccount")}),null==t||t(e=>e+1),D(!1),C();return}})},showContinue:!0,showContinueBtnText:F("Confirm"),className:"mt-[192px]"})]})]})},C=e=>{let{supportChoose:t,type:s}=e,{t:r}=(0,o.Bd)(),{setAddAccountOpen:d,setBusinessCurrentAccount:a,setIsAccountEdit:n,businessAccountsOpen:i,setBusinessAccountsOpen:c}=(0,y.A)();return(0,l.jsx)(v.Ay,{title:r("PaymentMethod"),showMask:!0,open:i,setOpen:c,children:(0,l.jsxs)("div",{className:"w-full border border-line py-5 rounded-[20px] mt-3",children:[(0,l.jsx)("div",{className:" text-small-body-bold px-4 text-secondary",children:r("BankTransfer")}),(0,l.jsx)("div",{className:"max-h-[300px] px-4 overflow-auto",children:(0,l.jsx)("div",{children:(0,l.jsx)(g,{type:s,inModal:!0,supportChoose:t})})}),(0,l.jsx)("div",{className:"flex items-center justify-center mt-5",children:(0,l.jsx)("span",{onClick:()=>{a(void 0),n(!1),d(!0)},className:"text-link text-small-body-bold py-2 px-10 bg-bg3 rounded-[200px] text-center cursor-pointer",children:r("AddNewAccount")})})]})})},w=g},23374:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>C});var l=s(37876),r=s(89009),d=s(34846),a=s(14232),n=s(85093),i=s(87387),c=s(44975),o=s(92094),m=s(22329),u=s(51259),x=s(92327);let h={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/edit.016d2ee6.svg",height:24,width:24,blurWidth:0,blurHeight:0};var p=s(54587),v=s.n(p),b=s(98584),f=s(83561),j=s(94196),y=s(40908),N=s(9097);let A=()=>{let[e,t]=(0,a.useState)(),{sendtoPaymentMethod:s,setSendToPaymentMethod:r,walletInfo:n,walletList:i,sendToInfo:c,setSendToInfo:m,activeWalletId:u,setWalletList:x,activeNetWork:p,setActiveWalletId:A,setMerchantInfo:g,merchantInfo:C,setActiveNetWork:w,walletListLoading:k,setWalletListLoading:I}=(0,y.A)(),B=e=>{let{cryptoCurrency:s,currency:l,referenceCode:r}=e;t({cryptoCurrency:s,currency:l,referenceCode:r}),g({merchantId:0,merchantName:"",merchantLogo:"",merchantUserId:0,status:"Active"}),_(!0)},[S,_]=(0,a.useState)(!1),[F,P]=(0,a.useState)([]),[D,E]=(0,a.useState)(!0),[T,W]=(0,a.useState)(0);(0,a.useEffect)(()=>{E(!0),(0,f.sT)({channelCode:o.k$.BANK_FRICK,businessType:o.c.BUY_SEND}).then(e=>{let{data:t}=e;P(t.map(e=>{let{onChainWalletAddress:t,reference:s,currency:l,cryptoCurrency:r,iban:d}=e;return{onChainWalletAddress:t,reference:s,currency:l,cryptoCurrency:r,iban:d}})),E(!1)})},[T]);let{t:R}=(0,d.Bd)(),M=(0,a.useCallback)(e=>{let t=null==i?void 0:i.find(t=>t.walletId===e.walletId);m(s=>({...s,walletId:e.walletId,network:e.network,sendtoPaymentMethod:e.sendtoPaymentMethod,merchantId:e.tradingAccountId,walletAddress:null==t?void 0:t.walletAddress,tag:null==t?void 0:t.tag,memo:null==t?void 0:t.memo})),W(e=>e+1)},[m,i]);return(0,a.useEffect)(()=>{(null==e?void 0:e.cryptoCurrency)&&(I(!0),(0,N.EB)({cryptoCurrency:null==e?void 0:e.cryptoCurrency}).then(e=>{let{data:t}=e;x(t)}).finally(()=>{I(!1)}))},[x,I,e]),(0,l.jsxs)("div",{className:"flex-1 w-full h-full",children:[D?(0,l.jsx)(j.A,{}):F.map((e,t)=>(0,l.jsxs)("div",{className:"flex justify-between border-b border-dashed border-line py-3",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("div",{className:" font-bold text-regular-body-sub",children:e.reference}),(0,l.jsxs)("div",{className:" font-bold text-regular-body-sub",children:[R("IBAN"),": ",e.iban.replace(/(.{4})/g,"$1 ")]}),(0,l.jsxs)("div",{className:" text-third text-small-body-sub",children:[R("TradingPair"),": ",e.cryptoCurrency," - ",e.currency]}),(0,l.jsxs)("div",{className:" text-third text-small-body-sub",children:[R("WalletAddress")," ",e.onChainWalletAddress]})]}),(0,l.jsx)(v(),{className:"cursor-pointer",onClick:()=>B({cryptoCurrency:e.cryptoCurrency,currency:e.currency,referenceCode:e.reference}),src:h,alt:"editSvg"})]},t)),(0,l.jsx)(b.A,{referenceCode:null==e?void 0:e.referenceCode,orderInfo:{selectCrypto:null==e?void 0:e.cryptoCurrency,selectFiat:null==e?void 0:e.currency},paymentMethod:o.YJ.BANK_TRANSFER,onConfirm:M,selectFiat:{currency:null==e?void 0:e.currency,currencyFullName:null==e?void 0:e.currency},selectcrypto:{currency:null==e?void 0:e.cryptoCurrency,currencyFullName:null==e?void 0:e.cryptoCurrency},check:!0,open:S,channelCode:o.k$.BANK_FRICK,setOpen:_})]})};var g=s(8066);let C=()=>{let{t:e}=(0,d.Bd)(),{goBusinessHome:t}=(0,u.A)(),{setAddAccountOpen:s,setIsAccountEdit:h,setBusinessCurrentAccount:p}=(0,i.A)(),{setChannelCode:v}=(0,c.A)();(0,a.useEffect)(()=>{v(o.k$.BANK_FRICK)},[]);let[b,f]=(0,a.useState)(0),[j,y]=(0,a.useState)("Banktransfer");return(0,l.jsxs)("div",{className:"w-full h-full",children:[(0,l.jsx)(x.A,{title:e("AccountManagement")}),(0,l.jsxs)("div",{className:"max-w-[1680px] m-auto flex flex-1 w-full justify-between md:flex-row",children:[(0,l.jsx)("div",{className:"w-full md:w-[calc((100%-32px)/3*2)] pl-5 sm:px-8 md:pr-0 items-start flex flex-col",children:(0,l.jsx)("div",{className:"w-full sm:border border-line py-5 sm:py-6 rounded-[20px] overflow-auto md:min-
1h-[600px]",children:(0,l.jsxs)("div",{className:"px-5 flex-col flex w-full h-full",children:[(0,l.jsx)("div",{className:"flex justify-between items-center border-b border-line",children:(0,l.jsxs)("div",{className:"flex shrink-0 h-9 items-end",children:[(0,l.jsx)("div",{onClick:()=>y("Banktransfer"),className:"pb-3 cursor-pointer text-regular-body-bold ".concat("Banktransfer"===j?"text-primary-text border-primary border-b-4":"text-third"),children:e("BankTransfer")}),(0,l.jsx)("div",{onClick:()=>y("ReferenceCode"),className:"pb-3 ml-3 cursor-pointer text-regular-body-bold ".concat("ReferenceCode"===j?"text-primary-text border-primary border-b-4":"text-third"),children:e("ReferenceCode")}),(0,l.jsx)("div",{onClick:()=>y("WalletAddress"),className:"pb-3 ml-3 cursor-pointer text-regular-body-bold ".concat("WalletAddress"===j?"text-primary-text border-primary border-b-4":"text-third"),children:e("WalletAddress")})]})}),(0,l.jsx)("div",{className:"flex-1 self-end w-full",children:"Banktransfer"===j?(0,l.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,l.jsx)(m.A,{type:"all",setRefreshKey:f,refreshKey:b}),"Banktransfer"===j?(0,l.jsx)("div",{onClick:()=>{p(void 0),h(!1),s(!0)},className:"mt-2 shrink-0 max-w-max mx-auto text-link text-small-body-bold rounded-[200px] py-2 px-4 bg-bg3 cursor-pointer",children:e("AddNewAccount")}):(0,l.jsx)(l.Fragment,{})]}):"WalletAddress"===j?(0,l.jsx)(g.A,{}):(0,l.jsx)(A,{})})]})})}),(0,l.jsx)("div",{className:"md:pr-8 pr-5 hidden md:block w-full md:w-[calc((100%-32px)/3)] pl-5 md:pl-0",children:(0,l.jsx)("div",{className:"border-line border md:px-5 px-4 py-6 rounded-[20px]",children:(0,l.jsx)(r.A,{})})})]}),(0,l.jsx)(n.A,{onConfirm:()=>{f(e=>e+1)}})]})}},26797:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICGo.592ad3cd.svg",height:16,width:16,blurWidth:0,blurHeight:0}},36563:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICInfoLight.5edf1f7b.svg",height:20,width:20,blurWidth:0,blurHeight:0}},89009:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var l=s(37876),r=s(34846);let d=()=>{let{t:e}=(0,r.Bd)();return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("div",{className:"text-base text-primary-text font-bold",children:e("NeedHelp")}),(0,l.jsx)("div",{className:"mt-3 text-base text-secondary",dangerouslySetInnerHTML:{__html:e("NeedHelpDesc")}})]})}},92327:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var l=s(37876),r=s(51259),d=s(54587),a=s.n(d),n=s(14446),i=s(34846),c=s(44975);let o=e=>{let{title:t}=e,{goBusinessHome:s}=(0,r.A)(),{t:d}=(0,i.Bd)(),{showMenu:o}=(0,c.A)();return(0,l.jsxs)("div",{className:"m-auto max-w-[1680px] sm:relative sticky top-0 sm:pb-0 pb-4 bg-white ".concat(o?"z-0":"z-20"," flex items-center text-large-body-bold sm:text-h5 font-bold px-6 sm:px-8 sm:mb-10"),children:[(0,l.jsx)(a(),{onClick:()=>s(),className:"cursor-pointer sm:hidden mr-2",src:n.A,alt:"ICBack"}),(0,l.jsx)("span",{children:t})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[6746,3167,531,3298,7956,8584,636,6593,8792],()=>t(6768)),_N_E=e.O()}]);
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.