1import{a as xe}from"/build/_shared/chunk-GMQMP5ZI.js";import{a as ue}from"/build/_shared/chunk-LHGRU4XE.js";import{a as fe}from"/build/_shared/chunk-NNRIHFLH.js";import{a as y}from"/build/_shared/chunk-3NEINLPQ.js";import"/build/_shared/chunk-3RKN6HFN.js";import{a as pe}from"/build/_shared/chunk-YNXIJMD2.js";import{a as G}from"/build/_shared/chunk-RIUVNNXP.js";import{a as z}from"/build/_shared/chunk-2GG6U3D5.js";import{b as W}from"/build/_shared/chunk-PZ5FNQVS.js";import"/build/_shared/chunk-W553IQ4H.js";import{c as b,g as j,k as de,l as ce}from"/build/_shared/chunk-KFJ6Y4LO.js";import{e as ge,f as ve,i as be}from"/build/_shared/chunk-NGZY4SNM.js";import"/build/_shared/chunk-UIBGULCG.js";import"/build/_shared/chunk-AIRXGVP3.js";import{a as me}from"/build/_shared/chunk-KG7AJNEG.js";import{a as x}from"/build/_shared/chunk-Y6V5E3GT.js";import{a as le}from"/build/_shared/chunk-EP6IBGKE.js";import{b as r}from"/build/_shared/chunk-O54MRHGZ.js";import{r as V}from"/build/_shared/chunk-WSSHVIMB.js";import{f as O,i as E,j as ie,s as re,w as ne}from"/build/_shared/chunk-WMIPC762.js";import"/build/_shared/chunk-BJ4RFIBQ.js";import"/build/_shared/chunk-YTWJGXMQ.js";import"/build/_shared/chunk-EGXYMZPM.js";import{a as T}from"/build/_shared/chunk-EKUKOFZI.js";import{c as te}from"/build/_shared/chunk-3RN4ZVR6.js";import"/build/_shared/chunk-HYYMZHF4.js";import"/build/_shared/chunk-RWX2RI66.js";import{Ua as ae,Va as $,cb as q,db as L,gb as I,hb as N,qa as P,sa as F,ua as B,va as S,wa as M}from"/build/_shared/chunk-EOJS7VXF.js";import"/build/_shared/chunk-LHPP46I3.js";import{H as oe,M as se,_ as Y,b as H,e as A,j as w}from"/build/_shared/chunk-I7IIOYZ4.js";import"/build/_shared/chunk-L327ZUMW.js";import"/build/_shared/chunk-7YZTNJBA.js";import{d as u}from"/build/_shared/chunk-TY43B2WU.js";import"/build/_shared/chunk-RSV5R2LB.js";import{A as h,a as K,o as ee}from"/build/_shared/chunk-X4AHNLAR.js";import{d as f}from"/build/_shared/chunk-DTKMK5PW.js";var C=f(K());var Ie="/resources/advance/consent-form",ye=({...s}={})=>V({...s,link:Ie});var He="/resources/advance/loan-progress",he=({...s}={})=>V({...s,link:He});var Ne="/build/_assets/step-1-T5UYEDHW.webp";var we="/build/_assets/step-2-MYRHI5UO.webp";var Ce="/build/_assets/step-3-QMBVHA4X.webp";var m=f(K());var je=r.object({id:r.number(),company_name:r.string(),first_name:r.string(),last_name:r.string(),email:r.string(),phone_number:r.string(),consent:r.boolean(),processed:r.boolean(),created_at:r.coerce.date(),updated_at:r.coerce.date()}),lt=r.object({data:je,code:r.number()}),ze=x.formData({company_name:x.text(r.string({required_error:"Please enter company name"}).trim()),first_name:x.text(r.string({required_error:"Please enter first name"}).trim()),last_name:x.text(r.string({required_error:"Please enter last name"}).trim()),email:x.text(r.string({required_error:"email required"}).trim().email()),phone_number:x.text(r.string({required_error:"phone number required"}).trim().min(5,"Phone number must be at least 5 characters")),consent:x.checkbox({trueValue:"true"}).refine(s=>s===!0,{message:"You must consent to proceed"})}),Z=le(ze);var a=f(h()),_e=(0,m.memo)(({open:s,onOpenChange:n,onCloseChange:o})=>{let[i,l]=(0,m.useState)(s||!1);(0,m.useEffect)(()=>{s!==void 0&&l(s)},[s]),(0,m.useEffect)(()=>{n&&n(i)},[i,n]);let c=(0,m.useCallback)(v=>{l(v),!v&&o&&o()},[o]),g=(0,m.useCallback)(()=>{l(!1),o&&o()},[o]);return(0,a.jsx)(P,{open:i,onOpenChange:c,children:(0,a.jsx)(W,{className:"sm:max-w-[500px]",children:(0,a.jsx)(Ge,{handleCloseDialog:g})})})}),We="consent-form-submission",Ge=(0,m.memo)(({handleCloseDialog:s})=>{let{fetcher:n}=T({onError:l=>N.error(`Error: ${l?.message||"An error has occured when sending the request. Please refresh the page and try again."}`),onSuccess:()=>{N.success("Successfully submit consent form"),s()}}),o=(0,m.useRef)(null),i=b(j);return(0,m.useEffect)(()=>{o.current&&i&&(o.current.select(),G(o.current,400))},[i]),(0,a.jsxs)(O,{validator:Z,fetcher:n,action:"/resources/advance/consent-form",method:"POST",className:"contents",id:We,children:[(0,a.jsx)(z,{title:"Apply Credit Limit Guide",onClose:s}),(0,a.jsxs)(B,{className:"max-sm:hidden relative flex flex-col justify-center items-center gap-x-3 px-5 sm:px-6 py-4",children:[(0,a.jsx)(M,{children:"Apply Credit Limit Guide"}),(0,a.jsx)("p",{className:"text-[#3F3F46] text-sm font-medium leading-5",children:"Takes about 2\u20133 minutes."})]}),(0,a.jsxs)("div",{className:"px-3 grid grid-cols-3 gap-x-3 py-6",children:[(0,a.jsxs)("div",{className:"flex justify-center flex-col text-center",children:[(0,a.jsx)("img",{src:Ne,alt:"Credit limit step 1",width:300,height:200}),(0,a.jsx)("h3",{className:"text-[#5147DD] text-sm font-bold leading-5",children:"Step 1"}),(0,a.jsx)("p",{className:"text-[#3F3F46] text-sm font-medium leading-5 flex-1",children:"Click Apply Credit Limit below. A new tab will open"})]}),(0,a.jsxs)("div",{className:"flex justify-center flex-col text-center",children:[(0,a.jsx)("img",{src:we,alt:"Credit limit step 2",width:300,height:200}),(0,a.jsx)("h3",{className:"text-[#5147DD] text-sm font-bold leading-5",children:"Step 2"}),(0,a.jsx)("p",{className:"text-[#3F3F46] text-sm font-medium leading-5 flex-1",children:"Click Get credit limit to begin."})]}),(0,a.jsxs)("div",{className:"flex justify-center flex-col text-center",children:[(0,a.jsx)("img",{src:Ce,alt:"Credit limit step 3",width:300,height:200}),(0,a.jsx)("h3",{className:"text-[#5147DD] text-sm font-bold leading-5",children:"Step 3"}),(0,a.jsx)("p",{className:"text-[#3F3F46] text-sm font-medium leading-5 flex-1",children:"Fill in your information and submit your application."})]})]}),(0,a.jsx)(S,{className:"max-sm:bottom-0 max-sm:sticky bg-white px-5 sm:px-6 py-3 sm:py-5 border-outline border-t !justify-center flex items-center",children:(0,a.jsx)(u,{variant:"primary",className:"drop-shadow-sm px-3 py-2 border rounded-lg w-full sm:w-auto h-10",children:(0,a.jsxs)("a",{href:"http://cai.seedflex.com/?utm_source=Partner&utm_medium=Partner%20blast&utm_campaign=2026&utm_term=New%20Consent&utm_c
1ontent=Chip",target:"_blank",rel:"noopener noreferrer",className:"all-[unset] flex items-center gap-2 cursor-pointer",children:["Apply Credit Limit",(0,a.jsx)(A,{})]})})}),(0,a.jsx)("div",{className:"top-4 right-6 absolute flex items-center h-7",children:(0,a.jsxs)(q,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(F,{asChild:!0,children:(0,a.jsxs)("button",{className:"max-sm:hidden flex flex-none items-start hover:bg-background -mr-2 p-2 rounded-lg text-dim/60 hover:text-dim appearance-none",children:[(0,a.jsx)(H,{size:24}),(0,a.jsx)("span",{className:"hidden","aria-hidden":"true",children:"Close dialog"})]})})}),(0,a.jsx)(I,{children:"Close"})]})})]})});var d=f(K());var t=f(h()),Fe=(0,d.memo)(({open:s,onOpenChange:n,onCloseChange:o})=>{let[i,l]=(0,d.useState)(s||!1);(0,d.useEffect)(()=>{s!==void 0&&l(s)},[s]),(0,d.useEffect)(()=>{n&&n(i)},[i,n]);let c=(0,d.useCallback)(v=>{l(v),!v&&o&&o()},[o]),g=(0,d.useCallback)(()=>{l(!1),o&&o()},[o]);return(0,t.jsx)(P,{open:i,onOpenChange:c,children:(0,t.jsx)(W,{className:"sm:max-w-[500px]",children:(0,t.jsx)(Xe,{handleCloseDialog:g})})})}),Ze="consent-form-submission",Xe=(0,d.memo)(({handleCloseDialog:s})=>{let{fetcher:n,isLoading:o}=T({onError:g=>N.error(`Error: ${g?.message||"An error has occured when sending the request. Please refresh the page and try again."}`),onSuccess:()=>{N.success("Successfully submit consent form"),s()}}),i=(0,d.useRef)(null),l=b(j);(0,d.useEffect)(()=>{i.current&&l&&(i.current.select(),G(i.current,400))},[l]);let c=b(de);return(0,t.jsxs)(O,{validator:Z,fetcher:n,action:"/resources/advance/consent-form",method:"POST",className:"contents",id:Ze,children:[(0,t.jsx)(z,{title:"Consent Form",onClose:s}),(0,t.jsx)(B,{className:"max-sm:hidden relative flex gap-x-3 px-5 sm:px-6 py-4 border-outline border-b",children:(0,t.jsx)("div",{className:"flex-grow space-y-1",children:(0,t.jsx)(M,{children:"Consent Form"})})}),(0,t.jsxs)("div",{className:"space-y-3 p-6",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)(E,{name:"first_name",label:"First name *",ref:i})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(E,{name:"last_name",label:"Last name *"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(E,{name:"company_name",label:"Company name",defaultValue:c?.company?.legal_name,className:"bg-washed focus:shadow-dropshadow/none",readOnly:!0})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(E,{name:"email",label:"Email *"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(re,{name:"phone_number",label:"Phone number *"})}),(0,t.jsx)("div",{className:"py-3",children:(0,t.jsx)(ie,{name:"consent",label:"By checking the box, I consent for CHIP to share my personal information with Seedflex *",value:"true"})}),(0,t.jsxs)("div",{className:"flex gap-x-3 bg-[#FEF0DE] p-3 rounded-lg",children:[(0,t.jsx)("div",{className:"flex-shrink-0 size-3",children:(0,t.jsx)(oe,{color:"#A85B00"})}),(0,t.jsx)("div",{className:"text-[#A85B00] text-sm",children:"Once approved, you will receive login details from Seedflex within 2 business days."})]})]}),(0,t.jsxs)(S,{className:"max-sm:bottom-0 max-sm:sticky bg-white px-5 sm:px-6 py-3 sm:py-5 border-outline border-t",children:[(0,t.jsx)(F,{asChild:!0,children:(0,t.jsx)(u,{type:"button",variant:"tertiary",disabled:o,className:"max-sm:hidden",children:(0,t.jsxs)("span",{className:"flex items-center h-5",children:["Cancel",(0,t.jsx)("kbd",{className:"inline-block -mr-0.5 ml-2.5 px-1 rounded bg-outline/90 font-sans font-semibold text-dim text-xs leading-[18px]",children:"Esc"})]})})}),(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("input",{type:"hidden",name:"_method",value:"create"}),(0,t.jsx)(te,{}),(0,t.jsx)(ne,{label:"Submit",loading:o,className:"max-sm:w-full max-sm:h-11"})]})]}),(0,t.jsx)("div",{className:"top-4 right-6 absolute flex items-center h-7",children:(0,t.jsxs)(q,{children:[(0,t.jsx)(L,{asChild:!0,children:(0,t.jsx)(F,{asChild:!0,children:(0,t.jsxs)("button",{className:"max-sm:hidden flex flex-none items-start hover:bg-background -mr-2 p-2 rounded-lg text-dim/60 hover:text-dim appearance-none",children:[(0,t.jsx)(H,{size:24}),(0,t.jsx)("span",{className:"hidden","aria-hidden":"true",children:"Close dialog"})]})})}),(0,t.jsx)(I,{children:"Close"})]})})]})});var e=f(h()),Ke=()=>[{title:"CHIP Advance | Overview"}],Ye={breadcrumb:[{label:"Overview",link:"/advance"},{label:"",link:""}],activeSidebarLink:"/advance"};function Re(){let s=b(ce),{data:n,isFetched:o}=xe(),{data:i,isLoading:l}=he(),{data:c,isLoading:g}=ye(),[v,D]=(0,C.useState)(!1),{data:R,isFetched:Ae}=ue(),p=n?.data&&n?.data?.is_eligible,Ee=R?.data&&R?.data?.length>0,k=i?.data?.total_repayments??0,U=i?.data?.repayment_balance??0,J=k+U,Q=k/J,De=k/J*100,_=!!c?.data,ke=p&&!_,Pe=!!o&&!!Ae,[Be,X]=(0,C.useState)(!1),Se=(0,C.useCallback)(()=>{D(!1)},[]),Me=(0,C.useCallback)(()=>{X(!1)},[]),$e=()=>_?(0,e.jsx)(u,{onClick:()=>D(!0),disabled:!ke,variant:"primary",className:"pl-2 h-10 sm:h-auto",label:`Submitted on ${ge(new Date(c?.data?.created_at))}`}):(0,e.jsxs)(u,{onClick:p?()=>D(!0):()=>X(!0),variant:"primary",className:"drop-shadow-sm px-3 py-2 border rounded-lg w-full sm:w-auto h-10",children:[p?"Apply Advance":"Get Credit Limit",(0,e.jsx)(A,{})]}),qe=()=>(0,e.jsxs)("div",{className:"flex lg:flex-row flex-col gap-6 lg:gap-10",children:[(0,e.jsx)("section",{className:"flex-1",children:(0,e.jsx)("div",{className:"w-full",children:(0,e.jsxs)("div",{className:"space-y-5 drop-shadow-sm p-4 md:p-5 border border-[#
1E2E8F0] rounded-xl min-h-[250px]",children:[(0,e.jsx)("div",{className:"flex justify-between",children:(0,e.jsx)("div",{children:"Repayment Progress via CHIP"})}),(0,e.jsx)("div",{className:"flex justify-between",children:(0,e.jsxs)("div",{className:"font-semibold",children:[(0,e.jsx)(y,{value:k,format:{style:"currency",currency:"MYR"}})," "," Paid"]})}),(0,e.jsx)(me,{value:De}),(0,e.jsx)("div",{className:"bg-[#E5F8EA] px-[6px] py-[2px] rounded-lg w-fit",children:(0,e.jsxs)("div",{className:"text-success",children:[Q?(0,e.jsx)(y,{value:Q,format:{style:"percent"}}):"0%"," "," complete"]})}),(0,e.jsxs)("ol",{className:"gap-3 md:gap-5 grid grid-cols-1 sm:grid-cols-3",children:[(0,e.jsxs)("li",{className:"space-y-1",children:[(0,e.jsx)("div",{className:"text-xs",children:"Balance"}),(0,e.jsx)("div",{className:"font-semibold xl:text-base text-xs",children:(0,e.jsx)(y,{value:U,format:{style:"currency",currency:"MYR"}})})]}),(0,e.jsxs)("li",{className:"space-y-1",children:[(0,e.jsx)("div",{className:"text-xs",children:"Last repayment amount"}),(0,e.jsx)("div",{className:"font-semibold xl:text-base text-xs",children:(0,e.jsx)(y,{value:i?.data?.last_repayment_amount??0,format:{style:"currency",currency:"MYR"}})})]}),(0,e.jsxs)("li",{className:"space-y-1",children:[(0,e.jsx)("div",{className:"text-xs",children:"Last repayment date"}),(0,e.jsx)($,{isFetched:!l,className:"w-[100px] h-5",children:(0,e.jsx)("div",{className:"font-semibold xl:text-base text-xs",children:ve(i?.data?.last_repayment_date,"DD/MM/YYYY")})})]})]})]})})}),(0,e.jsxs)("section",{className:"space-y-3 bg-gradient-to-bl from-[#C4E1F3] from-0% to-[#f8fafc] to-20% p-4 md:p-5 rounded-xl",children:[(0,e.jsx)("div",{className:"font-semibold",children:"Request advance"}),(0,e.jsx)("div",{className:"bg-white shadow-sm p-4 md:p-5 border border-[#E2E8F0] rounded-xl min-h-[102px]",children:(0,e.jsxs)("div",{className:"space-y-1 min-h-[74px]",children:[(0,e.jsx)("div",{className:"text-sm",children:"Estimated Eligible Amount"}),(0,e.jsxs)("div",{className:"flex justify-between items-end",children:[(0,e.jsx)("div",{className:"font-semibold text-lg",children:(0,e.jsx)(y,{value:n?.data?.limit_value??0,format:{style:"currency",currency:"MYR"}})}),(0,e.jsx)(Y,{})]}),(0,e.jsx)("div",{className:"pt-2 text-xs text-[#60646C]",children:"The amount displayed is not final"})]})}),(0,e.jsx)("div",{children:(0,e.jsx)(ee,{to:p?"https://app.seedflex.com/login?partner=chip":"#",target:"_blank",rel:"noopener noreferrer",children:(0,e.jsxs)(u,{disabled:!p,variant:"primary",className:"space-x-1 w-full",children:["Request for additional advance",(0,e.jsx)(A,{})]})})})]})]}),Le=()=>(0,e.jsxs)("div",{className:"space-y-5 bg-gradient-to-bl from-[#C4E1F3] from-0% to-[#f8fafc] to-20% p-4 md:p-7 rounded-xl max-w-[792px]",children:[(0,e.jsxs)("div",{className:"flex items-center gap-x-1",children:[(0,e.jsx)("div",{className:"size-6",children:(0,e.jsx)(fe,{})}),(0,e.jsx)("div",{className:"font-semibold text-[#1A5679] text-[18px] text-center leading-[14px]",children:"CHIP Advance"})]}),(0,e.jsxs)("div",{className:"flex lg:flex-row flex-col gap-6 lg:gap-[40px] w-full",children:[(0,e.jsxs)("section",{className:"space-y-1 w-full lg:max-w-[346px]",children:[p?(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2 pb-3 font-semibold text-base leading-6 sm:text-lg sm:leading-7 md:text-xl md:leading-8 text-center sm:text-left",children:[(0,e.jsxs)("span",{className:"inline-flex items-center gap-x-1",children:[(0,e.jsx)(se,{className:"w-5 h-5 sm:w-6 sm:h-6"}),"Congratulation! Your company is"]}),(0,e.jsxs)("span",{className:"whitespace-nowrap",children:[(0,e.jsx)("span",{className:"text-[#008047]",children:"eligible"}),(0,e.jsx)("span",{children:" for interest-free flexible"})]}),(0,e.jsx)("span",{className:"block md:w-full",children:"financing!"})]}):(0,e.jsx)("div",{className:"text-[#1C2024] font-inter text-xl font-semibold leading-[30px] pb-3",children:"Apply to unlock your credit limit"}),(0,e.jsx)("div",{className:"font-inter font-medium text-sm leading-5",children:"Why choose CHIP Advance?"}),(0,e.jsxs)("ol",{className:"space-y-2 pt-1",children:[(0,e.jsxs)("li",{className:"flex items-center gap-2",children:[(0,e.jsx)(w,{}),"No interest, no collaterals, no late payment fees"]}),(0,e.jsxs)("li",{className:"flex items-center gap-2",children:[(0,e.jsx)(w,{}),"Funds disbursed within 48 hours after approval"]}),(0,e.jsxs)("li",{className:"flex items-center gap-2",children:[(0,e.jsx)(w,{}),"Shariah financing up to RM 1,000,000 available"]}),(0,e.jsxs)("li",{className:"flex gap-1",children:[(0,e.jsx)(w,{size:20}),(0,e.jsx)("div",{className:"flex",children:(0,e.jsxs)("div",{children:["Automatic repayments are deducted from your ",(0,e.jsx)("span",{className:"font-semibold",children:"daily"})," settlements"]})})]}),(0,e.jsxs)("li",{className:"flex gap-1",children:[(0,e.jsx)(w,{size:25}),(0,e.jsx)("div",{className:"flex",children:(0,e.jsx)("div",{children:"Subjected to 6% + 0.5% platform fee + 0.5% stamp duty + RM24 processing fee"})})]})]}),(0,e.jsxs)("div",{className:"flex sm:flex-row flex-col gap-3 pt-5",children:[(0,e.jsxs)($,{isFetched:!g,className:"w-[94px] h-10",children:[(0,e.jsx)(Fe,{open:v,onOpenChange:D,onCloseChange:Se}),(0,e.jsx)(_e,{open:Be,onOpenChange:X,onCloseChange:Me}),$e()]}),(0,e.jsx)(u,{variant:"transparent",className:"drop-shadow-sm px-3 py-2 border rounded-lg w-full sm:w-auto h-10 text-[#3A6DE4]",onClick:()=>window.open("https://notes.chip-in.asia/share/a55yqqiyxc/p/chip-advance-OHc5Xs8uci","_blank"),children:"Learn more"})]}),!!_&&c?.data?.processed==!0&&(0,e.jsx)("div",{className:"pt-1 text-dim text-sm",children:"Request advance in your Seedflex Portal."}),p&&!_&&(0,e.jsx)("div",{className:"pt-1 text-dim text-sm text-nowrap",children:"Fill the consent form and out partner Seedflex will be contacting you."})]}),(0,e.jsxs)("section",{className:"space-y-3 w-full lg:w-[346px] min-h-[258px]",children:[(0,e.jsx)("div",{className:"font-semibold",children:p?"CHIP Advance Offer":"Your eligibility"}),p?(0,e.jsxs)("div",{className:"space-y-2 bg-white shadow-sm p-4 md:p-5 border border-[#
1E2E8F0] rounded-xl min-h-[102px] w-full",children:[(0,e.jsxs)("div",{className:"space-y-1 min-h-[74px]",children:[(0,e.jsx)("div",{className:"text-sm",children:"Estimated Eligible Amount"}),(0,e.jsxs)("div",{className:"flex justify-between items-end",children:[(0,e.jsx)("div",{className:"font-semibold text-lg",children:(0,e.jsx)(y,{value:n?.data?.limit_value??0,format:{style:"currency",currency:"MYR"}})}),(0,e.jsx)(Y,{})]})]}),(0,e.jsx)("div",{className:"text-xs text-[#60646C]",children:"The amount displayed is not final"})]}):(0,e.jsx)("div",{className:"justify-center flex items-center space-y-3 bg-white shadow-sm p-4 md:p-5 border border-[#E2E8F0] rounded-xl min-h-[102px] text-zinc-700 font-inter text-base font-medium leading-6 self-stretch",children:"Apply Interest-free Shariah Financing to grow your business."}),!o&&(0,e.jsx)(ae,{className:"w-full max-w-[346px] h-5"}),o&&p&&(0,e.jsx)("div",{className:"text-sm",children:`Updated on ${be(new Date(n?.data?.limit_calculated_at??new Date))}`})]})]})]});return(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsx)(pe,{title:"Overview"}),(0,e.jsxs)("h1",{className:"font-semibold text-xl",children:["Welcome back, ",s?.name?.split(" ")[0]]}),(0,e.jsx)($,{isFetched:Pe,children:Ee&&_&&c?.data?.processed?qe():Le()})]})}var Ue=Re;export{Ue as default,Ye as handle,Ke as meta};
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.