less copy protection, more size visualization
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

682 líneas
19 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/alicia/",
  77. files: [
  78. { name: "anthro.svg", source: "https://www.furaffinity.net/view/31363235/" }
  79. ],
  80. authors: [
  81. "helisa-adopts",
  82. "chesta"
  83. ],
  84. owners: [
  85. "little-big-x110"
  86. ]
  87. },
  88. {
  89. prefix: "./media/characters/alicia/",
  90. files: [
  91. { name: "feral.svg", source: "https://www.furaffinity.net/view/34138885/" }
  92. ],
  93. authors: [
  94. "little-big-x110",
  95. "helisa-adopts",
  96. "chesta"
  97. ],
  98. owners: [
  99. "little-big-x110"
  100. ]
  101. },
  102. {
  103. prefix: "./media/characters/andy/",
  104. files: [
  105. { name: "front.svg", source: null }
  106. ],
  107. authors: [
  108. "cardboardhead"
  109. ],
  110. owners: [
  111. ]
  112. },
  113. {
  114. prefix: "./media/characters/angelpatamon/",
  115. files: [
  116. { name: "front.svg", source: "http://www.furaffinity.net/view/26475369/" }
  117. ],
  118. authors: [
  119. "mallowchu"
  120. ]
  121. },
  122. {
  123. prefix: "./media/characters/appledectomy/",
  124. files: [
  125. { name: "front.svg", source: "https://www.furaffinity.net/view/33002197/" }
  126. ],
  127. authors: [
  128. "stonerabbit"
  129. ],
  130. owners: [
  131. "appledectomy"
  132. ]
  133. },
  134. {
  135. prefix: "./media/characters/archy/",
  136. files: [
  137. { name: "front.svg", source: "https://www.furaffinity.net/view/17286706/" }
  138. ],
  139. authors: [
  140. "twitch-the-dragon"
  141. ],
  142. owners: [
  143. "archy-d"
  144. ]
  145. },
  146. {
  147. prefix: "./media/characters/asana/",
  148. files: [
  149. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  150. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  151. ],
  152. authors: [
  153. "silverwingink"
  154. ],
  155. owners: [
  156. "aviraptia"
  157. ]
  158. },
  159. {
  160. prefix: "./media/characters/asana/",
  161. files: [
  162. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  163. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  164. ],
  165. authors: [
  166. "silverwingink"
  167. ],
  168. owners: [
  169. "aviraptia"
  170. ]
  171. },
  172. {
  173. prefix: "./media/characters/asana-mech/",
  174. files: [
  175. { name: "side.svg", source: null }
  176. ],
  177. authors: [
  178. "ashtrek"
  179. ],
  180. owners: [
  181. "aviraptia"
  182. ]
  183. },
  184. {
  185. prefix: "./media/characters/ashtrek/",
  186. files: [
  187. { name: "front.svg", source: null },
  188. { name: "front-armor.svg", source: null },
  189. ],
  190. authors: [
  191. "silverwingink"
  192. ],
  193. owners: [
  194. "ashtrek"
  195. ]
  196. },
  197. {
  198. prefix: "./media/characters/berri/",
  199. files: [
  200. { name: "front.svg", source: "https://www.furaffinity.net/view/34510917/" }
  201. ],
  202. authors: [
  203. "lynxsprout",
  204. "sugarbeans"
  205. ],
  206. owners: [
  207. "little-big-x110"
  208. ]
  209. },
  210. {
  211. prefix: "./media/characters/blake/",
  212. files: [
  213. { name: "side.svg", source: "https://www.furaffinity.net/view/30676178/" },
  214. { name: "crouched.svg", source: "https://www.furaffinity.net/view/30676178/" },
  215. { name: "bent.svg", source: "https://www.furaffinity.net/view/30676178/" },
  216. ],
  217. authors: [
  218. "zyraxus"
  219. ],
  220. owners: [
  221. "kurrikage"
  222. ]
  223. },
  224. {
  225. prefix: "./media/characters/cibus/",
  226. files: [
  227. { name: "side.svg", source: "https://www.furaffinity.net/view/15534343/" }
  228. ],
  229. authors: [
  230. "jaydom"
  231. ],
  232. owners: [
  233. "movler"
  234. ]
  235. },
  236. {
  237. prefix: "./media/characters/gemini/",
  238. files: [
  239. { name: "front.svg", source: "https://www.furaffinity.net/view/31363584/" },
  240. { name: "back.svg", source: "https://www.furaffinity.net/view/31363584/" },
  241. ],
  242. authors: [
  243. "rebonica"
  244. ],
  245. owners: [
  246. "geminimacro"
  247. ]
  248. },
  249. {
  250. prefix: "./media/characters/gemini/",
  251. files: [
  252. { name: "kneeling.svg", source: "https://www.furaffinity.net/view/31295122/" },
  253. ],
  254. authors: [
  255. "furrypur"
  256. ],
  257. owners: [
  258. "geminimacro"
  259. ]
  260. },
  261. {
  262. prefix: "./media/characters/jaro/",
  263. files: [
  264. { name: "front.svg", source: "https://www.furaffinity.net/view/26084387/" },
  265. { name: "back.svg", source: "https://www.furaffinity.net/view/26084387/" }
  266. ],
  267. authors: [
  268. "mizumisensei"
  269. ],
  270. owners: [
  271. "jaro-the-dragon"
  272. ]
  273. },
  274. {
  275. prefix: "./media/characters/lexi/",
  276. files: [
  277. { name: "front.svg", source: "https://www.furaffinity.net/view/32187352/" }
  278. ],
  279. authors: [
  280. ],
  281. owners: [
  282. "little-big-x110"
  283. ]
  284. },
  285. {
  286. prefix: "./media/characters/malfressa/",
  287. files: [
  288. { name: "side.svg", source: "https://www.furaffinity.net/view/25377262/" },
  289. { name: "feral.svg", source: "https://www.furaffinity.net/view/25377262/" }
  290. ],
  291. authors: [
  292. "d-eath-tail"
  293. ],
  294. owners: [
  295. "scareye"
  296. ]
  297. },
  298. {
  299. prefix: "./media/characters/malfressa/",
  300. files: [
  301. { name: "walking.svg", source: "https://www.furaffinity.net/view/23877052/" }
  302. ],
  303. authors: [
  304. "kerneldecoy"
  305. ],
  306. owners: [
  307. "scareye"
  308. ]
  309. },
  310. {
  311. prefix: "./media/characters/nibbles/",
  312. files: [
  313. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" },
  314. { name: "side.svg", source: "https://www.furaffinity.net/view/22964778/" },
  315. ],
  316. authors: [
  317. "dragga"
  318. ],
  319. owners: [
  320. "movler"
  321. ]
  322. },
  323. {
  324. prefix: "./media/characters/piper/",
  325. files: [
  326. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" }
  327. ],
  328. authors: [
  329. "brit-bork"
  330. ],
  331. owners: [
  332. "flyhar"
  333. ]
  334. },
  335. {
  336. prefix: "./media/characters/rikky/",
  337. files: [
  338. { name: "side.svg", source: null }
  339. ],
  340. authors: [
  341. "ethan64"
  342. ],
  343. owners: [
  344. "quake-yote"
  345. ]
  346. },
  347. {
  348. prefix: "./media/characters/rogue/",
  349. files: [
  350. { name: "front.svg", source: "http://rogue.macrophile.com/ken" }
  351. ],
  352. authors: [
  353. "cougr"
  354. ],
  355. owners: [
  356. "rogue"
  357. ]
  358. },
  359. {
  360. prefix: "./media/characters/surgo/",
  361. files: [
  362. { name: "front.svg", source: "https://www.furaffinity.net/view/33348481/" },
  363. { name: "back.svg", source: "https://www.furaffinity.net/view/33348481/" },
  364. { name: "laying.svg", source: "https://www.furaffinity.net/view/33348481/" },
  365. ],
  366. authors: [
  367. "gaiawolfess",
  368. "malakhael"
  369. ],
  370. owners: [
  371. "movler"
  372. ]
  373. },
  374. {
  375. prefix: "./media/characters/tiberius/",
  376. files: [
  377. { name: "front.svg", source: "https://www.furaffinity.net/view/34977812/" },
  378. { name: "back.svg", source: "https://www.furaffinity.net/view/34977812/" }
  379. ],
  380. authors: [
  381. "rebonica"
  382. ],
  383. owners: [
  384. "movler"
  385. ]
  386. },
  387. {
  388. prefix: "./media/characters/",
  389. files: [
  390. { name: "", source: "" }
  391. ],
  392. authors: [
  393. ]
  394. },
  395. {
  396. prefix: "./media/objects/humans/",
  397. files: [
  398. { name: "woman-1.svg", source: "https://commons.wikimedia.org/wiki/File:1Silhouette_Female.svg" }
  399. ],
  400. authors: [
  401. "phil-bronnery",
  402. "beao"
  403. ]
  404. },
  405. {
  406. prefix: "./media/objects/humans/",
  407. files: [
  408. { name: "man-1.svg", source: "https://commons.wikimedia.org/wiki/File:Silhouette.svg" }
  409. ],
  410. authors: [
  411. ]
  412. },
  413. {
  414. prefix: "./media/vehicles/",
  415. files: [
  416. { name: "titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" },
  417. { name: "vertical-titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" }
  418. ],
  419. authors: [
  420. ]
  421. },
  422. ],
  423. people: {
  424. "appledectomy": {
  425. name: "Appledectomy",
  426. url: "https://www.furaffinity.net/user/appledectomy"
  427. },
  428. "archy-d": {
  429. name: "ArchyD",
  430. url: "https://www.furaffinity.net/user/ArchyD"
  431. },
  432. "ashtrek": {
  433. name: "Ashtrek",
  434. url: "https://www.furaffinity.net/user/ashtrek/"
  435. },
  436. "aviraptia": {
  437. name: "Aviraptia",
  438. url: "https://www.furaffinity.net/user/aviraptia/"
  439. },
  440. "beao": {
  441. name: "Beao",
  442. url: "https://commons.wikimedia.org/wiki/User:Beao"
  443. },
  444. "brit-bork": {
  445. name: "Koijot",
  446. url: "https://twitter.com/Brit_Bork",
  447. },
  448. "cardboardhead": {
  449. name: "cardboardhead",
  450. url: "https://twitter.com/cardboardhead"
  451. },
  452. "chemicalcrux": {
  453. name: "chemicalcrux",
  454. url: "https://www.furaffinity.net/user/chemicalcrux"
  455. },
  456. "chesta": {
  457. name: "Chesta",
  458. url: "https://www.furaffinity.net/user/chesta"
  459. },
  460. "clown-grin": {
  461. name: "clown-grin",
  462. url: "https://www.furaffinity.net/user/clown-grin"
  463. },
  464. "cougr": {
  465. name: "Cougr",
  466. url: "https://www.furaffinity.net/user/cougr"
  467. },
  468. "d-eath-tail": {
  469. name: "Deathy",
  470. url: "https://www.furaffinity.net/user/d-eath-tail"
  471. },
  472. "Dialuca01": {
  473. name: "Dialuca",
  474. url: "https://www.furaffinity.net/user/dialuca01"
  475. },
  476. "dragga": {
  477. name: "Dragga",
  478. url: "https://www.furaffinity.net/user/dragga"
  479. },
  480. "ethan64": {
  481. name: "Ethan64",
  482. url: "https://www.furaffinity.net/user/ethan64/"
  483. },
  484. "flyhar": {
  485. name: "Flyhar",
  486. url: "https://www.furaffinity.net/user/flyfeline/"
  487. },
  488. "furrypur": {
  489. name: "FurryPur",
  490. url: "https://www.furaffinity.net/user/furrypur/"
  491. },
  492. "gaiawolfess": {
  493. name: "Gaiawolfess",
  494. url: "https://www.furaffinity.net/user/gaiawolfess"
  495. },
  496. "geminimacro": {
  497. name: "geminimacro",
  498. url: "https://www.furaffinity.net/user/lajay"
  499. },
  500. "helisa-adopts": {
  501. name: "Helisa",
  502. url: "https://www.furaffinity.net/user/HelisaAdopts"
  503. },
  504. "jaro-the-dragon": {
  505. name: "Jaro",
  506. url: "https://www.furaffinity.net/user/jarothedragon/"
  507. },
  508. "jaydom": {
  509. name: "Jaydom",
  510. url: "https://www.furaffinity.net/user/jaydom"
  511. },
  512. "just-a-little-mixed-up": {
  513. name: "just-a-little-mixed-up",
  514. url: "https://www.furaffinity.net/user/just-a-little-mixed-up"
  515. },
  516. "kerneldecoy": {
  517. name: "Kernel Decoy",
  518. url: "https://www.furaffinity.net/user/kerneldecoy/"
  519. },
  520. "kurrikage": {
  521. name: "Kurrikage",
  522. url: "https://www.furaffinity.net/user/kurrikage/"
  523. },
  524. "labratkuma": {
  525. name: "labratkuma",
  526. url: "https://www.furaffinity.net/user/labratkuma"
  527. },
  528. "little-big-x110": {
  529. name: "LittleBig",
  530. url: "https://www.furaffinity.net/user/LittlebigX110"
  531. },
  532. "lynxsprout": {
  533. name: "Lynxsprout",
  534. url: "https://lynxsprout.carrd.co/"
  535. },
  536. "malakhael": {
  537. name: "Malakhael",
  538. url: "https://www.furaffinity.net/user/malakhael"
  539. },
  540. "mallowchu": {
  541. name: "Mallowchu",
  542. url: "https://www.furaffinity.net/user/mallowchu"
  543. },
  544. "mizumisensei": {
  545. name: "Mizumisensei",
  546. url: "https://twitter.com/mizumisensei"
  547. },
  548. "movler": {
  549. name: "Movler",
  550. url: "https://www.furaffinity.net/user/movler/"
  551. },
  552. "oselotti": {
  553. name: "Oselotti",
  554. url: "https://www.furaffinity.net/user/oselotti"
  555. },
  556. "phil-bronnery": {
  557. name: "Phil Bronnery",
  558. url: "https://www.flickr.com/people/27919241@N02"
  559. },
  560. "quake-yote": {
  561. name: "Quake Yote",
  562. url: "https://www.furaffinity.net/user/rokossovskiy"
  563. },
  564. "rebonica": {
  565. name: "Rebonica",
  566. url: "https://www.furaffinity.net/user/rebonica"
  567. },
  568. "rogue": {
  569. name: "Rogue Megawolf",
  570. url: "https://twitter.com/roguemegawolf"
  571. },
  572. "scareye": {
  573. name: "Scareye",
  574. url: "https://www.furaffinity.net/user/scareye/"
  575. },
  576. "silverwingink": {
  577. name: "silverwingink",
  578. url: "https://www.furaffinity.net/gallery/silverwingink/"
  579. },
  580. "spyropurple": {
  581. name: "spyropurple",
  582. url: "https://www.furaffinity.net/user/spyropurple/"
  583. },
  584. "stonerabbit": {
  585. name: "stonerabbit",
  586. url: "https://www.furaffinity.net/user/stonerabbit/"
  587. },
  588. "sugarbeans": {
  589. name: "sugarbeans",
  590. url: "https://www.furaffinity.net/user/sugarbeans/"
  591. },
  592. "twitch-the-dragon": {
  593. name: "Twitch",
  594. url: "https://www.furaffinity.net/user/twitchthedragon/"
  595. },
  596. "zyraxus": {
  597. name: "Zyraxus",
  598. url: "https://www.furaffinity.net/user/zyraxus"
  599. }
  600. }
  601. }
  602. const attribution = {};
  603. function prepareAttribution() {
  604. attribution["files"] = {};
  605. attributionData.sources.forEach(citation => {
  606. citation.files.forEach(file => {
  607. attribution.files[citation.prefix + file.name] = {
  608. authors: citation.authors,
  609. owners: citation.owners,
  610. source: file.source
  611. }
  612. })
  613. });
  614. }
  615. function authorsOf(file) {
  616. if (attribution.files[file])
  617. return attribution.files[file].authors;
  618. else
  619. return undefined;
  620. }
  621. function authorsOfFull(file) {
  622. if (attribution.files[file]) {
  623. const result = [];
  624. attribution.files[file].authors.forEach(author => {
  625. result.push(attributionData.people[author]);
  626. });
  627. return result;
  628. }
  629. else
  630. return undefined;
  631. }
  632. function ownersOf(file) {
  633. if (attribution.files[file])
  634. return attribution.files[file].owners;
  635. else
  636. return undefined;
  637. }
  638. function ownersOfFull(file) {
  639. if (attribution.files[file]) {
  640. if (attribution.files[file].owners !== undefined) {
  641. const result = [];
  642. attribution.files[file].owners.forEach(owner => {
  643. result.push(attributionData.people[owner]);
  644. });
  645. return result;
  646. } else {
  647. return [];
  648. }
  649. }
  650. else
  651. return undefined;
  652. }
  653. function sourceOf(file) {
  654. if (attribution.files[file])
  655. return attribution.files[file].source;
  656. else
  657. return undefined;
  658. }
  659. prepareAttribution();