├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── build.js ├── dist ├── index.css ├── index.js ├── manifest.json └── preview.png ├── manifest.json ├── package-lock.json ├── package.json ├── rome.json ├── src ├── global.d.ts ├── hooks.ts ├── index.scss ├── index.tsx └── soundProcessor │ ├── Bar.js │ ├── Player.js │ ├── Square.js │ ├── VisualCanvas.js │ └── util.js └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | /package.lock 3 | /yarn.lock 4 | /index.js 5 | /index.css 6 | /startup_script.css -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SimpleAudioVisualizer 2 | ![](./dist/preview.png) 3 | 4 | ![image](https://user-images.githubusercontent.com/66859419/212483359-dbaa3967-f3b1-4b3d-b079-1e7e1f429b97.png) 5 | -------------------------------------------------------------------------------- /build.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | const { build } = require("esbuild"); 3 | const { sassPlugin } = require("esbuild-sass-plugin") 4 | const entryPoints = []; 5 | const checkEntry = (path) => { 6 | if (fs.existsSync(path)) entryPoints.push(path); 7 | }; 8 | 9 | checkEntry("src/index.tsx"); 10 | checkEntry("src/startup_script.ts"); 11 | 12 | build({ 13 | entryPoints, 14 | target: "chrome91", 15 | bundle: true, 16 | sourcemap: process.argv.includes("--dev") ? "inline" : false, 17 | minify: !process.argv.includes("--dev"), 18 | outdir: process.argv.includes("--dev") ? "./" : "./dist", 19 | define: { 20 | DEBUG: process.argv.includes("--dev").toString(), 21 | }, 22 | watch: process.argv.includes("--watch") 23 | ? { 24 | onRebuild(err, result) { 25 | console.log("Rebuilding"); 26 | if (err) { 27 | console.warn(err.message); 28 | } else if (result) { 29 | console.log("Build success"); 30 | } 31 | }, 32 | } 33 | : undefined, 34 | plugins: [sassPlugin()], 35 | }).then(() => { 36 | console.log("Build success"); 37 | }); 38 | -------------------------------------------------------------------------------- /dist/index.css: -------------------------------------------------------------------------------- 1 | #main-player.audioVisualizerModifyMP{background:linear-gradient(0deg,#232136 30%,transparent)!important}.audioVisualizerCanvasParent{position:absolute;left:0;top:0;height:100%;right:0}.audioVisualizerCanvasParent .audioVisualizerCanvas{transform-origin:top left;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-mask-image:linear-gradient(transparent 10%,black 70%,transparent)} 2 | -------------------------------------------------------------------------------- /dist/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 1, 3 | "name": "SimpleAudioVisualizer", 4 | "slug": "SimpleAudioVisualizer", 5 | "version": "0.1.3", 6 | "description": "在播放页面显示音频可视化视效!", 7 | "betterncm_version": ">=1.0.0", 8 | "author_links": ["https://github.com/woshizja/sound-processor"], 9 | "preview": "preview.png", 10 | "loadAfter": ["LibFrontendPlay"], 11 | "requirements": ["LibFrontendPlay"], 12 | "author": "MicroBlock & woshizja", 13 | "injects": { 14 | "Main": [{ 15 | "file": "index.js" 16 | }] 17 | } 18 | } -------------------------------------------------------------------------------- /dist/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BetterNCM/SimpleAudioVisualizer/e683aa55f510de4437212850588cd7bd5318129e/dist/preview.png -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 1, 3 | "name": "SimpleAudioVisualizer", 4 | "version": "0.1.3", 5 | "description": "在播放页面显示音频可视化视效!", 6 | "betterncm_version": ">=1.0.0", 7 | "author_links": ["https://github.com/woshizja/sound-processor"], 8 | "preview": "preview.png", 9 | "loadAfter": ["LibFrontendPlay"], 10 | "requirements": ["LibFrontendPlay"], 11 | "author": "MicroBlock & woshizja", 12 | "injects": { 13 | "Main": [{ 14 | "file": "index.js" 15 | }] 16 | } 17 | } -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "betterncm-plugin-template", 3 | "version": "1.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "betterncm-plugin-template", 9 | "version": "1.0.0", 10 | "license": "MIT", 11 | "dependencies": { 12 | "@types/react": "^18.0.26", 13 | "@types/react-dom": "^18.0.9", 14 | "esbuild": "^0.16.1", 15 | "esbuild-sass-plugin": "^2.4.5", 16 | "esbuild-stylus-loader": "^0.4.2", 17 | "less": "^4.1.3", 18 | "node-vibrant": "^3.2.1-alpha.1", 19 | "react": "^18.2.0", 20 | "react-dom": "^18.2.0", 21 | "stylus": "^0.59.0", 22 | "typescript": "^4.9.4" 23 | }, 24 | "devDependencies": { 25 | "@types/less": "^3.0.3" 26 | } 27 | }, 28 | "node_modules/@adobe/css-tools": { 29 | "version": "4.0.1", 30 | "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.0.1.tgz", 31 | "integrity": "sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==", 32 | "license": "MIT" 33 | }, 34 | "node_modules/@babel/runtime": { 35 | "version": "7.20.7", 36 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.7.tgz", 37 | "integrity": "sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==", 38 | "license": "MIT", 39 | "dependencies": { 40 | "regenerator-runtime": "^0.13.11" 41 | }, 42 | "engines": { 43 | "node": ">=6.9.0" 44 | } 45 | }, 46 | "node_modules/@esbuild/win32-x64": { 47 | "version": "0.16.12", 48 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.12.tgz", 49 | "integrity": "sha512-iPYKN78t3op2+erv2frW568j1q0RpqX6JOLZ7oPPaAV1VaF7dDstOrNw37PVOYoTWE11pV4A1XUitpdEFNIsPg==", 50 | "cpu": [ 51 | "x64" 52 | ], 53 | "license": "MIT", 54 | "optional": true, 55 | "os": [ 56 | "win32" 57 | ], 58 | "engines": { 59 | "node": ">=12" 60 | } 61 | }, 62 | "node_modules/@jimp/bmp": { 63 | "version": "0.16.2", 64 | "resolved": "https://registry.npmjs.org/@jimp/bmp/-/bmp-0.16.2.tgz", 65 | "integrity": "sha512-4g9vW45QfMoGhLVvaFj26h4e7cC+McHUQwyFQmNTLW4FfC1OonN9oUr2m/FEDGkTYKR7aqdXR5XUqqIkHWLaFw==", 66 | "license": "MIT", 67 | "dependencies": { 68 | "@babel/runtime": "^7.7.2", 69 | "@jimp/utils": "^0.16.2", 70 | "bmp-js": "^0.1.0" 71 | }, 72 | "peerDependencies": { 73 | "@jimp/custom": ">=0.3.5" 74 | } 75 | }, 76 | "node_modules/@jimp/core": { 77 | "version": "0.16.2", 78 | "resolved": "https://registry.npmjs.org/@jimp/core/-/core-0.16.2.tgz", 79 | "integrity": "sha512-dp7HcyUMzjXphXYodI6PaXue+I9PXAavbb+AN+1XqFbotN22Z12DosNPEyy+UhLY/hZiQQqUkEaJHkvV31rs+w==", 80 | "license": "MIT", 81 | "dependencies": { 82 | "@babel/runtime": "^7.7.2", 83 | "@jimp/utils": "^0.16.2", 84 | "any-base": "^1.1.0", 85 | "buffer": "^5.2.0", 86 | "exif-parser": "^0.1.12", 87 | "file-type": "^9.0.0", 88 | "load-bmfont": "^1.3.1", 89 | "mkdirp": "^0.5.1", 90 | "phin": "^2.9.1", 91 | "pixelmatch": "^4.0.2", 92 | "tinycolor2": "^1.4.1" 93 | } 94 | }, 95 | "node_modules/@jimp/custom": { 96 | "version": "0.16.2", 97 | "resolved": "https://registry.npmjs.org/@jimp/custom/-/custom-0.16.2.tgz", 98 | "integrity": "sha512-GtNwOs4hcVS2GIbqRUf42rUuX07oLB92cj7cqxZb0ZGWwcwhnmSW0TFLAkNafXmqn9ug4VTpNvcJSUdiuECVKg==", 99 | "license": "MIT", 100 | "dependencies": { 101 | "@babel/runtime": "^7.7.2", 102 | "@jimp/core": "^0.16.2" 103 | } 104 | }, 105 | "node_modules/@jimp/gif": { 106 | "version": "0.16.2", 107 | "resolved": "https://registry.npmjs.org/@jimp/gif/-/gif-0.16.2.tgz", 108 | "integrity": "sha512-TMdyT9Q0paIKNtT7c5KzQD29CNCsI/t8ka28jMrBjEK7j5RRTvBfuoOnHv7pDJRCjCIqeUoaUSJ7QcciKic6CA==", 109 | "license": "MIT", 110 | "dependencies": { 111 | "@babel/runtime": "^7.7.2", 112 | "@jimp/utils": "^0.16.2", 113 | "gifwrap": "^0.9.2", 114 | "omggif": "^1.0.9" 115 | }, 116 | "peerDependencies": { 117 | "@jimp/custom": ">=0.3.5" 118 | } 119 | }, 120 | "node_modules/@jimp/jpeg": { 121 | "version": "0.16.2", 122 | "resolved": "https://registry.npmjs.org/@jimp/jpeg/-/jpeg-0.16.2.tgz", 123 | "integrity": "sha512-BW5gZydgq6wdIwHd+3iUNgrTklvoQc/FUKSj9meM6A0FU21lUaansRX5BDdJqHkyXJLnnlDGwDt27J+hQuBAVw==", 124 | "license": "MIT", 125 | "dependencies": { 126 | "@babel/runtime": "^7.7.2", 127 | "@jimp/utils": "^0.16.2", 128 | "jpeg-js": "^0.4.2" 129 | }, 130 | "peerDependencies": { 131 | "@jimp/custom": ">=0.3.5" 132 | } 133 | }, 134 | "node_modules/@jimp/plugin-resize": { 135 | "version": "0.16.2", 136 | "resolved": "https://registry.npmjs.org/@jimp/plugin-resize/-/plugin-resize-0.16.2.tgz", 137 | "integrity": "sha512-gE4N9l6xuwzacFZ2EPCGZCJ/xR+aX2V7GdMndIl/6kYIw5/eib1SFuF9AZLvIPSFuE1FnGo8+vT0pr++SSbhYg==", 138 | "license": "MIT", 139 | "dependencies": { 140 | "@babel/runtime": "^7.7.2", 141 | "@jimp/utils": "^0.16.2" 142 | }, 143 | "peerDependencies": { 144 | "@jimp/custom": ">=0.3.5" 145 | } 146 | }, 147 | "node_modules/@jimp/png": { 148 | "version": "0.16.2", 149 | "resolved": "https://registry.npmjs.org/@jimp/png/-/png-0.16.2.tgz", 150 | "integrity": "sha512-sFOtOSz/tzDwXEChFQ/Nxe+0+vG3Tj0eUxnZVDUG/StXE9dI8Bqmwj3MIa0EgK5s+QG3YlnDOmlPUa4JqmeYeQ==", 151 | "license": "MIT", 152 | "dependencies": { 153 | "@babel/runtime": "^7.7.2", 154 | "@jimp/utils": "^0.16.2", 155 | "pngjs": "^3.3.3" 156 | }, 157 | "peerDependencies": { 158 | "@jimp/custom": ">=0.3.5" 159 | } 160 | }, 161 | "node_modules/@jimp/tiff": { 162 | "version": "0.16.2", 163 | "resolved": "https://registry.npmjs.org/@jimp/tiff/-/tiff-0.16.2.tgz", 164 | "integrity": "sha512-ADcdqmtZF+U2YoaaHTzFX8D6NFpmN4WZUT0BPMerEuY7Cq8QoLYU22z2h034FrVW+Rbi1b3y04sB9iDiQAlf2w==", 165 | "license": "MIT", 166 | "dependencies": { 167 | "@babel/runtime": "^7.7.2", 168 | "utif": "^2.0.1" 169 | }, 170 | "peerDependencies": { 171 | "@jimp/custom": ">=0.3.5" 172 | } 173 | }, 174 | "node_modules/@jimp/types": { 175 | "version": "0.16.2", 176 | "resolved": "https://registry.npmjs.org/@jimp/types/-/types-0.16.2.tgz", 177 | "integrity": "sha512-0Ue5Sq0XnDF6TirisWv5E+8uOnRcd8vRLuwocJOhF76NIlcQrz+5r2k2XWKcr3d+11n28dHLXW5TKSqrUopxhA==", 178 | "license": "MIT", 179 | "dependencies": { 180 | "@babel/runtime": "^7.7.2", 181 | "@jimp/bmp": "^0.16.2", 182 | "@jimp/gif": "^0.16.2", 183 | "@jimp/jpeg": "^0.16.2", 184 | "@jimp/png": "^0.16.2", 185 | "@jimp/tiff": "^0.16.2", 186 | "timm": "^1.6.1" 187 | }, 188 | "peerDependencies": { 189 | "@jimp/custom": ">=0.3.5" 190 | } 191 | }, 192 | "node_modules/@jimp/utils": { 193 | "version": "0.16.2", 194 | "resolved": "https://registry.npmjs.org/@jimp/utils/-/utils-0.16.2.tgz", 195 | "integrity": "sha512-XENrPvmigiXZQ8E2nxJqO6UVvWBLzbNwyYi3Y8Q1IECoYhYI3kgOQ0fmy4G269Vz1V0omh1bNmC42r4OfXg1Jg==", 196 | "license": "MIT", 197 | "dependencies": { 198 | "@babel/runtime": "^7.7.2", 199 | "regenerator-runtime": "^0.13.3" 200 | } 201 | }, 202 | "node_modules/@types/less": { 203 | "version": "3.0.3", 204 | "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.3.tgz", 205 | "integrity": "sha512-1YXyYH83h6We1djyoUEqTlVyQtCfJAFXELSKW2ZRtjHD4hQ82CC4lvrv5D0l0FLcKBaiPbXyi3MpMsI9ZRgKsw==", 206 | "dev": true 207 | }, 208 | "node_modules/@types/node": { 209 | "version": "10.17.60", 210 | "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", 211 | "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", 212 | "license": "MIT" 213 | }, 214 | "node_modules/@types/prop-types": { 215 | "version": "15.7.5", 216 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", 217 | "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", 218 | "license": "MIT" 219 | }, 220 | "node_modules/@types/react": { 221 | "version": "18.0.26", 222 | "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.26.tgz", 223 | "integrity": "sha512-hCR3PJQsAIXyxhTNSiDFY//LhnMZWpNNr5etoCqx/iUfGc5gXWtQR2Phl908jVR6uPXacojQWTg4qRpkxTuGug==", 224 | "license": "MIT", 225 | "dependencies": { 226 | "@types/prop-types": "*", 227 | "@types/scheduler": "*", 228 | "csstype": "^3.0.2" 229 | } 230 | }, 231 | "node_modules/@types/react-dom": { 232 | "version": "18.0.10", 233 | "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.10.tgz", 234 | "integrity": "sha512-E42GW/JA4Qv15wQdqJq8DL4JhNpB3prJgjgapN3qJT9K2zO5IIAQh4VXvCEDupoqAwnz0cY4RlXeC/ajX5SFHg==", 235 | "license": "MIT", 236 | "dependencies": { 237 | "@types/react": "*" 238 | } 239 | }, 240 | "node_modules/@types/scheduler": { 241 | "version": "0.16.2", 242 | "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", 243 | "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", 244 | "license": "MIT" 245 | }, 246 | "node_modules/@vibrant/color": { 247 | "version": "3.2.1-alpha.1", 248 | "resolved": "https://registry.npmjs.org/@vibrant/color/-/color-3.2.1-alpha.1.tgz", 249 | "integrity": "sha512-cvm+jAPwao2NerTr3d1JttYyLhp3eD/AQBeevxF7KT6HctToWZCwr2AeTr003/wKgbjzdOV1qySnbyOeu+R+Jw==", 250 | "license": "MIT" 251 | }, 252 | "node_modules/@vibrant/core": { 253 | "version": "3.2.1-alpha.1", 254 | "resolved": "https://registry.npmjs.org/@vibrant/core/-/core-3.2.1-alpha.1.tgz", 255 | "integrity": "sha512-X9Oa9WfPEQnZ6L+5dLRlh+IlsxJkYTw9b/g3stFKoNXbVRKCeXHmH48l7jIBBOg3VcXOGUdsYBqsTwPNkIveaA==", 256 | "license": "MIT", 257 | "dependencies": { 258 | "@vibrant/color": "^3.2.1-alpha.1", 259 | "@vibrant/generator": "^3.2.1-alpha.1", 260 | "@vibrant/image": "^3.2.1-alpha.1", 261 | "@vibrant/quantizer": "^3.2.1-alpha.1", 262 | "@vibrant/types": "^3.2.1-alpha.1", 263 | "@vibrant/worker": "^3.2.1-alpha.1" 264 | } 265 | }, 266 | "node_modules/@vibrant/generator": { 267 | "version": "3.2.1-alpha.1", 268 | "resolved": "https://registry.npmjs.org/@vibrant/generator/-/generator-3.2.1-alpha.1.tgz", 269 | "integrity": "sha512-luS5YvMhwMqG01YTj1dJ+cmkuIw1VCByOR6zIaCOwQqI/mcOs88JBWcA1r2TywJTOPlVpjfnDvAlyaKBKh4dMA==", 270 | "license": "MIT", 271 | "dependencies": { 272 | "@vibrant/color": "^3.2.1-alpha.1", 273 | "@vibrant/types": "^3.2.1-alpha.1" 274 | } 275 | }, 276 | "node_modules/@vibrant/generator-default": { 277 | "version": "3.2.1-alpha.1", 278 | "resolved": "https://registry.npmjs.org/@vibrant/generator-default/-/generator-default-3.2.1-alpha.1.tgz", 279 | "integrity": "sha512-BWnQhDaz92UhyHnpdAzKXHQecY+jvyMXtzjKYbveFxThm6+HVoLjwONlbck7oyOpFzV2OM7V11XuR85BxaHvjw==", 280 | "license": "MIT", 281 | "dependencies": { 282 | "@vibrant/color": "^3.2.1-alpha.1", 283 | "@vibrant/generator": "^3.2.1-alpha.1" 284 | } 285 | }, 286 | "node_modules/@vibrant/image": { 287 | "version": "3.2.1-alpha.1", 288 | "resolved": "https://registry.npmjs.org/@vibrant/image/-/image-3.2.1-alpha.1.tgz", 289 | "integrity": "sha512-4aF5k79QfyhZOqRovJpbnIjWfe3uuWhY8voqVdd4/qgu4o70/AwVlM+pYmCaJVzI45VWNWWHYA5QlYuKsXnBqQ==", 290 | "license": "MIT", 291 | "dependencies": { 292 | "@vibrant/color": "^3.2.1-alpha.1", 293 | "@vibrant/types": "^3.2.1-alpha.1" 294 | } 295 | }, 296 | "node_modules/@vibrant/image-browser": { 297 | "version": "3.2.1-alpha.1", 298 | "resolved": "https://registry.npmjs.org/@vibrant/image-browser/-/image-browser-3.2.1-alpha.1.tgz", 299 | "integrity": "sha512-6xWvQfB20sE6YtCWylgEAHuee3iD8h3aFIDbCS2yj7jIelKcYTrrp5jg2d2BhOOB6pC5JzF+QfpCrm0DmAIlgQ==", 300 | "license": "MIT", 301 | "dependencies": { 302 | "@vibrant/image": "^3.2.1-alpha.1" 303 | } 304 | }, 305 | "node_modules/@vibrant/image-node": { 306 | "version": "3.2.1-alpha.1", 307 | "resolved": "https://registry.npmjs.org/@vibrant/image-node/-/image-node-3.2.1-alpha.1.tgz", 308 | "integrity": "sha512-/Io/Rpo4EkO6AhaXdcxUXkbOFhSFtjm0LSAM4c0AyGA5EbC8PyZqjk8b11bQAEMCaYaweFQfTdGD7oVbXe21CQ==", 309 | "license": "MIT", 310 | "dependencies": { 311 | "@jimp/custom": "^0.16.1", 312 | "@jimp/plugin-resize": "^0.16.1", 313 | "@jimp/types": "^0.16.1", 314 | "@vibrant/image": "^3.2.1-alpha.1" 315 | } 316 | }, 317 | "node_modules/@vibrant/quantizer": { 318 | "version": "3.2.1-alpha.1", 319 | "resolved": "https://registry.npmjs.org/@vibrant/quantizer/-/quantizer-3.2.1-alpha.1.tgz", 320 | "integrity": "sha512-iHnPx/+n4iLtYLm1GClSfyg2fFbMatFG0ipCyp9M6tXNIPAg+pSvUJSGBnVnH7Nl/bR8Gkkj1h0pJ4RsKcdIrQ==", 321 | "license": "MIT", 322 | "dependencies": { 323 | "@vibrant/color": "^3.2.1-alpha.1", 324 | "@vibrant/image": "^3.2.1-alpha.1", 325 | "@vibrant/types": "^3.2.1-alpha.1" 326 | } 327 | }, 328 | "node_modules/@vibrant/quantizer-mmcq": { 329 | "version": "3.2.1-alpha.1", 330 | "resolved": "https://registry.npmjs.org/@vibrant/quantizer-mmcq/-/quantizer-mmcq-3.2.1-alpha.1.tgz", 331 | "integrity": "sha512-Wuk9PTZtxr8qsWTcgP6lcrrmrq36syVwxf+BUxdgQYntBcQ053SaN34lVGOJ0WPdK5vABoxbYljhceCgiILtZw==", 332 | "license": "MIT", 333 | "dependencies": { 334 | "@vibrant/color": "^3.2.1-alpha.1", 335 | "@vibrant/image": "^3.2.1-alpha.1", 336 | "@vibrant/quantizer": "^3.2.1-alpha.1" 337 | } 338 | }, 339 | "node_modules/@vibrant/types": { 340 | "version": "3.2.1-alpha.1", 341 | "resolved": "https://registry.npmjs.org/@vibrant/types/-/types-3.2.1-alpha.1.tgz", 342 | "integrity": "sha512-ts9u7nsrENoYI5s0MmPOeY5kCLFKvQndKVDOPFCbTA0z493uhDp8mpiQhjFYTf3kPbS04z9zbHLE2luFC7x4KQ==", 343 | "license": "MIT" 344 | }, 345 | "node_modules/@vibrant/worker": { 346 | "version": "3.2.1-alpha.1", 347 | "resolved": "https://registry.npmjs.org/@vibrant/worker/-/worker-3.2.1-alpha.1.tgz", 348 | "integrity": "sha512-mtSlBdHkFNr4FOnMtqtHJxy9z5AsUcZzGlpiHzvWOoaoN9lNTDPwxOBd0q4VTYWuGPrIm6Fuq5m7aRbLv7KqiQ==", 349 | "license": "MIT", 350 | "dependencies": { 351 | "@vibrant/types": "^3.2.1-alpha.1" 352 | } 353 | }, 354 | "node_modules/any-base": { 355 | "version": "1.1.0", 356 | "resolved": "https://registry.npmjs.org/any-base/-/any-base-1.1.0.tgz", 357 | "integrity": "sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==", 358 | "license": "MIT" 359 | }, 360 | "node_modules/anymatch": { 361 | "version": "3.1.3", 362 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 363 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 364 | "license": "ISC", 365 | "dependencies": { 366 | "normalize-path": "^3.0.0", 367 | "picomatch": "^2.0.4" 368 | }, 369 | "engines": { 370 | "node": ">= 8" 371 | } 372 | }, 373 | "node_modules/balanced-match": { 374 | "version": "1.0.2", 375 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 376 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 377 | "license": "MIT" 378 | }, 379 | "node_modules/base64-js": { 380 | "version": "1.5.1", 381 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 382 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 383 | "funding": [ 384 | { 385 | "type": "github", 386 | "url": "https://github.com/sponsors/feross" 387 | }, 388 | { 389 | "type": "patreon", 390 | "url": "https://www.patreon.com/feross" 391 | }, 392 | { 393 | "type": "consulting", 394 | "url": "https://feross.org/support" 395 | } 396 | ], 397 | "license": "MIT" 398 | }, 399 | "node_modules/binary-extensions": { 400 | "version": "2.2.0", 401 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 402 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 403 | "license": "MIT", 404 | "engines": { 405 | "node": ">=8" 406 | } 407 | }, 408 | "node_modules/bmp-js": { 409 | "version": "0.1.0", 410 | "resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz", 411 | "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw==", 412 | "license": "MIT" 413 | }, 414 | "node_modules/brace-expansion": { 415 | "version": "1.1.11", 416 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 417 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 418 | "license": "MIT", 419 | "dependencies": { 420 | "balanced-match": "^1.0.0", 421 | "concat-map": "0.0.1" 422 | } 423 | }, 424 | "node_modules/braces": { 425 | "version": "3.0.2", 426 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 427 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 428 | "license": "MIT", 429 | "dependencies": { 430 | "fill-range": "^7.0.1" 431 | }, 432 | "engines": { 433 | "node": ">=8" 434 | } 435 | }, 436 | "node_modules/buffer": { 437 | "version": "5.7.1", 438 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 439 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 440 | "funding": [ 441 | { 442 | "type": "github", 443 | "url": "https://github.com/sponsors/feross" 444 | }, 445 | { 446 | "type": "patreon", 447 | "url": "https://www.patreon.com/feross" 448 | }, 449 | { 450 | "type": "consulting", 451 | "url": "https://feross.org/support" 452 | } 453 | ], 454 | "license": "MIT", 455 | "dependencies": { 456 | "base64-js": "^1.3.1", 457 | "ieee754": "^1.1.13" 458 | } 459 | }, 460 | "node_modules/buffer-equal": { 461 | "version": "0.0.1", 462 | "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz", 463 | "integrity": "sha512-RgSV6InVQ9ODPdLWJ5UAqBqJBOg370Nz6ZQtRzpt6nUjc8v0St97uJ4PYC6NztqIScrAXafKM3mZPMygSe1ggA==", 464 | "license": "MIT", 465 | "engines": { 466 | "node": ">=0.4.0" 467 | } 468 | }, 469 | "node_modules/chokidar": { 470 | "version": "3.5.3", 471 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 472 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 473 | "funding": [ 474 | { 475 | "type": "individual", 476 | "url": "https://paulmillr.com/funding/" 477 | } 478 | ], 479 | "license": "MIT", 480 | "dependencies": { 481 | "anymatch": "~3.1.2", 482 | "braces": "~3.0.2", 483 | "glob-parent": "~5.1.2", 484 | "is-binary-path": "~2.1.0", 485 | "is-glob": "~4.0.1", 486 | "normalize-path": "~3.0.0", 487 | "readdirp": "~3.6.0" 488 | }, 489 | "engines": { 490 | "node": ">= 8.10.0" 491 | }, 492 | "optionalDependencies": { 493 | "fsevents": "~2.3.2" 494 | } 495 | }, 496 | "node_modules/concat-map": { 497 | "version": "0.0.1", 498 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 499 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 500 | "license": "MIT" 501 | }, 502 | "node_modules/copy-anything": { 503 | "version": "2.0.6", 504 | "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", 505 | "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", 506 | "license": "MIT", 507 | "dependencies": { 508 | "is-what": "^3.14.1" 509 | }, 510 | "funding": { 511 | "url": "https://github.com/sponsors/mesqueeb" 512 | } 513 | }, 514 | "node_modules/csstype": { 515 | "version": "3.1.1", 516 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", 517 | "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==", 518 | "license": "MIT" 519 | }, 520 | "node_modules/debug": { 521 | "version": "4.3.4", 522 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 523 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 524 | "license": "MIT", 525 | "dependencies": { 526 | "ms": "2.1.2" 527 | }, 528 | "engines": { 529 | "node": ">=6.0" 530 | }, 531 | "peerDependenciesMeta": { 532 | "supports-color": { 533 | "optional": true 534 | } 535 | } 536 | }, 537 | "node_modules/dom-walk": { 538 | "version": "0.1.2", 539 | "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", 540 | "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" 541 | }, 542 | "node_modules/errno": { 543 | "version": "0.1.8", 544 | "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", 545 | "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", 546 | "license": "MIT", 547 | "optional": true, 548 | "dependencies": { 549 | "prr": "~1.0.1" 550 | }, 551 | "bin": { 552 | "errno": "cli.js" 553 | } 554 | }, 555 | "node_modules/esbuild": { 556 | "version": "0.16.12", 557 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.12.tgz", 558 | "integrity": "sha512-eq5KcuXajf2OmivCl4e89AD3j8fbV+UTE9vczEzq5haA07U9oOTzBWlh3+6ZdjJR7Rz2QfWZ2uxZyhZxBgJ4+g==", 559 | "hasInstallScript": true, 560 | "license": "MIT", 561 | "bin": { 562 | "esbuild": "bin/esbuild" 563 | }, 564 | "engines": { 565 | "node": ">=12" 566 | }, 567 | "optionalDependencies": { 568 | "@esbuild/android-arm": "0.16.12", 569 | "@esbuild/android-arm64": "0.16.12", 570 | "@esbuild/android-x64": "0.16.12", 571 | "@esbuild/darwin-arm64": "0.16.12", 572 | "@esbuild/darwin-x64": "0.16.12", 573 | "@esbuild/freebsd-arm64": "0.16.12", 574 | "@esbuild/freebsd-x64": "0.16.12", 575 | "@esbuild/linux-arm": "0.16.12", 576 | "@esbuild/linux-arm64": "0.16.12", 577 | "@esbuild/linux-ia32": "0.16.12", 578 | "@esbuild/linux-loong64": "0.16.12", 579 | "@esbuild/linux-mips64el": "0.16.12", 580 | "@esbuild/linux-ppc64": "0.16.12", 581 | "@esbuild/linux-riscv64": "0.16.12", 582 | "@esbuild/linux-s390x": "0.16.12", 583 | "@esbuild/linux-x64": "0.16.12", 584 | "@esbuild/netbsd-x64": "0.16.12", 585 | "@esbuild/openbsd-x64": "0.16.12", 586 | "@esbuild/sunos-x64": "0.16.12", 587 | "@esbuild/win32-arm64": "0.16.12", 588 | "@esbuild/win32-ia32": "0.16.12", 589 | "@esbuild/win32-x64": "0.16.12" 590 | } 591 | }, 592 | "node_modules/esbuild-sass-plugin": { 593 | "version": "2.4.5", 594 | "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.4.5.tgz", 595 | "integrity": "sha512-di2hLaIwhRXe513uaPPxv+5bjynxAgrS8R+u38lbBfvp1g1xOki4ACXV2aXip2CRPGTbAVDySSxujd9iArFV0w==", 596 | "license": "MIT", 597 | "dependencies": { 598 | "esbuild": "^0.15.17", 599 | "resolve": "^1.22.1", 600 | "sass": "^1.56.1" 601 | } 602 | }, 603 | "node_modules/esbuild-sass-plugin/node_modules/esbuild": { 604 | "version": "0.15.18", 605 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.18.tgz", 606 | "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==", 607 | "hasInstallScript": true, 608 | "license": "MIT", 609 | "bin": { 610 | "esbuild": "bin/esbuild" 611 | }, 612 | "engines": { 613 | "node": ">=12" 614 | }, 615 | "optionalDependencies": { 616 | "@esbuild/android-arm": "0.15.18", 617 | "@esbuild/linux-loong64": "0.15.18", 618 | "esbuild-android-64": "0.15.18", 619 | "esbuild-android-arm64": "0.15.18", 620 | "esbuild-darwin-64": "0.15.18", 621 | "esbuild-darwin-arm64": "0.15.18", 622 | "esbuild-freebsd-64": "0.15.18", 623 | "esbuild-freebsd-arm64": "0.15.18", 624 | "esbuild-linux-32": "0.15.18", 625 | "esbuild-linux-64": "0.15.18", 626 | "esbuild-linux-arm": "0.15.18", 627 | "esbuild-linux-arm64": "0.15.18", 628 | "esbuild-linux-mips64le": "0.15.18", 629 | "esbuild-linux-ppc64le": "0.15.18", 630 | "esbuild-linux-riscv64": "0.15.18", 631 | "esbuild-linux-s390x": "0.15.18", 632 | "esbuild-netbsd-64": "0.15.18", 633 | "esbuild-openbsd-64": "0.15.18", 634 | "esbuild-sunos-64": "0.15.18", 635 | "esbuild-windows-32": "0.15.18", 636 | "esbuild-windows-64": "0.15.18", 637 | "esbuild-windows-arm64": "0.15.18" 638 | } 639 | }, 640 | "node_modules/esbuild-stylus-loader": { 641 | "version": "0.4.2", 642 | "resolved": "https://registry.npmjs.org/esbuild-stylus-loader/-/esbuild-stylus-loader-0.4.2.tgz", 643 | "integrity": "sha512-GjJHZQzLfqTrJs5XrnAFtAYwjSCKR91vLWOeVMAzE0Xco3rD7LTRhq0b9Zfc2MoNJdZFAhB+KfsqWgcbOSij9g==", 644 | "license": "MIT", 645 | "engines": { 646 | "node": ">=10.24.1" 647 | }, 648 | "peerDependencies": { 649 | "esbuild": ">=0.9.6", 650 | "stylus": ">=0.52.4" 651 | } 652 | }, 653 | "node_modules/esbuild-windows-64": { 654 | "version": "0.15.18", 655 | "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz", 656 | "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==", 657 | "cpu": [ 658 | "x64" 659 | ], 660 | "license": "MIT", 661 | "optional": true, 662 | "os": [ 663 | "win32" 664 | ], 665 | "engines": { 666 | "node": ">=12" 667 | } 668 | }, 669 | "node_modules/exif-parser": { 670 | "version": "0.1.12", 671 | "resolved": "https://registry.npmjs.org/exif-parser/-/exif-parser-0.1.12.tgz", 672 | "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw==" 673 | }, 674 | "node_modules/file-type": { 675 | "version": "9.0.0", 676 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-9.0.0.tgz", 677 | "integrity": "sha512-Qe/5NJrgIOlwijpq3B7BEpzPFcgzggOTagZmkXQY4LA6bsXKTUstK7Wp12lEJ/mLKTpvIZxmIuRcLYWT6ov9lw==", 678 | "license": "MIT", 679 | "engines": { 680 | "node": ">=6" 681 | } 682 | }, 683 | "node_modules/fill-range": { 684 | "version": "7.0.1", 685 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 686 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 687 | "license": "MIT", 688 | "dependencies": { 689 | "to-regex-range": "^5.0.1" 690 | }, 691 | "engines": { 692 | "node": ">=8" 693 | } 694 | }, 695 | "node_modules/fs.realpath": { 696 | "version": "1.0.0", 697 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 698 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 699 | "license": "ISC" 700 | }, 701 | "node_modules/function-bind": { 702 | "version": "1.1.1", 703 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 704 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 705 | "license": "MIT" 706 | }, 707 | "node_modules/gifwrap": { 708 | "version": "0.9.4", 709 | "resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.9.4.tgz", 710 | "integrity": "sha512-MDMwbhASQuVeD4JKd1fKgNgCRL3fGqMM4WaqpNhWO0JiMOAjbQdumbs4BbBZEy9/M00EHEjKN3HieVhCUlwjeQ==", 711 | "license": "MIT", 712 | "dependencies": { 713 | "image-q": "^4.0.0", 714 | "omggif": "^1.0.10" 715 | } 716 | }, 717 | "node_modules/glob": { 718 | "version": "7.2.3", 719 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 720 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 721 | "license": "ISC", 722 | "dependencies": { 723 | "fs.realpath": "^1.0.0", 724 | "inflight": "^1.0.4", 725 | "inherits": "2", 726 | "minimatch": "^3.1.1", 727 | "once": "^1.3.0", 728 | "path-is-absolute": "^1.0.0" 729 | }, 730 | "engines": { 731 | "node": "*" 732 | }, 733 | "funding": { 734 | "url": "https://github.com/sponsors/isaacs" 735 | } 736 | }, 737 | "node_modules/glob-parent": { 738 | "version": "5.1.2", 739 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 740 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 741 | "license": "ISC", 742 | "dependencies": { 743 | "is-glob": "^4.0.1" 744 | }, 745 | "engines": { 746 | "node": ">= 6" 747 | } 748 | }, 749 | "node_modules/global": { 750 | "version": "4.4.0", 751 | "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", 752 | "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", 753 | "license": "MIT", 754 | "dependencies": { 755 | "min-document": "^2.19.0", 756 | "process": "^0.11.10" 757 | } 758 | }, 759 | "node_modules/graceful-fs": { 760 | "version": "4.2.10", 761 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 762 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", 763 | "license": "ISC", 764 | "optional": true 765 | }, 766 | "node_modules/has": { 767 | "version": "1.0.3", 768 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 769 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 770 | "license": "MIT", 771 | "dependencies": { 772 | "function-bind": "^1.1.1" 773 | }, 774 | "engines": { 775 | "node": ">= 0.4.0" 776 | } 777 | }, 778 | "node_modules/iconv-lite": { 779 | "version": "0.6.3", 780 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", 781 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", 782 | "license": "MIT", 783 | "optional": true, 784 | "dependencies": { 785 | "safer-buffer": ">= 2.1.2 < 3.0.0" 786 | }, 787 | "engines": { 788 | "node": ">=0.10.0" 789 | } 790 | }, 791 | "node_modules/ieee754": { 792 | "version": "1.2.1", 793 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 794 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 795 | "funding": [ 796 | { 797 | "type": "github", 798 | "url": "https://github.com/sponsors/feross" 799 | }, 800 | { 801 | "type": "patreon", 802 | "url": "https://www.patreon.com/feross" 803 | }, 804 | { 805 | "type": "consulting", 806 | "url": "https://feross.org/support" 807 | } 808 | ], 809 | "license": "BSD-3-Clause" 810 | }, 811 | "node_modules/image-q": { 812 | "version": "4.0.0", 813 | "resolved": "https://registry.npmjs.org/image-q/-/image-q-4.0.0.tgz", 814 | "integrity": "sha512-PfJGVgIfKQJuq3s0tTDOKtztksibuUEbJQIYT3by6wctQo+Rdlh7ef4evJ5NCdxY4CfMbvFkocEwbl4BF8RlJw==", 815 | "license": "MIT", 816 | "dependencies": { 817 | "@types/node": "16.9.1" 818 | } 819 | }, 820 | "node_modules/image-q/node_modules/@types/node": { 821 | "version": "16.9.1", 822 | "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.1.tgz", 823 | "integrity": "sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==", 824 | "license": "MIT" 825 | }, 826 | "node_modules/image-size": { 827 | "version": "0.5.5", 828 | "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", 829 | "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", 830 | "license": "MIT", 831 | "optional": true, 832 | "bin": { 833 | "image-size": "bin/image-size.js" 834 | }, 835 | "engines": { 836 | "node": ">=0.10.0" 837 | } 838 | }, 839 | "node_modules/immutable": { 840 | "version": "4.2.1", 841 | "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.2.1.tgz", 842 | "integrity": "sha512-7WYV7Q5BTs0nlQm7tl92rDYYoyELLKHoDMBKhrxEoiV4mrfVdRz8hzPiYOzH7yWjzoVEamxRuAqhxL2PLRwZYQ==", 843 | "license": "MIT" 844 | }, 845 | "node_modules/inflight": { 846 | "version": "1.0.6", 847 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 848 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 849 | "license": "ISC", 850 | "dependencies": { 851 | "once": "^1.3.0", 852 | "wrappy": "1" 853 | } 854 | }, 855 | "node_modules/inherits": { 856 | "version": "2.0.4", 857 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 858 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 859 | "license": "ISC" 860 | }, 861 | "node_modules/is-binary-path": { 862 | "version": "2.1.0", 863 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 864 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 865 | "license": "MIT", 866 | "dependencies": { 867 | "binary-extensions": "^2.0.0" 868 | }, 869 | "engines": { 870 | "node": ">=8" 871 | } 872 | }, 873 | "node_modules/is-core-module": { 874 | "version": "2.11.0", 875 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", 876 | "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", 877 | "license": "MIT", 878 | "dependencies": { 879 | "has": "^1.0.3" 880 | }, 881 | "funding": { 882 | "url": "https://github.com/sponsors/ljharb" 883 | } 884 | }, 885 | "node_modules/is-extglob": { 886 | "version": "2.1.1", 887 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 888 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 889 | "license": "MIT", 890 | "engines": { 891 | "node": ">=0.10.0" 892 | } 893 | }, 894 | "node_modules/is-function": { 895 | "version": "1.0.2", 896 | "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", 897 | "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==", 898 | "license": "MIT" 899 | }, 900 | "node_modules/is-glob": { 901 | "version": "4.0.3", 902 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 903 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 904 | "license": "MIT", 905 | "dependencies": { 906 | "is-extglob": "^2.1.1" 907 | }, 908 | "engines": { 909 | "node": ">=0.10.0" 910 | } 911 | }, 912 | "node_modules/is-number": { 913 | "version": "7.0.0", 914 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 915 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 916 | "license": "MIT", 917 | "engines": { 918 | "node": ">=0.12.0" 919 | } 920 | }, 921 | "node_modules/is-what": { 922 | "version": "3.14.1", 923 | "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", 924 | "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", 925 | "license": "MIT" 926 | }, 927 | "node_modules/jpeg-js": { 928 | "version": "0.4.4", 929 | "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.4.tgz", 930 | "integrity": "sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==", 931 | "license": "BSD-3-Clause" 932 | }, 933 | "node_modules/js-tokens": { 934 | "version": "4.0.0", 935 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 936 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 937 | "license": "MIT" 938 | }, 939 | "node_modules/less": { 940 | "version": "4.1.3", 941 | "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", 942 | "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", 943 | "license": "Apache-2.0", 944 | "dependencies": { 945 | "copy-anything": "^2.0.1", 946 | "parse-node-version": "^1.0.1", 947 | "tslib": "^2.3.0" 948 | }, 949 | "bin": { 950 | "lessc": "bin/lessc" 951 | }, 952 | "engines": { 953 | "node": ">=6" 954 | }, 955 | "optionalDependencies": { 956 | "errno": "^0.1.1", 957 | "graceful-fs": "^4.1.2", 958 | "image-size": "~0.5.0", 959 | "make-dir": "^2.1.0", 960 | "mime": "^1.4.1", 961 | "needle": "^3.1.0", 962 | "source-map": "~0.6.0" 963 | } 964 | }, 965 | "node_modules/less/node_modules/source-map": { 966 | "version": "0.6.1", 967 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 968 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 969 | "license": "BSD-3-Clause", 970 | "optional": true, 971 | "engines": { 972 | "node": ">=0.10.0" 973 | } 974 | }, 975 | "node_modules/load-bmfont": { 976 | "version": "1.4.1", 977 | "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.1.tgz", 978 | "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJ/7Enqmwk2sM14soA==", 979 | "license": "MIT", 980 | "dependencies": { 981 | "buffer-equal": "0.0.1", 982 | "mime": "^1.3.4", 983 | "parse-bmfont-ascii": "^1.0.3", 984 | "parse-bmfont-binary": "^1.0.5", 985 | "parse-bmfont-xml": "^1.1.4", 986 | "phin": "^2.9.1", 987 | "xhr": "^2.0.1", 988 | "xtend": "^4.0.0" 989 | } 990 | }, 991 | "node_modules/loose-envify": { 992 | "version": "1.4.0", 993 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", 994 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", 995 | "license": "MIT", 996 | "dependencies": { 997 | "js-tokens": "^3.0.0 || ^4.0.0" 998 | }, 999 | "bin": { 1000 | "loose-envify": "cli.js" 1001 | } 1002 | }, 1003 | "node_modules/make-dir": { 1004 | "version": "2.1.0", 1005 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", 1006 | "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", 1007 | "license": "MIT", 1008 | "optional": true, 1009 | "dependencies": { 1010 | "pify": "^4.0.1", 1011 | "semver": "^5.6.0" 1012 | }, 1013 | "engines": { 1014 | "node": ">=6" 1015 | } 1016 | }, 1017 | "node_modules/mime": { 1018 | "version": "1.6.0", 1019 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1020 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 1021 | "license": "MIT", 1022 | "bin": { 1023 | "mime": "cli.js" 1024 | }, 1025 | "engines": { 1026 | "node": ">=4" 1027 | } 1028 | }, 1029 | "node_modules/min-document": { 1030 | "version": "2.19.0", 1031 | "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", 1032 | "integrity": "sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ==", 1033 | "dependencies": { 1034 | "dom-walk": "^0.1.0" 1035 | } 1036 | }, 1037 | "node_modules/minimatch": { 1038 | "version": "3.1.2", 1039 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1040 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1041 | "license": "ISC", 1042 | "dependencies": { 1043 | "brace-expansion": "^1.1.7" 1044 | }, 1045 | "engines": { 1046 | "node": "*" 1047 | } 1048 | }, 1049 | "node_modules/minimist": { 1050 | "version": "1.2.7", 1051 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", 1052 | "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", 1053 | "license": "MIT", 1054 | "funding": { 1055 | "url": "https://github.com/sponsors/ljharb" 1056 | } 1057 | }, 1058 | "node_modules/mkdirp": { 1059 | "version": "0.5.6", 1060 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1061 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1062 | "license": "MIT", 1063 | "dependencies": { 1064 | "minimist": "^1.2.6" 1065 | }, 1066 | "bin": { 1067 | "mkdirp": "bin/cmd.js" 1068 | } 1069 | }, 1070 | "node_modules/ms": { 1071 | "version": "2.1.2", 1072 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1073 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1074 | "license": "MIT" 1075 | }, 1076 | "node_modules/needle": { 1077 | "version": "3.2.0", 1078 | "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", 1079 | "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", 1080 | "license": "MIT", 1081 | "optional": true, 1082 | "dependencies": { 1083 | "debug": "^3.2.6", 1084 | "iconv-lite": "^0.6.3", 1085 | "sax": "^1.2.4" 1086 | }, 1087 | "bin": { 1088 | "needle": "bin/needle" 1089 | }, 1090 | "engines": { 1091 | "node": ">= 4.4.x" 1092 | } 1093 | }, 1094 | "node_modules/needle/node_modules/debug": { 1095 | "version": "3.2.7", 1096 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 1097 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 1098 | "license": "MIT", 1099 | "optional": true, 1100 | "dependencies": { 1101 | "ms": "^2.1.1" 1102 | } 1103 | }, 1104 | "node_modules/needle/node_modules/ms": { 1105 | "version": "2.1.3", 1106 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1107 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1108 | "license": "MIT", 1109 | "optional": true 1110 | }, 1111 | "node_modules/node-vibrant": { 1112 | "version": "3.2.1-alpha.1", 1113 | "resolved": "https://registry.npmjs.org/node-vibrant/-/node-vibrant-3.2.1-alpha.1.tgz", 1114 | "integrity": "sha512-EQergCp7fvbvUCE0VMCBnvaAV0lGWSP8SXLmuWQIBzQK5M5pIwcd9fIOXuzFkJx/8hUiiiLvAzzGDS/bIy2ikA==", 1115 | "license": "MIT", 1116 | "dependencies": { 1117 | "@types/node": "^10.12.18", 1118 | "@vibrant/core": "^3.2.1-alpha.1", 1119 | "@vibrant/generator-default": "^3.2.1-alpha.1", 1120 | "@vibrant/image-browser": "^3.2.1-alpha.1", 1121 | "@vibrant/image-node": "^3.2.1-alpha.1", 1122 | "@vibrant/quantizer-mmcq": "^3.2.1-alpha.1", 1123 | "url": "^0.11.0" 1124 | } 1125 | }, 1126 | "node_modules/normalize-path": { 1127 | "version": "3.0.0", 1128 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1129 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1130 | "license": "MIT", 1131 | "engines": { 1132 | "node": ">=0.10.0" 1133 | } 1134 | }, 1135 | "node_modules/omggif": { 1136 | "version": "1.0.10", 1137 | "resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz", 1138 | "integrity": "sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==", 1139 | "license": "MIT" 1140 | }, 1141 | "node_modules/once": { 1142 | "version": "1.4.0", 1143 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1144 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1145 | "license": "ISC", 1146 | "dependencies": { 1147 | "wrappy": "1" 1148 | } 1149 | }, 1150 | "node_modules/pako": { 1151 | "version": "1.0.11", 1152 | "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", 1153 | "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", 1154 | "license": "(MIT AND Zlib)" 1155 | }, 1156 | "node_modules/parse-bmfont-ascii": { 1157 | "version": "1.0.6", 1158 | "resolved": "https://registry.npmjs.org/parse-bmfont-ascii/-/parse-bmfont-ascii-1.0.6.tgz", 1159 | "integrity": "sha512-U4RrVsUFCleIOBsIGYOMKjn9PavsGOXxbvYGtMOEfnId0SVNsgehXh1DxUdVPLoxd5mvcEtvmKs2Mmf0Mpa1ZA==", 1160 | "license": "MIT" 1161 | }, 1162 | "node_modules/parse-bmfont-binary": { 1163 | "version": "1.0.6", 1164 | "resolved": "https://registry.npmjs.org/parse-bmfont-binary/-/parse-bmfont-binary-1.0.6.tgz", 1165 | "integrity": "sha512-GxmsRea0wdGdYthjuUeWTMWPqm2+FAd4GI8vCvhgJsFnoGhTrLhXDDupwTo7rXVAgaLIGoVHDZS9p/5XbSqeWA==", 1166 | "license": "MIT" 1167 | }, 1168 | "node_modules/parse-bmfont-xml": { 1169 | "version": "1.1.4", 1170 | "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.4.tgz", 1171 | "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM+mCQ==", 1172 | "license": "MIT", 1173 | "dependencies": { 1174 | "xml-parse-from-string": "^1.0.0", 1175 | "xml2js": "^0.4.5" 1176 | } 1177 | }, 1178 | "node_modules/parse-headers": { 1179 | "version": "2.0.5", 1180 | "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.5.tgz", 1181 | "integrity": "sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==", 1182 | "license": "MIT" 1183 | }, 1184 | "node_modules/parse-node-version": { 1185 | "version": "1.0.1", 1186 | "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", 1187 | "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", 1188 | "license": "MIT", 1189 | "engines": { 1190 | "node": ">= 0.10" 1191 | } 1192 | }, 1193 | "node_modules/path-is-absolute": { 1194 | "version": "1.0.1", 1195 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1196 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1197 | "license": "MIT", 1198 | "engines": { 1199 | "node": ">=0.10.0" 1200 | } 1201 | }, 1202 | "node_modules/path-parse": { 1203 | "version": "1.0.7", 1204 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1205 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1206 | "license": "MIT" 1207 | }, 1208 | "node_modules/phin": { 1209 | "version": "2.9.3", 1210 | "resolved": "https://registry.npmjs.org/phin/-/phin-2.9.3.tgz", 1211 | "integrity": "sha512-CzFr90qM24ju5f88quFC/6qohjC144rehe5n6DH900lgXmUe86+xCKc10ev56gRKC4/BkHUoG4uSiQgBiIXwDA==", 1212 | "license": "MIT" 1213 | }, 1214 | "node_modules/picomatch": { 1215 | "version": "2.3.1", 1216 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1217 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1218 | "license": "MIT", 1219 | "engines": { 1220 | "node": ">=8.6" 1221 | }, 1222 | "funding": { 1223 | "url": "https://github.com/sponsors/jonschlinkert" 1224 | } 1225 | }, 1226 | "node_modules/pify": { 1227 | "version": "4.0.1", 1228 | "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", 1229 | "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", 1230 | "license": "MIT", 1231 | "optional": true, 1232 | "engines": { 1233 | "node": ">=6" 1234 | } 1235 | }, 1236 | "node_modules/pixelmatch": { 1237 | "version": "4.0.2", 1238 | "resolved": "https://registry.npmjs.org/pixelmatch/-/pixelmatch-4.0.2.tgz", 1239 | "integrity": "sha512-J8B6xqiO37sU/gkcMglv6h5Jbd9xNER7aHzpfRdNmV4IbQBzBpe4l9XmbG+xPF/znacgu2jfEw+wHffaq/YkXA==", 1240 | "license": "ISC", 1241 | "dependencies": { 1242 | "pngjs": "^3.0.0" 1243 | }, 1244 | "bin": { 1245 | "pixelmatch": "bin/pixelmatch" 1246 | } 1247 | }, 1248 | "node_modules/pngjs": { 1249 | "version": "3.4.0", 1250 | "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz", 1251 | "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==", 1252 | "license": "MIT", 1253 | "engines": { 1254 | "node": ">=4.0.0" 1255 | } 1256 | }, 1257 | "node_modules/process": { 1258 | "version": "0.11.10", 1259 | "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", 1260 | "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", 1261 | "license": "MIT", 1262 | "engines": { 1263 | "node": ">= 0.6.0" 1264 | } 1265 | }, 1266 | "node_modules/prr": { 1267 | "version": "1.0.1", 1268 | "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", 1269 | "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", 1270 | "license": "MIT", 1271 | "optional": true 1272 | }, 1273 | "node_modules/punycode": { 1274 | "version": "1.3.2", 1275 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", 1276 | "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", 1277 | "license": "MIT" 1278 | }, 1279 | "node_modules/querystring": { 1280 | "version": "0.2.0", 1281 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 1282 | "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", 1283 | "engines": { 1284 | "node": ">=0.4.x" 1285 | } 1286 | }, 1287 | "node_modules/react": { 1288 | "version": "18.2.0", 1289 | "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", 1290 | "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", 1291 | "license": "MIT", 1292 | "dependencies": { 1293 | "loose-envify": "^1.1.0" 1294 | }, 1295 | "engines": { 1296 | "node": ">=0.10.0" 1297 | } 1298 | }, 1299 | "node_modules/react-dom": { 1300 | "version": "18.2.0", 1301 | "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", 1302 | "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", 1303 | "license": "MIT", 1304 | "dependencies": { 1305 | "loose-envify": "^1.1.0", 1306 | "scheduler": "^0.23.0" 1307 | }, 1308 | "peerDependencies": { 1309 | "react": "^18.2.0" 1310 | } 1311 | }, 1312 | "node_modules/readdirp": { 1313 | "version": "3.6.0", 1314 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1315 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1316 | "license": "MIT", 1317 | "dependencies": { 1318 | "picomatch": "^2.2.1" 1319 | }, 1320 | "engines": { 1321 | "node": ">=8.10.0" 1322 | } 1323 | }, 1324 | "node_modules/regenerator-runtime": { 1325 | "version": "0.13.11", 1326 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", 1327 | "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", 1328 | "license": "MIT" 1329 | }, 1330 | "node_modules/resolve": { 1331 | "version": "1.22.1", 1332 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", 1333 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", 1334 | "license": "MIT", 1335 | "dependencies": { 1336 | "is-core-module": "^2.9.0", 1337 | "path-parse": "^1.0.7", 1338 | "supports-preserve-symlinks-flag": "^1.0.0" 1339 | }, 1340 | "bin": { 1341 | "resolve": "bin/resolve" 1342 | }, 1343 | "funding": { 1344 | "url": "https://github.com/sponsors/ljharb" 1345 | } 1346 | }, 1347 | "node_modules/safer-buffer": { 1348 | "version": "2.1.2", 1349 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1350 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1351 | "license": "MIT", 1352 | "optional": true 1353 | }, 1354 | "node_modules/sass": { 1355 | "version": "1.57.1", 1356 | "resolved": "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz", 1357 | "integrity": "sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==", 1358 | "license": "MIT", 1359 | "dependencies": { 1360 | "chokidar": ">=3.0.0 <4.0.0", 1361 | "immutable": "^4.0.0", 1362 | "source-map-js": ">=0.6.2 <2.0.0" 1363 | }, 1364 | "bin": { 1365 | "sass": "sass.js" 1366 | }, 1367 | "engines": { 1368 | "node": ">=12.0.0" 1369 | } 1370 | }, 1371 | "node_modules/sax": { 1372 | "version": "1.2.4", 1373 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", 1374 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", 1375 | "license": "ISC" 1376 | }, 1377 | "node_modules/scheduler": { 1378 | "version": "0.23.0", 1379 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", 1380 | "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", 1381 | "license": "MIT", 1382 | "dependencies": { 1383 | "loose-envify": "^1.1.0" 1384 | } 1385 | }, 1386 | "node_modules/semver": { 1387 | "version": "5.7.1", 1388 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1389 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 1390 | "license": "ISC", 1391 | "optional": true, 1392 | "bin": { 1393 | "semver": "bin/semver" 1394 | } 1395 | }, 1396 | "node_modules/source-map": { 1397 | "version": "0.7.4", 1398 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", 1399 | "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", 1400 | "license": "BSD-3-Clause", 1401 | "engines": { 1402 | "node": ">= 8" 1403 | } 1404 | }, 1405 | "node_modules/source-map-js": { 1406 | "version": "1.0.2", 1407 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", 1408 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", 1409 | "license": "BSD-3-Clause", 1410 | "engines": { 1411 | "node": ">=0.10.0" 1412 | } 1413 | }, 1414 | "node_modules/stylus": { 1415 | "version": "0.59.0", 1416 | "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.59.0.tgz", 1417 | "integrity": "sha512-lQ9w/XIOH5ZHVNuNbWW8D822r+/wBSO/d6XvtyHLF7LW4KaCIDeVbvn5DF8fGCJAUCwVhVi/h6J0NUcnylUEjg==", 1418 | "license": "MIT", 1419 | "dependencies": { 1420 | "@adobe/css-tools": "^4.0.1", 1421 | "debug": "^4.3.2", 1422 | "glob": "^7.1.6", 1423 | "sax": "~1.2.4", 1424 | "source-map": "^0.7.3" 1425 | }, 1426 | "bin": { 1427 | "stylus": "bin/stylus" 1428 | }, 1429 | "engines": { 1430 | "node": "*" 1431 | }, 1432 | "funding": { 1433 | "url": "https://opencollective.com/stylus" 1434 | } 1435 | }, 1436 | "node_modules/supports-preserve-symlinks-flag": { 1437 | "version": "1.0.0", 1438 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 1439 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 1440 | "license": "MIT", 1441 | "engines": { 1442 | "node": ">= 0.4" 1443 | }, 1444 | "funding": { 1445 | "url": "https://github.com/sponsors/ljharb" 1446 | } 1447 | }, 1448 | "node_modules/timm": { 1449 | "version": "1.7.1", 1450 | "resolved": "https://registry.npmjs.org/timm/-/timm-1.7.1.tgz", 1451 | "integrity": "sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==", 1452 | "license": "MIT" 1453 | }, 1454 | "node_modules/tinycolor2": { 1455 | "version": "1.5.1", 1456 | "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.5.1.tgz", 1457 | "integrity": "sha512-BHlrsGeYN2OpkRpfAgkEwCMu6w8Quq8JkK/mp4c55NZP7OwceJObR1CPZt62TqiA0Y3J5pwuDX+fXDqc35REtg==", 1458 | "license": "MIT", 1459 | "engines": { 1460 | "node": "*" 1461 | } 1462 | }, 1463 | "node_modules/to-regex-range": { 1464 | "version": "5.0.1", 1465 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1466 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1467 | "license": "MIT", 1468 | "dependencies": { 1469 | "is-number": "^7.0.0" 1470 | }, 1471 | "engines": { 1472 | "node": ">=8.0" 1473 | } 1474 | }, 1475 | "node_modules/tslib": { 1476 | "version": "2.4.1", 1477 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", 1478 | "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", 1479 | "license": "0BSD" 1480 | }, 1481 | "node_modules/typescript": { 1482 | "version": "4.9.4", 1483 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", 1484 | "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", 1485 | "license": "Apache-2.0", 1486 | "bin": { 1487 | "tsc": "bin/tsc", 1488 | "tsserver": "bin/tsserver" 1489 | }, 1490 | "engines": { 1491 | "node": ">=4.2.0" 1492 | } 1493 | }, 1494 | "node_modules/url": { 1495 | "version": "0.11.0", 1496 | "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", 1497 | "integrity": "sha512-kbailJa29QrtXnxgq+DdCEGlbTeYM2eJUxsz6vjZavrCYPMIFHMKQmSKYAIuUK2i7hgPm28a8piX5NTUtM/LKQ==", 1498 | "license": "MIT", 1499 | "dependencies": { 1500 | "punycode": "1.3.2", 1501 | "querystring": "0.2.0" 1502 | } 1503 | }, 1504 | "node_modules/utif": { 1505 | "version": "2.0.1", 1506 | "resolved": "https://registry.npmjs.org/utif/-/utif-2.0.1.tgz", 1507 | "integrity": "sha512-Z/S1fNKCicQTf375lIP9G8Sa1H/phcysstNrrSdZKj1f9g58J4NMgb5IgiEZN9/nLMPDwF0W7hdOe9Qq2IYoLg==", 1508 | "license": "MIT", 1509 | "dependencies": { 1510 | "pako": "^1.0.5" 1511 | } 1512 | }, 1513 | "node_modules/wrappy": { 1514 | "version": "1.0.2", 1515 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1516 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1517 | "license": "ISC" 1518 | }, 1519 | "node_modules/xhr": { 1520 | "version": "2.6.0", 1521 | "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz", 1522 | "integrity": "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==", 1523 | "license": "MIT", 1524 | "dependencies": { 1525 | "global": "~4.4.0", 1526 | "is-function": "^1.0.1", 1527 | "parse-headers": "^2.0.0", 1528 | "xtend": "^4.0.0" 1529 | } 1530 | }, 1531 | "node_modules/xml-parse-from-string": { 1532 | "version": "1.0.1", 1533 | "resolved": "https://registry.npmjs.org/xml-parse-from-string/-/xml-parse-from-string-1.0.1.tgz", 1534 | "integrity": "sha512-ErcKwJTF54uRzzNMXq2X5sMIy88zJvfN2DmdoQvy7PAFJ+tPRU6ydWuOKNMyfmOjdyBQTFREi60s0Y0SyI0G0g==", 1535 | "license": "MIT" 1536 | }, 1537 | "node_modules/xml2js": { 1538 | "version": "0.4.23", 1539 | "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", 1540 | "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", 1541 | "license": "MIT", 1542 | "dependencies": { 1543 | "sax": ">=0.6.0", 1544 | "xmlbuilder": "~11.0.0" 1545 | }, 1546 | "engines": { 1547 | "node": ">=4.0.0" 1548 | } 1549 | }, 1550 | "node_modules/xmlbuilder": { 1551 | "version": "11.0.1", 1552 | "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", 1553 | "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", 1554 | "license": "MIT", 1555 | "engines": { 1556 | "node": ">=4.0" 1557 | } 1558 | }, 1559 | "node_modules/xtend": { 1560 | "version": "4.0.2", 1561 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 1562 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 1563 | "license": "MIT", 1564 | "engines": { 1565 | "node": ">=0.4" 1566 | } 1567 | } 1568 | }, 1569 | "dependencies": { 1570 | "@adobe/css-tools": { 1571 | "version": "4.0.1", 1572 | "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.0.1.tgz", 1573 | "integrity": "sha512-+u76oB43nOHrF4DDWRLWDCtci7f3QJoEBigemIdIeTi1ODqjx6Tad9NCVnPRwewWlKkVab5PlK8DCtPTyX7S8g==" 1574 | }, 1575 | "@babel/runtime": { 1576 | "version": "7.20.7", 1577 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.7.tgz", 1578 | "integrity": "sha512-UF0tvkUtxwAgZ5W/KrkHf0Rn0fdnLDU9ScxBrEVNUprE/MzirjK4MJUX1/BVDv00Sv8cljtukVK1aky++X1SjQ==", 1579 | "requires": { 1580 | "regenerator-runtime": "^0.13.11" 1581 | } 1582 | }, 1583 | "@esbuild/win32-x64": { 1584 | "version": "0.16.12", 1585 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.12.tgz", 1586 | "integrity": "sha512-iPYKN78t3op2+erv2frW568j1q0RpqX6JOLZ7oPPaAV1VaF7dDstOrNw37PVOYoTWE11pV4A1XUitpdEFNIsPg==", 1587 | "optional": true 1588 | }, 1589 | "@jimp/bmp": { 1590 | "version": "0.16.2", 1591 | "resolved": "https://registry.npmjs.org/@jimp/bmp/-/bmp-0.16.2.tgz", 1592 | "integrity": "sha512-4g9vW45QfMoGhLVvaFj26h4e7cC+McHUQwyFQmNTLW4FfC1OonN9oUr2m/FEDGkTYKR7aqdXR5XUqqIkHWLaFw==", 1593 | "requires": { 1594 | "@babel/runtime": "^7.7.2", 1595 | "@jimp/utils": "^0.16.2", 1596 | "bmp-js": "^0.1.0" 1597 | } 1598 | }, 1599 | "@jimp/core": { 1600 | "version": "0.16.2", 1601 | "resolved": "https://registry.npmjs.org/@jimp/core/-/core-0.16.2.tgz", 1602 | "integrity": "sha512-dp7HcyUMzjXphXYodI6PaXue+I9PXAavbb+AN+1XqFbotN22Z12DosNPEyy+UhLY/hZiQQqUkEaJHkvV31rs+w==", 1603 | "requires": { 1604 | "@babel/runtime": "^7.7.2", 1605 | "@jimp/utils": "^0.16.2", 1606 | "any-base": "^1.1.0", 1607 | "buffer": "^5.2.0", 1608 | "exif-parser": "^0.1.12", 1609 | "file-type": "^9.0.0", 1610 | "load-bmfont": "^1.3.1", 1611 | "mkdirp": "^0.5.1", 1612 | "phin": "^2.9.1", 1613 | "pixelmatch": "^4.0.2", 1614 | "tinycolor2": "^1.4.1" 1615 | } 1616 | }, 1617 | "@jimp/custom": { 1618 | "version": "0.16.2", 1619 | "resolved": "https://registry.npmjs.org/@jimp/custom/-/custom-0.16.2.tgz", 1620 | "integrity": "sha512-GtNwOs4hcVS2GIbqRUf42rUuX07oLB92cj7cqxZb0ZGWwcwhnmSW0TFLAkNafXmqn9ug4VTpNvcJSUdiuECVKg==", 1621 | "requires": { 1622 | "@babel/runtime": "^7.7.2", 1623 | "@jimp/core": "^0.16.2" 1624 | } 1625 | }, 1626 | "@jimp/gif": { 1627 | "version": "0.16.2", 1628 | "resolved": "https://registry.npmjs.org/@jimp/gif/-/gif-0.16.2.tgz", 1629 | "integrity": "sha512-TMdyT9Q0paIKNtT7c5KzQD29CNCsI/t8ka28jMrBjEK7j5RRTvBfuoOnHv7pDJRCjCIqeUoaUSJ7QcciKic6CA==", 1630 | "requires": { 1631 | "@babel/runtime": "^7.7.2", 1632 | "@jimp/utils": "^0.16.2", 1633 | "gifwrap": "^0.9.2", 1634 | "omggif": "^1.0.9" 1635 | } 1636 | }, 1637 | "@jimp/jpeg": { 1638 | "version": "0.16.2", 1639 | "resolved": "https://registry.npmjs.org/@jimp/jpeg/-/jpeg-0.16.2.tgz", 1640 | "integrity": "sha512-BW5gZydgq6wdIwHd+3iUNgrTklvoQc/FUKSj9meM6A0FU21lUaansRX5BDdJqHkyXJLnnlDGwDt27J+hQuBAVw==", 1641 | "requires": { 1642 | "@babel/runtime": "^7.7.2", 1643 | "@jimp/utils": "^0.16.2", 1644 | "jpeg-js": "^0.4.2" 1645 | } 1646 | }, 1647 | "@jimp/plugin-resize": { 1648 | "version": "0.16.2", 1649 | "resolved": "https://registry.npmjs.org/@jimp/plugin-resize/-/plugin-resize-0.16.2.tgz", 1650 | "integrity": "sha512-gE4N9l6xuwzacFZ2EPCGZCJ/xR+aX2V7GdMndIl/6kYIw5/eib1SFuF9AZLvIPSFuE1FnGo8+vT0pr++SSbhYg==", 1651 | "requires": { 1652 | "@babel/runtime": "^7.7.2", 1653 | "@jimp/utils": "^0.16.2" 1654 | } 1655 | }, 1656 | "@jimp/png": { 1657 | "version": "0.16.2", 1658 | "resolved": "https://registry.npmjs.org/@jimp/png/-/png-0.16.2.tgz", 1659 | "integrity": "sha512-sFOtOSz/tzDwXEChFQ/Nxe+0+vG3Tj0eUxnZVDUG/StXE9dI8Bqmwj3MIa0EgK5s+QG3YlnDOmlPUa4JqmeYeQ==", 1660 | "requires": { 1661 | "@babel/runtime": "^7.7.2", 1662 | "@jimp/utils": "^0.16.2", 1663 | "pngjs": "^3.3.3" 1664 | } 1665 | }, 1666 | "@jimp/tiff": { 1667 | "version": "0.16.2", 1668 | "resolved": "https://registry.npmjs.org/@jimp/tiff/-/tiff-0.16.2.tgz", 1669 | "integrity": "sha512-ADcdqmtZF+U2YoaaHTzFX8D6NFpmN4WZUT0BPMerEuY7Cq8QoLYU22z2h034FrVW+Rbi1b3y04sB9iDiQAlf2w==", 1670 | "requires": { 1671 | "@babel/runtime": "^7.7.2", 1672 | "utif": "^2.0.1" 1673 | } 1674 | }, 1675 | "@jimp/types": { 1676 | "version": "0.16.2", 1677 | "resolved": "https://registry.npmjs.org/@jimp/types/-/types-0.16.2.tgz", 1678 | "integrity": "sha512-0Ue5Sq0XnDF6TirisWv5E+8uOnRcd8vRLuwocJOhF76NIlcQrz+5r2k2XWKcr3d+11n28dHLXW5TKSqrUopxhA==", 1679 | "requires": { 1680 | "@babel/runtime": "^7.7.2", 1681 | "@jimp/bmp": "^0.16.2", 1682 | "@jimp/gif": "^0.16.2", 1683 | "@jimp/jpeg": "^0.16.2", 1684 | "@jimp/png": "^0.16.2", 1685 | "@jimp/tiff": "^0.16.2", 1686 | "timm": "^1.6.1" 1687 | } 1688 | }, 1689 | "@jimp/utils": { 1690 | "version": "0.16.2", 1691 | "resolved": "https://registry.npmjs.org/@jimp/utils/-/utils-0.16.2.tgz", 1692 | "integrity": "sha512-XENrPvmigiXZQ8E2nxJqO6UVvWBLzbNwyYi3Y8Q1IECoYhYI3kgOQ0fmy4G269Vz1V0omh1bNmC42r4OfXg1Jg==", 1693 | "requires": { 1694 | "@babel/runtime": "^7.7.2", 1695 | "regenerator-runtime": "^0.13.3" 1696 | } 1697 | }, 1698 | "@types/less": { 1699 | "version": "3.0.3", 1700 | "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.3.tgz", 1701 | "integrity": "sha512-1YXyYH83h6We1djyoUEqTlVyQtCfJAFXELSKW2ZRtjHD4hQ82CC4lvrv5D0l0FLcKBaiPbXyi3MpMsI9ZRgKsw==", 1702 | "dev": true 1703 | }, 1704 | "@types/node": { 1705 | "version": "10.17.60", 1706 | "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", 1707 | "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" 1708 | }, 1709 | "@types/prop-types": { 1710 | "version": "15.7.5", 1711 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz", 1712 | "integrity": "sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" 1713 | }, 1714 | "@types/react": { 1715 | "version": "18.0.26", 1716 | "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.26.tgz", 1717 | "integrity": "sha512-hCR3PJQsAIXyxhTNSiDFY//LhnMZWpNNr5etoCqx/iUfGc5gXWtQR2Phl908jVR6uPXacojQWTg4qRpkxTuGug==", 1718 | "requires": { 1719 | "@types/prop-types": "*", 1720 | "@types/scheduler": "*", 1721 | "csstype": "^3.0.2" 1722 | } 1723 | }, 1724 | "@types/react-dom": { 1725 | "version": "18.0.10", 1726 | "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.10.tgz", 1727 | "integrity": "sha512-E42GW/JA4Qv15wQdqJq8DL4JhNpB3prJgjgapN3qJT9K2zO5IIAQh4VXvCEDupoqAwnz0cY4RlXeC/ajX5SFHg==", 1728 | "requires": { 1729 | "@types/react": "*" 1730 | } 1731 | }, 1732 | "@types/scheduler": { 1733 | "version": "0.16.2", 1734 | "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", 1735 | "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" 1736 | }, 1737 | "@vibrant/color": { 1738 | "version": "3.2.1-alpha.1", 1739 | "resolved": "https://registry.npmjs.org/@vibrant/color/-/color-3.2.1-alpha.1.tgz", 1740 | "integrity": "sha512-cvm+jAPwao2NerTr3d1JttYyLhp3eD/AQBeevxF7KT6HctToWZCwr2AeTr003/wKgbjzdOV1qySnbyOeu+R+Jw==" 1741 | }, 1742 | "@vibrant/core": { 1743 | "version": "3.2.1-alpha.1", 1744 | "resolved": "https://registry.npmjs.org/@vibrant/core/-/core-3.2.1-alpha.1.tgz", 1745 | "integrity": "sha512-X9Oa9WfPEQnZ6L+5dLRlh+IlsxJkYTw9b/g3stFKoNXbVRKCeXHmH48l7jIBBOg3VcXOGUdsYBqsTwPNkIveaA==", 1746 | "requires": { 1747 | "@vibrant/color": "^3.2.1-alpha.1", 1748 | "@vibrant/generator": "^3.2.1-alpha.1", 1749 | "@vibrant/image": "^3.2.1-alpha.1", 1750 | "@vibrant/quantizer": "^3.2.1-alpha.1", 1751 | "@vibrant/types": "^3.2.1-alpha.1", 1752 | "@vibrant/worker": "^3.2.1-alpha.1" 1753 | } 1754 | }, 1755 | "@vibrant/generator": { 1756 | "version": "3.2.1-alpha.1", 1757 | "resolved": "https://registry.npmjs.org/@vibrant/generator/-/generator-3.2.1-alpha.1.tgz", 1758 | "integrity": "sha512-luS5YvMhwMqG01YTj1dJ+cmkuIw1VCByOR6zIaCOwQqI/mcOs88JBWcA1r2TywJTOPlVpjfnDvAlyaKBKh4dMA==", 1759 | "requires": { 1760 | "@vibrant/color": "^3.2.1-alpha.1", 1761 | "@vibrant/types": "^3.2.1-alpha.1" 1762 | } 1763 | }, 1764 | "@vibrant/generator-default": { 1765 | "version": "3.2.1-alpha.1", 1766 | "resolved": "https://registry.npmjs.org/@vibrant/generator-default/-/generator-default-3.2.1-alpha.1.tgz", 1767 | "integrity": "sha512-BWnQhDaz92UhyHnpdAzKXHQecY+jvyMXtzjKYbveFxThm6+HVoLjwONlbck7oyOpFzV2OM7V11XuR85BxaHvjw==", 1768 | "requires": { 1769 | "@vibrant/color": "^3.2.1-alpha.1", 1770 | "@vibrant/generator": "^3.2.1-alpha.1" 1771 | } 1772 | }, 1773 | "@vibrant/image": { 1774 | "version": "3.2.1-alpha.1", 1775 | "resolved": "https://registry.npmjs.org/@vibrant/image/-/image-3.2.1-alpha.1.tgz", 1776 | "integrity": "sha512-4aF5k79QfyhZOqRovJpbnIjWfe3uuWhY8voqVdd4/qgu4o70/AwVlM+pYmCaJVzI45VWNWWHYA5QlYuKsXnBqQ==", 1777 | "requires": { 1778 | "@vibrant/color": "^3.2.1-alpha.1", 1779 | "@vibrant/types": "^3.2.1-alpha.1" 1780 | } 1781 | }, 1782 | "@vibrant/image-browser": { 1783 | "version": "3.2.1-alpha.1", 1784 | "resolved": "https://registry.npmjs.org/@vibrant/image-browser/-/image-browser-3.2.1-alpha.1.tgz", 1785 | "integrity": "sha512-6xWvQfB20sE6YtCWylgEAHuee3iD8h3aFIDbCS2yj7jIelKcYTrrp5jg2d2BhOOB6pC5JzF+QfpCrm0DmAIlgQ==", 1786 | "requires": { 1787 | "@vibrant/image": "^3.2.1-alpha.1" 1788 | } 1789 | }, 1790 | "@vibrant/image-node": { 1791 | "version": "3.2.1-alpha.1", 1792 | "resolved": "https://registry.npmjs.org/@vibrant/image-node/-/image-node-3.2.1-alpha.1.tgz", 1793 | "integrity": "sha512-/Io/Rpo4EkO6AhaXdcxUXkbOFhSFtjm0LSAM4c0AyGA5EbC8PyZqjk8b11bQAEMCaYaweFQfTdGD7oVbXe21CQ==", 1794 | "requires": { 1795 | "@jimp/custom": "^0.16.1", 1796 | "@jimp/plugin-resize": "^0.16.1", 1797 | "@jimp/types": "^0.16.1", 1798 | "@vibrant/image": "^3.2.1-alpha.1" 1799 | } 1800 | }, 1801 | "@vibrant/quantizer": { 1802 | "version": "3.2.1-alpha.1", 1803 | "resolved": "https://registry.npmjs.org/@vibrant/quantizer/-/quantizer-3.2.1-alpha.1.tgz", 1804 | "integrity": "sha512-iHnPx/+n4iLtYLm1GClSfyg2fFbMatFG0ipCyp9M6tXNIPAg+pSvUJSGBnVnH7Nl/bR8Gkkj1h0pJ4RsKcdIrQ==", 1805 | "requires": { 1806 | "@vibrant/color": "^3.2.1-alpha.1", 1807 | "@vibrant/image": "^3.2.1-alpha.1", 1808 | "@vibrant/types": "^3.2.1-alpha.1" 1809 | } 1810 | }, 1811 | "@vibrant/quantizer-mmcq": { 1812 | "version": "3.2.1-alpha.1", 1813 | "resolved": "https://registry.npmjs.org/@vibrant/quantizer-mmcq/-/quantizer-mmcq-3.2.1-alpha.1.tgz", 1814 | "integrity": "sha512-Wuk9PTZtxr8qsWTcgP6lcrrmrq36syVwxf+BUxdgQYntBcQ053SaN34lVGOJ0WPdK5vABoxbYljhceCgiILtZw==", 1815 | "requires": { 1816 | "@vibrant/color": "^3.2.1-alpha.1", 1817 | "@vibrant/image": "^3.2.1-alpha.1", 1818 | "@vibrant/quantizer": "^3.2.1-alpha.1" 1819 | } 1820 | }, 1821 | "@vibrant/types": { 1822 | "version": "3.2.1-alpha.1", 1823 | "resolved": "https://registry.npmjs.org/@vibrant/types/-/types-3.2.1-alpha.1.tgz", 1824 | "integrity": "sha512-ts9u7nsrENoYI5s0MmPOeY5kCLFKvQndKVDOPFCbTA0z493uhDp8mpiQhjFYTf3kPbS04z9zbHLE2luFC7x4KQ==" 1825 | }, 1826 | "@vibrant/worker": { 1827 | "version": "3.2.1-alpha.1", 1828 | "resolved": "https://registry.npmjs.org/@vibrant/worker/-/worker-3.2.1-alpha.1.tgz", 1829 | "integrity": "sha512-mtSlBdHkFNr4FOnMtqtHJxy9z5AsUcZzGlpiHzvWOoaoN9lNTDPwxOBd0q4VTYWuGPrIm6Fuq5m7aRbLv7KqiQ==", 1830 | "requires": { 1831 | "@vibrant/types": "^3.2.1-alpha.1" 1832 | } 1833 | }, 1834 | "any-base": { 1835 | "version": "1.1.0", 1836 | "resolved": "https://registry.npmjs.org/any-base/-/any-base-1.1.0.tgz", 1837 | "integrity": "sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==" 1838 | }, 1839 | "anymatch": { 1840 | "version": "3.1.3", 1841 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 1842 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 1843 | "requires": { 1844 | "normalize-path": "^3.0.0", 1845 | "picomatch": "^2.0.4" 1846 | } 1847 | }, 1848 | "balanced-match": { 1849 | "version": "1.0.2", 1850 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1851 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 1852 | }, 1853 | "base64-js": { 1854 | "version": "1.5.1", 1855 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 1856 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" 1857 | }, 1858 | "binary-extensions": { 1859 | "version": "2.2.0", 1860 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 1861 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" 1862 | }, 1863 | "bmp-js": { 1864 | "version": "0.1.0", 1865 | "resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz", 1866 | "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw==" 1867 | }, 1868 | "brace-expansion": { 1869 | "version": "1.1.11", 1870 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1871 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1872 | "requires": { 1873 | "balanced-match": "^1.0.0", 1874 | "concat-map": "0.0.1" 1875 | } 1876 | }, 1877 | "braces": { 1878 | "version": "3.0.2", 1879 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 1880 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 1881 | "requires": { 1882 | "fill-range": "^7.0.1" 1883 | } 1884 | }, 1885 | "buffer": { 1886 | "version": "5.7.1", 1887 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 1888 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 1889 | "requires": { 1890 | "base64-js": "^1.3.1", 1891 | "ieee754": "^1.1.13" 1892 | } 1893 | }, 1894 | "buffer-equal": { 1895 | "version": "0.0.1", 1896 | "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz", 1897 | "integrity": "sha512-RgSV6InVQ9ODPdLWJ5UAqBqJBOg370Nz6ZQtRzpt6nUjc8v0St97uJ4PYC6NztqIScrAXafKM3mZPMygSe1ggA==" 1898 | }, 1899 | "chokidar": { 1900 | "version": "3.5.3", 1901 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 1902 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 1903 | "requires": { 1904 | "anymatch": "~3.1.2", 1905 | "braces": "~3.0.2", 1906 | "fsevents": "~2.3.2", 1907 | "glob-parent": "~5.1.2", 1908 | "is-binary-path": "~2.1.0", 1909 | "is-glob": "~4.0.1", 1910 | "normalize-path": "~3.0.0", 1911 | "readdirp": "~3.6.0" 1912 | } 1913 | }, 1914 | "concat-map": { 1915 | "version": "0.0.1", 1916 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1917 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 1918 | }, 1919 | "copy-anything": { 1920 | "version": "2.0.6", 1921 | "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", 1922 | "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", 1923 | "requires": { 1924 | "is-what": "^3.14.1" 1925 | } 1926 | }, 1927 | "csstype": { 1928 | "version": "3.1.1", 1929 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", 1930 | "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==" 1931 | }, 1932 | "debug": { 1933 | "version": "4.3.4", 1934 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1935 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1936 | "requires": { 1937 | "ms": "2.1.2" 1938 | } 1939 | }, 1940 | "dom-walk": { 1941 | "version": "0.1.2", 1942 | "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", 1943 | "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" 1944 | }, 1945 | "errno": { 1946 | "version": "0.1.8", 1947 | "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", 1948 | "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", 1949 | "optional": true, 1950 | "requires": { 1951 | "prr": "~1.0.1" 1952 | } 1953 | }, 1954 | "esbuild": { 1955 | "version": "0.16.12", 1956 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.12.tgz", 1957 | "integrity": "sha512-eq5KcuXajf2OmivCl4e89AD3j8fbV+UTE9vczEzq5haA07U9oOTzBWlh3+6ZdjJR7Rz2QfWZ2uxZyhZxBgJ4+g==", 1958 | "requires": { 1959 | "@esbuild/android-arm": "0.16.12", 1960 | "@esbuild/android-arm64": "0.16.12", 1961 | "@esbuild/android-x64": "0.16.12", 1962 | "@esbuild/darwin-arm64": "0.16.12", 1963 | "@esbuild/darwin-x64": "0.16.12", 1964 | "@esbuild/freebsd-arm64": "0.16.12", 1965 | "@esbuild/freebsd-x64": "0.16.12", 1966 | "@esbuild/linux-arm": "0.16.12", 1967 | "@esbuild/linux-arm64": "0.16.12", 1968 | "@esbuild/linux-ia32": "0.16.12", 1969 | "@esbuild/linux-loong64": "0.16.12", 1970 | "@esbuild/linux-mips64el": "0.16.12", 1971 | "@esbuild/linux-ppc64": "0.16.12", 1972 | "@esbuild/linux-riscv64": "0.16.12", 1973 | "@esbuild/linux-s390x": "0.16.12", 1974 | "@esbuild/linux-x64": "0.16.12", 1975 | "@esbuild/netbsd-x64": "0.16.12", 1976 | "@esbuild/openbsd-x64": "0.16.12", 1977 | "@esbuild/sunos-x64": "0.16.12", 1978 | "@esbuild/win32-arm64": "0.16.12", 1979 | "@esbuild/win32-ia32": "0.16.12", 1980 | "@esbuild/win32-x64": "0.16.12" 1981 | } 1982 | }, 1983 | "esbuild-sass-plugin": { 1984 | "version": "2.4.5", 1985 | "resolved": "https://registry.npmjs.org/esbuild-sass-plugin/-/esbuild-sass-plugin-2.4.5.tgz", 1986 | "integrity": "sha512-di2hLaIwhRXe513uaPPxv+5bjynxAgrS8R+u38lbBfvp1g1xOki4ACXV2aXip2CRPGTbAVDySSxujd9iArFV0w==", 1987 | "requires": { 1988 | "esbuild": "^0.15.17", 1989 | "resolve": "^1.22.1", 1990 | "sass": "^1.56.1" 1991 | }, 1992 | "dependencies": { 1993 | "esbuild": { 1994 | "version": "0.15.18", 1995 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.18.tgz", 1996 | "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==", 1997 | "requires": { 1998 | "@esbuild/android-arm": "0.15.18", 1999 | "@esbuild/linux-loong64": "0.15.18", 2000 | "esbuild-android-64": "0.15.18", 2001 | "esbuild-android-arm64": "0.15.18", 2002 | "esbuild-darwin-64": "0.15.18", 2003 | "esbuild-darwin-arm64": "0.15.18", 2004 | "esbuild-freebsd-64": "0.15.18", 2005 | "esbuild-freebsd-arm64": "0.15.18", 2006 | "esbuild-linux-32": "0.15.18", 2007 | "esbuild-linux-64": "0.15.18", 2008 | "esbuild-linux-arm": "0.15.18", 2009 | "esbuild-linux-arm64": "0.15.18", 2010 | "esbuild-linux-mips64le": "0.15.18", 2011 | "esbuild-linux-ppc64le": "0.15.18", 2012 | "esbuild-linux-riscv64": "0.15.18", 2013 | "esbuild-linux-s390x": "0.15.18", 2014 | "esbuild-netbsd-64": "0.15.18", 2015 | "esbuild-openbsd-64": "0.15.18", 2016 | "esbuild-sunos-64": "0.15.18", 2017 | "esbuild-windows-32": "0.15.18", 2018 | "esbuild-windows-64": "0.15.18", 2019 | "esbuild-windows-arm64": "0.15.18" 2020 | } 2021 | } 2022 | } 2023 | }, 2024 | "esbuild-stylus-loader": { 2025 | "version": "0.4.2", 2026 | "resolved": "https://registry.npmjs.org/esbuild-stylus-loader/-/esbuild-stylus-loader-0.4.2.tgz", 2027 | "integrity": "sha512-GjJHZQzLfqTrJs5XrnAFtAYwjSCKR91vLWOeVMAzE0Xco3rD7LTRhq0b9Zfc2MoNJdZFAhB+KfsqWgcbOSij9g==", 2028 | "requires": {} 2029 | }, 2030 | "esbuild-windows-64": { 2031 | "version": "0.15.18", 2032 | "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz", 2033 | "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==", 2034 | "optional": true 2035 | }, 2036 | "exif-parser": { 2037 | "version": "0.1.12", 2038 | "resolved": "https://registry.npmjs.org/exif-parser/-/exif-parser-0.1.12.tgz", 2039 | "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw==" 2040 | }, 2041 | "file-type": { 2042 | "version": "9.0.0", 2043 | "resolved": "https://registry.npmjs.org/file-type/-/file-type-9.0.0.tgz", 2044 | "integrity": "sha512-Qe/5NJrgIOlwijpq3B7BEpzPFcgzggOTagZmkXQY4LA6bsXKTUstK7Wp12lEJ/mLKTpvIZxmIuRcLYWT6ov9lw==" 2045 | }, 2046 | "fill-range": { 2047 | "version": "7.0.1", 2048 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 2049 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 2050 | "requires": { 2051 | "to-regex-range": "^5.0.1" 2052 | } 2053 | }, 2054 | "fs.realpath": { 2055 | "version": "1.0.0", 2056 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 2057 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" 2058 | }, 2059 | "function-bind": { 2060 | "version": "1.1.1", 2061 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 2062 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 2063 | }, 2064 | "gifwrap": { 2065 | "version": "0.9.4", 2066 | "resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.9.4.tgz", 2067 | "integrity": "sha512-MDMwbhASQuVeD4JKd1fKgNgCRL3fGqMM4WaqpNhWO0JiMOAjbQdumbs4BbBZEy9/M00EHEjKN3HieVhCUlwjeQ==", 2068 | "requires": { 2069 | "image-q": "^4.0.0", 2070 | "omggif": "^1.0.10" 2071 | } 2072 | }, 2073 | "glob": { 2074 | "version": "7.2.3", 2075 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 2076 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 2077 | "requires": { 2078 | "fs.realpath": "^1.0.0", 2079 | "inflight": "^1.0.4", 2080 | "inherits": "2", 2081 | "minimatch": "^3.1.1", 2082 | "once": "^1.3.0", 2083 | "path-is-absolute": "^1.0.0" 2084 | } 2085 | }, 2086 | "glob-parent": { 2087 | "version": "5.1.2", 2088 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 2089 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 2090 | "requires": { 2091 | "is-glob": "^4.0.1" 2092 | } 2093 | }, 2094 | "global": { 2095 | "version": "4.4.0", 2096 | "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", 2097 | "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", 2098 | "requires": { 2099 | "min-document": "^2.19.0", 2100 | "process": "^0.11.10" 2101 | } 2102 | }, 2103 | "graceful-fs": { 2104 | "version": "4.2.10", 2105 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", 2106 | "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", 2107 | "optional": true 2108 | }, 2109 | "has": { 2110 | "version": "1.0.3", 2111 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 2112 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 2113 | "requires": { 2114 | "function-bind": "^1.1.1" 2115 | } 2116 | }, 2117 | "iconv-lite": { 2118 | "version": "0.6.3", 2119 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", 2120 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", 2121 | "optional": true, 2122 | "requires": { 2123 | "safer-buffer": ">= 2.1.2 < 3.0.0" 2124 | } 2125 | }, 2126 | "ieee754": { 2127 | "version": "1.2.1", 2128 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 2129 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" 2130 | }, 2131 | "image-q": { 2132 | "version": "4.0.0", 2133 | "resolved": "https://registry.npmjs.org/image-q/-/image-q-4.0.0.tgz", 2134 | "integrity": "sha512-PfJGVgIfKQJuq3s0tTDOKtztksibuUEbJQIYT3by6wctQo+Rdlh7ef4evJ5NCdxY4CfMbvFkocEwbl4BF8RlJw==", 2135 | "requires": { 2136 | "@types/node": "16.9.1" 2137 | }, 2138 | "dependencies": { 2139 | "@types/node": { 2140 | "version": "16.9.1", 2141 | "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.1.tgz", 2142 | "integrity": "sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==" 2143 | } 2144 | } 2145 | }, 2146 | "image-size": { 2147 | "version": "0.5.5", 2148 | "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", 2149 | "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", 2150 | "optional": true 2151 | }, 2152 | "immutable": { 2153 | "version": "4.2.1", 2154 | "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.2.1.tgz", 2155 | "integrity": "sha512-7WYV7Q5BTs0nlQm7tl92rDYYoyELLKHoDMBKhrxEoiV4mrfVdRz8hzPiYOzH7yWjzoVEamxRuAqhxL2PLRwZYQ==" 2156 | }, 2157 | "inflight": { 2158 | "version": "1.0.6", 2159 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2160 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 2161 | "requires": { 2162 | "once": "^1.3.0", 2163 | "wrappy": "1" 2164 | } 2165 | }, 2166 | "inherits": { 2167 | "version": "2.0.4", 2168 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2169 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 2170 | }, 2171 | "is-binary-path": { 2172 | "version": "2.1.0", 2173 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 2174 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 2175 | "requires": { 2176 | "binary-extensions": "^2.0.0" 2177 | } 2178 | }, 2179 | "is-core-module": { 2180 | "version": "2.11.0", 2181 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", 2182 | "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", 2183 | "requires": { 2184 | "has": "^1.0.3" 2185 | } 2186 | }, 2187 | "is-extglob": { 2188 | "version": "2.1.1", 2189 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 2190 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" 2191 | }, 2192 | "is-function": { 2193 | "version": "1.0.2", 2194 | "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", 2195 | "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==" 2196 | }, 2197 | "is-glob": { 2198 | "version": "4.0.3", 2199 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 2200 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 2201 | "requires": { 2202 | "is-extglob": "^2.1.1" 2203 | } 2204 | }, 2205 | "is-number": { 2206 | "version": "7.0.0", 2207 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2208 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" 2209 | }, 2210 | "is-what": { 2211 | "version": "3.14.1", 2212 | "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", 2213 | "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==" 2214 | }, 2215 | "jpeg-js": { 2216 | "version": "0.4.4", 2217 | "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.4.tgz", 2218 | "integrity": "sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==" 2219 | }, 2220 | "js-tokens": { 2221 | "version": "4.0.0", 2222 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 2223 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" 2224 | }, 2225 | "less": { 2226 | "version": "4.1.3", 2227 | "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", 2228 | "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", 2229 | "requires": { 2230 | "copy-anything": "^2.0.1", 2231 | "errno": "^0.1.1", 2232 | "graceful-fs": "^4.1.2", 2233 | "image-size": "~0.5.0", 2234 | "make-dir": "^2.1.0", 2235 | "mime": "^1.4.1", 2236 | "needle": "^3.1.0", 2237 | "parse-node-version": "^1.0.1", 2238 | "source-map": "~0.6.0", 2239 | "tslib": "^2.3.0" 2240 | }, 2241 | "dependencies": { 2242 | "source-map": { 2243 | "version": "0.6.1", 2244 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2245 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 2246 | "optional": true 2247 | } 2248 | } 2249 | }, 2250 | "load-bmfont": { 2251 | "version": "1.4.1", 2252 | "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.1.tgz", 2253 | "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJ/7Enqmwk2sM14soA==", 2254 | "requires": { 2255 | "buffer-equal": "0.0.1", 2256 | "mime": "^1.3.4", 2257 | "parse-bmfont-ascii": "^1.0.3", 2258 | "parse-bmfont-binary": "^1.0.5", 2259 | "parse-bmfont-xml": "^1.1.4", 2260 | "phin": "^2.9.1", 2261 | "xhr": "^2.0.1", 2262 | "xtend": "^4.0.0" 2263 | } 2264 | }, 2265 | "loose-envify": { 2266 | "version": "1.4.0", 2267 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", 2268 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", 2269 | "requires": { 2270 | "js-tokens": "^3.0.0 || ^4.0.0" 2271 | } 2272 | }, 2273 | "make-dir": { 2274 | "version": "2.1.0", 2275 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", 2276 | "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", 2277 | "optional": true, 2278 | "requires": { 2279 | "pify": "^4.0.1", 2280 | "semver": "^5.6.0" 2281 | } 2282 | }, 2283 | "mime": { 2284 | "version": "1.6.0", 2285 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 2286 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 2287 | }, 2288 | "min-document": { 2289 | "version": "2.19.0", 2290 | "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", 2291 | "integrity": "sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ==", 2292 | "requires": { 2293 | "dom-walk": "^0.1.0" 2294 | } 2295 | }, 2296 | "minimatch": { 2297 | "version": "3.1.2", 2298 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2299 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2300 | "requires": { 2301 | "brace-expansion": "^1.1.7" 2302 | } 2303 | }, 2304 | "minimist": { 2305 | "version": "1.2.7", 2306 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", 2307 | "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" 2308 | }, 2309 | "mkdirp": { 2310 | "version": "0.5.6", 2311 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 2312 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 2313 | "requires": { 2314 | "minimist": "^1.2.6" 2315 | } 2316 | }, 2317 | "ms": { 2318 | "version": "2.1.2", 2319 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2320 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2321 | }, 2322 | "needle": { 2323 | "version": "3.2.0", 2324 | "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", 2325 | "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", 2326 | "optional": true, 2327 | "requires": { 2328 | "debug": "^3.2.6", 2329 | "iconv-lite": "^0.6.3", 2330 | "sax": "^1.2.4" 2331 | }, 2332 | "dependencies": { 2333 | "debug": { 2334 | "version": "3.2.7", 2335 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 2336 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 2337 | "optional": true, 2338 | "requires": { 2339 | "ms": "^2.1.1" 2340 | } 2341 | }, 2342 | "ms": { 2343 | "version": "2.1.3", 2344 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2345 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2346 | "optional": true 2347 | } 2348 | } 2349 | }, 2350 | "node-vibrant": { 2351 | "version": "3.2.1-alpha.1", 2352 | "resolved": "https://registry.npmjs.org/node-vibrant/-/node-vibrant-3.2.1-alpha.1.tgz", 2353 | "integrity": "sha512-EQergCp7fvbvUCE0VMCBnvaAV0lGWSP8SXLmuWQIBzQK5M5pIwcd9fIOXuzFkJx/8hUiiiLvAzzGDS/bIy2ikA==", 2354 | "requires": { 2355 | "@types/node": "^10.12.18", 2356 | "@vibrant/core": "^3.2.1-alpha.1", 2357 | "@vibrant/generator-default": "^3.2.1-alpha.1", 2358 | "@vibrant/image-browser": "^3.2.1-alpha.1", 2359 | "@vibrant/image-node": "^3.2.1-alpha.1", 2360 | "@vibrant/quantizer-mmcq": "^3.2.1-alpha.1", 2361 | "url": "^0.11.0" 2362 | } 2363 | }, 2364 | "normalize-path": { 2365 | "version": "3.0.0", 2366 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2367 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" 2368 | }, 2369 | "omggif": { 2370 | "version": "1.0.10", 2371 | "resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz", 2372 | "integrity": "sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==" 2373 | }, 2374 | "once": { 2375 | "version": "1.4.0", 2376 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2377 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2378 | "requires": { 2379 | "wrappy": "1" 2380 | } 2381 | }, 2382 | "pako": { 2383 | "version": "1.0.11", 2384 | "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", 2385 | "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" 2386 | }, 2387 | "parse-bmfont-ascii": { 2388 | "version": "1.0.6", 2389 | "resolved": "https://registry.npmjs.org/parse-bmfont-ascii/-/parse-bmfont-ascii-1.0.6.tgz", 2390 | "integrity": "sha512-U4RrVsUFCleIOBsIGYOMKjn9PavsGOXxbvYGtMOEfnId0SVNsgehXh1DxUdVPLoxd5mvcEtvmKs2Mmf0Mpa1ZA==" 2391 | }, 2392 | "parse-bmfont-binary": { 2393 | "version": "1.0.6", 2394 | "resolved": "https://registry.npmjs.org/parse-bmfont-binary/-/parse-bmfont-binary-1.0.6.tgz", 2395 | "integrity": "sha512-GxmsRea0wdGdYthjuUeWTMWPqm2+FAd4GI8vCvhgJsFnoGhTrLhXDDupwTo7rXVAgaLIGoVHDZS9p/5XbSqeWA==" 2396 | }, 2397 | "parse-bmfont-xml": { 2398 | "version": "1.1.4", 2399 | "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.4.tgz", 2400 | "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM+mCQ==", 2401 | "requires": { 2402 | "xml-parse-from-string": "^1.0.0", 2403 | "xml2js": "^0.4.5" 2404 | } 2405 | }, 2406 | "parse-headers": { 2407 | "version": "2.0.5", 2408 | "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.5.tgz", 2409 | "integrity": "sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==" 2410 | }, 2411 | "parse-node-version": { 2412 | "version": "1.0.1", 2413 | "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", 2414 | "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==" 2415 | }, 2416 | "path-is-absolute": { 2417 | "version": "1.0.1", 2418 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2419 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" 2420 | }, 2421 | "path-parse": { 2422 | "version": "1.0.7", 2423 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 2424 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" 2425 | }, 2426 | "phin": { 2427 | "version": "2.9.3", 2428 | "resolved": "https://registry.npmjs.org/phin/-/phin-2.9.3.tgz", 2429 | "integrity": "sha512-CzFr90qM24ju5f88quFC/6qohjC144rehe5n6DH900lgXmUe86+xCKc10ev56gRKC4/BkHUoG4uSiQgBiIXwDA==" 2430 | }, 2431 | "picomatch": { 2432 | "version": "2.3.1", 2433 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2434 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" 2435 | }, 2436 | "pify": { 2437 | "version": "4.0.1", 2438 | "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", 2439 | "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", 2440 | "optional": true 2441 | }, 2442 | "pixelmatch": { 2443 | "version": "4.0.2", 2444 | "resolved": "https://registry.npmjs.org/pixelmatch/-/pixelmatch-4.0.2.tgz", 2445 | "integrity": "sha512-J8B6xqiO37sU/gkcMglv6h5Jbd9xNER7aHzpfRdNmV4IbQBzBpe4l9XmbG+xPF/znacgu2jfEw+wHffaq/YkXA==", 2446 | "requires": { 2447 | "pngjs": "^3.0.0" 2448 | } 2449 | }, 2450 | "pngjs": { 2451 | "version": "3.4.0", 2452 | "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz", 2453 | "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==" 2454 | }, 2455 | "process": { 2456 | "version": "0.11.10", 2457 | "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", 2458 | "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" 2459 | }, 2460 | "prr": { 2461 | "version": "1.0.1", 2462 | "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", 2463 | "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", 2464 | "optional": true 2465 | }, 2466 | "punycode": { 2467 | "version": "1.3.2", 2468 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", 2469 | "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" 2470 | }, 2471 | "querystring": { 2472 | "version": "0.2.0", 2473 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 2474 | "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==" 2475 | }, 2476 | "react": { 2477 | "version": "18.2.0", 2478 | "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", 2479 | "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", 2480 | "requires": { 2481 | "loose-envify": "^1.1.0" 2482 | } 2483 | }, 2484 | "react-dom": { 2485 | "version": "18.2.0", 2486 | "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", 2487 | "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", 2488 | "requires": { 2489 | "loose-envify": "^1.1.0", 2490 | "scheduler": "^0.23.0" 2491 | } 2492 | }, 2493 | "readdirp": { 2494 | "version": "3.6.0", 2495 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2496 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2497 | "requires": { 2498 | "picomatch": "^2.2.1" 2499 | } 2500 | }, 2501 | "regenerator-runtime": { 2502 | "version": "0.13.11", 2503 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", 2504 | "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" 2505 | }, 2506 | "resolve": { 2507 | "version": "1.22.1", 2508 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", 2509 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", 2510 | "requires": { 2511 | "is-core-module": "^2.9.0", 2512 | "path-parse": "^1.0.7", 2513 | "supports-preserve-symlinks-flag": "^1.0.0" 2514 | } 2515 | }, 2516 | "safer-buffer": { 2517 | "version": "2.1.2", 2518 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2519 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 2520 | "optional": true 2521 | }, 2522 | "sass": { 2523 | "version": "1.57.1", 2524 | "resolved": "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz", 2525 | "integrity": "sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==", 2526 | "requires": { 2527 | "chokidar": ">=3.0.0 <4.0.0", 2528 | "immutable": "^4.0.0", 2529 | "source-map-js": ">=0.6.2 <2.0.0" 2530 | } 2531 | }, 2532 | "sax": { 2533 | "version": "1.2.4", 2534 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", 2535 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" 2536 | }, 2537 | "scheduler": { 2538 | "version": "0.23.0", 2539 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", 2540 | "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", 2541 | "requires": { 2542 | "loose-envify": "^1.1.0" 2543 | } 2544 | }, 2545 | "semver": { 2546 | "version": "5.7.1", 2547 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 2548 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 2549 | "optional": true 2550 | }, 2551 | "source-map": { 2552 | "version": "0.7.4", 2553 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", 2554 | "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==" 2555 | }, 2556 | "source-map-js": { 2557 | "version": "1.0.2", 2558 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", 2559 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" 2560 | }, 2561 | "stylus": { 2562 | "version": "0.59.0", 2563 | "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.59.0.tgz", 2564 | "integrity": "sha512-lQ9w/XIOH5ZHVNuNbWW8D822r+/wBSO/d6XvtyHLF7LW4KaCIDeVbvn5DF8fGCJAUCwVhVi/h6J0NUcnylUEjg==", 2565 | "requires": { 2566 | "@adobe/css-tools": "^4.0.1", 2567 | "debug": "^4.3.2", 2568 | "glob": "^7.1.6", 2569 | "sax": "~1.2.4", 2570 | "source-map": "^0.7.3" 2571 | } 2572 | }, 2573 | "supports-preserve-symlinks-flag": { 2574 | "version": "1.0.0", 2575 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 2576 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" 2577 | }, 2578 | "timm": { 2579 | "version": "1.7.1", 2580 | "resolved": "https://registry.npmjs.org/timm/-/timm-1.7.1.tgz", 2581 | "integrity": "sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==" 2582 | }, 2583 | "tinycolor2": { 2584 | "version": "1.5.1", 2585 | "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.5.1.tgz", 2586 | "integrity": "sha512-BHlrsGeYN2OpkRpfAgkEwCMu6w8Quq8JkK/mp4c55NZP7OwceJObR1CPZt62TqiA0Y3J5pwuDX+fXDqc35REtg==" 2587 | }, 2588 | "to-regex-range": { 2589 | "version": "5.0.1", 2590 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2591 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2592 | "requires": { 2593 | "is-number": "^7.0.0" 2594 | } 2595 | }, 2596 | "tslib": { 2597 | "version": "2.4.1", 2598 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", 2599 | "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" 2600 | }, 2601 | "typescript": { 2602 | "version": "4.9.4", 2603 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", 2604 | "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==" 2605 | }, 2606 | "url": { 2607 | "version": "0.11.0", 2608 | "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", 2609 | "integrity": "sha512-kbailJa29QrtXnxgq+DdCEGlbTeYM2eJUxsz6vjZavrCYPMIFHMKQmSKYAIuUK2i7hgPm28a8piX5NTUtM/LKQ==", 2610 | "requires": { 2611 | "punycode": "1.3.2", 2612 | "querystring": "0.2.0" 2613 | } 2614 | }, 2615 | "utif": { 2616 | "version": "2.0.1", 2617 | "resolved": "https://registry.npmjs.org/utif/-/utif-2.0.1.tgz", 2618 | "integrity": "sha512-Z/S1fNKCicQTf375lIP9G8Sa1H/phcysstNrrSdZKj1f9g58J4NMgb5IgiEZN9/nLMPDwF0W7hdOe9Qq2IYoLg==", 2619 | "requires": { 2620 | "pako": "^1.0.5" 2621 | } 2622 | }, 2623 | "wrappy": { 2624 | "version": "1.0.2", 2625 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2626 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" 2627 | }, 2628 | "xhr": { 2629 | "version": "2.6.0", 2630 | "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz", 2631 | "integrity": "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==", 2632 | "requires": { 2633 | "global": "~4.4.0", 2634 | "is-function": "^1.0.1", 2635 | "parse-headers": "^2.0.0", 2636 | "xtend": "^4.0.0" 2637 | } 2638 | }, 2639 | "xml-parse-from-string": { 2640 | "version": "1.0.1", 2641 | "resolved": "https://registry.npmjs.org/xml-parse-from-string/-/xml-parse-from-string-1.0.1.tgz", 2642 | "integrity": "sha512-ErcKwJTF54uRzzNMXq2X5sMIy88zJvfN2DmdoQvy7PAFJ+tPRU6ydWuOKNMyfmOjdyBQTFREi60s0Y0SyI0G0g==" 2643 | }, 2644 | "xml2js": { 2645 | "version": "0.4.23", 2646 | "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", 2647 | "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==", 2648 | "requires": { 2649 | "sax": ">=0.6.0", 2650 | "xmlbuilder": "~11.0.0" 2651 | } 2652 | }, 2653 | "xmlbuilder": { 2654 | "version": "11.0.1", 2655 | "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", 2656 | "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" 2657 | }, 2658 | "xtend": { 2659 | "version": "4.0.2", 2660 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 2661 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" 2662 | } 2663 | } 2664 | } 2665 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "betterncm-plugin-template", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "scripts": { 7 | "build": "node ./build.js", 8 | "build:dev": "node ./build.js --dev" 9 | }, 10 | "dependencies": { 11 | "@emotion/react": "^11.10.5", 12 | "@emotion/styled": "^11.10.5", 13 | "@mui/material": "^5.11.4", 14 | "@types/react": "^18.0.26", 15 | "@types/react-color": "^3.0.6", 16 | "@types/react-dom": "^18.0.9", 17 | "esbuild": "^0.16.1", 18 | "esbuild-sass-plugin": "^2.4.5", 19 | "esbuild-stylus-loader": "^0.4.2", 20 | "less": "^4.1.3", 21 | "node-vibrant": "^3.2.1-alpha.1", 22 | "react": "^18.2.0", 23 | "react-color": "^2.19.3", 24 | "react-dom": "^18.2.0", 25 | "sound-processor": "^1.0.0", 26 | "stylus": "^0.59.0", 27 | "typescript": "^4.9.4" 28 | }, 29 | "devDependencies": { 30 | "@types/less": "^3.0.3" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /rome.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatter": { 3 | "indentSize": 4, 4 | "indentStyle": "space" 5 | }, 6 | "linter": { 7 | "rules": { 8 | "suspicious": { 9 | "noExplicitAny": "off" 10 | } 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare module "betterncm-api/utils" { 3 | export namespace utils { 4 | function waitForElement(selector: K, interval?: number): Promise; 5 | function waitForElement(selector: K, interval?: number): Promise; 6 | function waitForElement(selector: string, interval?: number): Promise; 7 | /** 8 | * 重复调用某函数,直到其返回任意真值,并返回该真值。 9 | * @param func 函数 10 | * @param interval 重复调用时间间隔 11 | * @returns `func` 函数的返回值 12 | */ 13 | function waitForFunction(func: () => T, interval?: number): Promise; 14 | /** 15 | * 创建一个将在一定时间后 resolve 的 Promise 16 | * @param ms 延迟时间,以毫秒为单位。 17 | * @returns 将在ms毫秒后resolve的一个Promise 18 | */ 19 | function delay(ms: number): Promise; 20 | /** 21 | * 简易的创建一个元素的函数 22 | * @deprecated 早期未使用 React 时写的辅助函数,已弃用,请考虑使用自带的 React 构建复杂页面。 23 | * @param tag 元素类型 24 | * @param settings 元素的属性键值对 25 | * @param children 元素的子元素,按顺序添加 26 | * @returns 27 | */ 28 | function dom(tag: string, settings: any, ...children: HTMLElement[]): HTMLElement; 29 | } 30 | } 31 | declare module "betterncm-api/react" { } 32 | declare module "betterncm-api/base" { 33 | export const betterncmFetch: (relPath: string, option?: RequestInit & { 34 | ignoreApiKey?: boolean; 35 | }) => Promise; 36 | } 37 | declare module "betterncm-api/fs" { 38 | /** 39 | * 和外界的文件系统进行交互的接口 40 | */ 41 | export namespace fs { 42 | /** 43 | * 异步读取指定文件夹路径下的所有文件和文件夹 44 | * @param folderPath 需要读取的文件夹路径 45 | * @returns 所有文件和文件夹的相对路径或绝对路径 46 | */ 47 | function readDir(folderPath: string): Promise; 48 | /** 49 | * 读取文本文件,务必保证文件编码是 UTF-8 50 | * @param filePath 需要读取的文件路径 51 | * @returns 对应文件的文本形式 52 | */ 53 | function readFileText(filePath: string): Promise; 54 | /** 55 | * 读取文件 56 | * @param filePath 需要读取的文件路径 57 | * @returns blob 58 | */ 59 | function readFile(filePath: string): Promise; 60 | /** 61 | * 挂载路径 62 | * @param filePath 需要挂载的文件夹路径 63 | * @returns 挂载到的 http 地址 64 | */ 65 | function mountDir(filePath: string): Promise; 66 | /** 67 | * 挂载路径 68 | * @param filePath 需要挂载的文件路径 69 | * @returns 挂载到的 http 地址 70 | */ 71 | function mountFile(filePath: string): Promise; 72 | /** 73 | * 解压指定的 ZIP 压缩文件到一个指定的文件夹中 74 | * @param zipPath 需要解压的 ZIP 压缩文件路径 75 | * @param unzipDest 需要解压到的文件夹路径,如果不存在则会创建,如果解压时有文件存在则会被覆盖 76 | * @returns 返回值,是否成功 77 | */ 78 | function unzip(zipPath: string, unzipDest?: string): Promise; 79 | /** 80 | * 将文本写入到指定文件内 81 | * @param filePath 需要写入的文件路径 82 | * @param content 需要写入的文件内容 83 | * @returns 是否成功 84 | */ 85 | function writeFileText(filePath: string, content: string): Promise; 86 | /** 87 | * 将文本或二进制数据写入到指定文件内 88 | * @param filePath 需要写入的文件路径 89 | * @param content 需要写入的文件内容 90 | * @returns 是否成功 91 | */ 92 | function writeFile(filePath: string, content: string | Blob): Promise; 93 | /** 94 | * 在指定路径新建文件夹 95 | * @param dirPath 文件夹的路径 96 | * @returns 是否成功 97 | */ 98 | function mkdir(dirPath: string): Promise; 99 | /** 100 | * 检查指定路径下是否存在文件或文件夹 101 | * @param path 文件或文件夹的路径 102 | * @returns 是否存在 103 | */ 104 | function exists(path: string): Promise; 105 | /** 106 | * 删除指定路径下的文件或文件夹 107 | * @param path 指定的文件或文件夹路径 108 | */ 109 | function remove(path: string): Promise; 110 | } 111 | } 112 | declare module "betterncm-api/app" { 113 | export namespace app { 114 | /** 115 | * 执行指定的程序 116 | * @param cmd 需要执行的指令 117 | * @param elevate 是否使用管理员权限运行 118 | * @param showWindow 是否显示控制台窗口 119 | * @returns TODO: 返回的啥玩意 120 | */ 121 | function exec(cmd: string, elevate?: boolean, showWindow?: boolean): Promise; 122 | /** 123 | * 获取当前 BetterNCM 的版本号 124 | * @returns 当前 BetterNCM 的版本号 125 | */ 126 | function getBetterNCMVersion(): Promise; 127 | /** 128 | * 全屏截图 129 | * @returns 截图的 Blob 数据 130 | */ 131 | function takeBackgroundScreenshot(): Promise; 132 | /** 133 | * 获取网易云窗口位置 134 | * @returns 位置 135 | */ 136 | function getNCMWinPos(): Promise<{ 137 | x: number; 138 | y: number; 139 | }>; 140 | /** 141 | * 重新解压所有插件 142 | * @returns 是否成功 143 | */ 144 | function reloadPlugins(): Promise; 145 | /** 146 | * 获取目前 BetterNCM 数据目录 147 | * @returns 数据目录路径 148 | */ 149 | function getDataPath(): Promise; 150 | /** 151 | * 读取 BetterNCM 设置 152 | * @param key 键 153 | * @param defaultValue 默认值 154 | * @returns 读取到的值 155 | */ 156 | function readConfig(key: string, defaultValue: string): Promise; 157 | /** 158 | * 设置 BetterNCM 设置 159 | * @param key 键 160 | * @param value 值 161 | * @returns 是否成功 162 | */ 163 | function writeConfig(key: string, value: string): Promise; 164 | /** 165 | * 获取网易云安装目录 166 | * @returns 安装目录 167 | */ 168 | function getNCMPath(): Promise; 169 | /** 170 | * 打开网易云主进程的Console 171 | * @returns 是否成功 172 | */ 173 | function showConsole(): Promise; 174 | /** 175 | * 设置Win11 DWM圆角开启状态 176 | * @param enable 是否开启 177 | * @returns 是否成功 178 | */ 179 | function setRoundedCorner(enable?: boolean): Promise; 180 | /** 181 | * 打开一个选择文件对话框 182 | * @param filter 要筛选的文件类型 183 | * @param initialDir 对话框初始地址 184 | * @returns 选择的文件地址,若未选择则为空字符串 185 | */ 186 | function openFileDialog(filter: string, initialDir: string): Promise; 187 | /** 188 | * 获取当前主题是否为亮色主题 189 | * @todo 测试在 Windows 7 及 Windows 10 下是否正常工作 190 | * @returns 当前主题是否为亮色主题 191 | */ 192 | function isLightTheme(): Promise; 193 | /** 194 | * 获取执行成功的 Hijack 日志 195 | * @returns Hijack 日志 196 | */ 197 | function getSucceededHijacks(): Promise; 198 | } 199 | } 200 | declare module "betterncm-api/ncm" { 201 | export namespace ncm { 202 | function findNativeFunction(obj: Object, identifiers: string): string | undefined; 203 | function openUrl(url: string): void; 204 | function getNCMPackageVersion(): string; 205 | function getNCMFullVersion(): string; 206 | function getNCMVersion(): string; 207 | function getNCMBuild(): number; 208 | function searchApiFunction(nameOrFinder: string | ((func: Function) => boolean), root?: any, currentPath?: string[], prevObjects?: any[], result?: [Function, any, string[]][]): [Function, any, string[]][]; 209 | function searchForData(finder: (func: any) => boolean, root?: any, currentPath?: string[], prevObjects?: any[], result?: [any, any, string[]][]): [any, any, string[]][]; 210 | function findApiFunction(nameOrFinder: string | ((func: Function) => boolean), root?: any, currentPath?: string[], prevObjects?: any[]): [Function, any, string[]] | null; 211 | /** 212 | * 获取当前正在播放的歌曲的信息,包括歌曲信息,来源,当前播放状态等 213 | * @todo 补全返回值类型 214 | * @returns 当前歌曲的播放信息 215 | */ 216 | function getPlayingSong(): any; 217 | /** 218 | * 获取当前正在播放的歌曲的简要信息 219 | * @deprecated 由于找到了自带的接口,故这个函数被弃用,请转而使用 `betterncm.ncm.getPlayingSong` 220 | * @returns 简化的播放信息 221 | */ 222 | function getPlaying(): { 223 | id: number; 224 | title: string; 225 | type: string; 226 | }; 227 | } 228 | } 229 | declare module "betterncm-api/tests" { 230 | export namespace tests { 231 | function fail(reason: string): Promise; 232 | function success(message: string): Promise; 233 | } 234 | } 235 | declare module "betterncm-api/index" { 236 | /** 237 | * @fileoverview 238 | * BetterNCM 插件开发接口 239 | * 240 | * 插件作者可以通过此处的接口来和界面或程序外部交互 241 | */ 242 | import "betterncm-api/react"; 243 | import { fs } from "betterncm-api/fs"; 244 | import { app } from "betterncm-api/app"; 245 | import { ncm } from "betterncm-api/ncm"; 246 | import { tests } from "betterncm-api/tests"; 247 | import { utils } from "betterncm-api/utils"; 248 | /** 249 | * 包含加载动画的重载 250 | */ 251 | function reload(): void; 252 | const BetterNCM: { 253 | fs: typeof fs; 254 | app: typeof app; 255 | ncm: typeof ncm; 256 | utils: typeof utils; 257 | tests: typeof tests; 258 | reload: typeof reload; 259 | betterncmFetch: (relPath: string, option?: (RequestInit & { 260 | ignoreApiKey?: boolean | undefined; 261 | }) | undefined) => Promise; 262 | }; 263 | export { fs, app, ncm, utils, tests, reload }; 264 | export default BetterNCM; 265 | } 266 | declare module "plugin" { 267 | export interface InjectFile { 268 | file: string; 269 | } 270 | export interface HijackOperation { 271 | type: string; 272 | } 273 | export interface HijackReplaceOrRegexOperation extends HijackOperation { 274 | type: "replace" | "regex"; 275 | from: string; 276 | to: string; 277 | } 278 | export interface HijackAppendOrPrependOperation extends HijackOperation { 279 | type: "append" | "prepend"; 280 | code: string; 281 | } 282 | export interface PluginManifest { 283 | manifest_version: number; 284 | name: string; 285 | version: string; 286 | slug: string; 287 | loadAfter?: string[]; 288 | loadBefore?: string[]; 289 | injects: { 290 | [pageType: string]: InjectFile[]; 291 | }; 292 | hijacks: { 293 | [versionRange: string]: { 294 | [matchUrlPath: string]: HijackReplaceOrRegexOperation | HijackAppendOrPrependOperation; 295 | }; 296 | }; 297 | } 298 | export class NCMPlugin extends EventTarget { 299 | [x: string]: any; 300 | #private; 301 | pluginPath: string; 302 | injects: NCMInjectPlugin[]; 303 | manifest: PluginManifest; 304 | finished: boolean; 305 | devMode: boolean; 306 | constructor(manifest: PluginManifest, pluginPath: string, devMode: boolean); 307 | haveConfigElement(): boolean; 308 | } 309 | export class NCMInjectPlugin extends EventTarget { 310 | readonly filePath: string; 311 | pluginPath: string; 312 | manifest: PluginManifest; 313 | configViewElement: HTMLElement | null; 314 | mainPlugin: NCMPlugin; 315 | loadError: Error | null; 316 | finished: boolean; 317 | constructor(mainPlugin: NCMPlugin, filePath: string); 318 | onLoad(fn: (selfPlugin: NCMPlugin, evt: CustomEvent) => void): void; 319 | onConfig(fn: (toolsBox: any) => HTMLElement): void; 320 | onAllPluginsLoaded(fn: (loadedPlugins: typeof window.loadedPlugins, evt: CustomEvent) => void): void; 321 | getConfig(key: string): T | undefined; 322 | getConfig(key: string, defaultValue: T): T; 323 | setConfig(key: string, value: T): void; 324 | _getConfigElement(): HTMLElement | null; 325 | } 326 | } 327 | declare module "plugin-manager/components/button" { 328 | export const Button: React.FC>>; 329 | } 330 | declare module "plugin-manager/components/progress-ring" { 331 | export const ProgressRing: React.FC<{ 332 | size?: string; 333 | }>; 334 | } 335 | declare module "plugin-manager/components/header" { 336 | export const HeaderComponent: React.FC<{ 337 | onRequestOpenStartupWarnings: Function; 338 | }>; 339 | } 340 | declare module "plugin-manager/components/safe-mode-info" { 341 | export const SafeModeInfo: React.FC; 342 | } 343 | declare module "plugin-manager/components/warning" { 344 | export const StartupWarning: React.FC<{ 345 | onRequestClose: Function; 346 | }>; 347 | } 348 | declare module "plugin-manager/index" { 349 | import { loadedPlugins } from "loader"; 350 | export function initPluginManager(): Promise; 351 | export let onPluginLoaded: (_: typeof loadedPlugins) => void; 352 | } 353 | declare module "loader" { 354 | export let loadedPlugins: typeof window.loadedPlugins; 355 | /** 356 | * 禁用安全模式,将会在下一次重载生效 357 | * 358 | * 详情请参阅 `enableSafeMode` 359 | * 360 | * @see {@link enableSafeMode} 361 | */ 362 | export function disableSafeMode(): Promise; 363 | /** 364 | * 启用安全模式,将会在下一次重载生效 365 | * 366 | * 在该模式下,只会加载插件管理器本身,所有插件(包括插件商店)将会被忽略加载 367 | * 368 | * 同时如果有加载错误的情况的话(即设置了 `LOAD_ERROR_KEY`)则会在插件管理器内显示 369 | * 370 | * 供用户和插件作者排查加载错误 371 | */ 372 | export function enableSafeMode(): Promise; 373 | export class PluginLoadError extends Error { 374 | readonly pluginPath: string; 375 | readonly rawError: Error; 376 | constructor(pluginPath: string, rawError: Error, message?: string, options?: ErrorOptions); 377 | toString(): string; 378 | } 379 | export class DependencyResolveError extends Error { 380 | constructor(message?: string, options?: ErrorOptions); 381 | toString(): string; 382 | } 383 | export const isSafeMode: () => boolean; 384 | export const getLoadError: () => string; 385 | } 386 | 387 | interface EAPIResponse { 388 | code: number; 389 | error?: string; 390 | } 391 | 392 | interface EAPILyric { 393 | version: number; 394 | lyric: string; 395 | } 396 | 397 | interface EAPILyricResponse extends EAPIResponse { 398 | lrc?: EAPILyric; 399 | tlyric?: EAPILyric; 400 | romalrc?: EAPILyric; 401 | yrc?: EAPILyric; 402 | } 403 | 404 | declare var loadedPlugins: { [slug: string]: import("plugin").NCMInjectPlugin }; 405 | declare var pluginPath: string; 406 | declare var plugin: import("plugin").NCMInjectPlugin; 407 | declare const betterncm: typeof import("betterncm-api/index").default; 408 | declare var h: typeof React.createElement; 409 | declare var f: typeof React.Fragment; 410 | declare const DEBUG: boolean; 411 | declare var betterncm_native: any; 412 | declare var channel: any; 413 | declare var legacyNativeCmder: any; 414 | declare var registeredCalls:{[id:string]:Function[]} 415 | declare var APP_CONF:any; -------------------------------------------------------------------------------- /src/hooks.ts: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | 3 | export function useLocalStorage(key: string, initialValue: T): [T, (value: T | ((prevValue: T) => T)) => void] { 4 | const [storedValue, setStoredValue] = React.useState(() => { 5 | try { 6 | const item = window.localStorage.getItem(key); 7 | return item ? JSON.parse(item) : initialValue; 8 | } catch (error) { 9 | console.log(error); 10 | return initialValue; 11 | } 12 | }); 13 | 14 | const setValue = (value: T | ((prevValue: T) => T)) => { 15 | try { 16 | const valueToStore = value instanceof Function ? value(storedValue) : value; 17 | setStoredValue(valueToStore); 18 | window.localStorage.setItem(key, JSON.stringify(valueToStore)); 19 | } catch (error) { 20 | console.log(error); 21 | } 22 | }; 23 | 24 | return [storedValue, setValue]; 25 | } -------------------------------------------------------------------------------- /src/index.scss: -------------------------------------------------------------------------------- 1 | #main-player.audioVisualizerModifyMP{ 2 | background:linear-gradient(0deg, #232136 30%, transparent) !important; 3 | } 4 | 5 | .audioVisualizerCanvasParent{ 6 | position: absolute; 7 | left: 0; 8 | top: 0; 9 | height: 100%; 10 | right: 0; 11 | 12 | .audioVisualizerCanvas{ 13 | transform-origin: top left; 14 | position:absolute; 15 | left:0; 16 | top:0; 17 | width:100%; 18 | height:100%; 19 | -webkit-mask-image: linear-gradient(transparent 10%,black 70%, transparent); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- 1 | /** 2 | * @fileoverview 3 | * 此处的脚本将会在插件管理器加载插件期间被加载 4 | * 一般情况下只需要从这个入口点进行开发即可满足绝大部分需求 5 | */ 6 | 7 | import Player from "./soundProcessor/Player.js"; 8 | import { useLocalStorage } from "./hooks"; 9 | import VisualCanvas from "./soundProcessor/VisualCanvas"; 10 | import "./index.scss"; 11 | import * as React from "react"; 12 | import * as ReactDOM from "react-dom"; 13 | import { Button, Slider, Stack } from "@mui/material"; 14 | import Checkbox from "@mui/material/Checkbox"; 15 | import { ChromePicker } from "react-color"; 16 | let configElement; 17 | const styleElement = document.createElement("style"); 18 | let canvasElement; 19 | const canvasParent = document.createElement("div"); 20 | 21 | plugin.onLoad((selfPlugin) => { 22 | configElement = document.createElement("div"); 23 | ReactDOM.render(, configElement); 24 | 25 | styleElement.innerHTML = betterncm_native.fs.readFileText( 26 | `${selfPlugin.pluginPath}/index.css`, 27 | ); 28 | document.head.appendChild(styleElement); 29 | canvasParent.classList.add("audioVisualizerCanvasParent"); 30 | 31 | betterncm.utils.waitForElement(".g-singlec-ct").then((mainPlayer) => { 32 | mainPlayer?.appendChild(canvasParent); 33 | }); 34 | 35 | let player; 36 | betterncm.utils.waitForElement(".btnp").then((btn) => { 37 | loadedPlugins.LibFrontendPlay.addEventListener( 38 | "updateCurrentAudioPlayer", 39 | (e) => { 40 | if (player) player.paused = true; 41 | player = new Player((e as CustomEvent).detail, [ 42 | new VisualCanvas(canvasElement, 0), 43 | new VisualCanvas(undefined, btn), 44 | ]); 45 | 46 | player.play(); 47 | }, 48 | ); 49 | }); 50 | }); 51 | 52 | declare var h: typeof React.createElement; 53 | declare var f: typeof React.Fragment; 54 | 55 | export let CurrentColor = { 56 | r: 255, 57 | g: 255, 58 | b: 255, 59 | a: 30, 60 | }; 61 | 62 | function Menu() { 63 | const canvasRef = React.useRef(null); 64 | 65 | const btnColorRef = React.useRef(null); 66 | 67 | React.useEffect(() => { 68 | canvasElement = canvasRef.current; 69 | }, [canvasRef]); 70 | 71 | const [windowWH, setWindowWH] = React.useState([ 72 | document.body.clientWidth, 73 | document.body.clientHeight, 74 | ]); 75 | 76 | const [mirrored, setMirrored] = useLocalStorage( 77 | "simpleaudiovisualizer.mirrored", 78 | false, 79 | ); 80 | 81 | const [horizontal, setHorizontal] = useLocalStorage( 82 | "simpleaudiovisualizer.horizontal", 83 | false, 84 | ); 85 | 86 | const [transformX, setTransformX] = useLocalStorage( 87 | "simpleaudiovisualizer.transformX", 88 | 0, 89 | ); 90 | 91 | const [transformY, setTransformY] = useLocalStorage( 92 | "simpleaudiovisualizer.transformY", 93 | 0, 94 | ); 95 | 96 | const [fixed, setFixed] = useLocalStorage( 97 | "simpleaudiovisualizer.fixed", 98 | false, 99 | ); 100 | 101 | const [modifyMP, setModifyMP] = useLocalStorage( 102 | "simpleaudiovisualizer.modifyMP", 103 | false, 104 | ); 105 | 106 | React.useEffect(()=>{ 107 | setInterval(()=>{ 108 | if(modifyMP){ 109 | document.querySelector("#main-player")?.classList.add("audioVisualizerModifyMP"); 110 | }else{ 111 | document.querySelector("#main-player")?.classList.remove("audioVisualizerModifyMP") 112 | } 113 | },100); 114 | },[]); 115 | 116 | const [color, setColor] = useLocalStorage("simpleaudiovisualizer.color", { 117 | r: 255, 118 | g: 255, 119 | b: 255, 120 | a: 255, 121 | }); 122 | 123 | React.useEffect(() => { 124 | CurrentColor = color; 125 | }, [color]); 126 | 127 | React.useEffect(() => { 128 | window.addEventListener("resize", () => { 129 | setWindowWH([ 130 | document.body.clientWidth, 131 | document.body.clientHeight, 132 | ]); 133 | }); 134 | }, []); 135 | 136 | return ( 137 | <> 138 | 139 |
140 | setHorizontal(v)} 143 | /> 144 | 水平排列 145 | 146 | setMirrored(v)} 149 | /> 150 | 对称 151 | 152 | setFixed(v)} 155 | /> 156 | 固定位置 157 | 158 | setModifyMP(v)} 161 | /> 162 | 修改播放栏 163 |
164 | 165 | 171 | 水平平移 172 | setTransformX(v as number)} 177 | /> 178 | 179 | 180 | 186 | 垂直平移 187 | setTransformY(v as number)} 192 | /> 193 | 194 | 195 |
196 | setColor(res.rgb as any)} 199 | disableAlpha={false} 200 | /> 201 |
202 |
203 | {ReactDOM.createPortal( 204 | <> 205 | 225 | , 226 | canvasParent, 227 | )} 228 | 229 | ); 230 | } 231 | 232 | plugin.onConfig(() => { 233 | return configElement; 234 | }); 235 | -------------------------------------------------------------------------------- /src/soundProcessor/Bar.js: -------------------------------------------------------------------------------- 1 | import { CurrentColor } from "../index" 2 | 3 | class Bar { 4 | constructor(x, y, w, h) { 5 | this.x = x; 6 | this.y = y; 7 | this.w = w; 8 | this.h = h; 9 | this.bottom = h + y; 10 | this.opacity = 0.3; 11 | //缓动系数,数值越大动画越"缓" 12 | this.smoother = 0; 13 | } 14 | 15 | update(amplitude) { 16 | const { 17 | smoother, 18 | last 19 | } = this; 20 | const lastAmp = last !== undefined ? last : amplitude; 21 | const lastOpa = 0.05 + 0.95 * lastAmp / 255; 22 | const nextOpa = 0.05 + 0.95 * amplitude / 255; 23 | this.opacity = smoother * lastOpa + (1 - smoother) * nextOpa; 24 | this.last = amplitude; 25 | } 26 | 27 | draw(ctx) { 28 | const { 29 | opacity, 30 | x, 31 | w, 32 | h, 33 | bottom 34 | } = this; 35 | const newY = bottom - h * opacity; 36 | ctx.fillStyle = `rgba(${CurrentColor.r}, ${CurrentColor.g}, ${CurrentColor.b}, ${CurrentColor.a * opacity})`; 37 | 38 | ctx.beginPath(); 39 | ctx.rect(x, newY, w, h * opacity); 40 | ctx.closePath(); 41 | ctx.fill(); 42 | } 43 | } 44 | 45 | export default Bar; -------------------------------------------------------------------------------- /src/soundProcessor/Player.js: -------------------------------------------------------------------------------- 1 | import { 2 | SoundProcessor 3 | } from 'sound-processor'; 4 | import {reduce} from './util.js'; 5 | import VisualCanvas from "./VisualCanvas.js"; 6 | const AudioContext = window.AudioContext || window.webkitAudioContext || window.mozAudioContext;; 7 | const FFT_SIZE = 1024; 8 | const START_F = 150; //起始频率 9 | const END_F = 4500; //截止频率 10 | const V_TARGETS = 81; 11 | 12 | 13 | class Player { 14 | constructor(audio, vcs=[]) { 15 | 16 | 17 | // 创建上下文 18 | this.AC = loadedPlugins.LibFrontendPlay.currentAudioContext; 19 | 20 | 21 | 22 | // 创建analyser实例 23 | this.analyser = this.AC.createAnalyser(); 24 | this.analyser.fftSize = FFT_SIZE; 25 | 26 | // 实例化可视化元素 27 | this.vc = vcs; 28 | 29 | this.refreshFrame = this.refreshFrame.bind(this); 30 | this.setAudio = this.setAudio.bind(this); 31 | 32 | if (audio) { 33 | this.setAudio(audio); 34 | } 35 | } 36 | 37 | setAudio(audio, type) { 38 | if (!audio) { 39 | console.error('need a audio dom'); 40 | return; 41 | } 42 | const { 43 | AC, 44 | analyser 45 | } = this; 46 | this.audio = audio; 47 | 48 | 49 | // 实例化音频处理器 50 | this.soundProcessor = new SoundProcessor({ 51 | filterParams: { 52 | sigma: 1, 53 | radius: 2 54 | }, 55 | sampleRate: AC.sampleRate, 56 | fftSize: FFT_SIZE, 57 | endFrequency: END_F, 58 | startFrequency: type === 2 ? 1000 : START_F, 59 | outBandsQty: type === 2 ? 1 : V_TARGETS, 60 | tWeight: true, 61 | aWeight: true 62 | }); 63 | 64 | console.log('soundProcessor', this.soundProcessor) 65 | } 66 | 67 | play() { 68 | this.refreshFrame(); 69 | } 70 | 71 | pause() { 72 | 73 | } 74 | 75 | refreshFrame() { 76 | const array = this.getFre(); 77 | this.vc.forEach(vc=>vc.update(array)); 78 | if (!this.paused) { 79 | window.requestAnimationFrame(this.refreshFrame); 80 | } 81 | } 82 | 83 | getFre() { 84 | return this.soundProcessor.process(loadedPlugins.LibFrontendPlay.getFFTData()); 85 | } 86 | } 87 | 88 | 89 | export default Player; -------------------------------------------------------------------------------- /src/soundProcessor/Square.js: -------------------------------------------------------------------------------- 1 | class Square { 2 | constructor(x, y, w) { 3 | this.x = x; 4 | this.y = y; 5 | this.w = w; 6 | this.opacity = 0.3; 7 | //缓动系数,数值越大动画越"缓" 8 | this.smoother = 0.3; 9 | } 10 | 11 | update(f) { 12 | const { 13 | smoother, 14 | lastF 15 | } = this; 16 | const lf = lastF !== undefined ? lastF : f; 17 | const lo = 0.3 + 0.7 * lf / 255; 18 | const fo = 0.3 + 0.7 * f / 255; 19 | this.opacity = smoother * lo + (1 - smoother) * fo; 20 | this.lastF = f; 21 | } 22 | 23 | draw(ctx) { 24 | 25 | const { 26 | opacity, 27 | x, 28 | y, 29 | w 30 | } = this; 31 | const radius = w / 2 ; 32 | 33 | ctx.fillStyle = `rgba(235, 188, 186, ${opacity})`; 34 | //`rgba(${212 * opacity}, 60, 51, ${opacity})`; 35 | 36 | ctx.beginPath(); 37 | ctx.arc(x + radius , y + radius, (w * opacity) / 2, 0, 2 * Math.PI); 38 | // ctx.rect(x, y, w, w); 39 | ctx.closePath(); 40 | ctx.fill(); 41 | } 42 | } 43 | 44 | export default Square; -------------------------------------------------------------------------------- /src/soundProcessor/VisualCanvas.js: -------------------------------------------------------------------------------- 1 | import Square from './Square.js'; 2 | import Bar from './Bar.js'; 3 | const SQUARE_NUM = 13; 4 | const V_TARGETS = 81; 5 | 6 | class VisualCanvas { 7 | constructor(canvas, type) { 8 | if(canvas){ 9 | // const canvasStyle = window.getComputedStyle(canvas); 10 | // const ratio = this.ratio = window.devicePixelRatio || 1; 11 | // canvas.width = parseFloat(canvasStyle.width, 10) * ratio; 12 | // canvas.height = parseFloat(canvasStyle.height, 10) * ratio; 13 | 14 | canvas.width=document.body.offsetWidth 15 | canvas.height=document.body.offsetWidth 16 | 17 | this.ctx = canvas.getContext("2d"); 18 | this.ctx.fillStyle = "rgba(255,255,255,0.5)"; 19 | 20 | this.ctx.lineJoin = "round"; 21 | this.ctx.lineWidth = 20; 22 | 23 | this.canvas = canvas; 24 | this.targets = []; 25 | 26 | this.draw = this.draw.bind(this); 27 | 28 | } 29 | 30 | if(!type) { 31 | this.initBars(); 32 | } else if(type === 1) { 33 | this.initSquares(); 34 | } else if(typeof type === 'object') { 35 | this.target = type; 36 | } 37 | } 38 | 39 | initBars() { 40 | const count = V_TARGETS; 41 | const gap = 5; 42 | const { 43 | width, 44 | height 45 | } = this.canvas; 46 | 47 | const w = (width - gap * count - gap) / count; 48 | const h = 300; 49 | const mY = height - h; 50 | 51 | for (let i = 0; i < count; i++) { 52 | let mX = w * i + (i + 1) * gap; 53 | this.targets.push(new Bar(mX, mY, w, h)); 54 | } 55 | this.draw(); 56 | } 57 | 58 | initSquares() { 59 | const count = SQUARE_NUM; 60 | const maxWidth = 40 * this.ratio; 61 | const radius = Math.floor(count / 2); 62 | const { 63 | width, 64 | height 65 | } = this.canvas; 66 | const w = Math.min(Math.min(width, height) / (1.5 * count + 1.5), maxWidth); 67 | const startX = (width - (1.5 * count - 0.5) * w) / 2; 68 | const startY = (height - (1.5 * count - 0.5) * w) / 2; 69 | 70 | const centerX = 1.5 * w * radius + startX; 71 | const centerY = 1.5 * w * radius + startY; 72 | 73 | // 乌拉姆螺旋,质数螺旋 74 | for (let i = 0; i < radius; i++) { 75 | let mX = centerX + 1.5 * w * i; 76 | let mY = centerY + 1.5 * w * i; 77 | this.targets.push(new Square(mX, mY, w)); 78 | 79 | // 往右一步 80 | mX += 1.5 * w; 81 | this.targets.push(new Square(mX, mY, w)); 82 | 83 | // 往上 i * 2 + 1 84 | for(let j = 1; j <= i * 2 + 1; j++) { 85 | mY -= 1.5 *w; 86 | this.targets.push(new Square(mX, mY, w)); 87 | } 88 | 89 | // 往左 i * 2 90 | for(let k = 1; k <= i * 2 + 2; k++) { 91 | mX -= 1.5 *w; 92 | this.targets.push(new Square(mX, mY, w)); 93 | } 94 | 95 | // 往下 i * 2 96 | for(let m = 1; m <= i * 2 + 2; m++) { 97 | mY += 1.5 *w; 98 | this.targets.push(new Square(mX, mY, w)); 99 | } 100 | 101 | // 往右 i * 2 + 1 102 | for(let n = 1; n <= i * 2 + 1; n++) { 103 | mX += 1.5 *w; 104 | this.targets.push(new Square(mX, mY, w)); 105 | } 106 | 107 | // 最后一格 108 | if(i === radius - 1) { 109 | mX += 1.5 *w; 110 | this.targets.push(new Square(mX, mY, w)); 111 | } 112 | } 113 | this.draw(); 114 | } 115 | 116 | update(array) { 117 | const { 118 | targets, 119 | target 120 | } = this; 121 | 122 | if(target) { 123 | const scale = 0.9 + array[0] / 255; 124 | // target.style.transform = `scale(${scale})`; 125 | target.style.opacity = `${0.3 + array[0] / 255}`; 126 | } else { 127 | for (let i = 0; i < targets.length; i++) { 128 | if (array[i] !== undefined) { 129 | targets[i].update(array[i]); 130 | } 131 | } 132 | this.draw(); 133 | } 134 | } 135 | 136 | draw() { 137 | const { 138 | ctx, 139 | targets 140 | } = this; 141 | const len = targets.length; 142 | 143 | ctx.clearRect(0, 0, this.canvas.width, this.canvas.height); 144 | 145 | for (let i = 0; i < len; i++) { 146 | targets[i].draw(ctx); 147 | } 148 | } 149 | } 150 | 151 | export default VisualCanvas; -------------------------------------------------------------------------------- /src/soundProcessor/util.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Reduce un array al tamaño deseado haciendo la media 3 | * de las partes que quedan. 4 | * 5 | * Ejemplo para tamaño 2: 6 | * [1, 1, 2, 2] => [1, 2] 7 | * [2, 4, 5, 5] => [3, 5] 8 | */ 9 | function reduce(array, size) { 10 | if (size >= array.length) { 11 | return array; 12 | } 13 | const newArray = [], 14 | step = parseInt(array.length / size, 10); 15 | 16 | for (let i = 0; i < array.length; i += step) { 17 | let sum = 0; 18 | for (let j = 0; j < step && (i + j) < array.length; j++) { 19 | sum += array[i + j]; 20 | } 21 | newArray.push(parseInt(sum / step, 10)); 22 | } 23 | 24 | return newArray; 25 | } 26 | 27 | export { 28 | reduce 29 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": [ 3 | "./src/**/*.ts", 4 | "./src/**/*.tsx", 5 | "./*.css" 6 | ], 7 | "compilerOptions": { 8 | "target": "ESNext", 9 | "lib": [ 10 | "ESNext", 11 | "DOM" 12 | ], 13 | "types": [], 14 | "jsx": "react", 15 | "jsxFactory": "h", 16 | "jsxFragmentFactory": "f", 17 | "moduleResolution": "node", 18 | "strictNullChecks": true, 19 | "allowJs": false 20 | } 21 | } --------------------------------------------------------------------------------