diff --git a/Documents/000.jpg b/Documents/000.jpg deleted file mode 100644 index 3a9d54a..0000000 Binary files a/Documents/000.jpg and /dev/null differ diff --git a/Images/000.jpg b/Images/000.jpg deleted file mode 100644 index c7524e9..0000000 Binary files a/Images/000.jpg and /dev/null differ diff --git a/Images/pic1.png b/Images/pic1.png deleted file mode 100644 index 8521731..0000000 Binary files a/Images/pic1.png and /dev/null differ diff --git a/Images/pic2.png b/Images/pic2.png deleted file mode 100644 index 7f1436d..0000000 Binary files a/Images/pic2.png and /dev/null differ diff --git a/Images/pic3.png b/Images/pic3.png deleted file mode 100644 index 8aef4d3..0000000 Binary files a/Images/pic3.png and /dev/null differ diff --git a/Images/pic4.png b/Images/pic4.png deleted file mode 100644 index 7805d32..0000000 Binary files a/Images/pic4.png and /dev/null differ diff --git a/Images/pic5.png b/Images/pic5.png deleted file mode 100644 index c30ad91..0000000 Binary files a/Images/pic5.png and /dev/null differ diff --git a/Images/pic6.png b/Images/pic6.png deleted file mode 100644 index 91f8b39..0000000 Binary files a/Images/pic6.png and /dev/null differ diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d159169..0000000 --- a/LICENSE +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) 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 -this service 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 make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. 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. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -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 -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the 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 a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE 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. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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 2 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, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/Music/000.jpg b/Music/000.jpg deleted file mode 100644 index 7cd17f4..0000000 Binary files a/Music/000.jpg and /dev/null differ diff --git a/README.md b/README.md deleted file mode 100644 index 48565e6..0000000 --- a/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# WebFM -WebFM is a media and file viewer aspiring to become a full fledged file manager in the browser. - -# Usage -1. Install php7, php-sqlite3, and ffmpeg on the system this will be on. -2. Use php -S 0.0.0.0:yourDesiredPort -3. Use ufw or gufw to open the port on your computer to the network. -4. Place files or start uploading some to the folders. -5. Double click thumbnails and container outlines to open files. -6. Double click the text name to change the file's or folder's name and press enter to set it. -7. Right-click to get context menu options. -8. Place an image such as a jpg, png, or gif labeled "000.itsExtension" in a directory then the viewer will use it as the background image for that folder/directory. -9. Password protect folder based on resources/php/config.php file setting. -10. Save paths to favorites list for quick access. - -Notes: -1. The provided folders except "resources" are optional. You can add and remove them as you please. -2. The media and image pane can be moved by dragging from the transparentish bar that has the close button and other controls. -3. Edit the resources/php/config.php file and put your own programs there. -4. Edit your php.ini file "upload_max_filesize" and "post_max_size" to be higher to upload larger files. - -# TO-DO -1. Allow for move and copy. -2. Implement themes functionality. - - -# Images -![1 Home](Images/pic1.png) -![2 Images Listed](Images/pic2.png) -![3 Videos Listed](Images/pic3.png) -![4 Image Open](Images/pic4.png) -![5 Image Open And Video Playing](Images/pic5.png) -![6 Alternate Background](Images/pic6.png) diff --git a/Videos/000.jpg b/Videos/000.jpg deleted file mode 100644 index 2a1deca..0000000 Binary files a/Videos/000.jpg and /dev/null differ diff --git a/dirLockCheck/TOPSECRETSTUFF.txt b/dirLockCheck/TOPSECRETSTUFF.txt deleted file mode 100644 index 49a706d..0000000 --- a/dirLockCheck/TOPSECRETSTUFF.txt +++ /dev/null @@ -1 +0,0 @@ -LOL...Not really! \ No newline at end of file diff --git a/index.html b/index.html deleted file mode 100644 index 77467c3..0000000 --- a/index.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - Web File Manager - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - -
- - - Path: -

