How to Calculate CRC-16 (XModem)?

thanks @Steve-Mcl for your help !
in fact, the CRC calculator gives B7A9 in hexadecimal. See below.
How to insert this QPIGS string in the inject node to make the calculation correct ?
like @eddee54455 , my javascript skills are nearly zero. So I defer to people who do.

image