| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 | 
							- import { lang } from "./lang.js";
 
- class element {
 
-     #id;
 
-     #pictures;
 
-     #mesh;
 
-     #name;
 
-     #description;
 
-     #params;
 
-     #links;
 
-     #thumbnail;
 
-     constructor(id) {
 
-         if (typeof(id) !== "number") {
 
-             throw "ID must be number.";
 
-         }
 
-         this.#id = id;
 
-         this.#pictures = new Set();
 
-         this.#params = new Map();
 
-         this.#links = new Map();
 
-         this.#name = undefined;
 
-         this.#mesh = undefined;
 
-         this.#thumbnail = undefined;
 
-     }
 
-     get id() {
 
-         return this.#id;
 
-     }
 
-     set name(content) {
 
-         if (typeof(content) !== "string") {
 
-             throw "Name must be string.";
 
-         }
 
-         this.#name = content;
 
-     }
 
-     get name() {
 
-         return this.#name;
 
-     }
 
-     get mesh() {
 
-         return this.#mesh;
 
-     }
 
-     set mesh(content) {
 
-         if (typeof(content) !== "string") {
 
-             throw "Mesh URL must be string.";
 
-         }
 
-         this.#mesh = content;
 
-     }
 
-     set thumbnail(content) {
 
-         if (typeof(content) !== "string") {
 
-             throw "Thumbnail URL must be string.";
 
-         }   
 
-     }
 
-     
 
-     get thumbnail() {
 
-         return this.#thumbnail;
 
-     }
 
-     
 
-     get links() {
 
-         return this.#links;
 
-     }
 
-     get params() {
 
-         return this.#params;
 
-     }
 
-     get pictures() {
 
-         return this.#pictures;
 
-     }       
 
- }
 
- export { element };
 
 
  |