1const WINDOW = $(window); 2const WRAPPER = $("#wrapper"); 3const DOCUMENT = $(document); 4var DEF_W = 1024; 5var DEF_H = 650; 6const IS_TEST = false; 7if (IS_TEST) { 8 var script2 = document.createElement("script"); 9 script2.src = 10 "https://cdnjs.cloudflare.com/ajax/libs/stats.js/r8/Stats.min.js"; 11 document.body.appendChild(script2); 12 script2.onload = (function() { 13 Common.initStats() 14 }) 15} 16const COOKIE = "sailormoon"; 17const COOKIE_VALUE = "v5"; 18const MOVIE_W = 853; 19const MOVIE_H = 480; 20const MOVIE_MARGIN = 50; 21const MOVIE_NAVI_BTN_H = 40; 22const MOVIE_NAVI_BTN_LINE = 1; 23const MOVIE_NAVI_H = MOVIE_NAVI_BTN_H * MOVIE_NAVI_BTN_LINE; 24const MOVIE_CLOSE_H = 32; 25const MOVIE_URL = "./movie/index.html"; 26const MOVIE_ID_ARR = [{ 27 name: "å¾ç·¨æ¬äºå", 28 id: "EhoU6gn0eKU", 29 width: "25%", 30 height: MOVIE_NAVI_BTN_H 31}, { 32 name: "åç·¨æ¬äºå", 33 id: "p4ntci4Sr8U", 34 width: "25%", 35 height: MOVIE_NAVI_BTN_H 36}, { 37 name: "ç¹å ±", 38 id: "QGTtm_c9ya4", 39 width: "25%", 40 height: MOVIE_NAVI_BTN_H 41}, { 42 name: "è¶ ç¹å ±", 43 id: "67bOG9kcv5M", 44 width: "25%", 45 height: MOVIE_NAVI_BTN_H 46}]; 47 48function getMovieParams() { 49 var a = (WINDOW.width() - MOVIE_MARGIN) >> 0; 50 var c = MOVIE_H * (a / MOVIE_W) + MOVIE_NAVI_H + MOVIE_CLOSE_H >> 0; 51 var b = (WINDOW.height() - MOVIE_MARGIN) >> 0; 52 if (c > b) { 53 c = b; 54 a = MOVIE_W * ((c - MOVIE_NAVI_H - MOVIE_CLOSE_H) / MOVIE_H) >> 0 55 } 56 return { 57 w: a, 58 h: c, 59 movieW: MOVIE_W, 60 movieH: MOVIE_H, 61 closeH: MOVIE_CLOSE_H, 62 url: MOVIE_URL 63 } 64} 65const NAVI_DATA = [{ 66// id: "theaters", 67// name: '<span class="btn-jp">åç·¨</span> - Theaters<span>åç·¨ åå ´æ å ±</span>', 68// href: "http://theaters.toei.co.jp/TheaterList/?PROCID=02667", 69// target: "_blank", 70// isSmall: false, 71// isComing: false 72// }, { 73// id: "theaters", 74// name: '<span class="btn-jp">å¾ç·¨</span> - Theaters<span>å¾ç·¨ åå ´æ å ±</span>', 75// href: "http://theaters.toei.co.jp/TheaterList/?PROCID=02677", 76// target: "_blank", 77// isSmall: false, 78// isComing: false 79// }, { 80// id: "news", 81// name: "News<span>ææ°æ å ±</span>", 82// href: "news/", 83// target: "_blank", 84// isSmall: false, 85// isComing: false 86// }, { 87// id: "media", 88// name: "Media<span>ã¡ãã£ã¢æ å ±</span>", 89// href: "news/archives/media", 90// target: "_blank", 91// isSmall: false, 92// isComing: false 93// }, { 94 id: "intro", 95 name: "Introduction<span>ã¤ã³ãããã¯ã·ã§ã³</span>", 96 href: "intro.html", 97 target: "_parent", 98 isSmall: false, 99 isComing: false 100}, { 101 id: "story", 102 name: "Story<span>ã¹ãã¼ãªã¼</span>", 103 href: "story.html", 104 target: "_parent", 105 isSmall: false, 106 isComing: false 107}, { 108 id: "character", 109 name: "Character<span>ãã£ã©ã¯ã¿ã¼</span>", 110 href: "character.html", 111 target: "_parent", 112 isSmall: false, 113 isComing: false 114}, { 115 id: "staff", 116 name: "Staff<span>ã¹ã¿ãã</span>", 117 href: "staff.html", 118 target: "_parent", 119 isSmall: false, 120 isComing: false 121}, { 122 id: "music", 123 name: "Music<span>鳿¥½</span>", 124 href: "music.html", 125 target: "_parent", 126 isSmall: false, 127 isComing: false 128}, { 129 id: "movie", 130 name: "Movie<span>åç»</span>", 131 href: "movie.html", 132 target: "_parent", 133 isSmall: false, 134 isComing: false 135}, { 136 id: "top", 137 name: "Top<span>ããã</span>", 138 href: "./", 139 target: "_parent", 140 isSmall: false, 141 isComing: false 142}]; 143const SNS_URL = "https://sailormoon-movie.jp/"; 144const SNS_CUSTOM = false; 145const tweetTxt = "åå ´çãç¾å°å¥³æ¦å£«ã»ã¼ã©ã¼ã ã¼ã³Eternalã2021å¹´äºé¨ä½é£ç¶å ¬éï¼ï¼åç·¨ï¼ï¼å¾ç·¨ï¼å¤§ããã䏿 ä¸ï¼"; 146const tweetHash = "ç¾å°å¥³æ¦å£«ã»ã¼ã©ã¼ã ã¼ã³,ã»ã¼ã©ã¼ã ã¼ã³"; 147const fbBtnType = "button"; 148const fbBtnWidth = 80; 149const fbBtnSize = "small"; 150const fbAppId = "2423553841301789"; 151const fbAppVer = "2.10"; 152const fbAction = "like"; 153const fbShowFace = false; 154const fbShare = false; 155const SNS_DATA = [{ 156 id: "twitter", 157 text: tweetTxt, 158 hash: tweetHash 159}, { 160 id: "facebook-like", 161 type: fbBtnType, 162 size: fbBtnSize, 163 width: fbBtnWidth, 164 appId: fbAppId, 165 appVer: fbAppVer,
166 action: fbAction, 167 showFace: fbShowFace, 168 share: fbShare 169}, { 170 id: "line-share" 171}]; 172const BANNER_IMG_PATH = "../assets/img/banner/"; 173const BANNER_DATA = [{ 174 src: "bnr_001.jpg", 175 href: "http://sailormoon-official.com/", 176 alt: "ç¾å°å¥³æ¦å£«ã»ã¼ã©ã¼ã ã¼ã³ 30å¨å¹´ããã¸ã§ã¯ãå ¬å¼ãµã¤ã" 177}, { 178 src: "onair.jpg", 179 href: "javascript:void(0);", 180 alt: "æ¾éã»é ä¿¡æ å ± ç¾å°å¥³æ¦å£«ã»ã¼ã©ã¼ã ã¼ã³ãã観ããï¼" 181}]; 182const Common = (function() { 183 function d() { 184 if ($("body").hasClass("protect")) { 185 $("body").on("contextmenu", function(f) { 186 return false 187 }) 188 } 189 c() 190 } 191 192 function c() { 193 var g = window.screen.width / 2, 194 i = window.screen.height / 2, 195 h = 510, 196 e = 510, 197 f = { 198 left: Math.floor(g - (h / 2)), 199 top: Math.floor(i - (e / 2)), 200 width: h, 201 height: e 202 }; 203 $(document).on("click", ".share-link-btn", function(l) { 204 l.preventDefault(); 205 var k = $(this).attr("href"), 206 j = "left=" + f.left + ",top=" + f.top + ",width=" + f.width + 207 ",height=" + f.height; 208 window.open(k, "blankShareWindow", j) 209 }) 210 } 211 212 function b() { 213 window.requestAnimationFrame(b); 214 if (_stats) { 215 _stats.update() 216 } 217 } 218 219 function a() { 220 _stats = new Stats(); 221 _stats.domElement.style.position = "fixed"; 222 _stats.domElement.style.left = "0px"; 223 _stats.domElement.style.top = "0px"; 224 document.body.appendChild(_stats.domElement); 225 var e = window.requestAnimationFrame || window.mozRequestAnimationFrame || 226 window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; 227 window.requestAnimationFrame = e; 228 b() 229 } 230 return { 231 init: d, 232 initStats: a 233 } 234})(); 235Common.init();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.