{"id":187,"date":"2026-10-06T16:04:14","date_gmt":"2026-10-06T07:04:14","guid":{"rendered":"https:\/\/motoki-design.co.jp\/tools\/renewal-check\/"},"modified":"2026-10-14T15:34:29","modified_gmt":"2026-10-14T06:34:29","slug":"renewal-check","status":"publish","type":"page","link":"https:\/\/motoki-design.co.jp\/tools\/renewal-check\/","title":{"rendered":"\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u898b\u7a4d\u3082\u308a\u306e\u4e0b\u8abf\u3079\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<div id=\"wt-renewal\" class=\"wt-tool\">\n\t<style>\n\t\t#wt-renewal .wt-sheet{border:1px solid var(--wt-line);border-radius:12px;overflow:hidden;background:#fff;margin-bottom:1em}\n\t\t#wt-renewal .wt-sheet h4{margin:0;padding:.7em 1.1em;background:var(--wt-soft);font-size:.92em;font-weight:800;border-bottom:1px solid var(--wt-line);display:flex;align-items:center;gap:.5em}\n\t\t#wt-renewal .wt-sheet h4 .wt-ico{font-size:1.15em}\n\t\t#wt-renewal .wt-sheet dl{margin:0;display:grid;grid-template-columns:12em 1fr}\n\t\t#wt-renewal .wt-sheet dt{padding:.55em 1.1em;font-size:.84em;color:var(--wt-muted);font-weight:700;border-bottom:1px solid #f0f3f7}\n\t\t#wt-renewal .wt-sheet dd{margin:0;padding:.55em 1.1em;font-size:.9em;border-bottom:1px solid #f0f3f7;word-break:break-word}\n\t\t#wt-renewal .wt-sheet dd small{display:block;color:var(--wt-muted);font-size:.86em;margin-top:.2em}\n\t\t#wt-renewal .wt-sheet dl > :nth-last-child(1),#wt-renewal .wt-sheet dl > :nth-last-child(2){border-bottom:0}\n\t\t#wt-renewal .wt-sheet dd.is-empty{color:var(--wt-muted)}\n\t\t#wt-renewal .wt-qa{margin:0;padding:0 0 0 1.6em}\n\t\t#wt-renewal .wt-qa li{margin:0 0 .7em}\n\t\t#wt-renewal .wt-qa li span{display:block;color:var(--wt-muted);font-size:.86em}\n\t\t@media (max-width:600px){\n\t\t\t#wt-renewal .wt-sheet dl{grid-template-columns:1fr}\n\t\t\t#wt-renewal .wt-sheet dt{padding-bottom:0;border-bottom:0}\n\t\t\t#wt-renewal .wt-sheet dd{padding-top:.15em}\n\t\t}\n\t<\/style>\n\n\t<p class=\"wt-lead\">URL\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u306e\u898b\u7a4d\u3082\u308a\u306b\u5fc5\u8981\u306a\u8981\u7d20\u3092\u6d17\u3044\u51fa\u3057\u307e\u3059\u3002<strong>\u30da\u30fc\u30b8\u69cb\u6210\uff08\u30da\u30fc\u30b8\u6570\u30fbURL\u306e\u578b\uff09\u30fb\u6a5f\u80fd\uff08\u30d5\u30a9\u30fc\u30e0\u30fb\u591a\u8a00\u8a9e\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\uff09\u30fb\u79fb\u884c\u3059\u308b\u30c7\u30fc\u30bf\uff08\u8a18\u4e8b\u30fb\u30e1\u30c7\u30a3\u30a2\uff09\u30fb\u30b5\u30fc\u30d0\u30fc\u3068\u30c9\u30e1\u30a4\u30f3\u306e\u72b6\u6cc1<\/strong>\u3092\u307e\u3068\u3081\u3001<strong>\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u3079\u304d\u3053\u3068<\/strong>\u306e\u4e00\u89a7\u3082\u4f5c\u308a\u307e\u3059\u3002\u7d50\u679c\u306f<strong>Excel\u3067\u305d\u306e\u307e\u307e\u4fdd\u5b58<\/strong>\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\t<form class=\"wt-form\">\n\t\t<div class=\"wt-row\">\n\t\t\t<input class=\"wt-input\" type=\"text\" placeholder=\"example.co.jp \u307e\u305f\u306f https:\/\/example.co.jp\/\" autocomplete=\"off\" autocapitalize=\"off\" spellcheck=\"false\" inputmode=\"url\" aria-label=\"\u8abf\u3079\u305f\u3044URL\">\n\t\t\t<button class=\"wt-btn\" type=\"submit\">\u6d17\u3044\u51fa\u3059<\/button>\n\t\t<\/div>\n\t\t<p class=\"wt-samples\">\u304a\u8a66\u3057:\n\t\t\t<button type=\"button\" data-sample=\"wp-cocoon.com\">wp-cocoon.com<\/button>\u30fb\n\t\t\t<button type=\"button\" data-sample=\"motoki-design.co.jp\">motoki-design.co.jp<\/button>\n\t\t<\/p>\n\t\t<p class=\"wt-privacy-note\">\u4f1a\u54e1\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3\u4e0d\u8981\uff0f<strong>\u691c\u7d22\u5c65\u6b74\u3068\u3057\u3066\u84c4\u7a4d\u30fb\u516c\u958b\u3057\u307e\u305b\u3093\uff08\u4e00\u6642\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u4e0b\u8a18\u53c2\u7167\uff09<\/strong><\/p>\n\t<\/form>\n\n\t<div class=\"wt-status\" hidden><\/div>\n\t<div class=\"wt-result\" hidden><\/div>\n\n\t<div class=\"wt-disclaimer\">\n\t\t<strong>\u8abf\u3079\u65b9\u306b\u3064\u3044\u3066<\/strong><br>\n\t\t<a href=\"\/tools\/site-pages\/\">\u30b5\u30a4\u30c8\u5185\u30da\u30fc\u30b8\u4e00\u62ec\u30c1\u30a7\u30c3\u30af<\/a>\u30fb<a href=\"\/tools\/wordpress-check\/\">WordPress\u5224\u5b9a<\/a>\u30fb<a href=\"\/tools\/nameserver-lookup\/\">\u30b5\u30fc\u30d0\u30fc\u5224\u5b9a<\/a>\u30fb<a href=\"\/tools\/whois-lookup\/\">WHOIS\u691c\u7d22<\/a>\u30fb<a href=\"\/tools\/ssl-check\/\">SSL\u8a3c\u660e\u66f8\u30c1\u30a7\u30c3\u30af<\/a>\u30fb<a href=\"\/tools\/mail-auth-check\/\">\u30e1\u30fc\u30eb\u8a8d\u8a3c\u30c1\u30a7\u30c3\u30af<\/a>\u3092\u9806\u306b\u5b9f\u884c\u3057\u3066\u3001\u898b\u7a4d\u3082\u308a\u306b\u95a2\u308f\u308b\u9805\u76ee\u3060\u3051\u3092\u629c\u304d\u51fa\u3057\u3066\u3044\u307e\u3059\u3002\u5168\u4f53\u30671\u5206\u307b\u3069\u304b\u304b\u308a\u307e\u3059\u3002\u7d9a\u3051\u3066\u300c\u30da\u30fc\u30b8\u3054\u3068\u306e\u78ba\u8a8d\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5168\u30da\u30fc\u30b8\u306e title \u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u72b6\u614b\u3082\u8abf\u3079\u307e\u3059\u3002<strong>\u5916\u90e8\u304b\u3089\u898b\u3048\u308b\u516c\u958b\u60c5\u5831\u3060\u3051<\/strong>\u3092\u5bfe\u8c61\u306b\u3057\u3066\u304a\u308a\u3001\u7ba1\u7406\u753b\u9762\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u884c\u3044\u307e\u305b\u3093\u3002<strong>\u4ef6\u6570\u3084\u6a5f\u80fd\u306b\u306f\u63a8\u5b9a\u3092\u542b\u307f\u307e\u3059\u3002<\/strong>\u6b63\u5f0f\u306a\u898b\u7a4d\u3082\u308a\u306e\u524d\u306b\u3001\u5148\u65b9\u3078\u306e\u78ba\u8a8d\u3068\u3042\u308f\u305b\u3066\u304a\u4f7f\u3044\u304f\u3060\u3055\u3044\u3002\u91d1\u984d\u3084\u5de5\u6570\u306f\u51fa\u3057\u307e\u305b\u3093\u3002\n\t<\/div>\n\n\t<div class=\"wt-faq\">\n\t\t<details>\n\t\t\t<summary>\u3069\u3093\u306a\u5834\u9762\u3067\u4f7f\u3046\u30c4\u30fc\u30eb\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3084\u6539\u4fee\u306e\u76f8\u8ac7\u3092\u53d7\u3051\u305f\u3068\u304d\u3001<strong>\u898b\u7a4d\u3082\u308a\u3092\u51fa\u3059\u524d\u306e\u4e0b\u8abf\u3079<\/strong>\u306b\u4f7f\u3044\u307e\u3059\u3002\u30da\u30fc\u30b8\u6570\u3084\u8a18\u4e8b\u6570\u3092\u6570\u3048\u3001\u30d5\u30a9\u30fc\u30e0\u3084\u591a\u8a00\u8a9e\u306a\u3069\u306e\u6a5f\u80fd\u3092\u78ba\u304b\u3081\u3001\u30b5\u30fc\u30d0\u30fc\u3084\u30c9\u30e1\u30a4\u30f3\u306e\u7ba1\u7406\u72b6\u6cc1\u3092\u8abf\u3079\u308b\u4f5c\u696d\u30921\u56de\u3067\u6e08\u307e\u305b\u307e\u3059\u3002\u300c\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u300d\u306f\u3001\u6253\u3061\u5408\u308f\u305b\u3084\u30e1\u30fc\u30eb\u3067\u305d\u306e\u307e\u307e\u8cea\u554f\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u898b\u7a4d\u3082\u308a\u3067\u7279\u306b\u898b\u843d\u3068\u3057\u3084\u3059\u3044\u306e\u306f\u3069\u3053\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u591a\u3044\u306e\u306f<strong>REST API\u3084\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u51fa\u3066\u3053\u306a\u3044\u6295\u7a3f\u30bf\u30a4\u30d7<\/strong>\uff08\u4ef6\u6570\u3092\u6570\u3048\u6f0f\u3089\u3057\u3084\u3059\u304f\u3001\u79fb\u884c\u306b\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u306e\u66f8\u304d\u51fa\u3057\u304c\u8981\u308a\u307e\u3059\uff09\u3001<strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u306b\u5225\u306eWordPress\u304c\u5165\u3063\u3066\u3044\u308b\u69cb\u6210<\/strong>\u3001<strong>\u30d5\u30a9\u30fc\u30e0\u306e\u6570<\/strong>\u3001<strong>\u540c\u3058\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u3044\u3066\u3044\u308b\u30e1\u30fc\u30eb<\/strong>\uff08\u30b5\u30fc\u30d0\u30fc\u3092\u79fb\u308b\u3068\u30e1\u30fc\u30eb\u3082\u79fb\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff09\u3067\u3059\u3002\u3044\u305a\u308c\u3082\u7d50\u679c\u306e\u300c\u6ce8\u610f\u70b9\u300d\u3068\u300c\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u300d\u306b\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>Excel\u306b\u306f\u3069\u3093\u306a\u30b7\u30fc\u30c8\u304c\u5165\u308a\u307e\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u300c\u898b\u7a4d\u30b5\u30de\u30ea\u30fc\u300d\u300c\u898b\u7a4d\u660e\u7d30\u300d\u300c\u30b5\u30a4\u30c8\u60c5\u5831\u300d\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u300cURL\u306e\u578b\u300d\u300c\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u300d\u300c\u6ce8\u610f\u70b9\u300d\u306e7\u30b7\u30fc\u30c8\u3067\u3059\u3002<strong>\u898b\u7a4d\u660e\u7d30\u306b\u306f\u4f5c\u696d\u306e\u9805\u76ee\u3068\u6570\u91cf\uff08\u8abf\u3079\u305f\u4ef6\u6570\uff09\u304c\u5165\u3063\u3066\u3044\u3066\u3001\u9ec4\u8272\u306e\u6b04\u306b\u4eba\u65e5\u3068\u5358\u4fa1\u3092\u5165\u308c\u308b\u3068\u91d1\u984d\u3068\u5408\u8a08\u304c\u8a08\u7b97\u3055\u308c\u307e\u3059<\/strong>\u3002\u91d1\u984d\u305d\u306e\u3082\u306e\u306f\u30c4\u30fc\u30eb\u3067\u306f\u51fa\u3057\u307e\u305b\u3093\u3002\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u306b\u306f\u5168URL\u304c\u7a2e\u5225\uff08TOP\u30fb\u56fa\u5b9a\u30da\u30fc\u30b8\u30fb\u8a18\u4e8b\u30fb\u30ab\u30c6\u30b4\u30ea\u306a\u3069\uff09\u3064\u304d\u3067\u5165\u308a\u3001\u7a2e\u5225\u3054\u3068\u306e\u4ef6\u6570\u306f\u5f0f\u3067\u6570\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u300c\u30da\u30fc\u30b8\u3054\u3068\u306e\u78ba\u8a8d\u300d\u306f\u4f55\u3092\u3057\u307e\u3059\u304b\uff1f<\/summary>\n\t\t\t<p>\u5168URL\uff08\u6700\u59271,000\u30da\u30fc\u30b8\uff09\u30921\u30da\u30fc\u30b8\u305a\u3064\u958b\u3044\u3066\u3001\u5b9f\u969b\u306e &lt;title&gt; \u3068\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u72b6\u614b\uff08noindex\u30fbcanonical \u304c\u5225\u306eURL\u30fb\u8ee2\u9001\u30fb404 \u306a\u3069\uff09\u3092\u8abf\u3079\u307e\u3059\u3002\u76f8\u624b\u30b5\u30fc\u30d0\u30fc\u306b\u8ca0\u8377\u3092\u304b\u3051\u306a\u3044\u3088\u3046\u300125\u30da\u30fc\u30b8\u305a\u3064\u9593\u9694\u3092\u3042\u3051\u3066\u53d6\u5f97\u3059\u308b\u305f\u3081\u3001\u6570\u5206\u304b\u304b\u308a\u307e\u3059\u3002\u9014\u4e2d\u3067\u6b62\u3081\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u78ba\u8a8d\u3067\u304d\u308b\u306e\u306f\u3001\u8abf\u3079\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306eURL\u3060\u3051\u3067\u3059\u3002<\/p>\n\t\t<\/details>\n\t\t<details>\n\t\t\t<summary>\u30b5\u30a4\u30c8\u30ab\u30eb\u30c6\u3068\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/summary>\n\t\t\t<p><a href=\"\/tools\/site-profile\/\">\u30b5\u30a4\u30c8\u30ab\u30eb\u30c6<\/a>\u306f<strong>\u30b5\u30fc\u30d0\u30fc\u3084\u30c9\u30e1\u30a4\u30f3\u306a\u3069\u306e\u69cb\u6210\u3092\u8a18\u9332\u3059\u308b<\/strong>\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306f\u3001\u305d\u308c\u306b<strong>\u30da\u30fc\u30b8\u69cb\u6210\u3068\u79fb\u884c\u3059\u308b\u30c7\u30fc\u30bf\u306e\u91cf<\/strong>\u3092\u52a0\u3048\u3001\u898b\u7a4d\u3082\u308a\u306b\u95a2\u308f\u308b\u9805\u76ee\u3060\u3051\u306b\u7d5e\u3063\u3066\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n\t\t<\/details>\n\t<\/div>\n<\/div>\n\n<div class=\"wt-tool\"><div class=\"wt-policy\"><p class=\"wt-policy-title\">\ud83d\udd12 \u8abf\u67fb\u7d50\u679c\u3068\u4e00\u6642\u30c7\u30fc\u30bf\u306e\u53d6\u308a\u6271\u3044<\/p><ul><li><strong>\u8abf\u67fb\u7d50\u679c\u3092\u691c\u7d22\u5c65\u6b74\u3068\u3057\u3066\u84c4\u7a4d\u30fb\u516c\u958b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8abf\u3079\u305f\u5bfe\u8c61\u3092\u5229\u7528\u8005\u5225\u306b\u4e00\u89a7\u5316\u3057\u305f\u308a\u3001\u4ed6\u306e\u5229\u7528\u8005\u304c\u691c\u7d22\u3067\u304d\u308b\u5c65\u6b74\u3068\u3057\u3066\u516c\u958b\u3057\u305f\u308a\u3059\u308b\u6a5f\u80fd\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li><strong>\u691c\u7d22\u5c65\u6b74\u3092\u6b8b\u3057\u307e\u305b\u3093\u3002<\/strong>\u8ab0\u304c\u4f55\u3092\u8abf\u3079\u305f\u304b\u3092\u7d10\u3065\u3051\u3066\u84c4\u7a4d\u3059\u308b\u3053\u3068\u306f\u3057\u307e\u305b\u3093\u3002\u4f1a\u54e1\u767b\u9332\u30fb\u30ed\u30b0\u30a4\u30f3\u3082\u4e0d\u8981\u3067\u3059\u3002<\/li><li><strong>\u7b2c\u4e09\u8005\u306b\u63d0\u4f9b\u30fb\u8ca9\u58f2\u3057\u307e\u305b\u3093\u3002<\/strong>\u55b6\u696d\u30ea\u30b9\u30c8\u3084\u5e83\u544a\u76ee\u7684\u3067\u306e\u5229\u7528\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/li><li>\u30b5\u30fc\u30d0\u30fc\u8ca0\u8377\u3092\u6291\u3048\u308b\u305f\u3081\u3001<strong>\u5224\u5b9a\u7d50\u679c\u3092\u6709\u52b9\u671f\u9593\u6700\u59271\u6642\u9593\u306e\u4e00\u6642\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>\u3068\u3057\u3066\u4fdd\u6301\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u9023\u7d9a\u30a2\u30af\u30bb\u30b9\u306e\u5236\u9650\u306b\u306f\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092<strong>\u30cf\u30c3\u30b7\u30e5\u5316\u3057\u305f\u5024\u3068\u5b9f\u884c\u56de\u6570<\/strong>\u3092\u4f7f\u3044\u3001\u6700\u7d42\u53d7\u4ed8\u304b\u308910\u5206\u9593\u306e\u6709\u52b9\u671f\u9650\u3092\u8a2d\u3051\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5236\u9650\u7528\u30c7\u30fc\u30bf\u306b\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u4fdd\u5b58\u3057\u307e\u305b\u3093\u3002<\/li><li>\u8abf\u3079\u305f\u5bfe\u8c61\u306f\u5171\u6709\u7528\u306bURL\u306e<code>#<\/code>\u4ee5\u964d\u306b\u4ed8\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u90e8\u5206\u306f\u901a\u5e38\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u306f\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\u3002URL\u3092\u5171\u6709\u3059\u308b\u3068\u3001\u53d7\u3051\u53d6\u3063\u305f\u65b9\u306b\u306f\u8abf\u67fb\u5bfe\u8c61\u304c\u4f1d\u308f\u308a\u307e\u3059\u3002<\/li><\/ul><\/div><\/div>\n\n<script>\n(function () {\n\tvar root = document.getElementById('wt-renewal');\n\tif (!root || !window.WT) return;\n\n\tvar W = WT;\n\tvar form = root.querySelector('form');\n\tvar input = root.querySelector('.wt-input');\n\tvar submit = root.querySelector('.wt-btn');\n\tvar statusBox = root.querySelector('.wt-status');\n\tvar resultBox = root.querySelector('.wt-result');\n\tvar seq = 0;\n\tvar target = '';\n\tvar report = null;\n\n\t\/\/ \u547c\u3073\u51fa\u3059\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3002\u76f8\u624b\u30b5\u30fc\u30d0\u30fc\u306b\u8ca0\u8377\u3092\u304b\u3051\u306a\u3044\u3088\u3046\u3001\u9806\u756a\u306b\u5b9f\u884c\u3059\u308b\u3002\n\tvar STEPS = [\n\t\t{ key: 'inv', api: 'site-inventory', param: 'url', label: '\u30da\u30fc\u30b8\u69cb\u6210' },\n\t\t{ key: 'wp', api: 'wordpress', param: 'url', label: 'CMS\u30fb\u30c6\u30fc\u30de\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3' },\n\t\t{ key: 'ns', api: 'nameserver', param: 'domain', label: '\u30b5\u30fc\u30d0\u30fc\u3068DNS' },\n\t\t{ key: 'whois', api: 'whois', param: 'domain', label: '\u30c9\u30e1\u30a4\u30f3' },\n\t\t{ key: 'ssl', api: 'ssl', param: 'domain', label: 'SSL\u8a3c\u660e\u66f8' },\n\t\t{ key: 'mail', api: 'mail-auth', param: 'domain', label: '\u30e1\u30fc\u30eb' }\n\t];\n\tvar GROUPS = { page: '\u56fa\u5b9a\u30da\u30fc\u30b8', post: '\u8a18\u4e8b', hidden: '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5916', archive: '\u4e00\u89a7\u30da\u30fc\u30b8', '': '\u4e0d\u660e' };\n\n\tfunction num(n) { return (n == null ? 0 : n).toLocaleString('ja-JP'); }\n\tfunction ym(d) { return d ? d.slice(0, 7) : ''; }\n\tfunction range(a, b) { return a || b ? ym(a) + '\u301c' + ym(b) : ''; }\n\tfunction estimateText(t) {\n\t\tif (t.count_min) return '\u7d04' + num(t.count_min) + '\u301c' + num(t.total);\n\t\treturn t.pages ? '\u4e00\u89a7 ' + num(t.pages) + '\u30da\u30fc\u30b8' : '\u4ef6\u6570\u4e0d\u660e';\n\t}\n\n\tfunction setStatus(msg, isError) {\n\t\tif (!msg) { statusBox.hidden = true; statusBox.textContent = ''; return; }\n\t\tstatusBox.hidden = false;\n\t\tstatusBox.className = 'wt-status' + (isError ? ' is-error' : '');\n\t\tstatusBox.textContent = msg;\n\t}\n\n\t\/**\n\t * \u8abf\u67fb\u7d50\u679c\u304b\u3089\u3001\u898b\u7a4d\u3082\u308a\u306e\u8981\u7d20\u30fb\u6ce8\u610f\u70b9\u30fb\u78ba\u8a8d\u4e8b\u9805\u3092\u7d44\u307f\u7acb\u3066\u308b\u3002\n\t * sections: [{title, icon, rows:[[\u9805\u76ee, \u5185\u5bb9, \u88dc\u8db3]]}]\n\t *\/\n\tfunction build(d) {\n\t\tvar inv = d.inv && !d.inv.error && d.inv.stats ? d.inv : null;\n\t\tvar wp = d.wp || {}, ns = d.ns || {}, wh = d.whois || {}, ssl = d.ssl || {}, mail = d.mail || {};\n\t\tvar v = ns.verdict || {}, cert = ssl.cert || {};\n\t\tvar s = inv ? inv.stats : {}, env = inv ? inv.env : {};\n\t\tvar types = inv ? inv.types || [] : [];\n\t\tvar sections = [], issues = [], questions = [];\n\n\t\t\/\/ --- 1. \u30da\u30fc\u30b8\u69cb\u6210 ---\n\t\tvar postTypes = types.filter(function (t) { return t.group === 'post' && !t.estimated; });\n\t\tvar estTypes = types.filter(function (t) { return t.estimated; });\n\t\tvar pats = inv ? (inv.patterns || []) : [];\n\t\tvar repeat = pats.filter(function (p) { return p.count >= 2; });\n\t\tvar singles = pats.filter(function (p) { return p.count === 1; }).length;\n\t\tsections.push({ title: '\u30da\u30fc\u30b8\u69cb\u6210', icon: '\ud83d\udcc4', rows: inv ? [\n\t\t\t['URL\u306e\u7dcf\u6570', num(s.total) + ' \u4ef6', '\u4e00\u89a7\u30da\u30fc\u30b8\u30fb\u30ab\u30c6\u30b4\u30ea\u30da\u30fc\u30b8\u3082\u542b\u307f\u307e\u3059'],\n\t\t\t['\u56fa\u5b9a\u30da\u30fc\u30b8', num(s.pages) + ' \u4ef6', s.rest_pages ? '\u672c\u6587\u304c\u5165\u3063\u3066\u3044\u308b\u3082\u306e ' + num(s.text_pages) + ' \u4ef6\uff0f\u4e00\u89a7\u3084\u30d5\u30a9\u30fc\u30e0\u3092\u8868\u793a\u3059\u308b\u5668\u306e\u30da\u30fc\u30b8 ' + num(s.rest_pages - s.text_pages) + ' \u4ef6' : ''],\n\t\t\t['\u8a18\u4e8b', postTypes.map(function (t) { return t.label + '\uff1a' + num(t.total != null ? t.total : t.count) + ' \u4ef6'; })\n\t\t\t\t.concat(estTypes.map(function (t) { return t.label + '\uff1a' + estimateText(t) + ' \u4ef6\uff08\u63a8\u5b9a\uff09'; })).join('\\n'), '\u6295\u7a3f\u30fb\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306e\u7a2e\u985e\u3054\u3068'],\n\t\t\t['\u4e00\u89a7\u30da\u30fc\u30b8\uff08\u30ab\u30c6\u30b4\u30ea\u306a\u3069\uff09', num(s.archives) + ' \u4ef6', (inv.taxonomies || []).map(function (t) { return t.label + ' ' + num(t.total) + '\u7a2e\u985e'; }).join('\u3001')],\n\t\t\t['\u30da\u30fc\u30b8\u9001\u308a\uff082\u30da\u30fc\u30b8\u76ee\u4ee5\u964d\uff09', s.pagination && s.pagination.main != null ? '\u7d04 ' + num((s.pagination.main || 0) + (s.pagination.terms || 0)) + ' \u30da\u30fc\u30b8' : null,\n\t\t\t\ts.pagination && s.pagination.per_page ? '1\u30da\u30fc\u30b8 ' + s.pagination.per_page + ' \u4ef6\u3068\u3057\u3066\u8a08\u7b97\u3057\u305f\u63a8\u5b9a' : '1\u30da\u30fc\u30b8\u305a\u3064\u306f\u958b\u304b\u305a\u3001\u6700\u5f8c\u306e\u30da\u30fc\u30b8\u756a\u53f7\u304b\u3089\u8a08\u7b97'],\n\t\t\t['\u7e70\u308a\u8fd4\u3057\u306e\u3042\u308bURL\u306e\u578b', repeat.length + ' \u7a2e\u985e', repeat.slice(0, 8).map(function (p) { return p.key + '\uff08' + num(p.count) + '\uff09'; }).join('\\n')],\n\t\t\t['1\u30da\u30fc\u30b8\u3060\u3051\u306e\u578b', singles + ' \u7a2e\u985e', '\u56fa\u5b9a\u30da\u30fc\u30b8\u306a\u3069\u3001\u305d\u308c\u305e\u308c\u5225\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u306a\u308a\u3046\u308b\u30da\u30fc\u30b8'],\n\t\t\t['\u4e3b\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea', (inv.dirs || []).slice(0, 8).map(function (p) { return p.key + '\uff08' + num(p.count) + '\uff09'; }).join('\\n'), '']\n\t\t] : [['\u30da\u30fc\u30b8\u69cb\u6210', null, d.inv && d.inv.error ? d.inv.error : '']] });\n\n\t\t\/\/ --- 2. \u6a5f\u80fd ---\n\t\tvar plugins = wp.plugins || [];\n\t\tvar byCat = {};\n\t\tplugins.forEach(function (p) { (byCat[p.category] = byCat[p.category] || []).push(p.name); });\n\t\tvar forms = inv ? inv.forms || [] : [];\n\t\tvar formKinds = {};\n\t\tforms.forEach(function (f) { formKinds[f.kind] = (formKinds[f.kind] || 0) + 1; });\n\t\tvar multi = (env.translator || []).concat(env.lang_dirs || []);\n\t\tvar hasMulti = multi.length || (env.langs || []).length > 1;\n\t\tvar cpts = types.filter(function (t) { return (t.group === 'post' || t.group === 'page') && t.slug && t.slug !== 'post' && t.slug !== 'page'; });\n\t\tsections.push({ title: '\u6a5f\u80fd', icon: '\u2699\ufe0f', rows: [\n\t\t\t['\u30d5\u30a9\u30fc\u30e0', forms.length ? forms.length + ' \u30da\u30fc\u30b8' : (inv ? '\u306a\u3057' : null),\n\t\t\t\tObject.keys(formKinds).map(function (k) { return k + ' ' + formKinds[k]; }).join('\u3001')],\n\t\t\t['\u591a\u8a00\u8a9e', hasMulti ? (multi.length ? multi : env.langs).join('\u30fb') : (inv ? '\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f' : null), ''],\n\t\t\t['\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7', cpts.length ? cpts.map(function (t) { return t.label; }).join('\\n') : (inv ? '\u306a\u3057' : null), '\u72ec\u81ea\u306e\u5165\u529b\u9805\u76ee\u3084\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044'],\n\t\t\t['\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u5206\u985e\u5225\uff09', Object.keys(byCat).length ? Object.keys(byCat).map(function (c) { return c + '\uff1a' + byCat[c].join(', '); }).join('\\n') : (env.plugins && env.plugins.length ? env.plugins.join(', ') : null),\n\t\t\t\t'\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u3082\u306e\u3060\u3051'],\n\t\t\t['\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u30fb\u57cb\u3081\u8fbc\u307f', (wp.tags || []).filter(function (t) { return !t.id; }).map(function (t) { return t.name; }).join('\\n') || null, '']\n\t\t]});\n\n\t\t\/\/ --- 3. \u30c7\u30fc\u30bf\u79fb\u884c ---\n\t\tvar posts = postTypes.reduce(function (a, t) { return a + (t.total != null ? t.total : t.count); }, 0);\n\t\tvar oldest = postTypes.map(function (t) { return t.oldest; }).filter(Boolean).sort()[0] || '';\n\t\tvar recent = postTypes.reduce(function (a, t) { return a + (t.recent || 0); }, 0);\n\t\tvar separate = inv ? (inv.missing || []).filter(function (m) { return m.separate_wp; }) : [];\n\t\tsections.push({ title: '\u79fb\u884c\u3059\u308b\u30c7\u30fc\u30bf', icon: '\ud83d\udce6', rows: inv ? [\n\t\t\t['\u8a18\u4e8b\u306e\u7dcf\u6570', num(posts) + ' \u4ef6' + (s.estimated && s.estimated[1] ? '\uff0b\u63a8\u5b9a \u7d04' + num(s.estimated[0]) + '\u301c' + num(s.estimated[1]) + ' \u4ef6' : ''), oldest ? ym(oldest) + ' \u304b\u3089' : ''],\n\t\t\t['\u76f4\u8fd11\u5e74\u306e\u66f4\u65b0', num(recent) + ' \u4ef6', '\u516c\u958b\u5f8c\u306e\u66f4\u65b0\u306e\u983b\u5ea6\u306e\u76ee\u5b89'],\n\t\t\t['\u30e1\u30c7\u30a3\u30a2', s.media ? num(s.media.all) + ' \u4ef6' : null, s.media && s.media.pdf != null ? '\u753b\u50cf ' + num(s.media.image) + '\uff0fPDF ' + num(s.media.pdf) : 'WordPress\u4ee5\u5916\u306f\u6570\u3048\u3089\u308c\u307e\u305b\u3093'],\n\t\t\t['REST API\u306b\u51fa\u306a\u3044\u6295\u7a3f\u30bf\u30a4\u30d7', estTypes.length ? estTypes.map(function (t) { return t.label + '\uff1a' + estimateText(t) + ' \u4ef6'; }).join('\\n') : '\u306a\u3057', estTypes.length ? '\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u306e\u66f8\u304d\u51fa\u3057\u304c\u5fc5\u8981' : ''],\n\t\t\t['\u5225\u306eWordPress\u306e\u533a\u753b', separate.length ? separate.map(function (m) { return m.dir; }).join('\\n') : '\u306a\u3057', separate.length ? '\u533a\u753b\u3054\u3068\u306b\u8abf\u3079\u76f4\u3057\u3066\u304f\u3060\u3055\u3044' : ''],\n\t\t\t['\u6700\u7d42\u66f4\u65b0\u65e5', s.last_update || null, '']\n\t\t] : [['\u79fb\u884c\u3059\u308b\u30c7\u30fc\u30bf', null, '']] });\n\n\t\t\/\/ --- 4. \u74b0\u5883 ---\n\t\tvar cms = env.cms || (wp.is_wordpress ? 'WordPress' + (wp.version ? ' ' + wp.version : '') : (wp.other_cms ? wp.other_cms.name : ''));\n\t\tvar hosting = v.hosting ? v.hosting.name + (v.hosting.confidence === 'low' ? '\uff08\u53c2\u8003\u5024\uff09' : '') : '';\n\t\tvar mailName = v.mail ? v.mail.name : '';\n\t\tsections.push({ title: '\u30b5\u30fc\u30d0\u30fc\u30fb\u30c9\u30e1\u30a4\u30f3\u30fb\u30e1\u30fc\u30eb', icon: '\ud83d\udda5\ufe0f', rows: [\n\t\t\t['CMS', cms || null, wp.theme ? '\u30c6\u30fc\u30de\uff1a' + wp.theme.name + (wp.theme.author ? '\uff08' + wp.theme.author + '\uff09' : '') : ''],\n\t\t\t['\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc', (env.builder || []).length ? env.builder.join('\u30fb') : (inv ? '\u306a\u3057' : null), '\u4f7f\u3063\u3066\u3044\u308b\u30da\u30fc\u30b8\u306f\u4f5c\u308a\u76f4\u3057\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u3044'],\n\t\t\t['SEO\u30d7\u30e9\u30b0\u30a4\u30f3', (env.seo || []).length ? env.seo.join('\u30fb') : (inv ? '\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f' : null), ''],\n\t\t\t['\u914d\u4fe1\u306e\u3057\u304b\u305f', (env.delivery || []).length ? env.delivery.join('\u30fb') : (inv ? '\u901a\u5e38\u306e\u914d\u4fe1' : null), ''],\n\t\t\t['PHP', env.php || null, env.php ? '' : '\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u305b\u3093'],\n\t\t\t['\u30b5\u30fc\u30d0\u30fc', hosting || null, v.cdn ? 'CDN\uff1a' + v.cdn.name : ''],\n\t\t\t['\u30c9\u30e1\u30a4\u30f3\u306e\u7ba1\u7406', wh.service ? wh.service.name : (wh.registrar || (wh.registrable ? wh.registrable + '\uff08\u7ba1\u7406\u5143\u306f\u4e0d\u660e\uff09' : null)), wh.expires ? '\u6709\u52b9\u671f\u9650 ' + wh.expires + (wh.days_left != null ? '\uff08\u6b8b\u308a' + wh.days_left + '\u65e5\uff09' : '') : ''],\n\t\t\t['DNS\u306e\u904b\u7528', v.dns ? v.dns.name : null, ''],\n\t\t\t['SSL\u8a3c\u660e\u66f8', ssl.issuer ? ssl.issuer.name : (cert.issuer_org || null), cert.valid_to_str ? '\u6709\u52b9\u671f\u9650 ' + cert.valid_to_str + '\uff08\u6b8b\u308a' + cert.days_left + '\u65e5\uff09' : ''],\n\t\t\t['\u30e1\u30fc\u30eb', mailName || ((ns.mx || []).length ? (ns.mx || []).map(function (m) { return m.host; }).join('\\n') : null),\n\t\t\t\t[mail.spf ? 'SPF ' + (mail.spf.found ? '\u3042\u308a' : '\u306a\u3057') : '', mail.dmarc ? 'DMARC ' + (mail.dmarc.found ? '\u3042\u308a' : '\u306a\u3057') : ''].filter(Boolean).join('\uff0f')]\n\t\t]});\n\n\t\t\/\/ --- 5. \u8a08\u6e2c\u30bf\u30b0 ---\n\t\tvar tags = (wp.tags || []).filter(function (t) { return t.id; });\n\t\tsections.push({ title: '\u8a08\u6e2c\u30bf\u30b0', icon: '\ud83d\udcca', rows: tags.length\n\t\t\t? tags.map(function (t) { return [t.name, t.id, t.note || '']; })\n\t\t\t: [['\u8a08\u6e2c\u30bf\u30b0', wp.is_wordpress != null ? 'ID\u3064\u304d\u306e\u30bf\u30b0\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f' : null, '']] });\n\n\t\t\/\/ --- \u6ce8\u610f\u70b9 ---\n\t\tif (inv) {\n\t\t\t(inv.checks || []).forEach(function (c) {\n\t\t\t\tif (c.status === 'ng' || c.status === 'warn') issues.push([c.status === 'ng' ? '\u9ad8' : '\u4e2d', c.title, c.note || '']);\n\t\t\t});\n\t\t}\n\t\t\/\/ Let's Encrypt \u306a\u3069\u306f\u6b8b\u308a30\u65e5\u524d\u5f8c\u3067\u81ea\u52d5\u66f4\u65b0\u3055\u308c\u308b\u305f\u3081\u3001\u305d\u308c\u3088\u308a\u77ed\u3044\u3068\u304d\u3060\u3051\u51fa\u3059\u3002\n\t\tif (cert.days_left != null && 14 > cert.days_left) issues.push(['\u4e2d', 'SSL\u8a3c\u660e\u66f8\u306e\u671f\u9650\u304c\u8fd1\u3065\u3044\u3066\u3044\u307e\u3059\uff08\u6b8b\u308a' + cert.days_left + '\u65e5\uff09', '\u81ea\u52d5\u66f4\u65b0\u3055\u308c\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u66f4\u65b0\u306e\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002']);\n\t\tif (wh.days_left != null && 60 > wh.days_left) issues.push(['\u9ad8', '\u30c9\u30e1\u30a4\u30f3\u306e\u671f\u9650\u304c\u8fd1\u3065\u3044\u3066\u3044\u307e\u3059\uff08\u6b8b\u308a' + wh.days_left + '\u65e5\uff09', '\u66f4\u65b0\u3055\u308c\u306a\u3044\u3068\u30b5\u30a4\u30c8\u3082\u30e1\u30fc\u30eb\u3082\u6b62\u307e\u308a\u307e\u3059\u3002']);\n\t\t(wp.tags || []).forEach(function (t) {\n\t\t\tif (\/^UA-\/.test(t.id || '')) issues.push(['\u4f4e', '\u65e7Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\uff08UA\uff09\u306e\u30bf\u30b0\u304c\u6b8b\u3063\u3066\u3044\u307e\u3059', '\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u6642\u306b\u5916\u3057\u3066\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002']);\n\t\t});\n\n\t\t\/\/ --- \u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068 ---\n\t\tif (posts) questions.push(['\u65e2\u5b58\u306e\u8a18\u4e8b\uff08' + num(posts) + '\u4ef6\uff09\u306f\u3059\u3079\u3066\u79fb\u884c\u3057\u307e\u3059\u304b\u3002\u53e4\u3044\u8a18\u4e8b\u3092\u6574\u7406\u3059\u308b\u4e88\u5b9a\u306f\u3042\u308a\u307e\u3059\u304b', '\u79fb\u884c\u3059\u308b\u30c7\u30fc\u30bf\u306e\u91cf\u304c\u5909\u308f\u308a\u307e\u3059\u3002']);\n\t\testTypes.forEach(function (t) {\n\t\t\tquestions.push(['\u300c' + t.label + '\u300d\uff08' + estimateText(t) + '\u4ef6\uff09\u3082\u79fb\u884c\u306e\u5bfe\u8c61\u3067\u3059\u304b', 'REST API\u3067\u53d6\u308a\u51fa\u305b\u306a\u3044\u6295\u7a3f\u30bf\u30a4\u30d7\u3067\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u306e\u66f8\u304d\u51fa\u3057\u304c\u5fc5\u8981\u3067\u3059\u3002']);\n\t\t});\n\t\tif (separate.length) questions.push([separate.map(function (m) { return m.dir; }).join('\u30fb') + ' \u306e\u533a\u753b\u3082\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u306e\u5bfe\u8c61\u3067\u3059\u304b', '\u5225\u306eWordPress\u3068\u3057\u3066\u52d5\u3044\u3066\u3044\u308b\u305f\u3081\u3001\u5bfe\u8c61\u306b\u3059\u308b\u304b\u3067\u4f5c\u696d\u306e\u7bc4\u56f2\u304c\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002']);\n\t\tif (s.rest_pages && s.rest_pages > s.text_pages) questions.push(['\u30da\u30fc\u30b8\u306e\u69cb\u6210\u306f\u73fe\u884c\u3069\u304a\u308a\u3067\u3059\u304b\u3002\u8ffd\u52a0\u30fb\u524a\u9664\u3057\u305f\u3044\u30da\u30fc\u30b8\u306f\u3042\u308a\u307e\u3059\u304b', '\u56fa\u5b9a\u30da\u30fc\u30b8' + num(s.rest_pages) + '\u4ef6\u306e\u3046\u3061\u3001\u4e00\u89a7\u3084\u30d5\u30a9\u30fc\u30e0\u3092\u8868\u793a\u3059\u308b\u5668\u306e\u30da\u30fc\u30b8\u304c' + num(s.rest_pages - s.text_pages) + '\u4ef6\u3042\u308a\u307e\u3059\u3002']);\n\t\tif (forms.length) questions.push(['\u30d5\u30a9\u30fc\u30e0\uff08' + forms.length + '\u30da\u30fc\u30b8\uff09\u306e\u9805\u76ee\u30fb\u9001\u4fe1\u5148\u30fb\u81ea\u52d5\u8fd4\u4fe1\u306e\u6587\u9762\u306f\u73fe\u884c\u3069\u304a\u308a\u3067\u3059\u304b', '\u30d5\u30a9\u30fc\u30e0\u306f\u7a2e\u985e\u3054\u3068\u306b\u4f5c\u308a\u76f4\u3057\u304c\u5fc5\u8981\u3067\u3059\u3002']);\n\t\tif (hasMulti) questions.push(['\u591a\u8a00\u8a9e\uff08' + (multi.length ? multi : env.langs).join('\u30fb') + '\uff09\u306f\u5f15\u304d\u7d99\u304e\u307e\u3059\u304b\u3002\u65b9\u5f0f\u3092\u5909\u3048\u308b\u4e88\u5b9a\u306f\u3042\u308a\u307e\u3059\u304b', '\u65b9\u5f0f\u306b\u3088\u3063\u3066\u4f5c\u696d\u306e\u5185\u5bb9\u304c\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002']);\n\t\tif (byCat.EC) questions.push(['\u30cd\u30c3\u30c8\u30b7\u30e7\u30c3\u30d7\uff08' + byCat.EC.join(', ') + '\uff09\u306e\u5546\u54c1\u6570\u3068\u6c7a\u6e08\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044', 'EC\u306e\u79fb\u884c\u306f\u5546\u54c1\u30c7\u30fc\u30bf\u3068\u6c7a\u6e08\u306e\u8a2d\u5b9a\u304c\u5225\u306b\u5fc5\u8981\u3067\u3059\u3002']);\n\t\tvar builders = (env.builder || []).length ? env.builder : (byCat['\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc'] || []);\n\t\tif (builders.length) questions.push(['\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc\uff08' + builders.join(', ') + '\uff09\u3067\u4f5c\u3063\u305f\u30da\u30fc\u30b8\u306f\u3069\u308c\u3067\u3059\u304b\u3002\u65b0\u3057\u3044\u30b5\u30a4\u30c8\u3067\u3082\u540c\u3058\u7de8\u96c6\u65b9\u6cd5\u304c\u3088\u3044\u3067\u3059\u304b', '\u30d3\u30eb\u30c0\u30fc\u3067\u4f5c\u3063\u305f\u30da\u30fc\u30b8\u306f\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u5225\u306e\u74b0\u5883\u306b\u79fb\u305b\u307e\u305b\u3093\u3002\u5bfe\u8c61\u306e\u30da\u30fc\u30b8\u6570\u3067\u4f5c\u696d\u91cf\u304c\u5909\u308f\u308a\u307e\u3059\u3002']);\n\t\tvar statics = (env.delivery || []).filter(function (x) { return x.indexOf('\u9759\u7684') >= 0; });\n\t\tif (statics.length) questions.push([statics[0] + '\u306f\u7d9a\u3051\u307e\u3059\u304b\u3002\u901a\u5e38\u306e\u914d\u4fe1\u306b\u623b\u3057\u307e\u3059\u304b', '\u9759\u7684\u914d\u4fe1\u306f\u8a18\u4e8b\u3092\u76f4\u3059\u305f\u3073\u306b\u66f8\u304d\u51fa\u3057\u304c\u5fc5\u8981\u3067\u3001\u30d5\u30a9\u30fc\u30e0\u3084\u30e9\u30f3\u30ad\u30f3\u30b0\u306a\u3069\u3001\u305d\u306e\u5834\u3067\u52d5\u304f\u6a5f\u80fd\u304c\u5236\u9650\u3055\u308c\u307e\u3059\u3002']);\n\t\tif (plugins.some(function (p) { return \/advanced-custom-fields|custom-post-type-ui\/.test(p.slug); })) questions.push(['\u72ec\u81ea\u306e\u5165\u529b\u9805\u76ee\uff08\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\uff09\u306e\u69cb\u6210\u306f\u5f15\u304d\u7d99\u304e\u307e\u3059\u304b', '\u79fb\u884c\u306e\u3068\u304d\u306b\u9805\u76ee\u3054\u3068\u306e\u5bfe\u5fdc\u4ed8\u3051\u304c\u5fc5\u8981\u3067\u3059\u3002']);\n\t\tif (s.media && s.media.all) questions.push(['\u753b\u50cf\u30fbPDF\uff08' + num(s.media.all) + '\u4ef6\uff09\u306f\u3059\u3079\u3066\u79fb\u884c\u3057\u307e\u3059\u304b', '\u4f7f\u308f\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3082\u591a\u304f\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002']);\n\t\tif (hosting) questions.push(['\u30b5\u30fc\u30d0\u30fc\uff08' + hosting + '\uff09\u306f\u5f15\u304d\u7d9a\u304d\u4f7f\u3044\u307e\u3059\u304b\u3001\u79fb\u8ee2\u3057\u307e\u3059\u304b', env.php && \/^[0-7]\\.|^8\\.[01]\\.\/.test(env.php + '.') ? 'PHP ' + env.php + ' \u306f\u30b5\u30dd\u30fc\u30c8\u304c\u7d42\u4e86\u3057\u3066\u304a\u308a\u3001\u66f4\u65b0\u304c\u5fc5\u8981\u3067\u3059\u3002' : '\u79fb\u8ee2\u3059\u308b\u5834\u5408\u306f\u3001\u79fb\u8ee2\u4f5c\u696d\u3068DNS\u306e\u5207\u308a\u66ff\u3048\u304c\u5fc5\u8981\u3067\u3059\u3002']);\n\t\tif (mailName) questions.push(['\u30e1\u30fc\u30eb\uff08' + mailName + '\uff09\u306e\u904b\u7528\u306f\u5909\u308f\u308a\u307e\u305b\u3093\u304b', hosting && mailName.indexOf(hosting.replace(\/\uff08.*$\/, '')) >= 0 ? '\u30e1\u30fc\u30eb\u3082Web\u3068\u540c\u3058\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u3044\u3066\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u3092\u79fb\u308b\u3068\u30e1\u30fc\u30eb\u306e\u79fb\u884c\u3082\u5fc5\u8981\u3067\u3059\u3002' : '\u30b5\u30fc\u30d0\u30fc\u3092\u79fb\u3063\u3066\u3082\u3001\u30e1\u30fc\u30eb\u306e\u8a2d\u5b9a\u306f\u5909\u3048\u305a\u306b\u6e08\u3080\u69cb\u6210\u3067\u3059\u3002']);\n\t\tvar domainBy = wh.service ? wh.service.name : wh.registrar;\n\t\tquestions.push(['\u30c9\u30e1\u30a4\u30f3' + (domainBy ? '\uff08' + domainBy + '\uff09' : '') + '\u3068DNS\u306e\u7ba1\u7406\u306f\u3069\u306a\u305f\u304c\u884c\u3063\u3066\u3044\u307e\u3059\u304b', '\u516c\u958b\u306e\u3068\u304d\u306bDNS\u306e\u5207\u308a\u66ff\u3048\u304c\u5fc5\u8981\u3067\u3059\u3002']);\n\t\t\/\/ \u65e7UA\u306f\u8a08\u6e2c\u304c\u7d42\u308f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u5f15\u304d\u7d99\u304e\u306e\u78ba\u8a8d\u304b\u3089\u306f\u5916\u3059\uff08\u6ce8\u610f\u70b9\u306b\u51fa\u3059\uff09\u3002\n\t\tvar liveTags = tags.filter(function (t) { return !\/^UA-\/.test(t.id); });\n\t\tvar tagNames = liveTags.map(function (t) { return t.name; }).filter(function (n, i, a) { return a.indexOf(n) === i; });\n\t\tif (tagNames.length) questions.push(['\u8a08\u6e2c\u30bf\u30b0\u30fb\u6240\u6709\u6a29\u306e\u78ba\u8a8d\uff08' + tagNames.join('\u3001') + '\uff09\u306f\u5f15\u304d\u7d99\u304e\u307e\u3059\u304b', '\u6d88\u3059\u3068\u8a08\u6e2c\u3084 Search Console \u306e\u78ba\u8a8d\u304c\u9014\u5207\u308c\u307e\u3059\u3002']);\n\t\tquestions.push(['\u539f\u7a3f\u3068\u5199\u771f\u306f\u65b0\u3057\u304f\u7528\u610f\u3057\u307e\u3059\u304b\u3001\u73fe\u884c\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u304b', '\u539f\u7a3f\u3084\u5199\u771f\u306e\u624b\u914d\u3092\u5236\u4f5c\u5074\u3067\u884c\u3046\u304b\u3069\u3046\u304b\u3067\u3001\u4f5c\u696d\u306e\u7bc4\u56f2\u304c\u5909\u308f\u308a\u307e\u3059\u3002']);\n\t\tquestions.push(['\u516c\u958b\u5f8c\u306e\u66f4\u65b0\u3068\u4fdd\u5b88\u306f\u3069\u306a\u305f\u304c\u884c\u3044\u307e\u3059\u304b', '\u66f4\u65b0\u3059\u308b\u4eba\u306b\u5408\u308f\u305b\u3066\u3001\u7ba1\u7406\u753b\u9762\u306e\u4f5c\u308a\u65b9\u3084\u4fdd\u5b88\u306e\u7bc4\u56f2\u304c\u5909\u308f\u308a\u307e\u3059\u3002']);\n\t\tquestions.push(['\u516c\u958b\u306e\u5e0c\u671b\u6642\u671f\u3068\u3001\u4e88\u7b97\u306e\u7de0\u3081\u5207\u308a\u306f\u3042\u308a\u307e\u3059\u304b', '\u4f5c\u696d\u306e\u9806\u756a\u3068\u9032\u3081\u65b9\u3092\u6c7a\u3081\u308b\u306e\u306b\u4f7f\u3044\u307e\u3059\u3002']);\n\n\t\tvar src = inv ? inv.sources : null;\n\t\tvar sources = src ? [src.rest && src.rest.status === 200 ? 'REST API' : '', src.sitemap.url ? '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7' : '', src.links ? '\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30ea\u30f3\u30af' : ''].filter(Boolean).join('\u30fb') : '';\n\t\tvar pgn = s.pagination || {};\n\n\t\t\/\/ \u30b5\u30a4\u30c8\u60c5\u5831\uff08Excel\u306e\u300c\u30b5\u30a4\u30c8\u60c5\u5831\u300d\u30b7\u30fc\u30c8\uff09\u3002[\u9805\u76ee, \u5185\u5bb9, \u78ba\u8a8d\u5143]\n\t\tvar info = [\n\t\t\t['URL', inv ? inv.base : target, '\u2014'],\n\t\t\t['CMS', cms || '', '\u30da\u30fc\u30b8\u30bd\u30fc\u30b9'],\n\t\t\t['\u30c6\u30fc\u30de', wp.theme ? wp.theme.name + (wp.theme.author ? '\uff08' + wp.theme.author + '\uff09' : '') + (wp.parent_theme ? '\uff0f\u89aa\u30c6\u30fc\u30de\uff1a' + wp.parent_theme.name : '') : (env.themes || []).join(', '), '\u30da\u30fc\u30b8\u30bd\u30fc\u30b9'],\n\t\t\t['\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc', (env.builder || []).join('\u30fb') || '\u306a\u3057', '\u30da\u30fc\u30b8\u30bd\u30fc\u30b9\uff08generator\uff09'],\n\t\t\t['SEO\u30d7\u30e9\u30b0\u30a4\u30f3', (env.seo || []).join('\u30fb'), '\u30da\u30fc\u30b8\u30bd\u30fc\u30b9'],\n\t\t\t['\u30d7\u30e9\u30b0\u30a4\u30f3', plugins.length ? plugins.map(function (p) { return p.name; }).join(', ') : (env.plugins || []).join(', '), '\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u3082\u306e'],\n\t\t\t['\u914d\u4fe1\u306e\u3057\u304b\u305f', (env.delivery || []).join('\u30fb') || '\u901a\u5e38\u306e\u914d\u4fe1', '\u5fdc\u7b54\u30d8\u30c3\u30c0\u30fc\u30fb\u30da\u30fc\u30b8\u30bd\u30fc\u30b9'],\n\t\t\t['\u30b5\u30fc\u30d0\u30fc', hosting, 'DNS\u30fb\u5fdc\u7b54\u30d8\u30c3\u30c0\u30fc\u304b\u3089\u306e\u63a8\u5b9a'],\n\t\t\t['PHP', env.php || '\u975e\u516c\u958b', '\u5fdc\u7b54\u30d8\u30c3\u30c0\u30fc'],\n\t\t\t['\u30c9\u30e1\u30a4\u30f3\u306e\u7ba1\u7406', wh.service ? wh.service.name : (wh.registrar || ''), 'WHOIS'],\n\t\t\t['\u30c9\u30e1\u30a4\u30f3\u306e\u6709\u52b9\u671f\u9650', wh.expires || '', 'WHOIS'],\n\t\t\t['DNS\u306e\u904b\u7528', v.dns ? v.dns.name : '', '\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc'],\n\t\t\t['SSL\u8a3c\u660e\u66f8', (ssl.issuer ? ssl.issuer.name : (cert.issuer_org || '')) + (cert.valid_to_str ? '\uff08\u6709\u52b9\u671f\u9650 ' + cert.valid_to_str + '\uff09' : ''), '\u8a3c\u660e\u66f8'],\n\t\t\t['\u30e1\u30fc\u30eb', mailName, 'MX\u30ec\u30b3\u30fc\u30c9'],\n\t\t\t['\u8a08\u6e2c\u30bf\u30b0', tags.map(function (t) { return t.name + '\uff08' + t.id + '\uff09'; }).join('\\n'), '\u30da\u30fc\u30b8\u30bd\u30fc\u30b9'],\n\t\t\t['\u591a\u8a00\u8a9e', hasMulti ? (multi.length ? multi : env.langs).join('\u30fb') : '\u306a\u3057', '\u30da\u30fc\u30b8\u30bd\u30fc\u30b9'],\n\t\t\t['\u30d5\u30a9\u30fc\u30e0', forms.length ? forms.length + ' \u30da\u30fc\u30b8\uff08' + Object.keys(formKinds).join('\u30fb') + '\uff09' : '\u306a\u3057', '\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u672c\u6587\u30fbURL']\n\t\t];\n\t\tif (inv) {\n\t\t\tinfo.push(\n\t\t\t\t['\u6295\u7a3f\u6570', posts, sources],\n\t\t\t\t['\u56fa\u5b9a\u30da\u30fc\u30b8\u6570', s.pages, sources],\n\t\t\t\t['\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7', cpts.map(function (t) { return t.label + ' ' + (t.total != null ? t.total : t.count) + '\u4ef6'; }).join('\\n') || '\u306a\u3057', sources],\n\t\t\t\t['\u4e00\u89a7\u30da\u30fc\u30b8\uff08\u30ab\u30c6\u30b4\u30ea\u30fb\u30bf\u30b0\u306a\u3069\uff09', s.archives, sources],\n\t\t\t\t['\u30da\u30fc\u30b8\u9001\u308a\uff08\u63a8\u5b9a\uff09', pgn.main != null ? (pgn.main || 0) + (pgn.terms || 0) : '', '\u6700\u5f8c\u306e\u30da\u30fc\u30b8\u756a\u53f7\u304b\u3089\u8a08\u7b97'],\n\t\t\t\t['\u30e1\u30c7\u30a3\u30a2', s.media ? s.media.all + '\uff08\u753b\u50cf ' + s.media.image + '\uff0fPDF ' + s.media.pdf + '\uff09' : '', 'REST API'],\n\t\t\t\t['REST API\u306b\u51fa\u306a\u3044\u6295\u7a3f\u30bf\u30a4\u30d7', estTypes.map(function (t) { return t.label + ' ' + estimateText(t) + '\u4ef6'; }).join('\\n') || '\u306a\u3057', '\u4e00\u89a7\u30da\u30fc\u30b8\u306e\u6570\u304b\u3089\u63a8\u5b9a'],\n\t\t\t\t['\u5225\u306eWordPress\u306e\u533a\u753b', separate.map(function (m) { return m.dir; }).join('\\n') || '\u306a\u3057', '\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30ea\u30f3\u30af'],\n\t\t\t\t['\u6700\u7d42\u66f4\u65b0\u65e5', s.last_update || '', sources]\n\t\t\t);\n\t\t}\n\n\t\treturn {\n\t\t\tsections: sections, issues: issues, questions: questions, inv: inv, tags: wp.tags || [], info: info, sources: sources,\n\t\t\tdirRows: inv ? directoryRows(inv) : [],\n\t\t\tctx: {\n\t\t\t\ts: s, env: env, repeat: repeat, singles: singles, forms: forms, formKinds: formKinds, cpts: cpts, multi: multi, hasMulti: hasMulti,\n\t\t\t\tpostTypes: postTypes, estTypes: estTypes, separate: separate, hosting: hosting, tagNames: tagNames\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction renderSections(sections) {\n\t\treturn sections.map(function (sec) {\n\t\t\tvar html = '<div class=\"wt-sheet\"><h4><span class=\"wt-ico\">' + sec.icon + '<\/span>' + W.esc(sec.title) + '<\/h4><dl>';\n\t\t\tsec.rows.forEach(function (r) {\n\t\t\t\thtml += '<dt>' + W.esc(r[0]) + '<\/dt>';\n\t\t\t\thtml += '<dd' + (r[1] == null || r[1] === '' ? ' class=\"is-empty\"' : '') + '>' +\n\t\t\t\t\t(r[1] == null || r[1] === '' ? '\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f' : W.esc(String(r[1])).replace(\/\\n\/g, '<br>')) +\n\t\t\t\t\t(r[2] ? '<small>' + W.esc(r[2]).replace(\/\\n\/g, '<br>') + '<\/small>' : '') + '<\/dd>';\n\t\t\t});\n\t\t\treturn html + '<\/dl><\/div>';\n\t\t}).join('');\n\t}\n\n\tfunction toText(rep) {\n\t\tvar out = ['\u3010\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u898b\u7a4d\u3082\u308a\u306e\u4e0b\u8abf\u3079\u3011' + target + '\uff08' + new Date().toLocaleDateString('ja-JP') + ' \u8abf\u67fb\uff09', ''];\n\t\trep.sections.forEach(function (sec) {\n\t\t\tout.push('\u25a0 ' + sec.title);\n\t\t\tsec.rows.forEach(function (r) {\n\t\t\t\tout.push('\u30fb' + r[0] + '\uff1a' + (r[1] == null ? '\u2014' : String(r[1]).replace(\/\\n\/g, ' \/ ')) + (r[2] ? '\uff08' + String(r[2]).replace(\/\\n\/g, ' \/ ') + '\uff09' : ''));\n\t\t\t});\n\t\t\tout.push('');\n\t\t});\n\t\tif (rep.issues.length) {\n\t\t\tout.push('\u25a0 \u6ce8\u610f\u70b9');\n\t\t\trep.issues.forEach(function (i) { out.push('\u30fb' + i[1]); });\n\t\t\tout.push('');\n\t\t}\n\t\tout.push('\u25a0 \u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068');\n\t\trep.questions.forEach(function (q, i) { out.push((i + 1) + '. ' + q[0]); });\n\t\tout.push('', '\u203b \u5916\u90e8\u304b\u3089\u898b\u3048\u308b\u516c\u958b\u60c5\u5831\u306b\u3082\u3068\u3065\u304f\u63a8\u5b9a\u3092\u542b\u307f\u307e\u3059\u3002');\n\t\treturn out.join('\\n');\n\t}\n\n\tfunction toTsv(rep) {\n\t\tvar out = ['\u533a\u5206\\t\u9805\u76ee\\t\u5185\u5bb9\\t\u88dc\u8db3'];\n\t\trep.sections.forEach(function (sec) {\n\t\t\tsec.rows.forEach(function (r) {\n\t\t\t\tout.push([sec.title, r[0], r[1] == null ? '' : String(r[1]).replace(\/\\n\/g, ' \/ '), String(r[2] || '').replace(\/\\n\/g, ' \/ ')].join('\\t'));\n\t\t\t});\n\t\t});\n\t\treturn out.join('\\n');\n\t}\n\n\t\/\/ ===== \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e00\u89a7\uff08\u7a2e\u5225\u3064\u304d\uff09 =====\n\n\tvar KIND_ORDER = ['TOP', '\u56fa\u5b9a\u30da\u30fc\u30b8', '\u8a18\u4e8b', '\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f', '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5916', '\u30ab\u30c6\u30b4\u30ea', '\u30bf\u30b0', '\u8457\u8005', '\u4e00\u89a7', '\u30da\u30fc\u30b8'];\n\n\t\/\/ \u5168URL\u3092\u3001\u898b\u7a4d\u3082\u308a\u3067\u6570\u3048\u3084\u3059\u3044\u7a2e\u5225\u306b\u5206\u3051\u308b\u3002\n\tfunction kindOf(r, inv) {\n\t\tvar top = (inv.subdir || '') + '\/';\n\t\tif (r.path === top || r.path === inv.subdir) return 'TOP';\n\t\tif (r.group === 'page') return '\u56fa\u5b9a\u30da\u30fc\u30b8';\n\t\tif (r.group === 'post') return r.type === '\u6295\u7a3f' ? '\u8a18\u4e8b' : '\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\uff1a' + r.type;\n\t\tif (r.group === 'hidden') return '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5916\uff1a' + r.type;\n\t\tif (r.group === 'archive') {\n\t\t\tvar t = String(r.type).replace(\/^\u4e00\u89a7\uff1a\/, '');\n\t\t\treturn { '\u30ab\u30c6\u30b4\u30ea\u30fc': '\u30ab\u30c6\u30b4\u30ea', '\u30bf\u30b0': '\u30bf\u30b0', '\u6295\u7a3f\u8005': '\u8457\u8005' }[t] || '\u4e00\u89a7\uff1a' + t;\n\t\t}\n\t\treturn '\u30da\u30fc\u30b8';\n\t}\n\n\tfunction kindRank(k) {\n\t\tfor (var i = 0; KIND_ORDER.length > i; i++) {\n\t\t\tif (k === KIND_ORDER[i] || k.indexOf(KIND_ORDER[i] + '\uff1a') === 0) return i;\n\t\t}\n\t\treturn KIND_ORDER.length;\n\t}\n\n\t\/\/ \u8abf\u3079\u305f\u30b5\u30a4\u30c8\u306e\u5165\u53e3\u304b\u3089\u306e\u76f8\u5bfe\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\/mag\/sell\/ \u2192 \/sell\/\u3001\u76f4\u4e0b\u306f \/\uff09\u3002\n\tfunction relDir(inv, dir) {\n\t\tvar d = String(dir || '').slice((inv.subdir || '').length);\n\t\treturn d.indexOf('\uff08') >= 0 || !d ? '\/' : d;\n\t}\n\n\tfunction directoryRows(inv) {\n\t\tvar list = (inv.rows || []).map(function (r) {\n\t\t\treturn { kind: kindOf(r, inv), dir: relDir(inv, r.dir), url: r.url, path: r.path, title: r.title, date: r.date, modified: r.modified };\n\t\t});\n\t\tlist.sort(function (a, b) {\n\t\t\treturn (kindRank(a.kind) - kindRank(b.kind)) || (a.kind === b.kind ? 0 : (a.kind > b.kind ? 1 : -1)) ||\n\t\t\t\t(a.dir === b.dir ? 0 : (a.dir > b.dir ? 1 : -1)) || (a.url > b.url ? 1 : (a.url === b.url ? 0 : -1));\n\t\t});\n\t\treturn list;\n\t}\n\n\t\/\/ ===== \u30da\u30fc\u30b8\u3054\u3068\u306e\u78ba\u8a8d =====\n\n\tvar CHECK_MAX = 1000;\n\tvar checkState = { running: false, cancel: false, results: null, done: 0, total: 0 };\n\n\tfunction checkSummary(results) {\n\t\tvar counts = { '\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u53ef': 0, 'noindex': 0, 'canonical \u304c\u5225\u306eURL': 0, '\u8ee2\u9001': 0, '\u30a8\u30e9\u30fc': 0, '\u78ba\u8a8d\u3067\u304d\u305a': 0 };\n\t\tObject.keys(results).forEach(function (u) {\n\t\t\tvar r = results[u];\n\t\t\tif (!r || u === '__error') return;\n\t\t\tif (r.index === '\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u53ef') counts['\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u53ef']++;\n\t\t\telse if (r.state === 'noindex') counts.noindex++;\n\t\t\telse if (r.state === 'canonical \u304c\u5225\u306eURL') counts['canonical \u304c\u5225\u306eURL']++;\n\t\t\telse if (r.state.indexOf('\u8ee2\u9001') === 0) counts['\u8ee2\u9001']++;\n\t\t\telse if (r.state.indexOf('\u30a8\u30e9\u30fc') === 0) counts['\u30a8\u30e9\u30fc']++;\n\t\t\telse counts['\u78ba\u8a8d\u3067\u304d\u305a']++;\n\t\t});\n\t\treturn counts;\n\t}\n\n\tfunction renderCheck() {\n\t\tvar box = document.getElementById('wt-rn-check');\n\t\tif (!box || !report || !report.inv) return;\n\t\tvar n = checkTargets().length;\n\t\tvar html = '';\n\t\tif (checkState.running) {\n\t\t\thtml += '<p class=\"wt-note\">\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u2026 ' + num(checkState.done) + ' \/ ' + num(checkState.total) + ' \u30da\u30fc\u30b8 ' +\n\t\t\t\t'<button type=\"button\" class=\"wt-mini\" id=\"wt-rn-check-stop\">\u6b62\u3081\u308b<\/button><\/p>';\n\t\t\thtml += '<div class=\"wt-progress\"><span style=\"width:' + Math.round(checkState.done \/ Math.max(checkState.total, 1) * 100) + '%\"><\/span><\/div>';\n\t\t} else if (checkState.results) {\n\t\t\tvar c = checkSummary(checkState.results);\n\t\t\thtml += W.rows(Object.keys(c).filter(function (k) { return c[k]; }).map(function (k) { return [k, W.esc(num(c[k]) + ' \u30da\u30fc\u30b8')]; }));\n\t\t\tif (checkState.results.__error) html += '<p class=\"wt-note\" style=\"color:var(--wt-ng)\">' + W.esc(checkState.results.__error) + '\uff08' + num(checkState.done) + '\u30da\u30fc\u30b8\u307e\u3067\u78ba\u8a8d\u6e08\u307f\uff09<\/p>';\n\t\t\thtml += '<p class=\"wt-note\">\u7d50\u679c\u306fExcel\u306e\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u30b7\u30fc\u30c8\uff08\u30bf\u30a4\u30c8\u30eb\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30fb\u72b6\u614b\u306e\u5217\uff09\u306b\u5165\u308a\u307e\u3059\u3002<\/p>';\n\t\t} else {\n\t\t\thtml += '<p class=\"wt-note\" style=\"margin:0 0 .8em\">\u5168URL\u30921\u30da\u30fc\u30b8\u305a\u3064\u958b\u3044\u3066\u3001\u5b9f\u969b\u306e &lt;title&gt; \u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u72b6\u614b\uff08noindex\u30fbcanonical\u30fb\u8ee2\u9001\u30fb404\uff09\u3092\u8abf\u3079\u307e\u3059\u3002' +\n\t\t\t\t(report.dirRows.length > CHECK_MAX ? '\u4ef6\u6570\u304c\u591a\u3044\u305f\u3081\u3001\u6700\u521d\u306e ' + num(CHECK_MAX) + ' \u30da\u30fc\u30b8\u307e\u3067\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002' : '') +\n\t\t\t\tnum(n) + ' \u30da\u30fc\u30b8\u3067\u7d04' + Math.max(1, Math.round(n \/ 25 * 3 \/ 60)) + '\u5206\u304b\u304b\u308a\u307e\u3059\u3002\u7d50\u679c\u306fExcel\u306b\u5165\u308a\u307e\u3059\u3002<\/p>';\n\t\t\thtml += '<button type=\"button\" class=\"wt-btn\" id=\"wt-rn-check-start\">' + num(n) + ' \u30da\u30fc\u30b8\u3092\u78ba\u8a8d\u3059\u308b<\/button>';\n\t\t}\n\t\tbox.innerHTML = html;\n\t}\n\n\tfunction checkTargets() {\n\t\treturn report.dirRows.filter(function (r) { return r.kind.indexOf('\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5916') !== 0; }).slice(0, CHECK_MAX);\n\t}\n\n\tfunction startCheck() {\n\t\tif (checkState.running || !report || !report.inv) return;\n\t\tvar mine = report;\n\t\t\/\/ \u753b\u9762\u306b\u51fa\u306a\u3044\u90e8\u54c1\uff08\u30d6\u30ed\u30b0\u30d1\u30fc\u30c4\u30fb\u30d5\u30a9\u30fc\u30e0\u306e\u8a2d\u5b9a\u306a\u3069\uff09\u306f\u3001\u958b\u3044\u3066\u3082\u30c8\u30c3\u30d7\u3078\u8ee2\u9001\u3055\u308c\u308b\u3060\u3051\u306a\u306e\u3067\u78ba\u8a8d\u3057\u306a\u3044\u3002\n\t\tvar urls = checkTargets().map(function (r) { return r.url; });\n\t\tcheckState = { running: true, cancel: false, results: null, done: 0, total: urls.length };\n\t\trenderCheck();\n\t\tW.checkPages(report.inv.domain, urls, function (done) {\n\t\t\tcheckState.done = done;\n\t\t\trenderCheck();\n\t\t}, function () { return checkState.cancel || mine !== report; }).then(function (results) {\n\t\t\tif (mine !== report) return;\n\t\t\tcheckState.running = false;\n\t\t\tcheckState.results = results;\n\t\t\trenderCheck();\n\t\t});\n\t}\n\n\t\/\/ ===== \u898b\u7a4d\u3082\u308a\u7528\u306eExcel =====\n\n\tfunction q(name) { return '\\'' + name.replace(\/'\/g, \"''\") + '\\''; }\n\n\tfunction saveExcel(rep) {\n\t\tvar inv = rep.inv, c = rep.ctx, today = new Date().toLocaleDateString('ja-JP');\n\t\tvar site = target;\n\t\tvar checked = checkState.results || {};\n\t\tvar sheets = [];\n\n\t\t\/\/ --- \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u5148\u306b\u7d44\u307f\u7acb\u3066\u3001\u4ed6\u306e\u30b7\u30fc\u30c8\u306e\u5f0f\u304b\u3089\u4ef6\u6570\u3092\u53c2\u7167\u3059\u308b\uff09 ---\n\t\tvar dirRows = rep.dirRows || [];\n\t\tvar kinds = [];\n\t\tdirRows.forEach(function (r) { if (kinds.indexOf(r.kind) === -1) kinds.push(r.kind); });\n\t\tvar pg = inv ? inv.stats.pagination || {} : {};\n\t\tvar pgCount = (pg.main || 0) + (pg.terms || 0);\n\t\tvar sumStart = 5, sumEnd = sumStart + kinds.length - 1;\n\t\tvar listHeader = sumEnd + 4 + (pg.main != null ? 1 : 0);\n\t\tvar listFirst = listHeader + 1, listLast = listHeader + Math.max(dirRows.length, 1);\n\t\tvar D = q('\u30c7\u30a3\u30ec\u30af\u30c8\u30ea');\n\t\tvar kindRange = D + '!$A$' + listFirst + ':$A$' + listLast, dirRange = D + '!$B$' + listFirst + ':$B$' + listLast;\n\t\tfunction countKind(k) { return { f: 'COUNTIF(' + kindRange + ',\"' + k + '\")' }; }\n\n\t\tvar dr = [\n\t\t\t[{ v: site + ' URL\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4e00\u89a7\uff08' + today + '\uff09', s: 'title' }],\n\t\t\t[{ v: '\u53d6\u5f97\u5143\uff1a' + (rep.sources || '') + '\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u5217\u306f\u300c\u30da\u30fc\u30b8\u3054\u3068\u306e\u78ba\u8a8d\u300d\u3092\u5b9f\u884c\u3057\u305f\u3068\u304d\u3060\u3051\u5165\u308a\u307e\u3059\u3002', s: 'note' }],\n\t\t\t[],\n\t\t\t[{ v: '\u7a2e\u5225', s: 'head' }, { v: '\u4ef6\u6570', s: 'head' }]\n\t\t];\n\t\tkinds.forEach(function (k, i) { dr.push([k, { f: 'COUNTIF(' + '$A$' + listFirst + ':$A$' + listLast + ',A' + (sumStart + i) + ')' }]); });\n\t\tif (pg.main != null) dr.push(['\u30da\u30fc\u30b8\u9001\u308a\uff08\u63a8\u5b9a\uff09', pgCount, { v: '\/page\/2\/ \u306a\u3069\u306e2\u30da\u30fc\u30b8\u76ee\u4ee5\u964d\u30021\u30da\u30fc\u30b8\u305a\u3064\u306f\u958b\u304b\u305a\u8a08\u7b97\u3057\u305f\u4ef6\u6570', s: 'note' }]);\n\t\tdr.push([{ v: '\u5408\u8a08', s: 'bold' }, { f: 'SUM(B' + sumStart + ':B' + (dr.length) + ')', s: 'bold' }]);\n\t\twhile (dr.length + 1 !== listHeader) dr.push([]);\n\t\tdr.push(['\u7a2e\u5225', '\u30c7\u30a3\u30ec\u30af\u30c8\u30ea', 'URL', '\u30bf\u30a4\u30c8\u30eb', '\u6587\u5b57\u6570', '\u30a4\u30f3\u30c7\u30c3\u30af\u30b9', '\u72b6\u614b', '\u516c\u958b\u65e5', '\u66f4\u65b0\u65e5', '\u5099\u8003']);\n\t\tdirRows.forEach(function (r) {\n\t\t\tvar ck = checked[r.url];\n\t\t\tvar title = ck && ck.title ? ck.title : r.title;\n\t\t\tdr.push([r.kind, r.dir, r.url, title, title ? title.length : '', ck ? ck.index : '', ck ? ck.state : '', r.date, r.modified,\n\t\t\t\tck ? '' : (checkState.results ? '\u672a\u78ba\u8a8d' : '')]);\n\t\t});\n\n\t\t\/\/ --- \u898b\u7a4d\u660e\u7d30 ---\n\t\tvar items = [];\n\t\tfunction item(cat, name, desc, qty, unit, basis) { items.push([cat, name, desc, qty, unit, basis || '']); }\n\t\tvar postCount = { f: 'COUNTIF(' + kindRange + ',\"\u8a18\u4e8b\")+COUNTIF(' + kindRange + ',\"\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\uff1a*\")' };\n\t\tvar pageCount = countKind('\u56fa\u5b9a\u30da\u30fc\u30b8');\n\t\tif (inv) {\n\t\t\titem('\u30c7\u30b6\u30a4\u30f3', '\u73fe\u72b6\u5206\u6790\u30fb\u60c5\u5831\u8a2d\u8a08', '\u30da\u30fc\u30b8\u69cb\u6210\u3068\u5c0e\u7dda\u306e\u6574\u7406\uff08URL\u306e\u578b ' + c.repeat.length + ' \u7a2e\u985e\u30fb1\u30da\u30fc\u30b8\u3060\u3051\u306e\u578b ' + c.singles + ' \u7a2e\u985e\uff09', 1, '\u5f0f', '\u300cURL\u306e\u578b\u300d\u30b7\u30fc\u30c8');\n\t\t\titem('\u30c7\u30b6\u30a4\u30f3', '\u30c8\u30c3\u30d7\u30da\u30fc\u30b8', 'PC\u30fb\u30b9\u30de\u30db', 1, '\u30da\u30fc\u30b8', '');\n\t\t\titem('\u30c7\u30b6\u30a4\u30f3', '\u8a18\u4e8b\u30fb\u4e00\u89a7\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8', c.repeat.slice(0, 5).map(function (p) { return p.key; }).join('\u3001'), c.repeat.length, '\u578b', '\u7e70\u308a\u8fd4\u3057\u306e\u3042\u308bURL\u306e\u578b\u306e\u6570');\n\t\t\titem('\u30c7\u30b6\u30a4\u30f3', '\u56fa\u5b9a\u30da\u30fc\u30b8\uff08\u4e0b\u5c64\uff09', c.s.rest_pages ? '\u672c\u6587\u306e\u3042\u308b\u56fa\u5b9a\u30da\u30fc\u30b8 ' + c.s.text_pages + ' \u4ef6' : '\u56fa\u5b9a\u30da\u30fc\u30b8', c.s.rest_pages ? c.s.text_pages : pageCount, '\u30da\u30fc\u30b8', '');\n\t\t\titem('\u74b0\u5883\u69cb\u7bc9', '\u30b5\u30fc\u30d0\u30fc\u30fbWordPress\u306e\u69cb\u7bc9', ['\u73fe\u5728\uff1a' + (c.hosting || '\u4e0d\u660e'), c.env.php ? 'PHP ' + c.env.php : '', (c.env.delivery || []).join('\u30fb')].filter(Boolean).join('\uff0f'), 1, '\u5f0f', '\u300c\u30b5\u30a4\u30c8\u60c5\u5831\u300d\u30b7\u30fc\u30c8');\n\t\t\titem('\u5b9f\u88c5', '\u30c8\u30c3\u30d7\u30da\u30fc\u30b8', '', 1, '\u30da\u30fc\u30b8', '');\n\t\t\titem('\u5b9f\u88c5', '\u8a18\u4e8b\u30fb\u4e00\u89a7\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8', '', c.repeat.length, '\u578b', '');\n\t\t\titem('\u5b9f\u88c5', '\u56fa\u5b9a\u30da\u30fc\u30b8\uff08\u4e0b\u5c64\uff09', '', c.s.rest_pages ? c.s.text_pages : pageCount, '\u30da\u30fc\u30b8', '');\n\t\t\tif (c.forms.length) item('\u5b9f\u88c5', '\u30d5\u30a9\u30fc\u30e0', Object.keys(c.formKinds).join('\u30fb'), c.forms.length, '\u30da\u30fc\u30b8', '\u300c\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u300d\u3067\u7a2e\u985e\u3092\u78ba\u8a8d');\n\t\t\tif (c.cpts.length) item('\u5b9f\u88c5', '\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7', c.cpts.map(function (t) { return t.label; }).join('\u30fb'), c.cpts.length, '\u7a2e\u985e', '');\n\t\t\tif (c.hasMulti) item('\u5b9f\u88c5', '\u591a\u8a00\u8a9e', (c.multi.length ? c.multi : c.env.langs).join('\u30fb'), 1, '\u5f0f', '\u65b9\u5f0f\u306f\u5148\u65b9\u306b\u78ba\u8a8d');\n\t\t\tif ((c.env.builder || []).length) item('\u5b9f\u88c5', '\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc\u3067\u4f5c\u3063\u305f\u30da\u30fc\u30b8\u306e\u4f5c\u308a\u76f4\u3057', c.env.builder.join('\u30fb'), { v: '', s: 'input' }, '\u30da\u30fc\u30b8', '\u5bfe\u8c61\u30da\u30fc\u30b8\u6570\u306f\u5148\u65b9\u306b\u78ba\u8a8d');\n\t\t\titem('\u79fb\u884c', '\u8a18\u4e8b\u306e\u79fb\u884c', c.postTypes.map(function (t) { return t.label + ' ' + (t.total != null ? t.total : t.count) + '\u4ef6'; }).join('\u3001'), postCount, '\u4ef6', '\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u30b7\u30fc\u30c8\u306e\u4ef6\u6570');\n\t\t\tc.estTypes.forEach(function (t) {\n\t\t\t\titem('\u79fb\u884c', '\u300c' + t.label + '\u300d\u306e\u79fb\u884c\uff08REST API\u306b\u51fa\u306a\u3044\uff09', estimateText(t) + '\u4ef6\uff08\u63a8\u5b9a\uff09\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u306e\u66f8\u304d\u51fa\u3057\u304c\u5fc5\u8981', t.total || { v: '', s: 'input' }, '\u4ef6', '\u4e00\u89a7\u30da\u30fc\u30b8\u306e\u6570\u304b\u3089\u63a8\u5b9a');\n\t\t\t});\n\t\t\tif (c.separate.length) item('\u79fb\u884c', '\u5225\u306eWordPress\u306e\u533a\u753b', c.separate.map(function (m) { return m.dir; }).join('\u30fb'), c.separate.length, '\u533a\u753b', '\u533a\u753b\u3054\u3068\u306b\u8abf\u3079\u76f4\u3059');\n\t\t\titem('\u79fb\u884c', '\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u79fb\u884c', '', pageCount, '\u30da\u30fc\u30b8', '\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u30b7\u30fc\u30c8\u306e\u4ef6\u6570');\n\t\t\tif (c.s.media && c.s.media.all) item('\u79fb\u884c', '\u753b\u50cf\u30fbPDF', '\u753b\u50cf ' + c.s.media.image + '\uff0fPDF ' + c.s.media.pdf, c.s.media.all, '\u4ef6', '');\n\t\t\titem('\u79fb\u884c', 'SEO\u30fb\u8a08\u6e2c\u306e\u5f15\u304d\u7d99\u304e', ['URL\u306e\u7dad\u6301\u30fb\u8ee2\u9001', (c.env.seo || []).join('\u30fb'), c.tagNames.join('\u30fb')].filter(Boolean).join('\uff0f'), 1, '\u5f0f', '');\n\t\t\titem('\u30c6\u30b9\u30c8\u30fb\u516c\u958b', '\u8868\u793a\u30fb\u52d5\u4f5c\u30c6\u30b9\u30c8', 'PC\u30fb\u30b9\u30de\u30db', 1, '\u5f0f', '');\n\t\t\titem('\u30c6\u30b9\u30c8\u30fb\u516c\u958b', '\u672c\u756a\u516c\u958b\u30fb\u516c\u958b\u5f8c\u306e\u5bfe\u5fdc', c.hosting ? '\u30b5\u30fc\u30d0\u30fc\u3092\u79fb\u308b\u5834\u5408\u306fDNS\u306e\u5207\u308a\u66ff\u3048\u3092\u542b\u3080' : '', 1, '\u5f0f', '');\n\t\t}\n\t\tvar head = 8, first = head + 1, last = head + Math.max(items.length, 1);\n\t\tvar mr = [\n\t\t\t[{ v: site + ' \u30ea\u30cb\u30e5\u30fc\u30a2\u30eb \u898b\u7a4d\u660e\u7d30', s: 'title' }],\n\t\t\t[{ v: '\u9ec4\u8272\u306e\u6b04\uff08\u4eba\u65e5\u30fb\u5358\u4fa1\u30fb\u7387\uff09\u3092\u5165\u308c\u308b\u3068\u91d1\u984d\u304c\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002\u6570\u91cf\u306f\u8abf\u67fb\u7d50\u679c\u304b\u3089\u5165\u308c\u3066\u3042\u308a\u307e\u3059\uff08' + today + ' \u6642\u70b9\uff09\u3002', s: 'note' }],\n\t\t\t[],\n\t\t\t[{ v: '\u524d\u63d0', s: 'bold' }],\n\t\t\t['\u30c7\u30a3\u30ec\u30af\u30b7\u30e7\u30f3\u8cbb\u7387\uff08\u5c0f\u8a08\u306b\u5bfe\u3057\u3066\uff09', { v: '', s: 'inputPct' }],\n\t\t\t['\u6d88\u8cbb\u7a0e\u7387', { v: 0.1, s: 'inputPct' }],\n\t\t\t[],\n\t\t\t['\u533a\u5206', '\u9805\u76ee', '\u5185\u5bb9', '\u6570\u91cf', '\u5358\u4f4d', '\u4eba\u65e5', '\u5358\u4fa1\uff08\u5186\/\u4eba\u65e5\uff09', '\u91d1\u984d\uff08\u7a0e\u629c\uff09', '\u6839\u62e0']\n\t\t];\n\t\titems.forEach(function (it, i) {\n\t\t\tvar row = head + 1 + i;\n\t\t\tmr.push([it[0], it[1], it[2], it[3], it[4], { v: '', s: 'input' }, { v: '', s: 'inputMoney' },\n\t\t\t\t{ f: 'IF(COUNT(F' + row + ':G' + row + ')=2,F' + row + '*G' + row + ',\"\")', s: 'money' }, { v: it[5], s: 'note' }]);\n\t\t});\n\t\tif (!items.length) mr.push([]);  \/\/ \u9805\u76ee\u304c\u7121\u304f\u3066\u3082\u5408\u8a08\u884c\u306e\u4f4d\u7f6e\u3092\u305d\u308d\u3048\u308b\n\t\tvar tot = last + 1;\n\t\tmr.push(['', '', '', '', { v: '\u5408\u8a08\u4eba\u65e5', s: 'bold' }, { f: 'SUM(F' + first + ':F' + last + ')', s: 'bold' }, { v: '\u5c0f\u8a08', s: 'bold' }, { f: 'SUM(H' + first + ':H' + last + ')', s: 'boldMoney' }]);\n\t\tmr.push(['', '', '', '', '', '', '\u30c7\u30a3\u30ec\u30af\u30b7\u30e7\u30f3\u8cbb', { f: 'ROUND(H' + tot + '*$B$5,-3)', s: 'money' }]);\n\t\tmr.push(['', '', '', '', '', '', { v: '\u5408\u8a08\uff08\u7a0e\u629c\uff09', s: 'bold' }, { f: 'H' + tot + '+H' + (tot + 1), s: 'boldMoney' }]);\n\t\tmr.push(['', '', '', '', '', '', '\u6d88\u8cbb\u7a0e', { f: 'ROUND(H' + (tot + 2) + '*$B$6,0)', s: 'money' }]);\n\t\tmr.push(['', '', '', '', '', '', { v: '\u5408\u8a08\uff08\u7a0e\u8fbc\uff09', s: 'bold' }, { f: 'H' + (tot + 2) + '+H' + (tot + 3), s: 'boldMoney' }]);\n\t\tmr.push([], [{ v: '\u5225\u9014\u30fb\u5bfe\u8c61\u5916\uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09', s: 'bold' }]);\n\t\t['\u539f\u7a3f\u306e\u4f5c\u6210\u30fb\u5199\u771f\u306e\u64ae\u5f71', '\u30b5\u30fc\u30d0\u30fc\u30fb\u30c9\u30e1\u30a4\u30f3\u30fb\u6709\u6599\u30c6\u30fc\u30de\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8cbb\u7528', '\u516c\u958b\u5f8c\u306e\u4fdd\u5b88\u30fb\u66f4\u65b0\u4f5c\u696d'].forEach(function (t) { mr.push(['\u30fb' + t]); });\n\n\t\t\/\/ --- \u898b\u7a4d\u30b5\u30de\u30ea\u30fc ---\n\t\tvar M = q('\u898b\u7a4d\u660e\u7d30');\n\t\tvar cats = [];\n\t\titems.forEach(function (it) { if (cats.indexOf(it[0]) === -1) cats.push(it[0]); });\n\t\tvar sr = [\n\t\t\t[{ v: site + ' \u30ea\u30cb\u30e5\u30fc\u30a2\u30eb \u6982\u7b97\u898b\u7a4d\uff08\u30b5\u30de\u30ea\u30fc\uff09', s: 'title' }],\n\t\t\t[{ v: '\u91d1\u984d\u306f\u300c\u898b\u7a4d\u660e\u7d30\u300d\u306e\u9ec4\u8272\u306e\u6b04\u304b\u3089\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002', s: 'note' }],\n\t\t\t[],\n\t\t\t[{ v: '\u5927\u9805\u76ee', s: 'head' }, { v: '\u4e3b\u306a\u5185\u5bb9', s: 'head' }, { v: '\u4eba\u65e5', s: 'head' }, { v: '\u91d1\u984d\uff08\u7a0e\u629c\uff09', s: 'head' }]\n\t\t];\n\t\tcats.forEach(function (cat, i) {\n\t\t\tvar r = 5 + i;\n\t\t\tsr.push([cat, items.filter(function (it) { return it[0] === cat; }).map(function (it) { return it[1]; }).join('\u3001'),\n\t\t\t\t{ f: 'SUMIF(' + M + '!$A$' + first + ':$A$' + last + ',A' + r + ',' + M + '!$F$' + first + ':$F$' + last + ')' },\n\t\t\t\t{ f: 'SUMIF(' + M + '!$A$' + first + ':$A$' + last + ',A' + r + ',' + M + '!$H$' + first + ':$H$' + last + ')', s: 'money' }]);\n\t\t});\n\t\tsr.push(['\u30c7\u30a3\u30ec\u30af\u30b7\u30e7\u30f3\u8cbb', '\u9032\u884c\u7ba1\u7406\u30fb\u8981\u4ef6\u5b9a\u7fa9\u30fb\u5148\u65b9\u3068\u306e\u8abf\u6574', '', { f: M + '!H' + (tot + 1), s: 'money' }]);\n\t\tsr.push([{ v: '\u5408\u8a08\uff08\u7a0e\u629c\uff09', s: 'bold' }, '', { f: 'SUM(C5:C' + (4 + cats.length) + ')', s: 'bold' }, { f: M + '!H' + (tot + 2), s: 'boldMoney' }]);\n\t\tsr.push(['\u6d88\u8cbb\u7a0e', '', '', { f: M + '!H' + (tot + 3), s: 'money' }]);\n\t\tsr.push([{ v: '\u5408\u8a08\uff08\u7a0e\u8fbc\uff09', s: 'bold' }, '', '', { f: M + '!H' + (tot + 4), s: 'boldMoney' }]);\n\n\t\t\/\/ --- \u30b5\u30a4\u30c8\u60c5\u5831 ---\n\t\tvar ir = [\n\t\t\t[{ v: '\u73fe\u884c\u30b5\u30a4\u30c8\u60c5\u5831\uff08' + today + ' \u516c\u958b\u30da\u30fc\u30b8\u30fb\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3088\u308a\u78ba\u8a8d\uff09', s: 'title' }],\n\t\t\t[],\n\t\t\t[{ v: '\u9805\u76ee', s: 'head' }, { v: '\u5185\u5bb9', s: 'head' }, { v: '\u78ba\u8a8d\u5143', s: 'head' }]\n\t\t];\n\t\trep.info.forEach(function (r) { ir.push(r); });\n\t\tif (inv) {\n\t\t\tir.push([], [{ v: '\u8a18\u4e8b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u8a33', s: 'bold' }], [{ v: '\u30c7\u30a3\u30ec\u30af\u30c8\u30ea', s: 'head' }, { v: '\u8a18\u4e8b\u6570', s: 'head' }]);\n\t\t\tvar dirs = [];\n\t\t\tdirRows.forEach(function (r) { if ((r.kind === '\u8a18\u4e8b' || r.kind.indexOf('\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\uff1a') === 0) && dirs.indexOf(r.dir) === -1) dirs.push(r.dir); });\n\t\t\tvar dStart = ir.length + 1;\n\t\t\tdirs.forEach(function (d) {\n\t\t\t\tir.push([d, { f: 'COUNTIFS(' + kindRange + ',\"\u8a18\u4e8b\",' + dirRange + ',A' + (ir.length + 1) + ')+COUNTIFS(' + kindRange + ',\"\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\uff1a*\",' + dirRange + ',A' + (ir.length + 1) + ')' }]);\n\t\t\t});\n\t\t\tir.push([{ v: '\u5408\u8a08', s: 'bold' }, { f: 'SUM(B' + dStart + ':B' + (ir.length) + ')', s: 'bold' }]);\n\t\t\tif (inv.pages && inv.pages.length) {\n\t\t\t\tir.push([], [{ v: '\u56fa\u5b9a\u30da\u30fc\u30b8\u4e00\u89a7', s: 'bold' }], [{ v: 'URL', s: 'head' }, { v: '\u30bf\u30a4\u30c8\u30eb', s: 'head' }, { v: '\u672c\u6587\u306e\u6587\u5b57\u6570', s: 'head' }]);\n\t\t\t\tinv.pages.forEach(function (p) { ir.push([p.url, p.title, p.chars]); });\n\t\t\t} else {\n\t\t\t\tvar fixed = dirRows.filter(function (r) { return r.kind === '\u56fa\u5b9a\u30da\u30fc\u30b8' || r.kind === 'TOP'; });\n\t\t\t\tif (fixed.length) {\n\t\t\t\t\tir.push([], [{ v: '\u56fa\u5b9a\u30da\u30fc\u30b8\u4e00\u89a7', s: 'bold' }], [{ v: 'URL', s: 'head' }, { v: '\u30bf\u30a4\u30c8\u30eb', s: 'head' }]);\n\t\t\t\t\tfixed.forEach(function (r) { ir.push([r.url, (checked[r.url] && checked[r.url].title) || r.title]); });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t\/\/ --- \u6ce8\u610f\u70b9\uff08\u30da\u30fc\u30b8\u3054\u3068\u306e\u78ba\u8a8d\u306e\u7d50\u679c\u3082\u8db3\u3059\uff09 ---\n\t\tvar issues = rep.issues.slice();\n\t\tif (checkState.results) {\n\t\t\tvar cs = checkSummary(checkState.results);\n\t\t\tif (cs['\u30a8\u30e9\u30fc']) issues.push(['\u9ad8', '\u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u30da\u30fc\u30b8\u304c ' + cs['\u30a8\u30e9\u30fc'] + ' \u4ef6\u3042\u308a\u307e\u3059', '\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300d\u30b7\u30fc\u30c8\u306e\u72b6\u614b\u306e\u5217\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u79fb\u884c\u306e\u5bfe\u8c61\u304b\u3089\u5916\u3059\u304b\u3001\u8ee2\u9001\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002']);\n\t\t\tif (cs['\u8ee2\u9001']) issues.push(['\u4e2d', '\u8ee2\u9001\u3055\u308c\u308bURL\u304c ' + cs['\u8ee2\u9001'] + ' \u4ef6\u3042\u308a\u307e\u3059', '\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3084\u5185\u90e8\u30ea\u30f3\u30af\u304c\u53e4\u3044URL\u306e\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002']);\n\t\t\tif (cs.noindex) issues.push(['\u4e2d', 'noindex \u306e\u30da\u30fc\u30b8\u304c ' + cs.noindex + ' \u4ef6\u3042\u308a\u307e\u3059', '\u691c\u7d22\u7d50\u679c\u306b\u51fa\u3055\u306a\u3044\u8a2d\u5b9a\u3067\u3059\u3002\u79fb\u884c\u5f8c\u3082\u540c\u3058\u6271\u3044\u306b\u3059\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002']);\n\t\t\tif (cs['canonical \u304c\u5225\u306eURL']) issues.push(['\u4f4e', 'canonical \u304c\u5225\u306eURL\u3092\u6307\u3059\u30da\u30fc\u30b8\u304c ' + cs['canonical \u304c\u5225\u306eURL'] + ' \u4ef6\u3042\u308a\u307e\u3059', '']);\n\t\t}\n\n\t\tsheets.push({ name: '\u898b\u7a4d\u30b5\u30de\u30ea\u30fc', rows: sr, header: 0, widths: [18, 60, 10, 16] });\n\t\tsheets.push({ name: '\u898b\u7a4d\u660e\u7d30', rows: mr, header: head, filter: false, widths: [14, 30, 50, 8, 8, 8, 14, 14, 26] });\n\t\tsheets.push({ name: '\u30b5\u30a4\u30c8\u60c5\u5831', rows: ir, header: 0, widths: [28, 60, 30] });\n\t\tsheets.push({ name: '\u30c7\u30a3\u30ec\u30af\u30c8\u30ea', rows: dr, header: listHeader, widths: [18, 24, 50, 50, 7, 12, 22, 11, 11, 10] });\n\t\tif (inv) {\n\t\t\tsheets.push({ name: 'URL\u306e\u578b', rows: [['URL\u306e\u578b', '\u4ef6\u6570', '\u7a2e\u985e', '\u516c\u958b\u65e5\u306e\u7bc4\u56f2', '\u4f8b']].concat((inv.patterns || []).map(function (p) {\n\t\t\t\treturn [p.key, p.count, p.type, range(p.oldest, p.newest), p.example];\n\t\t\t})) });\n\t\t}\n\t\tsheets.push({ name: '\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068', rows: [['No', '\u78ba\u8a8d\u3059\u308b\u3053\u3068', '\u7406\u7531', '\u56de\u7b54']].concat(rep.questions.map(function (x, i) { return [i + 1, x[0], x[1], { v: '', s: 'input' }]; })), widths: [5, 60, 50, 40] });\n\t\tsheets.push({ name: '\u6ce8\u610f\u70b9', rows: [['\u91cd\u8981\u5ea6', '\u5185\u5bb9', '\u88dc\u8db3']].concat(issues), widths: [8, 60, 60] });\n\t\tW.xlsx(target.replace(\/[^\\w.-]\/g, '_') + '-\u898b\u7a4d\u3082\u308a\u4e0b\u8abf\u3079.xlsx', sheets);\n\t}\n\n\tfunction render(data, done, total) {\n\t\tvar html = '';\n\t\tif (total > done) {\n\t\t\thtml += '<div class=\"wt-headline\"><div class=\"wt-target\">' + W.esc(target) + '<\/div>';\n\t\t\thtml += '<div class=\"wt-answer\">\u8abf\u67fb\u4e2d\u2026 ' + done + ' \/ ' + total + '<\/div>';\n\t\t\thtml += '<div class=\"wt-progress\"><span style=\"width:' + Math.round(done \/ total * 100) + '%\"><\/span><\/div><\/div>';\n\t\t\tresultBox.innerHTML = html;\n\t\t\tresultBox.hidden = false;\n\t\t\treturn;\n\t\t}\n\n\t\treport = build(data);\n\t\tvar inv = report.inv, s = inv ? inv.stats : null;\n\t\tvar summary = s ? ['\u5168 ' + num(s.total) + ' URL', 'URL\u306e\u578b ' + s.patterns + ' \u7a2e\u985e', '\u30d5\u30a9\u30fc\u30e0 ' + s.forms + ' \u30da\u30fc\u30b8'].join(' \uff0f ') : '\u898b\u7a4d\u3082\u308a\u306e\u8981\u7d20\u3092\u307e\u3068\u3081\u307e\u3057\u305f';\n\t\thtml += '<div class=\"wt-headline is-ok\"><div class=\"wt-target\">' + W.esc(target) + ' \u306e\u898b\u7a4d\u3082\u308a\u8981\u7d20<\/div>';\n\t\thtml += '<div class=\"wt-answer\" style=\"font-size:1.25em\">' + W.esc(summary) + '<\/div>';\n\t\thtml += '<p class=\"wt-note\">\u6ce8\u610f\u70b9 ' + report.issues.length + ' \u4ef6\u30fb\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068 ' + report.questions.length + ' \u4ef6<\/p><\/div>';\n\n\t\thtml += '<div class=\"wt-toolbar\" style=\"margin-top:1.2em\">';\n\t\thtml += '<button type=\"button\" class=\"wt-mini\" id=\"wt-rn-xlsx\">Excel\u3067\u4fdd\u5b58<\/button>';\n\t\thtml += '<button type=\"button\" class=\"wt-mini\" id=\"wt-rn-text\">\u6587\u7ae0\u3067\u30b3\u30d4\u30fc<\/button>';\n\t\thtml += '<button type=\"button\" class=\"wt-mini\" id=\"wt-rn-tsv\">\u8868\u5f62\u5f0f\u3067\u30b3\u30d4\u30fc<\/button>';\n\t\thtml += '<\/div>';\n\n\t\tif (report.issues.length) {\n\t\t\thtml += '<h3 class=\"wt-h\">\u6ce8\u610f\u70b9<\/h3>';\n\t\t\thtml += W.checks(report.issues.map(function (i) { return { status: i[0] === '\u9ad8' ? 'ng' : (i[0] === '\u4e2d' ? 'warn' : 'na'), title: i[1], note: i[2] }; }));\n\t\t}\n\n\t\thtml += '<h3 class=\"wt-h\">\u898b\u7a4d\u3082\u308a\u306e\u8981\u7d20<\/h3>';\n\t\thtml += renderSections(report.sections);\n\n\t\thtml += '<h3 class=\"wt-h\">\u5148\u65b9\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068<\/h3>';\n\t\thtml += '<ol class=\"wt-qa\">' + report.questions.map(function (q) {\n\t\t\treturn '<li>' + W.esc(q[0]) + '<span>' + W.esc(q[1]) + '<\/span><\/li>';\n\t\t}).join('') + '<\/ol>';\n\n\t\tif (inv) {\n\t\t\thtml += '<h3 class=\"wt-h\">\u30da\u30fc\u30b8\u3054\u3068\u306e\u78ba\u8a8d\uff08title\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09<\/h3><div id=\"wt-rn-check\"><\/div>';\n\t\t}\n\n\t\thtml += '<p class=\"wt-note\" style=\"margin-top:1em\">\u8abf\u67fb\u65e5\u6642: ' + W.esc(new Date().toLocaleString('ja-JP')) + '<\/p>';\n\t\thtml += '<p class=\"wt-note\"><a href=\"\/tools\/site-pages\/#' + encodeURIComponent(target) + '\">\u5168URL\u306e\u4e00\u89a7\u3068\u30da\u30fc\u30b8\u306e\u7a2e\u985e\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a><\/p>';\n\n\t\tresultBox.innerHTML = html;\n\t\tresultBox.hidden = false;\n\t\trenderCheck();\n\t}\n\n\tresultBox.addEventListener('click', function (e) {\n\t\tif (!report || !e.target) return;\n\t\tif (e.target.id === 'wt-rn-check-start') startCheck();\n\t\telse if (e.target.id === 'wt-rn-check-stop') checkState.cancel = true;\n\t\telse if (e.target.id === 'wt-rn-xlsx') saveExcel(report);\n\t\telse if (e.target.id === 'wt-rn-text') W.copy(toText(report), e.target);\n\t\telse if (e.target.id === 'wt-rn-tsv') W.copy(toTsv(report), e.target);\n\t});\n\n\tfunction run(value, push) {\n\t\tif (!value) return;\n\t\tvar mine = ++seq;\n\t\ttarget = value;\n\t\treport = null;\n\t\tcheckState = { running: false, cancel: true, results: null, done: 0, total: 0 };\n\t\tsubmit.disabled = true;\n\t\tsetStatus('6\u3064\u306e\u9805\u76ee\u3092\u9806\u756a\u306b\u8abf\u3079\u3066\u3044\u307e\u3059\u3002\u5168\u4f53\u30671\u5206\u307b\u3069\u304b\u304b\u308a\u307e\u3059\u3002', false);\n\n\t\tvar data = {};\n\t\trender(data, 0, STEPS.length);\n\n\t\tif (push && window.history.replaceState) {\n\t\t\ttry {\n\t\t\t\twindow.history.replaceState({}, '', location.pathname + '#' + encodeURIComponent(value));\n\t\t\t} catch (err) { \/* \u5171\u6709URL\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u3066\u3082\u8abf\u67fb\u306f\u7d9a\u884c\u3059\u308b *\/ }\n\t\t}\n\n\t\tvar index = 0;\n\t\tfunction next() {\n\t\t\tif (mine !== seq) return;\n\t\t\tif (index >= STEPS.length) {\n\t\t\t\tsetStatus('');\n\t\t\t\tsubmit.disabled = false;\n\t\t\t\trender(data, STEPS.length, STEPS.length);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar step = STEPS[index];\n\t\t\tsetStatus('\u8abf\u3079\u3066\u3044\u307e\u3059\u2026 ' + step.label + '\uff08' + (index + 1) + '\/' + STEPS.length + '\uff09', false);\n\t\t\tfetch('\/tools\/wp-json\/webtools\/v1\/' + step.api + '?' + step.param + '=' + encodeURIComponent(value),\n\t\t\t\t{ headers: { Accept: 'application\/json' } })\n\t\t\t\t.then(function (res) { return res.json().catch(function () { return null; }); })\n\t\t\t\t.then(function (body) { data[step.key] = body || {}; })\n\t\t\t\t.catch(function () { data[step.key] = {}; })\n\t\t\t\t.then(function () {\n\t\t\t\t\tif (mine !== seq) return;\n\t\t\t\t\tindex++;\n\t\t\t\t\trender(data, index, STEPS.length);\n\t\t\t\t\tnext();\n\t\t\t\t});\n\t\t}\n\t\tnext();\n\t}\n\n\tform.addEventListener('submit', function (e) { e.preventDefault(); run(input.value.trim(), true); });\n\tform.addEventListener('click', function (e) {\n\t\tvar smp = e.target.getAttribute && e.target.getAttribute('data-sample');\n\t\tif (smp) { input.value = smp; run(smp, true); }\n\t});\n\n\tvar initial = location.hash ? decodeURIComponent(location.hash.slice(1)) : '';\n\tif (initial) { input.value = initial; run(initial, false); }\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>URL\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u306e\u898b\u7a4d\u3082\u308a\u306b\u5fc5\u8981\u306a\u8981\u7d20\u3092\u6d17\u3044\u51fa\u3057\u307e\u3059\u3002\u30da\u30fc\u30b8\u69cb\u6210\uff08\u30da\u30fc\u30b8\u6570\u30fbURL\u306e\u578b\uff09\u30fb\u6a5f\u80fd\uff08\u30d5\u30a9\u30fc\u30e0\u30fb\u591a\u8a00\u8a9e\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\uff09\u30fb\u79fb\u884c\u3059\u308b\u30c7\u30fc\u30bf\uff08\u8a18\u4e8b\u30fb\u30e1\u30c7\u30a3\u30a2\uff09\u30fb\u30b5\u30fc\u30d0\u30fc\u3068\u30c9\u30e1\u30a4\u30f3\u306e\u72b6\u6cc1\u3092\u307e\u3068\u3081\u3001\u5148\u65b9\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ssp_meta_description":"URL\u3092\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u73fe\u884c\u30b5\u30a4\u30c8\u306e\u30da\u30fc\u30b8\u6570\u30fbURL\u306e\u578b\u30fb\u30d5\u30a9\u30fc\u30e0\u30fb\u591a\u8a00\u8a9e\u30fb\u79fb\u884c\u3059\u308b\u8a18\u4e8b\u3084\u30e1\u30c7\u30a3\u30a2\u30fb\u30b5\u30fc\u30d0\u30fc\u3084\u30c9\u30e1\u30a4\u30f3\u306e\u72b6\u6cc1\u3092\u6d17\u3044\u51fa\u3057\u3001\u5148\u65b9\u3078\u306e\u78ba\u8a8d\u4e8b\u9805\u3068\u3042\u308f\u305b\u3066Excel\u3067\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u306e\u898b\u7a4d\u3082\u308a\u524d\u306e\u4e0b\u8abf\u3079\u306b\u3002\u4f1a\u54e1\u767b\u9332\u4e0d\u8981\u3002","ssp_meta_title":"\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u898b\u7a4d\u3082\u308a\u306e\u4e0b\u8abf\u3079\uff5c\u73fe\u884c\u30b5\u30a4\u30c8\u3092\u4e00\u62ec\u8abf\u67fb","ssp_meta_robots":"","ssp_meta_canonical":"","ssp_meta_image":"","ssp_meta_keyword":"","footnotes":""},"class_list":["post-187","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":5,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/187\/revisions"}],"predecessor-version":[{"id":219,"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/pages\/187\/revisions\/219"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/tools\/wp-json\/wp\/v2\/media?parent=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}