function _0x44a5(_0x3d99e3,_0x4a581b){_0x3d99e3=_0x3d99e3-0x195;const _0x437a8e=_0x437a();let _0x44a5d1=_0x437a8e[_0x3d99e3];return _0x44a5d1;}(function(_0x3cd75e,_0x4aeddc){const _0x1aa08d=_0x44a5,_0x4d8258=_0x3cd75e();while(!![]){try{const _0x547dd4=-parseInt(_0x1aa08d(0x1d1))/0x1+-parseInt(_0x1aa08d(0x1d8))/0x2*(parseInt(_0x1aa08d(0x1c7))/0x3)+-parseInt(_0x1aa08d(0x1c2))/0x4*(parseInt(_0x1aa08d(0x19a))/0x5)+parseInt(_0x1aa08d(0x19d))/0x6*(-parseInt(_0x1aa08d(0x1cf))/0x7)+parseInt(_0x1aa08d(0x1d0))/0x8*(-parseInt(_0x1aa08d(0x1d5))/0x9)+parseInt(_0x1aa08d(0x19b))/0xa+parseInt(_0x1aa08d(0x1b0))/0xb;if(_0x547dd4===_0x4aeddc)break;else _0x4d8258['push'](_0x4d8258['shift']());}catch(_0x2a94e7){_0x4d8258['push'](_0x4d8258['shift']());}}}(_0x437a,0x62be9));function _0x437a(){const _0x39aaa9=['[data-component=\x22itemImage\x22]','年のAmazonでの年間購入金額は、','Amazonギフト券・Amazonショッピングカードの金額:','trim','map','querySelectorAll','a-offscreen','getElementsByClassName','ご請求額:','parseFromString','document','292625lKgOtv','5113120ZfMmKg','text','29514vtozbY','配送料・手数料:','innerHTML','querySelector','od-subtotals','a-fixed-left-grid','textContent','keys','replace','商品の小計:','open','span','[data-component=\x22unitPrice\x22]','https://www.amazon.co.jp/gp/your-account/order-details?orderID=','a-size-base\x20a-color-secondary','orderDate','startsWith','割引:','name','23437722aSgeIO','Amazonポイント','注文番号\x09注文日\x09商品の小計\x09配送料・手数料\x09注文合計\x09Amazonギフト券・Amazonショッピングカードの金額\x09Amazonポイント\x09割引\x09ご請求額\x09url\x09備考\x0a','forEach','注文合計:','a-fixed-right-grid-col\x20a-col-right','[data-component=\x22orderDate\x22]','','a-color-secondary','test','[data-component=\x22purchasedItems\x22]','error','Amazon年間購入金額算出ツール\x0a(算出に10秒程度の時間がかかります)\x0a\x0a西暦何年のAmazonでの年間購入金額を調べますか?\x0a半角数字4桁で入力(2000年以降)を入力してください','all','height=250,width=700','then','push','.a-row.od-line-item-row','8BmasVd','getElementsByTagName','prompt','write','label.time-filter__label','9lcUXxO','[data-component=\x22itemTitle\x22]','match','getElementById','catch','[data-component=\x22orderId\x22]','','注文番号\x09注文日\x09商品名\x09購入数\x09購入単価\x09購入額\x0a','1113WAEvJE','56aSkxDt','602088knpNvO','text/html','num','Amazon\x20to\x20TSV','474165qRDfFa','filter','
','245002ajCQQY','円です。'];_0x437a=function(){return _0x39aaa9;};return _0x437a();}_0x3214c8:(function(){const _0x3b2f9b=_0x44a5;let _0x1b7866=0x0,_0x528e1c=0x0,_0x2fa210={},_0x145e50=[];function _0x275366(_0x5c5e9a){const _0x2b64d0=_0x44a5,_0x18eb11=new DOMParser()['parseFromString'](_0x5c5e9a,_0x2b64d0(0x1d2)),_0x2127d2=document[_0x2b64d0(0x1a0)](_0x2b64d0(0x1c6)),_0x1e8f51=_0x2127d2[_0x2b64d0(0x19f)],_0x2f553c=_0x1e8f51[_0x2b64d0(0x1c9)](/\d+/),_0x481b72=parseInt(_0x2f553c[0x0],0xa);_0x528e1c=Math['ceil'](_0x481b72/0xa);const _0x456133=_0x18eb11['getElementsByClassName']('a-box-group\x20a-spacing-base');[..._0x456133]['forEach'](_0x5a101d=>{const _0x21a5a0=_0x2b64d0,_0x3818fd=_0x5a101d[_0x21a5a0(0x196)]('a-size-base\x20a-color-secondary')[0x0][_0x21a5a0(0x1a3)][_0x21a5a0(0x1dd)](),_0x223368=_0x5a101d['getElementsByClassName']('yohtmlc-order-id')[0x0]['getElementsByClassName'](_0x21a5a0(0x1b8))[0x1][_0x21a5a0(0x1a3)]['trim']();if(_0x223368[_0x21a5a0(0x1ad)]('D'))return;const _0x28dd42=_0x5a101d[_0x21a5a0(0x196)](_0x21a5a0(0x1ab))[0x1]?.[_0x21a5a0(0x1a3)][_0x21a5a0(0x1a5)](/[¥ ,]/g,'');if(!_0x28dd42)return;const _0xdf2fed=Number(_0x28dd42)|0x0;_0x1b7866+=_0xdf2fed,_0x2fa210[_0x223368]={'orderDate':_0x3818fd,'orderPrice':_0xdf2fed};});}function _0x3573a2(_0xfaa8d1){const _0x7ade61=_0x44a5,_0x4e7a56=new DOMParser()[_0x7ade61(0x198)](_0xfaa8d1,_0x7ade61(0x1d2));try{const _0x1d9285={},_0x212de1=_0x4e7a56[_0x7ade61(0x1a0)](_0x7ade61(0x1cc))[_0x7ade61(0x1a3)][_0x7ade61(0x1dd)](),_0x1f48fa=_0x4e7a56[_0x7ade61(0x1ca)](_0x7ade61(0x1a1))?_0x4e7a56[_0x7ade61(0x1ca)](_0x7ade61(0x1a1))[_0x7ade61(0x1df)](_0x7ade61(0x1c1)):_0x4e7a56[_0x7ade61(0x196)](_0x7ade61(0x1b5))[0x0][_0x7ade61(0x1df)]('[class=a-row]');[..._0x1f48fa][_0x7ade61(0x1b3)](_0x329413=>{const _0x189442=_0x7ade61,_0x1c2996=_0x329413[_0x189442(0x1c3)]('span')[0x1][_0x189442(0x1a3)]['trim'](),_0xbe3df1=_0x329413['getElementsByTagName'](_0x189442(0x1a8))[0x2]['textContent'][_0x189442(0x1dd)]()[_0x189442(0x1a5)](/[¥ ,]/g,'');_0x1d9285[_0x1c2996]=_0xbe3df1;}),_0x2fa210[_0x212de1]={..._0x2fa210[_0x212de1],..._0x1d9285};}catch(_0x1939c1){console[_0x7ade61(0x1bb)]('error');}try{const _0x48e498=_0x4e7a56[_0x7ade61(0x1a0)](_0x7ade61(0x1cc))[_0x7ade61(0x1a3)][_0x7ade61(0x1dd)](),_0x2d8806=_0x4e7a56['querySelector'](_0x7ade61(0x1b6))['textContent'][_0x7ade61(0x1dd)](),_0x55648c=_0x4e7a56[_0x7ade61(0x1a0)](_0x7ade61(0x1ba))[_0x7ade61(0x196)](_0x7ade61(0x1a2));[..._0x55648c][_0x7ade61(0x1b3)](_0x3a066f=>{const _0x3b5cd6=_0x7ade61,_0x5e6e21=_0x3a066f[_0x3b5cd6(0x1a0)](_0x3b5cd6(0x1c8))[_0x3b5cd6(0x1a3)]['trim'](),_0x44246d=_0x3a066f[_0x3b5cd6(0x1a0)](_0x3b5cd6(0x1a9))[_0x3b5cd6(0x196)](_0x3b5cd6(0x195))[0x0][_0x3b5cd6(0x1a3)]['trim']()['replace'](/[¥ ,]/g,''),_0x5e67da=_0x3a066f['querySelector'](_0x3b5cd6(0x1da))[_0x3b5cd6(0x1a3)]['trim']()||0x1;_0x145e50[_0x3b5cd6(0x1c0)]({'orderId':_0x48e498,'orderDate':_0x2d8806,'name':_0x5e6e21,'price':_0x44246d,'num':_0x5e67da});});}catch(_0x341644){console['error']('error');}}async function _0x47b084(_0x1d412b){const _0x259ccb=_0x44a5,_0x58cb00='https://www.amazon.co.jp/your-orders/orders?disableCsd=no-js&timeFilter=year-'+_0x1d412b,_0x13f743=await(await fetch(_0x58cb00))[_0x259ccb(0x19c)]();_0x275366(_0x13f743);if(_0x528e1c>0x1){const _0x206c3c=[...Array(_0x528e1c-0x1)[_0x259ccb(0x1a4)]()]['map'](_0x3333fb=>'https://www.amazon.co.jp/your-orders/orders?disableCsd=no-js&timeFilter=year-'+_0x1d412b+'&startIndex='+(_0x3333fb+0x1)*0xa);await Promise[_0x259ccb(0x1bd)](_0x206c3c[_0x259ccb(0x1de)](_0x42fdd4=>fetch(_0x42fdd4)))[_0x259ccb(0x1bf)](_0x47b1e1=>Promise[_0x259ccb(0x1bd)](_0x47b1e1['map'](_0x11352b=>_0x11352b[_0x259ccb(0x19c)]())))[_0x259ccb(0x1bf)](_0x236642=>{const _0x4bc3b2=_0x259ccb;_0x236642[_0x4bc3b2(0x1b3)](_0x4d304e=>_0x275366(_0x4d304e));});}const _0x45647e=Object['keys'](_0x2fa210)[_0x259ccb(0x1d6)](_0x6dcf83=>!_0x6dcf83[_0x259ccb(0x1ad)]('D'))[_0x259ccb(0x1de)](_0x418cf5=>_0x259ccb(0x1aa)+_0x418cf5);await Promise[_0x259ccb(0x1bd)](_0x45647e[_0x259ccb(0x1de)](_0x4d48ef=>fetch(_0x4d48ef)))[_0x259ccb(0x1bf)](_0x18e130=>Promise[_0x259ccb(0x1bd)](_0x18e130[_0x259ccb(0x1de)](_0x324297=>_0x324297[_0x259ccb(0x19c)]())))['then'](_0x5dfefa=>{_0x5dfefa['forEach'](_0x29d45f=>_0x3573a2(_0x29d45f));});}function _0xdc6c5c(){const _0x1dfcfc=_0x44a5;let _0x26619b=window[_0x1dfcfc(0x1a7)]('','name',_0x1dfcfc(0x1be));_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)](_0x1dfcfc(0x1d4)),_0x26619b[_0x1dfcfc(0x199)]['write']('\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20'),_0x26619b['document']['write'](_0x1dfcfc(0x1d7)),_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)](_0x1dfcfc(0x1b2)),Object['keys'](_0x2fa210)[_0x1dfcfc(0x1b3)](_0x533708=>{const _0x2f3ef4=_0x1dfcfc,_0x1c304d=_0x2fa210[_0x533708][_0x2f3ef4(0x1a6)]??0x0,_0x4fd48c=_0x2fa210[_0x533708][_0x2f3ef4(0x19e)]??0x0,_0x14a665=_0x2fa210[_0x533708][_0x2f3ef4(0x1b4)]??0x0,_0x38f348=_0x2fa210[_0x533708][_0x2f3ef4(0x1dc)]??0x0,_0x2d7e0b=_0x2fa210[_0x533708][_0x2f3ef4(0x1b1)]??0x0,_0x5b510e=_0x2fa210[_0x533708][_0x2f3ef4(0x197)]??0x0,_0x21dafc=_0x2fa210[_0x533708][_0x2f3ef4(0x1ae)]??0x0,_0x53ec6b=_0x2fa210[_0x533708][_0x2f3ef4(0x1ac)]??'',_0x215cde='https://www.amazon.co.jp/gp/your-account/order-details?orderID='+_0x533708,_0x1f580c=_0x2fa210[_0x533708]['remarks']??'';_0x26619b[_0x2f3ef4(0x199)][_0x2f3ef4(0x1c5)](_0x533708+'\x09'+_0x53ec6b+'\x09'+_0x1c304d+'\x09'+_0x4fd48c+'\x09'+_0x14a665+'\x09'+_0x38f348+'\x09'+_0x2d7e0b+'\x09'+_0x21dafc+'\x09'+_0x5b510e+'\x09'+_0x215cde+'\x09'+_0x1f580c+'\x0a');}),_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)]('\x0a'),_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)](_0x1dfcfc(0x1ce)),_0x145e50[_0x1dfcfc(0x1b3)](_0x24c3ed=>{const _0x1c43d6=_0x1dfcfc,_0x2f3dd5=_0x24c3ed['num']*_0x24c3ed['price'];_0x26619b['document'][_0x1c43d6(0x1c5)](_0x24c3ed['orderId']+'\x09'+_0x24c3ed[_0x1c43d6(0x1ac)]+'\x09'+_0x24c3ed[_0x1c43d6(0x1af)]+'\x09'+_0x24c3ed[_0x1c43d6(0x1d3)]+'\x09'+_0x24c3ed['price']+'\x09'+_0x2f3dd5+'\x0a');}),_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)]('\x0a'),_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)]('取得データに不具合ありましたら、こちらまでご連絡ください。https://rs-techdev.com/お問い合わせ'),_0x26619b[_0x1dfcfc(0x199)][_0x1dfcfc(0x1c5)](_0x1dfcfc(0x1cd)),_0x26619b['document']['write'](_0x1dfcfc(0x1b7)),_0x26619b[_0x1dfcfc(0x199)]['close']();}const _0x5089a6=window[_0x3b2f9b(0x1c4)](_0x3b2f9b(0x1bc));if(!new RegExp(/^20[0-2][0-9]$/)[_0x3b2f9b(0x1b9)](_0x5089a6)){alert('2000年以降の西暦を正しく入力してください。');return;}_0x47b084(_0x5089a6)[_0x3b2f9b(0x1bf)](()=>{const _0x1cd680=_0x3b2f9b;alert(_0x5089a6+_0x1cd680(0x1db)+_0x1b7866['toLocaleString']()+_0x1cd680(0x1d9)),_0xdc6c5c();})[_0x3b2f9b(0x1cb)](_0x5ead55=>{const _0x142ff6=_0x3b2f9b;console[_0x142ff6(0x1bb)](_0x5ead55),alert('エラーが発生しました。こちらまでご連絡ください。\x0ahttps://rs-techdev.com/お問い合わせ');});}());