{"id":766,"date":"2025-03-27T02:42:36","date_gmt":"2025-03-26T17:42:36","guid":{"rendered":"https:\/\/prospi-king.com\/?page_id=766"},"modified":"2025-07-12T03:10:22","modified_gmt":"2025-07-11T18:10:22","slug":"%e3%83%87%e3%83%bc%e3%82%bf%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"page","link":"https:\/\/prospi-king.com\/?page_id=766","title":{"rendered":"\u30c7\u30fc\u30bf\u30d0\u30c3\u30af\u30a2\u30c3\u30d7"},"content":{"rendered":"<p>\u5f53\u30b5\u30a4\u30c8\u306e\u30c4\u30fc\u30eb\u300c\u80fd\u529b\u5024\u7cfb\u30b3\u30f3\u30dc\u8a08\u7b97\u6a5f\u300d\u300c\u30b3\u30f3\u30dc\u767a\u52d5\u72b6\u6cc1\u7ba1\u7406\u8868\u300d\u300c\u7403\u56e3\u7cfb\u30b3\u30f3\u30dc\u767a\u52d5\u7ba1\u7406\u30c4\u30fc\u30eb\u300d\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001PC\u304b\u3089\u30b9\u30de\u30db\u306a\u3069\u30c7\u30d0\u30a4\u30b9\u9593\u3067\u30c7\u30fc\u30bf\u306e\u3084\u308a\u3068\u308a\u3082\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n<script src=\"https:\/\/prospi-king.com\/wp-content\/themes\/diver_child\/js\/papaparse.min.js\"><\/script>\n<div class=\"backup-btn-area\">\n\t<table>\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t<th>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8<\/th>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t<td><button type=\"button\" id=\"save_csv\" class=\"blueBtn\">\u5b9f\u884c<\/button><\/td>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t<th>\u30a4\u30f3\u30dd\u30fc\u30c8<\/th>\n\t\t\t<\/tr>\n\t\t\t<tr>\n\t\t\t\t<td><label><div id=\"file-select\">\u53c2\u7167<\/div><input id=\"data_csv\" type=\"file\" name=\"file\" accept=\".csv\" style=\"display: none;\"><\/label>\n\t\t\t\t<button type=\"button\" id=\"load_csv\" class=\"blueBtn\">\u5b9f\u884c<\/button><\/td>\n\t\t\t<\/tr>\n\t\t<\/tbody>\n\t<\/table>\n<\/div>\n<p id=\"done-export\" class=\"csv-report\" style=\"display: none;\">CSV\u30d5\u30a1\u30a4\u30eb\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305f<\/p>\n<p id=\"done-inport\" class=\"csv-report\" style=\"display: none;\">\u30c7\u30fc\u30bf\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3057\u305f<\/p>\n<p id=\"inport-error\" class=\"csv-report\" style=\"display: none;\">\u30a4\u30f3\u30dd\u30fc\u30c8\u306b\u5931\u6557\u3057\u307e\u3057\u305f<\/p>\n\n<script>\njQuery(function($){\n\t$(\"#save_csv\").on(\"click\", function () {\n\t\tif (localStorage.getItem('full_comboList_selected')) {\n\t\t\tconst fullComboSerializedArray = localStorage.getItem('full_comboList_selected');\n\t\t\tconst fullCombo_load_values = JSON.parse(fullComboSerializedArray);\n\n\t\t\tvar fullCombo = [];\n\n\t\t\t$.each(fullCombo_load_values, function(i){\n\t\t\t\t fullCombo.push(fullCombo_load_values[i]);\n\t\t\t});\n\n\t\t\tvar fullCombo_data = $.map(fullCombo,function(value,index) { return '\"' +  value + '\"'; });\n\t\t} else {\n\t\t\tvar fullCombo_data = '';\n\t\t}\n\n\t\tif (localStorage.getItem('comboList_selected')) {\n\t\t\tconst teamComboSerializedArray = localStorage.getItem('comboList_selected');\n\t\t\tconst teamCombo_load_values = JSON.parse(teamComboSerializedArray);\n\n\t\t\tvar teamCombo = [];\n\n\t\t\t$.each(teamCombo_load_values, function(i){\n\t\t\t\t teamCombo.push(teamCombo_load_values[i]);\n\t\t\t});\n\n\t\t\tvar teamCombo_data = $.map(teamCombo,function(value,index) { return '\"' +  value + '\"'; });\n\t\t} else {\n\t\t\tvar teamCombo_data = '';\n\t\t}\n\n\t\tif (localStorage.getItem('stComboFielderInput')) {\n\t\t\tconst fielderSerializedArray = localStorage.getItem('stComboFielderInput');\n\t\t\tconst fielder_load_values = JSON.parse(fielderSerializedArray);\n\n\t\t\tvar stComboFielder = [];\n\n\t\t\t$.each(fielder_load_values, function(i){\n\t\t\t\t stComboFielder.push(fielder_load_values[i]);\n\t\t\t});\n\n\t\t\tvar stComboFielder_data = $.map(stComboFielder,function(value,index) { return '\"' +  value + '\"'; });\n\t\t} else {\n\t\t\tvar stComboFielder_data = '';\n\t\t}\n\n\t\tif (localStorage.getItem('stComboPitcherInput')) {\n\t\t\tconst pitcherSerializedArray = localStorage.getItem('stComboPitcherInput');\n\t\t\tconst pitcher_load_values = JSON.parse(pitcherSerializedArray);\n\n\t\t\tvar stComboPitcher = [];\n\n\t\t\t$.each(pitcher_load_values, function(i){\n\t\t\t\t stComboPitcher.push(pitcher_load_values[i]);\n\t\t\t});\n\n\t\t\tvar stComboPitcher_data = $.map(stComboPitcher,function(value,index) { return '\"' +  value + '\"'; });\n\t\t} else {\n\t\t\tvar stComboPitcher_data = '';\n\t\t}\n\n\t\tvar csv_data = fullCombo_data + '\\r\\n' + teamCombo_data + '\\r\\n' + stComboFielder_data + '\\r\\n' + stComboPitcher_data;\n\n\t\tvar bom = new Uint8Array([0xEF, 0xBB, 0xBF]);\n\n\t\tvar blob = new Blob([bom, csv_data], { type: \"text\/csv\" });\n\n\t\tvar url = (window.URL || window.webkitURL).createObjectURL(blob);\n\n\t\tvar link = document.createElement(\"a\");\n\n\t\tlink.download = \"prospiking_data.csv\"\n\n\t\tlink.href = url\n\n\t\tlink.click()\n\n\t\t$('#done-export').css('display','');\n\t\t$('#done-inport').css('display','none');\n\t\t$('#inport-error').css('display','none');\n\t});\n\n\tvar fileName = \"\";\n\n\t$(\"#data_csv\").on(\"change\", function () {\n\t\tfileName = $('#data_csv').prop('files')[0].name;\n\t\t$(\"#file-select\").text(fileName);\n\t});\n\n\tvar stepped = 0, rowCount = 0, errorCount = 0, firstError = undefined, json = \"\";\n\n\t$(\"#load_csv\").on(\"click\", function () {\n\t\tif ($('input[name=\"load_csv\"]').val() == '') {\n\t\t\tconsole.log('\u9078\u629e\u3057\u3066\u306a\u3044');\n\t\t} else {\n\t\t\tlet element = $('#data_csv').prop('files')[0].name;\n\t\t\tif (element.indexOf(\"prospiking_data\") >= 0) {\n\t\t\t\t$('input[type=file]').parse({\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tcomplete: completeFn\n\t\t\t\t\t},\n\t\t\t\t\tbefore: function(file, inputElem)\n\t\t\t\t\t{\n\t\t\t\t\t},\n\t\t\t\t\terror: function(err, file)\n\t\t\t\t\t{\n\t\t\t\t\t\tconsole.log('errorCount\uff1a' + errorCount);\n\t\t\t\t\t\tconsole.log('firstError\uff1a' + firstError);\n\t\t\t\t\t\t$('#done-export').css('display','none');\n\t\t\t\t\t\t$('#done-inport').css('display','none');\n\t\t\t\t\t\t$('#inport-error').css('display','');\n\t\t\t\t\t},\n\t\t\t\t\tcomplete: function()\n\t\t\t\t\t{\n\t\t\t\t\t\tvar fullCombo_save = json[0];\n\t\t\t\t\t\tvar teamCombo_save = json[1];\n\t\t\t\t\t\tvar stComboFielder_save = json[2];\n\t\t\t\t\t\tvar stComboPitcher_save = json[3];\n\n\/\/\t\t\t\t\t\tif (fullCombo_save) {\n\t\t\t\t\t\t\tconst fullComboSerializedArray = JSON.stringify(fullCombo_save);\n\t\t\t\t\t\t\tlocalStorage.setItem('full_comboList_selected', fullComboSerializedArray);\n\t\t\t\t\t\t\tconsole.log(localStorage.getItem('full_comboList_selected'));\n\/\/\t\t\t\t\t\t}\n\/\/\t\t\t\t\t\tif (teamCombo_save) {\n\t\t\t\t\t\t\tconst teamComboSerializedArray = JSON.stringify(teamCombo_save);\n\t\t\t\t\t\t\tlocalStorage.setItem('comboList_selected', teamComboSerializedArray);\n\t\t\t\t\t\t\tconsole.log(localStorage.getItem('comboList_selected'));\n\/\/\t\t\t\t\t\t}\n\t\t\t\t\t\tif (stComboFielder_save == \"\") {\n\t\t\t\t\t\t\tlocalStorage.removeItem (\"stComboFielderInput\")\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst stComboFielderSerializedArray = JSON.stringify(stComboFielder_save);\n\t\t\t\t\t\t\tlocalStorage.setItem('stComboFielderInput', stComboFielderSerializedArray);\n\t\t\t\t\t\t\tconsole.log(localStorage.getItem('stComboFielderInput'));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (stComboPitcher_save == \"\") {\n\t\t\t\t\t\t\tlocalStorage.removeItem (\"stComboPitcherInput\")\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst stComboPitcherSerializedArray = JSON.stringify(stComboPitcher_save);\n\t\t\t\t\t\t\tlocalStorage.setItem('stComboPitcherInput', stComboPitcherSerializedArray);\n\t\t\t\t\t\t\tconsole.log(localStorage.getItem('stComboPitcherInput'));\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$('input[type=\"file\"]').val(null);\n\t\t\t\t\t\t$(\"#file-select\").text('\u53c2\u7167');\n\t\t\t\t\t\t$('#done-export').css('display','none');\n\t\t\t\t\t\t$('#done-inport').css('display','');\n\t\t\t\t\t\t$('#inport-error').css('display','none');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tconsole.log('\u9078\u629e\u30df\u30b9');\n\t\t\t}\n\t\t}\n\t});\n\n\tfunction completeFn(results)\n\t{\n\t\tif (results && results.errors)\n\t\t{\n\t\t\tif (results.errors)\n\t\t\t{\n\t\t\t\terrorCount = results.errors.length;\n\t\t\t\tfirstError = results.errors[0];\n\t\t\t}\n\t\t\tif (results.data && results.data.length > 0)\n\t\t\t{\n\t\t\t\trowCount = results.data.length;\n\t\t\t}\n\t\t}\n\t\tjson = results.data;\n\t}\n});\n<\/script>\n<h2>\u4f7f\u3044\u65b9<\/h2>\n<p>\u5f53\u30b5\u30a4\u30c8\u306e\u30c4\u30fc\u30eb\u30c7\u30fc\u30bf\u306f\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u524a\u9664\u3055\u308c\u308b\u3068\u30c7\u30fc\u30bf\u3082\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f55\u3089\u304b\u306e\u4e8b\u60c5\u3067\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u304d\u306f\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8<\/h3>\n<p>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u6b04\u306e\u5b9f\u884c\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u30c7\u30d0\u30a4\u30b9\u898f\u5b9a\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5148\u306b\u300cprospiking_data.csv\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u540d\u306eCSV\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h3>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u6b04\u306e\u53c2\u7167\u3092\u62bc\u3057\u3066\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305fCSV\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3001\u5b9f\u884c\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u30c7\u30fc\u30bf\u304c\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u300cprospiking_data\u300d\u3092\u542b\u307f\u62e1\u5f35\u5b50\u304c\u300c.csv\u300d\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u3092\u3059\u3079\u3066CSV\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u306b\u66f8\u304d\u63db\u3048\u308b\u306e\u3067\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u5f8c\u306b\u5165\u308c\u305f\u30c1\u30a7\u30c3\u30af\u7b49\u306f\u6d88\u3048\u307e\u3059\u306e\u3067\u6ce8\u610f\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<h3>\u30c7\u30d0\u30a4\u30b9\u9593\u306e\u30c7\u30fc\u30bf\u30b3\u30d4\u30fc<\/h3>\n<p>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305fCSV\u30d5\u30a1\u30a4\u30eb\u3092Dropbox\u7b49\u306b\u7f6e\u304d\u5225\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p>\u30d0\u30b0\u7b49\u306f\u30b3\u30e1\u30f3\u30c8\u307e\u3067\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u30b5\u30a4\u30c8\u306e\u30c4\u30fc\u30eb\u300c\u80fd\u529b\u5024\u7cfb\u30b3\u30f3\u30dc\u8a08\u7b97\u6a5f\u300d\u300c\u30b3\u30f3\u30dc\u767a\u52d5\u72b6\u6cc1\u7ba1\u7406\u8868\u300d\u300c\u7403\u56e3\u7cfb\u30b3\u30f3\u30dc\u767a\u52d5\u7ba1\u7406\u30c4\u30fc\u30eb\u300d\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002 \u307e\u305f\u3001PC\u304b\u3089\u30b9\u30de\u30db\u306a\u3069\u30c7\u30d0\u30a4\u30b9\u9593\u3067\u30c7\u30fc\u30bf\u306e\u3084\u308a\u3068\u308a\u3082\u51fa\u6765\u307e\u3059\u3002 \u4f7f\u3044\u65b9 \u5f53\u30b5\u30a4\u30c8\u306e\u30c4\u30fc\u30eb\u30c7\u30fc\u30bf\u306f\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u2026<\/p>\n","protected":false},"author":1,"featured_media":769,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-766","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/pages\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prospi-king.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=766"}],"version-history":[{"count":17,"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/pages\/766\/revisions"}],"predecessor-version":[{"id":879,"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/pages\/766\/revisions\/879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prospi-king.com\/index.php?rest_route=\/wp\/v2\/media\/769"}],"wp:attachment":[{"href":"https:\/\/prospi-king.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}