var _0x2cb1da=0x12c;document['addEventListener']('DOMContentLoaded',async function(){await displayEbaySearchItems(),await displayTfIdf();});var _0x2baefa={'tf':0x1,'idf':0x1,'tfIdf':0x1};document['addEventListener']('DOMContentLoaded',function(){document['getElementById']('tfHeader')['addEventListener']('click',async()=>{await displayTfIdf('tf',_0x2baefa['tf']),_0x2baefa['tf']*=-0x1;}),document['getElementById']('idfHeader')['addEventListener']('click',async()=>{await displayTfIdf('idf',_0x2baefa['idf']),_0x2baefa['idf']*=-0x1;}),document['getElementById']('tfIdfHeader')['addEventListener']('click',async()=>{await displayTfIdf('tfIdf',_0x2baefa['tfIdf']),_0x2baefa['tfIdf']*=-0x1;});}),document['getElementById']('evaluate_item_numbers')['addEventListener']('click',async function(_0xa3a0c9){_0xa3a0c9['preventDefault']();const _0x294f75=[document['getElementById']('item1')['value'],document['getElementById']('item2')['value'],document['getElementById']('item3')['value']],_0xb16f73=await chrome['storage']['local']['get'](['ebaySearchItems']);_0x294f75['forEach'](_0x438484=>{const _0x1e7c36=_0xb16f73['ebaySearchItems']['find'](_0x3694e4=>_0x3694e4['itemNumber']['trim']()===_0x438484['trim']());_0x1e7c36&&evaluateTitle(_0x1e7c36['title'],_0x1e7c36['listRanking'],_0x438484);});}),document['getElementById']('evaluate_title')['addEventListener']('click',async function(_0x154af8){_0x154af8['preventDefault'](),await evaluateTitle(document['getElementById']('title')['value']);});



