Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ThemeTony/hugo-theme-tony.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFFRaycoder <nn_201312@163.com>2020-11-01 07:31:38 +0300
committerFFRaycoder <nn_201312@163.com>2020-11-01 07:31:38 +0300
commit87dbb08fa1b75a5a20aa877bc692e47edad028a8 (patch)
tree6cf31cde8ad5a6bffd50651aeb125d01856dd8f2
parent36c0245d0443bae1962f01f857bde680f2a74193 (diff)
😍feat: add feature
- Home paginate - Post nav - Highlight.js - Post embed shortcode
-rw-r--r--LICENSE694
-rw-r--r--archetypes/default.md1
-rw-r--r--assets/js/go-to-top.js3
-rw-r--r--assets/js/header.js6
-rw-r--r--assets/js/home-top-tags.js1
-rw-r--r--assets/scss/footer/_go-to-top.scss (renamed from assets/scss/footer/go-to-top.scss)0
-rw-r--r--assets/scss/home/_paginate.scss21
-rw-r--r--assets/scss/main.scss4
-rw-r--r--i18n/en.toml32
-rw-r--r--i18n/zh-cn.toml10
-rw-r--r--layouts/partials/components/github-link.html2
-rw-r--r--layouts/partials/components/home-featured-post.html2
-rw-r--r--layouts/partials/components/home-not-featured-post.html2
-rw-r--r--layouts/partials/components/home-paginate.html28
-rw-r--r--layouts/partials/components/post-nav.html41
-rw-r--r--layouts/partials/components/post-toc.html22
-rw-r--r--layouts/partials/footer.html9
-rw-r--r--layouts/partials/head.html12
-rw-r--r--layouts/partials/pages/home.html4
-rw-r--r--layouts/partials/pages/post.html6
-rw-r--r--layouts/partials/third-party/highlightjs.html8
-rw-r--r--layouts/shortcodes/post.html15
-rw-r--r--static/css/hljs/rainbow.min.css1
-rw-r--r--static/js/highlight.min.js1102
24 files changed, 1978 insertions, 48 deletions
diff --git a/LICENSE b/LICENSE
index faff36e..e72bfdd 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,20 +1,674 @@
-The MIT License (MIT)
-
-Copyright (c) 2020 YOUR_NAME_HERE
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ 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
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program 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, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<https://www.gnu.org/licenses/>.
+
+ The GNU 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. But first, please read
+<https://www.gnu.org/licenses/why-not-lgpl.html>. \ No newline at end of file
diff --git a/archetypes/default.md b/archetypes/default.md
index c9c14d3..48fdbc6 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -6,6 +6,7 @@ keywords: []
categories: []
tags: []
comments: true
+toc: true
postImg: ""
buy: false
buyLink: ""
diff --git a/assets/js/go-to-top.js b/assets/js/go-to-top.js
index 438e171..d5c73f6 100644
--- a/assets/js/go-to-top.js
+++ b/assets/js/go-to-top.js
@@ -1,3 +1,4 @@
+// @ts-check
window.addEventListener("DOMContentLoaded", event => {
var backToTop = document.getElementById('go-top-button');
var getCurrentScrollTop = function () {
@@ -23,7 +24,7 @@ window.addEventListener("DOMContentLoaded", event => {
}
backToTop.addEventListener("click", function () {
var initialSpeed = 70;
- timerID = setInterval(function() {
+ var timerID = setInterval(function() {
window.scrollBy(0, -initialSpeed);
initialSpeed = initialSpeed + 8;
if (getCurrentScrollTop() === 0){
diff --git a/assets/js/header.js b/assets/js/header.js
index 3521048..6a1dbb0 100644
--- a/assets/js/header.js
+++ b/assets/js/header.js
@@ -1,11 +1,9 @@
+// @ts-check
window.addEventListener("DOMContentLoaded", function () {
window.addEventListener("scroll", function () {
var header = document.getElementById('header-div');
- var viewDiv = document.getElementById('view-div');
if (document.documentElement.scrollTop <= 0) {
header.className = "tony-header-fixed";
- viewDiv.style.display = "none";
- // $("#view-div").css("display", "none");
header.addEventListener("mouseover", function () {
header.className = "tony-header-scroll";
});
@@ -14,8 +12,6 @@ window.addEventListener("DOMContentLoaded", function () {
});
} else {
header.className = "tony-header-scroll";
- viewDiv.style.display = null;
- // $("#view-div").css("display", "block");
header.addEventListener("mouseover", function () {
header.className = "tony-header-scroll";
});
diff --git a/assets/js/home-top-tags.js b/assets/js/home-top-tags.js
index 2fab01a..b7e19d8 100644
--- a/assets/js/home-top-tags.js
+++ b/assets/js/home-top-tags.js
@@ -1,3 +1,4 @@
+// @ts-check
window.addEventListener("DOMContentLoaded", function () {
var translateX = 0;
var list = document.getElementById('post-tags');
diff --git a/assets/scss/footer/go-to-top.scss b/assets/scss/footer/_go-to-top.scss
index 7029db0..7029db0 100644
--- a/assets/scss/footer/go-to-top.scss
+++ b/assets/scss/footer/_go-to-top.scss
diff --git a/assets/scss/home/_paginate.scss b/assets/scss/home/_paginate.scss
new file mode 100644
index 0000000..c5e80af
--- /dev/null
+++ b/assets/scss/home/_paginate.scss
@@ -0,0 +1,21 @@
+@mixin paginate($float) {
+ width: 50%;
+ padding: 0 30px 75px;
+ float: $float;
+ button {
+ width: 90%;
+ margin: 0 auto;
+ }
+}
+$prefix: "paginate";
+.#{$prefix} {
+ a {
+ text-decoration: none;
+ }
+ &-prev {
+ @include paginate(left);
+ }
+ &-next {
+ @include paginate(right);
+ }
+}
diff --git a/assets/scss/main.scss b/assets/scss/main.scss
index d904209..c961fd4 100644
--- a/assets/scss/main.scss
+++ b/assets/scss/main.scss
@@ -10,7 +10,9 @@
@import "header/nav";
-{{ if .Site.Params.enableBackToTop }}
+@import "home/paginate";
+
+{{ if .Site.Params.footer.enableBackToTop }}
@import "footer/go-to-top";
{{ end }}
diff --git a/i18n/en.toml b/i18n/en.toml
new file mode 100644
index 0000000..edb15aa
--- /dev/null
+++ b/i18n/en.toml
@@ -0,0 +1,32 @@
+[postDes]
+ other = "Article"
+[postEstimate]
+ other = "ETA"
+[postTags]
+ other = "Tags"
+[postToc]
+ other = "Article citation"
+[atTop]
+ other = "Pinned"
+[noneTag]
+ other = "NaN"
+[404]
+ other = "404 Not found"
+[back2home]
+ other = "Back to home"
+[articleList]
+ other = "Article list"
+[status]
+ other = "Status"
+[noneStatus]
+ other = "No status"
+[postedOn]
+ other = "Posted on"
+[prevPost]
+ other = "Previous"
+[nextPost]
+ other = "Next"
+[prevPage]
+ other = "Previous Page"
+[nextPage]
+ other = "Next Page"
diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml
index bf063c7..36a75fd 100644
--- a/i18n/zh-cn.toml
+++ b/i18n/zh-cn.toml
@@ -20,3 +20,13 @@
other = "状态"
[noneStatus]
other = "无状态"
+[postedOn]
+ other = "发布于: "
+[prevPost]
+ other = "上一篇"
+[nextPost]
+ other = "下一篇"
+[prevPage]
+ other = "上一页"
+[nextPage]
+ other = "下一页"
diff --git a/layouts/partials/components/github-link.html b/layouts/partials/components/github-link.html
index b087215..550424b 100644
--- a/layouts/partials/components/github-link.html
+++ b/layouts/partials/components/github-link.html
@@ -1,7 +1,7 @@
<div
class="goup-container footer-github"
>
- <a href="https://github.com/{{ .Site.Params.footerLinkPath }}" target="_blank" style="text-decoration:none">
+ <a href="https://github.com/{{ .Site.Params.footer.footerGithubLinkPath }}" target="_blank" style="text-decoration:none">
<i class="ri-github-fill footer-github-icon"></i>
</a>
</div> \ No newline at end of file
diff --git a/layouts/partials/components/home-featured-post.html b/layouts/partials/components/home-featured-post.html
index be66d9d..6553d36 100644
--- a/layouts/partials/components/home-featured-post.html
+++ b/layouts/partials/components/home-featured-post.html
@@ -89,7 +89,7 @@
</div>
{{ end }}
<a
- href="{{ .Permalink }}"
+ href="{{ .RelPermalink }}"
style="text-decoration: none;"
>
<h5
diff --git a/layouts/partials/components/home-not-featured-post.html b/layouts/partials/components/home-not-featured-post.html
index 670fc56..40e76c5 100644
--- a/layouts/partials/components/home-not-featured-post.html
+++ b/layouts/partials/components/home-not-featured-post.html
@@ -41,7 +41,7 @@
</div>
{{/* Title 标题 */}}
-<a href="{{ .Permalink }}" style="text-decoration: none;">
+<a href="{{ .RelPermalink }}" style="text-decoration: none;">
<h5>{{ .Title }}</h5>
</a>
diff --git a/layouts/partials/components/home-paginate.html b/layouts/partials/components/home-paginate.html
new file mode 100644
index 0000000..96a91c9
--- /dev/null
+++ b/layouts/partials/components/home-paginate.html
@@ -0,0 +1,28 @@
+{{- $ := index . "$" -}}
+{{- $paginator := index . "paginator" -}}
+<div class="paginate">
+ {{ if $paginator.HasPrev }}
+ <div class="paginate-prev">
+ <a
+ href="{{ $paginator.Prev.URL }}"
+ rel="prev"
+ >
+ <button
+ class="btn btn-light bg-white border"
+ >{{ T "prevPage" }}</button>
+ </a>
+ </div>
+ {{ end }}
+ {{ if $paginator.HasNext }}
+ <div class="paginate-next">
+ <a
+ href="{{ $paginator.Next.URL }}"
+ rel="next"
+ >
+ <button
+ class="btn btn-light bg-white border"
+ >{{ T "nextPage" }}</button>
+ </a>
+ </div>
+ {{ end }}
+</div> \ No newline at end of file
diff --git a/layouts/partials/components/post-nav.html b/layouts/partials/components/post-nav.html
new file mode 100644
index 0000000..eb79726
--- /dev/null
+++ b/layouts/partials/components/post-nav.html
@@ -0,0 +1,41 @@
+{{ if and .Site.Params.post.enablePostNav (in .Site.Params.mainSections .Section) }}
+ {{ if .Site.Params.post.postNavInSection }}
+ {{ .Scratch.Set "prev" .PrevInSection }}
+ {{ .Scratch.Set "next" .NextInSection }}
+ {{ else }}
+ {{ .Scratch.Set "prev" .PrevPage }}
+ {{ .Scratch.Set "next" .NextPage }}
+ {{ end }}
+ {{ $prev := .Scratch.Get "prev" }}
+ {{ $next := .Scratch.Get "next" }}
+ {{ if or $prev $next }}
+ <div>
+ {{ if $prev }}
+ <div class="index-div-next">
+ <h4>
+ <i class="czs-hande-vertical"></i>
+ {{ T "prevPost" }}
+ </h4>
+ <p>
+ <a href="{{ $prev.RelPermalink }}">
+ {{ (partial "utils/title.html" (dict "$" $prev "title" $prev.LinkTitle)).htmlTitle }}
+ </a>
+ </p>
+ </div>
+ {{ end }}
+ {{ if $next }}
+ <div class="index-div-next">
+ <h4>
+ <i class="czs-hande-vertical"></i>
+ {{ T "nextPost" }}
+ </h4>
+ <p>
+ <a href="{{ $next.RelPermalink }}">
+ {{ (partial "utils/title.html" (dict "$" $next "title" $next.LinkTitle)).htmlTitle }}
+ </a>
+ </p>
+ </div>
+ {{ end }}
+ </div>
+ {{ end }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/components/post-toc.html b/layouts/partials/components/post-toc.html
index b295d95..7b74e38 100644
--- a/layouts/partials/components/post-toc.html
+++ b/layouts/partials/components/post-toc.html
@@ -1,11 +1,13 @@
-<div class="index-div">
- <div class="single-index">
- <h4>
- <i class="ri-list-check-2"></i>
- {{ T "postToc" }}
- </h4>
+{{ if .Params.toc | default .Site.Params.post.enableTOC | default (findRE "<h[1-6].*?>(.|\n])+?</h[1-6]>" .Content) }}
+ <div class="index-div">
+ <div class="single-index">
+ <h4>
+ <i class="ri-list-check-2"></i>
+ {{ T "postToc" }}
+ </h4>
+ </div>
+ <ul id="article-index" class="index-ul">
+ {{ partial "utils/toc" . }}
+ </ul>
</div>
- <ul id="article-index" class="index-ul">
- {{ partial "utils/toc" . }}
- </ul>
-</div> \ No newline at end of file
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 13001f5..b547295 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,10 +1,10 @@
{{/* Back To Top */}}
-{{ if .Site.Params.enableBackToTop }}
+{{ if .Site.Params.footer.enableBackToTop }}
{{ partial "components/go-to-top" . }}
{{ end }}
{{/* Github Link GitHub链接 */}}
-{{ if .Site.Params.enableFooterGithubLink }}
+{{ if .Site.Params.footer.enableFooterGithubLink }}
{{ partial "components/github-link" . }}
{{ end }}
@@ -18,4 +18,7 @@
{{ $Content | safeHTML }}
{{ end }}
</p>
-</div> \ No newline at end of file
+</div>
+
+{{/* Highlight.js */}}
+{{ partial "third-party/highlightjs" . }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 26d8deb..a24fb4a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -26,14 +26,22 @@
{{/* BootStrap */}}
{{ if .Site.Params.useCDN }}
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/css/bootstrap.min.css" crossorigin="anonymous" />
+ <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@4.5.2/dist/css/bootstrap.min.css" crossorigin="anonymous" />
{{ end }}
{{/* Remix Icon */}}
<link rel="stylesheet" href="
{{ if .Site.Params.useCDN }}
- https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css
+ //cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.min.css
{{ else }}
{{ "css/remixicon/remixicon.css" | relURL }}
{{ end }}
" />
+ {{/* Highlight.js */}}
+ <link rel="stylesheet" href="
+ {{ if .Site.Params.useCDN }}
+ //cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.3.1/build/styles/rainbow.min.css
+ {{ else }}
+ {{ "css/hljs/rainbow.min.css" | relURL }}
+ {{ end }}
+ " />
</head>
diff --git a/layouts/partials/pages/home.html b/layouts/partials/pages/home.html
index 5389a72..5fc672e 100644
--- a/layouts/partials/pages/home.html
+++ b/layouts/partials/pages/home.html
@@ -22,6 +22,10 @@
{{ end }}
</li>
{{ end }}
+ {{/* Paginate 导航 */}}
+ {{ if or $paginator.HasPrev $paginator.HasNext }}
+ {{ partial "components/home-paginate" (dict "$" . "paginator" $paginator) }}
+ {{ end }}
</ul>
</div>
</div>
diff --git a/layouts/partials/pages/post.html b/layouts/partials/pages/post.html
index 603689d..eb84f9a 100644
--- a/layouts/partials/pages/post.html
+++ b/layouts/partials/pages/post.html
@@ -4,9 +4,8 @@
<div
class="single-left"
>
- {{ if findRE "<h[1-6].*?>(.|\n])+?</h[1-6]>" .Content }}
- {{ partial "components/post-toc" . }}
- {{ end }}
+ {{ partial "components/post-toc" . }}
+ {{ partial "components/post-nav" . }}
</div>
{{/* Reading Bar */}}
<div class="reading-bar"></div>
@@ -27,3 +26,4 @@
</div>
</div>
</div>
+{{ partial "third-party/highlightjs" . }}
diff --git a/layouts/partials/third-party/highlightjs.html b/layouts/partials/third-party/highlightjs.html
new file mode 100644
index 0000000..8d26072
--- /dev/null
+++ b/layouts/partials/third-party/highlightjs.html
@@ -0,0 +1,8 @@
+<script src="
+ {{- if .Site.Params.useCDN -}}
+ //cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.3.1/build/highlight.min.js
+ {{- else -}}
+ {{- "js/highlight.min.js" | relURL -}}
+ {{- end -}}
+"></script>
+<script>hljs.initHighlightingOnLoad();</script> \ No newline at end of file
diff --git a/layouts/shortcodes/post.html b/layouts/shortcodes/post.html
new file mode 100644
index 0000000..dce64ac
--- /dev/null
+++ b/layouts/shortcodes/post.html
@@ -0,0 +1,15 @@
+{{ $path := .Get 0 }}
+{{ $page := .Site.GetPage $path }}
+{{ with $page }}
+ <div class="warp-post-embed">
+ <a style="text-decoration: none;" href="{{ .RelPermalink }}" target="_blank">
+ <div class="embed-content">
+ <h2>{{ .Title }}</h2>
+ <p>
+ <b>Slug: {{ $path }}</b>
+ &nbsp;&nbsp;{{ T "postedOn" }}{{ .Date.Format "2006-01-02 15:04:05" }}
+ </p>
+ </div>
+ </a>
+ </div>
+{{ end }}
diff --git a/static/css/hljs/rainbow.min.css b/static/css/hljs/rainbow.min.css
new file mode 100644
index 0000000..5786b3c
--- /dev/null
+++ b/static/css/hljs/rainbow.min.css
@@ -0,0 +1 @@
+.hljs{display:block;overflow-x:auto;padding:.5em;background:#474949;color:#d1d9e1}.hljs-comment,.hljs-quote{color:#969896;font-style:italic}.hljs-addition,.hljs-keyword,.hljs-literal,.hljs-selector-tag,.hljs-type{color:#c9c}.hljs-number,.hljs-selector-attr,.hljs-selector-pseudo{color:#f99157}.hljs-doctag,.hljs-regexp,.hljs-string{color:#8abeb7}.hljs-built_in,.hljs-name,.hljs-section,.hljs-title{color:#b5bd68}.hljs-class .hljs-title,.hljs-selector-id,.hljs-template-variable,.hljs-variable{color:#fc6}.hljs-name,.hljs-section,.hljs-strong{font-weight:700}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-subst,.hljs-symbol{color:#f99157}.hljs-deletion{color:#dc322f}.hljs-formula{background:#eee8d5}.hljs-attr,.hljs-attribute{color:#81a2be}.hljs-emphasis{font-style:italic} \ No newline at end of file
diff --git a/static/js/highlight.min.js b/static/js/highlight.min.js
new file mode 100644
index 0000000..b67965c
--- /dev/null
+++ b/static/js/highlight.min.js
@@ -0,0 +1,1102 @@
+/*
+ Highlight.js 10.3.1 (3797c108)
+ License: BSD-3-Clause
+ Copyright (c) 2006-2020, Ivan Sagalaev
+*/
+var hljs=function(){"use strict";function e(n){Object.freeze(n)
+ ;var t="function"==typeof n
+ ;return Object.getOwnPropertyNames(n).forEach((function(r){
+ !Object.hasOwnProperty.call(n,r)||null===n[r]||"object"!=typeof n[r]&&"function"!=typeof n[r]||t&&("caller"===r||"callee"===r||"arguments"===r)||Object.isFrozen(n[r])||e(n[r])
+ })),n}class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}
+ ignoreMatch(){this.ignore=!0}}function t(e){
+ return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
+ }function r(e,...n){var t={};for(const n in e)t[n]=e[n]
+ ;return n.forEach((function(e){for(const n in e)t[n]=e[n]})),t}function a(e){
+ return e.nodeName.toLowerCase()}var i=Object.freeze({__proto__:null,
+ escapeHTML:t,inherit:r,nodeStream:function(e){var n=[];return function e(t,r){
+ for(var i=t.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(n.push({
+ event:"start",offset:r,node:i}),r=e(i,r),a(i).match(/br|hr|img|input/)||n.push({
+ event:"stop",offset:r,node:i}));return r}(e,0),n},mergeStreams:function(e,n,r){
+ var i=0,s="",o=[];function l(){
+ return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n
+ }function c(e){s+="<"+a(e)+[].map.call(e.attributes,(function(e){
+ return" "+e.nodeName+'="'+t(e.value)+'"'})).join("")+">"}function u(e){
+ s+="</"+a(e)+">"}function g(e){("start"===e.event?c:u)(e.node)}
+ for(;e.length||n.length;){var d=l()
+ ;if(s+=t(r.substring(i,d[0].offset)),i=d[0].offset,d===e){o.reverse().forEach(u)
+ ;do{g(d.splice(0,1)[0]),d=l()}while(d===e&&d.length&&d[0].offset===i)
+ ;o.reverse().forEach(c)
+ }else"start"===d[0].event?o.push(d[0].node):o.pop(),g(d.splice(0,1)[0])}
+ return s+t(r.substr(i))}});const s=e=>!!e.kind;class o{constructor(e,n){
+ this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){
+ this.buffer+=t(e)}openNode(e){if(!s(e))return;let n=e.kind
+ ;e.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(e){
+ s(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
+ this.buffer+=`<span class="${e}">`}}class l{constructor(){this.rootNode={
+ children:[]},this.stack=[this.rootNode]}get top(){
+ return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){
+ this.top.children.push(e)}openNode(e){const n={kind:e,children:[]}
+ ;this.add(n),this.stack.push(n)}closeNode(){
+ if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){
+ for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}
+ walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){
+ return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n),
+ n.children.forEach((n=>this._walk(e,n))),e.closeNode(n)),e}static _collapse(e){
+ "string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{
+ l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e}
+ addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNode())}
+ addText(e){""!==e&&this.add(e)}addSublanguage(e,n){const t=e.root
+ ;t.kind=n,t.sublanguage=!0,this.add(t)}toHTML(){
+ return new o(this,this.options).value()}finalize(){return!0}}function u(e){
+ return e?"string"==typeof e?e:e.source:null}
+ const g="[a-zA-Z]\\w*",d="[a-zA-Z_]\\w*",h="\\b\\d+(\\.\\d+)?",f="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",p="\\b(0b[01]+)",m={
+ begin:"\\\\[\\s\\S]",relevance:0},b={className:"string",begin:"'",end:"'",
+ illegal:"\\n",contains:[m]},v={className:"string",begin:'"',end:'"',
+ illegal:"\\n",contains:[m]},x={
+ begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
+ },E=function(e,n,t={}){var a=r({className:"comment",begin:e,end:n,contains:[]
+ },t);return a.contains.push(x),a.contains.push({className:"doctag",
+ begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),a
+ },_=E("//","$"),w=E("/\\*","\\*/"),N=E("#","$");var y=Object.freeze({
+ __proto__:null,IDENT_RE:g,UNDERSCORE_IDENT_RE:d,NUMBER_RE:h,C_NUMBER_RE:f,
+ BINARY_NUMBER_RE:p,
+ RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",
+ SHEBANG:(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){
+ return e.map((e=>u(e))).join("")}(n,/.*\b/,e.binary,/\b.*/)),r({
+ className:"meta",begin:n,end:/$/,relevance:0,"on:begin":(e,n)=>{
+ 0!==e.index&&n.ignoreMatch()}},e)},BACKSLASH_ESCAPE:m,APOS_STRING_MODE:b,
+ QUOTE_STRING_MODE:v,PHRASAL_WORDS_MODE:x,COMMENT:E,C_LINE_COMMENT_MODE:_,
+ C_BLOCK_COMMENT_MODE:w,HASH_COMMENT_MODE:N,NUMBER_MODE:{className:"number",
+ begin:h,relevance:0},C_NUMBER_MODE:{className:"number",begin:f,relevance:0},
+ BINARY_NUMBER_MODE:{className:"number",begin:p,relevance:0},CSS_NUMBER_MODE:{
+ className:"number",
+ begin:h+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
+ relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",
+ begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[m,{begin:/\[/,end:/\]/,
+ relevance:0,contains:[m]}]}]},TITLE_MODE:{className:"title",begin:g,relevance:0
+ },UNDERSCORE_TITLE_MODE:{className:"title",begin:d,relevance:0},METHOD_GUARD:{
+ begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(e){
+ return Object.assign(e,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},
+ "on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})}
+ }),R="of and for in not or if then".split(" ");function k(e){function n(n,t){
+ return RegExp(u(n),"m"+(e.case_insensitive?"i":"")+(t?"g":""))}class t{
+ constructor(){
+ this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}
+ addRule(e,n){
+ n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),
+ this.matchAt+=function(e){return RegExp(e.toString()+"|").exec("").length-1
+ }(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
+ ;const e=this.regexes.map((e=>e[1]));this.matcherRe=n(function(e,n="|"){
+ for(var t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",i=0;i<e.length;i++){
+ var s=r+=1,o=u(e[i]);for(i>0&&(a+=n),a+="(";o.length>0;){var l=t.exec(o)
+ ;if(null==l){a+=o;break}
+ a+=o.substring(0,l.index),o=o.substring(l.index+l[0].length),
+ "\\"===l[0][0]&&l[1]?a+="\\"+(Number(l[1])+s):(a+=l[0],"("===l[0]&&r++)}a+=")"}
+ return a}(e),!0),this.lastIndex=0}exec(e){
+ this.matcherRe.lastIndex=this.lastIndex;const n=this.matcherRe.exec(e)
+ ;if(!n)return null
+ ;const t=n.findIndex(((e,n)=>n>0&&void 0!==e)),r=this.matchIndexes[t]
+ ;return n.splice(0,t),Object.assign(n,r)}}class a{constructor(){
+ this.rules=[],this.multiRegexes=[],
+ this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){
+ if(this.multiRegexes[e])return this.multiRegexes[e];const n=new t
+ ;return this.rules.slice(e).forEach((([e,t])=>n.addRule(e,t))),
+ n.compile(),this.multiRegexes[e]=n,n}resumingScanAtSamePosition(){
+ return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,n){
+ this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){
+ const n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex
+ ;let t=n.exec(e)
+ ;if(this.resumingScanAtSamePosition())if(t&&t.index===this.lastIndex);else{
+ const n=this.getMatcher(0);n.lastIndex=this.lastIndex+1,t=n.exec(e)}
+ return t&&(this.regexIndex+=t.position+1,
+ this.regexIndex===this.count&&this.considerAll()),t}}function i(e,n){
+ const t=e.input[e.index-1],r=e.input[e.index+e[0].length]
+ ;"."!==t&&"."!==r||n.ignoreMatch()}
+ if(e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.")
+ ;return function t(s,o){const l=s;if(s.compiled)return l
+ ;s.compiled=!0,s.__beforeBegin=null,s.keywords=s.keywords||s.beginKeywords
+ ;let c=null
+ ;if("object"==typeof s.keywords&&(c=s.keywords.$pattern,delete s.keywords.$pattern),
+ s.keywords&&(s.keywords=function(e,n){var t={}
+ ;return"string"==typeof e?r("keyword",e):Object.keys(e).forEach((function(n){
+ r(n,e[n])})),t;function r(e,r){
+ n&&(r=r.toLowerCase()),r.split(" ").forEach((function(n){var r=n.split("|")
+ ;t[r[0]]=[e,O(r[0],r[1])]}))}
+ }(s.keywords,e.case_insensitive)),s.lexemes&&c)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ")
+ ;return l.keywordPatternRe=n(s.lexemes||c||/\w+/,!0),
+ o&&(s.beginKeywords&&(s.begin="\\b("+s.beginKeywords.split(" ").join("|")+")(?=\\b|\\s)",
+ s.__beforeBegin=i),
+ s.begin||(s.begin=/\B|\b/),l.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),
+ s.end||s.endsWithParent||(s.end=/\B|\b/),
+ s.end&&(l.endRe=n(s.end)),l.terminator_end=u(s.end)||"",
+ s.endsWithParent&&o.terminator_end&&(l.terminator_end+=(s.end?"|":"")+o.terminator_end)),
+ s.illegal&&(l.illegalRe=n(s.illegal)),
+ void 0===s.relevance&&(s.relevance=1),s.contains||(s.contains=[]),
+ s.contains=[].concat(...s.contains.map((function(e){return function(e){
+ return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map((function(n){
+ return r(e,{variants:null},n)}))),e.cached_variants?e.cached_variants:M(e)?r(e,{
+ starts:e.starts?r(e.starts):null}):Object.isFrozen(e)?r(e):e}("self"===e?s:e)
+ }))),s.contains.forEach((function(e){t(e,l)
+ })),s.starts&&t(s.starts,o),l.matcher=function(e){const n=new a
+ ;return e.contains.forEach((e=>n.addRule(e.begin,{rule:e,type:"begin"
+ }))),e.terminator_end&&n.addRule(e.terminator_end,{type:"end"
+ }),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(l),l}(e)}function M(e){
+ return!!e&&(e.endsWithParent||M(e.starts))}function O(e,n){
+ return n?Number(n):function(e){return R.includes(e.toLowerCase())}(e)?0:1}
+ const L={props:["language","code","autodetect"],data:function(){return{
+ detectedLanguage:"",unknownLanguage:!1}},computed:{className(){
+ return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){
+ if(!this.autoDetect&&!hljs.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),
+ this.unknownLanguage=!0,t(this.code);let e
+ ;return this.autoDetect?(e=hljs.highlightAuto(this.code),
+ this.detectedLanguage=e.language):(e=hljs.highlight(this.language,this.code,this.ignoreIllegals),
+ this.detectectLanguage=this.language),e.value},autoDetect(){
+ return!(this.language&&(e=this.autodetect,!e&&""!==e));var e},
+ ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{
+ class:this.className,domProps:{innerHTML:this.highlighted}})])}},j={install(e){
+ e.component("highlightjs",L)}
+ },I=t,T=r,{nodeStream:S,mergeStreams:A}=i,B=Symbol("nomatch")
+ ;return function(t){
+ var r=[],a=Object.create(null),i=Object.create(null),s=[],o=!0,l=/(^(<[^>]+>|\t|)+|\n)/gm,u="Could not find the language '{}', did you forget to load/include a language module?"
+ ;const g={disableAutodetect:!0,name:"Plain text",contains:[]};var d={
+ noHighlightRe:/^(no-?highlight)$/i,
+ languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",
+ tabReplace:null,useBR:!1,languages:null,__emitter:c};function h(e){
+ return d.noHighlightRe.test(e)}function f(e,n,t,r){var a={code:n,language:e}
+ ;N("before:highlight",a);var i=a.result?a.result:p(a.language,a.code,t,r)
+ ;return i.code=a.code,N("after:highlight",i),i}function p(e,t,r,i){var s=t
+ ;function l(e,n){var t=_.case_insensitive?n[0].toLowerCase():n[0]
+ ;return Object.prototype.hasOwnProperty.call(e.keywords,t)&&e.keywords[t]}
+ function c(){null!=y.subLanguage?function(){if(""!==O){var e=null
+ ;if("string"==typeof y.subLanguage){
+ if(!a[y.subLanguage])return void M.addText(O)
+ ;e=p(y.subLanguage,O,!0,R[y.subLanguage]),R[y.subLanguage]=e.top
+ }else e=m(O,y.subLanguage.length?y.subLanguage:null)
+ ;y.relevance>0&&(L+=e.relevance),M.addSublanguage(e.emitter,e.language)}
+ }():function(){if(!y.keywords)return void M.addText(O);let e=0
+ ;y.keywordPatternRe.lastIndex=0;let n=y.keywordPatternRe.exec(O),t="";for(;n;){
+ t+=O.substring(e,n.index);const r=l(y,n);if(r){const[e,a]=r
+ ;M.addText(t),t="",L+=a,M.addKeyword(n[0],e)}else t+=n[0]
+ ;e=y.keywordPatternRe.lastIndex,n=y.keywordPatternRe.exec(O)}
+ t+=O.substr(e),M.addText(t)}(),O=""}function g(e){
+ return e.className&&M.openNode(e.className),y=Object.create(e,{parent:{value:y}
+ })}function h(e,t,r){let a=function(e,n){var t=e&&e.exec(n)
+ ;return t&&0===t.index}(e.endRe,r);if(a){if(e["on:end"]){const r=new n(e)
+ ;e["on:end"](t,r),r.ignore&&(a=!1)}if(a){for(;e.endsParent&&e.parent;)e=e.parent
+ ;return e}}if(e.endsWithParent)return h(e.parent,t,r)}function f(e){
+ return 0===y.matcher.regexIndex?(O+=e[0],1):(S=!0,0)}function b(e){
+ var n=e[0],t=s.substr(e.index),r=h(y,e,t);if(!r)return B;var a=y
+ ;a.skip?O+=n:(a.returnEnd||a.excludeEnd||(O+=n),c(),a.excludeEnd&&(O=n));do{
+ y.className&&M.closeNode(),y.skip||y.subLanguage||(L+=y.relevance),y=y.parent
+ }while(y!==r.parent)
+ ;return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),
+ g(r.starts)),a.returnEnd?0:n.length}var v={};function x(t,a){var i=a&&a[0]
+ ;if(O+=t,null==i)return c(),0
+ ;if("begin"===v.type&&"end"===a.type&&v.index===a.index&&""===i){
+ if(O+=s.slice(a.index,a.index+1),!o){const n=Error("0 width match regex")
+ ;throw n.languageName=e,n.badRule=v.rule,n}return 1}
+ if(v=a,"begin"===a.type)return function(e){var t=e[0],r=e.rule
+ ;const a=new n(r),i=[r.__beforeBegin,r["on:begin"]]
+ ;for(const n of i)if(n&&(n(e,a),a.ignore))return f(t)
+ ;return r&&r.endSameAsBegin&&(r.endRe=RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),
+ r.skip?O+=t:(r.excludeBegin&&(O+=t),
+ c(),r.returnBegin||r.excludeBegin||(O=t)),g(r),r.returnBegin?0:t.length}(a)
+ ;if("illegal"===a.type&&!r){
+ const e=Error('Illegal lexeme "'+i+'" for mode "'+(y.className||"<unnamed>")+'"')
+ ;throw e.mode=y,e}if("end"===a.type){var l=b(a);if(l!==B)return l}
+ if("illegal"===a.type&&""===i)return 1
+ ;if(T>1e5&&T>3*a.index)throw Error("potential infinite loop, way more iterations than matches")
+ ;return O+=i,i.length}var _=E(e)
+ ;if(!_)throw console.error(u.replace("{}",e)),Error('Unknown language: "'+e+'"')
+ ;var w=k(_),N="",y=i||w,R={},M=new d.__emitter(d);!function(){
+ for(var e=[],n=y;n!==_;n=n.parent)n.className&&e.unshift(n.className)
+ ;e.forEach((e=>M.openNode(e)))}();var O="",L=0,j=0,T=0,S=!1;try{
+ for(y.matcher.considerAll();;){
+ T++,S?S=!1:y.matcher.considerAll(),y.matcher.lastIndex=j
+ ;const e=y.matcher.exec(s);if(!e)break;const n=x(s.substring(j,e.index),e)
+ ;j=e.index+n}return x(s.substr(j)),M.closeAllNodes(),M.finalize(),N=M.toHTML(),{
+ relevance:L,value:N,language:e,illegal:!1,emitter:M,top:y}}catch(n){
+ if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{
+ msg:n.message,context:s.slice(j-100,j+100),mode:n.mode},sofar:N,relevance:0,
+ value:I(s),emitter:M};if(o)return{illegal:!1,relevance:0,value:I(s),emitter:M,
+ language:e,top:y,errorRaised:n};throw n}}function m(e,n){
+ n=n||d.languages||Object.keys(a);var t=function(e){const n={relevance:0,
+ emitter:new d.__emitter(d),value:I(e),illegal:!1,top:g}
+ ;return n.emitter.addText(e),n}(e),r=t
+ ;return n.filter(E).filter(w).forEach((function(n){var a=p(n,e,!1);a.language=n,
+ a.relevance>r.relevance&&(r=a),a.relevance>t.relevance&&(r=t,t=a)
+ })),r.language&&(t.second_best=r),t}function b(e){
+ return d.tabReplace||d.useBR?e.replace(l,(e=>"\n"===e?d.useBR?"<br>":e:d.tabReplace?e.replace(/\t/g,d.tabReplace):e)):e
+ }function v(e){let n=null;const t=function(e){var n=e.className+" "
+ ;n+=e.parentNode?e.parentNode.className:"";const t=d.languageDetectRe.exec(n)
+ ;if(t){var r=E(t[1])
+ ;return r||(console.warn(u.replace("{}",t[1])),console.warn("Falling back to no-highlight mode for this block.",e)),
+ r?t[1]:"no-highlight"}return n.split(/\s+/).find((e=>h(e)||E(e)))}(e)
+ ;if(h(t))return;N("before:highlightBlock",{block:e,language:t
+ }),d.useBR?(n=document.createElement("div"),
+ n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n")):n=e
+ ;const r=n.textContent,a=t?f(t,r,!0):m(r),s=S(n);if(s.length){
+ const e=document.createElement("div");e.innerHTML=a.value,a.value=A(s,S(e),r)}
+ a.value=b(a.value),N("after:highlightBlock",{block:e,result:a
+ }),e.innerHTML=a.value,e.className=function(e,n,t){var r=n?i[n]:t,a=[e.trim()]
+ ;return e.match(/\bhljs\b/)||a.push("hljs"),
+ e.includes(r)||a.push(r),a.join(" ").trim()
+ }(e.className,t,a.language),e.result={language:a.language,re:a.relevance,
+ relavance:a.relevance},a.second_best&&(e.second_best={
+ language:a.second_best.language,re:a.second_best.relevance,
+ relavance:a.second_best.relevance})}const x=()=>{if(!x.called){x.called=!0
+ ;var e=document.querySelectorAll("pre code");r.forEach.call(e,v)}}
+ ;function E(e){return e=(e||"").toLowerCase(),a[e]||a[i[e]]}
+ function _(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach((e=>{i[e]=n
+ }))}function w(e){var n=E(e);return n&&!n.disableAutodetect}function N(e,n){
+ var t=e;s.forEach((function(e){e[t]&&e[t](n)}))}Object.assign(t,{highlight:f,
+ highlightAuto:m,fixMarkup:function(e){
+ return console.warn("fixMarkup is deprecated and will be removed entirely in v11.0"),
+ console.warn("Please see https://github.com/highlightjs/highlight.js/issues/2534"),
+ b(e)},highlightBlock:v,configure:function(e){
+ e.useBR&&(console.warn("'useBR' option is deprecated and will be removed entirely in v11.0"),
+ console.warn("Please see https://github.com/highlightjs/highlight.js/issues/2559")),
+ d=T(d,e)},initHighlighting:x,initHighlightingOnLoad:function(){
+ window.addEventListener("DOMContentLoaded",x,!1)},
+ registerLanguage:function(e,n){var r=null;try{r=n(t)}catch(n){
+ if(console.error("Language definition for '{}' could not be registered.".replace("{}",e)),
+ !o)throw n;console.error(n),r=g}
+ r.name||(r.name=e),a[e]=r,r.rawDefinition=n.bind(null,t),
+ r.aliases&&_(r.aliases,{languageName:e})},listLanguages:function(){
+ return Object.keys(a)},getLanguage:E,registerAliases:_,
+ requireLanguage:function(e){var n=E(e);if(n)return n
+ ;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))},
+ autoDetection:w,inherit:T,addPlugin:function(e){s.push(e)},vuePlugin:j
+ }),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0
+ },t.versionString="10.3.1";for(const n in y)"object"==typeof y[n]&&e(y[n])
+ ;return Object.assign(t,y),t}({})}()
+ ;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);
+ hljs.registerLanguage("apache",function(){"use strict";return function(e){
+ var n={className:"number",
+ begin:"\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?"};return{
+ name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,
+ contains:[e.HASH_COMMENT_MODE,{className:"section",begin:"</?",end:">",
+ contains:[n,{className:"number",begin:":\\d{1,5}"
+ },e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",
+ begin:/\w+/,relevance:0,keywords:{
+ nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"
+ },starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},
+ contains:[{className:"meta",begin:"\\s\\[",end:"\\]$"},{className:"variable",
+ begin:"[\\$%]\\{",end:"\\}",contains:["self",{className:"number",
+ begin:"[\\$%]\\d+"}]},n,{className:"number",begin:"\\d+"},e.QUOTE_STRING_MODE]}
+ }],illegal:/\S/}}}());
+ hljs.registerLanguage("bash",function(){"use strict";return function(e){
+ const s={};Object.assign(s,{className:"variable",variants:[{
+ begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,
+ contains:[s]}]}]});const n={className:"subst",begin:/\$\(/,end:/\)/,
+ contains:[e.BACKSLASH_ESCAPE]},t={begin:/<<-?\s*(?=\w+)/,starts:{
+ contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}
+ },a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,n]}
+ ;n.contains.push(a);const i={begin:/\$\(\(/,end:/\)\)/,contains:[{
+ begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},c=e.SHEBANG({
+ binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),o={
+ className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,
+ contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{
+ name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,
+ keyword:"if then else elif fi for while in do done case esac function",
+ literal:"true false",
+ built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"
+ },contains:[c,e.SHEBANG(),o,i,e.HASH_COMMENT_MODE,t,a,{className:"",begin:/\\"/
+ },{className:"string",begin:/'/,end:/'/},s]}}}());
+ hljs.registerLanguage("c-like",function(){"use strict";return function(e){
+ function t(e){return"(?:"+e+")?"}var n=e.COMMENT("//","$",{contains:[{
+ begin:/\\\n/}]
+ }),r="[a-zA-Z_]\\w*::",a="(decltype\\(auto\\)|"+t(r)+"[a-zA-Z_]\\w*"+t("<.*?>")+")",i={
+ className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",
+ variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",
+ contains:[e.BACKSLASH_ESCAPE]},{
+ begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",
+ end:"'",illegal:"."},e.END_SAME_AS_BEGIN({
+ begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},o={
+ className:"number",variants:[{begin:"\\b(0b[01']+)"},{
+ begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{
+ begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"
+ }],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{
+ "meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"
+ },contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"meta-string"}),{
+ className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"
+ },n,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:t(r)+e.IDENT_RE,
+ relevance:0},d=t(r)+e.IDENT_RE+"\\s*\\(",u={
+ keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",
+ built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",
+ literal:"true false nullptr NULL"},m=[c,i,n,e.C_BLOCK_COMMENT_MODE,o,s],p={
+ variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{
+ beginKeywords:"new throw return else",end:/;/}],keywords:u,contains:m.concat([{
+ begin:/\(/,end:/\)/,keywords:u,contains:m.concat(["self"]),relevance:0}]),
+ relevance:0},_={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,
+ returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:u,illegal:/[^\w\s\*&:<>]/,
+ contains:[{begin:"decltype\\(auto\\)",keywords:u,relevance:0},{begin:d,
+ returnBegin:!0,contains:[l],relevance:0},{className:"params",begin:/\(/,
+ end:/\)/,keywords:u,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,o,i,{
+ begin:/\(/,end:/\)/,keywords:u,relevance:0,
+ contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,o,i]}]
+ },i,n,e.C_BLOCK_COMMENT_MODE,c]};return{
+ aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:u,
+ disableAutodetect:!0,illegal:"</",contains:[].concat(p,_,m,[c,{
+ begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",
+ end:">",keywords:u,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:u},{
+ className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,
+ contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{
+ preprocessor:c,strings:s,keywords:u}}}}());
+ hljs.registerLanguage("c",function(){"use strict";return function(e){
+ var n=e.requireLanguage("c-like").rawDefinition()
+ ;return n.name="C",n.aliases=["c","h"],n}}());
+ hljs.registerLanguage("coffeescript",function(){"use strict"
+ ;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
+ ;return function(r){var t,i={
+ keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((t=["var","const","let","function","static"],
+ e=>!t.includes(e))).join(" "),
+ literal:n.concat(["yes","no","on","off"]).join(" "),
+ built_in:a.concat(["npm","print"]).join(" ")},s="[A-Za-z$_][0-9A-Za-z$_]*",o={
+ className:"subst",begin:/#\{/,end:/}/,keywords:i
+ },c=[r.BINARY_NUMBER_MODE,r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",
+ relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,
+ contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]
+ },{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,o]},{begin:/"/,end:/"/,
+ contains:[r.BACKSLASH_ESCAPE,o]}]},{className:"regexp",variants:[{begin:"///",
+ end:"///",contains:[o,r.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",
+ relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s
+ },{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{
+ begin:"```",end:"```"},{begin:"`",end:"`"}]}];o.contains=c
+ ;var l=r.inherit(r.TITLE_MODE,{begin:s}),d="(\\(.*\\))?\\s*\\B[-=]>",g={
+ className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,
+ end:/\)/,keywords:i,contains:["self"].concat(c)}]};return{name:"CoffeeScript",
+ aliases:["coffee","cson","iced"],keywords:i,illegal:/\/\*/,
+ contains:c.concat([r.COMMENT("###","###"),r.HASH_COMMENT_MODE,{
+ className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,
+ contains:[l,g]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",
+ begin:d,end:"[-=]>",returnBegin:!0,contains:[g]}]},{className:"class",
+ beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{
+ beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[l]},l]
+ },{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}());
+ hljs.registerLanguage("cpp",function(){"use strict";return function(e){
+ var i=e.requireLanguage("c-like").rawDefinition();return i.disableAutodetect=!1,
+ i.name="C++",i.aliases=["cc","c++","h++","hpp","hh","hxx","cxx"],i}}());
+ hljs.registerLanguage("csharp",function(){"use strict";return function(e){
+ var n={
+ keyword:["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value","var","when","where","with","yield"]).join(" "),
+ built_in:"bool byte char decimal delegate double dynamic enum float int long nint nuint object sbyte short string ulong unit ushort",
+ literal:"default false null true"},i=e.inherit(e.TITLE_MODE,{
+ begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{
+ begin:"\\b(0b[01']+)"},{
+ begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{
+ begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"
+ }],relevance:0},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]
+ },t=e.inherit(s,{illegal:/\n/}),r={className:"subst",begin:"{",end:"}",
+ keywords:n},l=e.inherit(r,{illegal:/\n/}),c={className:"string",begin:/\$"/,
+ end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},e.BACKSLASH_ESCAPE,l]
+ },o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"
+ },{begin:'""'},r]},d=e.inherit(o,{illegal:/\n/,contains:[{begin:"{{"},{
+ begin:"}}"},{begin:'""'},l]})
+ ;r.contains=[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],
+ l.contains=[d,c,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{
+ illegal:/\n/})];var g={variants:[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
+ },E={begin:"<",end:">",contains:[{beginKeywords:"in out"},i]
+ },_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",b={
+ begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],
+ keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,
+ contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{
+ begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]
+ }),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",
+ end:"$",keywords:{
+ "meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"
+ }},g,a,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:,]/,
+ contains:[{beginKeywords:"where class"
+ },i,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",
+ end:/[{;=]/,illegal:/[^\s:]/,
+ contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
+ beginKeywords:"record",end:/[{;=]/,illegal:/[^\s:]/,
+ contains:[i,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",
+ begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{
+ className:"meta-string",begin:/"/,end:/"/}]},{
+ beginKeywords:"new return throw await else",relevance:0},{className:"function",
+ begin:"("+_+"\\s+)+"+e.IDENT_RE+"\\s*(\\<.+\\>)?\\s*\\(",returnBegin:!0,
+ end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{
+ beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial"
+ },{begin:e.IDENT_RE+"\\s*(\\<.+\\>)?\\s*\\(",returnBegin:!0,
+ contains:[e.TITLE_MODE,E],relevance:0},{className:"params",begin:/\(/,end:/\)/,
+ excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,
+ contains:[g,a,e.C_BLOCK_COMMENT_MODE]
+ },e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},b]}}}());
+ hljs.registerLanguage("css",function(){"use strict";return function(e){var n={
+ begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",
+ endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",
+ excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{
+ begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/
+ },{begin:/\(/,end:/\)/,
+ contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]
+ },e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{
+ className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]
+ }}]};return{name:"CSS",case_insensitive:!0,illegal:/[=\/|'\$]/,
+ contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",
+ begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{
+ className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",
+ contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",
+ begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",
+ lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",
+ illegal:/:/,returnBegin:!0,contains:[{className:"keyword",
+ begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,
+ relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,
+ className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]
+ }]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{
+ begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,n]}]}}}());
+ hljs.registerLanguage("diff",function(){"use strict";return function(e){return{
+ name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,
+ variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{
+ begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{
+ className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/
+ },{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{
+ begin:/^\*{15}$/}]},{className:"addition",begin:"^\\+",end:"$"},{
+ className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",
+ end:"$"}]}}}());
+ hljs.registerLanguage("go",function(){"use strict";return function(e){var n={
+ keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",
+ literal:"true false iota nil",
+ built_in:"append cap close complex copy imag len make new panic print println real recover delete"
+ };return{name:"Go",aliases:["golang"],keywords:n,illegal:"</",
+ contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",
+ variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{
+ className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1
+ },e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",
+ end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",
+ begin:/\(/,end:/\)/,keywords:n,illegal:/["']/}]}]}}}());
+ hljs.registerLanguage("http",function(){"use strict";return function(e){
+ var n="HTTP/[0-9\\.]+";return{name:"HTTP",aliases:["https"],illegal:"\\S",
+ contains:[{begin:"^"+n,end:"$",contains:[{className:"number",
+ begin:"\\b\\d{3}\\b"}]},{begin:"^[A-Z]+ (.*?) "+n+"$",returnBegin:!0,end:"$",
+ contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{
+ begin:n},{className:"keyword",begin:"[A-Z]+"}]},{className:"attribute",
+ begin:"^\\w",end:": ",excludeEnd:!0,illegal:"\\n|\\s|=",starts:{end:"$",
+ relevance:0}},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}]}}}());
+ hljs.registerLanguage("ini",function(){"use strict";function e(e){
+ return e?"string"==typeof e?e:e.source:null}function n(...n){
+ return n.map((n=>e(n))).join("")}return function(a){var s={className:"number",
+ relevance:0,variants:[{begin:/([\+\-]+)?[\d]+_[\d_]+/},{begin:a.NUMBER_RE}]
+ },i=a.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var t={
+ className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]
+ },r={className:"literal",begin:/\bon|off|true|false|yes|no\b/},l={
+ className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[{begin:"'''",
+ end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'
+ },{begin:"'",end:"'"}]},c={begin:/\[/,end:/\]/,contains:[i,r,t,l,s,"self"],
+ relevance:0
+ },g="("+[/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/].map((n=>e(n))).join("|")+")"
+ ;return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,
+ contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{
+ begin:n(g,"(\\s*\\.\\s*",g,")*",n("(?=",/\s*=\s*[^#\s]/,")")),className:"attr",
+ starts:{end:/$/,contains:[i,c,r,t,l,s]}}]}}}());
+ hljs.registerLanguage("java",function(){"use strict";function e(e){
+ return e?"string"==typeof e?e:e.source:null}function n(e){return a("(",e,")?")}
+ function a(...n){return n.map((n=>e(n))).join("")}function s(...n){
+ return"("+n.map((n=>e(n))).join("|")+")"}return function(e){
+ var r="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",i={
+ className:"meta",begin:"@[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*",
+ contains:[{begin:/\(/,end:/\)/,contains:["self"]}]
+ },t=e=>a("[",e,"]+([",e,"_]*[",e,"]+)?"),c={className:"number",variants:[{
+ begin:`\\b(0[bB]${t("01")})[lL]?`},{begin:`\\b(0${t("0-7")})[dDfFlL]?`},{
+ begin:a(/\b0[xX]/,s(a(t("a-fA-F0-9"),/\./,t("a-fA-F0-9")),a(t("a-fA-F0-9"),/\.?/),a(/\./,t("a-fA-F0-9"))),/([pP][+-]?(\d+))?/,/[fFdDlL]?/)
+ },{begin:a(/\b/,s(a(/\d*\./,t("\\d")),t("\\d")),/[eE][+-]?[\d]+[dDfF]?/)},{
+ begin:a(/\b/,t(/\d/),n(/\.?/),n(t(/\d/)),/[dDfFlL]?/)}],relevance:0};return{
+ name:"Java",aliases:["jsp"],keywords:r,illegal:/<\/|#/,
+ contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,
+ relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]
+ }),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{
+ className:"class",beginKeywords:"class interface enum",end:/[{;=]/,
+ excludeEnd:!0,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{
+ beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{
+ beginKeywords:"new throw return else",relevance:0},{className:"class",
+ begin:"record\\s+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,
+ end:/[{;=]/,keywords:r,contains:[{beginKeywords:"record"},{
+ begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,
+ contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,
+ keywords:r,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE]
+ },e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"function",
+ begin:"([\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*(<[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*(\\s*,\\s*[\xc0-\u02b8a-zA-Z_$][\xc0-\u02b8a-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",
+ returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:r,contains:[{
+ begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,
+ contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,
+ keywords:r,relevance:0,
+ contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]
+ },e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},c,i]}}}());
+ hljs.registerLanguage("javascript",function(){"use strict"
+ ;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],s=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
+ ;function r(e){return i("(?=",e,")")}function t(e){return i("(",e,")?")}
+ function i(...e){return e.map((e=>{
+ return(n=e)?"string"==typeof n?n:n.source:null;var n})).join("")}
+ return function(c){const o=e,l={begin:/<[A-Za-z0-9\\._:-]+/,
+ end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{
+ const a=e[0].length+e.index,s=e.input[a];"<"!==s?">"===s&&(((e,{after:n})=>{
+ const a=e[0].replace("<","</");return-1!==e.input.indexOf(a,n)})(e,{after:a
+ })||n.ignoreMatch()):n.ignoreMatch()}},g={$pattern:e,keyword:n.join(" "),
+ literal:a.join(" "),built_in:s.join(" ")
+ },d=(e,n)=>`\\b0[${e}][${n}]([${n}_]*[${n}])?n?`,b=/[1-9]([0-9_]*\d)?/,E=/\d([0-9_]*\d)?/,u=i(/[eE][+-]?/,E),_={
+ className:"number",variants:[{begin:d("bB","01")},{begin:d("oO","0-7")},{
+ begin:d("xX","0-9a-fA-F")},{begin:i(/\b/,b,"n")},{begin:i(/(\b0)?\./,E,t(u))},{
+ begin:i(/\b/,b,t(i(/\./,t(E))),t(u))},{begin:/\b0[\.n]?/}],relevance:0},m={
+ className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},N={
+ begin:"html`",end:"",starts:{end:"`",returnEnd:!1,
+ contains:[c.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},y={begin:"css`",end:"",
+ starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,m],subLanguage:"css"}
+ },f={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,m]},A={
+ className:"comment",variants:[c.COMMENT("/\\*\\*","\\*/",{relevance:0,
+ contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",
+ begin:"\\{",end:"\\}",relevance:0},{className:"variable",
+ begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,
+ relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]
+ },p=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,y,f,_,c.REGEXP_MODE]
+ ;m.contains=p.concat({begin:/{/,end:/}/,keywords:g,contains:["self"].concat(p)})
+ ;const O=[].concat(A,m.contains),T=O.concat([{begin:/\(/,end:/\)/,keywords:g,
+ contains:["self"].concat(O)}]),R={className:"params",begin:/\(/,end:/\)/,
+ excludeBegin:!0,excludeEnd:!0,keywords:g,contains:T};return{name:"Javascript",
+ aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:T},
+ illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",
+ relevance:5}),{label:"use_strict",className:"meta",relevance:10,
+ begin:/^\s*['"]use (strict|asm)['"]/
+ },c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,y,f,A,_,{
+ begin:i(/[{,\n]\s*/,r(i(/(\/\/.*$)*/,/(\/\*(.|\n)*\*\/)*/,/\s*/,o+"\\s*:"))),
+ relevance:0,contains:[{className:"attr",begin:o+r("\\s*:"),relevance:0}]},{
+ begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
+ keywords:"return throw case",contains:[A,c.REGEXP_MODE,{className:"function",
+ begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\))*[^()]*\\))*[^()]*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",
+ returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{
+ begin:c.UNDERSCORE_IDENT_RE},{className:null,begin:/\(\s*\)/,skip:!0},{
+ begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:T}]}]},{
+ begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{
+ begin:"<>",end:"</>"},{begin:l.begin,"on:begin":l.isTrulyOpeningTag,end:l.end}],
+ subLanguage:"xml",contains:[{begin:l.begin,end:l.end,skip:!0,contains:["self"]}]
+ }],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,
+ excludeEnd:!0,keywords:g,contains:["self",c.inherit(c.TITLE_MODE,{begin:o}),R],
+ illegal:/%/},{className:"function",
+ begin:c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\))*[^()]*\\))*[^()]*\\)\\s*{",
+ returnBegin:!0,contains:[R,c.inherit(c.TITLE_MODE,{begin:o})]},{variants:[{
+ begin:"\\."+o},{begin:"\\$"+o}],relevance:0},{className:"class",
+ beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{
+ beginKeywords:"extends"},c.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,
+ end:/[\{;]/,excludeEnd:!0,contains:[c.inherit(c.TITLE_MODE,{begin:o}),"self",R]
+ },{begin:"(get|set)\\s+(?="+o+"\\()",end:/{/,keywords:"get set",
+ contains:[c.inherit(c.TITLE_MODE,{begin:o}),{begin:/\(\)/},R]},{begin:/\$[(.]/}]
+ }}}());
+ hljs.registerLanguage("json",function(){"use strict";return function(n){var e={
+ literal:"true false null"
+ },i=[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],t=[n.QUOTE_STRING_MODE,n.C_NUMBER_MODE],a={
+ end:",",endsWithParent:!0,excludeEnd:!0,contains:t,keywords:e},l={begin:"{",
+ end:"}",contains:[{className:"attr",begin:/"/,end:/"/,
+ contains:[n.BACKSLASH_ESCAPE],illegal:"\\n"},n.inherit(a,{begin:/:/
+ })].concat(i),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[n.inherit(a)],
+ illegal:"\\S"};return t.push(l,s),i.forEach((function(n){t.push(n)})),{
+ name:"JSON",contains:t,keywords:e,illegal:"\\S"}}}());
+ hljs.registerLanguage("kotlin",function(){"use strict";return function(e){
+ var n={
+ keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",
+ built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",
+ literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"
+ },i={className:"subst",begin:"\\${",end:"}",contains:[e.C_NUMBER_MODE]},s={
+ className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},t={className:"string",
+ variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,i]},{begin:"'",end:"'",
+ illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,
+ contains:[e.BACKSLASH_ESCAPE,s,i]}]};i.contains.push(t);var r={className:"meta",
+ begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"
+ },l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,
+ end:/\)/,contains:[e.inherit(t,{className:"meta-string"})]}]
+ },c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),o={variants:[{
+ className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]
+ },d=o;return d.variants[1].contains=[o],o.variants[1].contains=[d],{
+ name:"Kotlin",aliases:["kt"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{
+ relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]
+ }),e.C_LINE_COMMENT_MODE,c,{className:"keyword",
+ begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",
+ begin:/@\w+/}]}},a,r,l,{className:"function",beginKeywords:"fun",end:"[(]|$",
+ returnBegin:!0,excludeEnd:!0,keywords:n,
+ illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{
+ begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,
+ contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,
+ keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,
+ endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,
+ endsWithParent:!0,contains:[o,e.C_LINE_COMMENT_MODE,c],relevance:0
+ },e.C_LINE_COMMENT_MODE,c,r,l,t,e.C_NUMBER_MODE]},c]},{className:"class",
+ beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,
+ illegal:"extends implements",contains:[{
+ beginKeywords:"public protected internal private constructor"
+ },e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,
+ excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,
+ excludeBegin:!0,returnEnd:!0},r,l]},t,{className:"meta",begin:"^#!/usr/bin/env",
+ end:"$",illegal:"\n"},{className:"number",
+ begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",
+ relevance:0}]}}}());
+ hljs.registerLanguage("less",function(){"use strict";return function(e){
+ var n="([\\w-]+|@{[\\w-]+})",a=[],s=[],t=function(e){return{className:"string",
+ begin:"~?"+e+".*?"+e}},r=function(e,n,a){return{className:e,begin:n,relevance:a}
+ },i={begin:"\\(",end:"\\)",contains:s,relevance:0}
+ ;s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t("'"),t('"'),e.CSS_NUMBER_MODE,{
+ begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",
+ excludeEnd:!0}
+ },r("number","#[0-9A-Fa-f]+\\b"),i,r("variable","@@?[\\w-]+",10),r("variable","@{[\\w-]+}"),r("built_in","~?`[^`]*?`"),{
+ className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0
+ },{className:"meta",begin:"!important"});var c=s.concat({begin:"{",end:"}",
+ contains:a}),l={beginKeywords:"when",endsWithParent:!0,contains:[{
+ beginKeywords:"and not"}].concat(s)},o={begin:n+"\\s*:",returnBegin:!0,
+ end:"[;}]",relevance:0,contains:[{className:"attribute",begin:n,end:":",
+ excludeEnd:!0,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}
+ }]},g={className:"keyword",
+ begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
+ starts:{end:"[;{}]",returnEnd:!0,contains:s,relevance:0}},d={
+ className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{
+ begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:c}},b={variants:[{
+ begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:"{"}],returnBegin:!0,
+ returnEnd:!0,illegal:"[<='$\"]",relevance:0,
+ contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,r("keyword","all\\b"),r("variable","@{[\\w-]+}"),r("selector-tag",n+"%?",0),r("selector-id","#"+n),r("selector-class","\\."+n,0),r("selector-tag","&",0),{
+ className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",
+ begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:c},{
+ begin:"!important"}]}
+ ;return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,d,o,b),{
+ name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:a}}}());
+ hljs.registerLanguage("lua",function(){"use strict";return function(e){
+ var t="\\[=*\\[",a="\\]=*\\]",n={begin:t,end:a,contains:["self"]
+ },o=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",a,{contains:[n],
+ relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,
+ literal:"true false nil",
+ keyword:"and break do else elseif end for goto if in local not or repeat return then until while",
+ built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"
+ },contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",
+ contains:[e.inherit(e.TITLE_MODE,{
+ begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",
+ begin:"\\(",endsWithParent:!0,contains:o}].concat(o)
+ },e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",
+ begin:t,end:a,contains:[n],relevance:5}])}}}());
+ hljs.registerLanguage("makefile",function(){"use strict";return function(e){
+ var i={className:"variable",variants:[{
+ begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{
+ begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,
+ contains:[e.BACKSLASH_ESCAPE,i]},a={className:"variable",begin:/\$\([\w-]+\s/,
+ end:/\)/,keywords:{
+ built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"
+ },contains:[i]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},s={
+ className:"section",begin:/^[^\s]+:/,end:/$/,contains:[i]};return{
+ name:"Makefile",aliases:["mk","mak"],keywords:{$pattern:/[\w-]+/,
+ keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"
+ },contains:[e.HASH_COMMENT_MODE,i,n,a,r,{className:"meta",begin:/^\.PHONY:/,
+ end:/$/,keywords:{$pattern:/[\.\w]+/,"meta-keyword":".PHONY"}},s]}}}());
+ hljs.registerLanguage("xml",function(){"use strict";return function(e){var n={
+ className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},a={begin:"\\s",
+ contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]
+ },s=e.inherit(a,{begin:"\\(",end:"\\)"}),t=e.inherit(e.APOS_STRING_MODE,{
+ className:"meta-string"}),i=e.inherit(e.QUOTE_STRING_MODE,{
+ className:"meta-string"}),c={endsWithParent:!0,illegal:/</,relevance:0,
+ contains:[{className:"attr",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{
+ begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{
+ begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{
+ begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",
+ aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],
+ case_insensitive:!0,contains:[{className:"meta",begin:"<![a-z]",end:">",
+ relevance:10,contains:[a,i,t,s,{begin:"\\[",end:"\\]",contains:[{
+ className:"meta",begin:"<![a-z]",end:">",contains:[a,s,i,t]}]}]
+ },e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",
+ end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,
+ relevance:10},{className:"tag",begin:"<style(?=\\s|>)",end:">",keywords:{
+ name:"style"},contains:[c],starts:{end:"</style>",returnEnd:!0,
+ subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>)",end:">",
+ keywords:{name:"script"},contains:[c],starts:{end:"<\/script>",returnEnd:!0,
+ subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:"</?",
+ end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},c]}]}}
+ }());
+ hljs.registerLanguage("markdown",function(){"use strict";return function(n){
+ const e={begin:"<",end:">",subLanguage:"xml",relevance:0},a={
+ begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{
+ className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,
+ relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,
+ excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,
+ excludeEnd:!0}],relevance:10},i={className:"strong",contains:[],variants:[{
+ begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},s={className:"emphasis",
+ contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,
+ relevance:0}]};i.contains.push(s),s.contains.push(i);var c=[e,a]
+ ;return i.contains=i.contains.concat(c),s.contains=s.contains.concat(c),{
+ name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",
+ variants:[{begin:"^#{1,6}",end:"$",contains:c=c.concat(i,s)},{
+ begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",
+ contains:c}]}]},e,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",
+ end:"\\s+",excludeEnd:!0},i,s,{className:"quote",begin:"^>\\s+",contains:c,
+ end:"$"},{className:"code",variants:[{begin:"(`{3,})(.|\\n)*?\\1`*[ ]*"},{
+ begin:"(~{3,})(.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",
+ end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{
+ begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"
+ },a,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",
+ begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",
+ begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}}());
+ hljs.registerLanguage("nginx",function(){"use strict";return function(e){var n={
+ className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/}/},{
+ begin:"[\\$\\@]"+e.UNDERSCORE_IDENT_RE}]},a={endsWithParent:!0,keywords:{
+ $pattern:"[a-z/_]+",
+ literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"
+ },relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",
+ contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/
+ }]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]
+ },{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",
+ end:"\\s|{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|{|;",returnEnd:!0},{
+ begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",
+ begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{
+ className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},n]};return{
+ name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{
+ begin:e.UNDERSCORE_IDENT_RE+"\\s+{",returnBegin:!0,end:"{",contains:[{
+ className:"section",begin:e.UNDERSCORE_IDENT_RE}],relevance:0},{
+ begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|{",returnBegin:!0,contains:[{
+ className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:a}],relevance:0}],
+ illegal:"[^\\s\\}]"}}}());
+ hljs.registerLanguage("objectivec",function(){"use strict";return function(e){
+ var n=/[a-zA-Z@][a-zA-Z0-9_]*/,_={$pattern:n,
+ keyword:"@interface @class @protocol @implementation"};return{
+ name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],
+ keywords:{$pattern:n,
+ keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",
+ literal:"false true FALSE TRUE nil YES NO NULL",
+ built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"
+ },illegal:"</",contains:[{className:"built_in",
+ begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"
+ },e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{
+ className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",
+ contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,
+ keywords:{
+ "meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"
+ },contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{
+ className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,
+ illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
+ className:"class",begin:"("+_.keyword.split(" ").join("|")+")\\b",end:"({|$)",
+ excludeEnd:!0,keywords:_,contains:[e.UNDERSCORE_TITLE_MODE]},{
+ begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}}());
+ hljs.registerLanguage("perl",function(){"use strict";return function(e){var n={
+ $pattern:/[\w.]+/,
+ keyword:"getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qq fileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmget sub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedir ioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when"
+ },t={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},s={begin:"->{",
+ end:"}"},r={variants:[{begin:/\$\d/},{
+ begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,
+ relevance:0}]
+ },i=[e.BACKSLASH_ESCAPE,t,r],a=[r,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{
+ endsWithParent:!0}),s,{className:"string",contains:i,variants:[{
+ begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",
+ end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{
+ begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",
+ end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",
+ contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",
+ contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{
+ begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",
+ begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",
+ relevance:0},{
+ begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",
+ keywords:"split return print reverse grep",relevance:0,
+ contains:[e.HASH_COMMENT_MODE,{className:"regexp",
+ begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{
+ className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],
+ relevance:0}]},{className:"function",beginKeywords:"sub",
+ end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{
+ begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",
+ subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]
+ }];return t.contains=a,s.contains=a,{name:"Perl",aliases:["pl","pm"],keywords:n,
+ contains:a}}}());
+ hljs.registerLanguage("php",function(){"use strict";return function(e){var r={
+ begin:"\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"},t={className:"meta",
+ variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={
+ className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]
+ },n=e.inherit(e.APOS_STRING_MODE,{illegal:null
+ }),i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,
+ contains:e.QUOTE_STRING_MODE.contains.concat(a)}),o=e.END_SAME_AS_BEGIN({
+ begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,
+ contains:e.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",
+ contains:[e.BACKSLASH_ESCAPE,t],variants:[e.inherit(n,{begin:"b'",end:"'"
+ }),e.inherit(i,{begin:'b"',end:'"'}),i,n,o]},s={
+ variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},c={
+ keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match new object or private protected public real return string switch throw trait try unset use var void while xor yield",
+ literal:"false null true",
+ built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Throwable Traversable WeakReference Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"
+ };return{aliases:["php","php3","php4","php5","php6","php7","php8"],
+ case_insensitive:!0,keywords:c,
+ contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[t]
+ }),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]
+ }),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,
+ keywords:"__halt_compiler"}),t,{className:"keyword",begin:/\$this\b/},r,{
+ begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",
+ beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",
+ contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",
+ excludeBegin:!0,excludeEnd:!0,keywords:c,
+ contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,s]}]},{className:"class",
+ beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,
+ contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{
+ beginKeywords:"namespace",end:";",illegal:/[\.']/,
+ contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",
+ contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},l,s]}}}());
+ hljs.registerLanguage("php-template",function(){"use strict";return function(n){
+ return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,
+ end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{
+ begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0
+ },n.inherit(n.APOS_STRING_MODE,{illegal:null,className:null,contains:null,
+ skip:!0}),n.inherit(n.QUOTE_STRING_MODE,{illegal:null,className:null,
+ contains:null,skip:!0})]}]}}}());
+ hljs.registerLanguage("plaintext",function(){"use strict";return function(t){
+ return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}}());
+ hljs.registerLanguage("properties",function(){"use strict";return function(e){
+ var n="[ \\t\\f]*",t="("+n+"[:=]"+n+"|[ \\t\\f]+)",a="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",s="([^\\\\:= \\t\\f\\n]|\\\\.)+",r={
+ end:t,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{
+ begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,
+ contains:[e.COMMENT("^\\s*[!#]","$"),{begin:a+t,returnBegin:!0,contains:[{
+ className:"attr",begin:a,endsParent:!0,relevance:0}],starts:r},{begin:s+t,
+ returnBegin:!0,relevance:0,contains:[{className:"meta",begin:s,endsParent:!0,
+ relevance:0}],starts:r},{className:"attr",relevance:0,begin:s+n+"$"}]}}}());
+ hljs.registerLanguage("python",function(){"use strict";return function(e){
+ const n={
+ keyword:"and as assert async await break class continue def del elif else except finally for from global if import in is lambda nonlocal|10 not or pass raise return try while with yield",
+ built_in:"__import__ abs all any ascii bin bool breakpoint bytearray bytes callable chr classmethod compile complex delattr dict dir divmod enumerate eval exec filter float format frozenset getattr globals hasattr hash help hex id input int isinstance issubclass iter len list locals map max memoryview min next object oct open ord pow print property range repr reversed round set setattr slice sorted staticmethod str sum super tuple type vars zip",
+ literal:"__debug__ Ellipsis False None NotImplemented True"},a={
+ className:"meta",begin:/^(>>>|\.\.\.) /},s={className:"subst",begin:/\{/,
+ end:/\}/,keywords:n,illegal:/#/},i={begin:/\{\{/,relevance:0},r={
+ className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{
+ begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,
+ contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{
+ begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,
+ contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{
+ begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,
+ contains:[e.BACKSLASH_ESCAPE,a,i,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,
+ end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,i,s]},{begin:/([uU]|[rR])'/,end:/'/,
+ relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{
+ begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,
+ end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,
+ contains:[e.BACKSLASH_ESCAPE,i,s]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,
+ contains:[e.BACKSLASH_ESCAPE,i,s]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},t={
+ className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{
+ begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},l={
+ className:"params",variants:[{begin:/\(\s*\)/,skip:!0,className:null},{
+ begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,
+ contains:["self",a,t,r,e.HASH_COMMENT_MODE]}]};return s.contains=[r,t,a],{
+ name:"Python",aliases:["py","gyp","ipython"],keywords:n,
+ illegal:/(<\/|->|\?)|=>/,contains:[a,t,{beginKeywords:"if",relevance:0
+ },r,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{
+ className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,
+ contains:[e.UNDERSCORE_TITLE_MODE,l,{begin:/->/,endsWithParent:!0,
+ keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{
+ begin:/\b(print|exec)\(/}]}}}());
+ hljs.registerLanguage("python-repl",function(){"use strict";return function(n){
+ return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{
+ end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{
+ begin:/^\.\.\.(?=[ ]|$)/}]}]}}}());
+ hljs.registerLanguage("ruby",function(){"use strict";return function(e){
+ var n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={
+ keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",
+ literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},i={
+ begin:"#<",end:">"},r=[e.COMMENT("#","$",{contains:[s]
+ }),e.COMMENT("^\\=begin","^\\=end",{contains:[s],relevance:10
+ }),e.COMMENT("^__END__","\\n$")],c={className:"subst",begin:"#\\{",end:"}",
+ keywords:a},t={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{
+ begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{
+ begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{
+ begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",
+ end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{
+ begin:"%[qQwWx]?\\|",end:"\\|"},{
+ begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{
+ begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{
+ begin:/<<[-~]?'?/},e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,
+ contains:[e.BACKSLASH_ESCAPE,c]})]}]},b={className:"params",begin:"\\(",
+ end:"\\)",endsParent:!0,keywords:a},d=[t,i,{className:"class",
+ beginKeywords:"class module",end:"$|;",illegal:/=/,
+ contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{
+ begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(r)},{
+ className:"function",beginKeywords:"def",end:"$|;",
+ contains:[e.inherit(e.TITLE_MODE,{begin:n}),b].concat(r)},{begin:e.IDENT_RE+"::"
+ },{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{
+ className:"symbol",begin:":(?!\\s)",contains:[t,{begin:n}],relevance:0},{
+ className:"number",
+ begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",
+ relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",
+ begin:/\|/,end:/\|/,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",
+ keywords:"unless",contains:[i,{className:"regexp",
+ contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"
+ },{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",
+ end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(r),relevance:0
+ }].concat(r);c.contains=d,b.contains=d;var g=[{begin:/^\s*=>/,starts:{end:"$",
+ contains:d}},{className:"meta",
+ begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",
+ starts:{end:"$",contains:d}}];return{name:"Ruby",
+ aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,
+ contains:r.concat(g).concat(d)}}}());
+ hljs.registerLanguage("rust",function(){"use strict";return function(e){
+ var n="([ui](8|16|32|64|128|size)|f(32|64))?",t="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"
+ ;return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",
+ keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",
+ literal:"true false Some None Ok Err",built_in:t},illegal:"</",
+ contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]
+ }),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{
+ className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{
+ begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",
+ begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{
+ begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{
+ begin:"\\b0x([A-Fa-f0-9_]+)"+n},{
+ begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{
+ className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,
+ contains:[e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#\\!?\\[",
+ end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{
+ className:"class",beginKeywords:"type",end:";",
+ contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{
+ className:"class",beginKeywords:"trait enum struct union",end:"{",
+ contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"
+ },{begin:e.IDENT_RE+"::",keywords:{built_in:t}},{begin:"->"}]}}}());
+ hljs.registerLanguage("scss",function(){"use strict";return function(e){
+ var t="@[a-z-]+",i={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"
+ },r={className:"number",begin:"#[0-9A-Fa-f]+"}
+ ;return e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,
+ e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{name:"SCSS",case_insensitive:!0,
+ illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{
+ className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{
+ className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{
+ className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{
+ className:"selector-tag",
+ begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",
+ relevance:0},{className:"selector-pseudo",
+ begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"
+ },{className:"selector-pseudo",
+ begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"
+ },i,{className:"attribute",
+ begin:"\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",
+ illegal:"[^\\s]"},{
+ begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"
+ },{begin:":",end:";",
+ contains:[i,r,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{
+ className:"meta",begin:"!important"}]},{begin:"@(page|font-face)",lexemes:t,
+ keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,
+ keywords:"and or not only",contains:[{begin:t,className:"keyword"
+ },i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,r,e.CSS_NUMBER_MODE]}]}}}());
+ hljs.registerLanguage("shell",function(){"use strict";return function(s){return{
+ name:"Shell Session",aliases:["console"],contains:[{className:"meta",
+ begin:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}
+ }]}}}());
+ hljs.registerLanguage("sql",function(){"use strict";return function(e){
+ var t=e.COMMENT("--","$");return{name:"SQL",case_insensitive:!0,
+ illegal:/[<>{}*]/,contains:[{
+ beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",
+ end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,
+ keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",
+ literal:"true false null unknown",
+ built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"
+ },contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{
+ className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{
+ className:"string",begin:"`",end:"`"
+ },e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]
+ },e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]}}}());
+ hljs.registerLanguage("swift",function(){"use strict";return function(e){var i={
+ keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",
+ literal:"true false nil",
+ built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c compactMap contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"
+ },n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),t={className:"subst",
+ begin:/\\\(/,end:"\\)",keywords:i,contains:[]},a={className:"string",
+ contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"""/,end:/"""/},{begin:/"/,
+ end:/"/}]},r={className:"number",
+ begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",
+ relevance:0};return t.contains=[r],{name:"Swift",keywords:i,
+ contains:[a,e.C_LINE_COMMENT_MODE,n,{className:"type",
+ begin:"\\b[A-Z][\\w\xc0-\u02b8']*[!?]"},{className:"type",
+ begin:"\\b[A-Z][\\w\xc0-\u02b8']*",relevance:0},r,{className:"function",
+ beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{
+ begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin:/</,end:/>/},{className:"params",
+ begin:/\(/,end:/\)/,endsParent:!0,keywords:i,
+ contains:["self",r,a,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],
+ illegal:/\[|%/},{className:"class",
+ beginKeywords:"struct protocol class extension enum",keywords:i,end:"\\{",
+ excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{
+ begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",
+ begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)\\b"
+ },{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,n]}]}}}());
+ hljs.registerLanguage("typescript",function(){"use strict"
+ ;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],a=["true","false","null","undefined","NaN","Infinity"],s=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
+ ;function t(e){return r("(?=",e,")")}function i(e){return r("(",e,")?")}
+ function r(...e){return e.map((e=>{
+ return(n=e)?"string"==typeof n?n:n.source:null;var n})).join("")}
+ return function(c){const o={$pattern:e,
+ keyword:n.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]).join(" "),
+ literal:a.join(" "),
+ built_in:s.concat(["any","void","number","boolean","string","object","never","enum"]).join(" ")
+ },l={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},d=(e,n,a)=>{
+ const s=e.contains.findIndex((e=>e.label===n))
+ ;if(-1===s)throw Error("can not find mode to replace");e.contains.splice(s,1,a)
+ },g=function(c){const o=e,l={begin:/<[A-Za-z0-9\\._:-]+/,
+ end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{
+ const a=e[0].length+e.index,s=e.input[a];"<"!==s?">"===s&&(((e,{after:n})=>{
+ const a=e[0].replace("<","</");return-1!==e.input.indexOf(a,n)})(e,{after:a
+ })||n.ignoreMatch()):n.ignoreMatch()}},d={$pattern:e,keyword:n.join(" "),
+ literal:a.join(" "),built_in:s.join(" ")
+ },g=(e,n)=>`\\b0[${e}][${n}]([${n}_]*[${n}])?n?`,b=/[1-9]([0-9_]*\d)?/,u=/\d([0-9_]*\d)?/,E=r(/[eE][+-]?/,u),m={
+ className:"number",variants:[{begin:g("bB","01")},{begin:g("oO","0-7")},{
+ begin:g("xX","0-9a-fA-F")},{begin:r(/\b/,b,"n")},{begin:r(/(\b0)?\./,u,i(E))},{
+ begin:r(/\b/,b,i(r(/\./,i(u))),i(E))},{begin:/\b0[\.n]?/}],relevance:0},y={
+ className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},p={
+ begin:"html`",end:"",starts:{end:"`",returnEnd:!1,
+ contains:[c.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},_={begin:"css`",end:"",
+ starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,y],subLanguage:"css"}
+ },N={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,y]},f={
+ className:"comment",variants:[c.COMMENT("/\\*\\*","\\*/",{relevance:0,
+ contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",
+ begin:"\\{",end:"\\}",relevance:0},{className:"variable",
+ begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,
+ relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]
+ },A=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,p,_,N,m,c.REGEXP_MODE]
+ ;y.contains=A.concat({begin:/{/,end:/}/,keywords:d,contains:["self"].concat(A)})
+ ;const O=[].concat(f,y.contains),S=O.concat([{begin:/\(/,end:/\)/,keywords:d,
+ contains:["self"].concat(O)}]),T={className:"params",begin:/\(/,end:/\)/,
+ excludeBegin:!0,excludeEnd:!0,keywords:d,contains:S};return{name:"Javascript",
+ aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:S},
+ illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",
+ relevance:5}),{label:"use_strict",className:"meta",relevance:10,
+ begin:/^\s*['"]use (strict|asm)['"]/
+ },c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,p,_,N,f,m,{
+ begin:r(/[{,\n]\s*/,t(r(/(\/\/.*$)*/,/(\/\*(.|\n)*\*\/)*/,/\s*/,o+"\\s*:"))),
+ relevance:0,contains:[{className:"attr",begin:o+t("\\s*:"),relevance:0}]},{
+ begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
+ keywords:"return throw case",contains:[f,c.REGEXP_MODE,{className:"function",
+ begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\))*[^()]*\\))*[^()]*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",
+ returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{
+ begin:c.UNDERSCORE_IDENT_RE},{className:null,begin:/\(\s*\)/,skip:!0},{
+ begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:S}]}]},{
+ begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{
+ begin:"<>",end:"</>"},{begin:l.begin,"on:begin":l.isTrulyOpeningTag,end:l.end}],
+ subLanguage:"xml",contains:[{begin:l.begin,end:l.end,skip:!0,contains:["self"]}]
+ }],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,
+ excludeEnd:!0,keywords:d,contains:["self",c.inherit(c.TITLE_MODE,{begin:o}),T],
+ illegal:/%/},{className:"function",
+ begin:c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\))*[^()]*\\))*[^()]*\\)\\s*{",
+ returnBegin:!0,contains:[T,c.inherit(c.TITLE_MODE,{begin:o})]},{variants:[{
+ begin:"\\."+o},{begin:"\\$"+o}],relevance:0},{className:"class",
+ beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{
+ beginKeywords:"extends"},c.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,
+ end:/[\{;]/,excludeEnd:!0,contains:[c.inherit(c.TITLE_MODE,{begin:o}),"self",T]
+ },{begin:"(get|set)\\s+(?="+o+"\\()",end:/{/,keywords:"get set",
+ contains:[c.inherit(c.TITLE_MODE,{begin:o}),{begin:/\(\)/},T]},{begin:/\$[(.]/}]
+ }}(c)
+ ;return Object.assign(g.keywords,o),g.exports.PARAMS_CONTAINS.push(l),g.contains=g.contains.concat([l,{
+ beginKeywords:"namespace",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",
+ end:/\{/,excludeEnd:!0,keywords:"interface extends"
+ }]),d(g,"shebang",c.SHEBANG()),d(g,"use_strict",{className:"meta",relevance:10,
+ begin:/^\s*['"]use strict['"]/
+ }),g.contains.find((e=>"function"===e.className)).relevance=0,Object.assign(g,{
+ name:"TypeScript",aliases:["ts"]}),g}}());
+ hljs.registerLanguage("yaml",function(){"use strict";return function(e){
+ var n="true false yes no null",a="[\\w#;/?:@&=+$,.~*\\'()[\\]]+",s={
+ className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/
+ },{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",
+ variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]},i=e.inherit(s,{
+ variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={
+ end:",",endsWithParent:!0,excludeEnd:!0,contains:[],keywords:n,relevance:0},t={
+ begin:"{",end:"}",contains:[l],illegal:"\\n",relevance:0},g={begin:"\\[",
+ end:"\\]",contains:[l],illegal:"\\n",relevance:0},b=[{className:"attr",
+ variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{
+ begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"
+ }]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",
+ begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{
+ begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,
+ relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",
+ begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a
+ },{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",
+ begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",
+ relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{
+ className:"number",
+ begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"
+ },{className:"number",begin:e.C_NUMBER_RE+"\\b"},t,g,s],c=[...b];return c.pop(),
+ c.push(i),l.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml","YAML"],
+ contains:b}}}()); \ No newline at end of file