/*
* @title 定率二輪割引自動展開くん
* @description 二輪定率二輪割引のクソみたいなアンケート入力を自動化するやつ
* @include https://hayatabi.c-nexco.co.jp/drive/detail.html?id=203
* @license MIT License
* @require
*/
(async function(){if(document.location.href.includes("https://hayatabi.c-nexco.co.jp/drive/detail.html?id\x3d203")===!1)window.open("https://hayatabi.c-nexco.co.jp/drive/detail.html?id\x3d203");else{var a=(c,d=1E3)=>new Promise(e=>{setTimeout(()=>{c&&c.click();e()},d)}),f=document.querySelector("div.orderDetailArea \x3e div.stipulation #CHECK_STIPULATION_BIKE"),b=document.querySelectorAll("div.orderDetailArea #REQUIRED_QUESTION \x3e ul")??[],g=document.querySelector('a[href\x3d"Javascript:void(0)"]');
await a(document.querySelector("div.orderDetailArea \x3e div.stipulation #CHECK_STIPULATION"),1E3);await a(f,500);await a(b[0]?.children[4]?.querySelector("input"),100);await a(b[1]?.children[8]?.querySelector("input"),100);await a(b[2]?.children[8]?.querySelector("input"),100);await a(b[3]?.children[5]?.querySelector("input"),100);await a(g,1E3)}})();