- - - - - - -
    - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..cab1505 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +Click==7.0 +Flask==1.1.1 +Flask-SQLAlchemy==2.4.1 +gunicorn==19.9.0 +itsdangerous==1.1.0 +Jinja2==2.10.3 +MarkupSafe==1.1.1 +SQLAlchemy==1.3.11 +Werkzeug==0.16.0 diff --git a/resources/css/base.css b/resources/css/base.css deleted file mode 100644 index f9409f0..0000000 --- a/resources/css/base.css +++ /dev/null @@ -1,8 +0,0 @@ -html { - margin: 0em; - padding: 0em; -} - -ol, ul, li { - list-style: none; -} diff --git a/resources/css/iframe.css b/resources/css/iframe.css deleted file mode 100644 index 071331c..0000000 --- a/resources/css/iframe.css +++ /dev/null @@ -1,4 +0,0 @@ -#controls, #fullPathHeader, #dynDiv, -.errorStyling, .dirStyle, .movieStyle, .fileStyle { - background-color: rgba(0,0,0,0.2); -} diff --git a/resources/css/main.css b/resources/css/main.css deleted file mode 100644 index e362ac9..0000000 --- a/resources/css/main.css +++ /dev/null @@ -1,304 +0,0 @@ -/* IDs */ - -#DIRPATHUL { - display: none; - width: 1px; - height: 1px; -} - -#video, -#bg { - position: fixed; - top: 0%; - left: 0%; - width: 100%; - height: 100%; - z-index: -999; -} - -#video, -#bg img { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - width: 100%; - height: 100%; - z-index: -999; -} - -#video { - position: fixed; - display: none; - background-color: rgba(0, 0, 0, 1); -} - -#controls, #dynUl, -.errorStyling, .dirStyle, .movieStyle, .fileStyle { - display: block; - width: 100%; - height: auto; - overflow: auto; - padding-bottom: 0.5em; - color: #ffffff; - text-align: center; - font-size: 1.2em; - background-color: rgba(0,0,0,0.64); -} - -#favesList { - border-style: solid; - border-color: rgba(0, 0, 0, 0.5); - border-width: 0.2em; - background-color: rgba(7, 150, 159, 0.8); - position: fixed; - font-size: 2em; - overflow-x: auto; - overflow-y: scroll; - padding: 1.5em; - max-height: 632px; - color: #ffffff; - z-index: 888; -} - -#favesList > li:hover { - cursor: pointer; - background-color: rgba(92, 199, 35, 0.8); - padding-left: 1em; - padding-right: 1em; -} - -#controls { - display: block; - position: fixed; - z-index: 999; - top: 0em; -} - -#dynUl { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(18em, 1fr)); - grid-column-gap: 1em; - grid-row-gap: 1em; - margin: 5em auto; - width: 85%; - padding: 2em; -} - -#imgView, #imgArea, #fileView { - width: 800px; - height: 600px; -} - -#imgView, #fileView { - position: fixed; - bottom: 0em; - z-index: 100; - border-style: solid; - border-color: rgb(114,184,199); - - } - -#fileView { - display: block; - overflow: auto; -} - -#fileViewInner { - position: sticky; - display: inline; - width: 100%; - height: 500px; -} - -#imgArea { - width: 800px; - height: 600px; - overflow-y: scroll; -} - -#imgView { - overflow: hidden; - left: 15em; -} - -#NewItem { - background-color: #ffffff; - color: #000000; - text-align: center; -} - -#popOutControls { - position: fixed; - top: 15%; - width: 99%; - height: 15em; - padding-top: 6em; - opacity: 0.94; - background: radial-gradient(circle,#3f3f3f,#000000); - color: #ffffff; - text-align: center; - z-index: 999; -} - -#serverMsgView { - position: fixed; - bottom: 0em; - height: 5em; - overflow-y: scroll; - width: 100%; - background-color: rgba(0,0,0,0.64); - z-index: 999; -} - -#searchField { - text-align: center; -} - -#searchField:focus { - height: 2em; - border-style: solid; - border-width: thin; - border-color: rgba(55, 204, 209, 1); -} - -/* Classes */ -.imgViewImg { - width: inherit; - height: auto; -} - - -.dirStyle { background-color: rgba(0, 0, 0, 0.56); } -.movieStyle, .fileStyle { background-color: rgba(101, 101, 101, 0.56); } - -.movieStyle { - min-height: 6.5em; - overflow: hidden; - background-repeat: no-repeat; - background-size: 100% 100%; -} - -.videoInputField { - width: 100%; - margin-top: 5.5em; - background-color: rgba(0, 0, 0, 0.64); - color: rgb(255, 255, 255); - text-align: center; - border-top: 1px solid rgb(255, 255, 255); - border-bottom: 1px solid rgb(255, 255, 255); - text-overflow: ellipsis; -} - -.dirStyle:hover, .movieStyle:hover, .fileStyle:hover { - background-color: rgba(0, 141, 166, 0.56); - cursor: pointer; - box-shadow: 0px 0px 15px rgb(114,184,199); - border-radius: 0.5em; -} - -.dirStyle:focus, .movieStyle:focus, .fileStyle:focus { - background-color: rgba(0, 139, 35, 0.76); - cursor: pointer; - box-shadow: 0px 0px 25px rgb(114, 199, 120); - border-radius: 0.5em; -} - -.dirTitle, .fileTitle, .movieTitle { - white-space: nowrap; - text-overflow: ellipsis; - text-align: center; - overflow: hidden; - border-style: none; - font-size: 75%; -} - -.dirTitle, .fileTitle { - width: auto; - background-color: #00000000; - color: #ffffff; -} - -.movieTitle { - width: 18em; - background-color: #ffffff00; - color: #ffffff; -} - -.thumbnail { - width: 12em; - height: 6.5em; -} - -.systemIcon { - width: 2em; - height: auto; -} - -.iconImg { - width: 18em; - height: 12em; - margin: 1em; -} - -.popOutBttn, .closeBttn { - float: right; - z-index: 2; - width: 4em; - height: 4em; - text-align: center; - vertical-align: middle; - line-height: 4em; /* the same as your div height */ - background-color: rgba(0,0,0, 0.85); - color: rgb(255,255,255); - border-style:solid; - border-color: rgb(255,255,255); -} - -.popOutBttnInner { - float: right; - z-index: 2; - width: 2em; - height: 2em; - text-align: center; - background-color: rgba(0,0,0, 0.85); - color: rgb(255,255,255); - border-style:solid; - border-color: rgb(255,255,255); -} - - -.completionBar { - float:left; - clear:left; - height: 0.1em; - background-color: rgba(25, 125, 10, 1.0); -} - -/* Hover events */ -.dirTitle:hover, -.iconImg:hover, -.closeBttn:hover, -.popOutBttnInner:hover, -.popOutBttn:hover { - cursor: pointer; -} - -.popOutBttnInner:hover, -.popOutBttn:hover, -.closeBttn:hover { - background-color: rgba(255,255,255, 0.85); - color: #000000; - border-color: #000000; -} - -/* Messages coloring */ -.error, .warnning, .success { - float: left; - clear: both; -} - -.error { color: rgb(255, 0, 0); } -.warning { color: rgb(255, 168, 0); } -.success { color: rgb(136, 204, 39); } diff --git a/resources/db/webfm.db b/resources/db/webfm.db deleted file mode 100644 index 6ab82a6..0000000 Binary files a/resources/db/webfm.db and /dev/null differ diff --git a/resources/images/thumbnails/5c7a64f4c87918afae27942abf3eef5903048e9a926e1a5de583252de6b6b561.jpg b/resources/images/thumbnails/5c7a64f4c87918afae27942abf3eef5903048e9a926e1a5de583252de6b6b561.jpg deleted file mode 100644 index a9d2850..0000000 Binary files a/resources/images/thumbnails/5c7a64f4c87918afae27942abf3eef5903048e9a926e1a5de583252de6b6b561.jpg and /dev/null differ diff --git a/resources/images/thumbnails/placeHolder.txt b/resources/images/thumbnails/placeHolder.txt deleted file mode 100644 index a8fe526..0000000 --- a/resources/images/thumbnails/placeHolder.txt +++ /dev/null @@ -1 +0,0 @@ -Place Holder File diff --git a/resources/js/ajax.js b/resources/js/ajax.js deleted file mode 100644 index 49a3bb9..0000000 --- a/resources/js/ajax.js +++ /dev/null @@ -1,54 +0,0 @@ -// SSE events if supported -if(typeof(EventSource) !== "undefined") { - let source = new EventSource("resources/php/sse.php"); - source.onmessage = (event) => { - if (event.data === "updateListing") { - getDir("./"); - } - }; -} else { - console.log("SSE Not Supported In Browser..."); -} - -const getFavesList = () => { - doAjax("resources/php/dbController.php", "getTabs=true"); -} - -const doAjax = async (actionPath, data) => { - let xhttp = new XMLHttpRequest(); - - xhttp.onreadystatechange = function() { - if (this.readyState === 4 && this.status === 200) { - // Send the returned data to further process - if (this.responseText != null) { - handleJSONReturnData(JSON.parse(this.responseText)); - } else { - document.getElementById('dynUl').innerHTML = - "

    " - + "No content returned. Check the folder path.

    "; - } - } - }; - - xhttp.open("POST", actionPath, true); - xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); - xhttp.overrideMimeType('application/json'); // Force return to be JSON - xhttp.send(data); -} - -const fileUploader = (data) => { - let xhttp = new XMLHttpRequest(); - - xhttp.onreadystatechange = function() { - if (this.readyState === 4 && this.status === 200) { - // Send the returned data to further process - if (this.responseXML != null) { - handleXMLReturnData(this.responseXML); - } - } - }; - - xhttp.open("POST", "resources/php/filesystemActions.php", true); - xhttp.overrideMimeType('application/xml'); // Force return to be XML - xhttp.send(data); -} diff --git a/resources/js/cookieHandler.js b/resources/js/cookieHandler.js deleted file mode 100644 index a5764c6..0000000 --- a/resources/js/cookieHandler.js +++ /dev/null @@ -1,15 +0,0 @@ -const getCookie = (cname) => { - let decodedCookie = decodeURIComponent(document.cookie); - let name = cname + "="; - let ca = decodedCookie.split(';'); - for(let i = 0; i { - let path = document.getElementById("path").innerHTML; - let data = ""; - - if (elm.style.backgroundColor != "") { - elm.style.backgroundColor = ""; - elm.style.color = ""; - data = "deleteLink=true"; - } else { - elm.style.backgroundColor = "rgb(255, 255, 255)"; - elm.style.color = "rgb(0, 0, 0)"; - data = "deleteLink=false"; - } - - data += "&linkPath=" + path; - doAjax("resources/php/dbController.php", data); -} - -// Basically resetting path nodes and setting them up -// to the new path and just doing a refresh -const loadFave = (elm) => { - let path = elm.getAttribute("name"); - let parts = path.split("/"); - let size = parts.length; - pathNodes = []; - - pathNodes.push(parts[0] + "/"); - for (let i = 1; i < size - 1; i++) { - pathNodes.push(parts[i] + "/"); - } - pathNodes.push(parts[size - 1]); - - getDir("./"); -} diff --git a/resources/js/filesystemActions.js b/resources/js/filesystemActions.js deleted file mode 100644 index 76e1fde..0000000 --- a/resources/js/filesystemActions.js +++ /dev/null @@ -1,132 +0,0 @@ -let binary = null; -let pathNodes = []; - -const lockFolders = () => { - const data = "lockFolders=true"; - doAjax("resources/php/lockedFolders.php", data); - getDir("./"); -} - -const getDir = (query) => { - document.getElementById("controls").style.opacity = "1"; - document.getElementById("dynUl").style.display = "grid"; - document.getElementById("video").src = "#"; - document.getElementById("video").style.display = "none"; - - let formUlPth = document.getElementById("DIRPATHUL"); - let mergeType = document.getElementById("MergeType"); - let passwd = undefined; - let data = ""; - let cookies = ""; - let dirCookie = ""; - - // push or pop to path list - if (query === "/") { - // Process path from cookie and set to array/list - dirCookie = getCookie("dirQuery"); - if (dirCookie != "" && dirCookie != "./") { - dirCookie = dirCookie.split("/"); - dirCookie.pop(); // account for ending empty slot - - let size = dirCookie.length; - for (var i = 0; i < size; i++) { - pathNodes.push(dirCookie[i] + "/"); - } - } else { - pathNodes = []; - pathNodes.push("." + query); - } - } else if (query === "../") { - // Only remove while not in root - if (pathNodes.length > 1) { - pathNodes.pop(); - } - } else if (query === "./") { - // Do nothing since re-scanning dir - } else { - pathNodes.push(query); // Add path - } - - // Create path from array of items - for (pathNode of pathNodes) { data += pathNode; } - - try { - passwd = document.getElementById("PASSWD").value; - } catch (e) { - passwd = ""; - } - - // Setup upload path for form and make a cookie for persistence during browser session.... - formUlPth.value = data; - data = "dirQuery=" + encodeURIComponent(data); - document.cookie = data + "; expires=Sun, 31 Dec 2034 12:00:00 UTC"; - data +="&mergeType=" + mergeType.checked - + "&passwd=" + passwd; - - doAjax("resources/php/getDirList.php", data); -} - -const uploadFiles = async () => { - let toUpload = document.getElementsByName("filesToUpload[]")[0]; - let path = document.getElementById("path").innerHTML; - let reader = new FileReader(); - let data = new FormData(); - let size = toUpload.files.length; - - data.append("UploadFiles", "trut"); - data.append("DIRPATHUL", path); - - // Add files - if (size > 0) { - for (let i = 0; i < size; i++) { - data.append("filesToUpload[]", toUpload.files[i]); - } - fileUploader(data); - } -} - -const createItem = (type) => { - let path = document.getElementById("path").innerHTML; - let newItem = document.getElementById("NewItem"); - let fullPth = path + newItem.value; - newItem.value = ""; - fullPth = encodeURIComponent(fullPth); - - doAjax("resources/php/filesystemActions.php", - "createItem=true&item=" + fullPth + "&type=" + type); -} - -const deleteItem = () => { - let path = document.getElementById("path").innerHTML; - // Clicked yes to delete and there is an item - if (itemObj != undefined && itemObj != null) { - let fullPth = path + itemObj; - fullPth = encodeURIComponent(fullPth); - let answer = confirm("Are you sure you want to delete: " + fullPth); - if (answer == true) { - doAjax("resources/php/filesystemActions.php", - "deleteItem=true&item=" + fullPth); - - console.log("Deleted: " + fullPth); - itemObj = null; - } - } -} - -const renameItem = (obj) => { - let path = encodeURIComponent(document.getElementById("path").innerHTML); - let oldName = encodeURIComponent(formerFileName); - let newName = encodeURIComponent(obj.value); - let formData = "renameItem=true&oldName=" + oldName + "&newName=" + newName + "&path=" + path; - - console.log("Old name: " + oldName); - console.log("New name: " + newName); - - doAjax("resources/php/filesystemActions.php", - formData); -} - -const openInLocalProg = (media) => { - doAjax("resources/php/filesystemActions.php", - "media=" + media); -} diff --git a/resources/js/jsonParser.js b/resources/js/jsonParser.js deleted file mode 100644 index 174e46f..0000000 --- a/resources/js/jsonParser.js +++ /dev/null @@ -1,167 +0,0 @@ -const insertArea = document.getElementById('dynUl'); - - -const handleJSONReturnData = (data) => { - if (data.message) { - if (data.message.type == "locked") { - createPassField(); - } else { - const text = document.createTextNode(data.message.text) - document.getElementById("serverMsgView").appendChild(text); - } - return ; - } - - if (data.list) { - updateHTMLDirList(data); - } else if (data.FAVES_LIST) { - generateFavesList(data.FAVES_LIST); - } -} - -const generateFavesList = (data) => { - let listView = document.getElementById("favesList"); - listView.innerHTML = ""; - - data.forEach(fave => { - let liTag = document.createElement("LI"); - let parts = (fave.includes("/")) ? fave.split("/") : fave.split("\\"); - let txtNode = document.createTextNode(parts[parts.length - 2]); - - liTag.setAttribute("name", fave); - liTag.setAttribute("title", fave); - liTag.setAttribute("onclick", "loadFave(this)"); - liTag.appendChild(txtNode); - listView.appendChild(liTag); - }); -} - -const updateHTMLDirList = async (data) => { - var dirTemplate = document.querySelector('#dirTemplate'); - var vidTemplate = document.querySelector('#vidTemplate'); - var imgTemplate = document.querySelector('#imgTemplate'); - var filTemplate = document.querySelector('#filTemplate'); - let dirPath = data.PATH_HEAD; - let isInFaves = data.IN_FAVE; - let dirs = (data.list.dirs) ? data.list.dirs : []; - let videos = (data.list.vids) ? data.list.vids : []; - let images = (data.list.imgs) ? data.list.imgs : []; - let files = (data.list.files) ? data.list.files : []; - let i = 0; - let size = 0; - - document.getElementById("path").innerHTML = dirPath; - insertArea.innerHTML = ""; - - // Setup background if there is a 000.* in selection - let bgImgPth = images[0] ? images[0].image : ""; - if (bgImgPth.match(/000\.(jpg|png|gif)\b/) != null) { - updateBG(dirPath + bgImgPth); - } else { - updateBG("resources/images/backgrounds/000.jpg"); - } - - // determin whether to style faves or not - let elm = document.getElementById("faves"); - if (isInFaves == "true") { - elm.style.backgroundColor = "rgb(255, 255, 255)"; - elm.style.color = "rgb(0, 0, 0)"; - } else { - elm.style.backgroundColor = ""; - elm.style.color = ""; - } - - // Insert dirs - let dirClone = document.importNode(dirTemplate.content, true); - let dirImg = "resources/images/icons/folder.png"; - let dir = null; - size = dirs.length; - for (; i < size; i++) { - dir = dirs[i].dir; - const clone = dirClone.cloneNode(true); - createElmBlock(clone, dirImg, dir); - } - - // Insert videos - let vidClone = document.importNode(vidTemplate.content, true); - let thumbnail = ""; - let title = ""; - size = videos.length; - for (i = 0; i < size; i++) { - title = videos[i].video.title; - thumbnail = videos[i].video.thumbnail; - const clone = vidClone.cloneNode(true); - createElmBlock(clone, thumbnail, title, true, dirPath); - } - - // Insert images - let imgClone = document.importNode(imgTemplate.content, true); - thumbnail = ""; - size = images.length; - for (i = 0; i < size; i++) { - thumbnail = images[i].image; - if (thumbnail.match(/000\.(jpg|png|gif)\b/) == null && - !thumbnail.includes("favicon.png")) { - const clone = imgClone.cloneNode(true); - let imgTag = clone.firstElementChild; - imgTag.src = dirPath + '/' + thumbnail; - imgTag.alt = thumbnail; - insertArea.appendChild(clone); - } - } - - // Insert files - let fileClone = document.importNode(filTemplate.content, true); - size = files.length; - for (i = 0; i < size; i++) { - const clone = fileClone.cloneNode(true); - let fileName = files[i].file; - createElmBlock(clone, setFileIconType(fileName), fileName); - } -} - -const createElmBlock = (elm, imgSrc, fileName, isVideo = null, path = null) => { - contnrTag = elm.firstElementChild; - let imgTag = null; - let inputTag = elm.querySelector("input"); - - if (isVideo) { - contnrTag.style = "background-image: url('/resources/images/thumbnails/" + imgSrc + "')"; - inputTag.className = "videoInputField"; - let fullMedia = path + fileName; - elm.querySelector("span").addEventListener("click", function (eve) { - openInLocalProg(fullMedia); - }); - } else { - imgTag = elm.querySelector("img"); - imgTag.src = imgSrc; - imgTag.alt = fileName; - } - - contnrTag.title = fileName; - inputTag.value = fileName; - inputTag.addEventListener("focusout", function (eve) { - disableEdits(eve.target); - }); - insertArea.appendChild(elm); -} - -const setFileIconType = (fileName) => { - if (fileName.match(/\.(doc|docx|xls|xlsx|rtf)\b/) != null) { - return "resources/images/icons/doc.png"; - } else if (fileName.match(/\.(7z|7zip|zip|tar.gz|tar.xz|gz|rar|jar)\b/) != null) { - return "resources/images/icons/arc.png"; - } else if (fileName.match(/\.(pdf)\b/) != null) { - return "resources/images/icons/pdf.png"; - } else if (fileName.match(/\.(html)\b/) != null) { - return "resources/images/icons/html.png"; - } else if (fileName.match(/\.(txt|conf)\b/) != null) { - return "resources/images/icons/text.png"; - } else if (fileName.match(/\.(iso|img)\b/) != null) { - return "resources/images/icons/img.png"; - } else if (fileName.match(/\.(sh|batch|exe)\b/) != null) { - return "resources/images/icons/scrip.png"; - } else { - return "resources/images/icons/bin.png"; - } -} diff --git a/resources/js/passwordFieldInsert.js b/resources/js/passwordFieldInsert.js deleted file mode 100644 index 65ed10b..0000000 --- a/resources/js/passwordFieldInsert.js +++ /dev/null @@ -1,22 +0,0 @@ -const createPassField = () => { - let passField = document.createElement("INPUT"); - let submitBttn = document.createElement("BUTTON"); - passField.id = "PASSWD"; - passField.type = "password"; - passField.placeholder = "Password..."; - submitBttn.innerHTML = "Submit"; - insertArea.innerHTML = ""; - - passField.onkeyup = (eve) => { - if (eve.key == "Enter") { - getDir("./"); - } - }; - - submitBttn.onclick = () => { - getDir("./"); - }; - - insertArea.appendChild(passField); - insertArea.appendChild(submitBttn); -} diff --git a/resources/js/uiActions.js b/resources/js/uiActions.js deleted file mode 100644 index 51c68a9..0000000 --- a/resources/js/uiActions.js +++ /dev/null @@ -1,189 +0,0 @@ -let formerFileName = ""; - -const tgglElmView = (id) => { - let elm = document.getElementById(id); - if (elm.style.display == "none") { - elm.style.display = "block"; - } else { - elm.style.display = "none"; - } -} - -const searchPage = (elm) => { - let query = elm.value.toLowerCase(); - let list = document.getElementById("dynUl").querySelectorAll("[title]"); - let size = list.length; - - for (var i = 0; i < size; i++) { - if (!list[i].title.toLowerCase().includes(query)) { - list[i].style.display = "none"; - } else { - list[i].style.display = ""; - } - } -} - -const clearSearch = () => { - let list = document.getElementById("dynUl").querySelectorAll("[title]"); - let size = list.length; - - for (var i = 0; i < size; i++) { - list[i].style.display = ""; - } -} - -const enableEdit = (obj) => { - obj.style.backgroundColor = "#ffffffff"; - obj.style.color = '#000000ff'; - obj.readOnly = ''; - formerFileName = obj.value; -} - -const disableEdits = (elm) => { - elm.style.backgroundColor = ""; - elm.style.color = ''; - elm.value = formerFileName; - elm.readOnly = "true"; -} - -const showMedia = async (mediaLoc, type) => { - let path = document.getElementById("path").innerHTML; - let tempRef = mediaLoc.toLowerCase(); - let fullMedia = path + mediaLoc; - - if (type === "video") { - setupVideo(type, fullMedia, tempRef); - } else { - createFloatingPane(type, fullMedia); - } -} - -const setupVideo = async (type, fullMedia, tempRef) => { - try { - let video = document.getElementById("video"); - video.autoplay = true; - video.poster = "resources/images/loading.gif"; - - if ((/\.(mkv|avi|flv|mov|m4v|mpg|wmv|mpeg|mp4|mp3|webm|flac|ogg|pdf)$/i).test(tempRef)) { - if ((/\.(mkv|avi|wmv)$/i).test(tempRef)) { - const params = "remuxVideo=true&mediaPth=" + fullMedia; - let response = await fetch("resources/php/filesystemActions.php", - {method: "POST", body: new URLSearchParams(params)}); - let xml = new window.DOMParser().parseFromString(await response.text(), "text/xml"); - - if (xml.getElementsByTagName("REMUX_PATH")[0]) { - fullMedia = xml.getElementsByTagName("REMUX_PATH")[0].innerHTML; - } else { - return ; - } - } else if ((/\.(avi|flv|mov|m4v|mpg|wmv)$/i).test(tempRef)) { - openInLocalProg(fullMedia); - return ; - } - } - - // This is questionable in usage since it loads the full video - // before showing; but, seeking doesn't work otherwise... - let response = await fetch(fullMedia, {method: "GET"}); - var vidSrc = URL.createObjectURL(await response.blob()); // IE10+ - video.src = vidSrc; - - document.getElementById("controls").style.opacity = "0"; - document.getElementById("video").style.display = "block"; - document.getElementById("dynUl").style.display = "none"; - } catch (e) { - document.getElementById("controls").style.opacity = "1"; - document.getElementById("dynUl").style.display = "grid"; - document.getElementById("video").src = "#"; - document.getElementById("video").style.display = "none"; - console.log(e); - } -} - - -const createFloatingPane = (type, fullMedia) => { - let iframe = document.createElement("IFRAME"); - let outterDiv = document.createElement("DIV"); - let popOutDiv = document.createElement("DIV"); - let closeDiv = document.createElement("DIV"); - let toLocDiv = document.createElement("DIV"); - let imgDiv = document.createElement("DIV"); - let aTag = document.createElement("A"); - let imgTag = document.createElement("IMG"); - let closeText = document.createTextNode("X"); - - closeDiv.className = "closeBttn"; - closeDiv.title = "Close"; - closeDiv.setAttribute("onclick", "closeContainer(this)"); - closeDiv.appendChild(closeText); - - aTag.title = "New Tab"; - aTag.target = "_blank"; - aTag.href = fullMedia; - - popOutDiv.className = "popOutBttn"; - popOutDiv.innerHTML = "↗"; - aTag.appendChild(popOutDiv); - - toLocDiv.title = "Open In Local Program"; - toLocDiv.className = "popOutBttn"; - toLocDiv.innerHTML = "∽"; - toLocDiv.setAttribute("onclick", "openInLocalProg('" + fullMedia + "')"); - - imgDiv.id = "imgArea"; - imgTag.className = "imgViewImg"; - imgTag.src = fullMedia; - imgDiv.appendChild(imgTag); - - iframe.id = "fileViewInner"; - iframe.src = fullMedia; - - outterDiv.appendChild(closeDiv); - outterDiv.appendChild(aTag); - outterDiv.appendChild(toLocDiv); - - if (type === "image") { - outterDiv.id = "imgView"; - outterDiv.appendChild(imgDiv); - } else { - outterDiv.id = "fileView"; - outterDiv.appendChild(iframe); - } - - document.body.appendChild(outterDiv); - dragContainer(outterDiv); // Set for dragging events -} - -const closeContainer = (elm) => { - elm.parentElement.parentElement.removeChild(elm.parentElement); -} - -const clearDirCookie = () => { - let expireDate = "Thu, 01 Jan 1970 00:00:00 UTC"; - document.cookie = "dirQuery=; expires=" + expireDate; - getDir("/"); -} - -const downloadItem = () => { - let partialPath = document.getElementById("path").innerHTML; - let brTag = document.createElement("BR"); - let aTag = document.createElement("A"); - let text = document.createTextNode(itemObj); - let fullPath = partialPath + itemObj; - aTag.setAttribute("href", fullPath); - aTag.setAttribute("target", "_blank"); - aTag.setAttribute("id", itemObj); - aTag.append(text); - - document.getElementById("serverMsgView").append(aTag, brTag); - aTag.click(); -} - -const clearDlList = () => { document.getElementById("CLEARBTTN").click(); } -const onloadSetBG = () => { updateBG("resources/images/backgrounds/000.jpg"); } - -const updateBG = (bgImg) => { - try { - document.getElementById("bg").src = bgImg; - } catch (e) { } -} diff --git a/resources/js/uiEvents.js b/resources/js/uiEvents.js deleted file mode 100644 index 4f36361..0000000 --- a/resources/js/uiEvents.js +++ /dev/null @@ -1,155 +0,0 @@ -let itemObj = undefined; -let interval = undefined; -let cursorX; -let cursorY; - -document.getElementById("controls").onmouseover = (eve) => { - let source = document.getElementById("video").src; - let target = eve.target - - if (interval) - clearInterval(interval); - - if (source !== "#") { - eve.target.style.opacity = "1"; - document.getElementById("dynUl").style.display = "grid"; - } -} - -document.getElementById("video").onmouseover = (eve) => { - interval = setInterval(function () { - elementMouseIsOver = document.elementFromPoint(cursorX, cursorY); - if (elementMouseIsOver.tagName == "BODY" || - elementMouseIsOver.id == "video") { - let controls = document.getElementById("controls"); - controls.style.opacity = "0"; - document.getElementById("dynUl").style.display = "none"; - clearInterval(interval); - } - }, 2500); -} - -// For context menu to have element -document.onclick = (event) => { - let obj = event.target; - let callingID = obj.id; - let classNM = obj.className; - - // right-click detect - if (event.which == 3) { - if (callingID == "imageID") { - setSelectedItem(obj.alt); - } else if (callingID == "dirID" || callingID == "fileID" || - callingID == "movieID") { - let node = obj.parentNode; - setSelectedItem(node.children[1].value); - } else if (classNM == "fileStyle" || classNM == "dirStyle" || - classNM == "movieStyle") { - setSelectedItem(obj.children[1].value); - } - } -} -// Actions for content -document.ondblclick = (event) => { - let obj = event.target; - let callingID = obj.id; - let classNM = obj.className; - - // Left click detect - if (event.which == 1) { - // If clicking on container - if (classNM === "fileStyle" || classNM === "movieStyle" || - classNM === "dirStyle") { - if (classNM === "dirStyle") { - getDir(obj.children[1].value); - } else if (classNM === "movieStyle") { - showMedia(obj.title, "video"); - } else { - showMedia(obj.children[1].value, "file"); - } - } else if (callingID === "dirID") { // If clicking on dir icon - let node = obj.parentNode; - getDir(node.children[1].value); - } else if (callingID === "movieID") { // If clicking on movie thumbnail - let node = obj.parentNode; - showMedia(node.children[1].value, "video"); - } else if (callingID === "imageID") { // If clicking on image - showMedia(obj.alt, "image"); - } else if (callingID === "titleID") { // If clicking on text title - enableEdit(obj); - } - } -} - -// Mainly for rename event -document.onkeydown = (event) => { - let obj = event.target; - let callingID = event.target.id; - let keyCodeVal = event.keyCode; - - // If keycode == Enter - if (keyCodeVal == 13) { - if (callingID == "titleID") { - renameItem(obj); - } - } -} - -const setSelectedItem = (item) => { itemObj = item; } - -// Drage event for the poped out image and media container -const dragContainer = (elmnt) => { - let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; - elmnt.onmousedown = dragMouseDown; - - function dragMouseDown(e) { - e = e || window.event; - pauseEvent(e); - // get the mouse cursor position at startup: - pos3 = e.clientX; - pos4 = e.clientY; - document.onmouseup = closeDragElement; - // call a function whenever the cursor moves: - document.onmousemove = elementDrag; - } - - function elementDrag(e) { - e = e || window.event; - pauseEvent(e); - // calculate the new cursor position: - pos1 = pos3 - e.clientX; - pos2 = pos4 - e.clientY; - pos3 = e.clientX; - pos4 = e.clientY; - // set the element's new position: - elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; - elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; - } - - function closeDragElement(e) { - // stop moving when mouse button is released: - document.onmouseup = null; - document.onmousemove = null; - } - - function pauseEvent(e) { - if(e.stopPropagation) e.stopPropagation(); - if(e.preventDefault) e.preventDefault(); - - e.cancelBubble=true; - e.returnValue=false; - return false; - } -} - - -// Mouse position detection for control show/hide setup -document.onmousemove = function(e){ - cursorX = e.pageX; - cursorY = e.pageY; -} - -setInterval(checkCursor, 2000); -function checkCursor() { - return ""; -} diff --git a/resources/php/config.php b/resources/php/config.php deleted file mode 100644 index a4120bd..0000000 --- a/resources/php/config.php +++ /dev/null @@ -1,15 +0,0 @@ - diff --git a/resources/php/connection.php b/resources/php/connection.php deleted file mode 100644 index cb6fcba..0000000 --- a/resources/php/connection.php +++ /dev/null @@ -1,10 +0,0 @@ - Database connection failed!"; - serverMessage("error", $message); -} -?> diff --git a/resources/php/dbController.php b/resources/php/dbController.php deleted file mode 100644 index a283381..0000000 --- a/resources/php/dbController.php +++ /dev/null @@ -1,56 +0,0 @@ -query('Select * FROM faves'); - $GeneratedJSON = array('FAVES_LIST' => array()); - while ($row = $res->fetchArray(SQLITE3_ASSOC)) { - $GeneratedJSON['FAVES_LIST'][] = $row['link']; - } - - echo json_encode($GeneratedJSON); -} - -function manageLink($ACTION, $PATH) { - GLOBAL $db; - $ACTION_TYPE = ""; - - // If action isn't true then we add else we delete or exit. - if ($ACTION == "false") { - $stmt = $db->prepare('INSERT INTO faves VALUES(:link)'); - $ACTION_TYPE = "added to"; - } elseif ($ACTION == "true") { - $stmt = $db->prepare('DELETE FROM faves WHERE link = :link'); - $ACTION_TYPE = "deleted from"; - } else { - $message = "Server: [Error] --> Action for adding or deleting isn't set properly!"; - serverMessage("error", $message); - return; - } - - $stmt->bindValue(":link", $PATH, SQLITE3_TEXT); - $stmt->execute(); - $stmt->close(); - - $message = "Server: [Success] --> Fave link: " . - $PATH . " " . $ACTION_TYPE . " the database!"; - serverMessage("success", $message); -} - - -// Determin action -chdir("../../"); -if (isset($_POST['getTabs'])) { - getTabLinks(); -} elseif (isset($_POST['deleteLink'], - $_POST['linkPath'])) { - manageLink($_POST['deleteLink'], $_POST['linkPath']); -} else { - $message = "Server: [Error] --> Illegal Access Method!"; - serverMessage("error", $message); -} - -?> diff --git a/resources/php/filesystemActions.php b/resources/php/filesystemActions.php deleted file mode 100644 index fcc4cc4..0000000 --- a/resources/php/filesystemActions.php +++ /dev/null @@ -1,199 +0,0 @@ - Failed to create folder or file!"; - serverMessage("error", $message); - return; - } - - $message = "Server: [Success] --> The file " . $FILE . " has been created."; - serverMessage("success", $message); - $_SESSION["refreshState"] = "updateListing"; -} - -// File or folder delition -function deleteItem($FILE) { - if (filetype($FILE) == "dir"){ - //GLOB_MARK adds a slash to directories returned - $files = glob($FILE . '*', GLOB_MARK); - foreach ($files as $file) { - deleteItem($file); - } - rmdir($FILE); - } else if (filetype($FILE) == "file") { - unlink($FILE); - } else { - $message = "Server: [Error] --> Failed to delete item! Not a folder or file!"; - serverMessage("error", $message); - return; - } - - $message = "Server: [Success] --> The file(s) has/have been deleted."; - serverMessage("success", $message); - $_SESSION["refreshState"] = "updateListing"; -} - -// Rename file or folder -function renameItem($OLDFILE, $NEWNAME, $PATH) { - rename($PATH . $OLDFILE, $PATH . $NEWNAME); - $message = "Server: [Success] --> The file " . $OLDFILE . " has been renamed to " . $NEWNAME . " side."; - serverMessage("success", $message); - $_SESSION["refreshState"] = "updateListing"; -} - -// Uploader -function uploadFiles($targetDir) { - $numberOfFiles = count($_FILES['filesToUpload']['name']); - - if ($numberOfFiles === 0) { - $message = "Server: [Error] --> No files were uploaded!"; - serverMessage("error", $message); - return; - } - - $type = ""; - $message = ""; - for ($i=0; $i < $numberOfFiles; $i++) { - $uploadOk = 1; - $fileName = $_FILES['filesToUpload']['name'][$i]; - $fileTmpName = $_FILES['filesToUpload']['tmp_name'][$i]; - - // Check if file already exists - $targetFile = $targetDir . $fileName; - if (file_exists($targetFile)) { - if (filetype($targetFile) == "file") { - unlink($targetFile); - $message = "Server: [Warning] --> This file already exists. Overwriting it."; - } else { - $message = "Server: [Warning] --> This file might be a directory. Or, no files were submitted for uploading."; - $uploadOk = 0; - } - } - - // Check file size - $fileSize = $_FILES['filesToUpload']['size'][$i]; - if ($fileSize > 500000000000) { - $message = "Server: [Warning] --> This file is too large."; - $uploadOk = 0; - } - - // Allow certain file formats - // $ext = pathinfo($targetFile,PATHINFO_EXTENSION); - // if(!preg_match('/^.*\.(rar|iso|img|tar|zip|7z|7zip|jpg|jpeg|png|gif|mpeg|mov|flv|avi|mp4|webm|mpg|mkv|m4a|mp3|ogg|docx|doc|odt|txt|pdf|)$/i', strtolower($ext))) { - // $message = "Server: [Warning] --> This file type is not allowed."; - // $uploadOk = 0; - // } - - // if everything is ok, try to upload file - if ($uploadOk !== 0) { - if (move_uploaded_file($fileTmpName, $targetFile)) { - $type = "success"; - $message = "Server: [Success] --> The file " . $fileName . " has been uploaded."; - $_SESSION["refreshState"] = "updateListing"; - } - } else { - $type = "error"; - $message .= "\nServer: [Error] --> Your file " . $fileName . " was not uploaded."; - } - } - - serverMessage($type, $message); -} - -// Local program file access -function openFile($FILE) { - include 'config.php'; - $EXTNSN = strtolower(pathinfo($FILE, PATHINFO_EXTENSION)); - - if (preg_match('(mkv|avi|flv|mov|m4v|mpg|wmv|mpeg|mp4|webm)', $EXTNSN) === 1) { - shell_exec($MEDIAPLAYER . "\"" . $FILE . "\" > /dev/null &"); - } else if (preg_match('(png|jpg|jpeg|gif)', $EXTNSN) === 1) { - shell_exec($IMGVIEWER . ' "' . $FILE . '" > /dev/null &'); - } else if (preg_match('(psf|mp3|ogg|flac)', $EXTNSN) === 1) { - shell_exec($MUSICPLAYER . ' "' . $FILE . '" > /dev/null &'); - } else if (preg_match('(odt|doc|docx|rtf)', $EXTNSN) === 1) { - shell_exec($OFFICEPROG . ' "' . $FILE . '" > /dev/null &'); - } else if (preg_match('(txt)', $EXTNSN) === 1) { - shell_exec($TEXTVIEWER . ' "' . $FILE . '" > /dev/null &'); - } else if (preg_match('(pdf)', $EXTNSN) === 1) { - shell_exec($PDFVIEWER . ' "' . $FILE . '" > /dev/null &'); - } - - $message = "Server: [Success] --> The file " . $FILE . " has been opened server side."; - serverMessage("success", $message); -} - -function remuxVideo($FILE) { - $FILE = trim($FILE); - $PTH = "resources/tmp/"; - $HASHED_NAME = hash('sha256', $FILE) . '.mp4'; - $EXTNSN = strtolower(pathinfo($FILE, PATHINFO_EXTENSION)); - - - if (!file_exists($PTH . $HASHED_NAME)) { - $io = popen('/usr/bin/du -sm ' . $PTH, 'r'); - $size = fgets($io, 4096); - $size = (int) substr($size, 0, strpos ( $size, "\t" )); - pclose ($io); - - include 'config.php'; - if ($size > $TMPFOLDERSIZE) { - $files = glob($PTH . '*'); - foreach($files as $file){ - if(is_file($file)) - unlink($file); - } - } - - if (preg_match('(mkv)', $EXTNSN) === 1) - $COMMAND = 'ffmpeg -i "' . $FILE . '" -hide_banner -movflags +faststart -codec copy -strict -2 ' . $PTH . $HASHED_NAME; - if (preg_match('(avi)', $EXTNSN) === 1) - $COMMAND = 'ffmpeg -i "' . $FILE . '" -hide_banner -movflags +faststart -c:v libx264 -crf 21 -c:a aac -b:a 192k -ac 2 ' . $PTH . $HASHED_NAME; - if (preg_match('(wmv)', $EXTNSN) === 1) - $COMMAND = 'ffmpeg -i "' . $FILE . '" -hide_banner -movflags +faststart -c:v libx264 -crf 23 -c:a aac -strict -2 -q:a 100 ' . $PTH . $HASHED_NAME; - - shell_exec($COMMAND . " 2> resources/vdata.txt"); - } - - $GeneratedXML = ""; - $GeneratedXML .= "" . $PTH . $HASHED_NAME .""; - echo $GeneratedXML; -} - - -chdir("../../"); -if (isset($_POST["remuxVideo"], $_POST["mediaPth"])) { - remuxVideo($_POST["mediaPth"]); -} else if (isset($_POST["createItem"], - $_POST["item"], - $_POST["type"])) { - createItem($_POST["item"], $_POST["type"]); -} else if (isset($_POST["deleteItem"], $_POST["item"])) { - deleteItem($_POST["item"]); -} else if (isset($_POST["renameItem"], - $_POST["oldName"], - $_POST["newName"], - $_POST["path"])) { - renameItem($_POST["oldName"], $_POST["newName"], $_POST["path"]); -} else if(isset($_POST["UploadFiles"], $_POST["DIRPATHUL"])) { - uploadFiles($_POST["DIRPATHUL"]); -} else if (isset($_POST["media"])) { - openFile($_POST["media"]); -} else { - $message = "Server: [Error] --> Incorrect access attempt!"; - serverMessage("error", $message); -} - -?> diff --git a/resources/php/getDirList.php b/resources/php/getDirList.php deleted file mode 100644 index d4a992d..0000000 --- a/resources/php/getDirList.php +++ /dev/null @@ -1,108 +0,0 @@ - $NEWPATH, - 'IN_FAVE' => isInDBCheck($NEWPATH), - 'list' => array() - ); - - listDir($GeneratedJSON, $NEWPATH, $MERGESEASSONS, $subPath); - echo json_encode($GeneratedJSON); - } else { - $message = "Server: [Error] --> Folder is locked."; - serverMessage("locked", $message); - } - } -} - -function listDir(&$GeneratedJSON, &$NEWPATH, &$MERGESEASSONS, &$subPath) { - if ($MERGESEASSONS !== "true") { - $files = array_diff(scandir($NEWPATH), array('..', '.', 'resources')); - foreach ($files as $fileName) { - $fullPath = $NEWPATH . '/' . $fileName; - // error_log($fullPath, 4); - processItem($GeneratedJSON, $fullPath, $fileName, $subPath); - } - } else { - $files = array_diff(scandir($NEWPATH), array('..', '.', 'resources')); - foreach ($files as $fileName) { - $fullPath = $NEWPATH . $fileName; - // error_log($fullPath, 4); - if (filetype($fullPath) == "dir" && strpos(strtolower($fileName), - 'season') !== false) { - $fileName .= "/"; - listDir($GeneratedJSON, $fullPath, $MERGESEASSONS, $fileName); - } else { - processItem($GeneratedJSON, $fullPath, $fileName, $subPath); - } - } - } -} - -// Assign JSON Markup based on file type -function processItem(&$GeneratedJSON, &$fullPath, &$fileName, $subPath) { - if (preg_match('/^.*\.(mkv|avi|flv|mov|m4v|mpg|wmv|mpeg|mp4|webm)$/i', strtolower($fileName))) { - $NAMEHASH = hash('sha256', $fileName); - if (!file_exists('resources/images/thumbnails/' . $NAMEHASH . '.jpg')) { - shell_exec('resources/ffmpegthumbnailer -t 65% -s 320 -c jpg ' - . '-i "' . $subPath . $fullPath . '" ' - . '-o resources/images/thumbnails/' . $NAMEHASH . '.jpg' - ); - } - - $GeneratedJSON['list']['vids'][] = array('video' => - array('title' => $subPath . $fileName, - 'thumbnail' => $NAMEHASH . '.jpg' - ) - ); - } elseif (preg_match('/^.*\.(png|jpg|gif|jpeg)$/i', strtolower($fileName))) { - $GeneratedJSON['list']['imgs'][] = array('image' => $subPath . $fileName); - } elseif (filetype($fullPath) == "dir") { - $GeneratedJSON['list']['dirs'][] = array('dir' => $fileName . "/"); - } else { - $GeneratedJSON['list']['files'][] = array('file' => $subPath . $fileName); - } -} - -function isInDBCheck($PATH) { - $db = new SQLite3('resources/db/webfm.db'); - - if($db === false){ - $message = "Server: [Error] --> Database connection failed!"; - serverMessage("error", $message); - die("ERROR: Could not connect to db."); - } - - $stmt = $db->prepare('SELECT 1 FROM faves WHERE link = :link'); - $stmt->bindValue(":link", $PATH, SQLITE3_TEXT); - $result = $stmt->execute() ; - $row = $result->fetchArray() ; - - if ($row > 0) { - return "true"; - } else { - return "false"; - } -} - - -// Determin action -chdir("../../"); -if (isset($_POST['dirQuery'])) { - startListing(trim($_POST['dirQuery']), $_POST['mergeType'], $_POST['passwd']); -} else { - $message = "Server: [Error] --> Illegal Access Method!"; - serverMessage("error", $message); -} - -?> diff --git a/resources/php/lockedFolders.php b/resources/php/lockedFolders.php deleted file mode 100644 index e0c044a..0000000 --- a/resources/php/lockedFolders.php +++ /dev/null @@ -1,46 +0,0 @@ - Folders unlocked!"; - serverMessage("success", $message); - } else { - $message = "Server: [Warning] --> Folders aren't unlocked!" - . "\n" . $_SESSION["unlockState"]; - serverMessage("warning", $message); - } - } - - -if (isset($_POST['lockFolders'])) { - lockFolders(); -} - -?> diff --git a/resources/php/serverMessenger.php b/resources/php/serverMessenger.php deleted file mode 100644 index 27e43cc..0000000 --- a/resources/php/serverMessenger.php +++ /dev/null @@ -1,12 +0,0 @@ - - array( - 'type' => $TYPE, - 'text' => $MESSAGE - ) - ); - - echo json_encode($GeneratedJSON); -} -?> diff --git a/resources/php/sse.php b/resources/php/sse.php deleted file mode 100644 index 4d8867d..0000000 --- a/resources/php/sse.php +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/resources/tmp/PLACE_HOLDERtxt b/resources/tmp/PLACE_HOLDERtxt deleted file mode 100644 index 4e201b1..0000000 --- a/resources/tmp/PLACE_HOLDERtxt +++ /dev/null @@ -1 +0,0 @@ -Place Holder.... diff --git a/socket_run.sh b/socket_run.sh new file mode 100755 index 0000000..9088654 --- /dev/null +++ b/socket_run.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# set -o xtrace ## To debug scripts +# set -o errexit ## To exit on error +# set -o errunset ## To exit if a variable is referenced but not set + + +function main() { + SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )" + cd "${SCRIPTPATH}" + echo "Working Dir: " $(pwd) + mkdir /tmp/apps + ./venv/bin/gunicorn \ + --bind unix:/tmp/apps/webfm.sock wsgi:app + +} +main $@; diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..3d32181 --- /dev/null +++ b/start.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# set -o xtrace ## To debug scripts +# set -o errexit ## To exit on error +# set -o errunset ## To exit if a variable is referenced but not set + + +function main() { + SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )" + cd "${SCRIPTPATH}" + echo "Working Dir: " $(pwd) + source "./venv/bin/activate" + gunicorn wsgi:app -b 0.0.0.0:8080 # : IE : +} +main $@; diff --git a/webfm/__init__.py b/webfm/__init__.py new file mode 100644 index 0000000..2abba50 --- /dev/null +++ b/webfm/__init__.py @@ -0,0 +1,45 @@ +# system import +import os, json, secrets +from datetime import timedelta + +# Flask imports +from flask import Flask, Blueprint +from flask_login import current_user, login_user, logout_user, LoginManager +from flask_bcrypt import Bcrypt + + + +# Configs and 'init' +app = Flask(__name__) +app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///static/db/webfm.db" +app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False +app.config['TITLE'] = 'WebFM' + +# For csrf and some other stuff... +app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days = 7) +app.config['SECRET_KEY'] = secrets.token_hex(32) +login_manager = LoginManager(app) +bcrypt = Bcrypt(app) + +# Settings data +THIS_FILE_PTH = os.path.dirname(os.path.realpath(__file__)) +CONFIG_FILE = THIS_FILE_PTH + "/config.json" +def retrieveSettings(): + returnData = [] + + with open(CONFIG_FILE) as infile: + try: + return json.load(infile) + except Exception as e: + print(repr(e)) + returnData = ['', 'mplayer', 'xdg-open'] + +config = retrieveSettings() + + +from .forms import LoginForm, RegisterForm +from .models import db, Favorites, Settings, User +from webfm import routes + +with app.app_context(): + db.create_all() diff --git a/webfm/config.json b/webfm/config.json new file mode 100644 index 0000000..298fcc9 --- /dev/null +++ b/webfm/config.json @@ -0,0 +1,17 @@ +{ + "settings" : { + "media_app": "mpv", + "mplayer_options": "-quiet -really-quiet -xy 1600 -geometry 50%:50%", + "music_app": "/opt/deadbeef/bin/deadbeef", + "image_app": "mirage", + "office_app": "libreoffice", + "pdf_app": "evince", + "text_app": "leafpad", + "file_manager_app": "spacefm", + "locked_folder_password": "toor", + "do_refresh": "no", + "remux_folder_max_disk_usage": "8589934592", + "locked_folders": "venv::::flasks", + "folders_locked": "true" + } +} diff --git a/webfm/forms.py b/webfm/forms.py new file mode 100644 index 0000000..19161e8 --- /dev/null +++ b/webfm/forms.py @@ -0,0 +1,25 @@ + +from flask_wtf import FlaskForm +from wtforms import StringField, PasswordField, SubmitField +from wtforms.validators import DataRequired, Length, Email, EqualTo, ValidationError +from .models import User + + + +class RegisterForm(FlaskForm): + username = StringField('Username', validators=[DataRequired(), Length(min=4, max=24)]) + password = PasswordField('Password', validators=[DataRequired(), Length(min=8)]) + confirm_password = PasswordField('Confirm Password', + validators=[DataRequired(), EqualTo('password', message="Passwords must match!")]) + submit = SubmitField("Sign Up") + + def validate_username(self, username): + user = User.query.filter_by(username=username.data).first() + if user: + raise ValidationError("User exists already! Please use a different name!") + + +class LoginForm(FlaskForm): + username = StringField('Username', validators=[DataRequired(), Length(min=4, max=24)]) + password = PasswordField('Password', validators=[DataRequired(), Length(min=8, max=32)]) + submit = SubmitField("Login") diff --git a/webfm/models.py b/webfm/models.py new file mode 100644 index 0000000..d1a9f33 --- /dev/null +++ b/webfm/models.py @@ -0,0 +1,40 @@ +# System imports + +# Lib imports +from flask_login.mixins import UserMixin +from flask_sqlalchemy import SQLAlchemy + +# App imports +from . import app, login_manager + + +db = SQLAlchemy(app) + +@login_manager.user_loader +def load_user(user_id): + return User.query.get(int(user_id)) + + +class Favorites(db.Model): + link = db.Column(db.String, nullable=False, unique=True) + id = db.Column(db.Integer, nullable=False, primary_key=True, unique=True, autoincrement=True) + + def __repr__(self): + return f"['{self.link}', '{self.id}']" + +class Settings(db.Model, UserMixin): + key = db.Column(db.String, nullable=False) + value = db.Column(db.String, nullable=False) + id = db.Column(db.Integer, nullable=False, primary_key=True, unique=True, autoincrement=True) + + def __repr__(self): + return f"['{self.key}', '{self.value}', '{self.id}']" + + +class User(db.Model, UserMixin): + username = db.Column(db.String, unique=True, nullable=False) + password = db.Column(db.String, nullable=False) + id = db.Column(db.Integer, primary_key=True, unique=True, autoincrement=True) + + def __repr__(self): + return f"['{self.username}', '{self.email}', '{self.password}', '{self.id}']" diff --git a/webfm/routes/Routes.py b/webfm/routes/Routes.py new file mode 100644 index 0000000..0c0a8d9 --- /dev/null +++ b/webfm/routes/Routes.py @@ -0,0 +1,172 @@ +# Python imports +import os, hashlib, json + +# Lib imports +from flask import request, render_template, send_from_directory, redirect, url_for, session +from flask_login import current_user + +# App imports +from .. import app, db, config, utils, Favorites, Settings + + +msgHandler = utils.MessageHandler() +file_manager = utils.FileManager(db, Settings) +logging = utils.Logger().get_logger("Routes") + +THIS_FILE_PTH = os.path.dirname(os.path.realpath(__file__)) + + +@app.route('/', methods=['GET', 'POST']) +@app.route('/', methods=['GET', 'POST'], subdomain='webfm') +def home(): + _dHash = file_manager.getDotHash() + _ddHash = file_manager.getDotDotHash() + + return render_template('index.html', title='WebFM', + dHash=_dHash, ddHash=_ddHash) + + +@app.route('/list-files', methods=['GET', 'POST']) +@app.route('/list-files', methods=['GET', 'POST'], subdomain='webfm') +def listFilesRoute(): + if request.method == 'POST': + HASH = str(request.values['hash']).strip() + pathPart = file_manager.returnPathPartFromHash(HASH) + lockedFolders = config["settings"]["locked_folders"].split("::::") + path = file_manager.getPath().split('/') + lockedFolderInPath = False + + # Insure chilren folders are locked too. + for folder in lockedFolders: + if folder in path: + lockedFolderInPath = True + break + + if (pathPart in lockedFolders or lockedFolderInPath) and not current_user.is_authenticated: + return redirect("/login") + + return listFiles(HASH) + else: + msg = "Can't manage the request type..." + return msgHandler.createMessageJSON("danger", msg) + +@app.route('/favorites', methods=['GET', 'POST']) +@app.route('/favorites', methods=['GET', 'POST'], subdomain='webfm') +def getAllFavoritesRoute(): + if request.method == 'POST': + list = db.session.query(Favorites).all() + faves = [] + + for fave in list: + faves.append([fave.link, fave.id]) + + return '{"faves_list":' + json.dumps(faves) + '}' + else: + msg = "Can't manage the request type..." + return msgHandler.createMessageJSON("danger", msg) + +@app.route('/load-favorite', methods=['GET', 'POST']) +@app.route('/load-favorite', methods=['GET', 'POST'], subdomain='webfm') +def loadFavorite(): + if request.method == 'POST': + ID = str(request.values['id']).strip() + try: + ID = int(ID) + fave = db.session.query(Favorites).filter_by(id=ID).first() + file_manager.setNewPathFromFavorites(fave.link) + file_manager.loadPreviousPath() + + return '{"refresh":"true"}' + except Exception as e: + print(repr(e)) + msg = "Incorrect Favorites ID..." + return msgHandler.createMessageJSON("danger", msg) + else: + msg = "Can't manage the request type..." + return msgHandler.createMessageJSON("danger", msg) + +@app.route('/manage-favorites', methods=['GET', 'POST']) +@app.route('/manage-favorites', methods=['GET', 'POST'], subdomain='webfm') +def manageFavoritesRoute(): + if request.method == 'POST': + ACTION = str(request.values['action']).strip() + PATH = str(request.values['path']).strip() + + if ACTION == "add": + fave = Favorites(link=PATH) + db.session.add(fave) + msg = "Added to Favorites successfully..." + else: + fave = db.session.query(Favorites).filter_by(link=PATH).first() + db.session.delete(fave) + msg = "Deleted from Favorites successfully..." + + db.session.commit() + + return msgHandler.createMessageJSON("success", msg) + else: + msg = "Can't manage the request type..." + return msgHandler.createMessageJSON("danger", msg) + + +@app.route('/reset-path', methods=['GET', 'POST']) +@app.route('/reset-path', methods=['GET', 'POST'], subdomain='webfm') +def resetPath(): + if request.method == 'GET': + file_manager.reset_path() + return redirect("/") + + +# Used to get files from non gunicorn root path... +# Allows us to pull images and stuff to user without simlinking. +@app.route('/files/') +def returnFile(hash): + path = file_manager.getFullPath() + pathPart = file_manager.returnPathPartFromHash(hash) + return send_from_directory(path, pathPart) + +@app.route('/remux/') +def remuxRoute(hash): + folder = file_manager.getFullPath() + file = file_manager.returnPathPartFromHash(hash) + fpath = os.path.join(folder, file) + + logging.debug(fpath) + + return file_manager.remuxVideo(hash, fpath) + +@app.route('/run-locally/') +def runLocallyRoute(hash): + path = file_manager.getFullPath() + pathPart = file_manager.returnPathPartFromHash(hash) + fullpath = path + "/" + pathPart + + logging.debug(fullpath) + + file_manager.openFilelocally(fullpath) + msg = "Opened media..." + return msgHandler.createMessageJSON("success", msg) + + + +def listFiles(HASH): + state = file_manager.generateLists(HASH) + if "error" in state: + msg = "Listing files failed..." + return msgHandler.createMessageJSON("danger", msg) + + path = file_manager.getPath() + fave = db.session.query(Favorites).filter_by(link=path).first() + in_fave = "true" if fave else "false" + + dirs = json.dumps( file_manager.getDirs() ) + vids = json.dumps( file_manager.getVids() ) + imgs = json.dumps( file_manager.getImgs() ) + files = json.dumps( file_manager.getFiles() ) + + return '{"path_head":"' + path + '"' + \ + ',"in_fave":"' + in_fave + '"' + \ + ',"list":{"dirs":' + dirs + \ + ', "vids":' + vids + \ + ', "imgs":' + imgs + \ + ', "files":' + files + '}}' diff --git a/webfm/routes/__init__.py b/webfm/routes/__init__.py new file mode 100644 index 0000000..57043cb --- /dev/null +++ b/webfm/routes/__init__.py @@ -0,0 +1,2 @@ +from . import Routes +from .pages import Login, Register diff --git a/webfm/routes/pages/Login.py b/webfm/routes/pages/Login.py new file mode 100644 index 0000000..2ae699d --- /dev/null +++ b/webfm/routes/pages/Login.py @@ -0,0 +1,38 @@ +# Python imports + +# Lib imports +from flask import request, render_template, flash, redirect, url_for +from flask_login import current_user, login_user, logout_user + +# App imports +from ... import app, bcrypt, db, User, LoginForm +from ...utils import MessageHandler # Get simple message processor + + +msgHandler = MessageHandler() +TITLE = app.config['TITLE'] + +@app.route('/login', methods=['GET', 'POST']) +def login(): + if current_user.is_authenticated: + return redirect(url_for("home")) + + _form = LoginForm() + if _form.validate_on_submit(): + user = db.session.query(User).filter(User.username == _form.username.data).first() + + if user and bcrypt.check_password_hash(user.password, _form.password.data): + login_user(user, remember=False) + flash("Logged in successfully!", "success") + return redirect("/") + + flash("Username or password incorrect! Please try again...", "danger") + + return render_template('login.html', title=TITLE, form=_form) + + +@app.route('/logout', methods=['GET', 'POST']) +def logout(): + logout_user() + flash("Logged out successfully!", "success") + return redirect("/login") diff --git a/webfm/routes/pages/Register.py b/webfm/routes/pages/Register.py new file mode 100644 index 0000000..a7e90d7 --- /dev/null +++ b/webfm/routes/pages/Register.py @@ -0,0 +1,31 @@ +# Python imports + +# Lib imports +from flask import request, render_template, url_for, redirect, flash + +# App imports +from ... import app, bcrypt, db, current_user, RegisterForm # Get from __init__ +from ...models import User +from ...utils import MessageHandler # Get simple message processor + + +msgHandler = MessageHandler() +TITLE = app.config['TITLE'] + +@app.route('/register', methods=['GET', 'POST']) +def register(): + if current_user.is_authenticated: + return redirect("/home") + + _form = RegisterForm() + if _form.validate_on_submit(): + hashed_password = bcrypt.generate_password_hash(_form.password.data).decode("utf-8") + user = User(username=_form.username.data, password=hashed_password) + db.session.add(user) + db.session.commit() + flash("Account created successfully!", "success") + return redirect("/login") + + return render_template('register.html', + title=TITLE, + form=_form) diff --git a/webfm/static/css/base.css b/webfm/static/css/base.css new file mode 100644 index 0000000..848b16a --- /dev/null +++ b/webfm/static/css/base.css @@ -0,0 +1,19 @@ +body { + overflow: hidden; /* Used to prevent touch scroll down reloading page. Ref: https://stackoverflow.com/questions/29008194/disabling-androids-chrome-pull-down-to-refresh-feature */ + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently + supported by Chrome, Opera and Firefox */ +} + +ol, ul, li { + list-style: none; +} + +/* Pass click through text; for now... */ +li > input { + pointer-events:none; +} diff --git a/webfm/static/css/bootstrap/bootstrap-datepicker.css b/webfm/static/css/bootstrap/bootstrap-datepicker.css new file mode 100644 index 0000000..a6c8899 --- /dev/null +++ b/webfm/static/css/bootstrap/bootstrap-datepicker.css @@ -0,0 +1,471 @@ +/*! + * Datepicker for Bootstrap v1.6.4 (https://github.com/eternicode/bootstrap-datepicker) + * + * Copyright 2012 Stefan Petre + * Improvements by Andrew Rowls + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */ +.datepicker { + padding: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + direction: ltr; +} +.datepicker-inline { + width: 220px; +} +.datepicker.datepicker-rtl { + direction: rtl; +} +.datepicker.datepicker-rtl table tr td span { + float: right; +} +.datepicker-dropdown { + top: 0; + left: 0; +} +.datepicker-dropdown:before { + content: ''; + display: inline-block; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + border-bottom: 7px solid #999; + border-top: 0; + border-bottom-color: rgba(0, 0, 0, 0.2); + position: absolute; +} +.datepicker-dropdown:after { + content: ''; + display: inline-block; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-top: 0; + position: absolute; +} +.datepicker-dropdown.datepicker-orient-left:before { + left: 6px; +} +.datepicker-dropdown.datepicker-orient-left:after { + left: 7px; +} +.datepicker-dropdown.datepicker-orient-right:before { + right: 6px; +} +.datepicker-dropdown.datepicker-orient-right:after { + right: 7px; +} +.datepicker-dropdown.datepicker-orient-bottom:before { + top: -7px; +} +.datepicker-dropdown.datepicker-orient-bottom:after { + top: -6px; +} +.datepicker-dropdown.datepicker-orient-top:before { + bottom: -7px; + border-bottom: 0; + border-top: 7px solid #999; +} +.datepicker-dropdown.datepicker-orient-top:after { + bottom: -6px; + border-bottom: 0; + border-top: 6px solid #fff; +} +.datepicker table { + margin: 0; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.datepicker td, +.datepicker th { + text-align: center; + width: 20px; + height: 20px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + border: none; +} +.table-striped .datepicker table tr td, +.table-striped .datepicker table tr th { + background-color: transparent; +} +.datepicker table tr td.day:hover, +.datepicker table tr td.day.focused { + background: #eee; + cursor: pointer; +} +.datepicker table tr td.old, +.datepicker table tr td.new { + color: #999; +} +.datepicker table tr td.disabled, +.datepicker table tr td.disabled:hover { + background: none; + color: #999; + cursor: default; +} +.datepicker table tr td.highlighted { + background: #d9edf7; + border-radius: 0; +} +.datepicker table tr td.today, +.datepicker table tr td.today:hover, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:hover { + background-color: #fde19a; + background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a)); + background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a); + background-image: linear-gradient(to bottom, #fdd49a, #fdf59a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0); + border-color: #fdf59a #fdf59a #fbed50; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #000; +} +.datepicker table tr td.today:hover, +.datepicker table tr td.today:hover:hover, +.datepicker table tr td.today.disabled:hover, +.datepicker table tr td.today.disabled:hover:hover, +.datepicker table tr td.today:active, +.datepicker table tr td.today:hover:active, +.datepicker table tr td.today.disabled:active, +.datepicker table tr td.today.disabled:hover:active, +.datepicker table tr td.today.active, +.datepicker table tr td.today:hover.active, +.datepicker table tr td.today.disabled.active, +.datepicker table tr td.today.disabled:hover.active, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today:hover.disabled, +.datepicker table tr td.today.disabled.disabled, +.datepicker table tr td.today.disabled:hover.disabled, +.datepicker table tr td.today[disabled], +.datepicker table tr td.today:hover[disabled], +.datepicker table tr td.today.disabled[disabled], +.datepicker table tr td.today.disabled:hover[disabled] { + background-color: #fdf59a; +} +.datepicker table tr td.today:active, +.datepicker table tr td.today:hover:active, +.datepicker table tr td.today.disabled:active, +.datepicker table tr td.today.disabled:hover:active, +.datepicker table tr td.today.active, +.datepicker table tr td.today:hover.active, +.datepicker table tr td.today.disabled.active, +.datepicker table tr td.today.disabled:hover.active { + background-color: #fbf069 \9; +} +.datepicker table tr td.today:hover:hover { + color: #000; +} +.datepicker table tr td.today.active:hover { + color: #fff; +} +.datepicker table tr td.range, +.datepicker table tr td.range:hover, +.datepicker table tr td.range.disabled, +.datepicker table tr td.range.disabled:hover { + background: #eee; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.datepicker table tr td.range.today, +.datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today.disabled:hover { + background-color: #f3d17a; + background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a)); + background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a); + background-image: linear-gradient(to bottom, #f3c17a, #f3e97a); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0); + border-color: #f3e97a #f3e97a #edde34; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} +.datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today:hover:hover, +.datepicker table tr td.range.today.disabled:hover, +.datepicker table tr td.range.today.disabled:hover:hover, +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today:hover:active, +.datepicker table tr td.range.today.disabled:active, +.datepicker table tr td.range.today.disabled:hover:active, +.datepicker table tr td.range.today.active, +.datepicker table tr td.range.today:hover.active, +.datepicker table tr td.range.today.disabled.active, +.datepicker table tr td.range.today.disabled:hover.active, +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today:hover.disabled, +.datepicker table tr td.range.today.disabled.disabled, +.datepicker table tr td.range.today.disabled:hover.disabled, +.datepicker table tr td.range.today[disabled], +.datepicker table tr td.range.today:hover[disabled], +.datepicker table tr td.range.today.disabled[disabled], +.datepicker table tr td.range.today.disabled:hover[disabled] { + background-color: #f3e97a; +} +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today:hover:active, +.datepicker table tr td.range.today.disabled:active, +.datepicker table tr td.range.today.disabled:hover:active, +.datepicker table tr td.range.today.active, +.datepicker table tr td.range.today:hover.active, +.datepicker table tr td.range.today.disabled.active, +.datepicker table tr td.range.today.disabled:hover.active { + background-color: #efe24b \9; +} +.datepicker table tr td.selected, +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected.disabled:hover { + background-color: #9e9e9e; + background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080); + background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080)); + background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080); + background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080); + background-image: linear-gradient(to bottom, #b3b3b3, #808080); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0); + border-color: #808080 #808080 #595959; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected:hover:hover, +.datepicker table tr td.selected.disabled:hover, +.datepicker table tr td.selected.disabled:hover:hover, +.datepicker table tr td.selected:active, +.datepicker table tr td.selected:hover:active, +.datepicker table tr td.selected.disabled:active, +.datepicker table tr td.selected.disabled:hover:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected:hover.active, +.datepicker table tr td.selected.disabled.active, +.datepicker table tr td.selected.disabled:hover.active, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected:hover.disabled, +.datepicker table tr td.selected.disabled.disabled, +.datepicker table tr td.selected.disabled:hover.disabled, +.datepicker table tr td.selected[disabled], +.datepicker table tr td.selected:hover[disabled], +.datepicker table tr td.selected.disabled[disabled], +.datepicker table tr td.selected.disabled:hover[disabled] { + background-color: #808080; +} +.datepicker table tr td.selected:active, +.datepicker table tr td.selected:hover:active, +.datepicker table tr td.selected.disabled:active, +.datepicker table tr td.selected.disabled:hover:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected:hover.active, +.datepicker table tr td.selected.disabled.active, +.datepicker table tr td.selected.disabled:hover.active { + background-color: #666666 \9; +} +.datepicker table tr td.active, +.datepicker table tr td.active:hover, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active.disabled:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(to bottom, #08c, #0044cc); + background-image: -ms-linear-gradient(to bottom, #08c, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc)); + background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc); + background-image: -o-linear-gradient(to bottom, #08c, #0044cc); + background-image: linear-gradient(to bottom, #08c, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td.active:hover, +.datepicker table tr td.active:hover:hover, +.datepicker table tr td.active.disabled:hover, +.datepicker table tr td.active.disabled:hover:hover, +.datepicker table tr td.active:active, +.datepicker table tr td.active:hover:active, +.datepicker table tr td.active.disabled:active, +.datepicker table tr td.active.disabled:hover:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active:hover.active, +.datepicker table tr td.active.disabled.active, +.datepicker table tr td.active.disabled:hover.active, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active:hover.disabled, +.datepicker table tr td.active.disabled.disabled, +.datepicker table tr td.active.disabled:hover.disabled, +.datepicker table tr td.active[disabled], +.datepicker table tr td.active:hover[disabled], +.datepicker table tr td.active.disabled[disabled], +.datepicker table tr td.active.disabled:hover[disabled] { + background-color: #0044cc; +} +.datepicker table tr td.active:active, +.datepicker table tr td.active:hover:active, +.datepicker table tr td.active.disabled:active, +.datepicker table tr td.active.disabled:hover:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active:hover.active, +.datepicker table tr td.active.disabled.active, +.datepicker table tr td.active.disabled:hover.active { + background-color: #003399 \9; +} +.datepicker table tr td span { + display: block; + width: 23%; + height: 54px; + line-height: 54px; + float: left; + margin: 1%; + cursor: pointer; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.datepicker table tr td span:hover, +.datepicker table tr td span.focused { + background: #eee; +} +.datepicker table tr td span.disabled, +.datepicker table tr td span.disabled:hover { + background: none; + color: #999; + cursor: default; +} +.datepicker table tr td span.active, +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active.disabled:hover { + background-color: #006dcc; + background-image: -moz-linear-gradient(to bottom, #08c, #0044cc); + background-image: -ms-linear-gradient(to bottom, #08c, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc)); + background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc); + background-image: -o-linear-gradient(to bottom, #08c, #0044cc); + background-image: linear-gradient(to bottom, #08c, #0044cc); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0); + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active:hover:hover, +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active.disabled:hover:hover, +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active:hover.disabled, +.datepicker table tr td span.active.disabled.disabled, +.datepicker table tr td span.active.disabled:hover.disabled, +.datepicker table tr td span.active[disabled], +.datepicker table tr td span.active:hover[disabled], +.datepicker table tr td span.active.disabled[disabled], +.datepicker table tr td span.active.disabled:hover[disabled] { + background-color: #0044cc; +} +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active { + background-color: #003399 \9; +} +.datepicker table tr td span.old, +.datepicker table tr td span.new { + color: #999; +} +.datepicker .datepicker-switch { + width: 145px; +} +.datepicker .datepicker-switch, +.datepicker .prev, +.datepicker .next, +.datepicker tfoot tr th { + cursor: pointer; +} +.datepicker .datepicker-switch:hover, +.datepicker .prev:hover, +.datepicker .next:hover, +.datepicker tfoot tr th:hover { + background: #eee; +} +.datepicker .cw { + font-size: 10px; + width: 12px; + padding: 0 2px 0 5px; + vertical-align: middle; +} +.input-append.date .add-on, +.input-prepend.date .add-on { + cursor: pointer; +} +.input-append.date .add-on i, +.input-prepend.date .add-on i { + margin-top: 3px; +} +.input-daterange input { + text-align: center; +} +.input-daterange input:first-child { + -webkit-border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; +} +.input-daterange input:last-child { + -webkit-border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; +} +.input-daterange .add-on { + display: inline-block; + width: auto; + min-width: 16px; + height: 18px; + padding: 4px 5px; + font-weight: normal; + line-height: 18px; + text-align: center; + text-shadow: 0 1px 0 #fff; + vertical-align: middle; + background-color: #eee; + border: 1px solid #ccc; + margin-left: -5px; + margin-right: -5px; +} +/*# sourceMappingURL=bootstrap-datepicker.css.map */ \ No newline at end of file diff --git a/webfm/static/css/bootstrap/bootstrap-table.min.css b/webfm/static/css/bootstrap/bootstrap-table.min.css new file mode 100644 index 0000000..14afe05 --- /dev/null +++ b/webfm/static/css/bootstrap/bootstrap-table.min.css @@ -0,0 +1,10 @@ +/** + * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) + * + * @version v1.15.5 + * @homepage https://bootstrap-table.com + * @author wenzhixin (http://wenzhixin.net.cn/) + * @license MIT + */ + +@charset "UTF-8";.bootstrap-table .fixed-table-toolbar::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-toolbar .bs-bars,.bootstrap-table .fixed-table-toolbar .search,.bootstrap-table .fixed-table-toolbar .columns{position:relative;margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group>.btn{border-radius:0}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu{text-align:left;max-height:300px;overflow:auto;-ms-overflow-style:scrollbar;z-index:1001}.bootstrap-table .fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429}.bootstrap-table .fixed-table-toolbar .columns-left{margin-right:5px}.bootstrap-table .fixed-table-toolbar .columns-right{margin-left:5px}.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu{right:0;left:auto}.bootstrap-table .fixed-table-container{position:relative;clear:both}.bootstrap-table .fixed-table-container .table{width:100%;margin-bottom:0!important}.bootstrap-table .fixed-table-container .table th,.bootstrap-table .fixed-table-container .table td{vertical-align:middle;box-sizing:border-box}.bootstrap-table .fixed-table-container .table thead th{vertical-align:bottom;padding:0;margin:0}.bootstrap-table .fixed-table-container .table thead th:focus{outline:0 solid transparent}.bootstrap-table .fixed-table-container .table thead th.detail{width:30px}.bootstrap-table .fixed-table-container .table thead th .th-inner{padding:.75rem;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bootstrap-table .fixed-table-container .table thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px}.bootstrap-table .fixed-table-container .table thead th .both{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC")}.bootstrap-table .fixed-table-container .table thead th .asc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==")}.bootstrap-table .fixed-table-container .table thead th .desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ")}.bootstrap-table .fixed-table-container .table tbody tr.selected td{background-color:rgba(0,0,0,0.075)}.bootstrap-table .fixed-table-container .table tbody tr.no-records-found{text-align:center}.bootstrap-table .fixed-table-container .table tbody tr .card-view{display:flex}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title{font-weight:bold;display:inline-block;min-width:30%;text-align:left!important}.bootstrap-table .fixed-table-container .table .bs-checkbox{text-align:center}.bootstrap-table .fixed-table-container .table .bs-checkbox label{margin-bottom:0}.bootstrap-table .fixed-table-container .table input[type=radio],.bootstrap-table .fixed-table-container .table input[type=checkbox]{margin:0 auto!important}.bootstrap-table .fixed-table-container .table.table-sm .th-inner{padding:.3rem}.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer){border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height.has-card-view{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border{border-left:1px solid #dee2e6;border-right:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table thead th{border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th{border-bottom:1px solid #32383e}.bootstrap-table .fixed-table-container .fixed-table-header{overflow:hidden}.bootstrap-table .fixed-table-container .fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{align-items:center;background:#fff;display:none;justify-content:center;position:absolute;bottom:0;width:100%;z-index:1000}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap{align-items:baseline;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text{font-size:2rem;margin-right:6px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before{content:"";animation-duration:1.5s;animation-iteration-count:infinite;animation-name:LOADING;background:#212529;border-radius:50%;display:block;height:5px;margin:0 4px;opacity:0;width:5px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot{animation-delay:.3s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after{animation-delay:.6s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark{background:#212529}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before{background:#fff}.bootstrap-table .fixed-table-container .fixed-table-footer{overflow:hidden}.bootstrap-table .fixed-table-pagination::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-pagination>.pagination-detail,.bootstrap-table .fixed-table-pagination>.pagination{margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-pagination>.pagination-detail .pagination-info{line-height:34px;margin-right:5px}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list{display:inline-block}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group{position:relative;display:inline-block;vertical-align:middle}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group .dropdown-menu{margin-bottom:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination{margin:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination a{padding:6px 12px;line-height:1.428571429}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a{color:#c8c8c8}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::before{content:"⬅"}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::after{content:"➡"}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.disabled a{pointer-events:none;cursor:default}.bootstrap-table.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important;background:#fff;height:calc(100vh);overflow-y:scroll}div.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}@keyframes LOADING{0%{opacity:0}50%{opacity:1}to{opacity:0}} \ No newline at end of file diff --git a/webfm/static/css/bootstrap/bootstrap.min.css b/webfm/static/css/bootstrap/bootstrap.min.css new file mode 100644 index 0000000..a37b69a --- /dev/null +++ b/webfm/static/css/bootstrap/bootstrap.min.css @@ -0,0 +1,12 @@ +/*! + * Bootswatch v4.3.1 + * Homepage: https://bootswatch.com + * Copyright 2012-2019 Thomas Park + * Licensed under MIT + * Based on Bootstrap +*//*! + * Bootstrap v4.3.1 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors + * Copyright 2011-2019 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */:root{--blue: #007bff;--indigo: #6610f2;--purple: #6f42c1;--pink: #e83e8c;--red: #ee5f5b;--orange: #fd7e14;--yellow: #f89406;--green: #62c462;--teal: #20c997;--cyan: #5bc0de;--white: #fff;--gray: #7A8288;--gray-dark: #3A3F44;--primary: #3A3F44;--secondary: #7A8288;--success: #62c462;--info: #5bc0de;--warning: #f89406;--danger: #ee5f5b;--light: #e9ecef;--dark: #272B30;--breakpoint-xs: 0;--breakpoint-sm: 576px;--breakpoint-md: 768px;--breakpoint-lg: 992px;--breakpoint-xl: 1200px;--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";font-size:0.9375rem;font-weight:400;line-height:1.5;color:#aaa;text-align:left;background-color:#272B30}[tabindex="-1"]:focus{outline:0 !important}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:0.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#fff;text-decoration:none;background-color:transparent}a:hover{color:#d9d9d9;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):hover,a:not([href]):not([tabindex]):focus{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre,code,kbd,samp{font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:0.75rem;padding-bottom:0.75rem;color:#7A8288;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:0.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button:not(:disabled),[type="button"]:not(:disabled),[type="reset"]:not(:disabled),[type="submit"]:not(:disabled){cursor:pointer}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{padding:0;border-style:none}input[type="radio"],input[type="checkbox"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="date"],input[type="time"],input[type="datetime-local"],input[type="month"]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{outline-offset:-2px;-webkit-appearance:none}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none !important}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{margin-bottom:0.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:2.34375rem}h2,.h2{font-size:1.875rem}h3,.h3{font-size:1.640625rem}h4,.h4{font-size:1.40625rem}h5,.h5{font-size:1.171875rem}h6,.h6{font-size:0.9375rem}.lead{font-size:1.171875rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,0.1)}small,.small{font-size:80%;font-weight:400}mark,.mark{padding:0.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:0.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.171875rem}.blockquote-footer{display:block;font-size:80%;color:#7A8288}.blockquote-footer::before{content:"\2014\00A0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:0.25rem;background-color:#272B30;border:1px solid #dee2e6;border-radius:0.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:0.5rem;line-height:1}.figure-caption{font-size:90%;color:#7A8288}code{font-size:87.5%;color:#e83e8c;word-break:break-word}a>code{color:inherit}kbd{padding:0.2rem 0.4rem;font-size:87.5%;color:#fff;background-color:#272B30;border-radius:0.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;font-size:87.5%;color:inherit}pre code{font-size:inherit;color:inherit;word-break:normal}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width: 576px){.container{max-width:540px}}@media (min-width: 768px){.container{max-width:720px}}@media (min-width: 992px){.container{max-width:960px}}@media (min-width: 1200px){.container{max-width:1140px}}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*="col-"]{padding-right:0;padding-left:0}.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col,.col-auto,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm,.col-sm-auto,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md,.col-md-auto,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg,.col-lg-auto,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.col-2{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.col-5{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.col-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.col-8{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.col-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.col-11{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.col-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.order-last{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.offset-1{margin-left:8.3333333333%}.offset-2{margin-left:16.6666666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.3333333333%}.offset-5{margin-left:41.6666666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.3333333333%}.offset-8{margin-left:66.6666666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.3333333333%}.offset-11{margin-left:91.6666666667%}@media (min-width: 576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.col-sm-2{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-sm-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.col-sm-5{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.col-sm-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.col-sm-8{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.col-sm-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.col-sm-11{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.col-sm-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.order-sm-last{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.order-sm-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.order-sm-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-sm-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.order-sm-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.order-sm-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.order-sm-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.order-sm-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.order-sm-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.order-sm-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.order-sm-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.order-sm-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.order-sm-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.order-sm-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.3333333333%}.offset-sm-2{margin-left:16.6666666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.3333333333%}.offset-sm-5{margin-left:41.6666666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.3333333333%}.offset-sm-8{margin-left:66.6666666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.3333333333%}.offset-sm-11{margin-left:91.6666666667%}}@media (min-width: 768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.col-md-2{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-md-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.col-md-5{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.col-md-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.col-md-8{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.col-md-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.col-md-11{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.col-md-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.order-md-last{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.order-md-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.order-md-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-md-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.order-md-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.order-md-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.order-md-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.order-md-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.order-md-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.order-md-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.order-md-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.order-md-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.order-md-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.order-md-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.3333333333%}.offset-md-2{margin-left:16.6666666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.3333333333%}.offset-md-5{margin-left:41.6666666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.3333333333%}.offset-md-8{margin-left:66.6666666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.3333333333%}.offset-md-11{margin-left:91.6666666667%}}@media (min-width: 992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.col-lg-2{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-lg-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.col-lg-5{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.col-lg-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.col-lg-8{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.col-lg-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.col-lg-11{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.col-lg-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.order-lg-last{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.order-lg-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.order-lg-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-lg-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.order-lg-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.order-lg-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.order-lg-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.order-lg-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.order-lg-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.order-lg-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.order-lg-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.order-lg-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.order-lg-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.order-lg-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.3333333333%}.offset-lg-2{margin-left:16.6666666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.3333333333%}.offset-lg-5{margin-left:41.6666666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.3333333333%}.offset-lg-8{margin-left:66.6666666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.3333333333%}.offset-lg-11{margin-left:91.6666666667%}}@media (min-width: 1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.col-xl-2{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.col-xl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.col-xl-5{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.col-xl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.col-xl-8{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.col-xl-9{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.col-xl-11{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.col-xl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.order-xl-last{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.order-xl-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.order-xl-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-xl-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.order-xl-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.order-xl-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.order-xl-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.order-xl-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.order-xl-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.order-xl-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.order-xl-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.order-xl-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.order-xl-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.order-xl-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.3333333333%}.offset-xl-2{margin-left:16.6666666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.3333333333%}.offset-xl-5{margin-left:41.6666666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.3333333333%}.offset-xl-8{margin-left:66.6666666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.3333333333%}.offset-xl-11{margin-left:91.6666666667%}}.table{width:100%;margin-bottom:1rem;color:#fff}.table th,.table td{padding:0.75rem;vertical-align:top;border-top:1px solid rgba(0,0,0,0.6)}.table thead th{vertical-align:bottom;border-bottom:2px solid rgba(0,0,0,0.6)}.table tbody+tbody{border-top:2px solid rgba(0,0,0,0.6)}.table-sm th,.table-sm td{padding:0.3rem}.table-bordered{border:1px solid rgba(0,0,0,0.6)}.table-bordered th,.table-bordered td{border:1px solid rgba(0,0,0,0.6)}.table-bordered thead th,.table-bordered thead td{border-bottom-width:2px}.table-borderless th,.table-borderless td,.table-borderless thead th,.table-borderless tbody+tbody{border:0}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,0.05)}.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,0.075)}.table-primary,.table-primary>th,.table-primary>td{background-color:#c8c9cb}.table-primary th,.table-primary td,.table-primary thead th,.table-primary tbody+tbody{border-color:#999b9e}.table-hover .table-primary:hover{background-color:#bbbcbf}.table-hover .table-primary:hover>td,.table-hover .table-primary:hover>th{background-color:#bbbcbf}.table-secondary,.table-secondary>th,.table-secondary>td{background-color:#dadcde}.table-secondary th,.table-secondary td,.table-secondary thead th,.table-secondary tbody+tbody{border-color:#babec1}.table-hover .table-secondary:hover{background-color:#cdcfd2}.table-hover .table-secondary:hover>td,.table-hover .table-secondary:hover>th{background-color:#cdcfd2}.table-success,.table-success>th,.table-success>td{background-color:#d3eed3}.table-success th,.table-success td,.table-success thead th,.table-success tbody+tbody{border-color:#ade0ad}.table-hover .table-success:hover{background-color:#c1e7c1}.table-hover .table-success:hover>td,.table-hover .table-success:hover>th{background-color:#c1e7c1}.table-info,.table-info>th,.table-info>td{background-color:#d1edf6}.table-info th,.table-info td,.table-info thead th,.table-info tbody+tbody{border-color:#aadeee}.table-hover .table-info:hover{background-color:#bce5f2}.table-hover .table-info:hover>td,.table-hover .table-info:hover>th{background-color:#bce5f2}.table-warning,.table-warning>th,.table-warning>td{background-color:#fde1b9}.table-warning th,.table-warning td,.table-warning thead th,.table-warning tbody+tbody{border-color:#fbc77e}.table-hover .table-warning:hover{background-color:#fcd6a0}.table-hover .table-warning:hover>td,.table-hover .table-warning:hover>th{background-color:#fcd6a0}.table-danger,.table-danger>th,.table-danger>td{background-color:#fad2d1}.table-danger th,.table-danger td,.table-danger thead th,.table-danger tbody+tbody{border-color:#f6acaa}.table-hover .table-danger:hover{background-color:#f8bcba}.table-hover .table-danger:hover>td,.table-hover .table-danger:hover>th{background-color:#f8bcba}.table-light,.table-light>th,.table-light>td{background-color:#f9fafb}.table-light th,.table-light td,.table-light thead th,.table-light tbody+tbody{border-color:#f4f5f7}.table-hover .table-light:hover{background-color:#eaedf1}.table-hover .table-light:hover>td,.table-hover .table-light:hover>th{background-color:#eaedf1}.table-dark,.table-dark>th,.table-dark>td{background-color:#c3c4c5}.table-dark th,.table-dark td,.table-dark thead th,.table-dark tbody+tbody{border-color:#8f9193}.table-hover .table-dark:hover{background-color:#b6b7b8}.table-hover .table-dark:hover>td,.table-hover .table-dark:hover>th{background-color:#b6b7b8}.table-active,.table-active>th,.table-active>td{background-color:rgba(255,255,255,0.075)}.table-hover .table-active:hover{background-color:rgba(242,242,242,0.075)}.table-hover .table-active:hover>td,.table-hover .table-active:hover>th{background-color:rgba(242,242,242,0.075)}.table .thead-dark th{color:#fff;background-color:#3A3F44;border-color:rgba(0,0,0,0.6)}.table .thead-light th{color:#52575C;background-color:#e9ecef;border-color:rgba(0,0,0,0.6)}.table-dark{color:#fff;background-color:#3A3F44}.table-dark th,.table-dark td,.table-dark thead th{border-color:rgba(0,0,0,0.6)}.table-dark.table-bordered{border:0}.table-dark.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,0.05)}.table-dark.table-hover tbody tr:hover{color:#fff;background-color:rgba(255,255,255,0.075)}@media (max-width: 575.98px){.table-responsive-sm{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-sm>.table-bordered{border:0}}@media (max-width: 767.98px){.table-responsive-md{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-md>.table-bordered{border:0}}@media (max-width: 991.98px){.table-responsive-lg{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-lg>.table-bordered{border:0}}@media (max-width: 1199.98px){.table-responsive-xl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive-xl>.table-bordered{border:0}}.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table-bordered{border:0}.form-control{display:block;width:100%;height:calc(1.5em + 1.5rem + 2px);padding:0.75rem 1rem;font-size:0.9375rem;font-weight:400;line-height:1.5;color:#52575C;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:0.25rem;-webkit-transition:border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{-webkit-transition:none;transition:none}}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#52575C;background-color:#fff;border-color:#757f89;outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25)}.form-control::-webkit-input-placeholder{color:#7A8288;opacity:1}.form-control::-ms-input-placeholder{color:#7A8288;opacity:1}.form-control::placeholder{color:#7A8288;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#ccc;opacity:1}select.form-control:focus::-ms-value{color:#52575C;background-color:#fff}.form-control-file,.form-control-range{display:block;width:100%}.col-form-label{padding-top:calc(0.75rem + 1px);padding-bottom:calc(0.75rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(0.5rem + 1px);padding-bottom:calc(0.5rem + 1px);font-size:1.171875rem;line-height:1.5}.col-form-label-sm{padding-top:calc(0.25rem + 1px);padding-bottom:calc(0.25rem + 1px);font-size:0.8203125rem;line-height:1.5}.form-control-plaintext{display:block;width:100%;padding-top:0.75rem;padding-bottom:0.75rem;margin-bottom:0;line-height:1.5;color:#aaa;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{height:calc(1.5em + 0.5rem + 2px);padding:0.25rem 0.5rem;font-size:0.8203125rem;line-height:1.5;border-radius:0.2rem}.form-control-lg{height:calc(1.5em + 1rem + 2px);padding:0.5rem 1rem;font-size:1.171875rem;line-height:1.5;border-radius:0.3rem}select.form-control[size],select.form-control[multiple]{height:auto}textarea.form-control{height:auto}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:0.25rem}.form-row{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}.form-row>.col,.form-row>[class*="col-"]{padding-right:5px;padding-left:5px}.form-check{position:relative;display:block;padding-left:1.25rem}.form-check-input{position:absolute;margin-top:0.3rem;margin-left:-1.25rem}.form-check-input:disabled ~ .form-check-label{color:#7A8288}.form-check-label{margin-bottom:0}.form-check-inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:0;margin-right:0.75rem}.form-check-inline .form-check-input{position:static;margin-top:0;margin-right:0.3125rem;margin-left:0}.valid-feedback{display:none;width:100%;margin-top:0.25rem;font-size:80%;color:#62c462}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:0.25rem 0.5rem;margin-top:.1rem;font-size:0.8203125rem;line-height:1.5;color:#fff;background-color:rgba(98,196,98,0.9);border-radius:0.25rem}.was-validated .form-control:valid,.form-control.is-valid{border-color:#62c462;padding-right:calc(1.5em + 1.5rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2362c462' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center right calc(0.375em + 0.375rem);background-size:calc(0.75em + 0.75rem) calc(0.75em + 0.75rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#62c462;-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25)}.was-validated .form-control:valid ~ .valid-feedback,.was-validated .form-control:valid ~ .valid-tooltip,.form-control.is-valid ~ .valid-feedback,.form-control.is-valid ~ .valid-tooltip{display:block}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + 1.5rem);background-position:top calc(0.375em + 0.375rem) right calc(0.375em + 0.375rem)}.was-validated .custom-select:valid,.custom-select.is-valid{border-color:#62c462;padding-right:calc((1em + 1.5rem) * 3 / 4 + 2rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%233A3F44' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 1rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2362c462' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 2rem/calc(0.75em + 0.75rem) calc(0.75em + 0.75rem)}.was-validated .custom-select:valid:focus,.custom-select.is-valid:focus{border-color:#62c462;-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25)}.was-validated .custom-select:valid ~ .valid-feedback,.was-validated .custom-select:valid ~ .valid-tooltip,.custom-select.is-valid ~ .valid-feedback,.custom-select.is-valid ~ .valid-tooltip{display:block}.was-validated .form-control-file:valid ~ .valid-feedback,.was-validated .form-control-file:valid ~ .valid-tooltip,.form-control-file.is-valid ~ .valid-feedback,.form-control-file.is-valid ~ .valid-tooltip{display:block}.was-validated .form-check-input:valid ~ .form-check-label,.form-check-input.is-valid ~ .form-check-label{color:#62c462}.was-validated .form-check-input:valid ~ .valid-feedback,.was-validated .form-check-input:valid ~ .valid-tooltip,.form-check-input.is-valid ~ .valid-feedback,.form-check-input.is-valid ~ .valid-tooltip{display:block}.was-validated .custom-control-input:valid ~ .custom-control-label,.custom-control-input.is-valid ~ .custom-control-label{color:#62c462}.was-validated .custom-control-input:valid ~ .custom-control-label::before,.custom-control-input.is-valid ~ .custom-control-label::before{border-color:#62c462}.was-validated .custom-control-input:valid ~ .valid-feedback,.was-validated .custom-control-input:valid ~ .valid-tooltip,.custom-control-input.is-valid ~ .valid-feedback,.custom-control-input.is-valid ~ .valid-tooltip{display:block}.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,.custom-control-input.is-valid:checked ~ .custom-control-label::before{border-color:#87d287;background-color:#87d287}.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before,.custom-control-input.is-valid:focus ~ .custom-control-label::before{-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25)}.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before,.custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before{border-color:#62c462}.was-validated .custom-file-input:valid ~ .custom-file-label,.custom-file-input.is-valid ~ .custom-file-label{border-color:#62c462}.was-validated .custom-file-input:valid ~ .valid-feedback,.was-validated .custom-file-input:valid ~ .valid-tooltip,.custom-file-input.is-valid ~ .valid-feedback,.custom-file-input.is-valid ~ .valid-tooltip{display:block}.was-validated .custom-file-input:valid:focus ~ .custom-file-label,.custom-file-input.is-valid:focus ~ .custom-file-label{border-color:#62c462;-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.25)}.invalid-feedback{display:none;width:100%;margin-top:0.25rem;font-size:80%;color:#ee5f5b}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:0.25rem 0.5rem;margin-top:.1rem;font-size:0.8203125rem;line-height:1.5;color:#fff;background-color:rgba(238,95,91,0.9);border-radius:0.25rem}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#ee5f5b;padding-right:calc(1.5em + 1.5rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ee5f5b' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23ee5f5b' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");background-repeat:no-repeat;background-position:center right calc(0.375em + 0.375rem);background-size:calc(0.75em + 0.75rem) calc(0.75em + 0.75rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#ee5f5b;-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25)}.was-validated .form-control:invalid ~ .invalid-feedback,.was-validated .form-control:invalid ~ .invalid-tooltip,.form-control.is-invalid ~ .invalid-feedback,.form-control.is-invalid ~ .invalid-tooltip{display:block}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + 1.5rem);background-position:top calc(0.375em + 0.375rem) right calc(0.375em + 0.375rem)}.was-validated .custom-select:invalid,.custom-select.is-invalid{border-color:#ee5f5b;padding-right:calc((1em + 1.5rem) * 3 / 4 + 2rem);background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%233A3F44' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 1rem center/8px 10px,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ee5f5b' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23ee5f5b' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 2rem/calc(0.75em + 0.75rem) calc(0.75em + 0.75rem)}.was-validated .custom-select:invalid:focus,.custom-select.is-invalid:focus{border-color:#ee5f5b;-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25)}.was-validated .custom-select:invalid ~ .invalid-feedback,.was-validated .custom-select:invalid ~ .invalid-tooltip,.custom-select.is-invalid ~ .invalid-feedback,.custom-select.is-invalid ~ .invalid-tooltip{display:block}.was-validated .form-control-file:invalid ~ .invalid-feedback,.was-validated .form-control-file:invalid ~ .invalid-tooltip,.form-control-file.is-invalid ~ .invalid-feedback,.form-control-file.is-invalid ~ .invalid-tooltip{display:block}.was-validated .form-check-input:invalid ~ .form-check-label,.form-check-input.is-invalid ~ .form-check-label{color:#ee5f5b}.was-validated .form-check-input:invalid ~ .invalid-feedback,.was-validated .form-check-input:invalid ~ .invalid-tooltip,.form-check-input.is-invalid ~ .invalid-feedback,.form-check-input.is-invalid ~ .invalid-tooltip{display:block}.was-validated .custom-control-input:invalid ~ .custom-control-label,.custom-control-input.is-invalid ~ .custom-control-label{color:#ee5f5b}.was-validated .custom-control-input:invalid ~ .custom-control-label::before,.custom-control-input.is-invalid ~ .custom-control-label::before{border-color:#ee5f5b}.was-validated .custom-control-input:invalid ~ .invalid-feedback,.was-validated .custom-control-input:invalid ~ .invalid-tooltip,.custom-control-input.is-invalid ~ .invalid-feedback,.custom-control-input.is-invalid ~ .invalid-tooltip{display:block}.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before,.custom-control-input.is-invalid:checked ~ .custom-control-label::before{border-color:#f38c89;background-color:#f38c89}.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before,.custom-control-input.is-invalid:focus ~ .custom-control-label::before{-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25)}.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before,.custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before{border-color:#ee5f5b}.was-validated .custom-file-input:invalid ~ .custom-file-label,.custom-file-input.is-invalid ~ .custom-file-label{border-color:#ee5f5b}.was-validated .custom-file-input:invalid ~ .invalid-feedback,.was-validated .custom-file-input:invalid ~ .invalid-tooltip,.custom-file-input.is-invalid ~ .invalid-feedback,.custom-file-input.is-invalid ~ .invalid-tooltip{display:block}.was-validated .custom-file-input:invalid:focus ~ .custom-file-label,.custom-file-input.is-invalid:focus ~ .custom-file-label{border-color:#ee5f5b;-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.25)}.form-inline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.form-inline .form-check{width:100%}@media (min-width: 576px){.form-inline label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:0}.form-inline .form-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:0}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-plaintext{display:inline-block}.form-inline .input-group,.form-inline .custom-select{width:auto}.form-inline .form-check{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-left:0}.form-inline .form-check-input{position:relative;-ms-flex-negative:0;flex-shrink:0;margin-top:0;margin-right:0.25rem;margin-left:0}.form-inline .custom-control{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.form-inline .custom-control-label{margin-bottom:0}}.btn{display:inline-block;font-weight:400;color:#aaa;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:0.75rem 1rem;font-size:0.9375rem;line-height:1.5;border-radius:0.25rem;-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{-webkit-transition:none;transition:none}}.btn:hover{color:#aaa;text-decoration:none}.btn:focus,.btn.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25)}.btn.disabled,.btn:disabled{opacity:0.65}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#3A3F44;border-color:#3A3F44}.btn-primary:hover{color:#fff;background-color:#282c2f;border-color:#232628}.btn-primary:focus,.btn-primary.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(88,92,96,0.5);box-shadow:0 0 0 0.2rem rgba(88,92,96,0.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#3A3F44;border-color:#3A3F44}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#232628;border-color:#1d1f22}.btn-primary:not(:disabled):not(.disabled):active:focus,.btn-primary:not(:disabled):not(.disabled).active:focus,.show>.btn-primary.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(88,92,96,0.5);box-shadow:0 0 0 0.2rem rgba(88,92,96,0.5)}.btn-secondary{color:#fff;background-color:#7A8288;border-color:#7A8288}.btn-secondary:hover{color:#fff;background-color:#686f74;border-color:#62686d}.btn-secondary:focus,.btn-secondary.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(142,149,154,0.5);box-shadow:0 0 0 0.2rem rgba(142,149,154,0.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#7A8288;border-color:#7A8288}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#62686d;border-color:#5c6267}.btn-secondary:not(:disabled):not(.disabled):active:focus,.btn-secondary:not(:disabled):not(.disabled).active:focus,.show>.btn-secondary.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(142,149,154,0.5);box-shadow:0 0 0 0.2rem rgba(142,149,154,0.5)}.btn-success{color:#fff;background-color:#62c462;border-color:#62c462}.btn-success:hover{color:#fff;background-color:#46ba46;border-color:#42b142}.btn-success:focus,.btn-success.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(122,205,122,0.5);box-shadow:0 0 0 0.2rem rgba(122,205,122,0.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#62c462;border-color:#62c462}.btn-success:not(:disabled):not(.disabled):active,.btn-success:not(:disabled):not(.disabled).active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#42b142;border-color:#3fa73f}.btn-success:not(:disabled):not(.disabled):active:focus,.btn-success:not(:disabled):not(.disabled).active:focus,.show>.btn-success.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(122,205,122,0.5);box-shadow:0 0 0 0.2rem rgba(122,205,122,0.5)}.btn-info{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-info:hover{color:#fff;background-color:#3bb4d8;border-color:#31b0d5}.btn-info:focus,.btn-info.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(116,201,227,0.5);box-shadow:0 0 0 0.2rem rgba(116,201,227,0.5)}.btn-info.disabled,.btn-info:disabled{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-info:not(:disabled):not(.disabled):active,.btn-info:not(:disabled):not(.disabled).active,.show>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;border-color:#2aaacf}.btn-info:not(:disabled):not(.disabled):active:focus,.btn-info:not(:disabled):not(.disabled).active:focus,.show>.btn-info.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(116,201,227,0.5);box-shadow:0 0 0 0.2rem rgba(116,201,227,0.5)}.btn-warning{color:#fff;background-color:#f89406;border-color:#f89406}.btn-warning:hover{color:#fff;background-color:#d37e05;border-color:#c67605}.btn-warning:focus,.btn-warning.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(249,164,43,0.5);box-shadow:0 0 0 0.2rem rgba(249,164,43,0.5)}.btn-warning.disabled,.btn-warning:disabled{color:#fff;background-color:#f89406;border-color:#f89406}.btn-warning:not(:disabled):not(.disabled):active,.btn-warning:not(:disabled):not(.disabled).active,.show>.btn-warning.dropdown-toggle{color:#fff;background-color:#c67605;border-color:#ba6f04}.btn-warning:not(:disabled):not(.disabled):active:focus,.btn-warning:not(:disabled):not(.disabled).active:focus,.show>.btn-warning.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(249,164,43,0.5);box-shadow:0 0 0 0.2rem rgba(249,164,43,0.5)}.btn-danger{color:#fff;background-color:#ee5f5b;border-color:#ee5f5b}.btn-danger:hover{color:#fff;background-color:#ea3d38;border-color:#e9322d}.btn-danger:focus,.btn-danger.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(241,119,116,0.5);box-shadow:0 0 0 0.2rem rgba(241,119,116,0.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#ee5f5b;border-color:#ee5f5b}.btn-danger:not(:disabled):not(.disabled):active,.btn-danger:not(:disabled):not(.disabled).active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#e9322d;border-color:#e82721}.btn-danger:not(:disabled):not(.disabled):active:focus,.btn-danger:not(:disabled):not(.disabled).active:focus,.show>.btn-danger.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(241,119,116,0.5);box-shadow:0 0 0 0.2rem rgba(241,119,116,0.5)}.btn-light{color:#272B30;background-color:#e9ecef;border-color:#e9ecef}.btn-light:hover{color:#272B30;background-color:#d3d9df;border-color:#cbd3da}.btn-light:focus,.btn-light.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(204,207,210,0.5);box-shadow:0 0 0 0.2rem rgba(204,207,210,0.5)}.btn-light.disabled,.btn-light:disabled{color:#272B30;background-color:#e9ecef;border-color:#e9ecef}.btn-light:not(:disabled):not(.disabled):active,.btn-light:not(:disabled):not(.disabled).active,.show>.btn-light.dropdown-toggle{color:#272B30;background-color:#cbd3da;border-color:#c4ccd4}.btn-light:not(:disabled):not(.disabled):active:focus,.btn-light:not(:disabled):not(.disabled).active:focus,.show>.btn-light.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(204,207,210,0.5);box-shadow:0 0 0 0.2rem rgba(204,207,210,0.5)}.btn-dark{color:#fff;background-color:#272B30;border-color:#272B30}.btn-dark:hover{color:#fff;background-color:#16181b;border-color:#101214}.btn-dark:focus,.btn-dark.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(71,75,79,0.5);box-shadow:0 0 0 0.2rem rgba(71,75,79,0.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#272B30;border-color:#272B30}.btn-dark:not(:disabled):not(.disabled):active,.btn-dark:not(:disabled):not(.disabled).active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#101214;border-color:#0a0b0d}.btn-dark:not(:disabled):not(.disabled):active:focus,.btn-dark:not(:disabled):not(.disabled).active:focus,.show>.btn-dark.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(71,75,79,0.5);box-shadow:0 0 0 0.2rem rgba(71,75,79,0.5)}.btn-outline-primary{color:#3A3F44;border-color:#3A3F44}.btn-outline-primary:hover{color:#fff;background-color:#3A3F44;border-color:#3A3F44}.btn-outline-primary:focus,.btn-outline-primary.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.5);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#3A3F44;background-color:transparent}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#3A3F44;border-color:#3A3F44}.btn-outline-primary:not(:disabled):not(.disabled):active:focus,.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-primary.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.5);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.5)}.btn-outline-secondary{color:#7A8288;border-color:#7A8288}.btn-outline-secondary:hover{color:#fff;background-color:#7A8288;border-color:#7A8288}.btn-outline-secondary:focus,.btn-outline-secondary.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(122,130,136,0.5);box-shadow:0 0 0 0.2rem rgba(122,130,136,0.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#7A8288;background-color:transparent}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#7A8288;border-color:#7A8288}.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-secondary.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(122,130,136,0.5);box-shadow:0 0 0 0.2rem rgba(122,130,136,0.5)}.btn-outline-success{color:#62c462;border-color:#62c462}.btn-outline-success:hover{color:#fff;background-color:#62c462;border-color:#62c462}.btn-outline-success:focus,.btn-outline-success.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.5);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#62c462;background-color:transparent}.btn-outline-success:not(:disabled):not(.disabled):active,.btn-outline-success:not(:disabled):not(.disabled).active,.show>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#62c462;border-color:#62c462}.btn-outline-success:not(:disabled):not(.disabled):active:focus,.btn-outline-success:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-success.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.5);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.5)}.btn-outline-info{color:#5bc0de;border-color:#5bc0de}.btn-outline-info:hover{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info:focus,.btn-outline-info.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(91,192,222,0.5);box-shadow:0 0 0 0.2rem rgba(91,192,222,0.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#5bc0de;background-color:transparent}.btn-outline-info:not(:disabled):not(.disabled):active,.btn-outline-info:not(:disabled):not(.disabled).active,.show>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info:not(:disabled):not(.disabled):active:focus,.btn-outline-info:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-info.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(91,192,222,0.5);box-shadow:0 0 0 0.2rem rgba(91,192,222,0.5)}.btn-outline-warning{color:#f89406;border-color:#f89406}.btn-outline-warning:hover{color:#fff;background-color:#f89406;border-color:#f89406}.btn-outline-warning:focus,.btn-outline-warning.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(248,148,6,0.5);box-shadow:0 0 0 0.2rem rgba(248,148,6,0.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#f89406;background-color:transparent}.btn-outline-warning:not(:disabled):not(.disabled):active,.btn-outline-warning:not(:disabled):not(.disabled).active,.show>.btn-outline-warning.dropdown-toggle{color:#fff;background-color:#f89406;border-color:#f89406}.btn-outline-warning:not(:disabled):not(.disabled):active:focus,.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-warning.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(248,148,6,0.5);box-shadow:0 0 0 0.2rem rgba(248,148,6,0.5)}.btn-outline-danger{color:#ee5f5b;border-color:#ee5f5b}.btn-outline-danger:hover{color:#fff;background-color:#ee5f5b;border-color:#ee5f5b}.btn-outline-danger:focus,.btn-outline-danger.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.5);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#ee5f5b;background-color:transparent}.btn-outline-danger:not(:disabled):not(.disabled):active,.btn-outline-danger:not(:disabled):not(.disabled).active,.show>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#ee5f5b;border-color:#ee5f5b}.btn-outline-danger:not(:disabled):not(.disabled):active:focus,.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-danger.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.5);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.5)}.btn-outline-light{color:#e9ecef;border-color:#e9ecef}.btn-outline-light:hover{color:#272B30;background-color:#e9ecef;border-color:#e9ecef}.btn-outline-light:focus,.btn-outline-light.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(233,236,239,0.5);box-shadow:0 0 0 0.2rem rgba(233,236,239,0.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#e9ecef;background-color:transparent}.btn-outline-light:not(:disabled):not(.disabled):active,.btn-outline-light:not(:disabled):not(.disabled).active,.show>.btn-outline-light.dropdown-toggle{color:#272B30;background-color:#e9ecef;border-color:#e9ecef}.btn-outline-light:not(:disabled):not(.disabled):active:focus,.btn-outline-light:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-light.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(233,236,239,0.5);box-shadow:0 0 0 0.2rem rgba(233,236,239,0.5)}.btn-outline-dark{color:#272B30;border-color:#272B30}.btn-outline-dark:hover{color:#fff;background-color:#272B30;border-color:#272B30}.btn-outline-dark:focus,.btn-outline-dark.focus{-webkit-box-shadow:0 0 0 0.2rem rgba(39,43,48,0.5);box-shadow:0 0 0 0.2rem rgba(39,43,48,0.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#272B30;background-color:transparent}.btn-outline-dark:not(:disabled):not(.disabled):active,.btn-outline-dark:not(:disabled):not(.disabled).active,.show>.btn-outline-dark.dropdown-toggle{color:#fff;background-color:#272B30;border-color:#272B30}.btn-outline-dark:not(:disabled):not(.disabled):active:focus,.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.show>.btn-outline-dark.dropdown-toggle:focus{-webkit-box-shadow:0 0 0 0.2rem rgba(39,43,48,0.5);box-shadow:0 0 0 0.2rem rgba(39,43,48,0.5)}.btn-link{font-weight:400;color:#fff;text-decoration:none}.btn-link:hover{color:#d9d9d9;text-decoration:underline}.btn-link:focus,.btn-link.focus{text-decoration:underline;-webkit-box-shadow:none;box-shadow:none}.btn-link:disabled,.btn-link.disabled{color:#7A8288;pointer-events:none}.btn-lg,.btn-group-lg>.btn{padding:0.5rem 1rem;font-size:1.171875rem;line-height:1.5;border-radius:0.3rem}.btn-sm,.btn-group-sm>.btn{padding:0.25rem 0.5rem;font-size:0.8203125rem;line-height:1.5;border-radius:0.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:0.5rem}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{-webkit-transition:opacity 0.15s linear;transition:opacity 0.15s linear}@media (prefers-reduced-motion: reduce){.fade{-webkit-transition:none;transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height 0.35s ease;transition:height 0.35s ease}@media (prefers-reduced-motion: reduce){.collapsing{-webkit-transition:none;transition:none}}.dropup,.dropright,.dropdown,.dropleft{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:0.255em;vertical-align:0.255em;content:"";border-top:0.3em solid;border-right:0.3em solid transparent;border-bottom:0;border-left:0.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:0.5rem 0;margin:0.125rem 0 0;font-size:0.9375rem;color:#aaa;text-align:left;list-style:none;background-color:#3A3F44;background-clip:padding-box;border:1px solid rgba(0,0,0,0.6);border-radius:0.25rem}.dropdown-menu-left{right:auto;left:0}.dropdown-menu-right{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-left{right:auto;left:0}.dropdown-menu-sm-right{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-left{right:auto;left:0}.dropdown-menu-md-right{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-left{right:auto;left:0}.dropdown-menu-lg-right{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-left{right:auto;left:0}.dropdown-menu-xl-right{right:0;left:auto}}.dropup .dropdown-menu{top:auto;bottom:100%;margin-top:0;margin-bottom:0.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:0.255em;vertical-align:0.255em;content:"";border-top:0;border-right:0.3em solid transparent;border-bottom:0.3em solid;border-left:0.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:0.125rem}.dropright .dropdown-toggle::after{display:inline-block;margin-left:0.255em;vertical-align:0.255em;content:"";border-top:0.3em solid transparent;border-right:0;border-bottom:0.3em solid transparent;border-left:0.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:0.125rem}.dropleft .dropdown-toggle::after{display:inline-block;margin-left:0.255em;vertical-align:0.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;margin-right:0.255em;vertical-align:0.255em;content:"";border-top:0.3em solid transparent;border-right:0.3em solid;border-bottom:0.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-menu[x-placement^="top"],.dropdown-menu[x-placement^="right"],.dropdown-menu[x-placement^="bottom"],.dropdown-menu[x-placement^="left"]{right:auto;bottom:auto}.dropdown-divider{height:0;margin:0.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,0.15)}.dropdown-item{display:block;width:100%;padding:0.25rem 1.5rem;clear:both;font-weight:400;color:#aaa;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:#fff;text-decoration:none;background-color:#272B30}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#3A3F44}.dropdown-item.disabled,.dropdown-item:disabled{color:#7A8288;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:0.5rem 1.5rem;margin-bottom:0;font-size:0.8203125rem;color:#7A8288;white-space:nowrap}.dropdown-item-text{display:block;padding:0.25rem 1.5rem;color:#aaa}.btn-group,.btn-group-vertical{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover{z-index:1}.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn:not(:first-child),.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:not(:first-child),.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:0.75rem;padding-left:0.75rem}.dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after,.dropright .dropdown-toggle-split::after{margin-left:0}.dropleft .dropdown-toggle-split::before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:0.375rem;padding-left:0.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:0.75rem;padding-left:0.75rem}.btn-group-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.btn-group-toggle>.btn,.btn-group-toggle>.btn-group>.btn{margin-bottom:0}.btn-group-toggle>.btn input[type="radio"],.btn-group-toggle>.btn input[type="checkbox"],.btn-group-toggle>.btn-group>.btn input[type="radio"],.btn-group-toggle>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.input-group{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-control-plaintext,.input-group>.custom-select,.input-group>.custom-file{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;margin-bottom:0}.input-group>.form-control+.form-control,.input-group>.form-control+.custom-select,.input-group>.form-control+.custom-file,.input-group>.form-control-plaintext+.form-control,.input-group>.form-control-plaintext+.custom-select,.input-group>.form-control-plaintext+.custom-file,.input-group>.custom-select+.form-control,.input-group>.custom-select+.custom-select,.input-group>.custom-select+.custom-file,.input-group>.custom-file+.form-control,.input-group>.custom-file+.custom-select,.input-group>.custom-file+.custom-file{margin-left:-1px}.input-group>.form-control:focus,.input-group>.custom-select:focus,.input-group>.custom-file .custom-file-input:focus ~ .custom-file-label{z-index:3}.input-group>.custom-file .custom-file-input:focus{z-index:4}.input-group>.form-control:not(:last-child),.input-group>.custom-select:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.form-control:not(:first-child),.input-group>.custom-select:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.custom-file{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.input-group>.custom-file:not(:last-child) .custom-file-label,.input-group>.custom-file:not(:last-child) .custom-file-label::after{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.custom-file:not(:first-child) .custom-file-label{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-prepend,.input-group-append{display:-webkit-box;display:-ms-flexbox;display:flex}.input-group-prepend .btn,.input-group-append .btn{position:relative;z-index:2}.input-group-prepend .btn:focus,.input-group-append .btn:focus{z-index:3}.input-group-prepend .btn+.btn,.input-group-prepend .btn+.input-group-text,.input-group-prepend .input-group-text+.input-group-text,.input-group-prepend .input-group-text+.btn,.input-group-append .btn+.btn,.input-group-append .btn+.input-group-text,.input-group-append .input-group-text+.input-group-text,.input-group-append .input-group-text+.btn{margin-left:-1px}.input-group-prepend{margin-right:-1px}.input-group-append{margin-left:-1px}.input-group-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0.75rem 1rem;margin-bottom:0;font-size:0.9375rem;font-weight:400;line-height:1.5;color:#52575C;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:0.25rem}.input-group-text input[type="radio"],.input-group-text input[type="checkbox"]{margin-top:0}.input-group-lg>.form-control:not(textarea),.input-group-lg>.custom-select{height:calc(1.5em + 1rem + 2px)}.input-group-lg>.form-control,.input-group-lg>.custom-select,.input-group-lg>.input-group-prepend>.input-group-text,.input-group-lg>.input-group-append>.input-group-text,.input-group-lg>.input-group-prepend>.btn,.input-group-lg>.input-group-append>.btn{padding:0.5rem 1rem;font-size:1.171875rem;line-height:1.5;border-radius:0.3rem}.input-group-sm>.form-control:not(textarea),.input-group-sm>.custom-select{height:calc(1.5em + 0.5rem + 2px)}.input-group-sm>.form-control,.input-group-sm>.custom-select,.input-group-sm>.input-group-prepend>.input-group-text,.input-group-sm>.input-group-append>.input-group-text,.input-group-sm>.input-group-prepend>.btn,.input-group-sm>.input-group-append>.btn{padding:0.25rem 0.5rem;font-size:0.8203125rem;line-height:1.5;border-radius:0.2rem}.input-group-lg>.custom-select,.input-group-sm>.custom-select{padding-right:2rem}.input-group>.input-group-prepend>.btn,.input-group>.input-group-prepend>.input-group-text,.input-group>.input-group-append:not(:last-child)>.btn,.input-group>.input-group-append:not(:last-child)>.input-group-text,.input-group>.input-group-append:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group>.input-group-append:last-child>.input-group-text:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.custom-control{position:relative;display:block;min-height:1.40625rem;padding-left:1.5rem}.custom-control-inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:1rem}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked ~ .custom-control-label::before{color:#fff;border-color:#3A3F44;background-color:#3A3F44}.custom-control-input:focus ~ .custom-control-label::before{-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25)}.custom-control-input:focus:not(:checked) ~ .custom-control-label::before{border-color:#757f89}.custom-control-input:not(:disabled):active ~ .custom-control-label::before{color:#fff;background-color:#9098a0;border-color:#9098a0}.custom-control-input:disabled ~ .custom-control-label{color:#7A8288}.custom-control-input:disabled ~ .custom-control-label::before{background-color:#ccc}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:0.203125rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#999 solid 1px}.custom-control-label::after{position:absolute;top:0.203125rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50% / 50% 50%}.custom-checkbox .custom-control-label::before{border-radius:0.25rem}.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before{border-color:#3A3F44;background-color:#3A3F44}.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")}.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before{background-color:rgba(58,63,68,0.5)}.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before{background-color:rgba(58,63,68,0.5)}.custom-radio .custom-control-label::before{border-radius:50%}.custom-radio .custom-control-input:checked ~ .custom-control-label::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before{background-color:rgba(58,63,68,0.5)}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:0.5rem}.custom-switch .custom-control-label::after{top:calc(0.203125rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#999;border-radius:0.5rem;-webkit-transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.custom-switch .custom-control-label::after{-webkit-transition:none;transition:none}}.custom-switch .custom-control-input:checked ~ .custom-control-label::after{background-color:#fff;-webkit-transform:translateX(0.75rem);transform:translateX(0.75rem)}.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before{background-color:rgba(58,63,68,0.5)}.custom-select{display:inline-block;width:100%;height:calc(1.5em + 1.5rem + 2px);padding:0.75rem 2rem 0.75rem 1rem;font-size:0.9375rem;font-weight:400;line-height:1.5;color:#52575C;vertical-align:middle;background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%233A3F44' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 1rem center/8px 10px;background-color:#fff;border:1px solid #ced4da;border-radius:0.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select:focus{border-color:#757f89;outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25)}.custom-select:focus::-ms-value{color:#52575C;background-color:#fff}.custom-select[multiple],.custom-select[size]:not([size="1"]){height:auto;padding-right:1rem;background-image:none}.custom-select:disabled{color:#7A8288;background-color:#e9ecef}.custom-select::-ms-expand{display:none}.custom-select-sm{height:calc(1.5em + 0.5rem + 2px);padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;font-size:0.8203125rem}.custom-select-lg{height:calc(1.5em + 1rem + 2px);padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;font-size:1.171875rem}.custom-file{position:relative;display:inline-block;width:100%;height:calc(1.5em + 1.5rem + 2px);margin-bottom:0}.custom-file-input{position:relative;z-index:2;width:100%;height:calc(1.5em + 1.5rem + 2px);margin:0;opacity:0}.custom-file-input:focus ~ .custom-file-label{border-color:#757f89;-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25)}.custom-file-input:disabled ~ .custom-file-label{background-color:#ccc}.custom-file-input:lang(en) ~ .custom-file-label::after{content:"Browse"}.custom-file-input ~ .custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + 1.5rem + 2px);padding:0.75rem 1rem;font-weight:400;line-height:1.5;color:#52575C;background-color:#fff;border:1px solid #ced4da;border-radius:0.25rem}.custom-file-label::after{position:absolute;top:0;right:0;bottom:0;z-index:3;display:block;height:calc(1.5em + 1.5rem);padding:0.75rem 1rem;line-height:1.5;color:#52575C;content:"Browse";background-color:#e9ecef;border-left:inherit;border-radius:0 0.25rem 0.25rem 0}.custom-range{width:100%;height:calc(1rem + 0.4rem);padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-range:focus{outline:none}.custom-range:focus::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 1px #272B30,0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 1px #272B30,0 0 0 0.2rem rgba(58,63,68,0.25)}.custom-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #272B30,0 0 0 0.2rem rgba(58,63,68,0.25)}.custom-range:focus::-ms-thumb{box-shadow:0 0 0 1px #272B30,0 0 0 0.2rem rgba(58,63,68,0.25)}.custom-range::-moz-focus-outer{border:0}.custom-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-0.25rem;background-color:#3A3F44;border:0;border-radius:1rem;-webkit-transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.custom-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.custom-range::-webkit-slider-thumb:active{background-color:#9098a0}.custom-range::-webkit-slider-runnable-track{width:100%;height:0.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#3A3F44;border:0;border-radius:1rem;-webkit-transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.custom-range::-moz-range-thumb{-webkit-transition:none;transition:none}}.custom-range::-moz-range-thumb:active{background-color:#9098a0}.custom-range::-moz-range-track{width:100%;height:0.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.custom-range::-ms-thumb{width:1rem;height:1rem;margin-top:0;margin-right:0.2rem;margin-left:0.2rem;background-color:#3A3F44;border:0;border-radius:1rem;-webkit-transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.custom-range::-ms-thumb{-webkit-transition:none;transition:none}}.custom-range::-ms-thumb:active{background-color:#9098a0}.custom-range::-ms-track{width:100%;height:0.5rem;color:transparent;cursor:pointer;background-color:transparent;border-color:transparent;border-width:0.5rem}.custom-range::-ms-fill-lower{background-color:#dee2e6;border-radius:1rem}.custom-range::-ms-fill-upper{margin-right:15px;background-color:#dee2e6;border-radius:1rem}.custom-range:disabled::-webkit-slider-thumb{background-color:#999}.custom-range:disabled::-webkit-slider-runnable-track{cursor:default}.custom-range:disabled::-moz-range-thumb{background-color:#999}.custom-range:disabled::-moz-range-track{cursor:default}.custom-range:disabled::-ms-thumb{background-color:#999}.custom-control-label::before,.custom-file-label,.custom-select{-webkit-transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.custom-control-label::before,.custom-file-label,.custom-select{-webkit-transition:none;transition:none}}.nav{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:0.5rem 1rem}.nav-link:hover,.nav-link:focus{text-decoration:none}.nav-link.disabled{color:#7A8288;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid rgba(0,0,0,0.6)}.nav-tabs .nav-item{margin-bottom:-1px}.nav-tabs .nav-link{border:1px solid transparent;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{border-color:rgba(0,0,0,0.6)}.nav-tabs .nav-link.disabled{color:#7A8288;background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:#fff;background-color:#272B30;border-color:rgba(0,0,0,0.6)}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{border-radius:0.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#3A3F44}.nav-fill .nav-item{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center}.nav-justified .nav-item{-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:center}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 1rem}.navbar>.container,.navbar>.container-fluid{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.navbar-brand{display:inline-block;padding-top:0.32421875rem;padding-bottom:0.32421875rem;margin-right:1rem;font-size:1.171875rem;line-height:inherit;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static;float:none}.navbar-text{display:inline-block;padding-top:0.5rem;padding-bottom:0.5rem}.navbar-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-toggler{padding:0.25rem 0.75rem;font-size:1.171875rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:0.25rem}.navbar-toggler:hover,.navbar-toggler:focus{text-decoration:none}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;content:"";background:no-repeat center center;background-size:100% 100%}@media (max-width: 575.98px){.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{padding-right:0;padding-left:0}}@media (min-width: 576px){.navbar-expand-sm{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-sm .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:0.5rem;padding-left:0.5rem}.navbar-expand-sm>.container,.navbar-expand-sm>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-sm .navbar-collapse{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (max-width: 767.98px){.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{padding-right:0;padding-left:0}}@media (min-width: 768px){.navbar-expand-md{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-md .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:0.5rem;padding-left:0.5rem}.navbar-expand-md>.container,.navbar-expand-md>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-md .navbar-collapse{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (max-width: 991.98px){.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{padding-right:0;padding-left:0}}@media (min-width: 992px){.navbar-expand-lg{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-lg .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:0.5rem;padding-left:0.5rem}.navbar-expand-lg>.container,.navbar-expand-lg>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-lg .navbar-collapse{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (max-width: 1199.98px){.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{padding-right:0;padding-left:0}}@media (min-width: 1200px){.navbar-expand-xl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand-xl .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:0.5rem;padding-left:0.5rem}.navbar-expand-xl>.container,.navbar-expand-xl>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand-xl .navbar-collapse{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}.navbar-expand{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.navbar-expand>.container,.navbar-expand>.container-fluid{padding-right:0;padding-left:0}.navbar-expand .navbar-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:0.5rem;padding-left:0.5rem}.navbar-expand>.container,.navbar-expand>.container-fluid{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.navbar-expand .navbar-collapse{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-ms-flex-preferred-size:auto;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-light .navbar-brand{color:#3A3F44}.navbar-light .navbar-brand:hover,.navbar-light .navbar-brand:focus{color:#3A3F44}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,0.5)}.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link:focus{color:#3A3F44}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,0.3)}.navbar-light .navbar-nav .show>.nav-link,.navbar-light .navbar-nav .active>.nav-link,.navbar-light .navbar-nav .nav-link.show,.navbar-light .navbar-nav .nav-link.active{color:#3A3F44}.navbar-light .navbar-toggler{color:rgba(0,0,0,0.5);border-color:rgba(0,0,0,0.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,0.5)}.navbar-light .navbar-text a{color:#3A3F44}.navbar-light .navbar-text a:hover,.navbar-light .navbar-text a:focus{color:#3A3F44}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:hover,.navbar-dark .navbar-brand:focus{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,0.5)}.navbar-dark .navbar-nav .nav-link:hover,.navbar-dark .navbar-nav .nav-link:focus{color:#fff}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,0.25)}.navbar-dark .navbar-nav .show>.nav-link,.navbar-dark .navbar-nav .active>.nav-link,.navbar-dark .navbar-nav .nav-link.show,.navbar-dark .navbar-nav .nav-link.active{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,0.5);border-color:rgba(255,255,255,0.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,0.5)}.navbar-dark .navbar-text a{color:#fff}.navbar-dark .navbar-text a:hover,.navbar-dark .navbar-text a:focus{color:#fff}.card{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#32383e;background-clip:border-box;border:1px solid rgba(0,0,0,0.6);border-radius:0.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group:first-child .list-group-item:first-child{border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}.card-body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.card-title{margin-bottom:0.75rem}.card-subtitle{margin-top:-0.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card-header{padding:0.75rem 1.25rem;margin-bottom:0;background-color:#515960;border-bottom:1px solid rgba(0,0,0,0.6)}.card-header:first-child{border-radius:calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0}.card-header+.list-group .list-group-item:first-child{border-top:0}.card-footer{padding:0.75rem 1.25rem;background-color:#515960;border-top:1px solid rgba(0,0,0,0.6)}.card-footer:last-child{border-radius:0 0 calc(0.25rem - 1px) calc(0.25rem - 1px)}.card-header-tabs{margin-right:-0.625rem;margin-bottom:-0.75rem;margin-left:-0.625rem;border-bottom:0}.card-header-pills{margin-right:-0.625rem;margin-left:-0.625rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img{width:100%;border-radius:calc(0.25rem - 1px)}.card-img-top{width:100%;border-top-left-radius:calc(0.25rem - 1px);border-top-right-radius:calc(0.25rem - 1px)}.card-img-bottom{width:100%;border-bottom-right-radius:calc(0.25rem - 1px);border-bottom-left-radius:calc(0.25rem - 1px)}.card-deck{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.card-deck .card{margin-bottom:15px}@media (min-width: 576px){.card-deck{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;margin-right:-15px;margin-left:-15px}.card-deck .card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-right:15px;margin-bottom:0;margin-left:15px}}.card-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.card-group>.card{margin-bottom:15px}@media (min-width: 576px){.card-group{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.card-group>.card{-webkit-box-flex:1;-ms-flex:1 0 0%;flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.card-columns .card{margin-bottom:0.75rem}@media (min-width: 576px){.card-columns{-webkit-column-count:3;column-count:3;-webkit-column-gap:1.25rem;column-gap:1.25rem;orphans:1;widows:1}.card-columns .card{display:inline-block;width:100%}}.accordion>.card{overflow:hidden}.accordion>.card:not(:first-of-type) .card-header:first-child{border-radius:0}.accordion>.card:not(:first-of-type):not(:last-of-type){border-bottom:0;border-radius:0}.accordion>.card:first-of-type{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.accordion>.card:last-of-type{border-top-left-radius:0;border-top-right-radius:0}.accordion>.card .card-header{margin-bottom:-1px}.breadcrumb{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#e9ecef;border-radius:0.25rem}.breadcrumb-item+.breadcrumb-item{padding-left:0.5rem}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:0.5rem;color:#7A8288;content:"/"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#999}.pagination{display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:0;list-style:none;border-radius:0.25rem}.page-link{position:relative;display:block;padding:0.5rem 0.75rem;margin-left:-1px;line-height:1.25;color:#fff;background-color:transparent;border:1px solid rgba(0,0,0,0.6)}.page-link:hover{z-index:2;color:#fff;text-decoration:none;background-color:transparent;border-color:rgba(0,0,0,0.6)}.page-link:focus{z-index:2;outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.25)}.page-item:first-child .page-link{margin-left:0;border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem}.page-item:last-child .page-link{border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem}.page-item.active .page-link{z-index:1;color:#fff;background-color:transparent;border-color:rgba(0,0,0,0.6)}.page-item.disabled .page-link{color:#7A8288;pointer-events:none;cursor:auto;background-color:transparent;border-color:rgba(0,0,0,0.6)}.pagination-lg .page-link{padding:0.75rem 1.5rem;font-size:1.171875rem;line-height:1.5}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:0.3rem;border-bottom-left-radius:0.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem}.pagination-sm .page-link{padding:0.25rem 0.5rem;font-size:0.8203125rem;line-height:1.5}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:0.2rem;border-bottom-left-radius:0.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:0.2rem;border-bottom-right-radius:0.2rem}.badge{display:inline-block;padding:0.25em 0.4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:0.25rem;-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out}@media (prefers-reduced-motion: reduce){.badge{-webkit-transition:none;transition:none}}a.badge:hover,a.badge:focus{text-decoration:none}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.badge-pill{padding-right:0.6em;padding-left:0.6em;border-radius:10rem}.badge-primary{color:#fff;background-color:#3A3F44}a.badge-primary:hover,a.badge-primary:focus{color:#fff;background-color:#232628}a.badge-primary:focus,a.badge-primary.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(58,63,68,0.5);box-shadow:0 0 0 0.2rem rgba(58,63,68,0.5)}.badge-secondary{color:#fff;background-color:#7A8288}a.badge-secondary:hover,a.badge-secondary:focus{color:#fff;background-color:#62686d}a.badge-secondary:focus,a.badge-secondary.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(122,130,136,0.5);box-shadow:0 0 0 0.2rem rgba(122,130,136,0.5)}.badge-success{color:#fff;background-color:#62c462}a.badge-success:hover,a.badge-success:focus{color:#fff;background-color:#42b142}a.badge-success:focus,a.badge-success.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(98,196,98,0.5);box-shadow:0 0 0 0.2rem rgba(98,196,98,0.5)}.badge-info{color:#fff;background-color:#5bc0de}a.badge-info:hover,a.badge-info:focus{color:#fff;background-color:#31b0d5}a.badge-info:focus,a.badge-info.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(91,192,222,0.5);box-shadow:0 0 0 0.2rem rgba(91,192,222,0.5)}.badge-warning{color:#fff;background-color:#f89406}a.badge-warning:hover,a.badge-warning:focus{color:#fff;background-color:#c67605}a.badge-warning:focus,a.badge-warning.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(248,148,6,0.5);box-shadow:0 0 0 0.2rem rgba(248,148,6,0.5)}.badge-danger{color:#fff;background-color:#ee5f5b}a.badge-danger:hover,a.badge-danger:focus{color:#fff;background-color:#e9322d}a.badge-danger:focus,a.badge-danger.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(238,95,91,0.5);box-shadow:0 0 0 0.2rem rgba(238,95,91,0.5)}.badge-light{color:#272B30;background-color:#e9ecef}a.badge-light:hover,a.badge-light:focus{color:#272B30;background-color:#cbd3da}a.badge-light:focus,a.badge-light.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(233,236,239,0.5);box-shadow:0 0 0 0.2rem rgba(233,236,239,0.5)}.badge-dark{color:#fff;background-color:#272B30}a.badge-dark:hover,a.badge-dark:focus{color:#fff;background-color:#101214}a.badge-dark:focus,a.badge-dark.focus{outline:0;-webkit-box-shadow:0 0 0 0.2rem rgba(39,43,48,0.5);box-shadow:0 0 0 0.2rem rgba(39,43,48,0.5)}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#1c1e22;border-radius:0.3rem}@media (min-width: 576px){.jumbotron{padding:4rem 2rem}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{position:relative;padding:0.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:0.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3.90625rem}.alert-dismissible .close{position:absolute;top:0;right:0;padding:0.75rem 1.25rem;color:inherit}.alert-primary{color:#1e2123;background-color:#d8d9da;border-color:#c8c9cb}.alert-primary hr{border-top-color:#bbbcbf}.alert-primary .alert-link{color:#060708}.alert-secondary{color:#3f4447;background-color:#e4e6e7;border-color:#dadcde}.alert-secondary hr{border-top-color:#cdcfd2}.alert-secondary .alert-link{color:#272a2c}.alert-success{color:#336633;background-color:#e0f3e0;border-color:#d3eed3}.alert-success hr{border-top-color:#c1e7c1}.alert-success .alert-link{color:#224422}.alert-info{color:#2f6473;background-color:#def2f8;border-color:#d1edf6}.alert-info hr{border-top-color:#bce5f2}.alert-info .alert-link{color:#20454f}.alert-warning{color:#814d03;background-color:#feeacd;border-color:#fde1b9}.alert-warning hr{border-top-color:#fcd6a0}.alert-warning .alert-link{color:#4f2f02}.alert-danger{color:#7c312f;background-color:#fcdfde;border-color:#fad2d1}.alert-danger hr{border-top-color:#f8bcba}.alert-danger .alert-link{color:#572221}.alert-light{color:#797b7c;background-color:#fbfbfc;border-color:#f9fafb}.alert-light hr{border-top-color:#eaedf1}.alert-light .alert-link{color:#606162}.alert-dark{color:#141619;background-color:#d4d5d6;border-color:#c3c4c5}.alert-dark hr{border-top-color:#b6b7b8}.alert-dark .alert-link{color:black}@-webkit-keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:-webkit-box;display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:0.703125rem;background-color:#1c1e22;border-radius:0.25rem}.progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#7A8288;text-align:center;white-space:nowrap;background-color:#3A3F44;-webkit-transition:width 0.6s ease;transition:width 0.6s ease}@media (prefers-reduced-motion: reduce){.progress-bar{-webkit-transition:none;transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite}@media (prefers-reduced-motion: reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.media{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.media-body{-webkit-box-flex:1;-ms-flex:1;flex:1}.list-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#fff;text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:#fff;text-decoration:none;background-color:#3e444c}.list-group-item-action:active{color:#aaa;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:0.75rem 1.25rem;margin-bottom:-1px;background-color:#32383e;border:1px solid rgba(0,0,0,0.6)}.list-group-item:first-child{border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}.list-group-item.disabled,.list-group-item:disabled{color:#52575C;pointer-events:none;background-color:#32383e}.list-group-item.active{z-index:2;color:#fff;background-color:#3e444c;border-color:rgba(0,0,0,0.6)}.list-group-horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal .list-group-item:first-child{border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem;border-top-right-radius:0}.list-group-horizontal .list-group-item:last-child{margin-right:0;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0}@media (min-width: 576px){.list-group-horizontal-sm{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-sm .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-sm .list-group-item:first-child{border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem;border-top-right-radius:0}.list-group-horizontal-sm .list-group-item:last-child{margin-right:0;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0}}@media (min-width: 768px){.list-group-horizontal-md{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-md .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-md .list-group-item:first-child{border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem;border-top-right-radius:0}.list-group-horizontal-md .list-group-item:last-child{margin-right:0;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0}}@media (min-width: 992px){.list-group-horizontal-lg{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-lg .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-lg .list-group-item:first-child{border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem;border-top-right-radius:0}.list-group-horizontal-lg .list-group-item:last-child{margin-right:0;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0}}@media (min-width: 1200px){.list-group-horizontal-xl{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.list-group-horizontal-xl .list-group-item{margin-right:-1px;margin-bottom:0}.list-group-horizontal-xl .list-group-item:first-child{border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem;border-top-right-radius:0}.list-group-horizontal-xl .list-group-item:last-child{margin-right:0;border-top-right-radius:0.25rem;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0}}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush .list-group-item:last-child{margin-bottom:-1px}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{margin-bottom:0;border-bottom:0}.list-group-item-primary{color:#1e2123;background-color:#c8c9cb}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#1e2123;background-color:#bbbcbf}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#1e2123;border-color:#1e2123}.list-group-item-secondary{color:#3f4447;background-color:#dadcde}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#3f4447;background-color:#cdcfd2}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#3f4447;border-color:#3f4447}.list-group-item-success{color:#336633;background-color:#d3eed3}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#336633;background-color:#c1e7c1}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#336633;border-color:#336633}.list-group-item-info{color:#2f6473;background-color:#d1edf6}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#2f6473;background-color:#bce5f2}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#2f6473;border-color:#2f6473}.list-group-item-warning{color:#814d03;background-color:#fde1b9}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#814d03;background-color:#fcd6a0}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#814d03;border-color:#814d03}.list-group-item-danger{color:#7c312f;background-color:#fad2d1}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#7c312f;background-color:#f8bcba}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#7c312f;border-color:#7c312f}.list-group-item-light{color:#797b7c;background-color:#f9fafb}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#797b7c;background-color:#eaedf1}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#797b7c;border-color:#797b7c}.list-group-item-dark{color:#141619;background-color:#c3c4c5}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#b6b7b8}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.close{float:right;font-size:1.40625rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5}.close:hover{color:#000;text-decoration:none}.close:not(:disabled):not(.disabled):hover,.close:not(:disabled):not(.disabled):focus{opacity:.75}button.close{padding:0;background-color:transparent;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}a.close.disabled{pointer-events:none}.toast{max-width:350px;overflow:hidden;font-size:0.875rem;background-color:rgba(255,255,255,0.85);background-clip:padding-box;border:1px solid rgba(0,0,0,0.1);-webkit-box-shadow:0 0.25rem 0.75rem rgba(0,0,0,0.1);box-shadow:0 0.25rem 0.75rem rgba(0,0,0,0.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;border-radius:0.25rem}.toast:not(:last-child){margin-bottom:0.75rem}.toast.showing{opacity:1}.toast.show{display:block;opacity:1}.toast.hide{display:none}.toast-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0.25rem 0.75rem;color:#7A8288;background-color:rgba(255,255,255,0.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,0.05)}.toast-body{padding:0.75rem}.modal-open{overflow:hidden}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal{position:fixed;top:0;left:0;z-index:1050;display:none;width:100%;height:100%;overflow:hidden;outline:0}.modal-dialog{position:relative;width:auto;margin:0.5rem;pointer-events:none}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform 0.3s ease-out;transition:-webkit-transform 0.3s ease-out;transition:transform 0.3s ease-out;transition:transform 0.3s ease-out, -webkit-transform 0.3s ease-out;-webkit-transform:translate(0, -50px);transform:translate(0, -50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{-webkit-transition:none;transition:none}}.modal.show .modal-dialog{-webkit-transform:none;transform:none}.modal-dialog-scrollable{display:-webkit-box;display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-header,.modal-dialog-scrollable .modal-footer{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);content:""}.modal-dialog-centered.modal-dialog-scrollable{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-content{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;pointer-events:auto;background-color:#32383e;background-clip:padding-box;border:1px solid rgba(0,0,0,0.2);border-radius:0.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:0.5}.modal-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid rgba(0,0,0,0.2);border-top-left-radius:0.3rem;border-top-right-radius:0.3rem}.modal-header .close{padding:1rem 1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem}.modal-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:1rem;border-top:1px solid rgba(0,0,0,0.2);border-bottom-right-radius:0.3rem;border-bottom-left-radius:0.3rem}.modal-footer>:not(:first-child){margin-left:.25rem}.modal-footer>:not(:last-child){margin-right:.25rem}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width: 576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-dialog-centered::before{height:calc(100vh - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width: 992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width: 1200px){.modal-xl{max-width:1140px}}.tooltip{position:absolute;z-index:1070;display:block;margin:0;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:0.8203125rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:0.9}.tooltip .arrow{position:absolute;display:block;width:0.8rem;height:0.4rem}.tooltip .arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top,.bs-tooltip-auto[x-placement^="top"]{padding:0.4rem 0}.bs-tooltip-top .arrow,.bs-tooltip-auto[x-placement^="top"] .arrow{bottom:0}.bs-tooltip-top .arrow::before,.bs-tooltip-auto[x-placement^="top"] .arrow::before{top:0;border-width:0.4rem 0.4rem 0;border-top-color:#000}.bs-tooltip-right,.bs-tooltip-auto[x-placement^="right"]{padding:0 0.4rem}.bs-tooltip-right .arrow,.bs-tooltip-auto[x-placement^="right"] .arrow{left:0;width:0.4rem;height:0.8rem}.bs-tooltip-right .arrow::before,.bs-tooltip-auto[x-placement^="right"] .arrow::before{right:0;border-width:0.4rem 0.4rem 0.4rem 0;border-right-color:#000}.bs-tooltip-bottom,.bs-tooltip-auto[x-placement^="bottom"]{padding:0.4rem 0}.bs-tooltip-bottom .arrow,.bs-tooltip-auto[x-placement^="bottom"] .arrow{top:0}.bs-tooltip-bottom .arrow::before,.bs-tooltip-auto[x-placement^="bottom"] .arrow::before{bottom:0;border-width:0 0.4rem 0.4rem;border-bottom-color:#000}.bs-tooltip-left,.bs-tooltip-auto[x-placement^="left"]{padding:0 0.4rem}.bs-tooltip-left .arrow,.bs-tooltip-auto[x-placement^="left"] .arrow{right:0;width:0.4rem;height:0.8rem}.bs-tooltip-left .arrow::before,.bs-tooltip-auto[x-placement^="left"] .arrow::before{left:0;border-width:0.4rem 0 0.4rem 0.4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:0.25rem 0.5rem;color:#fff;text-align:center;background-color:#000;border-radius:0.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:0.8203125rem;word-wrap:break-word;background-color:#32383e;background-clip:padding-box;border:1px solid rgba(0,0,0,0.2);border-radius:0.3rem}.popover .arrow{position:absolute;display:block;width:1rem;height:0.5rem;margin:0 0.3rem}.popover .arrow::before,.popover .arrow::after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-top,.bs-popover-auto[x-placement^="top"]{margin-bottom:0.5rem}.bs-popover-top>.arrow,.bs-popover-auto[x-placement^="top"]>.arrow{bottom:calc((0.5rem + 1px) * -1)}.bs-popover-top>.arrow::before,.bs-popover-auto[x-placement^="top"]>.arrow::before{bottom:0;border-width:0.5rem 0.5rem 0;border-top-color:rgba(0,0,0,0.25)}.bs-popover-top>.arrow::after,.bs-popover-auto[x-placement^="top"]>.arrow::after{bottom:1px;border-width:0.5rem 0.5rem 0;border-top-color:#32383e}.bs-popover-right,.bs-popover-auto[x-placement^="right"]{margin-left:0.5rem}.bs-popover-right>.arrow,.bs-popover-auto[x-placement^="right"]>.arrow{left:calc((0.5rem + 1px) * -1);width:0.5rem;height:1rem;margin:0.3rem 0}.bs-popover-right>.arrow::before,.bs-popover-auto[x-placement^="right"]>.arrow::before{left:0;border-width:0.5rem 0.5rem 0.5rem 0;border-right-color:rgba(0,0,0,0.25)}.bs-popover-right>.arrow::after,.bs-popover-auto[x-placement^="right"]>.arrow::after{left:1px;border-width:0.5rem 0.5rem 0.5rem 0;border-right-color:#32383e}.bs-popover-bottom,.bs-popover-auto[x-placement^="bottom"]{margin-top:0.5rem}.bs-popover-bottom>.arrow,.bs-popover-auto[x-placement^="bottom"]>.arrow{top:calc((0.5rem + 1px) * -1)}.bs-popover-bottom>.arrow::before,.bs-popover-auto[x-placement^="bottom"]>.arrow::before{top:0;border-width:0 0.5rem 0.5rem 0.5rem;border-bottom-color:rgba(0,0,0,0.25)}.bs-popover-bottom>.arrow::after,.bs-popover-auto[x-placement^="bottom"]>.arrow::after{top:1px;border-width:0 0.5rem 0.5rem 0.5rem;border-bottom-color:#32383e}.bs-popover-bottom .popover-header::before,.bs-popover-auto[x-placement^="bottom"] .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-0.5rem;content:"";border-bottom:1px solid #2c3036}.bs-popover-left,.bs-popover-auto[x-placement^="left"]{margin-right:0.5rem}.bs-popover-left>.arrow,.bs-popover-auto[x-placement^="left"]>.arrow{right:calc((0.5rem + 1px) * -1);width:0.5rem;height:1rem;margin:0.3rem 0}.bs-popover-left>.arrow::before,.bs-popover-auto[x-placement^="left"]>.arrow::before{right:0;border-width:0.5rem 0 0.5rem 0.5rem;border-left-color:rgba(0,0,0,0.25)}.bs-popover-left>.arrow::after,.bs-popover-auto[x-placement^="left"]>.arrow::after{right:1px;border-width:0.5rem 0 0.5rem 0.5rem;border-left-color:#32383e}.popover-header{padding:0.5rem 0.75rem;margin-bottom:0;font-size:0.9375rem;background-color:#2c3036;border-bottom:1px solid #202328;border-top-left-radius:calc(0.3rem - 1px);border-top-right-radius:calc(0.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:0.5rem 0.75rem;color:#aaa}.carousel{position:relative}.carousel.pointer-event{-ms-touch-action:pan-y;touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:-webkit-transform 0.6s ease-in-out;transition:-webkit-transform 0.6s ease-in-out;transition:transform 0.6s ease-in-out;transition:transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{-webkit-transition:none;transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-left),.active.carousel-item-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.carousel-item-prev:not(.carousel-item-right),.active.carousel-item-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transform:none;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right{z-index:1;opacity:1}.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{z-index:0;opacity:0;-webkit-transition:0s 0.6s opacity;transition:0s 0.6s opacity}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{-webkit-transition:none;transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:15%;color:#fff;text-align:center;opacity:0.5;-webkit-transition:opacity 0.15s ease;transition:opacity 0.15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{-webkit-transition:none;transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:0.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:20px;height:20px;background:no-repeat 50% / 100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:15;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:0;margin-right:15%;margin-left:15%;list-style:none}.carousel-indicators li{-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;width:30px;height:3px;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;-webkit-transition:opacity 0.6s ease;transition:opacity 0.6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators li{-webkit-transition:none;transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:0.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}.spinner-border-sm{width:1rem;height:1rem;border-width:0.2em}@-webkit-keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}@keyframes spinner-grow{0%{-webkit-transform:scale(0);transform:scale(0)}50%{opacity:1}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:spinner-grow .75s linear infinite;animation:spinner-grow .75s linear infinite}.spinner-grow-sm{width:1rem;height:1rem}.align-baseline{vertical-align:baseline !important}.align-top{vertical-align:top !important}.align-middle{vertical-align:middle !important}.align-bottom{vertical-align:bottom !important}.align-text-bottom{vertical-align:text-bottom !important}.align-text-top{vertical-align:text-top !important}.bg-primary{background-color:#3A3F44 !important}a.bg-primary:hover,a.bg-primary:focus,button.bg-primary:hover,button.bg-primary:focus{background-color:#232628 !important}.bg-secondary{background-color:#7A8288 !important}a.bg-secondary:hover,a.bg-secondary:focus,button.bg-secondary:hover,button.bg-secondary:focus{background-color:#62686d !important}.bg-success{background-color:#62c462 !important}a.bg-success:hover,a.bg-success:focus,button.bg-success:hover,button.bg-success:focus{background-color:#42b142 !important}.bg-info{background-color:#5bc0de !important}a.bg-info:hover,a.bg-info:focus,button.bg-info:hover,button.bg-info:focus{background-color:#31b0d5 !important}.bg-warning{background-color:#f89406 !important}a.bg-warning:hover,a.bg-warning:focus,button.bg-warning:hover,button.bg-warning:focus{background-color:#c67605 !important}.bg-danger{background-color:#ee5f5b !important}a.bg-danger:hover,a.bg-danger:focus,button.bg-danger:hover,button.bg-danger:focus{background-color:#e9322d !important}.bg-light{background-color:#e9ecef !important}a.bg-light:hover,a.bg-light:focus,button.bg-light:hover,button.bg-light:focus{background-color:#cbd3da !important}.bg-dark{background-color:#272B30 !important}a.bg-dark:hover,a.bg-dark:focus,button.bg-dark:hover,button.bg-dark:focus{background-color:#101214 !important}.bg-white{background-color:#fff !important}.bg-transparent{background-color:transparent !important}.border{border:1px solid #dee2e6 !important}.border-top{border-top:1px solid #dee2e6 !important}.border-right{border-right:1px solid #dee2e6 !important}.border-bottom{border-bottom:1px solid #dee2e6 !important}.border-left{border-left:1px solid #dee2e6 !important}.border-0{border:0 !important}.border-top-0{border-top:0 !important}.border-right-0{border-right:0 !important}.border-bottom-0{border-bottom:0 !important}.border-left-0{border-left:0 !important}.border-primary{border-color:#3A3F44 !important}.border-secondary{border-color:#7A8288 !important}.border-success{border-color:#62c462 !important}.border-info{border-color:#5bc0de !important}.border-warning{border-color:#f89406 !important}.border-danger{border-color:#ee5f5b !important}.border-light{border-color:#e9ecef !important}.border-dark{border-color:#272B30 !important}.border-white{border-color:#fff !important}.rounded-sm{border-radius:0.2rem !important}.rounded{border-radius:0.25rem !important}.rounded-top{border-top-left-radius:0.25rem !important;border-top-right-radius:0.25rem !important}.rounded-right{border-top-right-radius:0.25rem !important;border-bottom-right-radius:0.25rem !important}.rounded-bottom{border-bottom-right-radius:0.25rem !important;border-bottom-left-radius:0.25rem !important}.rounded-left{border-top-left-radius:0.25rem !important;border-bottom-left-radius:0.25rem !important}.rounded-lg{border-radius:0.3rem !important}.rounded-circle{border-radius:50% !important}.rounded-pill{border-radius:50rem !important}.rounded-0{border-radius:0 !important}.clearfix::after{display:block;clear:both;content:""}.d-none{display:none !important}.d-inline{display:inline !important}.d-inline-block{display:inline-block !important}.d-block{display:block !important}.d-table{display:table !important}.d-table-row{display:table-row !important}.d-table-cell{display:table-cell !important}.d-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}.d-inline-flex{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important}@media (min-width: 576px){.d-sm-none{display:none !important}.d-sm-inline{display:inline !important}.d-sm-inline-block{display:inline-block !important}.d-sm-block{display:block !important}.d-sm-table{display:table !important}.d-sm-table-row{display:table-row !important}.d-sm-table-cell{display:table-cell !important}.d-sm-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}.d-sm-inline-flex{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important}}@media (min-width: 768px){.d-md-none{display:none !important}.d-md-inline{display:inline !important}.d-md-inline-block{display:inline-block !important}.d-md-block{display:block !important}.d-md-table{display:table !important}.d-md-table-row{display:table-row !important}.d-md-table-cell{display:table-cell !important}.d-md-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}.d-md-inline-flex{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important}}@media (min-width: 992px){.d-lg-none{display:none !important}.d-lg-inline{display:inline !important}.d-lg-inline-block{display:inline-block !important}.d-lg-block{display:block !important}.d-lg-table{display:table !important}.d-lg-table-row{display:table-row !important}.d-lg-table-cell{display:table-cell !important}.d-lg-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}.d-lg-inline-flex{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important}}@media (min-width: 1200px){.d-xl-none{display:none !important}.d-xl-inline{display:inline !important}.d-xl-inline-block{display:inline-block !important}.d-xl-block{display:block !important}.d-xl-table{display:table !important}.d-xl-table-row{display:table-row !important}.d-xl-table-cell{display:table-cell !important}.d-xl-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}.d-xl-inline-flex{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important}}@media print{.d-print-none{display:none !important}.d-print-inline{display:inline !important}.d-print-inline-block{display:inline-block !important}.d-print-block{display:block !important}.d-print-table{display:table !important}.d-print-table-row{display:table-row !important}.d-print-table-cell{display:table-cell !important}.d-print-flex{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}.d-print-inline-flex{display:-webkit-inline-box !important;display:-ms-inline-flexbox !important;display:inline-flex !important}}.embed-responsive{position:relative;display:block;width:100%;padding:0;overflow:hidden}.embed-responsive::before{display:block;content:""}.embed-responsive .embed-responsive-item,.embed-responsive iframe,.embed-responsive embed,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9::before{padding-top:42.8571428571%}.embed-responsive-16by9::before{padding-top:56.25%}.embed-responsive-4by3::before{padding-top:75%}.embed-responsive-1by1::before{padding-top:100%}.flex-row{-webkit-box-orient:horizontal !important;-webkit-box-direction:normal !important;-ms-flex-direction:row !important;flex-direction:row !important}.flex-column{-webkit-box-orient:vertical !important;-webkit-box-direction:normal !important;-ms-flex-direction:column !important;flex-direction:column !important}.flex-row-reverse{-webkit-box-orient:horizontal !important;-webkit-box-direction:reverse !important;-ms-flex-direction:row-reverse !important;flex-direction:row-reverse !important}.flex-column-reverse{-webkit-box-orient:vertical !important;-webkit-box-direction:reverse !important;-ms-flex-direction:column-reverse !important;flex-direction:column-reverse !important}.flex-wrap{-ms-flex-wrap:wrap !important;flex-wrap:wrap !important}.flex-nowrap{-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important}.flex-wrap-reverse{-ms-flex-wrap:wrap-reverse !important;flex-wrap:wrap-reverse !important}.flex-fill{-webkit-box-flex:1 !important;-ms-flex:1 1 auto !important;flex:1 1 auto !important}.flex-grow-0{-webkit-box-flex:0 !important;-ms-flex-positive:0 !important;flex-grow:0 !important}.flex-grow-1{-webkit-box-flex:1 !important;-ms-flex-positive:1 !important;flex-grow:1 !important}.flex-shrink-0{-ms-flex-negative:0 !important;flex-shrink:0 !important}.flex-shrink-1{-ms-flex-negative:1 !important;flex-shrink:1 !important}.justify-content-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.justify-content-between{-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;justify-content:space-between !important}.justify-content-around{-ms-flex-pack:distribute !important;justify-content:space-around !important}.align-items-start{-webkit-box-align:start !important;-ms-flex-align:start !important;align-items:flex-start !important}.align-items-end{-webkit-box-align:end !important;-ms-flex-align:end !important;align-items:flex-end !important}.align-items-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.align-items-baseline{-webkit-box-align:baseline !important;-ms-flex-align:baseline !important;align-items:baseline !important}.align-items-stretch{-webkit-box-align:stretch !important;-ms-flex-align:stretch !important;align-items:stretch !important}.align-content-start{-ms-flex-line-pack:start !important;align-content:flex-start !important}.align-content-end{-ms-flex-line-pack:end !important;align-content:flex-end !important}.align-content-center{-ms-flex-line-pack:center !important;align-content:center !important}.align-content-between{-ms-flex-line-pack:justify !important;align-content:space-between !important}.align-content-around{-ms-flex-line-pack:distribute !important;align-content:space-around !important}.align-content-stretch{-ms-flex-line-pack:stretch !important;align-content:stretch !important}.align-self-auto{-ms-flex-item-align:auto !important;align-self:auto !important}.align-self-start{-ms-flex-item-align:start !important;align-self:flex-start !important}.align-self-end{-ms-flex-item-align:end !important;align-self:flex-end !important}.align-self-center{-ms-flex-item-align:center !important;align-self:center !important}.align-self-baseline{-ms-flex-item-align:baseline !important;align-self:baseline !important}.align-self-stretch{-ms-flex-item-align:stretch !important;align-self:stretch !important}@media (min-width: 576px){.flex-sm-row{-webkit-box-orient:horizontal !important;-webkit-box-direction:normal !important;-ms-flex-direction:row !important;flex-direction:row !important}.flex-sm-column{-webkit-box-orient:vertical !important;-webkit-box-direction:normal !important;-ms-flex-direction:column !important;flex-direction:column !important}.flex-sm-row-reverse{-webkit-box-orient:horizontal !important;-webkit-box-direction:reverse !important;-ms-flex-direction:row-reverse !important;flex-direction:row-reverse !important}.flex-sm-column-reverse{-webkit-box-orient:vertical !important;-webkit-box-direction:reverse !important;-ms-flex-direction:column-reverse !important;flex-direction:column-reverse !important}.flex-sm-wrap{-ms-flex-wrap:wrap !important;flex-wrap:wrap !important}.flex-sm-nowrap{-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important}.flex-sm-wrap-reverse{-ms-flex-wrap:wrap-reverse !important;flex-wrap:wrap-reverse !important}.flex-sm-fill{-webkit-box-flex:1 !important;-ms-flex:1 1 auto !important;flex:1 1 auto !important}.flex-sm-grow-0{-webkit-box-flex:0 !important;-ms-flex-positive:0 !important;flex-grow:0 !important}.flex-sm-grow-1{-webkit-box-flex:1 !important;-ms-flex-positive:1 !important;flex-grow:1 !important}.flex-sm-shrink-0{-ms-flex-negative:0 !important;flex-shrink:0 !important}.flex-sm-shrink-1{-ms-flex-negative:1 !important;flex-shrink:1 !important}.justify-content-sm-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-sm-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-sm-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.justify-content-sm-between{-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;justify-content:space-between !important}.justify-content-sm-around{-ms-flex-pack:distribute !important;justify-content:space-around !important}.align-items-sm-start{-webkit-box-align:start !important;-ms-flex-align:start !important;align-items:flex-start !important}.align-items-sm-end{-webkit-box-align:end !important;-ms-flex-align:end !important;align-items:flex-end !important}.align-items-sm-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.align-items-sm-baseline{-webkit-box-align:baseline !important;-ms-flex-align:baseline !important;align-items:baseline !important}.align-items-sm-stretch{-webkit-box-align:stretch !important;-ms-flex-align:stretch !important;align-items:stretch !important}.align-content-sm-start{-ms-flex-line-pack:start !important;align-content:flex-start !important}.align-content-sm-end{-ms-flex-line-pack:end !important;align-content:flex-end !important}.align-content-sm-center{-ms-flex-line-pack:center !important;align-content:center !important}.align-content-sm-between{-ms-flex-line-pack:justify !important;align-content:space-between !important}.align-content-sm-around{-ms-flex-line-pack:distribute !important;align-content:space-around !important}.align-content-sm-stretch{-ms-flex-line-pack:stretch !important;align-content:stretch !important}.align-self-sm-auto{-ms-flex-item-align:auto !important;align-self:auto !important}.align-self-sm-start{-ms-flex-item-align:start !important;align-self:flex-start !important}.align-self-sm-end{-ms-flex-item-align:end !important;align-self:flex-end !important}.align-self-sm-center{-ms-flex-item-align:center !important;align-self:center !important}.align-self-sm-baseline{-ms-flex-item-align:baseline !important;align-self:baseline !important}.align-self-sm-stretch{-ms-flex-item-align:stretch !important;align-self:stretch !important}}@media (min-width: 768px){.flex-md-row{-webkit-box-orient:horizontal !important;-webkit-box-direction:normal !important;-ms-flex-direction:row !important;flex-direction:row !important}.flex-md-column{-webkit-box-orient:vertical !important;-webkit-box-direction:normal !important;-ms-flex-direction:column !important;flex-direction:column !important}.flex-md-row-reverse{-webkit-box-orient:horizontal !important;-webkit-box-direction:reverse !important;-ms-flex-direction:row-reverse !important;flex-direction:row-reverse !important}.flex-md-column-reverse{-webkit-box-orient:vertical !important;-webkit-box-direction:reverse !important;-ms-flex-direction:column-reverse !important;flex-direction:column-reverse !important}.flex-md-wrap{-ms-flex-wrap:wrap !important;flex-wrap:wrap !important}.flex-md-nowrap{-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important}.flex-md-wrap-reverse{-ms-flex-wrap:wrap-reverse !important;flex-wrap:wrap-reverse !important}.flex-md-fill{-webkit-box-flex:1 !important;-ms-flex:1 1 auto !important;flex:1 1 auto !important}.flex-md-grow-0{-webkit-box-flex:0 !important;-ms-flex-positive:0 !important;flex-grow:0 !important}.flex-md-grow-1{-webkit-box-flex:1 !important;-ms-flex-positive:1 !important;flex-grow:1 !important}.flex-md-shrink-0{-ms-flex-negative:0 !important;flex-shrink:0 !important}.flex-md-shrink-1{-ms-flex-negative:1 !important;flex-shrink:1 !important}.justify-content-md-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-md-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-md-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.justify-content-md-between{-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;justify-content:space-between !important}.justify-content-md-around{-ms-flex-pack:distribute !important;justify-content:space-around !important}.align-items-md-start{-webkit-box-align:start !important;-ms-flex-align:start !important;align-items:flex-start !important}.align-items-md-end{-webkit-box-align:end !important;-ms-flex-align:end !important;align-items:flex-end !important}.align-items-md-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.align-items-md-baseline{-webkit-box-align:baseline !important;-ms-flex-align:baseline !important;align-items:baseline !important}.align-items-md-stretch{-webkit-box-align:stretch !important;-ms-flex-align:stretch !important;align-items:stretch !important}.align-content-md-start{-ms-flex-line-pack:start !important;align-content:flex-start !important}.align-content-md-end{-ms-flex-line-pack:end !important;align-content:flex-end !important}.align-content-md-center{-ms-flex-line-pack:center !important;align-content:center !important}.align-content-md-between{-ms-flex-line-pack:justify !important;align-content:space-between !important}.align-content-md-around{-ms-flex-line-pack:distribute !important;align-content:space-around !important}.align-content-md-stretch{-ms-flex-line-pack:stretch !important;align-content:stretch !important}.align-self-md-auto{-ms-flex-item-align:auto !important;align-self:auto !important}.align-self-md-start{-ms-flex-item-align:start !important;align-self:flex-start !important}.align-self-md-end{-ms-flex-item-align:end !important;align-self:flex-end !important}.align-self-md-center{-ms-flex-item-align:center !important;align-self:center !important}.align-self-md-baseline{-ms-flex-item-align:baseline !important;align-self:baseline !important}.align-self-md-stretch{-ms-flex-item-align:stretch !important;align-self:stretch !important}}@media (min-width: 992px){.flex-lg-row{-webkit-box-orient:horizontal !important;-webkit-box-direction:normal !important;-ms-flex-direction:row !important;flex-direction:row !important}.flex-lg-column{-webkit-box-orient:vertical !important;-webkit-box-direction:normal !important;-ms-flex-direction:column !important;flex-direction:column !important}.flex-lg-row-reverse{-webkit-box-orient:horizontal !important;-webkit-box-direction:reverse !important;-ms-flex-direction:row-reverse !important;flex-direction:row-reverse !important}.flex-lg-column-reverse{-webkit-box-orient:vertical !important;-webkit-box-direction:reverse !important;-ms-flex-direction:column-reverse !important;flex-direction:column-reverse !important}.flex-lg-wrap{-ms-flex-wrap:wrap !important;flex-wrap:wrap !important}.flex-lg-nowrap{-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important}.flex-lg-wrap-reverse{-ms-flex-wrap:wrap-reverse !important;flex-wrap:wrap-reverse !important}.flex-lg-fill{-webkit-box-flex:1 !important;-ms-flex:1 1 auto !important;flex:1 1 auto !important}.flex-lg-grow-0{-webkit-box-flex:0 !important;-ms-flex-positive:0 !important;flex-grow:0 !important}.flex-lg-grow-1{-webkit-box-flex:1 !important;-ms-flex-positive:1 !important;flex-grow:1 !important}.flex-lg-shrink-0{-ms-flex-negative:0 !important;flex-shrink:0 !important}.flex-lg-shrink-1{-ms-flex-negative:1 !important;flex-shrink:1 !important}.justify-content-lg-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-lg-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-lg-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.justify-content-lg-between{-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;justify-content:space-between !important}.justify-content-lg-around{-ms-flex-pack:distribute !important;justify-content:space-around !important}.align-items-lg-start{-webkit-box-align:start !important;-ms-flex-align:start !important;align-items:flex-start !important}.align-items-lg-end{-webkit-box-align:end !important;-ms-flex-align:end !important;align-items:flex-end !important}.align-items-lg-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.align-items-lg-baseline{-webkit-box-align:baseline !important;-ms-flex-align:baseline !important;align-items:baseline !important}.align-items-lg-stretch{-webkit-box-align:stretch !important;-ms-flex-align:stretch !important;align-items:stretch !important}.align-content-lg-start{-ms-flex-line-pack:start !important;align-content:flex-start !important}.align-content-lg-end{-ms-flex-line-pack:end !important;align-content:flex-end !important}.align-content-lg-center{-ms-flex-line-pack:center !important;align-content:center !important}.align-content-lg-between{-ms-flex-line-pack:justify !important;align-content:space-between !important}.align-content-lg-around{-ms-flex-line-pack:distribute !important;align-content:space-around !important}.align-content-lg-stretch{-ms-flex-line-pack:stretch !important;align-content:stretch !important}.align-self-lg-auto{-ms-flex-item-align:auto !important;align-self:auto !important}.align-self-lg-start{-ms-flex-item-align:start !important;align-self:flex-start !important}.align-self-lg-end{-ms-flex-item-align:end !important;align-self:flex-end !important}.align-self-lg-center{-ms-flex-item-align:center !important;align-self:center !important}.align-self-lg-baseline{-ms-flex-item-align:baseline !important;align-self:baseline !important}.align-self-lg-stretch{-ms-flex-item-align:stretch !important;align-self:stretch !important}}@media (min-width: 1200px){.flex-xl-row{-webkit-box-orient:horizontal !important;-webkit-box-direction:normal !important;-ms-flex-direction:row !important;flex-direction:row !important}.flex-xl-column{-webkit-box-orient:vertical !important;-webkit-box-direction:normal !important;-ms-flex-direction:column !important;flex-direction:column !important}.flex-xl-row-reverse{-webkit-box-orient:horizontal !important;-webkit-box-direction:reverse !important;-ms-flex-direction:row-reverse !important;flex-direction:row-reverse !important}.flex-xl-column-reverse{-webkit-box-orient:vertical !important;-webkit-box-direction:reverse !important;-ms-flex-direction:column-reverse !important;flex-direction:column-reverse !important}.flex-xl-wrap{-ms-flex-wrap:wrap !important;flex-wrap:wrap !important}.flex-xl-nowrap{-ms-flex-wrap:nowrap !important;flex-wrap:nowrap !important}.flex-xl-wrap-reverse{-ms-flex-wrap:wrap-reverse !important;flex-wrap:wrap-reverse !important}.flex-xl-fill{-webkit-box-flex:1 !important;-ms-flex:1 1 auto !important;flex:1 1 auto !important}.flex-xl-grow-0{-webkit-box-flex:0 !important;-ms-flex-positive:0 !important;flex-grow:0 !important}.flex-xl-grow-1{-webkit-box-flex:1 !important;-ms-flex-positive:1 !important;flex-grow:1 !important}.flex-xl-shrink-0{-ms-flex-negative:0 !important;flex-shrink:0 !important}.flex-xl-shrink-1{-ms-flex-negative:1 !important;flex-shrink:1 !important}.justify-content-xl-start{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.justify-content-xl-end{-webkit-box-pack:end !important;-ms-flex-pack:end !important;justify-content:flex-end !important}.justify-content-xl-center{-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}.justify-content-xl-between{-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;justify-content:space-between !important}.justify-content-xl-around{-ms-flex-pack:distribute !important;justify-content:space-around !important}.align-items-xl-start{-webkit-box-align:start !important;-ms-flex-align:start !important;align-items:flex-start !important}.align-items-xl-end{-webkit-box-align:end !important;-ms-flex-align:end !important;align-items:flex-end !important}.align-items-xl-center{-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important}.align-items-xl-baseline{-webkit-box-align:baseline !important;-ms-flex-align:baseline !important;align-items:baseline !important}.align-items-xl-stretch{-webkit-box-align:stretch !important;-ms-flex-align:stretch !important;align-items:stretch !important}.align-content-xl-start{-ms-flex-line-pack:start !important;align-content:flex-start !important}.align-content-xl-end{-ms-flex-line-pack:end !important;align-content:flex-end !important}.align-content-xl-center{-ms-flex-line-pack:center !important;align-content:center !important}.align-content-xl-between{-ms-flex-line-pack:justify !important;align-content:space-between !important}.align-content-xl-around{-ms-flex-line-pack:distribute !important;align-content:space-around !important}.align-content-xl-stretch{-ms-flex-line-pack:stretch !important;align-content:stretch !important}.align-self-xl-auto{-ms-flex-item-align:auto !important;align-self:auto !important}.align-self-xl-start{-ms-flex-item-align:start !important;align-self:flex-start !important}.align-self-xl-end{-ms-flex-item-align:end !important;align-self:flex-end !important}.align-self-xl-center{-ms-flex-item-align:center !important;align-self:center !important}.align-self-xl-baseline{-ms-flex-item-align:baseline !important;align-self:baseline !important}.align-self-xl-stretch{-ms-flex-item-align:stretch !important;align-self:stretch !important}}.float-left{float:left !important}.float-right{float:right !important}.float-none{float:none !important}@media (min-width: 576px){.float-sm-left{float:left !important}.float-sm-right{float:right !important}.float-sm-none{float:none !important}}@media (min-width: 768px){.float-md-left{float:left !important}.float-md-right{float:right !important}.float-md-none{float:none !important}}@media (min-width: 992px){.float-lg-left{float:left !important}.float-lg-right{float:right !important}.float-lg-none{float:none !important}}@media (min-width: 1200px){.float-xl-left{float:left !important}.float-xl-right{float:right !important}.float-xl-none{float:none !important}}.overflow-auto{overflow:auto !important}.overflow-hidden{overflow:hidden !important}.position-static{position:static !important}.position-relative{position:relative !important}.position-absolute{position:absolute !important}.position-fixed{position:fixed !important}.position-sticky{position:-webkit-sticky !important;position:sticky !important}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}@supports (position: -webkit-sticky) or (position: sticky){.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.shadow-sm{-webkit-box-shadow:0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,0.075) !important}.shadow{-webkit-box-shadow:0 0.5rem 1rem rgba(0,0,0,0.15) !important;box-shadow:0 0.5rem 1rem rgba(0,0,0,0.15) !important}.shadow-lg{-webkit-box-shadow:0 1rem 3rem rgba(0,0,0,0.175) !important;box-shadow:0 1rem 3rem rgba(0,0,0,0.175) !important}.shadow-none{-webkit-box-shadow:none !important;box-shadow:none !important}.w-25{width:25% !important}.w-50{width:50% !important}.w-75{width:75% !important}.w-100{width:100% !important}.w-auto{width:auto !important}.h-25{height:25% !important}.h-50{height:50% !important}.h-75{height:75% !important}.h-100{height:100% !important}.h-auto{height:auto !important}.mw-100{max-width:100% !important}.mh-100{max-height:100% !important}.min-vw-100{min-width:100vw !important}.min-vh-100{min-height:100vh !important}.vw-100{width:100vw !important}.vh-100{height:100vh !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}.m-0{margin:0 !important}.mt-0,.my-0{margin-top:0 !important}.mr-0,.mx-0{margin-right:0 !important}.mb-0,.my-0{margin-bottom:0 !important}.ml-0,.mx-0{margin-left:0 !important}.m-1{margin:0.25rem !important}.mt-1,.my-1{margin-top:0.25rem !important}.mr-1,.mx-1{margin-right:0.25rem !important}.mb-1,.my-1{margin-bottom:0.25rem !important}.ml-1,.mx-1{margin-left:0.25rem !important}.m-2{margin:0.5rem !important}.mt-2,.my-2{margin-top:0.5rem !important}.mr-2,.mx-2{margin-right:0.5rem !important}.mb-2,.my-2{margin-bottom:0.5rem !important}.ml-2,.mx-2{margin-left:0.5rem !important}.m-3{margin:1rem !important}.mt-3,.my-3{margin-top:1rem !important}.mr-3,.mx-3{margin-right:1rem !important}.mb-3,.my-3{margin-bottom:1rem !important}.ml-3,.mx-3{margin-left:1rem !important}.m-4{margin:1.5rem !important}.mt-4,.my-4{margin-top:1.5rem !important}.mr-4,.mx-4{margin-right:1.5rem !important}.mb-4,.my-4{margin-bottom:1.5rem !important}.ml-4,.mx-4{margin-left:1.5rem !important}.m-5{margin:3rem !important}.mt-5,.my-5{margin-top:3rem !important}.mr-5,.mx-5{margin-right:3rem !important}.mb-5,.my-5{margin-bottom:3rem !important}.ml-5,.mx-5{margin-left:3rem !important}.p-0{padding:0 !important}.pt-0,.py-0{padding-top:0 !important}.pr-0,.px-0{padding-right:0 !important}.pb-0,.py-0{padding-bottom:0 !important}.pl-0,.px-0{padding-left:0 !important}.p-1{padding:0.25rem !important}.pt-1,.py-1{padding-top:0.25rem !important}.pr-1,.px-1{padding-right:0.25rem !important}.pb-1,.py-1{padding-bottom:0.25rem !important}.pl-1,.px-1{padding-left:0.25rem !important}.p-2{padding:0.5rem !important}.pt-2,.py-2{padding-top:0.5rem !important}.pr-2,.px-2{padding-right:0.5rem !important}.pb-2,.py-2{padding-bottom:0.5rem !important}.pl-2,.px-2{padding-left:0.5rem !important}.p-3{padding:1rem !important}.pt-3,.py-3{padding-top:1rem !important}.pr-3,.px-3{padding-right:1rem !important}.pb-3,.py-3{padding-bottom:1rem !important}.pl-3,.px-3{padding-left:1rem !important}.p-4{padding:1.5rem !important}.pt-4,.py-4{padding-top:1.5rem !important}.pr-4,.px-4{padding-right:1.5rem !important}.pb-4,.py-4{padding-bottom:1.5rem !important}.pl-4,.px-4{padding-left:1.5rem !important}.p-5{padding:3rem !important}.pt-5,.py-5{padding-top:3rem !important}.pr-5,.px-5{padding-right:3rem !important}.pb-5,.py-5{padding-bottom:3rem !important}.pl-5,.px-5{padding-left:3rem !important}.m-n1{margin:-0.25rem !important}.mt-n1,.my-n1{margin-top:-0.25rem !important}.mr-n1,.mx-n1{margin-right:-0.25rem !important}.mb-n1,.my-n1{margin-bottom:-0.25rem !important}.ml-n1,.mx-n1{margin-left:-0.25rem !important}.m-n2{margin:-0.5rem !important}.mt-n2,.my-n2{margin-top:-0.5rem !important}.mr-n2,.mx-n2{margin-right:-0.5rem !important}.mb-n2,.my-n2{margin-bottom:-0.5rem !important}.ml-n2,.mx-n2{margin-left:-0.5rem !important}.m-n3{margin:-1rem !important}.mt-n3,.my-n3{margin-top:-1rem !important}.mr-n3,.mx-n3{margin-right:-1rem !important}.mb-n3,.my-n3{margin-bottom:-1rem !important}.ml-n3,.mx-n3{margin-left:-1rem !important}.m-n4{margin:-1.5rem !important}.mt-n4,.my-n4{margin-top:-1.5rem !important}.mr-n4,.mx-n4{margin-right:-1.5rem !important}.mb-n4,.my-n4{margin-bottom:-1.5rem !important}.ml-n4,.mx-n4{margin-left:-1.5rem !important}.m-n5{margin:-3rem !important}.mt-n5,.my-n5{margin-top:-3rem !important}.mr-n5,.mx-n5{margin-right:-3rem !important}.mb-n5,.my-n5{margin-bottom:-3rem !important}.ml-n5,.mx-n5{margin-left:-3rem !important}.m-auto{margin:auto !important}.mt-auto,.my-auto{margin-top:auto !important}.mr-auto,.mx-auto{margin-right:auto !important}.mb-auto,.my-auto{margin-bottom:auto !important}.ml-auto,.mx-auto{margin-left:auto !important}@media (min-width: 576px){.m-sm-0{margin:0 !important}.mt-sm-0,.my-sm-0{margin-top:0 !important}.mr-sm-0,.mx-sm-0{margin-right:0 !important}.mb-sm-0,.my-sm-0{margin-bottom:0 !important}.ml-sm-0,.mx-sm-0{margin-left:0 !important}.m-sm-1{margin:0.25rem !important}.mt-sm-1,.my-sm-1{margin-top:0.25rem !important}.mr-sm-1,.mx-sm-1{margin-right:0.25rem !important}.mb-sm-1,.my-sm-1{margin-bottom:0.25rem !important}.ml-sm-1,.mx-sm-1{margin-left:0.25rem !important}.m-sm-2{margin:0.5rem !important}.mt-sm-2,.my-sm-2{margin-top:0.5rem !important}.mr-sm-2,.mx-sm-2{margin-right:0.5rem !important}.mb-sm-2,.my-sm-2{margin-bottom:0.5rem !important}.ml-sm-2,.mx-sm-2{margin-left:0.5rem !important}.m-sm-3{margin:1rem !important}.mt-sm-3,.my-sm-3{margin-top:1rem !important}.mr-sm-3,.mx-sm-3{margin-right:1rem !important}.mb-sm-3,.my-sm-3{margin-bottom:1rem !important}.ml-sm-3,.mx-sm-3{margin-left:1rem !important}.m-sm-4{margin:1.5rem !important}.mt-sm-4,.my-sm-4{margin-top:1.5rem !important}.mr-sm-4,.mx-sm-4{margin-right:1.5rem !important}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem !important}.ml-sm-4,.mx-sm-4{margin-left:1.5rem !important}.m-sm-5{margin:3rem !important}.mt-sm-5,.my-sm-5{margin-top:3rem !important}.mr-sm-5,.mx-sm-5{margin-right:3rem !important}.mb-sm-5,.my-sm-5{margin-bottom:3rem !important}.ml-sm-5,.mx-sm-5{margin-left:3rem !important}.p-sm-0{padding:0 !important}.pt-sm-0,.py-sm-0{padding-top:0 !important}.pr-sm-0,.px-sm-0{padding-right:0 !important}.pb-sm-0,.py-sm-0{padding-bottom:0 !important}.pl-sm-0,.px-sm-0{padding-left:0 !important}.p-sm-1{padding:0.25rem !important}.pt-sm-1,.py-sm-1{padding-top:0.25rem !important}.pr-sm-1,.px-sm-1{padding-right:0.25rem !important}.pb-sm-1,.py-sm-1{padding-bottom:0.25rem !important}.pl-sm-1,.px-sm-1{padding-left:0.25rem !important}.p-sm-2{padding:0.5rem !important}.pt-sm-2,.py-sm-2{padding-top:0.5rem !important}.pr-sm-2,.px-sm-2{padding-right:0.5rem !important}.pb-sm-2,.py-sm-2{padding-bottom:0.5rem !important}.pl-sm-2,.px-sm-2{padding-left:0.5rem !important}.p-sm-3{padding:1rem !important}.pt-sm-3,.py-sm-3{padding-top:1rem !important}.pr-sm-3,.px-sm-3{padding-right:1rem !important}.pb-sm-3,.py-sm-3{padding-bottom:1rem !important}.pl-sm-3,.px-sm-3{padding-left:1rem !important}.p-sm-4{padding:1.5rem !important}.pt-sm-4,.py-sm-4{padding-top:1.5rem !important}.pr-sm-4,.px-sm-4{padding-right:1.5rem !important}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem !important}.pl-sm-4,.px-sm-4{padding-left:1.5rem !important}.p-sm-5{padding:3rem !important}.pt-sm-5,.py-sm-5{padding-top:3rem !important}.pr-sm-5,.px-sm-5{padding-right:3rem !important}.pb-sm-5,.py-sm-5{padding-bottom:3rem !important}.pl-sm-5,.px-sm-5{padding-left:3rem !important}.m-sm-n1{margin:-0.25rem !important}.mt-sm-n1,.my-sm-n1{margin-top:-0.25rem !important}.mr-sm-n1,.mx-sm-n1{margin-right:-0.25rem !important}.mb-sm-n1,.my-sm-n1{margin-bottom:-0.25rem !important}.ml-sm-n1,.mx-sm-n1{margin-left:-0.25rem !important}.m-sm-n2{margin:-0.5rem !important}.mt-sm-n2,.my-sm-n2{margin-top:-0.5rem !important}.mr-sm-n2,.mx-sm-n2{margin-right:-0.5rem !important}.mb-sm-n2,.my-sm-n2{margin-bottom:-0.5rem !important}.ml-sm-n2,.mx-sm-n2{margin-left:-0.5rem !important}.m-sm-n3{margin:-1rem !important}.mt-sm-n3,.my-sm-n3{margin-top:-1rem !important}.mr-sm-n3,.mx-sm-n3{margin-right:-1rem !important}.mb-sm-n3,.my-sm-n3{margin-bottom:-1rem !important}.ml-sm-n3,.mx-sm-n3{margin-left:-1rem !important}.m-sm-n4{margin:-1.5rem !important}.mt-sm-n4,.my-sm-n4{margin-top:-1.5rem !important}.mr-sm-n4,.mx-sm-n4{margin-right:-1.5rem !important}.mb-sm-n4,.my-sm-n4{margin-bottom:-1.5rem !important}.ml-sm-n4,.mx-sm-n4{margin-left:-1.5rem !important}.m-sm-n5{margin:-3rem !important}.mt-sm-n5,.my-sm-n5{margin-top:-3rem !important}.mr-sm-n5,.mx-sm-n5{margin-right:-3rem !important}.mb-sm-n5,.my-sm-n5{margin-bottom:-3rem !important}.ml-sm-n5,.mx-sm-n5{margin-left:-3rem !important}.m-sm-auto{margin:auto !important}.mt-sm-auto,.my-sm-auto{margin-top:auto !important}.mr-sm-auto,.mx-sm-auto{margin-right:auto !important}.mb-sm-auto,.my-sm-auto{margin-bottom:auto !important}.ml-sm-auto,.mx-sm-auto{margin-left:auto !important}}@media (min-width: 768px){.m-md-0{margin:0 !important}.mt-md-0,.my-md-0{margin-top:0 !important}.mr-md-0,.mx-md-0{margin-right:0 !important}.mb-md-0,.my-md-0{margin-bottom:0 !important}.ml-md-0,.mx-md-0{margin-left:0 !important}.m-md-1{margin:0.25rem !important}.mt-md-1,.my-md-1{margin-top:0.25rem !important}.mr-md-1,.mx-md-1{margin-right:0.25rem !important}.mb-md-1,.my-md-1{margin-bottom:0.25rem !important}.ml-md-1,.mx-md-1{margin-left:0.25rem !important}.m-md-2{margin:0.5rem !important}.mt-md-2,.my-md-2{margin-top:0.5rem !important}.mr-md-2,.mx-md-2{margin-right:0.5rem !important}.mb-md-2,.my-md-2{margin-bottom:0.5rem !important}.ml-md-2,.mx-md-2{margin-left:0.5rem !important}.m-md-3{margin:1rem !important}.mt-md-3,.my-md-3{margin-top:1rem !important}.mr-md-3,.mx-md-3{margin-right:1rem !important}.mb-md-3,.my-md-3{margin-bottom:1rem !important}.ml-md-3,.mx-md-3{margin-left:1rem !important}.m-md-4{margin:1.5rem !important}.mt-md-4,.my-md-4{margin-top:1.5rem !important}.mr-md-4,.mx-md-4{margin-right:1.5rem !important}.mb-md-4,.my-md-4{margin-bottom:1.5rem !important}.ml-md-4,.mx-md-4{margin-left:1.5rem !important}.m-md-5{margin:3rem !important}.mt-md-5,.my-md-5{margin-top:3rem !important}.mr-md-5,.mx-md-5{margin-right:3rem !important}.mb-md-5,.my-md-5{margin-bottom:3rem !important}.ml-md-5,.mx-md-5{margin-left:3rem !important}.p-md-0{padding:0 !important}.pt-md-0,.py-md-0{padding-top:0 !important}.pr-md-0,.px-md-0{padding-right:0 !important}.pb-md-0,.py-md-0{padding-bottom:0 !important}.pl-md-0,.px-md-0{padding-left:0 !important}.p-md-1{padding:0.25rem !important}.pt-md-1,.py-md-1{padding-top:0.25rem !important}.pr-md-1,.px-md-1{padding-right:0.25rem !important}.pb-md-1,.py-md-1{padding-bottom:0.25rem !important}.pl-md-1,.px-md-1{padding-left:0.25rem !important}.p-md-2{padding:0.5rem !important}.pt-md-2,.py-md-2{padding-top:0.5rem !important}.pr-md-2,.px-md-2{padding-right:0.5rem !important}.pb-md-2,.py-md-2{padding-bottom:0.5rem !important}.pl-md-2,.px-md-2{padding-left:0.5rem !important}.p-md-3{padding:1rem !important}.pt-md-3,.py-md-3{padding-top:1rem !important}.pr-md-3,.px-md-3{padding-right:1rem !important}.pb-md-3,.py-md-3{padding-bottom:1rem !important}.pl-md-3,.px-md-3{padding-left:1rem !important}.p-md-4{padding:1.5rem !important}.pt-md-4,.py-md-4{padding-top:1.5rem !important}.pr-md-4,.px-md-4{padding-right:1.5rem !important}.pb-md-4,.py-md-4{padding-bottom:1.5rem !important}.pl-md-4,.px-md-4{padding-left:1.5rem !important}.p-md-5{padding:3rem !important}.pt-md-5,.py-md-5{padding-top:3rem !important}.pr-md-5,.px-md-5{padding-right:3rem !important}.pb-md-5,.py-md-5{padding-bottom:3rem !important}.pl-md-5,.px-md-5{padding-left:3rem !important}.m-md-n1{margin:-0.25rem !important}.mt-md-n1,.my-md-n1{margin-top:-0.25rem !important}.mr-md-n1,.mx-md-n1{margin-right:-0.25rem !important}.mb-md-n1,.my-md-n1{margin-bottom:-0.25rem !important}.ml-md-n1,.mx-md-n1{margin-left:-0.25rem !important}.m-md-n2{margin:-0.5rem !important}.mt-md-n2,.my-md-n2{margin-top:-0.5rem !important}.mr-md-n2,.mx-md-n2{margin-right:-0.5rem !important}.mb-md-n2,.my-md-n2{margin-bottom:-0.5rem !important}.ml-md-n2,.mx-md-n2{margin-left:-0.5rem !important}.m-md-n3{margin:-1rem !important}.mt-md-n3,.my-md-n3{margin-top:-1rem !important}.mr-md-n3,.mx-md-n3{margin-right:-1rem !important}.mb-md-n3,.my-md-n3{margin-bottom:-1rem !important}.ml-md-n3,.mx-md-n3{margin-left:-1rem !important}.m-md-n4{margin:-1.5rem !important}.mt-md-n4,.my-md-n4{margin-top:-1.5rem !important}.mr-md-n4,.mx-md-n4{margin-right:-1.5rem !important}.mb-md-n4,.my-md-n4{margin-bottom:-1.5rem !important}.ml-md-n4,.mx-md-n4{margin-left:-1.5rem !important}.m-md-n5{margin:-3rem !important}.mt-md-n5,.my-md-n5{margin-top:-3rem !important}.mr-md-n5,.mx-md-n5{margin-right:-3rem !important}.mb-md-n5,.my-md-n5{margin-bottom:-3rem !important}.ml-md-n5,.mx-md-n5{margin-left:-3rem !important}.m-md-auto{margin:auto !important}.mt-md-auto,.my-md-auto{margin-top:auto !important}.mr-md-auto,.mx-md-auto{margin-right:auto !important}.mb-md-auto,.my-md-auto{margin-bottom:auto !important}.ml-md-auto,.mx-md-auto{margin-left:auto !important}}@media (min-width: 992px){.m-lg-0{margin:0 !important}.mt-lg-0,.my-lg-0{margin-top:0 !important}.mr-lg-0,.mx-lg-0{margin-right:0 !important}.mb-lg-0,.my-lg-0{margin-bottom:0 !important}.ml-lg-0,.mx-lg-0{margin-left:0 !important}.m-lg-1{margin:0.25rem !important}.mt-lg-1,.my-lg-1{margin-top:0.25rem !important}.mr-lg-1,.mx-lg-1{margin-right:0.25rem !important}.mb-lg-1,.my-lg-1{margin-bottom:0.25rem !important}.ml-lg-1,.mx-lg-1{margin-left:0.25rem !important}.m-lg-2{margin:0.5rem !important}.mt-lg-2,.my-lg-2{margin-top:0.5rem !important}.mr-lg-2,.mx-lg-2{margin-right:0.5rem !important}.mb-lg-2,.my-lg-2{margin-bottom:0.5rem !important}.ml-lg-2,.mx-lg-2{margin-left:0.5rem !important}.m-lg-3{margin:1rem !important}.mt-lg-3,.my-lg-3{margin-top:1rem !important}.mr-lg-3,.mx-lg-3{margin-right:1rem !important}.mb-lg-3,.my-lg-3{margin-bottom:1rem !important}.ml-lg-3,.mx-lg-3{margin-left:1rem !important}.m-lg-4{margin:1.5rem !important}.mt-lg-4,.my-lg-4{margin-top:1.5rem !important}.mr-lg-4,.mx-lg-4{margin-right:1.5rem !important}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem !important}.ml-lg-4,.mx-lg-4{margin-left:1.5rem !important}.m-lg-5{margin:3rem !important}.mt-lg-5,.my-lg-5{margin-top:3rem !important}.mr-lg-5,.mx-lg-5{margin-right:3rem !important}.mb-lg-5,.my-lg-5{margin-bottom:3rem !important}.ml-lg-5,.mx-lg-5{margin-left:3rem !important}.p-lg-0{padding:0 !important}.pt-lg-0,.py-lg-0{padding-top:0 !important}.pr-lg-0,.px-lg-0{padding-right:0 !important}.pb-lg-0,.py-lg-0{padding-bottom:0 !important}.pl-lg-0,.px-lg-0{padding-left:0 !important}.p-lg-1{padding:0.25rem !important}.pt-lg-1,.py-lg-1{padding-top:0.25rem !important}.pr-lg-1,.px-lg-1{padding-right:0.25rem !important}.pb-lg-1,.py-lg-1{padding-bottom:0.25rem !important}.pl-lg-1,.px-lg-1{padding-left:0.25rem !important}.p-lg-2{padding:0.5rem !important}.pt-lg-2,.py-lg-2{padding-top:0.5rem !important}.pr-lg-2,.px-lg-2{padding-right:0.5rem !important}.pb-lg-2,.py-lg-2{padding-bottom:0.5rem !important}.pl-lg-2,.px-lg-2{padding-left:0.5rem !important}.p-lg-3{padding:1rem !important}.pt-lg-3,.py-lg-3{padding-top:1rem !important}.pr-lg-3,.px-lg-3{padding-right:1rem !important}.pb-lg-3,.py-lg-3{padding-bottom:1rem !important}.pl-lg-3,.px-lg-3{padding-left:1rem !important}.p-lg-4{padding:1.5rem !important}.pt-lg-4,.py-lg-4{padding-top:1.5rem !important}.pr-lg-4,.px-lg-4{padding-right:1.5rem !important}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem !important}.pl-lg-4,.px-lg-4{padding-left:1.5rem !important}.p-lg-5{padding:3rem !important}.pt-lg-5,.py-lg-5{padding-top:3rem !important}.pr-lg-5,.px-lg-5{padding-right:3rem !important}.pb-lg-5,.py-lg-5{padding-bottom:3rem !important}.pl-lg-5,.px-lg-5{padding-left:3rem !important}.m-lg-n1{margin:-0.25rem !important}.mt-lg-n1,.my-lg-n1{margin-top:-0.25rem !important}.mr-lg-n1,.mx-lg-n1{margin-right:-0.25rem !important}.mb-lg-n1,.my-lg-n1{margin-bottom:-0.25rem !important}.ml-lg-n1,.mx-lg-n1{margin-left:-0.25rem !important}.m-lg-n2{margin:-0.5rem !important}.mt-lg-n2,.my-lg-n2{margin-top:-0.5rem !important}.mr-lg-n2,.mx-lg-n2{margin-right:-0.5rem !important}.mb-lg-n2,.my-lg-n2{margin-bottom:-0.5rem !important}.ml-lg-n2,.mx-lg-n2{margin-left:-0.5rem !important}.m-lg-n3{margin:-1rem !important}.mt-lg-n3,.my-lg-n3{margin-top:-1rem !important}.mr-lg-n3,.mx-lg-n3{margin-right:-1rem !important}.mb-lg-n3,.my-lg-n3{margin-bottom:-1rem !important}.ml-lg-n3,.mx-lg-n3{margin-left:-1rem !important}.m-lg-n4{margin:-1.5rem !important}.mt-lg-n4,.my-lg-n4{margin-top:-1.5rem !important}.mr-lg-n4,.mx-lg-n4{margin-right:-1.5rem !important}.mb-lg-n4,.my-lg-n4{margin-bottom:-1.5rem !important}.ml-lg-n4,.mx-lg-n4{margin-left:-1.5rem !important}.m-lg-n5{margin:-3rem !important}.mt-lg-n5,.my-lg-n5{margin-top:-3rem !important}.mr-lg-n5,.mx-lg-n5{margin-right:-3rem !important}.mb-lg-n5,.my-lg-n5{margin-bottom:-3rem !important}.ml-lg-n5,.mx-lg-n5{margin-left:-3rem !important}.m-lg-auto{margin:auto !important}.mt-lg-auto,.my-lg-auto{margin-top:auto !important}.mr-lg-auto,.mx-lg-auto{margin-right:auto !important}.mb-lg-auto,.my-lg-auto{margin-bottom:auto !important}.ml-lg-auto,.mx-lg-auto{margin-left:auto !important}}@media (min-width: 1200px){.m-xl-0{margin:0 !important}.mt-xl-0,.my-xl-0{margin-top:0 !important}.mr-xl-0,.mx-xl-0{margin-right:0 !important}.mb-xl-0,.my-xl-0{margin-bottom:0 !important}.ml-xl-0,.mx-xl-0{margin-left:0 !important}.m-xl-1{margin:0.25rem !important}.mt-xl-1,.my-xl-1{margin-top:0.25rem !important}.mr-xl-1,.mx-xl-1{margin-right:0.25rem !important}.mb-xl-1,.my-xl-1{margin-bottom:0.25rem !important}.ml-xl-1,.mx-xl-1{margin-left:0.25rem !important}.m-xl-2{margin:0.5rem !important}.mt-xl-2,.my-xl-2{margin-top:0.5rem !important}.mr-xl-2,.mx-xl-2{margin-right:0.5rem !important}.mb-xl-2,.my-xl-2{margin-bottom:0.5rem !important}.ml-xl-2,.mx-xl-2{margin-left:0.5rem !important}.m-xl-3{margin:1rem !important}.mt-xl-3,.my-xl-3{margin-top:1rem !important}.mr-xl-3,.mx-xl-3{margin-right:1rem !important}.mb-xl-3,.my-xl-3{margin-bottom:1rem !important}.ml-xl-3,.mx-xl-3{margin-left:1rem !important}.m-xl-4{margin:1.5rem !important}.mt-xl-4,.my-xl-4{margin-top:1.5rem !important}.mr-xl-4,.mx-xl-4{margin-right:1.5rem !important}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem !important}.ml-xl-4,.mx-xl-4{margin-left:1.5rem !important}.m-xl-5{margin:3rem !important}.mt-xl-5,.my-xl-5{margin-top:3rem !important}.mr-xl-5,.mx-xl-5{margin-right:3rem !important}.mb-xl-5,.my-xl-5{margin-bottom:3rem !important}.ml-xl-5,.mx-xl-5{margin-left:3rem !important}.p-xl-0{padding:0 !important}.pt-xl-0,.py-xl-0{padding-top:0 !important}.pr-xl-0,.px-xl-0{padding-right:0 !important}.pb-xl-0,.py-xl-0{padding-bottom:0 !important}.pl-xl-0,.px-xl-0{padding-left:0 !important}.p-xl-1{padding:0.25rem !important}.pt-xl-1,.py-xl-1{padding-top:0.25rem !important}.pr-xl-1,.px-xl-1{padding-right:0.25rem !important}.pb-xl-1,.py-xl-1{padding-bottom:0.25rem !important}.pl-xl-1,.px-xl-1{padding-left:0.25rem !important}.p-xl-2{padding:0.5rem !important}.pt-xl-2,.py-xl-2{padding-top:0.5rem !important}.pr-xl-2,.px-xl-2{padding-right:0.5rem !important}.pb-xl-2,.py-xl-2{padding-bottom:0.5rem !important}.pl-xl-2,.px-xl-2{padding-left:0.5rem !important}.p-xl-3{padding:1rem !important}.pt-xl-3,.py-xl-3{padding-top:1rem !important}.pr-xl-3,.px-xl-3{padding-right:1rem !important}.pb-xl-3,.py-xl-3{padding-bottom:1rem !important}.pl-xl-3,.px-xl-3{padding-left:1rem !important}.p-xl-4{padding:1.5rem !important}.pt-xl-4,.py-xl-4{padding-top:1.5rem !important}.pr-xl-4,.px-xl-4{padding-right:1.5rem !important}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem !important}.pl-xl-4,.px-xl-4{padding-left:1.5rem !important}.p-xl-5{padding:3rem !important}.pt-xl-5,.py-xl-5{padding-top:3rem !important}.pr-xl-5,.px-xl-5{padding-right:3rem !important}.pb-xl-5,.py-xl-5{padding-bottom:3rem !important}.pl-xl-5,.px-xl-5{padding-left:3rem !important}.m-xl-n1{margin:-0.25rem !important}.mt-xl-n1,.my-xl-n1{margin-top:-0.25rem !important}.mr-xl-n1,.mx-xl-n1{margin-right:-0.25rem !important}.mb-xl-n1,.my-xl-n1{margin-bottom:-0.25rem !important}.ml-xl-n1,.mx-xl-n1{margin-left:-0.25rem !important}.m-xl-n2{margin:-0.5rem !important}.mt-xl-n2,.my-xl-n2{margin-top:-0.5rem !important}.mr-xl-n2,.mx-xl-n2{margin-right:-0.5rem !important}.mb-xl-n2,.my-xl-n2{margin-bottom:-0.5rem !important}.ml-xl-n2,.mx-xl-n2{margin-left:-0.5rem !important}.m-xl-n3{margin:-1rem !important}.mt-xl-n3,.my-xl-n3{margin-top:-1rem !important}.mr-xl-n3,.mx-xl-n3{margin-right:-1rem !important}.mb-xl-n3,.my-xl-n3{margin-bottom:-1rem !important}.ml-xl-n3,.mx-xl-n3{margin-left:-1rem !important}.m-xl-n4{margin:-1.5rem !important}.mt-xl-n4,.my-xl-n4{margin-top:-1.5rem !important}.mr-xl-n4,.mx-xl-n4{margin-right:-1.5rem !important}.mb-xl-n4,.my-xl-n4{margin-bottom:-1.5rem !important}.ml-xl-n4,.mx-xl-n4{margin-left:-1.5rem !important}.m-xl-n5{margin:-3rem !important}.mt-xl-n5,.my-xl-n5{margin-top:-3rem !important}.mr-xl-n5,.mx-xl-n5{margin-right:-3rem !important}.mb-xl-n5,.my-xl-n5{margin-bottom:-3rem !important}.ml-xl-n5,.mx-xl-n5{margin-left:-3rem !important}.m-xl-auto{margin:auto !important}.mt-xl-auto,.my-xl-auto{margin-top:auto !important}.mr-xl-auto,.mx-xl-auto{margin-right:auto !important}.mb-xl-auto,.my-xl-auto{margin-bottom:auto !important}.ml-xl-auto,.mx-xl-auto{margin-left:auto !important}}.text-monospace{font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important}.text-justify{text-align:justify !important}.text-wrap{white-space:normal !important}.text-nowrap{white-space:nowrap !important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-left{text-align:left !important}.text-right{text-align:right !important}.text-center{text-align:center !important}@media (min-width: 576px){.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}.text-sm-center{text-align:center !important}}@media (min-width: 768px){.text-md-left{text-align:left !important}.text-md-right{text-align:right !important}.text-md-center{text-align:center !important}}@media (min-width: 992px){.text-lg-left{text-align:left !important}.text-lg-right{text-align:right !important}.text-lg-center{text-align:center !important}}@media (min-width: 1200px){.text-xl-left{text-align:left !important}.text-xl-right{text-align:right !important}.text-xl-center{text-align:center !important}}.text-lowercase{text-transform:lowercase !important}.text-uppercase{text-transform:uppercase !important}.text-capitalize{text-transform:capitalize !important}.font-weight-light{font-weight:300 !important}.font-weight-lighter{font-weight:lighter !important}.font-weight-normal{font-weight:400 !important}.font-weight-bold{font-weight:700 !important}.font-weight-bolder{font-weight:bolder !important}.font-italic{font-style:italic !important}.text-white{color:#fff !important}.text-primary{color:#3A3F44 !important}a.text-primary:hover,a.text-primary:focus{color:#17191b !important}.text-secondary{color:#7A8288 !important}a.text-secondary:hover,a.text-secondary:focus{color:#565b60 !important}.text-success{color:#62c462 !important}a.text-success:hover,a.text-success:focus{color:#3b9e3b !important}.text-info{color:#5bc0de !important}a.text-info:hover,a.text-info:focus{color:#28a1c5 !important}.text-warning{color:#f89406 !important}a.text-warning:hover,a.text-warning:focus{color:#ad6704 !important}.text-danger{color:#ee5f5b !important}a.text-danger:hover,a.text-danger:focus{color:#e51d18 !important}.text-light{color:#e9ecef !important}a.text-light:hover,a.text-light:focus{color:#bdc6cf !important}.text-dark{color:#272B30 !important}a.text-dark:hover,a.text-dark:focus{color:#050506 !important}.text-body{color:#aaa !important}.text-muted{color:#7A8288 !important}.text-black-50{color:rgba(0,0,0,0.5) !important}.text-white-50{color:rgba(255,255,255,0.5) !important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.text-decoration-none{text-decoration:none !important}.text-break{word-break:break-word !important;overflow-wrap:break-word !important}.text-reset{color:inherit !important}.visible{visibility:visible !important}.invisible{visibility:hidden !important}@media print{*,*::before,*::after{text-shadow:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}a:not(.btn){text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap !important}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}@page{size:a3}body{min-width:992px !important}.container{min-width:992px !important}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #dee2e6 !important}.table-dark{color:inherit}.table-dark th,.table-dark td,.table-dark thead th,.table-dark tbody+tbody{border-color:rgba(0,0,0,0.6)}.table .thead-dark th{color:inherit;border-color:rgba(0,0,0,0.6)}}.navbar{border:1px solid rgba(0,0,0,0.6);text-shadow:1px 1px 1px rgba(0,0,0,0.3)}.navbar .container{padding:0}.navbar .navbar-toggler{border-color:rgba(0,0,0,0.6)}.navbar-fixed-top{border-width:0 0 1px 0}.navbar-fixed-bottom{border-width:1px 0 0 0}.navbar .nav-link{padding:1rem;border-left:1px solid rgba(255,255,255,0.1);border-right:1px solid rgba(0,0,0,0.2)}.navbar .nav-link:hover,.navbar .nav-link:focus{background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none;border-left:1px solid rgba(0,0,0,0.2)}.navbar-brand{padding:0.75rem 1rem calc(54px - 0.75rem - 30px);margin-right:0;border-right:1px solid rgba(0,0,0,0.2)}.navbar .nav-item.active .nav-link{background-color:rgba(0,0,0,0.3);border-left:1px solid rgba(0,0,0,0.2)}.navbar-nav .nav-item+.nav-item{margin-left:0}.navbar.bg-light{text-shadow:1px 1px 1px rgba(0,0,0,0.1)}.navbar.bg-light .nav-link:hover,.navbar.bg-light .nav-link:focus{background-image:-webkit-gradient(linear, left top, left bottom, from(#4e5458), color-stop(40%, #565b60), to(#5b6165));background-image:linear-gradient(#4e5458, #565b60 40%, #5b6165);background-repeat:no-repeat;-webkit-filter:none;filter:none;border-left:1px solid rgba(0,0,0,0.2)}@media (max-width: 576px){.navbar-expand-sm .navbar-brand,.navbar-expand-sm .nav-link{border:none !important}}@media (max-width: 768px){.navbar-expand-md .navbar-brand,.navbar-expand-md .nav-link{border:none !important}}@media (max-width: 992px){.navbar-expand-lg .navbar-brand,.navbar-expand-lg .nav-link{border:none !important}}.btn{border-color:rgba(0,0,0,0.6);text-shadow:1px 1px 1px rgba(0,0,0,0.3)}.btn:not([disabled]):not(.disabled).active,.btn.disabled{border-color:rgba(0,0,0,0.6);-webkit-box-shadow:none;box-shadow:none}.btn:hover,.btn:focus,.btn:not([disabled]):not(.disabled):active,.btn:not([disabled]):not(.disabled):active:hover,.btn:not([disabled]):not(.disabled).active:hover{border-color:rgba(0,0,0,0.6)}.btn-primary{background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-primary:not([disabled]):not(.disabled):hover,.btn-primary:not([disabled]):not(.disabled):focus,.btn-primary:not([disabled]):not(.disabled):active:hover,.btn-primary:not([disabled]):not(.disabled).active:hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-secondary{background-image:-webkit-gradient(linear, left top, left bottom, from(#8a9196), color-stop(60%, #7A8288), to(#70787d));background-image:linear-gradient(#8a9196, #7A8288 60%, #70787d);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-secondary:not([disabled]):not(.disabled):hover,.btn-secondary:not([disabled]):not(.disabled):focus,.btn-secondary:not([disabled]):not(.disabled):active,.btn-secondary:not([disabled]):not(.disabled).active{background-image:-webkit-gradient(linear, left top, left bottom, from(#4e5458), color-stop(40%, #565b60), to(#5b6165));background-image:linear-gradient(#4e5458, #565b60 40%, #5b6165);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-success{background-image:-webkit-gradient(linear, left top, left bottom, from(#78cc78), color-stop(60%, #62c462), to(#53be53));background-image:linear-gradient(#78cc78, #62c462 60%, #53be53);background-repeat:no-repeat;-webkit-filter:none;filter:none;color:#fff}.btn-success:not([disabled]):not(.disabled):hover,.btn-success:not([disabled]):not(.disabled):focus,.btn-success:not([disabled]):not(.disabled):active,.btn-success:not([disabled]):not(.disabled).active{background-image:-webkit-gradient(linear, left top, left bottom, from(#379337), color-stop(40%, #3b9e3b), to(#3ea63e));background-image:linear-gradient(#379337, #3b9e3b 40%, #3ea63e);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-info{background-image:-webkit-gradient(linear, left top, left bottom, from(#74cae3), color-stop(60%, #5bc0de), to(#4ab9db));background-image:linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);background-repeat:no-repeat;-webkit-filter:none;filter:none;color:#fff}.btn-info:not([disabled]):not(.disabled):hover,.btn-info:not([disabled]):not(.disabled):focus,.btn-info:not([disabled]):not(.disabled):active,.btn-info:not([disabled]):not(.disabled).active{background-image:-webkit-gradient(linear, left top, left bottom, from(#2596b8), color-stop(40%, #28a1c5), to(#29a8cd));background-image:linear-gradient(#2596b8, #28a1c5 40%, #29a8cd);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-warning{background-image:-webkit-gradient(linear, left top, left bottom, from(#faa123), color-stop(60%, #f89406), to(#e48806));background-image:linear-gradient(#faa123, #f89406 60%, #e48806);background-repeat:no-repeat;-webkit-filter:none;filter:none;color:#fff}.btn-warning:not([disabled]):not(.disabled):hover,.btn-warning:not([disabled]):not(.disabled):focus,.btn-warning:not([disabled]):not(.disabled):active,.btn-warning:not([disabled]):not(.disabled).active{background-image:-webkit-gradient(linear, left top, left bottom, from(#9e5f04), color-stop(40%, #ad6704), to(#b76d04));background-image:linear-gradient(#9e5f04, #ad6704 40%, #b76d04);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-danger{background-image:-webkit-gradient(linear, left top, left bottom, from(#f17a77), color-stop(60%, #ee5f5b), to(#ec4d49));background-image:linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-danger:not([disabled]):not(.disabled):hover,.btn-danger:not([disabled]):not(.disabled):focus,.btn-danger:not([disabled]):not(.disabled):active,.btn-danger:not([disabled]):not(.disabled).active{background-image:-webkit-gradient(linear, left top, left bottom, from(#d71c16), color-stop(40%, #e51d18), to(#e8241f));background-image:linear-gradient(#d71c16, #e51d18 40%, #e8241f);background-repeat:no-repeat;-webkit-filter:none;filter:none}.btn-link,.btn-link:hover{border-color:transparent}.btn-group .btn.active,.btn-group-vertical .btn.active{border-color:rgba(0,0,0,0.6)}h1,h2,h3,h4,h5,h6{text-shadow:-1px -1px 0 rgba(0,0,0,0.3)}.table-primary,.table-secondary,.table-success,.table-info,.table-warning,.table-danger{color:#fff}.table-primary,.table-primary>th,.table-primary>td{background-color:#3A3F44}.table-secondary,.table-secondary>th,.table-secondary>td{background-color:#7A8288}.table-light,.table-light>th,.table-light>td{background-color:#e9ecef}.table-dark,.table-dark>th,.table-dark>td{background-color:#272B30}.table-success,.table-success>th,.table-success>td{background-color:#62c462}.table-info,.table-info>th,.table-info>td{background-color:#5bc0de}.table-danger,.table-danger>th,.table-danger>td{background-color:#ee5f5b}.table-warning,.table-warning>th,.table-warning>td{background-color:#f89406}.table-active,.table-active>th,.table-active>td{background-color:rgba(255,255,255,0.075)}.table-hover .table-primary:hover,.table-hover .table-primary:hover>th,.table-hover .table-primary:hover>td{background-color:#2e3236}.table-hover .table-secondary:hover,.table-hover .table-secondary:hover>th,.table-hover .table-secondary:hover>td{background-color:#6e757b}.table-hover .table-light:hover,.table-hover .table-light:hover>th,.table-hover .table-light:hover>td{background-color:#dadfe4}.table-hover .table-dark:hover,.table-hover .table-dark:hover>th,.table-hover .table-dark:hover>td{background-color:#1c1e22}.table-hover .table-success:hover,.table-hover .table-success:hover>th,.table-hover .table-success:hover>td{background-color:#4fbd4f}.table-hover .table-info:hover,.table-hover .table-info:hover>th,.table-hover .table-info:hover>td{background-color:#46b8da}.table-hover .table-danger:hover,.table-hover .table-danger:hover>th,.table-hover .table-danger:hover>td{background-color:#ec4844}.table-hover .table-warning:hover,.table-hover .table-warning:hover>th,.table-hover .table-warning:hover>td{background-color:#df8505}.table-hover .table-active:hover,.table-hover .table-active:hover>th,.table-hover .table-active:hover>td{background-color:rgba(255,255,255,0.075)}legend{color:#fff}.input-group-addon{background-image:-webkit-gradient(linear, left top, left bottom, from(#8a9196), color-stop(60%, #7A8288), to(#70787d));background-image:linear-gradient(#8a9196, #7A8288 60%, #70787d);background-repeat:no-repeat;-webkit-filter:none;filter:none;text-shadow:1px 1px 1px rgba(0,0,0,0.3);color:#fff}.nav-tabs .nav-link{background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none;border:1px solid rgba(0,0,0,0.6)}.nav-tabs .nav-link:not([disabled]):not(.disabled):hover,.nav-tabs .nav-link:not([disabled]):not(.disabled):focus,.nav-tabs .nav-link:not([disabled]):not(.disabled):active,.nav-tabs .nav-link:not([disabled]):not(.disabled).active{background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none}.nav-tabs .nav-link.disabled{border:1px solid rgba(0,0,0,0.6)}.nav-tabs .nav-link,.nav-tabs .nav-link:hover{color:#fff}.nav-pills .nav-link{background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none;border:1px solid rgba(0,0,0,0.6);text-shadow:1px 1px 1px rgba(0,0,0,0.3);color:#fff}.nav-pills .nav-link:hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none;border:1px solid rgba(0,0,0,0.6)}.nav-pills .nav-link.active,.nav-pills .nav-link:hover{background-color:transparent;background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none;border:1px solid rgba(0,0,0,0.6)}.nav-pills .nav-link.disabled,.nav-pills .nav-link.disabled:hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none;color:#7A8288}.pagination .page-link{text-shadow:1px 1px 1px rgba(0,0,0,0.3);background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none}.pagination .page-link:hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none;text-decoration:none}.pagination .page-item.active .page-link{background-image:-webkit-gradient(linear, left top, left bottom, from(#101112), color-stop(40%, #17191b), to(#1b1e20));background-image:linear-gradient(#101112, #17191b 40%, #1b1e20);background-repeat:no-repeat;-webkit-filter:none;filter:none}.pagination .page-item.disabled .page-link{background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none}.breadcrumb{border:1px solid rgba(0,0,0,0.6);text-shadow:1px 1px 1px rgba(0,0,0,0.3);background-color:transparent;background-image:-webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3A3F44), to(#313539));background-image:linear-gradient(#484e55, #3A3F44 60%, #313539);background-repeat:no-repeat;-webkit-filter:none;filter:none}.breadcrumb a,.breadcrumb a:hover{color:#fff}.alert .close{color:#000;text-decoration:none}.alert{border:none;color:#fff}.alert a,.alert .alert-link{color:#fff;text-decoration:underline}.alert-primary{background-color:#3A3F44}.alert-secondary{background-color:#7A8288}.alert-success{background-color:#62c462}.alert-info{background-color:#5bc0de}.alert-warning{background-color:#f89406}.alert-danger{background-color:#ee5f5b}.alert-light{background-color:#e9ecef}.alert-dark{background-color:#272B30}.alert-light,.alert-light a:not(.btn),.alert-light .alert-link{color:#272B30}.badge-success,.badge-warning,.badge-info{color:#fff}.jumbotron{border:1px solid rgba(0,0,0,0.6)}.list-group-item:hover{background-color:#1c1e22} diff --git a/webfm/static/css/bootstrap/bootstrap4-toggle.min.css b/webfm/static/css/bootstrap/bootstrap4-toggle.min.css new file mode 100644 index 0000000..42b1ec7 --- /dev/null +++ b/webfm/static/css/bootstrap/bootstrap4-toggle.min.css @@ -0,0 +1,10 @@ +/*\ +|*| ======================================================================== +|*| Bootstrap Toggle: bootstrap4-toggle.css v3.6.1 +|*| https://gitbrent.github.io/bootstrap4-toggle/ +|*| ======================================================================== +|*| Copyright 2018-2019 Brent Ely +|*| Licensed under MIT +|*| ======================================================================== +\*/ +.btn-group-xs>.btn,.btn-xs{padding:.35rem .4rem .25rem .4rem;font-size:.875rem;line-height:.5;border-radius:.2rem}.checkbox label .toggle,.checkbox-inline .toggle{margin-left:-1.25rem;margin-right:.35rem}.toggle{position:relative;overflow:hidden}.toggle.btn.btn-light,.toggle.btn.btn-outline-light{border-color:rgba(0,0,0,.15)}.toggle input[type=checkbox]{display:none}.toggle-group{position:absolute;width:200%;top:0;bottom:0;left:0;transition:left .35s;-webkit-transition:left .35s;-moz-user-select:none;-webkit-user-select:none}.toggle-group label,.toggle-group span{cursor:pointer}.toggle.off .toggle-group{left:-100%}.toggle-on{position:absolute;top:0;bottom:0;left:0;right:50%;margin:0;border:0;border-radius:0}.toggle-off{position:absolute;top:0;bottom:0;left:50%;right:0;margin:0;border:0;border-radius:0;box-shadow:none}.toggle-handle{position:relative;margin:0 auto;padding-top:0;padding-bottom:0;height:100%;width:0;border-width:0 1px;background-color:#fff}.toggle.btn-outline-primary .toggle-handle{background-color:var(--primary);border-color:var(--primary)}.toggle.btn-outline-secondary .toggle-handle{background-color:var(--secondary);border-color:var(--secondary)}.toggle.btn-outline-success .toggle-handle{background-color:var(--success);border-color:var(--success)}.toggle.btn-outline-danger .toggle-handle{background-color:var(--danger);border-color:var(--danger)}.toggle.btn-outline-warning .toggle-handle{background-color:var(--warning);border-color:var(--warning)}.toggle.btn-outline-info .toggle-handle{background-color:var(--info);border-color:var(--info)}.toggle.btn-outline-light .toggle-handle{background-color:var(--light);border-color:var(--light)}.toggle.btn-outline-dark .toggle-handle{background-color:var(--dark);border-color:var(--dark)}.toggle[class*=btn-outline]:hover .toggle-handle{background-color:var(--light);opacity:.5}.toggle.btn{min-width:3.7rem;min-height:2.15rem}.toggle-on.btn{padding-right:1.5rem}.toggle-off.btn{padding-left:1.5rem}.toggle.btn-lg{min-width:5rem;min-height:2.815rem}.toggle-on.btn-lg{padding-right:2rem}.toggle-off.btn-lg{padding-left:2rem}.toggle-handle.btn-lg{width:2.5rem}.toggle.btn-sm{min-width:3.125rem;min-height:1.938rem}.toggle-on.btn-sm{padding-right:1rem}.toggle-off.btn-sm{padding-left:1rem}.toggle.btn-xs{min-width:2.19rem;min-height:1.375rem}.toggle-on.btn-xs{padding-right:.8rem}.toggle-off.btn-xs{padding-left:.8rem} diff --git a/webfm/static/css/iframe.css b/webfm/static/css/iframe.css new file mode 100644 index 0000000..f4e1830 --- /dev/null +++ b/webfm/static/css/iframe.css @@ -0,0 +1,5 @@ +body, +.container-fluid, .row, .col, +.error-styling, .dir-style, .movie-style, .file-style { + background-color: rgba(0,0,0,0.0); +} diff --git a/webfm/static/css/main.css b/webfm/static/css/main.css new file mode 100644 index 0000000..c8e2077 --- /dev/null +++ b/webfm/static/css/main.css @@ -0,0 +1,141 @@ +/* IDs */ +#bg { + position: fixed; + top: 0%; + left: 0%; + width: 100%; + height: 100%; + z-index: -999; +} + +#bg img { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + height: 100%; + z-index: -999; +} + +#file-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(18em, 1fr)); + grid-column-gap: 1em; + grid-row-gap: 1em; + margin: 5em auto; + width: 85%; + padding: 2em; + overflow-y: auto; + max-height: 25em; +} + +#path { max-width: inherit; } +#faves-list > li { width: 100%; } + + + +/* CLASSES */ +.scroller { + scrollbar-color: #00000084 #ffffff64; + scrollbar-width: thin; +} + +.dir-style, .video-style, .file-style { + display: block; + width: 100%; + height: auto; + overflow: auto; + padding-bottom: 0.5em; + color: #ffffff; + text-align: center; + font-size: 1.2em; + background-color: rgba(0,0,0,0.64); + background-repeat: no-repeat; + background-size: 42px 42px; + touch-action: manipulation; +} + +.dir-style, .file-style { + background-position: 32px center; +} + +.image-style, +.video-style { + min-height: 6.5em; + width: auto; + overflow: hidden; + background-size: 100% 100%; +} + +.card-popout-btn { + float: right; + z-index: 2; + width: 2em; + height: 2em; + text-align: center; + background-color: rgba(0,0,0, 0.85); + color: rgb(255,255,255); + border-style: solid; + border-color: rgb(255,255,255); +} + +.close-btn:hover, +.card-popout-btn:hover, +.popout-btn:hover { + cursor: pointer; +} + +.close-btn:hover, +.card-popout-btn:hover, +.popout-btn:hover { + background-color: rgba(255,255,255, 0.85); + color: #000000; + border-color: #000000; +} + + + +.dir-style:hover, .image-style:hover, .video-style:hover, .file-style:hover { + background-color: rgba(0, 141, 166, 0.56); + cursor: pointer; + box-shadow: 0px 0px 15px rgb(114,184,199); + border-radius: 0.5em; +} + +.dir-style:focus, .image-style:focus, .video-style:focus, .file-style:focus { + background-color: rgba(0, 139, 35, 0.76); + cursor: pointer; + box-shadow: 0px 0px 25px rgb(114, 199, 120); + border-radius: 0.5em; +} + + +.dir-title, .file-title, .video-title { + white-space: nowrap; + text-overflow: ellipsis; + text-align: center; + overflow: hidden; + border-style: none; + font-size: 75%; + user-select: none; + -moz-user-select: none; +} + +.dir-title, .file-title { + width: auto; + background-color: #00000000; + color: #ffffff; +} + +.video-title { + width: 100%; + margin-top: 5.5em; + background-color: rgba(0, 0, 0, 0.64); + color: rgb(255, 255, 255); + text-align: center; + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + text-overflow: ellipsis; +} diff --git a/webfm/static/css/overrides.css b/webfm/static/css/overrides.css new file mode 100644 index 0000000..15e59a9 --- /dev/null +++ b/webfm/static/css/overrides.css @@ -0,0 +1,14 @@ +.modal-content { + background-color: #32383e74; + border-color: #f8940674; +} + +.sticky-top, +.card { + background-color: rgba(50, 56, 62, 0.84); +} + +.label-as-badge { + border-radius: 1em; + cursor: pointer; +} diff --git a/webfm/static/db/webfm.db b/webfm/static/db/webfm.db new file mode 100644 index 0000000..2edcc9e Binary files /dev/null and b/webfm/static/db/webfm.db differ diff --git a/favicon.png b/webfm/static/favicon.png similarity index 100% rename from favicon.png rename to webfm/static/favicon.png diff --git a/resources/ffmpegthumbnailer b/webfm/static/ffmpegthumbnailer similarity index 100% rename from resources/ffmpegthumbnailer rename to webfm/static/ffmpegthumbnailer diff --git a/resources/images/backgrounds/000.jpg b/webfm/static/imgs/backgrounds/000.jpg similarity index 100% rename from resources/images/backgrounds/000.jpg rename to webfm/static/imgs/backgrounds/000.jpg diff --git a/resources/images/icons/arc.png b/webfm/static/imgs/icons/arc.png similarity index 100% rename from resources/images/icons/arc.png rename to webfm/static/imgs/icons/arc.png diff --git a/resources/images/icons/bin.png b/webfm/static/imgs/icons/bin.png similarity index 100% rename from resources/images/icons/bin.png rename to webfm/static/imgs/icons/bin.png diff --git a/resources/images/icons/doc.png b/webfm/static/imgs/icons/doc.png similarity index 100% rename from resources/images/icons/doc.png rename to webfm/static/imgs/icons/doc.png diff --git a/resources/images/icons/folder.png b/webfm/static/imgs/icons/folder.png similarity index 100% rename from resources/images/icons/folder.png rename to webfm/static/imgs/icons/folder.png diff --git a/resources/images/icons/html.png b/webfm/static/imgs/icons/html.png similarity index 100% rename from resources/images/icons/html.png rename to webfm/static/imgs/icons/html.png diff --git a/resources/images/icons/img.png b/webfm/static/imgs/icons/img.png similarity index 100% rename from resources/images/icons/img.png rename to webfm/static/imgs/icons/img.png diff --git a/webfm/static/imgs/icons/link-icon.png b/webfm/static/imgs/icons/link-icon.png new file mode 100644 index 0000000..a4e30d7 Binary files /dev/null and b/webfm/static/imgs/icons/link-icon.png differ diff --git a/resources/images/loading.gif b/webfm/static/imgs/icons/loading.gif similarity index 100% rename from resources/images/loading.gif rename to webfm/static/imgs/icons/loading.gif diff --git a/webfm/static/imgs/icons/octicons/alert.svg b/webfm/static/imgs/icons/octicons/alert.svg new file mode 100644 index 0000000..ca50ea8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/alert.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/archive.svg b/webfm/static/imgs/icons/octicons/archive.svg new file mode 100644 index 0000000..d1eaa21 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/archive.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-both.svg b/webfm/static/imgs/icons/octicons/arrow-both.svg new file mode 100644 index 0000000..4167746 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-both.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-down.svg b/webfm/static/imgs/icons/octicons/arrow-down.svg new file mode 100644 index 0000000..c1acf0a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-left.svg b/webfm/static/imgs/icons/octicons/arrow-left.svg new file mode 100644 index 0000000..f3cda4f --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-right.svg b/webfm/static/imgs/icons/octicons/arrow-right.svg new file mode 100644 index 0000000..04a4fbf --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-small-down.svg b/webfm/static/imgs/icons/octicons/arrow-small-down.svg new file mode 100644 index 0000000..57c1ee8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-small-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-small-left.svg b/webfm/static/imgs/icons/octicons/arrow-small-left.svg new file mode 100644 index 0000000..9fa227e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-small-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-small-right.svg b/webfm/static/imgs/icons/octicons/arrow-small-right.svg new file mode 100644 index 0000000..bca6847 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-small-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-small-up.svg b/webfm/static/imgs/icons/octicons/arrow-small-up.svg new file mode 100644 index 0000000..6c132f1 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-small-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/arrow-up.svg b/webfm/static/imgs/icons/octicons/arrow-up.svg new file mode 100644 index 0000000..63be890 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/arrow-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/beaker.svg b/webfm/static/imgs/icons/octicons/beaker.svg new file mode 100644 index 0000000..0997bb0 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/beaker.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/bell.svg b/webfm/static/imgs/icons/octicons/bell.svg new file mode 100644 index 0000000..82709d3 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/bell.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/bold.svg b/webfm/static/imgs/icons/octicons/bold.svg new file mode 100644 index 0000000..d2f2995 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/bold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/book.svg b/webfm/static/imgs/icons/octicons/book.svg new file mode 100644 index 0000000..d21fa56 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/book.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/bookmark.svg b/webfm/static/imgs/icons/octicons/bookmark.svg new file mode 100644 index 0000000..de64157 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/bookmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/briefcase.svg b/webfm/static/imgs/icons/octicons/briefcase.svg new file mode 100644 index 0000000..5104b81 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/briefcase.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/broadcast.svg b/webfm/static/imgs/icons/octicons/broadcast.svg new file mode 100644 index 0000000..ddc1458 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/broadcast.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/browser.svg b/webfm/static/imgs/icons/octicons/browser.svg new file mode 100644 index 0000000..00f512a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/browser.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/bug.svg b/webfm/static/imgs/icons/octicons/bug.svg new file mode 100644 index 0000000..7518829 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/bug.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/calendar.svg b/webfm/static/imgs/icons/octicons/calendar.svg new file mode 100644 index 0000000..fede886 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/check.svg b/webfm/static/imgs/icons/octicons/check.svg new file mode 100644 index 0000000..2df5dee --- /dev/null +++ b/webfm/static/imgs/icons/octicons/check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/checklist.svg b/webfm/static/imgs/icons/octicons/checklist.svg new file mode 100644 index 0000000..671aa3b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/checklist.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/chevron-down.svg b/webfm/static/imgs/icons/octicons/chevron-down.svg new file mode 100644 index 0000000..32eab7b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/chevron-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/chevron-left.svg b/webfm/static/imgs/icons/octicons/chevron-left.svg new file mode 100644 index 0000000..680c9a0 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/chevron-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/chevron-right.svg b/webfm/static/imgs/icons/octicons/chevron-right.svg new file mode 100644 index 0000000..a5dadc6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/chevron-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/chevron-up.svg b/webfm/static/imgs/icons/octicons/chevron-up.svg new file mode 100644 index 0000000..19db9dd --- /dev/null +++ b/webfm/static/imgs/icons/octicons/chevron-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/circle-slash.svg b/webfm/static/imgs/icons/octicons/circle-slash.svg new file mode 100644 index 0000000..edfb3d8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/circle-slash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/circuit-board.svg b/webfm/static/imgs/icons/octicons/circuit-board.svg new file mode 100644 index 0000000..f9a4c7e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/circuit-board.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/clippy.svg b/webfm/static/imgs/icons/octicons/clippy.svg new file mode 100644 index 0000000..9cb6337 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/clippy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/clock.svg b/webfm/static/imgs/icons/octicons/clock.svg new file mode 100644 index 0000000..4bb89e0 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/clock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/cloud-download.svg b/webfm/static/imgs/icons/octicons/cloud-download.svg new file mode 100644 index 0000000..8cc3d0f --- /dev/null +++ b/webfm/static/imgs/icons/octicons/cloud-download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/cloud-upload.svg b/webfm/static/imgs/icons/octicons/cloud-upload.svg new file mode 100644 index 0000000..c17e1d3 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/cloud-upload.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/code.svg b/webfm/static/imgs/icons/octicons/code.svg new file mode 100644 index 0000000..6e6560e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/comment-discussion.svg b/webfm/static/imgs/icons/octicons/comment-discussion.svg new file mode 100644 index 0000000..c155b88 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/comment-discussion.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/comment.svg b/webfm/static/imgs/icons/octicons/comment.svg new file mode 100644 index 0000000..2c6d88c --- /dev/null +++ b/webfm/static/imgs/icons/octicons/comment.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/credit-card.svg b/webfm/static/imgs/icons/octicons/credit-card.svg new file mode 100644 index 0000000..7da9f29 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/credit-card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/dash.svg b/webfm/static/imgs/icons/octicons/dash.svg new file mode 100644 index 0000000..b9a28fe --- /dev/null +++ b/webfm/static/imgs/icons/octicons/dash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/dashboard.svg b/webfm/static/imgs/icons/octicons/dashboard.svg new file mode 100644 index 0000000..dad1fd7 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/dashboard.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/database.svg b/webfm/static/imgs/icons/octicons/database.svg new file mode 100644 index 0000000..e686d98 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/database.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/dependent.svg b/webfm/static/imgs/icons/octicons/dependent.svg new file mode 100644 index 0000000..cdab3a5 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/dependent.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/desktop-download.svg b/webfm/static/imgs/icons/octicons/desktop-download.svg new file mode 100644 index 0000000..74b2c7d --- /dev/null +++ b/webfm/static/imgs/icons/octicons/desktop-download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/device-camera-video.svg b/webfm/static/imgs/icons/octicons/device-camera-video.svg new file mode 100644 index 0000000..dc0e55e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/device-camera-video.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/device-camera.svg b/webfm/static/imgs/icons/octicons/device-camera.svg new file mode 100644 index 0000000..609be0e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/device-camera.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/device-desktop.svg b/webfm/static/imgs/icons/octicons/device-desktop.svg new file mode 100644 index 0000000..3671fd0 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/device-desktop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/device-mobile.svg b/webfm/static/imgs/icons/octicons/device-mobile.svg new file mode 100644 index 0000000..84559ca --- /dev/null +++ b/webfm/static/imgs/icons/octicons/device-mobile.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/diff-added.svg b/webfm/static/imgs/icons/octicons/diff-added.svg new file mode 100644 index 0000000..8394151 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/diff-added.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/diff-ignored.svg b/webfm/static/imgs/icons/octicons/diff-ignored.svg new file mode 100644 index 0000000..eaa2bee --- /dev/null +++ b/webfm/static/imgs/icons/octicons/diff-ignored.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/diff-modified.svg b/webfm/static/imgs/icons/octicons/diff-modified.svg new file mode 100644 index 0000000..6a17dc3 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/diff-modified.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/diff-removed.svg b/webfm/static/imgs/icons/octicons/diff-removed.svg new file mode 100644 index 0000000..2dfe2a1 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/diff-removed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/diff-renamed.svg b/webfm/static/imgs/icons/octicons/diff-renamed.svg new file mode 100644 index 0000000..c1f0982 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/diff-renamed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/diff.svg b/webfm/static/imgs/icons/octicons/diff.svg new file mode 100644 index 0000000..cbaa51f --- /dev/null +++ b/webfm/static/imgs/icons/octicons/diff.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/ellipsis.svg b/webfm/static/imgs/icons/octicons/ellipsis.svg new file mode 100644 index 0000000..7d4b9d8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/ellipsis.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/eye-closed.svg b/webfm/static/imgs/icons/octicons/eye-closed.svg new file mode 100644 index 0000000..e6c2588 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/eye-closed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/eye.svg b/webfm/static/imgs/icons/octicons/eye.svg new file mode 100644 index 0000000..4f43a09 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/eye.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-binary.svg b/webfm/static/imgs/icons/octicons/file-binary.svg new file mode 100644 index 0000000..93d0f54 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-binary.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-code.svg b/webfm/static/imgs/icons/octicons/file-code.svg new file mode 100644 index 0000000..5b4b199 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-directory.svg b/webfm/static/imgs/icons/octicons/file-directory.svg new file mode 100644 index 0000000..4bf1f1c --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-directory.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-media.svg b/webfm/static/imgs/icons/octicons/file-media.svg new file mode 100644 index 0000000..018e533 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-media.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-pdf.svg b/webfm/static/imgs/icons/octicons/file-pdf.svg new file mode 100644 index 0000000..6d04a04 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-pdf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-submodule.svg b/webfm/static/imgs/icons/octicons/file-submodule.svg new file mode 100644 index 0000000..355a905 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-submodule.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-symlink-directory.svg b/webfm/static/imgs/icons/octicons/file-symlink-directory.svg new file mode 100644 index 0000000..4b6263a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-symlink-directory.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-symlink-file.svg b/webfm/static/imgs/icons/octicons/file-symlink-file.svg new file mode 100644 index 0000000..b2aaf24 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-symlink-file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file-zip.svg b/webfm/static/imgs/icons/octicons/file-zip.svg new file mode 100644 index 0000000..e2bb5b0 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file-zip.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/file.svg b/webfm/static/imgs/icons/octicons/file.svg new file mode 100644 index 0000000..0997406 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/flame.svg b/webfm/static/imgs/icons/octicons/flame.svg new file mode 100644 index 0000000..1fcb94b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/flame.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/fold-down.svg b/webfm/static/imgs/icons/octicons/fold-down.svg new file mode 100644 index 0000000..af917bf --- /dev/null +++ b/webfm/static/imgs/icons/octicons/fold-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/fold-up.svg b/webfm/static/imgs/icons/octicons/fold-up.svg new file mode 100644 index 0000000..96bdb34 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/fold-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/fold.svg b/webfm/static/imgs/icons/octicons/fold.svg new file mode 100644 index 0000000..1b0b399 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/fold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/gear.svg b/webfm/static/imgs/icons/octicons/gear.svg new file mode 100644 index 0000000..bf82007 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/gear.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/gift.svg b/webfm/static/imgs/icons/octicons/gift.svg new file mode 100644 index 0000000..4539ce6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/gift.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/gist-secret.svg b/webfm/static/imgs/icons/octicons/gist-secret.svg new file mode 100644 index 0000000..6495281 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/gist-secret.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/gist.svg b/webfm/static/imgs/icons/octicons/gist.svg new file mode 100644 index 0000000..9584460 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/gist.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/git-branch.svg b/webfm/static/imgs/icons/octicons/git-branch.svg new file mode 100644 index 0000000..21ca8d8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/git-branch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/git-commit.svg b/webfm/static/imgs/icons/octicons/git-commit.svg new file mode 100644 index 0000000..3cc2e82 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/git-commit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/git-compare.svg b/webfm/static/imgs/icons/octicons/git-compare.svg new file mode 100644 index 0000000..4737499 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/git-compare.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/git-merge.svg b/webfm/static/imgs/icons/octicons/git-merge.svg new file mode 100644 index 0000000..63c43f7 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/git-merge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/git-pull-request.svg b/webfm/static/imgs/icons/octicons/git-pull-request.svg new file mode 100644 index 0000000..4f59759 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/git-pull-request.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/github-action.svg b/webfm/static/imgs/icons/octicons/github-action.svg new file mode 100644 index 0000000..e380fb7 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/github-action.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/globe.svg b/webfm/static/imgs/icons/octicons/globe.svg new file mode 100644 index 0000000..990554c --- /dev/null +++ b/webfm/static/imgs/icons/octicons/globe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/grabber.svg b/webfm/static/imgs/icons/octicons/grabber.svg new file mode 100644 index 0000000..1a41fd0 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/grabber.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/graph.svg b/webfm/static/imgs/icons/octicons/graph.svg new file mode 100644 index 0000000..cd3909e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/graph.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/heart.svg b/webfm/static/imgs/icons/octicons/heart.svg new file mode 100644 index 0000000..e9407b5 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/heart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/history.svg b/webfm/static/imgs/icons/octicons/history.svg new file mode 100644 index 0000000..ee4d9fb --- /dev/null +++ b/webfm/static/imgs/icons/octicons/history.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/home.svg b/webfm/static/imgs/icons/octicons/home.svg new file mode 100644 index 0000000..f3d3138 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/horizontal-rule.svg b/webfm/static/imgs/icons/octicons/horizontal-rule.svg new file mode 100644 index 0000000..9a05c30 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/horizontal-rule.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/hubot.svg b/webfm/static/imgs/icons/octicons/hubot.svg new file mode 100644 index 0000000..fea9f4b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/hubot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/inbox.svg b/webfm/static/imgs/icons/octicons/inbox.svg new file mode 100644 index 0000000..f9cfec2 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/inbox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/info.svg b/webfm/static/imgs/icons/octicons/info.svg new file mode 100644 index 0000000..26db463 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/info.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/issue-closed.svg b/webfm/static/imgs/icons/octicons/issue-closed.svg new file mode 100644 index 0000000..0a7819a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/issue-closed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/issue-opened.svg b/webfm/static/imgs/icons/octicons/issue-opened.svg new file mode 100644 index 0000000..a88cbcc --- /dev/null +++ b/webfm/static/imgs/icons/octicons/issue-opened.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/issue-reopened.svg b/webfm/static/imgs/icons/octicons/issue-reopened.svg new file mode 100644 index 0000000..789e18b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/issue-reopened.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/italic.svg b/webfm/static/imgs/icons/octicons/italic.svg new file mode 100644 index 0000000..51d65f1 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/italic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/jersey.svg b/webfm/static/imgs/icons/octicons/jersey.svg new file mode 100644 index 0000000..776e456 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/jersey.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/kebab-horizontal.svg b/webfm/static/imgs/icons/octicons/kebab-horizontal.svg new file mode 100644 index 0000000..7c472d3 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/kebab-horizontal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/kebab-vertical.svg b/webfm/static/imgs/icons/octicons/kebab-vertical.svg new file mode 100644 index 0000000..2aaee60 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/kebab-vertical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/key.svg b/webfm/static/imgs/icons/octicons/key.svg new file mode 100644 index 0000000..ac8badc --- /dev/null +++ b/webfm/static/imgs/icons/octicons/key.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/keyboard.svg b/webfm/static/imgs/icons/octicons/keyboard.svg new file mode 100644 index 0000000..89712ad --- /dev/null +++ b/webfm/static/imgs/icons/octicons/keyboard.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/law.svg b/webfm/static/imgs/icons/octicons/law.svg new file mode 100644 index 0000000..5ccc464 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/law.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/light-bulb.svg b/webfm/static/imgs/icons/octicons/light-bulb.svg new file mode 100644 index 0000000..d2ff74c --- /dev/null +++ b/webfm/static/imgs/icons/octicons/light-bulb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/link-external.svg b/webfm/static/imgs/icons/octicons/link-external.svg new file mode 100644 index 0000000..70b569d --- /dev/null +++ b/webfm/static/imgs/icons/octicons/link-external.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/link.svg b/webfm/static/imgs/icons/octicons/link.svg new file mode 100644 index 0000000..820aef7 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/list-ordered.svg b/webfm/static/imgs/icons/octicons/list-ordered.svg new file mode 100644 index 0000000..0a7bc5a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/list-ordered.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/list-unordered.svg b/webfm/static/imgs/icons/octicons/list-unordered.svg new file mode 100644 index 0000000..0b43536 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/list-unordered.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/location.svg b/webfm/static/imgs/icons/octicons/location.svg new file mode 100644 index 0000000..f6372a3 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/location.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/lock.svg b/webfm/static/imgs/icons/octicons/lock.svg new file mode 100644 index 0000000..5587064 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/logo-gist.svg b/webfm/static/imgs/icons/octicons/logo-gist.svg new file mode 100644 index 0000000..29f2213 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/logo-gist.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/logo-github.svg b/webfm/static/imgs/icons/octicons/logo-github.svg new file mode 100644 index 0000000..1e528a7 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/logo-github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mail-read.svg b/webfm/static/imgs/icons/octicons/mail-read.svg new file mode 100644 index 0000000..bf4deaf --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mail-read.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mail.svg b/webfm/static/imgs/icons/octicons/mail.svg new file mode 100644 index 0000000..9fca68b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mail.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mark-github.svg b/webfm/static/imgs/icons/octicons/mark-github.svg new file mode 100644 index 0000000..af1bfa1 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mark-github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/markdown.svg b/webfm/static/imgs/icons/octicons/markdown.svg new file mode 100644 index 0000000..999110e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/markdown.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/megaphone.svg b/webfm/static/imgs/icons/octicons/megaphone.svg new file mode 100644 index 0000000..a62f82d --- /dev/null +++ b/webfm/static/imgs/icons/octicons/megaphone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mention.svg b/webfm/static/imgs/icons/octicons/mention.svg new file mode 100644 index 0000000..c09499b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mention.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/milestone.svg b/webfm/static/imgs/icons/octicons/milestone.svg new file mode 100644 index 0000000..803465b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/milestone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mirror.svg b/webfm/static/imgs/icons/octicons/mirror.svg new file mode 100644 index 0000000..76e0c37 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mirror.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mortar-board.svg b/webfm/static/imgs/icons/octicons/mortar-board.svg new file mode 100644 index 0000000..bebeda3 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mortar-board.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/mute.svg b/webfm/static/imgs/icons/octicons/mute.svg new file mode 100644 index 0000000..e448808 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/mute.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/no-newline.svg b/webfm/static/imgs/icons/octicons/no-newline.svg new file mode 100644 index 0000000..2a8fb94 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/no-newline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/note.svg b/webfm/static/imgs/icons/octicons/note.svg new file mode 100644 index 0000000..cbf7963 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/note.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/octoface.svg b/webfm/static/imgs/icons/octicons/octoface.svg new file mode 100644 index 0000000..bb1a40d --- /dev/null +++ b/webfm/static/imgs/icons/octicons/octoface.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/organization.svg b/webfm/static/imgs/icons/octicons/organization.svg new file mode 100644 index 0000000..6bf4ae9 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/organization.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/package.svg b/webfm/static/imgs/icons/octicons/package.svg new file mode 100644 index 0000000..2db0351 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/package.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/paintcan.svg b/webfm/static/imgs/icons/octicons/paintcan.svg new file mode 100644 index 0000000..08b4a4b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/paintcan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/pencil.svg b/webfm/static/imgs/icons/octicons/pencil.svg new file mode 100644 index 0000000..8702f4d --- /dev/null +++ b/webfm/static/imgs/icons/octicons/pencil.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/person.svg b/webfm/static/imgs/icons/octicons/person.svg new file mode 100644 index 0000000..5871e2f --- /dev/null +++ b/webfm/static/imgs/icons/octicons/person.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/pin.svg b/webfm/static/imgs/icons/octicons/pin.svg new file mode 100644 index 0000000..95405c5 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/pin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/play.svg b/webfm/static/imgs/icons/octicons/play.svg new file mode 100644 index 0000000..690cc9b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/play.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/plug.svg b/webfm/static/imgs/icons/octicons/plug.svg new file mode 100644 index 0000000..42865d5 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/plug.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/plus-small.svg b/webfm/static/imgs/icons/octicons/plus-small.svg new file mode 100644 index 0000000..5e093a4 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/plus-small.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/plus.svg b/webfm/static/imgs/icons/octicons/plus.svg new file mode 100644 index 0000000..23c27d8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/primitive-dot.svg b/webfm/static/imgs/icons/octicons/primitive-dot.svg new file mode 100644 index 0000000..6f465da --- /dev/null +++ b/webfm/static/imgs/icons/octicons/primitive-dot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/primitive-square.svg b/webfm/static/imgs/icons/octicons/primitive-square.svg new file mode 100644 index 0000000..9d4058b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/primitive-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/project.svg b/webfm/static/imgs/icons/octicons/project.svg new file mode 100644 index 0000000..a728f74 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/project.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/pulse.svg b/webfm/static/imgs/icons/octicons/pulse.svg new file mode 100644 index 0000000..4ec57ba --- /dev/null +++ b/webfm/static/imgs/icons/octicons/pulse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/question.svg b/webfm/static/imgs/icons/octicons/question.svg new file mode 100644 index 0000000..a6fc753 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/question.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/quote.svg b/webfm/static/imgs/icons/octicons/quote.svg new file mode 100644 index 0000000..da5c2b2 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/quote.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/radio-tower.svg b/webfm/static/imgs/icons/octicons/radio-tower.svg new file mode 100644 index 0000000..f89a705 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/radio-tower.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/reply.svg b/webfm/static/imgs/icons/octicons/reply.svg new file mode 100644 index 0000000..12717db --- /dev/null +++ b/webfm/static/imgs/icons/octicons/reply.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-clone.svg b/webfm/static/imgs/icons/octicons/repo-clone.svg new file mode 100644 index 0000000..32b86e8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-clone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-force-push.svg b/webfm/static/imgs/icons/octicons/repo-force-push.svg new file mode 100644 index 0000000..0aece33 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-force-push.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-forked.svg b/webfm/static/imgs/icons/octicons/repo-forked.svg new file mode 100644 index 0000000..cc5e46a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-forked.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-pull.svg b/webfm/static/imgs/icons/octicons/repo-pull.svg new file mode 100644 index 0000000..dfe8e6c --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-pull.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-push.svg b/webfm/static/imgs/icons/octicons/repo-push.svg new file mode 100644 index 0000000..408dca6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-push.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-template-private.svg b/webfm/static/imgs/icons/octicons/repo-template-private.svg new file mode 100644 index 0000000..2230d51 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-template-private.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo-template.svg b/webfm/static/imgs/icons/octicons/repo-template.svg new file mode 100644 index 0000000..09e4082 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo-template.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/repo.svg b/webfm/static/imgs/icons/octicons/repo.svg new file mode 100644 index 0000000..e653d4e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/repo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/report.svg b/webfm/static/imgs/icons/octicons/report.svg new file mode 100644 index 0000000..3f93ee4 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/report.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/request-changes.svg b/webfm/static/imgs/icons/octicons/request-changes.svg new file mode 100644 index 0000000..88b43ce --- /dev/null +++ b/webfm/static/imgs/icons/octicons/request-changes.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/rocket.svg b/webfm/static/imgs/icons/octicons/rocket.svg new file mode 100644 index 0000000..98303f8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/rocket.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/rss.svg b/webfm/static/imgs/icons/octicons/rss.svg new file mode 100644 index 0000000..3b2705d --- /dev/null +++ b/webfm/static/imgs/icons/octicons/rss.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/ruby.svg b/webfm/static/imgs/icons/octicons/ruby.svg new file mode 100644 index 0000000..8463908 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/ruby.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/screen-full.svg b/webfm/static/imgs/icons/octicons/screen-full.svg new file mode 100644 index 0000000..e78d371 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/screen-full.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/screen-normal.svg b/webfm/static/imgs/icons/octicons/screen-normal.svg new file mode 100644 index 0000000..a884713 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/screen-normal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/search.svg b/webfm/static/imgs/icons/octicons/search.svg new file mode 100644 index 0000000..d0304b6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/server.svg b/webfm/static/imgs/icons/octicons/server.svg new file mode 100644 index 0000000..78bc79f --- /dev/null +++ b/webfm/static/imgs/icons/octicons/server.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/settings.svg b/webfm/static/imgs/icons/octicons/settings.svg new file mode 100644 index 0000000..f22b92e --- /dev/null +++ b/webfm/static/imgs/icons/octicons/settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/shield-check.svg b/webfm/static/imgs/icons/octicons/shield-check.svg new file mode 100644 index 0000000..405f016 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/shield-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/shield-lock.svg b/webfm/static/imgs/icons/octicons/shield-lock.svg new file mode 100644 index 0000000..087a969 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/shield-lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/shield-x.svg b/webfm/static/imgs/icons/octicons/shield-x.svg new file mode 100644 index 0000000..3863e31 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/shield-x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/shield.svg b/webfm/static/imgs/icons/octicons/shield.svg new file mode 100644 index 0000000..8098bc7 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/shield.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/sign-in.svg b/webfm/static/imgs/icons/octicons/sign-in.svg new file mode 100644 index 0000000..91560c6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/sign-in.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/sign-out.svg b/webfm/static/imgs/icons/octicons/sign-out.svg new file mode 100644 index 0000000..81ad760 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/sign-out.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/skip.svg b/webfm/static/imgs/icons/octicons/skip.svg new file mode 100644 index 0000000..45bead1 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/skip.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/smiley.svg b/webfm/static/imgs/icons/octicons/smiley.svg new file mode 100644 index 0000000..0d93af5 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/smiley.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/squirrel.svg b/webfm/static/imgs/icons/octicons/squirrel.svg new file mode 100644 index 0000000..3e5b51b --- /dev/null +++ b/webfm/static/imgs/icons/octicons/squirrel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/star.svg b/webfm/static/imgs/icons/octicons/star.svg new file mode 100644 index 0000000..9444880 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/stop.svg b/webfm/static/imgs/icons/octicons/stop.svg new file mode 100644 index 0000000..6ae8523 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/stop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/sync.svg b/webfm/static/imgs/icons/octicons/sync.svg new file mode 100644 index 0000000..692349a --- /dev/null +++ b/webfm/static/imgs/icons/octicons/sync.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/tag.svg b/webfm/static/imgs/icons/octicons/tag.svg new file mode 100644 index 0000000..64febe6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/tag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/tasklist.svg b/webfm/static/imgs/icons/octicons/tasklist.svg new file mode 100644 index 0000000..a0bd560 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/tasklist.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/telescope.svg b/webfm/static/imgs/icons/octicons/telescope.svg new file mode 100644 index 0000000..95047dc --- /dev/null +++ b/webfm/static/imgs/icons/octicons/telescope.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/terminal.svg b/webfm/static/imgs/icons/octicons/terminal.svg new file mode 100644 index 0000000..d6072fc --- /dev/null +++ b/webfm/static/imgs/icons/octicons/terminal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/text-size.svg b/webfm/static/imgs/icons/octicons/text-size.svg new file mode 100644 index 0000000..f83a5f9 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/text-size.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/three-bars.svg b/webfm/static/imgs/icons/octicons/three-bars.svg new file mode 100644 index 0000000..bb3b2c8 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/three-bars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/thumbsdown.svg b/webfm/static/imgs/icons/octicons/thumbsdown.svg new file mode 100644 index 0000000..3237c17 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/thumbsdown.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/thumbsup.svg b/webfm/static/imgs/icons/octicons/thumbsup.svg new file mode 100644 index 0000000..44996ab --- /dev/null +++ b/webfm/static/imgs/icons/octicons/thumbsup.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/tools.svg b/webfm/static/imgs/icons/octicons/tools.svg new file mode 100644 index 0000000..67a5984 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/tools.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/trashcan.svg b/webfm/static/imgs/icons/octicons/trashcan.svg new file mode 100644 index 0000000..3d8c051 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/trashcan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/triangle-down.svg b/webfm/static/imgs/icons/octicons/triangle-down.svg new file mode 100644 index 0000000..faa8896 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/triangle-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/triangle-left.svg b/webfm/static/imgs/icons/octicons/triangle-left.svg new file mode 100644 index 0000000..8762036 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/triangle-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/triangle-right.svg b/webfm/static/imgs/icons/octicons/triangle-right.svg new file mode 100644 index 0000000..59c2ac6 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/triangle-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/triangle-up.svg b/webfm/static/imgs/icons/octicons/triangle-up.svg new file mode 100644 index 0000000..98d0654 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/triangle-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/unfold.svg b/webfm/static/imgs/icons/octicons/unfold.svg new file mode 100644 index 0000000..ab04339 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/unfold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/unmute.svg b/webfm/static/imgs/icons/octicons/unmute.svg new file mode 100644 index 0000000..19b375f --- /dev/null +++ b/webfm/static/imgs/icons/octicons/unmute.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/unverified.svg b/webfm/static/imgs/icons/octicons/unverified.svg new file mode 100644 index 0000000..ea6280c --- /dev/null +++ b/webfm/static/imgs/icons/octicons/unverified.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/verified.svg b/webfm/static/imgs/icons/octicons/verified.svg new file mode 100644 index 0000000..db29981 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/verified.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/versions.svg b/webfm/static/imgs/icons/octicons/versions.svg new file mode 100644 index 0000000..274bbdb --- /dev/null +++ b/webfm/static/imgs/icons/octicons/versions.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/watch.svg b/webfm/static/imgs/icons/octicons/watch.svg new file mode 100644 index 0000000..45b2499 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/watch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/x.svg b/webfm/static/imgs/icons/octicons/x.svg new file mode 100644 index 0000000..e377314 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webfm/static/imgs/icons/octicons/zap.svg b/webfm/static/imgs/icons/octicons/zap.svg new file mode 100644 index 0000000..e778194 --- /dev/null +++ b/webfm/static/imgs/icons/octicons/zap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/icons/pdf.png b/webfm/static/imgs/icons/pdf.png similarity index 100% rename from resources/images/icons/pdf.png rename to webfm/static/imgs/icons/pdf.png diff --git a/resources/images/icons/scrip.png b/webfm/static/imgs/icons/scrip.png similarity index 100% rename from resources/images/icons/scrip.png rename to webfm/static/imgs/icons/scrip.png diff --git a/resources/images/icons/text.png b/webfm/static/imgs/icons/text.png similarity index 100% rename from resources/images/icons/text.png rename to webfm/static/imgs/icons/text.png diff --git a/webfm/static/imgs/thumbnails/Delete Me.txt b/webfm/static/imgs/thumbnails/Delete Me.txt new file mode 100644 index 0000000..2904e24 --- /dev/null +++ b/webfm/static/imgs/thumbnails/Delete Me.txt @@ -0,0 +1 @@ +Delete Me... \ No newline at end of file diff --git a/webfm/static/js/ajax.js b/webfm/static/js/ajax.js new file mode 100644 index 0000000..9428c12 --- /dev/null +++ b/webfm/static/js/ajax.js @@ -0,0 +1,68 @@ +const listFilesAjax = async (hash) => { + const data = "hash=" + hash; + doAjax("list-files", data, "list-files"); +} + +const getFavesAjax = async () => { + const data = "empty=NULL"; + doAjax("favorites", data, "favorites"); +} + +const loadFavoriteLink = async (id) => { + const data = "id=" + id; + doAjax("load-favorite", data, "load-favorite"); +} + +const manageFavoritesAjax = async (action, path) => { + const data = "action=" + action + "&path=" + path; + doAjax("manage-favorites", data, "manage-favorites"); +} + +const lockFoldersAjax = async () => { + const data = "empty=NULL"; + doAjax("logout", data, "lock-folders"); +} + + +const doAjax = (actionPath, data, action) => { + let xhttp = new XMLHttpRequest(); + + xhttp.onreadystatechange = function() { + if (this.readyState === 4 && this.status === 200) { + if (this.responseText != null) { // this.responseXML if getting XML data + if (xhttp.responseURL.includes("/register") || + xhttp.responseURL.includes("/login")) { + window.location.href = xhttp.responseURL; + } else { + postAjaxController(JSON.parse(this.responseText), action); + } + } else { + let type = "danger" + let msg = "No content returned. Check the target path."; + data = '{"message": { "type": "' + type + '", "text": "' + text + '" } }' + postAjaxController(JSON.parse(data)); + } + } + }; + + // xhttp.open("POST", formatURL(actionPath), true); + xhttp.open("POST", actionPath, true); + xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); + // Force return to be JSON NOTE: Use application/xml to force XML + xhttp.overrideMimeType('application/json'); + xhttp.send(data); +} + +// used to get propper paths when domain changes and there are sub paths +const formatURL = (basePath) => { + url = window.location.href; + if ( url.endsWith('/') ) + return url + basePath; + else + return url + '/' + basePath; +} + +const fetchData = async (url) => { + let response = await fetch( formatURL(url) ); + return await response.json(); +} diff --git a/webfm/static/js/cookie-manager.js b/webfm/static/js/cookie-manager.js new file mode 100644 index 0000000..9282ebe --- /dev/null +++ b/webfm/static/js/cookie-manager.js @@ -0,0 +1,8 @@ +const getCookie = (cookieKey) => { + return Cookies.get(cookieKey); +} + +const setCookie = (key, value, args = { expires: new Date('December 31, 2034 03:24:00'), + path: '/' }) => { + Cookies.set(key, value, args); +} diff --git a/webfm/static/js/events.js b/webfm/static/js/events.js new file mode 100644 index 0000000..7e2fd95 --- /dev/null +++ b/webfm/static/js/events.js @@ -0,0 +1,81 @@ +// let eventSource = new EventSource( formatURL("stream") ); +// eventSource.onmessage = function(e) { +// console.log(e.data); +// }; + + +document.body.onload = (eve) => { + getFavesAjax(); + reloadDirectory(); + if (window.self !== window.top) { + setTimeout(function () { + let elm = document.getElementById("bg"); + elm.parentElement.removeChild(elm); + + // Stylesheet for iframe views + var link = document.createElement("link"); + link.href = formatURL("static/css/iframe.css"); + link.type = "text/css"; + link.rel = "stylesheet"; + document.getElementsByTagName("head")[0].appendChild(link); + }, 500); + } +} + + + +$( "#search-files-field" ).bind( "keyup", async function(eve) { + searchPage(); +}); + +$( "#clear-search-btn" ).bind( "click", async function(eve) { + clearSearch(); +}); + + +$( "#refresh-btn" ).bind( "click", async function(eve) { + reloadDirectory(); +}); + +$( "#back-btn" ).bind( "click", async function(eve) { + goUpADirectory(); +}); + +$( "#tggl-faves-btn" ).bind( "click", async function(eve) { + manageFavorites(eve.target); +}); + +$( "#lock-folders-btn" ).bind( "click", async function(eve) { + lockFolders(); +}); + +$( "#scroll-files-to-top-btn" ).bind( "click", async function(eve) { + scrollFilesToTop(); +}); + + +// Actions for content +document.getElementById('file-grid').ondblclick = (event) => { + let target = event.target; + let className = target.className; + + // Left click detect + if (event.which == 1) { + // If clicking on container + if (className === "dir-style" || className === "video-style" || + className === "file-style" || className === "image-style") { + const title = target.getAttribute("title"); + const hash = target.getAttribute("hash"); + const parts = title.split('.'); + const extension = "." + parts[parts.length - 1].toLowerCase(); + + if (className === "dir-style") { + listFilesAjax(hash); + } else if (className === "video-style") { + showMedia(hash, extension, "video"); + } else { + showMedia(hash, extension, "file"); + } + } + } +} diff --git a/webfm/static/js/favorites.js b/webfm/static/js/favorites.js new file mode 100644 index 0000000..848cf0d --- /dev/null +++ b/webfm/static/js/favorites.js @@ -0,0 +1,19 @@ +const manageFavorites = (elm) => { + const classType = "btn-info"; + const hasClass = elm.classList.contains(classType); + if (hasClass) { + elm.classList.remove(classType); + action = "delete"; + } else { + elm.classList.add(classType); + action = "add"; + } + + let path = document.getElementById("path").innerHTML; + manageFavoritesAjax(action, path); +} + + +const loadFave = (id) => { + loadFavoriteLink(id); +} diff --git a/webfm/static/js/libs/bootstrap/bootstrap-datepicker.min.js b/webfm/static/js/libs/bootstrap/bootstrap-datepicker.min.js new file mode 100644 index 0000000..48cb452 --- /dev/null +++ b/webfm/static/js/libs/bootstrap/bootstrap-datepicker.min.js @@ -0,0 +1,9 @@ +/*! + * Datepicker for Bootstrap v1.6.4 (https://github.com/eternicode/bootstrap-datepicker) + * + * Copyright 2012 Stefan Petre + * Improvements by Andrew Rowls + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(a){return function(){return this[a].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;d>c;c++)if(this[c].valueOf()===b)return c;return-1},remove:function(a){this.splice(a,1)},replace:function(b){b&&(a.isArray(b)||(b=[b]),this.clear(),this.push.apply(this,b))},clear:function(){this.length=0},copy:function(){var a=new j;return a.replace(this),a}};return function(){var c=[];return c.push.apply(c,arguments),a.extend(c,b),c}}(),k=function(b,c){a(b).data("datepicker",this),this._process_options(c),this.dates=new j,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=a(b),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1,this.hasInput=this.component&&this.inputField.length,this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=a(r.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(a,b){return parseInt(b)+1}),this._allow_update=!1,this.setStartDate(this._o.startDate),this.setEndDate(this._o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.setDaysOfWeekHighlighted(this.o.daysOfWeekHighlighted),this.setDatesDisabled(this.o.datesDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()};k.prototype={constructor:k,_resolveViewName:function(a,c){return 0===a||"days"===a||"month"===a?0:1===a||"months"===a||"year"===a?1:2===a||"years"===a||"decade"===a?2:3===a||"decades"===a||"century"===a?3:4===a||"centuries"===a||"millennium"===a?4:c===b?!1:c},_check_template:function(c){try{if(c===b||""===c)return!1;if((c.match(/[<>]/g)||[]).length<=0)return!0;var d=a(c);return d.length>0}catch(e){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView,0),e.minViewMode=this._resolveViewName(e.minViewMode,0),e.maxViewMode=this._resolveViewName(e.maxViewMode,4),e.startView=Math.min(e.startView,e.maxViewMode),e.startView=Math.max(e.startView,e.minViewMode),e.multidate!==!0&&(e.multidate=Number(e.multidate)||!1,e.multidate!==!1&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-(1/0)&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-(1/0)),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=e.daysOfWeekDisabled||[],a.isArray(e.daysOfWeekDisabled)||(e.daysOfWeekDisabled=e.daysOfWeekDisabled.split(/[,\s]*/)),e.daysOfWeekDisabled=a.map(e.daysOfWeekDisabled,function(a){return parseInt(a,10)}),e.daysOfWeekHighlighted=e.daysOfWeekHighlighted||[],a.isArray(e.daysOfWeekHighlighted)||(e.daysOfWeekHighlighted=e.daysOfWeekHighlighted.split(/[,\s]*/)),e.daysOfWeekHighlighted=a.map(e.daysOfWeekHighlighted,function(a){return parseInt(a,10)}),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=[e.datesDisabled]),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_events:[],_secondaryEvents:[],_applyEvents:function(a){for(var c,d,e,f=0;ff?(this.picker.addClass("datepicker-orient-right"),n+=m-b):this.picker.addClass("datepicker-orient-left");var p,q=this.o.orientation.y;if("auto"===q&&(p=-g+o-c,q=0>p?"bottom":"top"),this.picker.addClass("datepicker-orient-"+q),"top"===q?o-=c+parseInt(this.picker.css("padding-top")):o+=l,this.o.rtl){var r=f-(n+m);this.picker.css({top:o,right:r,zIndex:j})}else this.picker.css({top:o,left:n,zIndex:j});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate,d?this.setValue():c.length&&String(b)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&b.length&&this._trigger("clearDate"),this.fill(),this.element.change(),this},fillDow:function(){var b=this.o.weekStart,c="";for(this.o.calendarWeeks&&(this.picker.find(".datepicker-days .datepicker-switch").attr("colspan",function(a,b){return parseInt(b)+1}),c+=' ');b";c+="",this.picker.find(".datepicker-days thead").append(c)},fillMonths:function(){for(var a=this._utc_to_local(this.viewDate),b="",c=0;12>c;){var d=a&&a.getMonth()===c?" focused":"";b+=''+q[this.o.language].monthsShort[c++]+""}this.picker.find(".datepicker-months td").html(b)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],d=this.viewDate.getUTCFullYear(),e=this.viewDate.getUTCMonth(),f=new Date;return b.getUTCFullYear()d||b.getUTCFullYear()===d&&b.getUTCMonth()>e)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&b.getUTCFullYear()===f.getFullYear()&&b.getUTCMonth()===f.getMonth()&&b.getUTCDate()===f.getDate()&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)&&c.push("highlighted"),this.range&&(b>this.range[0]&&br;r+=1)s=[d],t=null,-1===r?s.push("old"):10===r&&s.push("new"),-1!==a.inArray(q,n)&&s.push("active"),(o>q||q>p)&&s.push("disabled"),q===this.viewDate.getFullYear()&&s.push("focused"),j!==a.noop&&(u=j(new Date(q,0,1)),u===b?u={}:"boolean"==typeof u?u={enabled:u}:"string"==typeof u&&(u={classes:u}),u.enabled===!1&&s.push("disabled"),u.classes&&(s=s.concat(u.classes.split(/\s+/))),u.tooltip&&(t=u.tooltip)),k+='"+q+"",q+=f;l.find("td").html(k)},fill:function(){var d,e,f=new Date(this.viewDate),g=f.getUTCFullYear(),h=f.getUTCMonth(),i=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),j=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),k=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,m=q[this.o.language].today||q.en.today||"",n=q[this.o.language].clear||q.en.clear||"",o=q[this.o.language].titleFormat||q.en.titleFormat;if(!isNaN(g)&&!isNaN(h)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(f,o,this.o.language)),this.picker.find("tfoot .today").text(m).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot .clear").text(n).toggle(this.o.clearBtn!==!1),this.picker.find("thead .datepicker-title").text(this.o.title).toggle(""!==this.o.title),this.updateNavArrows(),this.fillMonths();var p=c(g,h-1,28),s=r.getDaysInMonth(p.getUTCFullYear(),p.getUTCMonth());p.setUTCDate(s),p.setUTCDate(s-(p.getUTCDay()-this.o.weekStart+7)%7);var t=new Date(p);p.getUTCFullYear()<100&&t.setUTCFullYear(p.getUTCFullYear()),t.setUTCDate(t.getUTCDate()+42),t=t.valueOf();for(var u,v=[];p.valueOf()"),this.o.calendarWeeks)){var w=new Date(+p+(this.o.weekStart-p.getUTCDay()-7)%7*864e5),x=new Date(Number(w)+(11-w.getUTCDay())%7*864e5),y=new Date(Number(y=c(x.getUTCFullYear(),0,1))+(11-y.getUTCDay())%7*864e5),z=(x-y)/864e5/7+1;v.push(''+z+"")}u=this.getClassNames(p),u.push("day"),this.o.beforeShowDay!==a.noop&&(e=this.o.beforeShowDay(this._utc_to_local(p)),e===b?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),e.enabled===!1&&u.push("disabled"),e.classes&&(u=u.concat(e.classes.split(/\s+/))),e.tooltip&&(d=e.tooltip)),u=a.isFunction(a.uniqueSort)?a.uniqueSort(u):a.unique(u),v.push('"+p.getUTCDate()+""),d=null,p.getUTCDay()===this.o.weekEnd&&v.push(""),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(v.join(""));var A=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",B=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?A:g).end().find("span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===g&&B.eq(b.getUTCMonth()).addClass("active")}),(i>g||g>k)&&B.addClass("disabled"),g===i&&B.slice(0,j).addClass("disabled"),g===k&&B.slice(l+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var C=this;a.each(B,function(c,d){var e=new Date(g,c,1),f=C.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),f.enabled!==!1||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,1,g,i,k,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,10,g,i,k,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,100,g,i,k,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a=new Date(this.viewDate),b=a.getUTCFullYear(),c=a.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-(1/0)&&b<=this.o.startDate.getUTCFullYear()&&c<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&b>=this.o.endDate.getUTCFullYear()&&c>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:case 3:case 4:this.o.startDate!==-(1/0)&&b<=this.o.startDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&b>=this.o.endDate.getUTCFullYear()||this.o.maxViewMode<2?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h,i,j,k;e=a(b.target),e.hasClass("datepicker-switch")&&this.showMode(1);var l=e.closest(".prev, .next");l.length>0&&(f=r.modes[this.viewMode].navStep*(l.hasClass("prev")?-1:1),0===this.viewMode?(this.viewDate=this.moveMonth(this.viewDate,f),this._trigger("changeMonth",this.viewDate)):(this.viewDate=this.moveYear(this.viewDate,f),1===this.viewMode&&this._trigger("changeYear",this.viewDate)),this.fill()),e.hasClass("today")&&!e.hasClass("day")&&(this.showMode(-2),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("day")&&(g=parseInt(e.text(),10)||1,h=this.viewDate.getUTCFullYear(),i=this.viewDate.getUTCMonth(),e.hasClass("old")&&(0===i?(i=11,h-=1,j=!0,k=!0):(i-=1,j=!0)),e.hasClass("new")&&(11===i?(i=0,h+=1,j=!0,k=!0):(i+=1,j=!0)),this._setDate(c(h,i,g)),k&&this._trigger("changeYear",this.viewDate),j&&this._trigger("changeMonth",this.viewDate)),e.hasClass("month")&&(this.viewDate.setUTCDate(1),g=1,i=e.parent().find("span").index(e),h=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(i),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode?(this._setDate(c(h,i,g)),this.showMode()):this.showMode(-1),this.fill()),(e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),g=1,i=0,h=parseInt(e.text(),10)||0,this.viewDate.setUTCFullYear(h),e.hasClass("year")&&(this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(c(h,i,g))),e.hasClass("decade")&&(this._trigger("changeDecade",this.viewDate),3===this.o.minViewMode&&this._setDate(c(h,i,g))),e.hasClass("century")&&(this._trigger("changeCentury",this.viewDate),4===this.o.minViewMode&&this._setDate(c(h,i,g))),this.showMode(-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&a(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):this.o.multidate===!1?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),b&&"view"!==b||(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField&&this.inputField.change(),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=-1===b?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),(0>c||c>11)&&(c=(c+12)%12);else{for(var j=0;i>j;j++)e=this.moveMonth(e,b);c=e.getUTCMonth(),e.setUTCDate(f),d=function(){return c!==e.getUTCMonth()}}for(;d();)e.setUTCDate(--f),e.setUTCMonth(c);return e},moveYear:function(a,b){return this.moveMonth(a,12*b)},moveAvailableDate:function(a,b,c){do{if(a=this[c](a,b),!this.dateWithinRange(a))return!1;c="moveDay"}while(this.dateIsDisabled(a));return a},weekOfDateIsDisabled:function(b){return-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(b){return this.weekOfDateIsDisabled(b)||a.grep(this.o.datesDisabled,function(a){return e(b,a)}).length>0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void((40===a.keyCode||27===a.keyCode)&&(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"),c&&this._trigger("changeYear",this.viewDate)):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"),c&&this._trigger("changeMonth",this.viewDate)):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?((38===a.keyCode||40===a.keyCode)&&(b=4*b),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&((38===a.keyCode||40===a.keyCode)&&(b=4*b),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField&&this.inputField.change())},showMode:function(a){a&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,this.viewMode+a))),this.picker.children("div").hide().filter(".datepicker-"+r.modes[this.viewMode].clsName).show(),this.updateNavArrows()}};var l=function(b,c){a(b).data("datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a(b).data("datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},dateUpdated:function(b){if(!this.updating){this.updating=!0;var c=a(b.target).data("datepicker");if("undefined"!=typeof c){var d=c.getUTCDate(),e=a.inArray(b.target,this.inputs),f=e-1,g=e+1,h=this.inputs.length;if(-1!==e){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b.setUTCDate(d)}),d=0&&dthis.dates[g])for(;h>g&&d>this.dates[g];)this.pickers[g++].setUTCDate(d);this.updateDates(),delete this.updating}}}},remove:function(){a.map(this.pickers,function(a){a.remove()}),delete this.element.data().datepicker}};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"}},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10},{clsName:"decades",navFnc:"FullDecade",navStep:100},{clsName:"centuries",navFnc:"FullCentury",navStep:1e3}],isLeapYear:function(a){return a%4===0&&a%100!==0||a%400===0},getDaysInMonth:function(a,b){return[31,r.isLeapYear(a)?29:28,31,30,31,30,31,31,30,31,30,31][b]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\x00").split("\x00"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(e,f,g,h){function i(a,b){return b===!0&&(b=10),100>a&&(a+=2e3,a>(new Date).getFullYear()+b&&(a-=100)),a}function j(){var a=this.slice(0,s[n].length),b=s[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!e)return b;if(e instanceof Date)return e;if("string"==typeof f&&(f=r.parseFormat(f)),f.toValue)return f.toValue(e,f,g);var l,m,n,o,p=/([\-+]\d+)([dmwy])/,s=e.match(/([\-+]\d+)([dmwy])/g),t={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},u={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(e)){for(e=new Date,n=0;nb;)b+=12;for(b%=12,a.setUTCMonth(b);a.getUTCMonth()!==b;)a.setUTCDate(a.getUTCDate()-1);return a},d:function(a,b){return a.setUTCDate(b)}};z.M=z.MM=z.mm=z.m,z.dd=z.d,e=d();var A=f.parts.slice();if(s.length!==A.length&&(A=a(A).filter(function(b,c){return-1!==a.inArray(c,y)}).toArray()),s.length===A.length){var B;for(n=0,B=A.length;B>n;n++){if(v=parseInt(s[n],10),l=A[n],isNaN(v))switch(l){case"MM":w=a(q[g].months).filter(j),v=a.inArray(w[0],q[g].months)+1;break;case"M":w=a(q[g].monthsShort).filter(j),v=a.inArray(w[0],q[g].monthsShort)+1}x[l]=v}var C,D;for(n=0;n=g;g++)f.length&&b.push(f.shift()),b.push(e[c.parts[g]]);return b.join("")},headTemplate:'«»',contTemplate:'',footTemplate:''};r.template='
    '+r.headTemplate+""+r.footTemplate+'
    '+r.headTemplate+r.contTemplate+r.footTemplate+'
    '+r.headTemplate+r.contTemplate+r.footTemplate+'
    '+r.headTemplate+r.contTemplate+r.footTemplate+'
    '+r.headTemplate+r.contTemplate+r.footTemplate+"
    ",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.6.4",a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})}); \ No newline at end of file diff --git a/webfm/static/js/libs/bootstrap/bootstrap-table.min.js b/webfm/static/js/libs/bootstrap/bootstrap-table.min.js new file mode 100644 index 0000000..d37bccf --- /dev/null +++ b/webfm/static/js/libs/bootstrap/bootstrap-table.min.js @@ -0,0 +1,10 @@ +/** + * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) + * + * @version v1.15.5 + * @homepage https://bootstrap-table.com + * @author wenzhixin (http://wenzhixin.net.cn/) + * @license MIT + */ + +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):(t=t||self).BootstrapTable=e(t.jQuery)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}var n,o,r,a="object",s=function(t){return t&&t.Math==Math&&t},l=s(typeof globalThis==a&&globalThis)||s(typeof window==a&&window)||s(typeof self==a&&self)||s(typeof e==a&&e)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},h=!c((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,f={f:d&&!u.call({1:2},1)?function(t){var e=d(this,t);return!!e&&e.enumerable}:u},p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g={}.toString,v=function(t){return g.call(t).slice(8,-1)},b="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?b.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},w=function(t){return y(m(t))},S=function(t){return"object"==typeof t?null!==t:"function"==typeof t},x=function(t,e){if(!S(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!S(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!S(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!S(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},k={}.hasOwnProperty,O=function(t,e){return k.call(t,e)},T=l.document,C=S(T)&&S(T.createElement),P=function(t){return C?T.createElement(t):{}},$=!h&&!c((function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a})),I=Object.getOwnPropertyDescriptor,A={f:h?I:function(t,e){if(t=w(t),e=x(e,!0),$)try{return I(t,e)}catch(t){}if(O(t,e))return p(!f.f.call(t,e),t[e])}},E=function(t){if(!S(t))throw TypeError(String(t)+" is not an object");return t},R=Object.defineProperty,N={f:h?R:function(t,e,i){if(E(t),e=x(e,!0),E(i),$)try{return R(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},j=h?function(t,e,i){return N.f(t,e,p(1,i))}:function(t,e,i){return t[e]=i,t},F=function(t,e){try{j(l,t,e)}catch(i){l[t]=e}return e},_=i((function(t){var e=l["__core-js_shared__"]||F("__core-js_shared__",{});(t.exports=function(t,i){return e[t]||(e[t]=void 0!==i?i:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),V=_("native-function-to-string",Function.toString),B=l.WeakMap,L="function"==typeof B&&/native code/.test(V.call(B)),D=0,H=Math.random(),M=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++D+H).toString(36)},U=_("keys"),q=function(t){return U[t]||(U[t]=M(t))},z={},W=l.WeakMap;if(L){var G=new W,K=G.get,J=G.has,Y=G.set;n=function(t,e){return Y.call(G,t,e),e},o=function(t){return K.call(G,t)||{}},r=function(t){return J.call(G,t)}}else{var X=q("state");z[X]=!0,n=function(t,e){return j(t,X,e),e},o=function(t){return O(t,X)?t[X]:{}},r=function(t){return O(t,X)}}var Q={set:n,get:o,has:r,enforce:function(t){return r(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!S(e)||(i=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},Z=i((function(t){var e=Q.get,i=Q.enforce,n=String(V).split("toString");_("inspectSource",(function(t){return V.call(t)})),(t.exports=function(t,e,o,r){var a=!!r&&!!r.unsafe,s=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof o&&("string"!=typeof e||O(o,"name")||j(o,"name",e),i(o).source=n.join("string"==typeof e?e:"")),t!==l?(a?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=o:j(t,e,o)):s?t[e]=o:F(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||V.call(this)}))})),tt=l,et=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?et(tt[t])||et(l[t]):tt[t]&&tt[t][e]||l[t]&&l[t][e]},nt=Math.ceil,ot=Math.floor,rt=function(t){return isNaN(t=+t)?0:(t>0?ot:nt)(t)},at=Math.min,st=function(t){return t>0?at(rt(t),9007199254740991):0},lt=Math.max,ct=Math.min,ht=function(t,e){var i=rt(t);return i<0?lt(i+e,0):ct(i,e)},ut=function(t){return function(e,i,n){var o,r=w(e),a=st(r.length),s=ht(n,a);if(t&&i!=i){for(;a>s;)if((o=r[s++])!=o)return!0}else for(;a>s;s++)if((t||s in r)&&r[s]===i)return t||s||0;return!t&&-1}},dt={includes:ut(!0),indexOf:ut(!1)},ft=dt.indexOf,pt=function(t,e){var i,n=w(t),o=0,r=[];for(i in n)!O(z,i)&&O(n,i)&&r.push(i);for(;e.length>o;)O(n,i=e[o++])&&(~ft(r,i)||r.push(i));return r},gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vt=gt.concat("length","prototype"),bt={f:Object.getOwnPropertyNames||function(t){return pt(t,vt)}},yt={f:Object.getOwnPropertySymbols},mt=it("Reflect","ownKeys")||function(t){var e=bt.f(E(t)),i=yt.f;return i?e.concat(i(t)):e},wt=function(t,e){for(var i=mt(e),n=N.f,o=A.f,r=0;rr;)N.f(t,i=n[r++],e[i]);return t},Ft=it("document","documentElement"),_t=q("IE_PROTO"),Vt=function(){},Bt=function(){var t,e=P("iframe"),i=gt.length;for(e.style.display="none",Ft.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(" + + + + + + + + + +{% endblock body_scripts_additional %} diff --git a/webfm/templates/layout.html b/webfm/templates/layout.html new file mode 100644 index 0000000..754f573 --- /dev/null +++ b/webfm/templates/layout.html @@ -0,0 +1,71 @@ + + + + + {% if title %} + {{title}} + {% else %} + App + {% endif %} + + {% block header_css %} + + + + + + {% block header_css_additional %} + {% endblock header_css_additional %} + {% endblock %} + + + {% block header_scripts %} + {% block header_scripts_additional %} + {% endblock header_scripts_additional %} + {% endblock %} + + + +{% block body_header %} + {% block body_header_additional %} + {% endblock body_header_additional%} +{% endblock %} + + +{% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} +
    + {% for category, message in messages %} +
  • {{ message }}
  • + {% endfor %} +
    + {% endif %} +{% endwith %} + +{% block body_content %} + {% block body_content_additional %} + {% endblock body_content_additional%} +{% endblock %} + + +{% block body_footer %} + {% block body_footer_additional %} + {% endblock body_footer_additional%} +{% endblock %} + + +{% block body_scripts %} + + + + + + + + + {% block body_scripts_additional %} + {% endblock body_scripts_additional%} +{% endblock %} + + + diff --git a/webfm/templates/login.html b/webfm/templates/login.html new file mode 100644 index 0000000..2291860 --- /dev/null +++ b/webfm/templates/login.html @@ -0,0 +1,68 @@ +{% extends "layout.html" %} + +{% block body_header_additional %} +{% endblock body_header_additional %} + +{% block body_content %} +
    +
    +
    + +
    + {{ form.hidden_tag() }} +
    + Login + + Home + +              + + Reset Path + +

    +
    + {{ form.username.label(class="form-control-label") }} + + {% if form.username.errors %} +
    + {{ form.username(class="form-control form-control-sm is-invalid", autocomplete="off", autofocus=true) }} + {% for error in form.username.errors %} + {{ error }} + {% endfor %} +
    + {% else %} + {{ form.username(class="form-control form-control-sm", autocomplete="off", autofocus=true) }} + {% endif %} +
    +
    + {{ form.password.label(class="form-control-label") }} + + {% if form.password.errors %} + {{ form.password(class="form-control form-control-sm is-invalid", autocomplete="off") }} +
    + {% for error in form.password.errors %} + {{ error }} + {% endfor %} + {% else %} + {{ form.password(class="form-control form-control-sm", autocomplete="off") }} + {% endif %} +
    +
    +
    + {{ form.submit(class="btn btn-success") }} +
    +
    +

    Need An Account? Register!

    +
    +
    +
    +
    +
    +{% endblock body_content %} + + +{% block body_footer_additional %} +{% endblock body_footer_additional %} + +{% block body_scripts_additional %} +{% endblock body_scripts_additional %} diff --git a/webfm/templates/register.html b/webfm/templates/register.html new file mode 100644 index 0000000..07d32e9 --- /dev/null +++ b/webfm/templates/register.html @@ -0,0 +1,76 @@ +{% extends "layout.html" %} + +{% block body_header_additional %} +{% endblock body_header_additional %} + +{% block body_content %} +
    +
    +
    + +
    + {{ form.hidden_tag() }} +
    + Create Account + + Home + +
    + {{ form.username.label(class="form-control-label") }} + + {% if form.username.errors %} + {{ form.username(class="form-control form-control-sm is-invalid", autocomplete="off", autofocus=true) }} +
    + {% for error in form.username.errors %} + {{ error }} + {% endfor %} +
    + {% else %} + {{ form.username(class="form-control form-control-sm", autocomplete="off", autofocus=true) }} + {% endif %} +
    +
    + {{ form.password.label(class="form-control-label") }} + + {% if form.password.errors %} + {{ form.password(class="form-control form-control-sm is-invalid", autocomplete="off") }} +
    + {% for error in form.password.errors %} + {{ error }} + {% endfor %} + {% else %} + {{ form.password(class="form-control form-control-sm", autocomplete="off") }} + {% endif %} +
    +
    + {{ form.confirm_password.label(class="form-control-label") }} + + {% if form.confirm_password.errors %} + {{ form.confirm_password(class="form-control form-control-sm is-invalid", autocomplete="off") }} +
    + {% for error in form.confirm_password.errors %} + {{ error }} + {% endfor %} + {% else %} + {{ form.confirm_password(class="form-control form-control-sm", autocomplete="off") }} + {% endif %} +
    +
    +
    + {{ form.submit(class="btn btn-success") }} +
    +
    +
    +

    Already Have An Account? Login!

    +
    +
    +
    +
    +{% endblock body_content %} + + +{% block body_footer_additional %} +{% endblock body_footer_additional %} + +{% block body_scripts_additional %} +{% endblock body_scripts_additional %} diff --git a/webfm/utils/FileManager.py b/webfm/utils/FileManager.py new file mode 100644 index 0000000..1a598bc --- /dev/null +++ b/webfm/utils/FileManager.py @@ -0,0 +1,306 @@ +# Gtk imports + +# Python imports +import os, subprocess, hashlib, threading + +from os.path import isdir, isfile, join +from os import listdir + + +# Application imports +from .Logger import Logger +from .. import app, config + + + +class FileManager: + def __init__(self, _db, _Settings): + self.db = _db + self.SettingsDBObj = _Settings + self.logging = Logger().get_logger("FileManager") + + self.THIS_FILE_PTH = os.path.dirname(os.path.realpath(__file__)) + self.STATIC_FPTH = self.THIS_FILE_PTH + "/../static" + self.REMUX_FOLDER = self.STATIC_FPTH + "/remuxs" + self.FFMPG_THUMBNLR = self.STATIC_FPTH + "/ffmpegthumbnailer" + self.VEXTENSION = ('.mkv', '.avi', '.flv', '.mov', '.m4v', '.mpg', '.wmv', '.mpeg', '.mp4', '.webm') + self.OEXTENSION = ('.doc', '.docx', '.xls', '.xlsx', '.xlt', '.xltx', '.xlm', '.ppt', 'pptx', '.pps', '.ppsx', '.odt', '.rtf') + self.IEXTENSION = ('.png', '.jpg', '.jpeg', '.gif', '.ico', '.tga') + self.TEXTENSION = ('.txt', '.text', '.sh', '.cfg', '.conf') + self.MEXTENSION = ('.psf', '.mp3', '.ogg', '.flac', '.m4a') + self.PEXTENSION = ('.pdf') + + self.dotHash = self.hashText(".") + self.dotdotHash = self.hashText("..") + self.pathParts = [] + self.pathPartHashs = [] + self.dirs = [] + self.vids = [] + self.images = [] + self.files = [] + + self.loadPreviousPath() + self.generateLists(self.dotHash) + + + def generateLists(self, partHash, showHiddenFiles = False): + path = self.determinAction(partHash) + if "error" in path: + return path + + self.dirs.clear() + self.vids.clear() + self.images.clear() + self.files.clear() + + for f in listdir(path): + file = join(path, f) + fileHash = self.hashText(f) + + if f.startswith('.') and not showHiddenFiles: + continue + + if isfile(file): + if file.lower().endswith(self.VEXTENSION): + absHashImgPth = self.STATIC_FPTH + "/imgs/thumbnails/" + fileHash + ".jpg" + hashImgPth = "static/imgs/thumbnails/" + fileHash + ".jpg" + + if isfile(absHashImgPth) == False: + self.generateVideoThumbnail(file, absHashImgPth) + + self.vids.append([f, hashImgPth, fileHash]) + elif file.lower().endswith(self.IEXTENSION): + self.images.append([f, fileHash]) + else: + self.files.append([f, fileHash]) + else: + self.dirs.append([f, fileHash]) + + self.dirs.sort() + self.vids.sort() + self.images.sort() + self.files.sort() + + return "success" + + + def determinAction(self, partHash): + pathPart = self.returnPathPartFromHash(partHash) + isDotorDotDot = False + + if self.isDotHash(partHash) or self.isDotDotHash(partHash): + isDotorDotDot = True + + # If hash not in dir hashes prob bad path or data... + if not pathPart and not isDotorDotDot: + return "error" + + # Pop from stack if .. and not length 1 + if partHash in self.dotdotHash: + if len(self.pathParts) > 1 and len(self.pathPartHashs) > 1: + self.pathParts.pop() + self.pathPartHashs.pop() + + # Append to our stacks if not . or .. + if not isDotorDotDot: + self.pathParts.append(pathPart) + self.pathPartHashs.append(partHash) + + # Get path parts excluding base path... + with app.app_context(): + current_path_hash = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path_hash").first() + + size = len(self.pathPartHashs) + if size > 0: # If 0 or less then we have 0 or 1 slot (IE base path or none) + current_path_hash.value = "/".join(self.pathPartHashs[1:size] ) + + current_path = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path").first() + size = len(self.pathParts) + if size > 0: # If 0 or less then we have 0 or 1 slot (IE base path or none) + current_path.value = "/".join(self.pathParts[1:size]) + + self.db.session.commit() + + return "/".join(self.pathParts) + + + def returnPathPartFromHash(self, partHash): + hashes = [self.dotHash, self.dotdotHash] + print(self.pathParts) + path = "/".join(self.pathParts) + pathPart = None + for f in listdir(path): + hash = self.hashText(f) + + if partHash == hash: + pathPart = f + break + + return pathPart + + + def loadPreviousPath(self): + with app.app_context(): + basePath = self.db.session.query(self.SettingsDBObj).filter_by(key="base_path").first() + basePathHash = self.hashText(basePath.value) + self.pathParts.append(basePath.value) + self.pathPartHashs.append(basePathHash) + + # TODO: Need to tie current path to a user or session instead of this + # current_path = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path").first() + current_path = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path").first() + if current_path.value and not "NULL" in current_path.value: + parts = current_path.value.split("/") + for part in parts: + self.pathParts.append(part) + + current_path_hash = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path_hash").first() + if current_path_hash.value and not "NULL" in current_path_hash.value: + parts = current_path_hash.value.split("/") + for part in parts: + self.pathPartHashs.append(part) + + def setNewPathFromFavorites(self, path): + with app.app_context(): + current_path = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path").first() + current_path_hash = self.db.session.query(self.SettingsDBObj).filter_by(key="current_path_hash").first() + current_path.value = path + parts = path.split("/") + hashParts = [] + + while len(self.pathParts) >= 1 and len(self.pathPartHashs) >= 1: + self.pathParts.pop() + self.pathPartHashs.pop() + + for part in parts: + hash = self.hashText(part) + hashParts.append(hash) + + size = len(hashParts) + current_path_hash.value = "/".join(hashParts[0:size]) + self.db.session.commit() + + + def reset_path(self): + while len(self.pathParts) > 1 and len(self.pathPartHashs) > 1: + self.pathParts.pop() + self.pathPartHashs.pop() + + + def isDotHash(self, hash): + return True if self.dotHash == hash else False + def isDotDotHash(self, hash): + return True if self.dotdotHash == hash else False + def getPath(self): + size = len(self.pathParts) + return "/".join(self.pathParts[1:size]) + def getFullPath(self): + size = len(self.pathParts) + return "/".join(self.pathParts[0:size]) + def getDirs(self): + return self.dirs + def getVids(self): + return self.vids + def getImgs(self): + return self.images + def getFiles(self): + return self.files + def getDotHash(self): + return self.dotHash + def getDotDotHash(self): + return self.dotdotHash + def hashText(self, text): + return hashlib.sha256(str.encode(text)).hexdigest()[:18] + + def openFilelocally(self, file): + lowerName = file.lower() + command = [] + + if lowerName.endswith(self.VEXTENSION): + player = config["settings"]["media_app"] + options = config["settings"]["mplayer_options"].split() + command = [player] + + if "mplayer" in player: + command += options + + command += [file] + elif lowerName.endswith(self.IEXTENSION): + command = [config["settings"]["image_app"], file] + elif lowerName.endswith(self.MEXTENSION): + command = [config["settings"]["music_app"], file] + elif lowerName.endswith(self.OEXTENSION): + command = [config["settings"]["office_app"], file] + elif lowerName.endswith(self.TEXTENSION): + command = [config["settings"]["text_app"], file] + elif lowerName.endswith(self.PEXTENSION): + command = [config["settings"]["pdf_app"], file] + else: + command = [config["settings"]["file_manager_app"], file] + + self.logging.debug(command) + DEVNULL = open(os.devnull, 'w') + subprocess.Popen(command, start_new_session=True, stdout=DEVNULL, stderr=DEVNULL, close_fds=True) + + + def remuxVideo(self, hash, file): + remux_vid_pth = self.REMUX_FOLDER + "/" + hash + ".mp4" + message = '{"path":"static/remuxs/' + hash + '.mp4"}' + + self.logging.debug(remux_vid_pth) + self.logging.debug(message) + + if not os.path.isfile(remux_vid_pth): + limit = config["settings"]["remux_folder_max_disk_usage"] + try: + limit = int(limit) + except Exception as e: + self.logging.debug(e) + return + + usage = self.getRemuxFolderUsage(self.REMUX_FOLDER) + if usage > limit: + files = os.listdir(self.REMUX_FOLDER) + for file in files: + fp = os.path.join(self.REMUX_FOLDER, file) + os.unlink(fp) + + command = ["ffmpeg", "-i", file, "-hide_banner", "-movflags", "+faststart"] + if file.endswith("mkv"): + command += ["-codec", "copy", "-strict", "-2"] + if file.endswith("avi"): + command += ["-c:v", "libx264", "-crf", "21", "-c:a", "aac", "-b:a", "192k", "-ac", "2"] + if file.endswith("wmv"): + command += ["-c:v", "libx264", "-crf", "23", "-c:a", "aac", "-strict", "-2", "-q:a", "100"] + if file.endswith("f4v") or file.endswith("flv"): + command += ["-vcodec", "copy"] + + command += [remux_vid_pth] + try: + proc = subprocess.Popen(command) + proc.wait() + except Exception as e: + message = '{"message": {"type": "danger", "text":"' + str( repr(e) ) + '"}}' + self.logging.debug(message) + self.logging.debug(e) + + return message + + + def generateVideoThumbnail(self, fullPath, hashImgPth): + try: + proc = subprocess.Popen([self.FFMPG_THUMBNLR, "-t", "65%", "-s", "300", "-c", "jpg", "-i", fullPath, "-o", hashImgPth]) + proc.wait() + except Exception as e: + self.logging.debug(repr(e)) + + def getRemuxFolderUsage(self, start_path = "."): + total_size = 0 + for dirpath, dirnames, filenames in os.walk(start_path): + for f in filenames: + fp = os.path.join(dirpath, f) + # skip if it is symbolic link + if not os.path.islink(fp): + total_size += os.path.getsize(fp) + + return total_size diff --git a/webfm/utils/Logger.py b/webfm/utils/Logger.py new file mode 100644 index 0000000..e3b0564 --- /dev/null +++ b/webfm/utils/Logger.py @@ -0,0 +1,56 @@ +# Python imports +import os, logging + +# Application imports + + +class Logger: + def __init__(self): + pass + + def get_logger(self, loggerName = "NO_LOGGER_NAME_PASSED", createFile = True): + """ + Create a new logging object and return it. + :note: + NOSET # Don't know the actual log level of this... (defaulting or literally none?) + Log Levels (From least to most) + Type Value + CRITICAL 50 + ERROR 40 + WARNING 30 + INFO 20 + DEBUG 10 + :param loggerName: Sets the name of the logger object. (Used in log lines) + :param createFile: Whether we create a log file or just pump to terminal + + :return: the logging object we created + """ + + globalLogLvl = logging.DEBUG # Keep this at highest so that handlers can filter to their desired levels + chLogLevel = logging.CRITICAL # Prety musch the only one we change ever + fhLogLevel = logging.DEBUG + log = logging.getLogger(loggerName) + log.setLevel(globalLogLvl) + + # Set our log output styles + fFormatter = logging.Formatter('[%(asctime)s] %(pathname)s:%(lineno)d %(levelname)s - %(message)s', '%m-%d %H:%M:%S') + cFormatter = logging.Formatter('%(pathname)s:%(lineno)d] %(levelname)s - %(message)s') + + ch = logging.StreamHandler() + ch.setLevel(level=chLogLevel) + ch.setFormatter(cFormatter) + log.addHandler(ch) + + if createFile: + folder = "logs" + file = folder + "/webfm.log" + + if not os.path.exists(folder): + os.mkdir(folder) + + fh = logging.FileHandler(file) + fh.setLevel(level=fhLogLevel) + fh.setFormatter(fFormatter) + log.addHandler(fh) + + return log diff --git a/webfm/utils/MessageHandler.py b/webfm/utils/MessageHandler.py new file mode 100644 index 0000000..dd1d4da --- /dev/null +++ b/webfm/utils/MessageHandler.py @@ -0,0 +1,19 @@ +# Gtk imports + +# Python imports + +# Application imports + + +class MessageHandler: + def __init__(self): + pass + + + def createMessageJSON(self, type, text, id=None): + print("Returning message...") + try: + int(id) + return '{"message": { "type": "' + type + '", "text": "' + text + '", "id":"' + str(id) + '" } }' + except Exception as e: + return '{"message": { "type": "' + type + '", "text": "' + text + '" } }' diff --git a/webfm/utils/__init__.py b/webfm/utils/__init__.py new file mode 100644 index 0000000..28a2e41 --- /dev/null +++ b/webfm/utils/__init__.py @@ -0,0 +1,3 @@ +from .Logger import Logger +from .MessageHandler import MessageHandler +from .FileManager import FileManager diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..97667d4 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,4 @@ +from webfm import app + +if __name__ == '__main__': + app.run(debug=True)