removed submodule
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "webui"]
|
||||
path = webui
|
||||
url = ../deemix-webui
|
1
webui
@ -1 +0,0 @@
|
||||
Subproject commit 2d19cccebde7b212202d000e84ff51572b310d24
|
17
webui/.eslintrc.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
extends:
|
||||
- "@nuxtjs"
|
||||
- plugin:prettier/recommended
|
||||
plugins:
|
||||
- "@typescript-eslint"
|
||||
parserOptions:
|
||||
parser: "@typescript-eslint/parser"
|
||||
rules:
|
||||
"@typescript-eslint/no-unused-vars":
|
||||
- error
|
||||
- args: all
|
||||
argsIgnorePattern: ^_
|
||||
no-unused-vars: off
|
||||
no-console: off
|
||||
camelcase: off
|
||||
vue/no-v-html: off
|
148
webui/.gitattributes
vendored
Normal file
@ -0,0 +1,148 @@
|
||||
## Source: https://github.com/ptkdev-boilerplate/node-cli-boilerplate/blob/main/.gitattributes
|
||||
|
||||
## AUTO-DETECT
|
||||
* text=auto
|
||||
|
||||
## SOURCE CODE
|
||||
*.bat text eol=crlf
|
||||
*.css text eol=lf
|
||||
*.html text diff=html eol=lf
|
||||
*.ini text eol=crlf
|
||||
*.js text eol=lf
|
||||
*.json text eol=lf
|
||||
*.php text diff=php eol=lf
|
||||
*.py text diff=python eol=lf
|
||||
*.rb text diff=ruby
|
||||
*.sass text eol=lf
|
||||
*.scss text eol=lf
|
||||
*.sh text eol=lf
|
||||
*.sql text eol=lf
|
||||
*.ts text eol=lf
|
||||
*.vue text eol=lf
|
||||
*.svelte text eol=lf
|
||||
*.xml text eol=lf
|
||||
*.xhtml text diff=html eol=lf
|
||||
|
||||
## DOCKER
|
||||
*.dockerignore text eol=lf
|
||||
Dockerfile text eol=lf
|
||||
|
||||
## DOCUMENTATION
|
||||
*.md text eol=lf
|
||||
*.txt text eol=lf
|
||||
AUTHORS text eol=lf
|
||||
CHANGELOG text eol=lf
|
||||
CHANGES text eol=lf
|
||||
CONTRIBUTING text eol=lf
|
||||
COPYING text eol=lf
|
||||
INSTALL text eol=lf
|
||||
license text eol=lf
|
||||
LICENSE text eol=lf
|
||||
NEWS text eol=lf
|
||||
README text eol=lf
|
||||
TODO text eol=lf
|
||||
|
||||
## TEMPLATES
|
||||
*.dot text eol=lf
|
||||
*.tpl text eol=lf
|
||||
*.twig text eol=lf
|
||||
|
||||
## LINTERS
|
||||
.csslintrc text eol=lf
|
||||
.eslintrc text eol=lf
|
||||
.htmlhintrc text eol=lf
|
||||
.jscsrc text eol=lf
|
||||
.jshintrc text eol=lf
|
||||
.jshintignore text eol=lf
|
||||
.stylelintrc text eol=lf
|
||||
.npmignore text eol=lf
|
||||
|
||||
## CONFIGS
|
||||
*.bowerrc text eol=lf
|
||||
*.cnf text eol=lf
|
||||
*.conf text eol=lf
|
||||
*.config text eol=lf
|
||||
.babelrc text eol=lf
|
||||
.browserslistrc text eol=lf
|
||||
.editorconfig text eol=lf
|
||||
.env text eol=lf
|
||||
.gitattributes text eol=lf
|
||||
.gitconfig text eol=lf
|
||||
.htaccess text eol=lf
|
||||
*.lock text eol=lf
|
||||
*.npmignore text eol=lf
|
||||
*.yaml text eol=lf
|
||||
*.yml text eol=lf
|
||||
browserslist text eol=lf
|
||||
Makefile text eol=lf
|
||||
makefile text eol=lf
|
||||
|
||||
## GRAPHICS
|
||||
*.ai binary
|
||||
*.bmp binary
|
||||
*.eps binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.jng binary
|
||||
*.jp2 binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.jpx binary
|
||||
*.jxr binary
|
||||
*.pdf binary
|
||||
*.png binary
|
||||
*.psb binary
|
||||
*.psd binary
|
||||
*.svg text
|
||||
*.svgz binary
|
||||
*.tif binary
|
||||
*.tiff binary
|
||||
*.wbmp binary
|
||||
*.webp binary
|
||||
|
||||
## AUDIO
|
||||
*.kar binary
|
||||
*.m4a binary
|
||||
*.mid binary
|
||||
*.midi binary
|
||||
*.mp3 binary
|
||||
*.ogg binary
|
||||
*.ra binary
|
||||
|
||||
## VIDEO
|
||||
*.3gpp binary
|
||||
*.3gp binary
|
||||
*.as binary
|
||||
*.asf binary
|
||||
*.asx binary
|
||||
*.fla binary
|
||||
*.flv binary
|
||||
*.m4v binary
|
||||
*.mng binary
|
||||
*.mov binary
|
||||
*.mp4 binary
|
||||
*.mpeg binary
|
||||
*.mpg binary
|
||||
*.ogv binary
|
||||
*.swc binary
|
||||
*.swf binary
|
||||
*.webm binary
|
||||
|
||||
## ARCHIVES
|
||||
*.7z binary
|
||||
*.gz binary
|
||||
*.jar binary
|
||||
*.rar binary
|
||||
*.tar binary
|
||||
*.zip binary
|
||||
|
||||
## FONTS
|
||||
*.ttf binary
|
||||
*.eot binary
|
||||
*.otf binary
|
||||
*.woff binary
|
||||
*.woff2 binary
|
||||
|
||||
## EXECUTABLES
|
||||
*.exe binary
|
||||
*.pyc binary
|
37
webui/.gitignore
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
__pycache__
|
||||
*/__pycache__
|
||||
|
||||
.DS_Store
|
||||
node_modules
|
||||
|
||||
# pyinstaller build dirs
|
||||
/dist
|
||||
/build
|
||||
|
||||
# local env files
|
||||
/env/
|
||||
/venv/
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Log files
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Editor directories and files
|
||||
# .vscode
|
||||
.idea
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
# Private configs
|
||||
/config.py
|
||||
tailwind.config.full.js
|
||||
|
||||
# development
|
||||
*.map
|
||||
public/js/bundle.js
|
10
webui/.prettierrc.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
useTabs: true
|
||||
tabWidth: 2
|
||||
semi: false
|
||||
singleQuote: true
|
||||
bracketSpacing: true
|
||||
trailingComma: none
|
||||
printWidth: 120
|
||||
arrowParens: avoid
|
||||
vueIndentScriptAndStyle: false
|
104
webui/COMPILE-UI.md
Normal file
@ -0,0 +1,104 @@
|
||||
**NOTE: THIS FILE IS NEEDED JUST FOR DEVELOPERS OF THIS PROJECT, IF YOU AREN'T YOU CAN IGNORE IT**
|
||||
|
||||
This file explains how to compile files for the WebUI.
|
||||
|
||||
# What you need to do just the first time
|
||||
|
||||
1. Download and install Node.js, you can download it [here](https://nodejs.org/en/download/) (also installs npm)
|
||||
|
||||
2. Once you have finished to install Node.js, check if everything is ok by running in a terminal the commands
|
||||
|
||||
```bash
|
||||
$ node -v
|
||||
```
|
||||
and then
|
||||
```bash
|
||||
$ npm -v
|
||||
```
|
||||
|
||||
If you see the corresponding versions of node and npm, you can move onto install yarn.
|
||||
|
||||
3. Install the yarn package manager by running in a terminal the command
|
||||
|
||||
```bash
|
||||
$ npm install -g yarn
|
||||
```
|
||||
|
||||
You may want to use `sudo` with that if it gives you permission errors.
|
||||
|
||||
4. Check if yarn has been installed correctly by running in a terminal the command
|
||||
|
||||
```bash
|
||||
$ yarn --version
|
||||
```
|
||||
|
||||
If you see the version number of yarm, you are ready to code!
|
||||
|
||||
5. Go to the root of this project, open your favorite terminal and run
|
||||
|
||||
```bash
|
||||
$ yarn install
|
||||
```
|
||||
|
||||
To work on this webui you will need a working server as well. If you've downloaded this with deemix-gui you can run in a terminal positioned inside the deemix-gui folder the command
|
||||
|
||||
```bash
|
||||
$ yarn install-all-dev
|
||||
```
|
||||
|
||||
To install all dependencies for all the modules (gui, server and webui)
|
||||
|
||||
# Scripts
|
||||
|
||||
## Development
|
||||
|
||||
By simply running
|
||||
|
||||
```bash
|
||||
$ yarn dev
|
||||
```
|
||||
|
||||
you will have 2 tasks running at the same time:
|
||||
- the server
|
||||
- the [rollup](https://rollupjs.org/guide/en/) watcher pointing to the configured `.js` file and ready to re-bundle
|
||||
|
||||
Note that in development mode 1 more file (`bundle.js.map`) will be created in the public folder. This file will be deleted when running the build command, so you don't need to worry about it.
|
||||
|
||||
**You can now go to http://127.0.0.1:6595 and see the app running.**
|
||||
|
||||
### Editing files
|
||||
|
||||
You can edit `.scss` and `.js` files and simply refresh the page to see your new code directly in the app.
|
||||
|
||||
However, if you need to edit the `public/index.html` file you'll have to kill the terminal and re-run `npm run dev` to see your edits.
|
||||
|
||||
### Adding files
|
||||
|
||||
If you want to add new `.js` or `.vue` files, just add them. deemix uses ES6 synthax, so you'll probably need to export some functions or variables from your new file. Files that will export and import nothing will be ignored by the bundler (rollup).
|
||||
|
||||
If you want to add new `.scss` (style) files, you need to import them in the main `style.scss` file. The `.scss` files **must** all start with an underscore _, except for the `style.scss` file.
|
||||
|
||||
## Building
|
||||
|
||||
When you want to deploy your application, you **must** run
|
||||
|
||||
```bash
|
||||
$ yarn build
|
||||
```
|
||||
|
||||
This is necessary to get
|
||||
|
||||
- a bundled `.js` file **minified**
|
||||
- deleted the `.map` file
|
||||
|
||||
in order to drop the final application size (we are talking about MBs, maps are heavy).
|
||||
|
||||
# Other
|
||||
|
||||
If you notice that another team member installed or updated one or more new packages, just run
|
||||
|
||||
```bash
|
||||
$ yarn install
|
||||
```
|
||||
|
||||
and you will be fine.
|
621
webui/LICENSE.txt
Normal file
@ -0,0 +1,621 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
32
webui/README.md
Normal file
@ -0,0 +1,32 @@
|
||||
# deemix-webui
|
||||
|
||||
This is just the WebUI for deemix, it should be used with deemix-gui or something like that.
|
||||
If you are a web developer and want to contribute to this project, please read the [COMPILE-UI](COMPILE-UI.md) file.
|
||||
|
||||
# "Hidden" features
|
||||
|
||||
- `CTRL+SHIFT+Backspace` deletes all the search bar content
|
||||
- `CTRL+F` focuses the search bar
|
||||
- `CTRL+B` toggles the download bar
|
||||
- `ALT+Left` goes back to the previous page, if present (like would happen in the browser)
|
||||
- `ALT+Right` goes forward to the next page, if present (like would happen in the browser)
|
||||
- Custom context menu: on certain elements, like download buttons or album covers, when opening the context menu, a custom one with more options will appear instead of the default one
|
||||
|
||||
# Deps
|
||||
|
||||
- `rollup-plugin-vue@4.2.0` is needed because of https://github.com/vuejs/rollup-plugin-vue/issues/238
|
||||
|
||||
# License
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
7
webui/babel.config.js
Normal file
@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
test: {
|
||||
plugins: ['@babel/plugin-transform-modules-commonjs']
|
||||
}
|
||||
}
|
||||
}
|
13
webui/jest.config.js
Normal file
@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
clearMocks: true,
|
||||
roots: ['<rootDir>/src', '<rootDir>/tests'],
|
||||
testEnvironment: 'node',
|
||||
// preset: 'ts-jest',
|
||||
setupFiles: ['dotenv/config'],
|
||||
transform: {
|
||||
'^.+\\.[t|j]sx?$': 'babel-jest'
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'@/(.*)': ['<rootDir>/src/$1']
|
||||
}
|
||||
}
|
61
webui/package.json
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
"name": "deemix-webui",
|
||||
"version": "1.9.3",
|
||||
"scripts": {
|
||||
"clean": "rimraf public/js/bundle.js public/js/bundle.temp.js public/js/bundle.js.map",
|
||||
"clean-temp": "rimraf public/js/bundle.temp.js",
|
||||
"build:js": "rollup -c",
|
||||
"minify": "esbuild public/js/bundle.temp.js --outfile=public/js/bundle.js --minify",
|
||||
"build": "npm-run-all --sequential clean build:js minify clean-temp",
|
||||
"start:gui": "yarn --cwd ../ start",
|
||||
"watch:server": "yarn --cwd ../server watch",
|
||||
"watch:js": "rollup -c -w",
|
||||
"dev": "npm-run-all --parallel watch:server watch:js",
|
||||
"lint": "eslint src/**/*.{js,vue,mjs} --fix",
|
||||
"lint-tests": "eslint src/**/*.js --fix",
|
||||
"test": "jest",
|
||||
"test-watch": "jest --watch",
|
||||
"testlang": "node ./tests/testlang.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rollup/plugin-alias": "3.1.5",
|
||||
"@rollup/plugin-commonjs": "20.0.0",
|
||||
"@rollup/plugin-node-resolve": "13.0.4",
|
||||
"@rollup/plugin-replace": "3.0.0",
|
||||
"@vue/composition-api": "1.0.6",
|
||||
"esbuild": "0.12.19",
|
||||
"flag-icon-css": "3.5.0",
|
||||
"lodash-es": "4.17.21",
|
||||
"npm-run-all": "4.1.5",
|
||||
"postcss": "8.3.6",
|
||||
"rimraf": "3.0.2",
|
||||
"rollup": "2.56.1",
|
||||
"rollup-plugin-analyzer": "4.0.0",
|
||||
"rollup-plugin-postcss": "4.0.0",
|
||||
"rollup-plugin-svg": "2.0.0",
|
||||
"rollup-plugin-vue": "4.2.0",
|
||||
"svg-country-flags": "1.2.10",
|
||||
"tailwindcss": "1.9.6",
|
||||
"toastify-js": "1.11.1",
|
||||
"vue": "2.6.14",
|
||||
"vue-i18n": "8.25.0",
|
||||
"vue-router": "3.5.2",
|
||||
"vuex": "3.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.15.0",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.15.0",
|
||||
"@nuxtjs/eslint-config": "6.0.1",
|
||||
"@types/jest": "26.0.24",
|
||||
"@typescript-eslint/eslint-plugin": "4.29.0",
|
||||
"@typescript-eslint/parser": "4.29.0",
|
||||
"babel-jest": "27.0.6",
|
||||
"eslint": "7.32.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-prettier": "3.4.0",
|
||||
"jest": "27.0.6",
|
||||
"prettier": "2.3.2",
|
||||
"typescript": "4.3.5",
|
||||
"vue-template-compiler": "2.6.14"
|
||||
}
|
||||
}
|
6
webui/postcss.config.js
Normal file
@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {}
|
||||
}
|
||||
}
|
BIN
webui/public/favicon.ico
Normal file
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 238 KiB |
202
webui/public/fonts/OpenSans/LICENSE.txt
Normal file
@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
BIN
webui/public/fonts/OpenSans/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem5YaGs126MiZpBA-UN8rsOUuhp.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem5YaGs126MiZpBA-UNirkOUuhp.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Udc1UAw.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Vdc1UAw.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0Zdc0.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0adc1UAw.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem6YaGs126MiZpBA-UFUK0ddc1UAw.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFUZ0bbck.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFVZ0b.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFVp0bbck.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFW50bbck.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFWJ0bbck.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFWZ0bbck.woff2
Normal file
BIN
webui/public/fonts/OpenSans/mem8YaGs126MiZpBA-UFWp0bbck.woff2
Normal file
BIN
webui/public/fonts/icons/MaterialIcons-Regular.ttf
Normal file
55
webui/public/index.ejs
Normal file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="h-screen" data-theme="dark" dir="ltr" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>deemix</title>
|
||||
<link href="favicon.ico" rel="shortcut icon" />
|
||||
<meta
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0"
|
||||
name="viewport"
|
||||
/>
|
||||
<style>
|
||||
body {
|
||||
background: hsl(240, 10%, 8%);
|
||||
color: hsl(0, 0%, 93%);
|
||||
}
|
||||
#missingBundle {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
font-family: sans-serif;
|
||||
background-color: hsl(240, 12%, 16%);
|
||||
border-radius: 10px;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<script>location.base = "<%= locationBase %>"</script>
|
||||
<script>
|
||||
if (localStorage.getItem('selectedTheme')) {
|
||||
document.documentElement.setAttribute('data-theme', localStorage.getItem('selectedTheme'))
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="w-full h-full overflow-hidden font-sans bg-background-main text-foreground">
|
||||
<div id="app"></div>
|
||||
<p id="missingBundle">
|
||||
If you're reading this it means that <code>js/bundle.js</code> isn't loading correctly.<br/>
|
||||
Make sure the file is present, if not build the webui.
|
||||
</p>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
setTimeout(()=>{
|
||||
let missingBundle = document.getElementById('missingBundle')
|
||||
if (missingBundle) missingBundle.style.display = 'block'
|
||||
}, 3000)
|
||||
</script>
|
||||
<script src="js/bundle.js"></script>
|
||||
</html>
|
BIN
webui/public/res/InfoSpotifyFeatures/ClientIdSecret.png
Normal file
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
BIN
webui/public/res/InfoSpotifyFeatures/CreateApp.png
Normal file
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
webui/public/res/InfoSpotifyFeatures/CreateAppForm.png
Normal file
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
56
webui/rollup.config.js
Normal file
@ -0,0 +1,56 @@
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import replace from '@rollup/plugin-replace'
|
||||
import alias from '@rollup/plugin-alias'
|
||||
import analyze from 'rollup-plugin-analyzer'
|
||||
import vue from 'rollup-plugin-vue'
|
||||
import svg from 'rollup-plugin-svg'
|
||||
import postcss from 'rollup-plugin-postcss'
|
||||
|
||||
import { version } from './package.json'
|
||||
|
||||
const isProduction = !process.env.ROLLUP_WATCH
|
||||
process.env.NODE_ENV = isProduction ? 'production' : 'development'
|
||||
|
||||
export default {
|
||||
input: 'src/app.js',
|
||||
output: [
|
||||
{
|
||||
file: isProduction ? 'public/js/bundle.temp.js' : 'public/js/bundle.js',
|
||||
format: 'module',
|
||||
sourcemap: !isProduction
|
||||
}
|
||||
],
|
||||
plugins: [
|
||||
alias({
|
||||
entries: [
|
||||
{
|
||||
find: 'vue',
|
||||
replacement: 'vue/dist/vue.esm'
|
||||
},
|
||||
{
|
||||
find: '@',
|
||||
replacement: __dirname + '/src'
|
||||
},
|
||||
{
|
||||
find: '@components',
|
||||
replacement: __dirname + '/src/components'
|
||||
}
|
||||
]
|
||||
}),
|
||||
// Needed for Vue imports
|
||||
replace({
|
||||
preventAssignment: true,
|
||||
values: {
|
||||
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
|
||||
__VER__: JSON.stringify(version)
|
||||
}
|
||||
}),
|
||||
resolve(), // Tells Rollup how to find imported modules in node_modules
|
||||
commonjs(), // Converts imported modules to ES modules, if necessary
|
||||
svg(),
|
||||
vue(),
|
||||
postcss(),
|
||||
isProduction && analyze({ summaryOnly: true, limit: 15 }) // Show useful information about bundles, only in production
|
||||
]
|
||||
}
|
86
webui/src/App.vue
Normal file
@ -0,0 +1,86 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<div class="app-container">
|
||||
<TheSidebar />
|
||||
|
||||
<div class="content-container">
|
||||
<TheSearchBar />
|
||||
<DeezerWarning />
|
||||
<TheContent />
|
||||
</div>
|
||||
|
||||
<TheDownloadBar />
|
||||
</div>
|
||||
|
||||
<BaseLoadingPlaceholder
|
||||
:text=loadingText
|
||||
:hidden="isSocketConnected"
|
||||
additional-classes="absolute top-0 left-0 w-screen h-screen bg-black bg-opacity-50 z-50"
|
||||
/>
|
||||
|
||||
<TheTrackPreview />
|
||||
<TheQualityModal />
|
||||
<!-- <ConfirmModal /> -->
|
||||
|
||||
<TheContextMenu />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { socket } from '@/utils/socket'
|
||||
|
||||
import BaseLoadingPlaceholder from '@components/globals/BaseLoadingPlaceholder.vue'
|
||||
import TheContextMenu from '@components/globals/TheContextMenu.vue'
|
||||
import TheTrackPreview from '@components/globals/TheTrackPreview.vue'
|
||||
import TheQualityModal from '@components/globals/TheQualityModal.vue'
|
||||
import DeezerWarning from '@components/globals/DeezerWarning.vue'
|
||||
// import ConfirmModal from '@components/globals/ConfirmModal.vue'
|
||||
import TheSidebar from '@components/TheSidebar.vue'
|
||||
import TheSearchBar from '@components/TheSearchBar.vue'
|
||||
import TheContent from '@components/TheContent.vue'
|
||||
import TheDownloadBar from '@components/downloads/TheDownloadBar.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TheSidebar,
|
||||
TheSearchBar,
|
||||
TheDownloadBar,
|
||||
TheTrackPreview,
|
||||
TheQualityModal,
|
||||
BaseLoadingPlaceholder,
|
||||
TheContextMenu,
|
||||
TheContent,
|
||||
DeezerWarning
|
||||
// ConfirmModal
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
isSocketConnected: false,
|
||||
loadingText: "Connecting to local server..."
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.isSocketConnected = socket.readyState === WebSocket.OPEN
|
||||
socket.addEventListener('open', () => {
|
||||
console.log('Connected to WebSocket')
|
||||
this.isSocketConnected = true
|
||||
})
|
||||
socket.addEventListener('error', (event) => {
|
||||
console.log(event)
|
||||
this.loadingText = "Couldn't connect to local server."
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.app-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.content-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
275
webui/src/app.js
Normal file
@ -0,0 +1,275 @@
|
||||
import Vue from 'vue'
|
||||
|
||||
import '@/plugins/composition-api'
|
||||
|
||||
import '@/styles/vendor/material-icons.css'
|
||||
import '@/styles/vendor/OpenSans.css'
|
||||
|
||||
import '@/styles/css/tailwind.css'
|
||||
|
||||
import '@/styles/css/normalize.css'
|
||||
import '@/styles/css/base.css'
|
||||
import '@/styles/css/components.css'
|
||||
import '@/styles/css/helpers.css'
|
||||
import '@/styles/css/icons.css'
|
||||
import '@/styles/css/tables.css'
|
||||
import '@/styles/css/typography.css'
|
||||
|
||||
import App from '@/App.vue'
|
||||
import i18n from '@/plugins/i18n'
|
||||
import router from '@/router'
|
||||
import store from '@/store'
|
||||
|
||||
import { socket } from '@/utils/socket'
|
||||
import { fetchData, postToServer } from '@/utils/api'
|
||||
import { toast } from '@/utils/toasts'
|
||||
import { isValidURL } from '@/utils/utils'
|
||||
import { sendAddToQueue } from '@/utils/downloads'
|
||||
import { SPOTIFY_STATUS } from '@/constants'
|
||||
|
||||
/* ===== Random utils ===== */
|
||||
|
||||
/* eslint-disable no-extend-native */
|
||||
String.prototype.capitalize = function () {
|
||||
return this.charAt(0).toUpperCase() + this.slice(1)
|
||||
}
|
||||
// Reset if ejs fails
|
||||
if (location.base == "<%= locationBase %>") location.base = "/"
|
||||
|
||||
/* ===== App initialization ===== */
|
||||
async function startApp() {
|
||||
document.getElementById('missingBundle').remove()
|
||||
new Vue({
|
||||
store,
|
||||
router,
|
||||
i18n,
|
||||
render: h => h(App)
|
||||
}).$mount('#app')
|
||||
|
||||
const connectResponse = await fetchData('connect')
|
||||
const spotifyStatus = connectResponse.spotifyEnabled ? SPOTIFY_STATUS.ENABLED : SPOTIFY_STATUS.DISABLED
|
||||
|
||||
if (connectResponse.deezerAvailable === 'no-network') {
|
||||
document.getElementById('deezer_not_reachable').classList.remove('hide')
|
||||
}
|
||||
if (connectResponse.deezerAvailable === 'no') {
|
||||
document.getElementById('deezer_not_available').classList.remove('hide')
|
||||
}
|
||||
|
||||
store.dispatch('setAppInfo', connectResponse.update).catch(console.error)
|
||||
store.dispatch('setSpotifyStatus', spotifyStatus).catch(console.error)
|
||||
|
||||
let arl = localStorage.getItem('arl')
|
||||
let accessToken = localStorage.getItem('accessToken')
|
||||
|
||||
if (connectResponse.singleUser) {
|
||||
if (connectResponse.singleUser.arl) arl = connectResponse.singleUser.arl
|
||||
if (connectResponse.singleUser.accessToken) accessToken = connectResponse.singleUser.accessToken
|
||||
}
|
||||
|
||||
if (connectResponse.autologin) {
|
||||
console.info('Autologin')
|
||||
const accountNum = localStorage.getItem('accountNum')
|
||||
|
||||
async function login(arl, accountNum) {
|
||||
toast(i18n.t('toasts.loggingIn'), 'loading', false, 'login-toast')
|
||||
arl = arl.trim()
|
||||
let result
|
||||
|
||||
if (accountNum !== 0) {
|
||||
result = await postToServer('loginArl', { arl, force: true, child: accountNum || 0 })
|
||||
} else {
|
||||
result = await postToServer('loginArl', { arl })
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
if (arl) {
|
||||
let result = await login(arl, accountNum)
|
||||
if (result.status === 0 && accessToken) {
|
||||
const { arl: newArl } = await postToServer('loginWithCredentials', { accessToken })
|
||||
if (newArl && newArl !== arl) {
|
||||
arl = newArl
|
||||
store.dispatch('setARL', { arl })
|
||||
}
|
||||
result = await login(newArl, accountNum)
|
||||
}
|
||||
loggedIn(result)
|
||||
}
|
||||
} else {
|
||||
loggedIn({ status: 3, user: connectResponse.currentUser, arl })
|
||||
}
|
||||
|
||||
if (connectResponse.checkForUpdates) {
|
||||
toast(i18n.t('toasts.checkingUpdates'), 'loading', false, 'updates-toast')
|
||||
const updates = await fetchData('checkForUpdates')
|
||||
store.dispatch('setUpdateInfo', updates).catch(console.error)
|
||||
if (updates.updateAvailable) {
|
||||
toast(i18n.t('toasts.updateAvailable'), 'browser_updated', true, 'updates-toast')
|
||||
} else {
|
||||
toast(i18n.t('toasts.noUpdateAvailable'), 'done', true, 'updates-toast')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initClient() {
|
||||
store.dispatch('setClientMode', true)
|
||||
setClientModeKeyBindings()
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', startApp)
|
||||
if (window.api) {
|
||||
initClient()
|
||||
}
|
||||
|
||||
/* ===== Global shortcuts ===== */
|
||||
|
||||
document.addEventListener('paste', pasteEvent => {
|
||||
if (pasteEvent.target.localName === 'input') return
|
||||
|
||||
let pastedText = pasteEvent.clipboardData.getData('Text')
|
||||
|
||||
if (isValidURL(pastedText)) {
|
||||
if (router.currentRoute.name === 'Link Analyzer') {
|
||||
socket.emit('analyzeLink', pastedText)
|
||||
} else {
|
||||
if (pastedText.includes('\n')) pastedText = pastedText.replace(/\n/g, ';')
|
||||
sendAddToQueue(pastedText)
|
||||
}
|
||||
} else {
|
||||
const searchbar = document.querySelector('#searchbar')
|
||||
searchbar.select()
|
||||
searchbar.setSelectionRange(0, 99999)
|
||||
}
|
||||
})
|
||||
|
||||
/**
|
||||
* Sets up key bindings that already work in the browser (server mode)
|
||||
*/
|
||||
function setClientModeKeyBindings() {
|
||||
document.addEventListener('keyup', keyEvent => {
|
||||
// ALT + left
|
||||
if (keyEvent.altKey && keyEvent.key === 'ArrowLeft') {
|
||||
router.back()
|
||||
}
|
||||
|
||||
// ALT + right
|
||||
if (keyEvent.altKey && keyEvent.key === 'ArrowRight') {
|
||||
router.forward()
|
||||
}
|
||||
})
|
||||
}
|
||||
function loggedIn(data) {
|
||||
const { status, user } = data
|
||||
|
||||
switch (status) {
|
||||
case 1:
|
||||
case 3:
|
||||
// Login ok
|
||||
toast(i18n.t('toasts.loggedIn'), 'done', true, 'login-toast')
|
||||
|
||||
store.dispatch('login', data)
|
||||
break
|
||||
case 2:
|
||||
// Already logged in
|
||||
toast(i18n.t('toasts.alreadyLogged'), 'done', true, 'login-toast')
|
||||
|
||||
store.dispatch('setUser', user)
|
||||
break
|
||||
case 0:
|
||||
// Login failed
|
||||
toast(i18n.t('toasts.loginFailed'), 'close', true, 'login-toast')
|
||||
|
||||
store.dispatch('removeARL')
|
||||
break
|
||||
case -1:
|
||||
toast(i18n.t('toasts.deezerNotAvailable'), 'close', true, 'login-toast')
|
||||
|
||||
// TODO
|
||||
// $('#open_login_prompt').show()
|
||||
// document.getElementById('logged_in_info').classList.add('hide')
|
||||
// $('#settings_username').text('Not Logged')
|
||||
// $('#settings_picture').attr('src', `https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg`)
|
||||
// document.getElementById('home_not_logged_in').classList.remove('hide')
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Socketio listeners ===== */
|
||||
|
||||
// Debug messages for socketio
|
||||
socket.on('message', function (msg) {
|
||||
console.log(msg)
|
||||
})
|
||||
socket.on('restoringQueue', function () {
|
||||
toast(i18n.t('toasts.restoringQueue'), 'loading', false, 'restoring_queue')
|
||||
})
|
||||
|
||||
socket.on('cancellingCurrentItem', function (uuid) {
|
||||
toast(i18n.t('toasts.cancellingCurrentItem'), 'loading', false, 'cancelling_' + uuid)
|
||||
})
|
||||
|
||||
socket.on('currentItemCancelled', function (uuid) {
|
||||
toast(i18n.t('toasts.currentItemCancelled'), 'done', true, 'cancelling_' + uuid)
|
||||
})
|
||||
|
||||
socket.on('startAddingArtist', function (data) {
|
||||
toast(i18n.t('toasts.startAddingArtist', { artist: data.name }), 'loading', false, 'artist_' + data.id)
|
||||
})
|
||||
|
||||
socket.on('finishAddingArtist', function (data) {
|
||||
toast(i18n.t('toasts.finishAddingArtist', { artist: data.name }), 'done', true, 'artist_' + data.id)
|
||||
})
|
||||
|
||||
socket.on('startConvertingSpotifyPlaylist', function (id) {
|
||||
toast(i18n.t('toasts.startConvertingSpotifyPlaylist'), 'loading', false, 'spotifyplaylist_' + id)
|
||||
})
|
||||
|
||||
socket.on('finishConvertingSpotifyPlaylist', function (id) {
|
||||
toast(i18n.t('toasts.finishConvertingSpotifyPlaylist'), 'done', true, 'spotifyplaylist_' + id)
|
||||
})
|
||||
|
||||
socket.on('errorMessage', function (error) {
|
||||
toast(error, 'error')
|
||||
})
|
||||
|
||||
socket.on('queueError', function (queueItem) {
|
||||
if (queueItem.errid) {
|
||||
toast(queueItem.link + ' - ' + i18n.t(`errors.ids.${queueItem.errid}`), 'error')
|
||||
} else {
|
||||
toast(queueItem.link + ' - ' + queueItem.error, 'error')
|
||||
}
|
||||
})
|
||||
|
||||
socket.on('alreadyInQueue', function (data) {
|
||||
toast(i18n.t('toasts.alreadyInQueue', { item: data.title }), 'playlist_add_check')
|
||||
})
|
||||
|
||||
socket.on('queueErrorNotLoggedIn', function () {
|
||||
toast(i18n.t('toasts.loginNeededToDownload'), 'report')
|
||||
})
|
||||
const bitrateLabels = {
|
||||
15: '360 HQ',
|
||||
14: '360 MQ',
|
||||
13: '360 LQ',
|
||||
9: 'FLAC',
|
||||
3: '320kbps',
|
||||
1: '128kbps',
|
||||
8: '128kbps',
|
||||
0: 'MP3'
|
||||
}
|
||||
socket.on('queueErrorCantStream', function (bitrate) {
|
||||
toast(i18n.t('toasts.queueErrorCantStream', {bitrate: bitrateLabels[bitrate]}), 'report')
|
||||
})
|
||||
|
||||
socket.on('startGeneratingItems', function (data) {
|
||||
toast(i18n.t('toasts.startGeneratingItems', { n: data.total }), 'loading', false, 'batch_' + data.uuid)
|
||||
})
|
||||
|
||||
socket.on('finishGeneratingItems', function (data) {
|
||||
toast(i18n.t('toasts.finishGeneratingItems', { n: data.total }), 'done', true, 'batch_' + data.uuid)
|
||||
})
|
||||
socket.on('toast', data => {
|
||||
const { msg, icon, dismiss, id } = data
|
||||
toast(msg, icon || null, dismiss !== undefined ? dismiss : true, id || null)
|
||||
})
|
914
webui/src/assets/ar.svg
Normal file
@ -0,0 +1,914 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="flag-icon-css-ar"
|
||||
viewBox="0 0 640 480"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata1678">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs1676" />
|
||||
<path
|
||||
id="21399192"
|
||||
d="M 640,479.9928 V 0 L 0,0.00719971 V 480 h 640 z"
|
||||
class="fil0 str0"
|
||||
fill="#006233"
|
||||
style="stroke-width:0.169532" />
|
||||
<g
|
||||
id="g13004"
|
||||
transform="matrix(0.25707542,0,0,0.25727772,319.29932,-19.227473)">
|
||||
<g
|
||||
id="g9244"
|
||||
fill-rule="evenodd"
|
||||
transform="matrix(1.7598,0,0,1.6,-2175.2,-3398.1)"
|
||||
stroke="#ffffff"
|
||||
fill="#ffffff">
|
||||
<path
|
||||
id="path3159"
|
||||
d="m 1071.9,2779.7 c -25.9,38.9 -7.2,64.2 19.5,66 17.6,1.3 54.2,-24.9 54.1,-55.7 l -10,-5.6 c 5.6,15.8 -0.2,20.8 -12.1,31.6 -23.5,21.3 -71.5,22.8 -51.5,-36.3 z"
|
||||
stroke-width="0.4008" />
|
||||
<path
|
||||
id="path3115"
|
||||
d="m 1277.2,2881.7 c 145.8,4.1 192.2,-137 102.2,-257.8 l -8.9,13.3 c 5.8,56.3 14.2,111.8 15,169.5 -17.6,20.7 -43.2,13 -48.3,-10 0.3,-31.2 -9.9,-57.6 -22.8,-82.8 l -7.2,13.3 c 8.4,20.7 17.5,44 19.4,69.5 -41.6,49.9 -87.6,60 -70.5,-5.6 -32.9,57.5 16.9,98 73.3,9.5 12.1,60.4 58.9,22.9 61.7,9.9 5.1,-39.6 2.5,-103.4 -7.8,-153.8 40.6,70.3 42,121 20.4,154.9 -24,37.7 -76.2,55.3 -126.5,70.1 z"
|
||||
stroke-width="1px" />
|
||||
<path
|
||||
id="path3117"
|
||||
d="m 1359.9,2722.2 c -31.2,2.3 -47.2,-4.1 -30.3,-27.2 16.7,-22.6 32.3,-4.6 36.5,25.6 3.9,28.3 -54.8,64.4 -75.1,64.4 -30.7,0 -44.9,-39.5 -16.6,-75 -36.4,103.6 78.6,43.5 85.5,12.2 z m -21.6,-24 c -3.8,-0.2 -6.6,6.5 -4.7,7.8 5.5,3.8 14.2,1.5 15.1,-0.4 1.9,-4.2 -5.1,-7.2 -10.4,-7.4 z"
|
||||
stroke-width="1px" />
|
||||
<path
|
||||
id="path3140"
|
||||
d="m 1190.5,2771.1 c -30,59 -0.1,83.4 38.4,76.6 22.4,-4.1 50.8,-20 67.2,-41.7 0.3,-47.8 -0.4,-95.2 -4.6,-141.5 15,-17.9 -1.3,-17.8 -7,-37 -2.6,11.2 -8.9,23.3 -2.8,32 4.3,46.7 6.7,94 6.6,142.2 -30.2,24.3 -52.9,33.3 -69.1,33.1 -33.5,-0.3 -40.7,-28.5 -28.7,-63.7 z"
|
||||
stroke-width="1px" />
|
||||
<path
|
||||
id="path3150"
|
||||
d="m 1251.8,2786.7 c -0.5,-44.5 -1.2,-95 -5.2,-126.1 15.6,-17.3 -0.8,-17.7 -5.9,-37.1 -3,11 -9.6,23 -3.8,31.9 2.6,47.6 5.1,95.2 5.6,142.8 3.6,-2.3 7.7,-3.2 9.3,-11.5 z"
|
||||
stroke-width="1px" />
|
||||
<path
|
||||
id="path3152"
|
||||
d="m 1135.4,2784.6 c -3.8,-4.8 -6.5,-10.2 -9.6,-14.9 -0.5,-6.7 4,-12.9 4.6,-16.3 5.1,7.9 8.1,13.9 12.2,17.8 m 5.4,3.1 c 7.5,3 16.7,3 25.2,3.2 32.8,0.6 67.3,-4.8 63.6,39.6 -3.2,39.4 -35.9,62.2 -65.2,61.9 -41.7,-0.4 -77.3,-46.4 -13,-131.1 6.2,-1 14.3,0.7 21,1.3 11.5,0.9 23.3,-0.2 36.8,-11 -1.6,-27.9 -1.6,-54.3 -5,-79.5 -5.8,-8.9 0.8,-20.8 3.8,-31.9 5.1,19.4 21.4,19.8 5.9,37.2 3.7,28 4.1,56.5 4.1,73.5 -7.8,11.9 -13.9,24.5 -36.7,29.3 -23.3,-3.4 -33.8,-36 -58.1,-25.2 6.7,-29.4 68.4,-36.1 74.6,-12.9 -4.1,24.2 -61.7,14.5 -77,92.7 -4.7,24.1 20.7,46.3 46.8,44.5 25.5,-1.7 52.7,-19.4 55.4,-49.2 2.1,-24.9 -33,-22 -47.7,-21.7 -21.4,0.5 -34.9,-2.8 -43,-7.5 m 21.9,-53.9 c 3.8,-3.6 17.1,-6.1 21.9,-0.3 -3.6,2.4 -7.1,5 -10,8.1 -5,-2.6 -8.3,-5.2 -11.9,-7.8 z"
|
||||
stroke-width="0.4008" />
|
||||
<path
|
||||
id="path3161"
|
||||
d="m 1194,2650.9 c 3.6,8 5.1,13.3 5.3,21 -2.2,10.4 -11.1,20.1 -20.3,20.4 -5.7,0.2 -12.1,-1.4 -16.6,-10.3 -0.5,-1.1 -2.9,-3.7 -5.2,-2.5 -10.1,16.6 -17.6,23.6 -26.7,23.5 -18.2,-0.3 -12.8,-16.5 -29.6,-21.5 -7,-0.2 -18.5,6.9 -24.4,20.8 -22.4,63.5 -42.8,-0.2 -34.1,-29.8 1.3,28.3 8.1,45.1 15.1,44.6 5.1,-0.5 9.6,-12.3 16.1,-24.7 5,-9.5 17,-26.6 29.7,-26.6 11.6,0.3 4.3,21.6 27.5,21.3 11.2,-0.2 21.5,-8.8 31.9,-26 2.3,-0.4 2.9,3.7 3.4,5.1 1.6,5.9 11.8,22.1 25.6,7.3 -0.7,-3.2 -0.4,-8.5 -3.9,-9.6 z"
|
||||
stroke-width="1px" />
|
||||
<path
|
||||
id="path3163"
|
||||
d="m 1266.9,2598.3 c -12.3,6.1 -21.3,0.5 -26.4,-4.9 8.9,-1.8 15.8,-5 17.8,-12 -4,-9 -13.5,-12.9 -26.9,-13 -17.9,0.5 -27.1,7.7 -28.2,17.6 8.3,0.3 15.8,-2 19,6 -14.7,7.2 -32,9.8 -50.8,9.7 -30.8,1.6 -35.3,-12.3 -43.4,-24.5 -0.6,-0.8 -3.3,-2.1 -4.7,-1.9 -9.5,0 -16.5,33.2 -27.2,33.1 -10.7,-1.4 -8.3,-21.4 -11.4,-32.8 -2.6,17.9 3.3,84.5 36.4,12.2 1,-2.4 2.4,-1.7 3.3,0.3 8.9,20.2 27,27.2 46.5,28.2 16.3,0.9 37.1,-6.2 59.4,-18.8 5.9,6.5 10.6,13.9 23,15.3 14.5,0.7 30,-9.8 33.5,-22.8 1.8,-6.7 2.1,-19.9 -5,-20.1 -9.9,-0.3 -17.1,23.7 -14.8,45.3 0.2,-0.3 1.3,-5.4 1.3,-5.4 m -43.8,-28.8 c 6.5,-3 12.8,-4.4 17.8,2.2 -3.9,1.4 -6.3,2.3 -8.4,4 -2.8,-2.2 -6.6,-3.3 -9.4,-6.2 z m 47.8,14.9 c 1.6,-7.1 2.5,-12.8 8.3,-16.5 1.2,7.5 1.4,11.7 -8.3,16.5 z"
|
||||
stroke-width="0.4008" />
|
||||
<path
|
||||
id="path3169"
|
||||
d="m 1311.3,2606.9 c -1.9,-6.1 -3.8,-11.4 -4.4,-18 -1.4,-13.4 10.1,-21 20.5,-19.9 10.7,1.1 17.8,5.1 28,8.6 8,2.7 18.8,4.8 29.1,7.7 5.8,2.6 0,9.4 -1.5,10.3 -25.8,10.1 -44.1,26.1 -60.5,26.8 -9.8,0.5 -18.5,-5.9 -26.4,-19 -0.5,-25.4 -1.4,-55.2 -3.9,-73.9 3.8,-3.8 4.6,-6.6 6.4,-9.7 2,24.7 2.8,50.7 3.3,76.9 2.1,4.5 4.7,8.3 9.4,10.2 z m 16.5,2 c -13.8,3.9 -12.1,-7.8 -13.4,-15 -1.5,-8.4 -0.5,-17.9 10.2,-15.5 13.9,3.7 26.6,8.6 38.9,13.8 z"
|
||||
stroke-width="0.4008" />
|
||||
<path
|
||||
id="path3173"
|
||||
d="m 1314.3,2621.3 1.9,9.3 h 1.5 l -0.6,-8.7"
|
||||
stroke-width="0.4008" />
|
||||
<path
|
||||
id="path5196"
|
||||
stroke-linejoin="round"
|
||||
d="m 1094.2,2718.5 7,-7.2 8.1,6.9 -7.5,6.7 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6168"
|
||||
stroke-linejoin="round"
|
||||
d="m 1112,2716.1 7.1,-7.2 8.1,6.9 -7.5,6.7 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6170"
|
||||
stroke-linejoin="round"
|
||||
d="m 1062.5,2641.5 7.1,-7.2 8.1,6.9 -7.5,6.7 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6172"
|
||||
stroke-linejoin="round"
|
||||
d="m 1065.7,2662.7 7.1,-7.2 8,6.9 -7.5,6.7 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6174"
|
||||
stroke-linejoin="round"
|
||||
d="m 1194.2,2698.2 6.5,-5.3 6,6.5 -6.8,4.8 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6176"
|
||||
stroke-linejoin="round"
|
||||
d="m 1108.4,2562.5 4.6,-4.7 5.3,4.5 -4.9,4.4 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6178"
|
||||
stroke-linejoin="round"
|
||||
d="m 1120.1,2561 4.6,-4.8 5.3,4.6 -4.9,4.3 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path6180"
|
||||
stroke-linejoin="round"
|
||||
d="m 1365.7,2614.7 -4.4,3.7 -4.2,-4.3 4.6,-3.4 z"
|
||||
stroke-linecap="round"
|
||||
stroke-width="4.008" />
|
||||
<path
|
||||
id="path9240"
|
||||
d="m 1158.7,2747.4 -0.5,7.9 12.6,1.2 10.1,-7.6 z"
|
||||
stroke-width="0.4008" />
|
||||
<path
|
||||
id="path9242"
|
||||
d="m 1265.2,2599.8 3.7,-0.8 -0.4,10.3 -2.3,0.9 z"
|
||||
stroke-width="1px" />
|
||||
</g>
|
||||
<path
|
||||
id="path2722"
|
||||
d="m 2.7256,1425 c 249.82,0 453.08,-184.8 453.08,-411.9 0,-124.96 -61.32,-236.46 -157.84,-311.83 57.91,61.95 93.11,143.51 93.11,232.3 0,197.23 -173.74,357.23 -388.35,357.23 -214.62,0 -388.36,-160 -388.36,-357.23 0,-88.79 35.2,-170.35 93.11,-232.3 -96.52,75.37 -157.84,186.87 -157.84,311.83 0,227.1 203.27,411.9 453.09,411.9 z"
|
||||
fill="#ffffff"
|
||||
class="fil2" />
|
||||
<g
|
||||
id="g2908"
|
||||
transform="matrix(1.1355,0,0,1.0324,2.7256,-21.429)"
|
||||
stroke="#000000"
|
||||
stroke-width="8.012"
|
||||
fill="#ffffff">
|
||||
<path
|
||||
id="path2910"
|
||||
d="m -54,1623 c -88,44 -198,32 -291,-28 -4,-2 -6,1 -2,12 10,29 18,52 -12,95 -13,19 2,22 24,20 112,-11 222,-36 275,-57 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2912"
|
||||
d="m -56,1675 c -35,14 -95,31 -162,43 -27,4 -26,21 22,27 49,5 112,-30 150,-61 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2914"
|
||||
d="m 0,1579 c 12,0 34,-5 56,-8 41,-7 11,56 -56,56 v 21 c 68,0 139,-74 124,-107 -21,-48 -79,-7 -124,-7 -45,0 -103,-41 -124,7 -15,33 56,107 124,107 v -21 c -67,0 -97,-63 -56,-56 22,3 44,8 56,8 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2916"
|
||||
d="m 54,1623 c 88,44 198,32 291,-28 4,-2 6,1 2,12 -10,29 -18,52 12,95 13,19 -2,22 -24,20 -112,-11 -222,-36 -275,-57 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2918"
|
||||
d="m 56,1675 c 35,14 94,31 162,43 27,4 26,21 -22,27 -49,5 -112,-30 -150,-61 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2920"
|
||||
d="m 3,1665 c 2,17 5,54 28,38 31,-21 38,-37 38,-67 0,-19 -23,-47 -69,-47 -46,0 -69,28 -69,47 0,30 7,46 38,67 23,16 25,-21 28,-38 1,-6 6,-4 6,0 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
</g>
|
||||
<g
|
||||
id="g2724"
|
||||
transform="matrix(1.1355,0,0,1.0324,2.7256,-21.429)"
|
||||
stroke="#000000"
|
||||
stroke-width="8.012"
|
||||
fill="#ffffff">
|
||||
<path
|
||||
id="path2726"
|
||||
d="m -29,384 c -13,-74 -122,-79 -139,-91 -20,-13 -17,0 -10,20 20,52 88,73 119,79 25,4 33,6 30,-8 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2728"
|
||||
d="m 4,386 c 11,-76 -97,-112 -110,-129 -15,-18 -17,-7 -10,14 13,45 60,98 88,112 23,12 30,17 32,3 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2730"
|
||||
d="M 93,430 C 103,339 15,325 -8,296 c -15,-18 -16,-8 -11,13 10,46 54,100 81,117 21,13 30,18 31,4 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2732"
|
||||
d="m 66,410 c -91,-59 -155,-26 -181,-29 -25,-3 -33,13 10,37 53,29 127,25 156,14 30,-12 21,-18 15,-22 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2734"
|
||||
d="M 203,450 C 175,352 110,368 91,356 72,344 70,347 74,369 c 8,39 75,82 108,95 12,4 27,10 21,-14 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2736"
|
||||
d="M 190,467 C 112,404 51,451 27,444 c -18,-5 -10,7 -3,12 50,35 112,54 160,32 19,-8 20,-10 6,-21 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2738"
|
||||
d="m 359,531 c 1,-62 -127,-88 -154,-126 -16,-23 -30,-11 -22,26 12,48 100,101 148,111 29,6 28,-4 28,-11 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2740"
|
||||
d="m 355,542 c -81,-73 -149,-49 -174,-56 -25,-6 -35,9 4,39 48,36 122,43 153,36 31,-7 23,-14 17,-19 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2742"
|
||||
d="M 500,649 C 477,543 404,521 386,501 c -17,-20 -35,-14 -20,34 18,57 77,107 108,119 30,13 28,3 26,-5 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2744"
|
||||
d="M 499,663 C 440,568 363,571 339,558 c -23,-14 -39,-2 -8,39 36,50 110,78 144,80 34,2 28,-7 24,-14 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2746"
|
||||
d="m 575,776 c 34,-108 -44,-148 -52,-166 -9,-18 -18,-18 -23,1 -22,77 49,152 60,167 11,14 13,7 15,-2 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2748"
|
||||
d="M 559,806 C 532,685 461,692 445,675 c -17,-17 -19,-5 -16,17 8,59 79,99 111,119 10,6 22,13 19,-5 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2750"
|
||||
d="m 627,948 c 49,-114 -9,-191 -27,-208 -18,-16 -29,-23 -23,0 8,35 -20,125 23,191 14,22 16,43 27,17 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2752"
|
||||
d="m 601,971 c 11,-70 -29,-134 -72,-159 -25,-15 -26,-11 -26,10 2,65 63,119 81,149 17,28 16,7 17,0 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2754"
|
||||
d="m 590,1153 c -36,-132 39,-208 62,-223 22,-16 36,-22 26,3 -15,37 1,140 -56,205 -18,22 -25,45 -32,15 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2756"
|
||||
d="m 598,1124 c 30,-115 -35,-180 -55,-193 -19,-13 -31,-18 -22,3 12,32 -1,122 49,178 16,19 22,38 28,12 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2758"
|
||||
d="m 561,1070 c -54,58 -55,143 -31,193 15,29 17,27 31,6 38,-61 15,-149 17,-188 1,-37 -11,-17 -17,-11 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2760"
|
||||
d="m 650,1162 c 0,80 -49,145 -101,165 -30,11 -30,8 -26,-16 14,-90 83,-123 108,-152 24,-28 19,-5 19,3 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2762"
|
||||
d="m 464,1400 c 88,-80 41,-136 45,-188 2,-28 -9,-21 -19,-11 -56,55 -59,153 -47,191 5,17 13,15 21,8 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2764"
|
||||
d="m 582,1348 c -29,88 -106,142 -171,145 -38,2 -37,-1 -24,-27 49,-94 136,-105 175,-129 36,-22 23,2 20,11 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2766"
|
||||
d="m 343,1513 c 114,-57 91,-152 112,-176 15,-17 -3,-15 -12,-9 -67,39 -121,101 -122,167 0,25 2,28 22,18 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2768"
|
||||
d="m 187,1619 c 144,23 211,-86 253,-96 22,-5 6,-14 -5,-15 -96,-11 -218,34 -255,84 -15,20 -15,24 7,27 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2770"
|
||||
d="m 333,1448 c -29,95 -137,173 -218,179 -38,3 -38,-1 -24,-26 65,-118 178,-138 218,-168 34,-26 27,6 24,15 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2772"
|
||||
d="m 29,384 c 13,-74 122,-79 139,-91 20,-13 17,0 10,20 -20,52 -88,73 -119,79 -25,4 -33,6 -30,-8 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2774"
|
||||
d="m -4,386 c -11,-76 97,-112 110,-129 15,-18 17,-7 10,14 -13,45 -60,98 -88,112 -23,12 -30,17 -32,3 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2776"
|
||||
d="m -93,430 c -10,-91 78,-105 101,-134 15,-18 16,-8 11,13 -10,46 -54,100 -81,117 -21,13 -30,18 -31,4 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2778"
|
||||
d="m -66,410 c 91,-59 155,-26 181,-29 25,-3 33,13 -10,37 -53,29 -127,25 -156,14 -30,-12 -21,-18 -15,-22 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2780"
|
||||
d="m -203,450 c 28,-98 93,-82 112,-94 19,-12 21,-9 17,13 -8,39 -75,82 -108,95 -12,4 -27,10 -21,-14 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2782"
|
||||
d="m -190,467 c 78,-63 139,-16 163,-23 18,-5 10,7 3,12 -50,35 -112,54 -160,32 -19,-8 -20,-10 -6,-21 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2784"
|
||||
d="m -359,531 c -1,-62 127,-88 154,-126 16,-23 30,-11 22,26 -12,48 -100,101 -148,111 -29,6 -28,-4 -28,-11 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2786"
|
||||
d="m -355,542 c 81,-73 149,-49 174,-56 25,-6 35,9 -4,39 -48,36 -122,43 -153,36 -31,-7 -23,-14 -17,-19 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2788"
|
||||
d="m -500,649 c 23,-106 96,-128 114,-148 17,-20 35,-14 20,34 -18,57 -77,107 -108,119 -30,13 -28,3 -26,-5 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2790"
|
||||
d="m -499,663 c 59,-95 136,-92 160,-105 23,-14 39,-2 8,39 -36,50 -110,78 -144,80 -34,2 -28,-7 -24,-14 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2792"
|
||||
d="m -575,776 c -34,-108 44,-148 52,-166 9,-18 18,-18 23,1 22,77 -49,152 -60,167 -11,14 -13,7 -15,-2 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2794"
|
||||
d="m -559,806 c 27,-121 98,-114 114,-131 17,-17 19,-5 16,17 -8,59 -79,99 -111,119 -10,6 -22,13 -19,-5 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2796"
|
||||
d="m -627,948 c -49,-114 9,-191 27,-208 18,-16 29,-23 23,0 -8,35 20,125 -23,191 -14,22 -16,43 -27,17 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2798"
|
||||
d="m -601,971 c -11,-70 29,-134 72,-159 25,-15 26,-11 26,10 -2,65 -63,119 -81,149 -17,28 -16,7 -17,0 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2800"
|
||||
d="m -590,1153 c 36,-132 -39,-208 -62,-223 -22,-16 -36,-22 -26,3 15,37 -1,140 56,205 18,22 24,45 32,15 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2802"
|
||||
d="m -598,1124 c -30,-115 35,-180 55,-193 19,-13 31,-18 22,3 -12,32 1,122 -49,178 -16,19 -22,38 -28,12 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2804"
|
||||
d="m -561,1070 c 54,58 55,143 31,193 -15,29 -17,27 -31,6 -38,-61 -15,-149 -17,-188 -1,-37 11,-17 17,-11 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2806"
|
||||
d="m -650,1162 c 0,80 49,145 101,165 30,11 30,8 26,-16 -14,-90 -83,-123 -108,-152 -24,-28 -19,-5 -19,3 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2808"
|
||||
d="m -464,1400 c -88,-80 -41,-136 -45,-188 -2,-28 9,-21 19,-11 56,55 59,153 47,191 -5,17 -13,15 -21,8 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2810"
|
||||
d="m -582,1348 c 29,88 106,142 171,145 38,2 37,-1 24,-27 -49,-94 -136,-105 -175,-129 -36,-22 -23,2 -20,11 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2812"
|
||||
d="m -343,1513 c -114,-57 -91,-152 -112,-176 -15,-17 3,-15 12,-9 67,39 121,101 122,167 0,25 -2,28 -22,18 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2814"
|
||||
d="m -187,1619 c -144,23 -211,-86 -253,-96 -22,-5 -6,-14 5,-15 96,-11 218,34 255,84 15,20 15,24 -7,27 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
<path
|
||||
id="path2816"
|
||||
d="m -333,1448 c 29,95 137,173 218,179 38,3 38,-1 24,-26 -65,-118 -178,-138 -218,-168 -34,-26 -27,6 -24,15 z"
|
||||
class="fil2 str2" />
|
||||
|
||||
</g>
|
||||
<g
|
||||
id="g2818"
|
||||
fill="#006233"
|
||||
transform="matrix(1.1355,0,0,1.0324,2.7256,-21.429)">
|
||||
<path
|
||||
id="path2820"
|
||||
d="m 169,476 c -19,-14 -89,-6 -102,-15 25,21 81,6 102,15 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2822"
|
||||
d="m 338,512 c -15,-27 -104,-45 -117,-69 23,46 92,40 117,69 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2824"
|
||||
d="m 325,543 c -33,-32 -110,-19 -133,-38 54,49 84,11 133,38 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2826"
|
||||
d="m 132,401 c 21,11 47,22 60,48 -15,-20 -42,-28 -64,-45 1,0 3,-2 4,-3 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2828"
|
||||
d="m 460,607 c -13,-30 -59,-63 -63,-74 13,39 51,48 63,74 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2830"
|
||||
d="m 472,660 c -40,-63 -103,-56 -128,-80 19,23 91,38 128,80 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2832"
|
||||
d="m 565,757 c 3,-67 -47,-92 -49,-130 -1,45 51,106 49,130 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2834"
|
||||
d="m 540,793 c -10,-58 -78,-62 -90,-96 0,32 80,65 90,96 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2836"
|
||||
d="m 596,760 c 36,44 11,111 26,160 -18,-36 -9,-126 -26,-160 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2838"
|
||||
d="m 537,948 c 54,58 32,123 54,151 -27,-39 -23,-115 -54,-151 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2840"
|
||||
d="m 649,956 c -46,51 -18,128 -42,164 27,-31 23,-126 42,-164 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2842"
|
||||
d="m 591,956 c -6,-59 -61,-90 -66,-122 -6,32 53,82 66,122 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2844"
|
||||
d="m 563,1097 c 9,41 -24,129 -14,156 -22,-47 19,-136 14,-156 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2846"
|
||||
d="m 634,1191 c -22,73 -66,68 -80,112 10,-42 68,-80 80,-112 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2848"
|
||||
d="m 491,1225 c -29,49 -5,105 -29,140 34,-35 16,-100 29,-140 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2850"
|
||||
d="m 561,1359 c -35,65 -107,59 -136,106 29,-59 118,-69 136,-106 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2852"
|
||||
d="m 434,1351 c -62,43 -43,88 -90,136 59,-48 54,-101 90,-136 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2854"
|
||||
d="m 405,1525 c -60,-2 -146,76 -198,70 52,11 148,-59 198,-70 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2856"
|
||||
d="m 308,1455 c -4,61 -160,100 -177,141 19,-54 156,-94 177,-141 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2858"
|
||||
d="m -45,330 c -20,-17 -44,-31 -51,-48 5,22 25,38 45,53 2,-1 4,-4 6,-5 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2860"
|
||||
d="m -79,348 c -31,-15 -67,-14 -83,-35 10,21 44,29 73,40 3,-2 7,-4 10,-5 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2862"
|
||||
d="m -169,476 c 19,-14 89,-6 102,-15 -25,21 -81,6 -102,15 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2864"
|
||||
d="m -338,512 c 15,-27 104,-45 117,-69 -23,46 -92,40 -117,69 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2866"
|
||||
d="m -325,543 c 33,-32 110,-19 133,-38 -54,49 -84,11 -133,38 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2868"
|
||||
d="m -192,449 c 19,-40 73,-45 87,-69 -21,36 -67,42 -87,69 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2870"
|
||||
d="M -38,414 C 17,388 71,410 97,398 65,415 -11,407 -38,414 Z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2872"
|
||||
d="m -460,607 c 13,-30 59,-63 63,-74 -13,39 -51,48 -63,74 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2874"
|
||||
d="m -472,660 c 40,-63 103,-56 128,-80 -19,23 -91,38 -128,80 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2876"
|
||||
d="m -565,757 c -3,-67 47,-92 49,-130 1,45 -51,106 -49,130 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2878"
|
||||
d="m -540,793 c 10,-58 78,-62 90,-96 0,32 -80,65 -90,96 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2880"
|
||||
d="m -596,760 c -36,44 -11,111 -26,160 18,-36 9,-126 26,-160 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2882"
|
||||
d="m -537,948 c -54,58 -32,123 -54,151 27,-39 23,-115 54,-151 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2884"
|
||||
d="m -649,956 c 46,51 18,128 42,164 -27,-31 -23,-126 -42,-164 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2886"
|
||||
d="m -591,956 c 6,-59 61,-90 66,-122 6,32 -53,82 -66,122 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2888"
|
||||
d="m -563,1097 c -9,41 24,129 14,156 22,-47 -19,-136 -14,-156 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2890"
|
||||
d="m -634,1191 c 22,73 66,68 80,112 -10,-42 -68,-80 -80,-112 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2892"
|
||||
d="m -491,1225 c 29,49 5,105 29,140 -34,-35 -16,-100 -29,-140 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2894"
|
||||
d="m -561,1359 c 35,65 107,59 136,106 -29,-59 -118,-69 -136,-106 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2896"
|
||||
d="m -434,1351 c 62,43 43,88 90,136 -59,-48 -54,-101 -90,-136 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2898"
|
||||
d="m -405,1525 c 60,-2 146,76 198,70 -52,11 -148,-59 -198,-70 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2900"
|
||||
d="m -308,1455 c 4,61 160,100 177,141 -19,-54 -156,-94 -177,-141 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2902"
|
||||
d="m -81,416 c 12,-54 72,-64 80,-96 -3,34 -74,72 -80,96 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2904"
|
||||
d="m 96,282 c -9,41 -74,64 -83,95 3,-42 70,-66 83,-95 z"
|
||||
class="fil0" />
|
||||
|
||||
<path
|
||||
id="path2906"
|
||||
d="m 45,379 c 31,-50 95,-37 117,-66 -16,34 -95,35 -117,66 z"
|
||||
class="fil0" />
|
||||
|
||||
</g>
|
||||
<path
|
||||
id="path12826"
|
||||
stroke-linejoin="round"
|
||||
d="m 475.64,1011.9 c 0,263.22 -213.38,476.6 -476.6,476.6 -263.22,0 -476.6,-213.38 -476.6,-476.6 0,-263.22 213.38,-476.6 476.6,-476.6 263.22,0 476.6,213.38 476.6,476.6 z"
|
||||
transform="matrix(1.1203,0,0,1.0186,1.5554,-22.824)"
|
||||
stroke="#f7c608"
|
||||
stroke-linecap="round"
|
||||
stroke-width="8.1208"
|
||||
fill="none" />
|
||||
<g
|
||||
id="g12874"
|
||||
transform="matrix(1.089,0.29066,-0.31969,0.99014,322.08,9.1715)">
|
||||
<path
|
||||
id="path12861"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12865"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12878"
|
||||
transform="matrix(0.95488,0.55779,-0.6135,0.86818,618.66,131.41)">
|
||||
<path
|
||||
id="path12880"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12882"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12884"
|
||||
transform="matrix(0.74342,0.77974,-0.85762,0.67591,865.37,324.65)">
|
||||
<path
|
||||
id="path12886"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12888"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12890"
|
||||
transform="matrix(0.47175,0.93856,-1.0323,0.42891,1042.2,573.25)">
|
||||
<path
|
||||
id="path12892"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12894"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12896"
|
||||
transform="matrix(0.16188,1.0214,-1.1234,0.14718,1134.9,857.07)">
|
||||
<path
|
||||
id="path12898"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12900"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12902"
|
||||
transform="matrix(-0.1611,1.0215,-1.1235,-0.14647,1135.9,1153.1)">
|
||||
<path
|
||||
id="path12904"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12906"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12908"
|
||||
transform="matrix(-0.47103,0.93886,-1.0326,-0.42826,1045.1,1437.5)">
|
||||
<path
|
||||
id="path12910"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12912"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12914"
|
||||
transform="matrix(-0.74282,0.78021,-0.85814,-0.67537,869.95,1687)">
|
||||
<path
|
||||
id="path12916"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12918"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12920"
|
||||
transform="matrix(-0.95446,0.55839,-0.61416,-0.86779,624.54,1881.6)">
|
||||
<path
|
||||
id="path12922"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12924"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12926"
|
||||
transform="matrix(-1.0888,0.29135,-0.32045,-0.98993,328.78,2005.5)">
|
||||
<path
|
||||
id="path12928"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12930"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12932"
|
||||
transform="matrix(-1.135,7.2019e-4,-7.9212e-4,-1.0319,6.6183,2048.7)">
|
||||
<path
|
||||
id="path12934"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12936"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12938"
|
||||
transform="matrix(-1.0918,-0.28208,0.31025,-0.99262,-313.06,2009.9)">
|
||||
<path
|
||||
id="path12940"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12942"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12944"
|
||||
transform="matrix(-0.96016,-0.55025,0.60521,-0.87297,-610.8,1890)">
|
||||
<path
|
||||
id="path12946"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12948"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12950"
|
||||
transform="matrix(-0.75081,-0.77386,0.85115,-0.68264,-859.34,1698.7)">
|
||||
<path
|
||||
id="path12952"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12954"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12956"
|
||||
transform="matrix(-0.48067,-0.93481,1.0282,-0.43702,-1038.6,1451.5)">
|
||||
<path
|
||||
id="path12958"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12960"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12962"
|
||||
transform="matrix(-0.1716,-1.0201,1.1219,-0.15602,-1133.9,1168.4)">
|
||||
<path
|
||||
id="path12964"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12966"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12968"
|
||||
transform="matrix(0.15136,-1.0227,1.1248,0.13762,-1137.7,872.37)">
|
||||
<path
|
||||
id="path12970"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12972"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12974"
|
||||
transform="matrix(0.46207,-0.94253,1.0367,0.42011,-1049.7,587.33)">
|
||||
<path
|
||||
id="path12976"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12978"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12980"
|
||||
transform="matrix(0.73536,-0.78603,0.86454,0.66859,-876.89,336.39)">
|
||||
<path
|
||||
id="path12982"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12984"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12986"
|
||||
transform="matrix(0.9491,-0.56588,0.6224,0.86292,-633.34,139.86)">
|
||||
<path
|
||||
id="path12988"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12990"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12992"
|
||||
transform="matrix(1.086,-0.29991,0.32987,0.98737,-338.77,13.655)">
|
||||
<path
|
||||
id="path12994"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path12996"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
<g
|
||||
id="g12998"
|
||||
transform="matrix(1.1349,-0.0096543,0.010618,1.0319,-17.033,-32.001)">
|
||||
<path
|
||||
id="path13000"
|
||||
fill="#f7c608"
|
||||
d="m 44.747,1486.1 v 6 c 0,4 -3.002,7 -7.004,8 -10.005,0 -23.011,1 -35.017,1 l -3e-4,-38 c 13.006,0 26.013,-1 35.017,-2 4.002,0 7.004,3 7.004,7 v 5 m -84.042,1 v -6 c 0,-4 3.001,-7 7.003,-7 10.005,1 22.011,2 35.018,2 l -3e-4,38 c -12.006,0 -24.012,0 -35.018,-1 -4.002,-1 -7.003,-8 -7.003,-12" />
|
||||
<path
|
||||
id="path13002"
|
||||
fill="#006233"
|
||||
d="m 37.554,1484.9 v 4.3 c 0,2.9 -2.497,5 -5.825,5.7 -8.321,0 -19.139,0.7 -29.124,0.7 l -4e-4,-27.2 c 10.817,0 21.635,-0.7 29.124,-1.4 3.328,0 5.825,2.1 5.825,5 v 3.6 m -69.898,0.7 v -4.3 c 0,-2.9 2.496,-5 5.825,-5 8.321,0.7 18.306,1.4 29.124,1.4 l -4e-4,27.2 c -9.9854,0 -19.971,0 -29.124,-0.7 -3.329,-0.7 -5.825,-5.7 -5.825,-8.6" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
240
webui/src/assets/deemix-icon.svg
Normal file
@ -0,0 +1,240 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg8" version="1.1"
|
||||
viewBox="0 0 26.458333 26.458334" height="100" width="100">
|
||||
<defs id="defs2">
|
||||
<linearGradient id="linearGradient3062">
|
||||
<stop id="stop3058" offset="0" style="stop-color:#007aff;stop-opacity:1"/>
|
||||
<stop id="stop3060" offset="1" style="stop-color:#ffffff;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3021">
|
||||
<stop id="stop3017" offset="0" style="stop-color:#007aff;stop-opacity:1;"/>
|
||||
<stop id="stop3019" offset="1" style="stop-color:#5856d6;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" y2="13.229167" x2="34.355733" y1="13.229167" x1="30.794743" id="linearGradient3023" xlink:href="#linearGradient3021"/>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" y2="19.84375" x2="17.671497" y1="6.6145835" x1="17.671497" id="linearGradient3052" xlink:href="#linearGradient3021"/>
|
||||
<linearGradient gradientUnits="userSpaceOnUse" y2="14.227382" x2="19.887888" y1="8.8379784" x1="19.89489" id="linearGradient3064" xlink:href="#linearGradient3062"/>
|
||||
<linearGradient y2="14.211194" x2="19.930443" y1="8.8194542" x1="19.931946" gradientUnits="userSpaceOnUse" id="linearGradient3386" xlink:href="#linearGradient3062"/>
|
||||
<mask id="mask9169" maskUnits="userSpaceOnUse">
|
||||
<g id="use9171" transform="matrix(0.06666667,0,0,0.06666667,11.1125,6.6145832)">
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="rect9745" width="2.54" height="30.956251" x="30.956251" y="4.9999999e-06"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="rect9747" width="30.956251" height="2.54" x="0" y="30.956257"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9749" width="2.54" height="30.956251" x="64.452499" y="4.9999999e-06"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9751" width="30.956251" height="2.54" x="33.49625" y="30.956257"/>
|
||||
<rect y="4.9999999e-06" x="97.948746" height="30.956251" width="2.54" id="use9753" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="30.956257" x="66.9925" height="2.54" width="30.956251" id="use9755" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9757" width="2.54" height="30.956251" x="131.44499" y="4.9999999e-06"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9759" width="30.956251" height="2.54" x="100.48875" y="30.956257"/>
|
||||
<rect y="4.9999999e-06" x="164.94124" height="30.956251" width="2.54" id="use9761" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="30.956257" x="133.985" height="2.54" width="30.956251" id="use9763" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9765" width="30.956251" height="2.54" x="167.48125" y="30.956257"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9767" width="2.54" height="30.956251" x="30.956251" y="33.496254"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9769" width="30.956251" height="2.54" x="0" y="64.452507"/>
|
||||
<rect y="33.496254" x="64.452499" height="30.956251" width="2.54" id="use9771" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="64.452507" x="33.49625" height="2.54" width="30.956251" id="use9773" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9775" width="2.54" height="30.956251" x="97.948746" y="33.496254"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9777" width="30.956251" height="2.54" x="66.9925" y="64.452507"/>
|
||||
<rect y="33.496254" x="131.44499" height="30.956251" width="2.54" id="use9779" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="64.452507" x="100.48875" height="2.54" width="30.956251" id="use9781" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9783" width="2.54" height="30.956251" x="164.94124" y="33.496254"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9785" width="30.956251" height="2.54" x="133.985" y="64.452507"/>
|
||||
<rect y="64.452507" x="167.48125" height="2.54" width="30.956251" id="use9787" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="66.992508" x="30.956251" height="30.956251" width="2.54" id="use9789" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="97.948761" x="0" height="2.54" width="30.956251" id="use9791" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9793" width="2.54" height="30.956251" x="64.452499" y="66.992508"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9795" width="30.956251" height="2.54" x="33.49625" y="97.948761"/>
|
||||
<rect y="66.992508" x="97.948746" height="30.956251" width="2.54" id="use9797" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="97.948761" x="66.9925" height="2.54" width="30.956251" id="use9799" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9801" width="2.54" height="30.956251" x="131.44499" y="66.992508"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9803" width="30.956251" height="2.54" x="100.48875" y="97.948761"/>
|
||||
<rect y="66.992508" x="164.94124" height="30.956251" width="2.54" id="use9805" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="97.948761" x="133.985" height="2.54" width="30.956251" id="use9807" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9809" width="30.956251" height="2.54" x="167.48125" y="97.948761"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9811" width="2.54" height="30.956251" x="30.956251" y="100.48876"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9813" width="30.956251" height="2.54" x="0" y="131.44501"/>
|
||||
<rect y="100.48876" x="64.452499" height="30.956251" width="2.54" id="use9815" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="131.44501" x="33.49625" height="2.54" width="30.956251" id="use9817" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9819" width="2.54" height="30.956251" x="97.948746" y="100.48876"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9821" width="30.956251" height="2.54" x="66.9925" y="131.44501"/>
|
||||
<rect y="100.48876" x="131.44499" height="30.956251" width="2.54" id="use9823" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="131.44501" x="100.48875" height="2.54" width="30.956251" id="use9825" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9827" width="2.54" height="30.956251" x="164.94124" y="100.48876"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9829" width="30.956251" height="2.54" x="133.985" y="131.44501"/>
|
||||
<rect y="131.44501" x="167.48125" height="2.54" width="30.956251" id="use9831" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="133.98502" x="30.956251" height="30.956251" width="2.54" id="use9833" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="164.94125" x="0" height="2.54" width="30.956251" id="use9835" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9837" width="2.54" height="30.956251" x="64.452499" y="133.98502"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9839" width="30.956251" height="2.54" x="33.49625" y="164.94125"/>
|
||||
<rect y="133.98502" x="97.948746" height="30.956251" width="2.54" id="use9841" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="164.94125" x="66.9925" height="2.54" width="30.956251" id="use9843" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9845" width="2.54" height="30.956251" x="131.44499" y="133.98502"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9847" width="30.956251" height="2.54" x="100.48875" y="164.94125"/>
|
||||
<rect y="133.98502" x="164.94124" height="30.956251" width="2.54" id="use9849" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="164.94125" x="133.985" height="2.54" width="30.956251" id="use9851" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9853" width="30.956251" height="2.54" x="167.48125" y="164.94125"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9855" width="2.54" height="30.956251" x="30.956251" y="167.48126"/>
|
||||
<rect y="167.48126" x="64.452499" height="30.956251" width="2.54" id="use9857" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9859" width="2.54" height="30.956251" x="97.948746" y="167.48126"/>
|
||||
<rect y="167.48126" x="131.44499" height="30.956251" width="2.54" id="use9861" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9863" width="2.54" height="30.956251" x="164.94124" y="167.48126"/>
|
||||
<rect ry="2.1674161" y="4.9999999e-06" x="-1.0980834e-06" height="30.956251" width="30.956251" id="rect9865" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="33.496254" x="-1.8924563e-07" height="30.956251" width="30.956251" id="use9867" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="33.496254" x="33.49625" height="30.956251" width="30.956251" id="use9869" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="33.496258" x="133.985" height="30.956251" width="30.956251" id="use9871" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="66.992508" x="-1.8924563e-07" height="30.956251" width="30.956251" id="use9873" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="66.992508" x="33.49625" height="30.956251" width="30.956251" id="use9875" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="66.992508" x="100.48875" height="30.956251" width="30.956251" id="use9877" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="66.992508" x="133.985" height="30.956251" width="30.956251" id="use9879" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="66.992508" x="167.48125" height="30.956251" width="30.956251" id="use9881" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="100.48876" x="-1.8924563e-07" height="30.956251" width="30.956251" id="use9883" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="100.48876" x="33.49625" height="30.956251" width="30.956251" id="use9885" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="100.48876" x="66.9925" height="30.956251" width="30.956251" id="use9887" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="100.48876" x="100.48875" height="30.956251" width="30.956251" id="use9889" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="100.48876" x="133.985" height="30.956251" width="30.956251" id="use9891" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="100.48876" x="167.48125" height="30.956251" width="30.956251" id="use9893" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="-1.8924563e-07" height="30.956251" width="30.956251" id="use9895" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9897" width="30.956251" height="30.956251" x="-1.8924563e-07" y="133.98502" ry="2.1674161"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="33.49625" height="30.956251" width="30.956251" id="use9899" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="66.9925" height="30.956251" width="30.956251" id="use9901" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="100.48875" height="30.956251" width="30.956251" id="use9903" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="133.985" height="30.956251" width="30.956251" id="use9905" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="167.48125" height="30.956251" width="30.956251" id="use9907" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="167.48126" x="-1.8924563e-07" height="30.956251" width="30.956251" id="use9909" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="167.48126" x="33.49625" height="30.956251" width="30.956251" id="use9911" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="167.48126" x="66.9925" height="30.956251" width="30.956251" id="use9913" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="167.48126" x="100.48875" height="30.956251" width="30.956251" id="use9915" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="167.48126" x="133.985" height="30.956251" width="30.956251" id="use9917" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect ry="2.1674161" y="167.48126" x="167.48125" height="30.956251" width="30.956251" id="use9919" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
</g>
|
||||
</mask>
|
||||
<mask maskUnits="userSpaceOnUse" id="mask9169-3">
|
||||
<g transform="matrix(0.06666667,0,0,0.06666667,11.1125,6.6145832)" id="use9171-6">
|
||||
<rect y="4.9999999e-06" x="30.956251" height="30.956251" width="2.54" id="rect9745-7" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="30.956257" x="0" height="2.54" width="30.956251" id="rect9747-5" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="4.9999999e-06" x="64.452499" height="30.956251" width="2.54" id="use9749-3" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="30.956257" x="33.49625" height="2.54" width="30.956251" id="use9751-5" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9753-6" width="2.54" height="30.956251" x="97.948746" y="4.9999999e-06"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9755-2" width="30.956251" height="2.54" x="66.9925" y="30.956257"/>
|
||||
<rect y="4.9999999e-06" x="131.44499" height="30.956251" width="2.54" id="use9757-9" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="30.956257" x="100.48875" height="2.54" width="30.956251" id="use9759-1" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9761-2" width="2.54" height="30.956251" x="164.94124" y="4.9999999e-06"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9763-7" width="30.956251" height="2.54" x="133.985" y="30.956257"/>
|
||||
<rect y="30.956257" x="167.48125" height="2.54" width="30.956251" id="use9765-0" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="33.496254" x="30.956251" height="30.956251" width="2.54" id="use9767-9" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="64.452507" x="0" height="2.54" width="30.956251" id="use9769-3" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9771-6" width="2.54" height="30.956251" x="64.452499" y="33.496254"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9773-0" width="30.956251" height="2.54" x="33.49625" y="64.452507"/>
|
||||
<rect y="33.496254" x="97.948746" height="30.956251" width="2.54" id="use9775-6" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="64.452507" x="66.9925" height="2.54" width="30.956251" id="use9777-2" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9779-6" width="2.54" height="30.956251" x="131.44499" y="33.496254"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9781-1" width="30.956251" height="2.54" x="100.48875" y="64.452507"/>
|
||||
<rect y="33.496254" x="164.94124" height="30.956251" width="2.54" id="use9783-8" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="64.452507" x="133.985" height="2.54" width="30.956251" id="use9785-7" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9787-9" width="30.956251" height="2.54" x="167.48125" y="64.452507"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9789-2" width="2.54" height="30.956251" x="30.956251" y="66.992508"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9791-0" width="30.956251" height="2.54" x="0" y="97.948761"/>
|
||||
<rect y="66.992508" x="64.452499" height="30.956251" width="2.54" id="use9793-2" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="97.948761" x="33.49625" height="2.54" width="30.956251" id="use9795-3" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9797-7" width="2.54" height="30.956251" x="97.948746" y="66.992508"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9799-5" width="30.956251" height="2.54" x="66.9925" y="97.948761"/>
|
||||
<rect y="66.992508" x="131.44499" height="30.956251" width="2.54" id="use9801-9" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="97.948761" x="100.48875" height="2.54" width="30.956251" id="use9803-2" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9805-2" width="2.54" height="30.956251" x="164.94124" y="66.992508"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9807-8" width="30.956251" height="2.54" x="133.985" y="97.948761"/>
|
||||
<rect y="97.948761" x="167.48125" height="2.54" width="30.956251" id="use9809-9" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="100.48876" x="30.956251" height="30.956251" width="2.54" id="use9811-7" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="131.44501" x="0" height="2.54" width="30.956251" id="use9813-3" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9815-6" width="2.54" height="30.956251" x="64.452499" y="100.48876"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9817-1" width="30.956251" height="2.54" x="33.49625" y="131.44501"/>
|
||||
<rect y="100.48876" x="97.948746" height="30.956251" width="2.54" id="use9819-2" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="131.44501" x="66.9925" height="2.54" width="30.956251" id="use9821-9" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9823-3" width="2.54" height="30.956251" x="131.44499" y="100.48876"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9825-1" width="30.956251" height="2.54" x="100.48875" y="131.44501"/>
|
||||
<rect y="100.48876" x="164.94124" height="30.956251" width="2.54" id="use9827-9" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="131.44501" x="133.985" height="2.54" width="30.956251" id="use9829-4" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9831-7" width="30.956251" height="2.54" x="167.48125" y="131.44501"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9833-8" width="2.54" height="30.956251" x="30.956251" y="133.98502"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9835-4" width="30.956251" height="2.54" x="0" y="164.94125"/>
|
||||
<rect y="133.98502" x="64.452499" height="30.956251" width="2.54" id="use9837-5" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="164.94125" x="33.49625" height="2.54" width="30.956251" id="use9839-0" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9841-3" width="2.54" height="30.956251" x="97.948746" y="133.98502"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9843-6" width="30.956251" height="2.54" x="66.9925" y="164.94125"/>
|
||||
<rect y="133.98502" x="131.44499" height="30.956251" width="2.54" id="use9845-1" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="164.94125" x="100.48875" height="2.54" width="30.956251" id="use9847-0" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9849-6" width="2.54" height="30.956251" x="164.94124" y="133.98502"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9851-3" width="30.956251" height="2.54" x="133.985" y="164.94125"/>
|
||||
<rect y="164.94125" x="167.48125" height="2.54" width="30.956251" id="use9853-2" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect y="167.48126" x="30.956251" height="30.956251" width="2.54" id="use9855-0" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9857-6" width="2.54" height="30.956251" x="64.452499" y="167.48126"/>
|
||||
<rect y="167.48126" x="97.948746" height="30.956251" width="2.54" id="use9859-1" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9861-5" width="2.54" height="30.956251" x="131.44499" y="167.48126"/>
|
||||
<rect y="167.48126" x="164.94124" height="30.956251" width="2.54" id="use9863-5" style="fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="rect9865-4" width="30.956251" height="30.956251" x="-1.0980834e-06" y="4.9999999e-06" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9867-7" width="30.956251" height="30.956251" x="-1.8924563e-07" y="33.496254" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9869-6" width="30.956251" height="30.956251" x="33.49625" y="33.496254" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9871-5" width="30.956251" height="30.956251" x="133.985" y="33.496258" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9873-6" width="30.956251" height="30.956251" x="-1.8924563e-07" y="66.992508" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9875-9" width="30.956251" height="30.956251" x="33.49625" y="66.992508" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9877-3" width="30.956251" height="30.956251" x="100.48875" y="66.992508" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9879-7" width="30.956251" height="30.956251" x="133.985" y="66.992508" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9881-4" width="30.956251" height="30.956251" x="167.48125" y="66.992508" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9883-5" width="30.956251" height="30.956251" x="-1.8924563e-07" y="100.48876" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9885-2" width="30.956251" height="30.956251" x="33.49625" y="100.48876" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9887-5" width="30.956251" height="30.956251" x="66.9925" y="100.48876" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9889-4" width="30.956251" height="30.956251" x="100.48875" y="100.48876" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9891-7" width="30.956251" height="30.956251" x="133.985" y="100.48876" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9893-4" width="30.956251" height="30.956251" x="167.48125" y="100.48876" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9895-4" width="30.956251" height="30.956251" x="-1.8924563e-07" y="133.98502" ry="2.1674161"/>
|
||||
<rect ry="2.1674161" y="133.98502" x="-1.8924563e-07" height="30.956251" width="30.956251" id="use9897-3" style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9899-0" width="30.956251" height="30.956251" x="33.49625" y="133.98502" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9901-7" width="30.956251" height="30.956251" x="66.9925" y="133.98502" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9903-8" width="30.956251" height="30.956251" x="100.48875" y="133.98502" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9905-6" width="30.956251" height="30.956251" x="133.985" y="133.98502" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9907-8" width="30.956251" height="30.956251" x="167.48125" y="133.98502" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9909-8" width="30.956251" height="30.956251" x="-1.8924563e-07" y="167.48126" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9911-4" width="30.956251" height="30.956251" x="33.49625" y="167.48126" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9913-3" width="30.956251" height="30.956251" x="66.9925" y="167.48126" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9915-1" width="30.956251" height="30.956251" x="100.48875" y="167.48126" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9917-4" width="30.956251" height="30.956251" x="133.985" y="167.48126" ry="2.1674161"/>
|
||||
<rect style="fill:#fdfeff;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="use9919-9" width="30.956251" height="30.956251" x="167.48125" y="167.48126" ry="2.1674161"/>
|
||||
</g>
|
||||
</mask>
|
||||
<linearGradient xlink:href="#linearGradient3062" id="linearGradient3386-6" gradientUnits="userSpaceOnUse" x1="19.931946" y1="8.8194542" x2="19.930443" y2="14.211194"/>
|
||||
<linearGradient y2="19.84375" x2="17.671497" y1="6.6145835" x1="17.671497" gradientUnits="userSpaceOnUse" id="linearGradient10573" xlink:href="#linearGradient3021"/>
|
||||
<filter id="filter10820" style="color-interpolation-filters:sRGB;">
|
||||
<feFlood id="feFlood10810" result="flood" flood-color="rgb(0,0,0)" flood-opacity="1"/>
|
||||
<feComposite id="feComposite10812" result="composite1" operator="in" in2="SourceGraphic" in="flood"/>
|
||||
<feGaussianBlur id="feGaussianBlur10814" result="blur" stdDeviation="0.4" in="composite1"/>
|
||||
<feOffset id="feOffset10816" result="offset" dy="0" dx="2.77556e-17"/>
|
||||
<feComposite id="feComposite10818" result="composite2" operator="over" in2="offset" in="SourceGraphic"/>
|
||||
</filter>
|
||||
</defs>
|
||||
<metadata id="metadata5">
|
||||
|
||||
</metadata>
|
||||
<g style="display:inline" id="layer2">
|
||||
<circle r="10.583333" cy="13.229166" cx="13.229166" id="path2775" style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||
</g>
|
||||
<g id="layer3">
|
||||
<g style="filter:url(#filter10820)" id="g10580">
|
||||
<path d="m 1.0583333,15.404013 c 0,2.777434 1.6195133,4.439737 4.0258347,4.439737 1.1998823,0 2.2096194,-0.353238 2.7734987,-1.281359 V 19.84375 H 10.054166 V 6.6145835 H 7.7724295 V 12.23871 C 7.2544471,11.310591 6.2971638,10.895015 5.0972812,10.895015 2.7499705,10.888139 1.0583333,12.585023 1.0583333,15.404013 Z m 6.78622,0 c 0,1.586116 -1.0228506,2.576572 -2.24896,2.576572 -1.2720065,0 -2.2489601,-0.990456 -2.2489601,-2.576572 0,-1.613818 0.9835102,-2.625053 2.2489601,-2.625053 1.2261094,0 2.24896,1.025086 2.24896,2.625053 z" id="path8175" style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.0673896"/>
|
||||
<rect style="opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="rect10263" width="26.458332" height="26.458332" x="0" y="5e-07" ry="0"/>
|
||||
<g mask="url(#mask9169-3)" id="g3068" style="display:inline">
|
||||
<rect style="opacity:1;fill:url(#linearGradient10573);fill-opacity:1;stroke:none;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round" id="rect3013" width="13.229166" height="13.229166" x="11.1125" y="6.614583" ry="0.017408287"/>
|
||||
<path style="fill:url(#linearGradient3386-6);fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 15.522216,15.434023 h 2.204873 V 8.8194374 h 4.409713 l 1.7e-5,6.6146026 h 2.204856 l -4.409729,4.409712 z" id="path3056"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g style="display:inline" id="layer4"/>
|
||||
<style type="text/css" id="style2777">
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#40AB5D;}
|
||||
.st1{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8192_1_);}
|
||||
.st2{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8199_1_);}
|
||||
.st3{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8206_1_);}
|
||||
.st4{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8213_1_);}
|
||||
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8220_1_);}
|
||||
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8227_1_);}
|
||||
.st7{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8234_1_);}
|
||||
.st8{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8241_1_);}
|
||||
.st9{fill-rule:evenodd;clip-rule:evenodd;fill:url(#rect8248_1_);}
|
||||
</style>
|
||||
</svg>
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
44
webui/src/assets/paypal.svg
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
|
||||
<path style="fill:#03A9F4;" d="M425.457,117.739c-3.121-1.838-6.961-1.966-10.197-0.341c-3.231,1.629-5.416,4.786-5.803,8.384
|
||||
c-0.384,3.499-0.981,6.997-1.728,10.667c-20.885,94.784-62.827,140.885-128.256,140.885h-96c-5.062,0.009-9.42,3.574-10.432,8.533
|
||||
l-32,149.995l-5.717,38.187c-3.287,17.365,8.125,34.107,25.489,37.394c1.915,0.362,3.858,0.549,5.807,0.558h64.213
|
||||
c14.718,0.045,27.55-10,31.04-24.299l25.941-103.701h55.659c65.685,0,111.083-52.373,127.829-147.477l0,0
|
||||
C482.356,191.238,464.068,143.856,425.457,117.739z"/>
|
||||
<path style="fill:#283593;" d="M405.339,38.017c-21.078-23.909-51.327-37.731-83.2-38.016h-176.64
|
||||
C119.064-0.141,96.558,19.2,92.721,45.355L37.873,411.243c-2.627,17.477,9.41,33.774,26.887,36.402
|
||||
c1.586,0.239,3.189,0.357,4.793,0.356h81.92c5.062-0.009,9.42-3.574,10.432-8.533l30.187-140.8h87.467
|
||||
c75.904,0,126.059-53.056,149.099-157.867c0.926-4.178,1.638-8.4,2.133-12.651C436.139,95.815,426.81,62.778,405.339,38.017z"/>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
107
webui/src/components/TheContent.vue
Normal file
@ -0,0 +1,107 @@
|
||||
<template>
|
||||
<main
|
||||
id="content"
|
||||
ref="content"
|
||||
aria-label="main content"
|
||||
@scroll="$route.name === 'Search' ? handleContentScroll($event) : null"
|
||||
>
|
||||
<div id="container">
|
||||
<BackButton v-if="showBackButton" class="sticky -ml-20" style="top: 1rem" />
|
||||
|
||||
<keep-alive>
|
||||
<router-view
|
||||
v-if="!$route.meta.notKeepAlive"
|
||||
:key="$route.fullPath"
|
||||
:class="{ '-mt-16': showBackButton }"
|
||||
:perform-scrolled-search="performScrolledSearch"
|
||||
></router-view>
|
||||
</keep-alive>
|
||||
|
||||
<router-view
|
||||
v-if="$route.meta.notKeepAlive"
|
||||
:key="$route.fullPath"
|
||||
:class="{ '-mt-16': showBackButton }"
|
||||
:perform-scrolled-search="performScrolledSearch"
|
||||
></router-view>
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { debounce } from '@/utils/utils'
|
||||
import BackButton from '@components/globals/BackButton.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
BackButton
|
||||
},
|
||||
data: () => ({
|
||||
performScrolledSearch: false
|
||||
}),
|
||||
computed: {
|
||||
showBackButton() {
|
||||
return ['Tracklist', 'Artist', 'Album', 'Playlist', 'Spotify Playlist'].includes(this.$route.name)
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$router.beforeEach((_, __, next) => {
|
||||
this.$refs.content.scrollTo(0, 0)
|
||||
next()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
handleContentScroll: debounce(async function () {
|
||||
if (this.$refs.content.scrollTop + this.$refs.content.clientHeight < this.$refs.content.scrollHeight) return
|
||||
this.performScrolledSearch = true
|
||||
|
||||
await this.$nextTick()
|
||||
|
||||
this.performScrolledSearch = false
|
||||
}, 100)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#container {
|
||||
--container-width: 95%;
|
||||
margin: 0 auto;
|
||||
max-width: 1280px;
|
||||
width: var(--container-width);
|
||||
transform: scale(1);
|
||||
}
|
||||
@media only screen and (min-width: 601px) {
|
||||
#container {
|
||||
--container-width: 85%;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 993px) {
|
||||
#container {
|
||||
--container-width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
background-color: var(--main-background);
|
||||
padding-right: 5px;
|
||||
width: 100%;
|
||||
height: calc(100vh - 93px);
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
main::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
main::-webkit-scrollbar-track {
|
||||
background: var(--main-background);
|
||||
}
|
||||
|
||||
main::-webkit-scrollbar-thumb {
|
||||
background: var(--main-scroll);
|
||||
border-radius: 4px;
|
||||
width: 6px;
|
||||
padding: 0px 2px;
|
||||
}
|
||||
</style>
|
250
webui/src/components/TheSearchBar.vue
Normal file
@ -0,0 +1,250 @@
|
||||
<template>
|
||||
<header id="search" aria-label="searchbar" :class="{ showSearchButton }">
|
||||
<div v-if="!showSearchButton" class="search__icon">
|
||||
<i class="material-icons">search</i>
|
||||
</div>
|
||||
|
||||
<input
|
||||
id="searchbar"
|
||||
ref="searchbar"
|
||||
class="w-full"
|
||||
autocomplete="off"
|
||||
type="search"
|
||||
name="searchbar"
|
||||
value=""
|
||||
:placeholder="$t('searchbar')"
|
||||
autofocus
|
||||
@keyup="keyPerformSearch($event)"
|
||||
/>
|
||||
<!-- @keyup.enter.exact="onEnter"
|
||||
@keyup.ctrl.enter="onCTRLEnter" -->
|
||||
<a
|
||||
v-if="showSearchButton"
|
||||
href="#"
|
||||
class="searchButton"
|
||||
@contextmenu="rightClickPerformSearch"
|
||||
@click="clickPerformSearch"
|
||||
><i class="material-icons">search</i></a
|
||||
>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import { defineComponent, ref } from '@vue/composition-api'
|
||||
import { isValidURL } from '@/utils/utils'
|
||||
import { sendAddToQueue } from '@/utils/downloads'
|
||||
import { fetchData } from '@/utils/api'
|
||||
import EventBus from '@/utils/EventBus'
|
||||
|
||||
export default defineComponent({
|
||||
setup() {
|
||||
return {
|
||||
lastTextSearch: ref('')
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
showSearchButton: 'getShowSearchButton'
|
||||
})
|
||||
},
|
||||
created() {
|
||||
const focusSearchBar = keyEvent => {
|
||||
if (keyEvent.keyCode === 70 && keyEvent.ctrlKey) {
|
||||
keyEvent.preventDefault()
|
||||
this.$refs.searchbar.focus()
|
||||
}
|
||||
}
|
||||
|
||||
const deleteSearchBarContent = keyEvent => {
|
||||
if (!(keyEvent.key === 'Backspace' && keyEvent.ctrlKey && keyEvent.shiftKey)) return
|
||||
|
||||
this.$refs.searchbar.value = ''
|
||||
this.$refs.searchbar.focus()
|
||||
}
|
||||
|
||||
document.addEventListener('keydown', focusSearchBar)
|
||||
document.addEventListener('keyup', deleteSearchBarContent)
|
||||
|
||||
this.$on('hook:destroyed', () => {
|
||||
document.removeEventListener('keydown', focusSearchBar)
|
||||
document.removeEventListener('keyup', deleteSearchBarContent)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
async clickPerformSearch(ev) {
|
||||
ev.preventDefault()
|
||||
const term = this.$refs.searchbar.value
|
||||
const isEmptySearch = term === ''
|
||||
if (isEmptySearch) return
|
||||
|
||||
await this.performSearch(term, false)
|
||||
},
|
||||
async rightClickPerformSearch(ev) {
|
||||
ev.preventDefault()
|
||||
ev.stopPropagation()
|
||||
const term = this.$refs.searchbar.value
|
||||
const isEmptySearch = term === ''
|
||||
if (isEmptySearch) return
|
||||
|
||||
await this.performSearch(term, true)
|
||||
},
|
||||
async keyPerformSearch(keyEvent) {
|
||||
const isEnterPressed = keyEvent.keyCode === 13
|
||||
if (!isEnterPressed) return
|
||||
|
||||
const term = this.$refs.searchbar.value
|
||||
const isEmptySearch = term === ''
|
||||
if (isEmptySearch) return
|
||||
|
||||
const isCtrlPressed = keyEvent.ctrlKey
|
||||
await this.performSearch(term, isCtrlPressed)
|
||||
},
|
||||
async performSearch(term, modifierKey) {
|
||||
const isSearchingURL = isValidURL(term)
|
||||
const isShowingAnalyzer = this.$route.name === 'Link Analyzer'
|
||||
const isShowingSearch = this.$route.name === 'Search'
|
||||
const isSameAsLastSearch = term === this.lastTextSearch
|
||||
|
||||
if (isSearchingURL) {
|
||||
if (modifierKey) {
|
||||
this.$root.$emit('ContextMenu:searchbar', term)
|
||||
return
|
||||
}
|
||||
|
||||
if (isShowingAnalyzer) {
|
||||
try {
|
||||
const analyzedData = await fetchData('analyzeLink', { term })
|
||||
const isError = !!analyzedData.errorCode
|
||||
|
||||
if (isError) {
|
||||
EventBus.$emit('analyze_notSupported', analyzedData)
|
||||
return
|
||||
}
|
||||
|
||||
if (analyzedData.type === 'track') {
|
||||
EventBus.$emit('analyze_track', analyzedData)
|
||||
}
|
||||
|
||||
if (analyzedData.type === 'album') {
|
||||
EventBus.$emit('analyze_album', analyzedData)
|
||||
}
|
||||
return
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
// ? Open downloads tab maybe?
|
||||
sendAddToQueue(term)
|
||||
} else {
|
||||
// The user is searching a normal string
|
||||
if (isShowingSearch && isSameAsLastSearch) return
|
||||
|
||||
/*
|
||||
isShowing isSame
|
||||
false false Loading
|
||||
false true Loading (because component Search is not loaded)
|
||||
true false Loading
|
||||
true true Never
|
||||
*/
|
||||
|
||||
this.lastTextSearch = term
|
||||
await this.$router.push({
|
||||
name: 'Search',
|
||||
query: {
|
||||
term
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
input[type='search']::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background-color: var(--foreground);
|
||||
-webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
|
||||
mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
#search {
|
||||
background-color: var(--secondary-background);
|
||||
padding: 0 1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border: 1px solid transparent;
|
||||
transition: border 200ms ease-in-out;
|
||||
border-radius: 15px;
|
||||
margin: 10px 10px 20px 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#search .search__icon {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
#search .search__icon i {
|
||||
font-size: 2rem;
|
||||
color: var(--foreground);
|
||||
}
|
||||
#search .search__icon i::selection {
|
||||
background: none;
|
||||
}
|
||||
#search #searchbar {
|
||||
height: 45px;
|
||||
padding-left: 0.5em;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
background-color: var(--secondary-background);
|
||||
color: var(--foreground);
|
||||
font-size: 1.2rem;
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 300;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#search #searchbar:focus {
|
||||
outline: none;
|
||||
}
|
||||
#search #searchbar::-webkit-search-cancel-button {
|
||||
appearance: none;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background-color: var(--foreground);
|
||||
mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='28' viewBox='0 0 24 24' width='28'%3E%%3Cpath fill='%23ffffff' d='M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z'/%3E3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
|
||||
}
|
||||
#search #searchbar:-webkit-autofill,
|
||||
#search #searchbar:-webkit-autofill:hover,
|
||||
#search #searchbar:-webkit-autofill:focus,
|
||||
#search #searchbar:-webkit-autofill:active {
|
||||
box-shadow: 0 0 0 45px var(--secondary-background) inset !important;
|
||||
}
|
||||
#search .searchButton {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--primary-text);
|
||||
height: 100%;
|
||||
width: 48px;
|
||||
display: flex;
|
||||
text-decoration: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0px 15px 15px 0px;
|
||||
margin-left: 1em;
|
||||
}
|
||||
#search .searchButton i {
|
||||
font-size: 2rem;
|
||||
}
|
||||
#search .searchButton i::selection {
|
||||
background: none;
|
||||
}
|
||||
#search:focus-within {
|
||||
border: 1px solid var(--foreground);
|
||||
}
|
||||
#search.showSearchButton {
|
||||
padding: 0 0 0 1em;
|
||||
}
|
||||
</style>
|
142
webui/src/components/TheSidebar.vue
Normal file
@ -0,0 +1,142 @@
|
||||
<template>
|
||||
<aside
|
||||
id="sidebar"
|
||||
:class="{ 'slim-sidebar w-12': isSlim }"
|
||||
:style="{ minWidth: isSlim ? null : '14rem' }"
|
||||
aria-label="sidebar"
|
||||
class="top-0 left-0 flex flex-col h-screen bg-panels-bg text-foreground"
|
||||
role="navigation"
|
||||
>
|
||||
<div class="deemix-icon-container" v-html="deemixIcon" />
|
||||
<router-link
|
||||
v-for="link in links"
|
||||
:key="link.name"
|
||||
:aria-label="link.ariaLabel"
|
||||
:class="{ 'bg-background-main': activeTablink === link.name }"
|
||||
:to="{ name: link.routerName }"
|
||||
class="relative flex items-center h-16 no-underline group main_tablinks hover:bg-background-main text-foreground"
|
||||
@click.native="activeTablink = link.name"
|
||||
>
|
||||
<i
|
||||
:class="{ 'text-primary': activeTablink === link.name }"
|
||||
class="p-2 text-3xl material-icons side_icon group-hover:text-primary"
|
||||
>
|
||||
{{ link.icon }}
|
||||
</i>
|
||||
<span
|
||||
:class="{ hidden: isSlim }"
|
||||
class="ml-3 overflow-hidden capitalize whitespace-no-wrap main-tablinks-text"
|
||||
>
|
||||
{{ $t(link.label) }}
|
||||
</span>
|
||||
<span
|
||||
v-if="link.name === 'about' && updateAvailable"
|
||||
id="update-notification"
|
||||
class="absolute w-3 h-3 bg-red-600 rounded-full"
|
||||
></span>
|
||||
</router-link>
|
||||
|
||||
<span
|
||||
id="theme_selector"
|
||||
:class="{ 'inline-grid gap-2': isSlim }"
|
||||
aria-label="theme selector"
|
||||
class="flex h-12 mt-5"
|
||||
role="link"
|
||||
>
|
||||
<i class="p-2 text-3xl transition-all duration-500 cursor-default material-icons side_icon side_icon--theme">
|
||||
brush
|
||||
</i>
|
||||
<div
|
||||
id="theme_togglers"
|
||||
:class="{ 'inline-grid gap-2': isSlim }"
|
||||
class="relative flex items-center w-full justify-evenly"
|
||||
>
|
||||
<div
|
||||
v-for="theme of THEMES"
|
||||
:key="theme"
|
||||
:class="[{ 'theme_toggler--active': currentTheme === theme }, `theme_toggler--${theme}`]"
|
||||
class="w-6 h-6 border rounded-full cursor-pointer theme_toggler border-grayscale-500 gap"
|
||||
@click="currentTheme = theme"
|
||||
/>
|
||||
</div>
|
||||
</span>
|
||||
</aside>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { computed, defineComponent, reactive, toRefs } from '@vue/composition-api'
|
||||
|
||||
import { links } from '@/data/sidebar'
|
||||
import { useTheme } from '@/use/theme'
|
||||
|
||||
import deemixIcon from '@/assets/deemix-icon.svg'
|
||||
|
||||
export default defineComponent({
|
||||
setup(_, ctx) {
|
||||
const activeTab = links.find(link => link.routerName === ctx.root.$route.name)
|
||||
|
||||
const state = reactive({
|
||||
activeTablink: activeTab ? activeTab.name : 'home',
|
||||
links
|
||||
})
|
||||
const { THEMES, currentTheme } = useTheme()
|
||||
|
||||
/* === Add update notification near info === */
|
||||
const updateAvailable = computed(() => ctx.root.$store.state.appInfo.updateAvailable)
|
||||
|
||||
ctx.root.$router.afterEach(to => {
|
||||
const linkInSidebar = state.links.find(link => link.routerName === to.name)
|
||||
|
||||
if (!linkInSidebar) return
|
||||
|
||||
state.activeTablink = linkInSidebar.name
|
||||
})
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
updateAvailable,
|
||||
THEMES,
|
||||
currentTheme,
|
||||
isSlim: computed(() => ctx.root.$store.getters.getSlimSidebar),
|
||||
deemixIcon
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.deemix-icon-container {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
}
|
||||
.slim-sidebar .deemix-icon-container {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
.slim-sidebar .deemix-icon-container::v-deep svg {
|
||||
height: 30px;
|
||||
}
|
||||
.deemix-icon-container::v-deep svg {
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
#update-notification {
|
||||
top: 12px;
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
.theme_toggler {
|
||||
transition: border 200ms ease-in-out;
|
||||
}
|
||||
.theme_toggler--active {
|
||||
border-width: 3px;
|
||||
}
|
||||
.theme_toggler--light {
|
||||
background-color: #fff;
|
||||
}
|
||||
.theme_toggler--dark {
|
||||
background-color: #141414;
|
||||
}
|
||||
.theme_toggler--purple {
|
||||
background: #460eaf;
|
||||
}
|
||||
</style>
|
348
webui/src/components/downloads/QueueItem.vue
Normal file
@ -0,0 +1,348 @@
|
||||
<template>
|
||||
<div class="download-object" :data-link-only="generateLink">
|
||||
<div class="download-info">
|
||||
<div class="relative coverart rounded">
|
||||
<img width="75px" :src="queueItem.cover" :alt="`Cover ${queueItem.title}`">
|
||||
<span v-if="showTags" class="tag">{{ bitrateText }}</span>
|
||||
</div>
|
||||
|
||||
<div class="download-info-data">
|
||||
<span class="download-line">
|
||||
<i v-if="queueItem.explicit" class="material-icons explicit-icon">explicit</i> {{ queueItem.title }}
|
||||
</span>
|
||||
<span class="download-slim-separator"> - </span>
|
||||
<span>{{ queueItem.artist }}</span>
|
||||
</div>
|
||||
|
||||
<div class="download-info-status" style="text-align: center">
|
||||
<span class="download-line"> {{ queueItem.downloaded + queueItem.failed }}/{{ queueItem.size }} </span>
|
||||
|
||||
<span
|
||||
v-if="hasFails"
|
||||
class="flex items-center"
|
||||
:class="{ clickable: hasFails }"
|
||||
style="justify-content: center"
|
||||
@click="hasFails ? $emit('show-errors', queueItem) : null"
|
||||
>
|
||||
{{ queueItem.failed }}
|
||||
<i class="material-icons">error_outline</i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="download-bar">
|
||||
<div class="progress">
|
||||
<div :class="barClass" :style="barStyle"></div>
|
||||
</div>
|
||||
<i
|
||||
v-if="!isLoading"
|
||||
class="material-icons queue_icon"
|
||||
:class="{ clickable: finishedWithFails || resultIconText === 'delete_forever' }"
|
||||
@click="onResultIconClick"
|
||||
>
|
||||
{{ resultIconText }}
|
||||
</i>
|
||||
<div v-else class="circle-loader"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const possibleStates = ['converting', 'downloading', 'download finished', 'completed']
|
||||
|
||||
export default {
|
||||
props: {
|
||||
queueItem: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
},
|
||||
showTags: Boolean
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
isLoading: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
hasFails() {
|
||||
return this.queueItem.failed >= 1
|
||||
},
|
||||
hasErrors() {
|
||||
return this.queueItem.errors.length >= 1
|
||||
},
|
||||
allFailed() {
|
||||
let allFailed = false
|
||||
|
||||
if (this.queueItem.status === 'download finished') {
|
||||
allFailed = this.queueItem.size !== 0 && this.queueItem.failed === this.queueItem.size
|
||||
}
|
||||
|
||||
return allFailed
|
||||
},
|
||||
finishedWithFails() {
|
||||
return this.queueItem.status === 'download finished' && (this.hasFails || this.hasErrors)
|
||||
},
|
||||
isDeterminateStatus() {
|
||||
return possibleStates.includes(this.queueItem.status)
|
||||
},
|
||||
barClass() {
|
||||
return {
|
||||
converting: this.queueItem.status === 'converting',
|
||||
indeterminate: !this.isDeterminateStatus,
|
||||
determinate: this.isDeterminateStatus
|
||||
}
|
||||
},
|
||||
barStyle() {
|
||||
let width = 0
|
||||
let backgroundColor = 'var(--primary-color)'
|
||||
|
||||
if (this.hasFails || this.hasErrors) {
|
||||
// Orange
|
||||
backgroundColor = 'hsl(33, 100%, 47%)'
|
||||
} else {
|
||||
// Green
|
||||
backgroundColor = 'hsl(150, 76%, 34%)'
|
||||
}
|
||||
|
||||
if (this.allFailed) {
|
||||
// Red
|
||||
backgroundColor = 'hsl(360, 100%, 35%)'
|
||||
}
|
||||
|
||||
if (this.queueItem.status === 'download finished') {
|
||||
width = 100
|
||||
}
|
||||
|
||||
if (this.queueItem.status === 'downloading') {
|
||||
width = this.queueItem.progress
|
||||
}
|
||||
|
||||
if (this.queueItem.status === 'converting') {
|
||||
width = 100 - this.queueItem.conversion
|
||||
backgroundColor = 'hsl(46, 100%, 50%)'
|
||||
}
|
||||
|
||||
return {
|
||||
width: `${width}%`,
|
||||
backgroundColor
|
||||
}
|
||||
},
|
||||
resultIconText() {
|
||||
let text = 'delete_forever'
|
||||
|
||||
if (this.queueItem.status === 'download finished') {
|
||||
if (!(this.hasFails || this.hasErrors)) {
|
||||
text = 'done'
|
||||
} else if (this.queueItem.failed >= this.queueItem.size) {
|
||||
text = 'error'
|
||||
} else {
|
||||
text = 'warning'
|
||||
}
|
||||
}
|
||||
|
||||
return text
|
||||
},
|
||||
generateLink() {
|
||||
switch (this.queueItem.type) {
|
||||
case "track":
|
||||
return `https://deezer.com/track/${this.queueItem.id}`
|
||||
case "album":
|
||||
return `https://deezer.com/album/${this.queueItem.id}`
|
||||
case "playlist":
|
||||
if (this.queueItem.id.endsWith("_top_track")) return `https://www.deezer.com/artist/${this.queueItem.id.slice(0, -10)}/top_track`
|
||||
return `https://deezer.com/playlist/${this.queueItem.id}`
|
||||
case "spotify_playlist":
|
||||
return `https://open.spotify.com/playlist/${this.queueItem.id}`
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
},
|
||||
bitrateText() {
|
||||
switch (parseInt(this.queueItem.bitrate)) {
|
||||
case 9: return "FLAC";
|
||||
case 3: return "320";
|
||||
case 1: return "128";
|
||||
case 15: return "360HQ";
|
||||
case 14: return "360MQ";
|
||||
case 13: return "360LQ";
|
||||
default: return "MISC";
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onResultIconClick() {
|
||||
if (this.isDeterminateStatus) {
|
||||
if (this.finishedWithFails) {
|
||||
this.$emit('retry-download', this.queueItem.uuid)
|
||||
}
|
||||
|
||||
if (this.queueItem.status === 'downloading') {
|
||||
this.isLoading = true
|
||||
this.$emit('remove-item', this.queueItem.uuid)
|
||||
}
|
||||
} else {
|
||||
this.isLoading = true
|
||||
this.$emit('remove-item', this.queueItem.uuid)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.download-object {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
.download-object .download-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.download-object .download-info .coverart {
|
||||
height: 75px;
|
||||
width: 75px;
|
||||
flex: 0 0 75px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.download-object .download-info .coverart .tag {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
.download-object .download-info .download-line {
|
||||
display: block;
|
||||
}
|
||||
.download-object .download-info .download-line .explicit-icon {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.download-object .download-info .download-slim-separator {
|
||||
display: none;
|
||||
}
|
||||
.download-object .download-info-data {
|
||||
flex: 1 50%;
|
||||
margin-left: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.download-object .download-info-status {
|
||||
flex: 1 15%;
|
||||
margin-left: 8px;
|
||||
width: 80px;
|
||||
}
|
||||
.download-object > .download-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 24px;
|
||||
}
|
||||
.download-object > .download-bar > .queue_icon {
|
||||
cursor: default;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.download-object > .download-bar > .progress {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#download_list:not(.slim) .download-line {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#download_list.slim > .download-object .download-info {
|
||||
display: block;
|
||||
}
|
||||
#download_list.slim > .download-object .download-info .coverart {
|
||||
display: none;
|
||||
}
|
||||
#download_list.slim > .download-object .download-info .download-line {
|
||||
display: inline-block;
|
||||
}
|
||||
#download_list.slim > .download-object .download-info .download-slim-separator {
|
||||
display: inline-block;
|
||||
}
|
||||
#download_list.slim > .download-object .download-info-data {
|
||||
width: calc(80% - 16px);
|
||||
display: inline-block;
|
||||
padding-left: 0;
|
||||
}
|
||||
#download_list.slim > .download-object .download-info-status {
|
||||
width: 20%;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.progress {
|
||||
position: relative;
|
||||
height: 4px;
|
||||
display: block;
|
||||
width: 100%;
|
||||
background-color: var(--secondary-background);
|
||||
border-radius: 2px;
|
||||
margin: 0.5rem 0 1rem 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.progress .determinate {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background-color: var(--primary-color);
|
||||
transition: width 0.3s linear;
|
||||
}
|
||||
.progress .converting {
|
||||
background-color: var(--secondary-color);
|
||||
transition: none !important;
|
||||
}
|
||||
.progress .indeterminate {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
.progress .indeterminate::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-color: inherit;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
will-change: left, right;
|
||||
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
||||
}
|
||||
.progress .indeterminate::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
background-color: inherit;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
will-change: left, right;
|
||||
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
||||
animation-delay: 1.15s;
|
||||
}
|
||||
|
||||
@keyframes indeterminate {
|
||||
0% {
|
||||
left: -35%;
|
||||
right: 100%;
|
||||
}
|
||||
60% {
|
||||
left: 100%;
|
||||
right: -90%;
|
||||
}
|
||||
100% {
|
||||
left: 100%;
|
||||
right: -90%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes indeterminate-short {
|
||||
0% {
|
||||
left: -200%;
|
||||
right: 100%;
|
||||
}
|
||||
60% {
|
||||
left: 107%;
|
||||
right: -8%;
|
||||
}
|
||||
100% {
|
||||
left: 107%;
|
||||
right: -8%;
|
||||
}
|
||||
}
|
||||
</style>
|