less copy protection, more size visualization
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

516 lines
15 KiB

  1. const attributionData = {
  2. sources: [
  3. {
  4. prefix: "./media/buildings/",
  5. files: [
  6. { name: "house.svg", source: null },
  7. { name: "mailbox.svg", source: null },
  8. { name: "mobile-home.svg", source: null },
  9. ],
  10. authors: [
  11. "chemicalcrux"
  12. ]
  13. },
  14. {
  15. prefix: "./media/buildings/skyscrapers/",
  16. files: [
  17. { name: "wide.svg", source: null },
  18. { name: "medium.svg", source: null },
  19. { name: "slender.svg", source: null },
  20. { name: "narrow.svg", source: null },
  21. ],
  22. authors: [
  23. "chemicalcrux"
  24. ]
  25. },
  26. {
  27. prefix: "./media/characters/abysgar/",
  28. files: [
  29. { name: "front.svg", source: "https://www.furaffinity.net/view/32424108/" }
  30. ],
  31. authors: [
  32. "clown-grin",
  33. "labratkuma"
  34. ],
  35. owners: [
  36. ]
  37. },
  38. {
  39. prefix: "./media/characters/adake/",
  40. files: [
  41. { name: "front-1.svg", source: "https://www.furaffinity.net/view/26253324/" },
  42. { name: "front-2.svg", source: "https://www.furaffinity.net/view/26253324/" },
  43. { name: "back.svg", source: "https://www.furaffinity.net/view/26253324/" },
  44. { name: "kneel.svg", source: "https://www.furaffinity.net/view/26253324/" },
  45. ],
  46. authors: [
  47. "oselotti"
  48. ],
  49. owners: [
  50. "Dialuca01"
  51. ]
  52. },
  53. {
  54. prefix: "./media/characters/aigey/",
  55. files: [
  56. { name: "side.svg", source: "https://www.furaffinity.net/view/12006265/" }
  57. ],
  58. authors: [
  59. "just-a-little-mixed-up"
  60. ],
  61. owners: [
  62. ]
  63. },
  64. {
  65. prefix: "./media/characters/akari/",
  66. files: [
  67. { name: "front.svg", source: "https://www.furaffinity.net/view/21329356/" }
  68. ],
  69. authors: [
  70. "spyropurple"
  71. ],
  72. owners: [
  73. ]
  74. },
  75. {
  76. prefix: "./media/characters/andy/",
  77. files: [
  78. { name: "front.svg", source: null }
  79. ],
  80. authors: [
  81. "cardboardhead"
  82. ],
  83. owners: [
  84. ]
  85. },
  86. {
  87. prefix: "./media/characters/angelpatamon/",
  88. files: [
  89. { name: "front.svg", source: "http://www.furaffinity.net/view/26475369/" }
  90. ],
  91. authors: [
  92. "mallowchu"
  93. ]
  94. },
  95. {
  96. prefix: "./media/characters/appledectomy/",
  97. files: [
  98. { name: "front.svg", source: "https://www.furaffinity.net/view/33002197/" }
  99. ],
  100. authors: [
  101. "stonerabbit"
  102. ],
  103. owners: [
  104. "appledectomy"
  105. ]
  106. },
  107. {
  108. prefix: "./media/characters/asana/",
  109. files: [
  110. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  111. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  112. ],
  113. authors: [
  114. "silverwingink"
  115. ],
  116. owners: [
  117. "aviraptia"
  118. ]
  119. },
  120. {
  121. prefix: "./media/characters/asana/",
  122. files: [
  123. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  124. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  125. ],
  126. authors: [
  127. "silverwingink"
  128. ],
  129. owners: [
  130. "aviraptia"
  131. ]
  132. },
  133. {
  134. prefix: "./media/characters/asana-mech/",
  135. files: [
  136. { name: "side.svg", source: null }
  137. ],
  138. authors: [
  139. "ashtrek"
  140. ],
  141. owners: [
  142. "aviraptia"
  143. ]
  144. },
  145. {
  146. prefix: "./media/characters/ashtrek/",
  147. files: [
  148. { name: "front.svg", source: null },
  149. { name: "front-armor.svg", source: null },
  150. ],
  151. authors: [
  152. "silverwingink"
  153. ],
  154. owners: [
  155. "ashtrek"
  156. ]
  157. },
  158. {
  159. prefix: "./media/characters/blake/",
  160. files: [
  161. { name: "side.svg", source: "https://www.furaffinity.net/view/30676178/" },
  162. { name: "crouched.svg", source: "https://www.furaffinity.net/view/30676178/" },
  163. { name: "bent.svg", source: "https://www.furaffinity.net/view/30676178/" },
  164. ],
  165. authors: [
  166. "zyraxus"
  167. ],
  168. owners: [
  169. "kurrikage"
  170. ]
  171. },
  172. {
  173. prefix: "./media/characters/cibus/",
  174. files: [
  175. { name: "side.svg", source: "https://www.furaffinity.net/view/15534343/" }
  176. ],
  177. authors: [
  178. "jaydom"
  179. ],
  180. owners: [
  181. "movler"
  182. ]
  183. },
  184. {
  185. prefix: "./media/characters/jaro/",
  186. files: [
  187. { name: "front.svg", source: "https://www.furaffinity.net/view/26084387/" },
  188. { name: "back.svg", source: "https://www.furaffinity.net/view/26084387/" }
  189. ],
  190. authors: [
  191. "mizumisensei"
  192. ],
  193. owners: [
  194. "jaro-the-dragon"
  195. ]
  196. },
  197. {
  198. prefix: "./media/characters/malfressa/",
  199. files: [
  200. { name: "side.svg", source: "https://www.furaffinity.net/view/25377262/" },
  201. { name: "feral.svg", source: "https://www.furaffinity.net/view/25377262/" }
  202. ],
  203. authors: [
  204. "d-eath-tail"
  205. ],
  206. owners: [
  207. "scareye"
  208. ]
  209. },
  210. {
  211. prefix: "./media/characters/malfressa/",
  212. files: [
  213. { name: "walking.svg", source: "https://www.furaffinity.net/view/23877052/" }
  214. ],
  215. authors: [
  216. "kerneldecoy"
  217. ],
  218. owners: [
  219. "scareye"
  220. ]
  221. },
  222. {
  223. prefix: "./media/characters/nibbles/",
  224. files: [
  225. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" },
  226. { name: "side.svg", source: "https://www.furaffinity.net/view/22964778/" },
  227. ],
  228. authors: [
  229. "dragga"
  230. ],
  231. owners: [
  232. "movler"
  233. ]
  234. },
  235. {
  236. prefix: "./media/characters/rikky/",
  237. files: [
  238. { name: "side.svg", source: null }
  239. ],
  240. authors: [
  241. "ethan64"
  242. ],
  243. owners: [
  244. "quake-yote"
  245. ]
  246. },
  247. {
  248. prefix: "./media/characters/surgo/",
  249. files: [
  250. { name: "front.svg", source: "https://www.furaffinity.net/view/33348481/" },
  251. { name: "back.svg", source: "https://www.furaffinity.net/view/33348481/" },
  252. { name: "laying.svg", source: "https://www.furaffinity.net/view/33348481/" },
  253. ],
  254. authors: [
  255. "gaiawolfess",
  256. "malakhael"
  257. ],
  258. owners: [
  259. "movler"
  260. ]
  261. },
  262. {
  263. prefix: "./media/characters/tiberius/",
  264. files: [
  265. { name: "front.svg", source: "https://www.furaffinity.net/view/34977812/" },
  266. { name: "back.svg", source: "https://www.furaffinity.net/view/34977812/" }
  267. ],
  268. authors: [
  269. "Rebonica"
  270. ],
  271. owners: [
  272. "movler"
  273. ]
  274. },
  275. {
  276. prefix: "./media/characters/",
  277. files: [
  278. { name: "", source: "" }
  279. ],
  280. authors: [
  281. ]
  282. },
  283. {
  284. prefix: "./media/objects/humans/",
  285. files: [
  286. { name: "woman-1.svg", source: "https://commons.wikimedia.org/wiki/File:1Silhouette_Female.svg" }
  287. ],
  288. authors: [
  289. "phil-bronnery",
  290. "beao"
  291. ]
  292. },
  293. {
  294. prefix: "./media/objects/humans/",
  295. files: [
  296. { name: "man-1.svg", source: "https://commons.wikimedia.org/wiki/File:Silhouette.svg" }
  297. ],
  298. authors: [
  299. ]
  300. },
  301. {
  302. prefix: "./media/vehicles/",
  303. files: [
  304. { name: "titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" },
  305. { name: "vertical-titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" }
  306. ],
  307. authors: [
  308. ]
  309. },
  310. ],
  311. people: {
  312. "appledectomy": {
  313. name: "Appledectomy",
  314. url: "https://www.furaffinity.net/user/appledectomy"
  315. },
  316. "ashtrek": {
  317. name: "Ashtrek",
  318. url: "https://www.furaffinity.net/user/ashtrek/"
  319. },
  320. "aviraptia": {
  321. name: "Aviraptia",
  322. url: "https://www.furaffinity.net/user/aviraptia/"
  323. },
  324. "beao": {
  325. name: "Beao",
  326. url: "https://commons.wikimedia.org/wiki/User:Beao"
  327. },
  328. "cardboardhead": {
  329. name: "cardboardhead",
  330. url: "https://twitter.com/cardboardhead"
  331. },
  332. "chemicalcrux": {
  333. name: "chemicalcrux",
  334. url: "https://www.furaffinity.net/user/chemicalcrux"
  335. },
  336. "clown-grin": {
  337. name: "clown-grin",
  338. url: "https://www.furaffinity.net/user/clown-grin"
  339. },
  340. "d-eath-tail": {
  341. name: "Deathy",
  342. url: "https://www.furaffinity.net/user/d-eath-tail"
  343. },
  344. "Dialuca01": {
  345. name: "Dialuca",
  346. url: "https://www.furaffinity.net/user/dialuca01"
  347. },
  348. "dragga": {
  349. name: "Dragga",
  350. url: "https://www.furaffinity.net/user/dragga"
  351. },
  352. "ethan64": {
  353. name: "Ethan64",
  354. url: "https://www.furaffinity.net/user/ethan64/"
  355. },
  356. "gaiawolfess": {
  357. name: "Gaiawolfess",
  358. url: "https://www.furaffinity.net/user/gaiawolfess"
  359. },
  360. "jaro-the-dragon": {
  361. name: "Jaro",
  362. url: "https://www.furaffinity.net/user/jarothedragon/"
  363. },
  364. "jaydom": {
  365. name: "Jaydom",
  366. url: "https://www.furaffinity.net/user/jaydom"
  367. },
  368. "just-a-little-mixed-up": {
  369. name: "just-a-little-mixed-up",
  370. url: "https://www.furaffinity.net/user/just-a-little-mixed-up"
  371. },
  372. "kerneldecoy": {
  373. name: "Kernel Decoy",
  374. url: "https://www.furaffinity.net/user/kerneldecoy/"
  375. },
  376. "kurrikage": {
  377. name: "Kurrikage",
  378. url: "https://www.furaffinity.net/user/kurrikage/"
  379. },
  380. "labratkuma": {
  381. name: "labratkuma",
  382. url: "https://www.furaffinity.net/user/labratkuma"
  383. },
  384. "malakhael": {
  385. name: "Malakhael",
  386. url: "https://www.furaffinity.net/user/malakhael"
  387. },
  388. "mallowchu": {
  389. name: "Mallowchu",
  390. url: "https://www.furaffinity.net/user/mallowchu"
  391. },
  392. "mizumisensei": {
  393. name: "Mizumisensei",
  394. url: "https://twitter.com/mizumisensei"
  395. },
  396. "movler": {
  397. name: "Movler",
  398. url: "https://www.furaffinity.net/user/movler/"
  399. },
  400. "oselotti": {
  401. name: "Oselotti",
  402. url: "https://www.furaffinity.net/user/oselotti"
  403. },
  404. "phil-bronnery": {
  405. name: "Phil Bronnery",
  406. url: "https://www.flickr.com/people/27919241@N02"
  407. },
  408. "quake-yote": {
  409. name: "Quake Yote",
  410. url: "https://www.furaffinity.net/user/rokossovskiy"
  411. },
  412. "Rebonica": {
  413. name: "Rebonica",
  414. url: "https://www.furaffinity.net/user/rebonica"
  415. },
  416. "scareye": {
  417. name: "Scareye",
  418. url: "https://www.furaffinity.net/user/scareye/"
  419. },
  420. "silverwingink": {
  421. name: "silverwingink",
  422. url: "https://www.furaffinity.net/gallery/silverwingink/"
  423. },
  424. "spyropurple": {
  425. name: "spyropurple",
  426. url: "https://www.furaffinity.net/user/spyropurple/"
  427. },
  428. "stonerabbit": {
  429. name: "stonerabbit",
  430. url: "https://www.furaffinity.net/user/stonerabbit/"
  431. },
  432. "zyraxus": {
  433. name: "Zyraxus",
  434. url: "https://www.furaffinity.net/user/zyraxus"
  435. }
  436. }
  437. }
  438. const attribution = {};
  439. function prepareAttribution() {
  440. attribution["files"] = {};
  441. attributionData.sources.forEach(citation => {
  442. citation.files.forEach(file => {
  443. attribution.files[citation.prefix + file.name] = {
  444. authors: citation.authors,
  445. owners: citation.owners,
  446. source: file.source
  447. }
  448. })
  449. });
  450. }
  451. function authorsOf(file) {
  452. if (attribution.files[file])
  453. return attribution.files[file].authors;
  454. else
  455. return undefined;
  456. }
  457. function authorsOfFull(file) {
  458. if (attribution.files[file]) {
  459. const result = [];
  460. attribution.files[file].authors.forEach(author => {
  461. result.push(attributionData.people[author]);
  462. });
  463. return result;
  464. }
  465. else
  466. return undefined;
  467. }
  468. function ownersOf(file) {
  469. if (attribution.files[file])
  470. return attribution.files[file].owners;
  471. else
  472. return undefined;
  473. }
  474. function ownersOfFull(file) {
  475. if (attribution.files[file]) {
  476. if (attribution.files[file].owners !== undefined) {
  477. const result = [];
  478. attribution.files[file].owners.forEach(owner => {
  479. result.push(attributionData.people[owner]);
  480. });
  481. return result;
  482. } else {
  483. return [];
  484. }
  485. }
  486. else
  487. return undefined;
  488. }
  489. function sourceOf(file) {
  490. if (attribution.files[file])
  491. return attribution.files[file].source;
  492. else
  493. return undefined;
  494. }
  495. prepareAttribution();